summaryrefslogtreecommitdiff
path: root/deps/npm
diff options
context:
space:
mode:
authornpm CLI robot <npm-cli+bot@github.com>2022-09-17 11:46:30 -0700
committerGitHub <noreply@github.com>2022-09-17 18:46:30 +0000
commit5909beaee2b295dc28cff495a3e113262ad59942 (patch)
tree85c947f23dd1778f1b1e9935e06b40a83934baf6 /deps/npm
parent2849283c4cebbfbf523cc24303941dc36df9332f (diff)
downloadnode-new-5909beaee2b295dc28cff495a3e113262ad59942.tar.gz
deps: upgrade npm to 8.19.2
PR-URL: https://github.com/nodejs/node/pull/44632 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'deps/npm')
-rw-r--r--deps/npm/docs/output/commands/npm-ls.html2
-rw-r--r--deps/npm/docs/output/commands/npm.html2
-rw-r--r--deps/npm/man/man1/npm-ls.12
-rw-r--r--deps/npm/man/man1/npm.12
-rw-r--r--deps/npm/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js23
-rw-r--r--deps/npm/node_modules/@npmcli/arborist/package.json6
-rw-r--r--deps/npm/node_modules/libnpmaccess/package.json4
-rw-r--r--deps/npm/node_modules/libnpmdiff/package.json4
-rw-r--r--deps/npm/node_modules/libnpmexec/package.json8
-rw-r--r--deps/npm/node_modules/libnpmfund/package.json8
-rw-r--r--deps/npm/node_modules/libnpmhook/package.json4
-rw-r--r--deps/npm/node_modules/libnpmorg/package.json4
-rw-r--r--deps/npm/node_modules/libnpmpack/package.json4
-rw-r--r--deps/npm/node_modules/libnpmpublish/package.json4
-rw-r--r--deps/npm/node_modules/libnpmsearch/package.json4
-rw-r--r--deps/npm/node_modules/libnpmteam/package.json4
-rw-r--r--deps/npm/node_modules/libnpmversion/package.json4
-rw-r--r--deps/npm/package.json25
18 files changed, 63 insertions, 51 deletions
diff --git a/deps/npm/docs/output/commands/npm-ls.html b/deps/npm/docs/output/commands/npm-ls.html
index ffe3861d16..3733fe5747 100644
--- a/deps/npm/docs/output/commands/npm-ls.html
+++ b/deps/npm/docs/output/commands/npm-ls.html
@@ -166,7 +166,7 @@ tree at all, use <a href="../commands/npm-explain.html"><code>npm explain</code>
the results to only the paths to the packages named. Note that nested
packages will <em>also</em> show the paths to the specified packages. For
example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
-<pre lang="bash"><code>npm@8.19.1 /path/to/npm
+<pre lang="bash"><code>npm@8.19.2 /path/to/npm
└─┬ init-package-json@0.0.4
└── promzard@0.1.5
</code></pre>
diff --git a/deps/npm/docs/output/commands/npm.html b/deps/npm/docs/output/commands/npm.html
index 0abece728a..1be4ac8928 100644
--- a/deps/npm/docs/output/commands/npm.html
+++ b/deps/npm/docs/output/commands/npm.html
@@ -149,7 +149,7 @@ npm command-line interface
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
<h3 id="version">Version</h3>
-<p>8.19.1</p>
+<p>8.19.2</p>
<h3 id="description">Description</h3>
<p>npm is the package manager for the Node JavaScript platform. It puts
modules in place so that node can find them, and manages dependency
diff --git a/deps/npm/man/man1/npm-ls.1 b/deps/npm/man/man1/npm-ls.1
index c09aabc06e..a728587ff9 100644
--- a/deps/npm/man/man1/npm-ls.1
+++ b/deps/npm/man/man1/npm-ls.1
@@ -26,7 +26,7 @@ example, running \fBnpm ls promzard\fP in npm's source tree will show:
.P
.RS 2
.nf
-npm@8\.19\.1 /path/to/npm
+npm@8\.19\.2 /path/to/npm
└─┬ init\-package\-json@0\.0\.4
└── promzard@0\.1\.5
.fi
diff --git a/deps/npm/man/man1/npm.1 b/deps/npm/man/man1/npm.1
index 693ff495fb..1f9f49691b 100644
--- a/deps/npm/man/man1/npm.1
+++ b/deps/npm/man/man1/npm.1
@@ -4,7 +4,7 @@
.SS Synopsis
.SS Version
.P
-8\.19\.1
+8\.19\.2
.SS Description
.P
npm is the package manager for the Node JavaScript platform\. It puts
diff --git a/deps/npm/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js b/deps/npm/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js
index 7b43c38e24..59d5e32547 100644
--- a/deps/npm/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js
+++ b/deps/npm/node_modules/@npmcli/arborist/lib/add-rm-pkg-deps.js
@@ -5,23 +5,24 @@ const localeCompare = require('@isaacs/string-locale-compare')('en')
const add = ({ pkg, add, saveBundle, saveType }) => {
for (const { name, rawSpec } of add) {
+ let addSaveType = saveType
// if the user does not give us a type, we infer which type(s)
// to keep based on the same order of priority we do when
// building the tree as defined in the _loadDeps method of
// the node class.
- if (!saveType) {
- saveType = inferSaveType(pkg, name)
+ if (!addSaveType) {
+ addSaveType = inferSaveType(pkg, name)
}
- if (saveType === 'prod') {
+ if (addSaveType === 'prod') {
// a production dependency can only exist as production (rpj ensures it
// doesn't coexist w/ optional)
deleteSubKey(pkg, 'devDependencies', name, 'dependencies')
deleteSubKey(pkg, 'peerDependencies', name, 'dependencies')
- } else if (saveType === 'dev') {
+ } else if (addSaveType === 'dev') {
// a dev dependency may co-exist as peer, or optional, but not production
deleteSubKey(pkg, 'dependencies', name, 'devDependencies')
- } else if (saveType === 'optional') {
+ } else if (addSaveType === 'optional') {
// an optional dependency may co-exist as dev (rpj ensures it doesn't
// coexist w/ prod)
deleteSubKey(pkg, 'peerDependencies', name, 'optionalDependencies')
@@ -31,23 +32,23 @@ const add = ({ pkg, add, saveBundle, saveType }) => {
deleteSubKey(pkg, 'optionalDependencies', name, 'peerDependencies')
}
- const depType = saveTypeMap.get(saveType)
+ const depType = saveTypeMap.get(addSaveType)
pkg[depType] = pkg[depType] || {}
if (rawSpec !== '' || pkg[depType][name] === undefined) {
pkg[depType][name] = rawSpec || '*'
}
- if (saveType === 'optional') {
+ if (addSaveType === 'optional') {
// Affordance for previous npm versions that require this behaviour
pkg.dependencies = pkg.dependencies || {}
pkg.dependencies[name] = pkg.optionalDependencies[name]
}
- if (saveType === 'peer' || saveType === 'peerOptional') {
+ if (addSaveType === 'peer' || addSaveType === 'peerOptional') {
const pdm = pkg.peerDependenciesMeta || {}
- if (saveType === 'peer' && pdm[name] && pdm[name].optional) {
+ if (addSaveType === 'peer' && pdm[name] && pdm[name].optional) {
pdm[name].optional = false
- } else if (saveType === 'peerOptional') {
+ } else if (addSaveType === 'peerOptional') {
pdm[name] = pdm[name] || {}
pdm[name].optional = true
pkg.peerDependenciesMeta = pdm
@@ -59,7 +60,7 @@ const add = ({ pkg, add, saveBundle, saveType }) => {
}
}
- if (saveBundle && saveType !== 'peer' && saveType !== 'peerOptional') {
+ if (saveBundle && addSaveType !== 'peer' && addSaveType !== 'peerOptional') {
// keep it sorted, keep it unique
const bd = new Set(pkg.bundleDependencies || [])
bd.add(name)
diff --git a/deps/npm/node_modules/@npmcli/arborist/package.json b/deps/npm/node_modules/@npmcli/arborist/package.json
index b7cd92ba4c..7f1b266305 100644
--- a/deps/npm/node_modules/@npmcli/arborist/package.json
+++ b/deps/npm/node_modules/@npmcli/arborist/package.json
@@ -1,6 +1,6 @@
{
"name": "@npmcli/arborist",
- "version": "5.6.1",
+ "version": "5.6.2",
"description": "Manage node_modules trees",
"dependencies": {
"@isaacs/string-locale-compare": "^1.1.0",
@@ -42,7 +42,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"benchmark": "^2.1.4",
"chalk": "^4.1.0",
"minify-registry-metadata": "^2.1.0",
@@ -100,6 +100,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/node_modules/libnpmaccess/package.json b/deps/npm/node_modules/libnpmaccess/package.json
index 94c688e07e..01092346e7 100644
--- a/deps/npm/node_modules/libnpmaccess/package.json
+++ b/deps/npm/node_modules/libnpmaccess/package.json
@@ -17,7 +17,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"nock": "^13.2.4",
"tap": "^16.0.1"
},
@@ -43,6 +43,6 @@
],
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/node_modules/libnpmdiff/package.json b/deps/npm/node_modules/libnpmdiff/package.json
index 9f61ee8f55..b1da1aa1bb 100644
--- a/deps/npm/node_modules/libnpmdiff/package.json
+++ b/deps/npm/node_modules/libnpmdiff/package.json
@@ -43,7 +43,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"tap": "^16.0.1"
},
"dependencies": {
@@ -58,6 +58,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/node_modules/libnpmexec/package.json b/deps/npm/node_modules/libnpmexec/package.json
index 7f7b8eac45..7542bce982 100644
--- a/deps/npm/node_modules/libnpmexec/package.json
+++ b/deps/npm/node_modules/libnpmexec/package.json
@@ -1,6 +1,6 @@
{
"name": "libnpmexec",
- "version": "4.0.12",
+ "version": "4.0.13",
"files": [
"bin/",
"lib/"
@@ -47,14 +47,14 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"bin-links": "^3.0.3",
"minify-registry-metadata": "^2.2.0",
"mkdirp": "^1.0.4",
"tap": "^16.0.1"
},
"dependencies": {
- "@npmcli/arborist": "^5.6.1",
+ "@npmcli/arborist": "^5.6.2",
"@npmcli/ci-detect": "^2.0.0",
"@npmcli/fs": "^2.1.1",
"@npmcli/run-script": "^4.2.0",
@@ -71,6 +71,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/node_modules/libnpmfund/package.json b/deps/npm/node_modules/libnpmfund/package.json
index 68db1d6473..562a973e2d 100644
--- a/deps/npm/node_modules/libnpmfund/package.json
+++ b/deps/npm/node_modules/libnpmfund/package.json
@@ -1,6 +1,6 @@
{
"name": "libnpmfund",
- "version": "3.0.3",
+ "version": "3.0.4",
"main": "lib/index.js",
"files": [
"bin/",
@@ -42,17 +42,17 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"tap": "^16.0.1"
},
"dependencies": {
- "@npmcli/arborist": "^5.6.1"
+ "@npmcli/arborist": "^5.6.2"
},
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/node_modules/libnpmhook/package.json b/deps/npm/node_modules/libnpmhook/package.json
index 446170777f..48dac38b2a 100644
--- a/deps/npm/node_modules/libnpmhook/package.json
+++ b/deps/npm/node_modules/libnpmhook/package.json
@@ -37,7 +37,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"nock": "^13.2.4",
"tap": "^16.0.1"
},
@@ -46,6 +46,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/node_modules/libnpmorg/package.json b/deps/npm/node_modules/libnpmorg/package.json
index b5ecf40cbf..3374aa3428 100644
--- a/deps/npm/node_modules/libnpmorg/package.json
+++ b/deps/npm/node_modules/libnpmorg/package.json
@@ -28,7 +28,7 @@
],
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"minipass": "^3.1.1",
"nock": "^13.2.4",
"tap": "^16.0.1"
@@ -49,6 +49,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/node_modules/libnpmpack/package.json b/deps/npm/node_modules/libnpmpack/package.json
index e808c7b8e3..701e00eb1a 100644
--- a/deps/npm/node_modules/libnpmpack/package.json
+++ b/deps/npm/node_modules/libnpmpack/package.json
@@ -23,7 +23,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"nock": "^13.0.7",
"tap": "^16.0.1"
},
@@ -44,6 +44,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/node_modules/libnpmpublish/package.json b/deps/npm/node_modules/libnpmpublish/package.json
index dd88dd5460..dda1477201 100644
--- a/deps/npm/node_modules/libnpmpublish/package.json
+++ b/deps/npm/node_modules/libnpmpublish/package.json
@@ -25,7 +25,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"libnpmpack": "^4.1.3",
"lodash.clonedeep": "^4.5.0",
"nock": "^13.2.4",
@@ -50,6 +50,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/node_modules/libnpmsearch/package.json b/deps/npm/node_modules/libnpmsearch/package.json
index f9b8cdded0..9cd26196d1 100644
--- a/deps/npm/node_modules/libnpmsearch/package.json
+++ b/deps/npm/node_modules/libnpmsearch/package.json
@@ -26,7 +26,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"nock": "^13.2.4",
"tap": "^16.0.1"
},
@@ -45,6 +45,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/node_modules/libnpmteam/package.json b/deps/npm/node_modules/libnpmteam/package.json
index 2d5a91b5e5..be4fd45527 100644
--- a/deps/npm/node_modules/libnpmteam/package.json
+++ b/deps/npm/node_modules/libnpmteam/package.json
@@ -16,7 +16,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"nock": "^13.2.4",
"tap": "^16.0.1"
},
@@ -39,6 +39,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/node_modules/libnpmversion/package.json b/deps/npm/node_modules/libnpmversion/package.json
index ff6415afc8..aab8131607 100644
--- a/deps/npm/node_modules/libnpmversion/package.json
+++ b/deps/npm/node_modules/libnpmversion/package.json
@@ -28,7 +28,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"require-inject": "^1.4.4",
"tap": "^16.0.1"
},
@@ -44,6 +44,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
- "version": "3.8.1"
+ "version": "4.1.1"
}
}
diff --git a/deps/npm/package.json b/deps/npm/package.json
index 458952142f..573e5d06e7 100644
--- a/deps/npm/package.json
+++ b/deps/npm/package.json
@@ -1,5 +1,5 @@
{
- "version": "8.19.1",
+ "version": "8.19.2",
"name": "npm",
"description": "a package manager for JavaScript",
"workspaces": [
@@ -56,7 +56,7 @@
},
"dependencies": {
"@isaacs/string-locale-compare": "^1.1.0",
- "@npmcli/arborist": "^5.6.1",
+ "@npmcli/arborist": "^5.6.2",
"@npmcli/ci-detect": "^2.0.0",
"@npmcli/config": "^4.2.1",
"@npmcli/fs": "^2.1.0",
@@ -81,8 +81,8 @@
"json-parse-even-better-errors": "^2.3.1",
"libnpmaccess": "^6.0.4",
"libnpmdiff": "^4.0.5",
- "libnpmexec": "^4.0.12",
- "libnpmfund": "^3.0.3",
+ "libnpmexec": "^4.0.13",
+ "libnpmfund": "^3.0.4",
"libnpmhook": "^8.0.4",
"libnpmorg": "^4.0.4",
"libnpmpack": "^4.1.3",
@@ -206,7 +206,7 @@
"devDependencies": {
"@npmcli/eslint-config": "^3.1.0",
"@npmcli/promise-spawn": "^3.0.0",
- "@npmcli/template-oss": "3.8.1",
+ "@npmcli/template-oss": "4.1.1",
"fs-minipass": "^2.1.0",
"licensee": "^8.2.0",
"minimatch": "^5.1.0",
@@ -251,8 +251,19 @@
"templateOSS": {
"rootRepo": false,
"rootModule": false,
- "version": "3.8.1",
- "releaseTest": "release.yml"
+ "version": "4.1.1",
+ "releaseTest": "release.yml",
+ "ciVersions": [
+ "12.13.0",
+ "12.x",
+ "14.15.0",
+ "14.x",
+ "16.0.0",
+ "16.x"
+ ],
+ "releaseBranches": [
+ "v8"
+ ]
},
"license": "Artistic-2.0",
"engines": {