feat: Add support for active scanning in paranoid mode (#31)

* feat: Add support for active scanning in paranoid mode

* docs: Fix README
This commit is contained in:
Abhisek Datta
2025-05-16 19:38:06 +05:30
committed by GitHub
parent 81d4875b8d
commit b85f77cfbc
6 changed files with 167 additions and 6 deletions
+2
View File
@@ -74,6 +74,8 @@ func main() {
"Maximum depth of transitive dependencies to resolve")
cmd.PersistentFlags().BoolVar(&globalConfig.IncludeDevDependencies, "include-dev-dependencies", false,
"Include dev dependencies in the dependency graph (slows down resolution)")
cmd.PersistentFlags().BoolVar(&globalConfig.DryRun, "dry-run", false, "Dry run skips execution of package manager")
cmd.PersistentFlags().BoolVar(&globalConfig.Paranoid, "paranoid", false, "Perform active scanning of unknown packages (slow)")
cmd.AddCommand(npm.NewNpmCommand())
cmd.AddCommand(npm.NewPnpmCommand())