mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Remove dry-run scanner for npm, relying on the proxy to block maliscious package downloads instead
This commit is contained in:
parent
dc4352bffb
commit
8aebb1b96b
12 changed files with 29 additions and 496 deletions
|
|
@ -14,9 +14,9 @@ const state = {
|
|||
packageManagerName: null,
|
||||
};
|
||||
|
||||
export function initializePackageManager(packageManagerName, version) {
|
||||
export function initializePackageManager(packageManagerName) {
|
||||
if (packageManagerName === "npm") {
|
||||
state.packageManagerName = createNpmPackageManager(version);
|
||||
state.packageManagerName = createNpmPackageManager();
|
||||
} else if (packageManagerName === "npx") {
|
||||
state.packageManagerName = createNpxPackageManager();
|
||||
} else if (packageManagerName === "yarn") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue