diff --git a/node_modules/pacote/lib/fetcher.js b/node_modules/pacote/lib/fetcher.js index 01058acb2bfef..5142bb280a70c 100644 --- a/node_modules/pacote/lib/fetcher.js +++ b/node_modules/pacote/lib/fetcher.js @@ -91,18 +91,11 @@ class FetcherBase { // command to run 'prepare' scripts on directories and git dirs // To use pacote with yarn, for example, set npmBin to 'yarn' - // and npmInstallCmd to ['add'], and npmCliConfig with yarn's equivalents. + // and npmCliConfig with yarn's equivalents. this.npmBin = opts.npmBin || 'npm' // command to install deps for preparing - this.npmInstallCmd = opts.npmInstallCmd || [ - 'install', - '--only=dev', - '--prod', - '--ignore-prepublish', - '--no-progress', - '--no-save', - ] + this.npmInstallCmd = opts.npmInstallCmd || [ 'install' ] // XXX fill more of this in based on what we know from this.opts // we explicitly DO NOT fill in --tag, though, since we are often @@ -113,7 +106,10 @@ class FetcherBase { `--prefer-offline=${!!this.preferOffline}`, `--prefer-online=${!!this.preferOnline}`, `--offline=${!!this.offline}`, - `--before=${this.before ? this.before.toISOString() : ''}`, + ...(this.before ? [`--before=${this.before.toISOString()}`] : []), + '--no-progress', + '--no-save', + '--no-audit', ] } diff --git a/node_modules/pacote/package.json b/node_modules/pacote/package.json index 7f38a193f7cb9..bef19b66228a6 100644 --- a/node_modules/pacote/package.json +++ b/node_modules/pacote/package.json @@ -1,6 +1,6 @@ { "name": "pacote", - "version": "11.1.12", + "version": "11.1.13", "description": "JavaScript package downloader", "author": "Isaac Z. Schlueter (https://izs.me)", "bin": { @@ -47,7 +47,7 @@ "minipass": "^3.1.3", "mkdirp": "^1.0.3", "npm-package-arg": "^8.0.1", - "npm-packlist": "^2.1.0", + "npm-packlist": "^2.1.4", "npm-pick-manifest": "^6.0.0", "npm-registry-fetch": "^9.0.0", "promise-retry": "^1.1.1", diff --git a/package-lock.json b/package-lock.json index 2f997086f9438..82ac4b02e3b2a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -128,7 +128,7 @@ "npm-user-validate": "^1.0.1", "npmlog": "~4.1.2", "opener": "^1.5.2", - "pacote": "^11.1.12", + "pacote": "^11.1.13", "parse-conflict-json": "^1.1.1", "qrcode-terminal": "^0.12.0", "read": "~1.0.7", @@ -4768,9 +4768,9 @@ } }, "node_modules/pacote": { - "version": "11.1.12", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-11.1.12.tgz", - "integrity": "sha512-suazooYMzefXr3glexAX4+q+qqH3wrzchtj+EivwiCCr/tsaHe9HtdHSx3R8YPjulAhojBZ2JkAVy13QwA8Jpg==", + "version": "11.1.13", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-11.1.13.tgz", + "integrity": "sha512-oJ7Bg7p3izrIMhZPHCCHmMHQl+xb+pKBXL5ZYeM2oCZrw6sBRSx7f8l7F+95V2qA0BP3c1cNaaBmUNkbo6Hn9w==", "inBundle": true, "dependencies": { "@npmcli/git": "^2.0.1", @@ -4784,7 +4784,7 @@ "minipass": "^3.1.3", "mkdirp": "^1.0.3", "npm-package-arg": "^8.0.1", - "npm-packlist": "^2.1.0", + "npm-packlist": "^2.1.4", "npm-pick-manifest": "^6.0.0", "npm-registry-fetch": "^9.0.0", "promise-retry": "^1.1.1", @@ -12188,9 +12188,9 @@ } }, "pacote": { - "version": "11.1.12", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-11.1.12.tgz", - "integrity": "sha512-suazooYMzefXr3glexAX4+q+qqH3wrzchtj+EivwiCCr/tsaHe9HtdHSx3R8YPjulAhojBZ2JkAVy13QwA8Jpg==", + "version": "11.1.13", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-11.1.13.tgz", + "integrity": "sha512-oJ7Bg7p3izrIMhZPHCCHmMHQl+xb+pKBXL5ZYeM2oCZrw6sBRSx7f8l7F+95V2qA0BP3c1cNaaBmUNkbo6Hn9w==", "requires": { "@npmcli/git": "^2.0.1", "@npmcli/installed-package-contents": "^1.0.5", @@ -12203,7 +12203,7 @@ "minipass": "^3.1.3", "mkdirp": "^1.0.3", "npm-package-arg": "^8.0.1", - "npm-packlist": "^2.1.0", + "npm-packlist": "^2.1.4", "npm-pick-manifest": "^6.0.0", "npm-registry-fetch": "^9.0.0", "promise-retry": "^1.1.1", diff --git a/package.json b/package.json index d1a1e191a080a..6c9a9f95e7d11 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "npm-user-validate": "^1.0.1", "npmlog": "~4.1.2", "opener": "^1.5.2", - "pacote": "^11.1.12", + "pacote": "^11.1.13", "parse-conflict-json": "^1.1.1", "qrcode-terminal": "^0.12.0", "read": "~1.0.7",