refactor: unify package dependency resolution and improve PyPI version handling using registry adapter

This commit is contained in:
Sahilb315
2025-05-20 21:23:48 +05:30
parent 722ee05376
commit 0b4729f18b
9 changed files with 448 additions and 75 deletions
+3 -1
View File
@@ -78,7 +78,9 @@ func (r *npmDependencyResolver) ResolveDependencies(ctx context.Context,
TransitiveDepth: r.config.TransitiveDepth,
FailFast: r.config.FailFast,
MaxConcurrency: r.config.MaxConcurrency,
}, npmCleanVersion)
}, func(packageName, version string) string {
return npmCleanVersion(version)
})
return resolver.resolveDependencies(ctx, packageVersion)
}