diff --git a/deps/npm/AUTHORS b/deps/npm/AUTHORS
index d457a5b98a8b5f..d731ad8ca64f03 100644
--- a/deps/npm/AUTHORS
+++ b/deps/npm/AUTHORS
@@ -748,3 +748,5 @@ Jeff Griffiths
Michael Garvin
Gar
dr-js
+Pavan Bellamkonda <31280326+pavanbellamkonda@users.noreply.github.com>
+Alexander Riccio
diff --git a/deps/npm/CHANGELOG.md b/deps/npm/CHANGELOG.md
index f332ed5f0a6041..c3b826517edba8 100644
--- a/deps/npm/CHANGELOG.md
+++ b/deps/npm/CHANGELOG.md
@@ -1,3 +1,45 @@
+## v7.5.1 (2021-02-01
+
+### BUG FIXES
+
+* [`0ea134e41`](https://github.com/npm/cli/commit/0ea134e4190f322138299c51672eab5387ec41bb)
+ [#2587](https://github.com/npm/cli/issues/2587)
+ pass all settings through to pacote.packument, fixes #2060
+ ([@nlf](https://github.com/nlf))
+* [`8c5ca2f51`](https://github.com/npm/cli/commit/8c5ca2f516f5ac87f3bbd7f1fd95c0b283a21f14)
+ Add test for npm-usage.js, and fix 'npm --long' output
+ ([@isaacs](https://github.com/isaacs))
+
+### DEPENDENCIES
+
+* [`7e4e88e93`](https://github.com/npm/cli/commit/7e4e88e938323e34a2a41176472d8e43e84bd4dd)
+ `@npmcli/arborist@2.1.1`, `pacote@11.2.4`
+ * Properly raise ERESOLVE errors on root dev dependencies
+ * Ignore ERESOLVE errors when performing git dep 'prepare' scripts
+ * Always reinstall packages that are explicitly requested
+ * fix global update all so it actually updates things
+ * Install bins properly when global root is a link
+ ([@isaacs](https://github.com/isaacs))
+
+### DOCUMENTATION
+
+* [`23dac2fef`](https://github.com/npm/cli/commit/23dac2feff1d02193791c7e39d9e93bc9bf8e624)
+ [#2557](https://github.com/npm/cli/issues/2557)
+ npm team revamp
+ ([@ruyadorno](https://github.com/ruyadorno))
+* [`dd05ba0c0`](https://github.com/npm/cli/commit/dd05ba0c0b2f4c70eb8558c0ecc54889efbe98f5)
+ [#2572](https://github.com/npm/cli/issues/2572)
+ add note about `--force` overriding peer dependencies
+ ([@isaacs](https://github.com/isaacs))
+* [`e27639780`](https://github.com/npm/cli/commit/e276397809aceb01cc468e02a83bc6f2265376d9)
+ [#2584](https://github.com/npm/cli/issues/2584)
+ Fixed the spelling of contributor as it was written as conributor
+ ([@pavanbellamkonda](https://github.com/pavanbellamkonda))
+* [`13a5e3178`](https://github.com/npm/cli/commit/13a5e31781cdaa37d3f007e1c8583c7cb591c62a)
+ [#2502](https://github.com/npm/cli/issues/2502)
+ elaborate that npm help uses browser
+ ([@ariccio](https://github.com/ariccio))
+
## v7.5.0 (2021-01-28)
### FEATURES
diff --git a/deps/npm/CONTRIBUTING.md b/deps/npm/CONTRIBUTING.md
index 7e2890140bb092..5198918f010dfa 100644
--- a/deps/npm/CONTRIBUTING.md
+++ b/deps/npm/CONTRIBUTING.md
@@ -29,7 +29,7 @@ $ cd ./npm && npm install
$ npm run test
```
-**5. Open a [Pull Request](https://github.com/npm/cli/pulls) for your work & become the newest conributor to `npm`! 🎉**
+**5. Open a [Pull Request](https://github.com/npm/cli/pulls) for your work & become the newest contributor to `npm`! 🎉**
## Test Coverage
diff --git a/deps/npm/docs/content/commands/npm-team.md b/deps/npm/docs/content/commands/npm-team.md
index 4901ae1680a54a..96aacd8ae95f22 100644
--- a/deps/npm/docs/content/commands/npm-team.md
+++ b/deps/npm/docs/content/commands/npm-team.md
@@ -14,8 +14,6 @@ npm team add
npm team rm
npm team ls |
-
-npm team edit
```
### Description
@@ -24,31 +22,76 @@ Used to manage teams in organizations, and change team memberships. Does not
handle permissions for packages.
Teams must always be fully qualified with the organization/scope they belong to
-when operating on them, separated by a colon (`:`). That is, if you have a `wombats` team in a `wisdom` organization, you must always refer to that team as `wisdom:wombats` in these commands.
+when operating on them, separated by a colon (`:`). That is, if you have a
+`newteam` team in an `org` organization, you must always refer to that team
+as `@org:newteam` in these commands.
-If you have two-factor authentication enabled in `auth-and-writes` mode, then you can provide a code from your authenticator with `[--otp ]`. If you don't include this then you will be prompted.
+If you have two-factor authentication enabled in `auth-and-writes` mode, then
+you can provide a code from your authenticator with `[--otp ]`.
+If you don't include this then you will be prompted.
* create / destroy:
- Create a new team, or destroy an existing one. Note: You cannot remove the `developers` team, learn more.
-* add / rm:
- Add a user to an existing team, or remove a user from a team they belong to.
+ Create a new team, or destroy an existing one. Note: You cannot remove the
+ `developers` team, learn more.
+
+ Here's how to create a new team `newteam` under the `org` org:
+
+ ```bash
+ npm team create @org:newteam
+ ```
+
+ You should see a confirming message such as: `+@org:newteam` once the new
+ team has been created.
+
+* add:
+ Add a user to an existing team.
+
+ Adding a new user `username` to a team named `newteam` under the `org` org:
+
+ ```bash
+ npm team add @org:newteam username
+ ```
+
+ On success, you should see a message: `username added to @org:newteam`
+
+* rm:
+ Using `npm team rm` you can also remove users from a team they belong to.
+
+ Here's an example removing user `username` from `newteam` team
+ in `org` organization:
+
+ ```bash
+ npm team rm @org:newteam username
+ ```
+
+ Once the user is removed a confirmation message is displayed:
+ `username removed from @org:newteam`
* ls:
If performed on an organization name, will return a list of existing teams
under that organization. If performed on a team, it will instead return a list
of all users belonging to that particular team.
-* edit:
- Edit a current team.
+ Here's an example of how to list all teams from an org named `org`:
+
+ ```bash
+ npm team ls @org
+ ```
+
+ Example listing all members of a team named `newteam`:
+
+ ```bash
+ npm team ls @org:newteam
+ ```
### Details
`npm team` always operates directly on the current registry, configurable from
the command line using `--registry=`.
-In order to create teams and manage team membership, you must be a *team admin*
-under the given organization. Listing teams and team memberships may be done by
-any member of the organizations.
+You must be a *team admin* to create teams and manage team membership, under
+the given organization. Listing teams and team memberships may be done by
+any member of the organization.
Organization creation and management of team admins and *organization* members
is done through the website, not the npm CLI.
@@ -59,4 +102,5 @@ use the `npm access` command to grant or revoke the appropriate permissions.
### See Also
* [npm access](/commands/npm-access)
+* [npm config](/commands/npm-config)
* [npm registry](/using-npm/registry)
diff --git a/deps/npm/docs/content/using-npm/config.md b/deps/npm/docs/content/using-npm/config.md
index 1e0b20359219cb..1032adafbeb222 100644
--- a/deps/npm/docs/content/using-npm/config.md
+++ b/deps/npm/docs/content/using-npm/config.md
@@ -472,6 +472,7 @@ mistakes, unnecessary performance degradation, and malicious input.
range (including SemVer-major changes).
* Allow a module to be installed as a direct dependency of itself.
* Allow unpublishing all versions of a published package.
+* Allow conflicting peerDependencies to be installed in the root project.
If you don't have a clear idea of what you want to do, it is strongly
recommended that you do not use this option!
diff --git a/deps/npm/docs/output/commands/npm-ls.html b/deps/npm/docs/output/commands/npm-ls.html
index 7cfa5a8ce4ddaf..ba62a72741de83 100644
--- a/deps/npm/docs/output/commands/npm-ls.html
+++ b/deps/npm/docs/output/commands/npm-ls.html
@@ -159,7 +159,7 @@ Description
the results to only the paths to the packages named. Note that nested
packages will also show the paths to the specified packages. For
example, running npm ls promzard
in npm’s source tree will show:
-npm@7.5.0 /path/to/npm
+npm@7.5.1 /path/to/npm
└─┬ init-package-json@0.0.4
└── promzard@0.1.5
diff --git a/deps/npm/docs/output/commands/npm-team.html b/deps/npm/docs/output/commands/npm-team.html
index 502f1e747c8469..bf29f4a5eaf633 100644
--- a/deps/npm/docs/output/commands/npm-team.html
+++ b/deps/npm/docs/output/commands/npm-team.html
@@ -152,41 +152,65 @@ Table of contents
npm team rm <scope:team> <user>
npm team ls <scope>|<scope:team>
-
-npm team edit <scope:team>
Description
Used to manage teams in organizations, and change team memberships. Does not
handle permissions for packages.
Teams must always be fully qualified with the organization/scope they belong to
-when operating on them, separated by a colon (:
). That is, if you have a wombats
team in a wisdom
organization, you must always refer to that team as wisdom:wombats
in these commands.
-If you have two-factor authentication enabled in auth-and-writes
mode, then you can provide a code from your authenticator with [--otp <otpcode>]
. If you don’t include this then you will be prompted.
+when operating on them, separated by a colon (:
). That is, if you have a
+newteam
team in an org
organization, you must always refer to that team
+as @org:newteam
in these commands.
+If you have two-factor authentication enabled in auth-and-writes
mode, then
+you can provide a code from your authenticator with [--otp <otpcode>]
.
+If you don’t include this then you will be prompted.
-
create / destroy:
-Create a new team, or destroy an existing one. Note: You cannot remove the developers
team, learn more.
+Create a new team, or destroy an existing one. Note: You cannot remove the
+developers
team, learn more.
+Here’s how to create a new team newteam
under the org
org:
+npm team create @org:newteam
+
+You should see a confirming message such as: +@org:newteam
once the new
+team has been created.
+
+-
+
add:
+Add a user to an existing team.
+Adding a new user username
to a team named newteam
under the org
org:
+npm team add @org:newteam username
+
+On success, you should see a message: username added to @org:newteam
-
-
add / rm:
-Add a user to an existing team, or remove a user from a team they belong to.
+rm:
+Using npm team rm
you can also remove users from a team they belong to.
+Here’s an example removing user username
from newteam
team
+in org
organization:
+npm team rm @org:newteam username
+
+Once the user is removed a confirmation message is displayed:
+username removed from @org:newteam
-
ls:
If performed on an organization name, will return a list of existing teams
under that organization. If performed on a team, it will instead return a list
of all users belonging to that particular team.
-
--
-
edit:
-Edit a current team.
+Here’s an example of how to list all teams from an org named org
:
+npm team ls @org
+
+Example listing all members of a team named newteam
:
+npm team ls @org:newteam
+
Details
npm team
always operates directly on the current registry, configurable from
the command line using --registry=<registry url>
.
-In order to create teams and manage team membership, you must be a team admin
-under the given organization. Listing teams and team memberships may be done by
-any member of the organizations.
+You must be a team admin to create teams and manage team membership, under
+the given organization. Listing teams and team memberships may be done by
+any member of the organization.
Organization creation and management of team admins and organization members
is done through the website, not the npm CLI.
To use teams to manage permissions on packages belonging to your organization,
@@ -194,6 +218,7 @@
Details
See Also
diff --git a/deps/npm/docs/output/commands/npm.html b/deps/npm/docs/output/commands/npm.html
index 5a7976ca0c8346..727120c1b747aa 100644
--- a/deps/npm/docs/output/commands/npm.html
+++ b/deps/npm/docs/output/commands/npm.html
@@ -148,7 +148,7 @@ Table of contents
npm <command> [args]
Version
-7.5.0
+7.5.1
Description
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/docs/output/using-npm/config.html b/deps/npm/docs/output/using-npm/config.html
index 45a579a1fa47a6..9d6ba9b5a6c3c1 100644
--- a/deps/npm/docs/output/using-npm/config.html
+++ b/deps/npm/docs/output/using-npm/config.html
@@ -534,6 +534,7 @@
force
range (including SemVer-major changes).
Allow a module to be installed as a direct dependency of itself.
Allow unpublishing all versions of a published package.
+Allow conflicting peerDependencies to be installed in the root project.
If you don’t have a clear idea of what you want to do, it is strongly
recommended that you do not use this option!
diff --git a/deps/npm/lib/access.js b/deps/npm/lib/access.js
index 68c6e628d01870..8a372d90cb55cd 100644
--- a/deps/npm/lib/access.js
+++ b/deps/npm/lib/access.js
@@ -8,7 +8,6 @@ const output = require('./utils/output.js')
const otplease = require('./utils/otplease.js')
const usageUtil = require('./utils/usage.js')
const getIdentity = require('./utils/get-identity.js')
-const { prefix } = npm
const usage = usageUtil(
'npm access',
@@ -165,7 +164,7 @@ const getPackage = async (name, requireScope) => {
return name.trim()
else {
try {
- const pkg = await readPackageJson(path.resolve(prefix, 'package.json'))
+ const pkg = await readPackageJson(path.resolve(npm.prefix, 'package.json'))
name = pkg.name
} catch (err) {
if (err.code === 'ENOENT') {
diff --git a/deps/npm/lib/ci.js b/deps/npm/lib/ci.js
index 89c6b8f4207428..36410616fb9bfb 100644
--- a/deps/npm/lib/ci.js
+++ b/deps/npm/lib/ci.js
@@ -3,6 +3,8 @@ const Arborist = require('@npmcli/arborist')
const rimraf = util.promisify(require('rimraf'))
const reifyFinish = require('./utils/reify-finish.js')
const runScript = require('@npmcli/run-script')
+const fs = require('fs')
+const readdir = util.promisify(fs.readdir)
const log = require('npmlog')
const npm = require('./npm.js')
@@ -13,6 +15,16 @@ const completion = require('./utils/completion/none.js')
const cmd = (args, cb) => ci().then(() => cb()).catch(cb)
+const removeNodeModules = async where => {
+ const rimrafOpts = { glob: false }
+ process.emit('time', 'npm-ci:rm')
+ const path = `${where}/node_modules`
+ // get the list of entries so we can skip the glob for performance
+ const entries = await readdir(path, null).catch(er => [])
+ await Promise.all(entries.map(f => rimraf(`${path}/${f}`, rimrafOpts)))
+ process.emit('timeEnd', 'npm-ci:rm')
+}
+
const ci = async () => {
if (npm.flatOptions.global) {
const err = new Error('`npm ci` does not work for global packages')
@@ -33,7 +45,7 @@ const ci = async () => {
'later to generate a package-lock.json file, then try again.'
throw new Error(msg)
}),
- rimraf(`${where}/node_modules/*`, { glob: { dot: true, nosort: true, silent: true } }),
+ removeNodeModules(where),
])
// npm ci should never modify the lockfile or package.json
await arb.reify({ ...npm.flatOptions, save: false })
diff --git a/deps/npm/lib/help-search.js b/deps/npm/lib/help-search.js
index d60ef5b4ba89f6..d2a1818060b21b 100644
--- a/deps/npm/lib/help-search.js
+++ b/deps/npm/lib/help-search.js
@@ -135,12 +135,11 @@ const searchFiles = async (args, data, files) => {
// coverage is ignored here because the contents of results are
// nondeterministic due to either glob or readFiles or Object.entries
- return results.sort((a, b) =>
+ return results.sort(/* istanbul ignore next */ (a, b) =>
a.found.length > b.found.length ? -1
: a.found.length < b.found.length ? 1
: a.totalHits > b.totalHits ? -1
: a.totalHits < b.totalHits ? 1
- /* istanbul ignore next */
: a.lines.length > b.lines.length ? -1
: a.lines.length < b.lines.length ? 1
: 0).slice(0, 10)
diff --git a/deps/npm/lib/outdated.js b/deps/npm/lib/outdated.js
index b5f0f3b5b29287..f9a3fed8c10d48 100644
--- a/deps/npm/lib/outdated.js
+++ b/deps/npm/lib/outdated.js
@@ -108,6 +108,7 @@ async function outdated_ (tree, deps, opts) {
async function getPackument (spec) {
const packument = await pacote.packument(spec, {
+ ...npm.flatOptions,
fullMetadata: npm.flatOptions.long,
preferOnline: true,
})
diff --git a/deps/npm/lib/utils/ansi-trim.js b/deps/npm/lib/utils/ansi-trim.js
index 7f9a6c30ec9b1a..e35a1baf633352 100644
--- a/deps/npm/lib/utils/ansi-trim.js
+++ b/deps/npm/lib/utils/ansi-trim.js
@@ -1,7 +1,3 @@
-function ansiTrim (str) {
- var r = new RegExp('\x1b(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|' +
- '\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)', 'g')
- return str.replace(r, '')
-}
-
-module.exports = ansiTrim
+const r = new RegExp('\x1b(?:\\[(?:\\d+[ABCDEFGJKSTm]|\\d+;\\d+[Hfm]|' +
+ '\\d+;\\d+;\\d+m|6n|s|u|\\?25[lh])|\\w)', 'g')
+module.exports = str => str.replace(r, '')
diff --git a/deps/npm/lib/utils/npm-usage.js b/deps/npm/lib/utils/npm-usage.js
index 720aab3de088f1..d4261f79dcb715 100644
--- a/deps/npm/lib/utils/npm-usage.js
+++ b/deps/npm/lib/utils/npm-usage.js
@@ -6,6 +6,8 @@ const { cmdList } = require('./cmd-list')
module.exports = (valid = true) => {
npm.config.set('loglevel', 'silent')
+ const usesBrowser = npm.config.get('viewer') === 'browser'
+ ? ' (in a browser)' : ''
npm.log.level = 'silent'
output(`
Usage: npm
@@ -16,8 +18,8 @@ npm test run this project's tests
npm run run the script named
npm -h quick help on
npm -l display usage info for all commands
-npm help search for help on
-npm help npm more involved overview
+npm help search for help on ${usesBrowser}
+npm help npm more involved overview${usesBrowser}
All commands:
${npm.config.get('long') ? usages() : ('\n ' + wrap(cmdList))}
@@ -40,44 +42,34 @@ npm@${npm.version} ${dirname(dirname(__dirname))}
}
const wrap = (arr) => {
- var out = ['']
- var l = 0
- var line
+ const out = ['']
- line = process.stdout.columns
- if (!line)
- line = 60
- else
- line = Math.min(60, Math.max(line - 16, 24))
+ const line = !process.stdout.columns ? 60
+ : Math.min(60, Math.max(process.stdout.columns - 16, 24))
- arr.sort(function (a, b) {
- return a < b ? -1 : 1
- })
- .forEach(function (c) {
- if (out[l].length + c.length + 2 < line)
- out[l] += ', ' + c
- else {
- out[l++] += ','
- out[l] = c
- }
- })
+ let l = 0
+ for (const c of arr.sort((a, b) => a < b ? -1 : 1)) {
+ if (out[l].length + c.length + 2 < line)
+ out[l] += ', ' + c
+ else {
+ out[l++] += ','
+ out[l] = c
+ }
+ }
return out.join('\n ').substr(2)
}
const usages = () => {
// return a string of :
- var maxLen = 0
- return cmdList.reduce(function (set, c) {
- set.push([c, require(`./${npm.deref(c)}.js`).usage || ''])
+ let maxLen = 0
+ return cmdList.reduce((set, c) => {
+ set.push([c, require(`../${npm.deref(c)}.js`).usage ||
+ /* istanbul ignore next - all commands should have usage */ ''])
maxLen = Math.max(maxLen, c.length)
return set
- }, []).sort((a, b) => {
- return a[0].localeCompare(b[0])
- }).map(function (item) {
- var c = item[0]
- var usage = item[1]
- return '\n ' +
- c + (new Array(maxLen - c.length + 2).join(' ')) +
- (usage.split('\n').join('\n' + (new Array(maxLen + 6).join(' '))))
- }).join('\n')
+ }, [])
+ .sort((a, b) => a[0].localeCompare(b[0]))
+ .map(([c, usage]) => `\n ${c}${' '.repeat(maxLen - c.length + 1)}${
+ (usage.split('\n').join('\n' + ' '.repeat(maxLen + 5)))}`)
+ .join('\n')
}
diff --git a/deps/npm/lib/utils/pulse-till-done.js b/deps/npm/lib/utils/pulse-till-done.js
index 9d145eee976e16..13147bae166137 100644
--- a/deps/npm/lib/utils/pulse-till-done.js
+++ b/deps/npm/lib/utils/pulse-till-done.js
@@ -1,4 +1,3 @@
-const validate = require('aproba')
const log = require('npmlog')
let pulsers = 0
@@ -18,7 +17,6 @@ function pulseStop () {
}
module.exports = function (prefix, cb) {
- validate('SF', [prefix, cb])
if (!prefix)
prefix = 'network'
pulseStart(prefix)
diff --git a/deps/npm/man/man1/npm-access.1 b/deps/npm/man/man1/npm-access.1
index 173e6b1cfd1001..4a876707d65bd4 100644
--- a/deps/npm/man/man1/npm-access.1
+++ b/deps/npm/man/man1/npm-access.1
@@ -1,4 +1,4 @@
-.TH "NPM\-ACCESS" "1" "January 2021" "" ""
+.TH "NPM\-ACCESS" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-access\fR \- Set access level on published packages
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-adduser.1 b/deps/npm/man/man1/npm-adduser.1
index dd8fb918e1b3c7..a8fd9fdcb87464 100644
--- a/deps/npm/man/man1/npm-adduser.1
+++ b/deps/npm/man/man1/npm-adduser.1
@@ -1,4 +1,4 @@
-.TH "NPM\-ADDUSER" "1" "January 2021" "" ""
+.TH "NPM\-ADDUSER" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-adduser\fR \- Add a registry user account
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-audit.1 b/deps/npm/man/man1/npm-audit.1
index 1c7268e135bb26..d18e94ebb39015 100644
--- a/deps/npm/man/man1/npm-audit.1
+++ b/deps/npm/man/man1/npm-audit.1
@@ -1,4 +1,4 @@
-.TH "NPM\-AUDIT" "1" "January 2021" "" ""
+.TH "NPM\-AUDIT" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-audit\fR \- Run a security audit
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-bin.1 b/deps/npm/man/man1/npm-bin.1
index 771197e4b14fcc..bf6283b35a436c 100644
--- a/deps/npm/man/man1/npm-bin.1
+++ b/deps/npm/man/man1/npm-bin.1
@@ -1,4 +1,4 @@
-.TH "NPM\-BIN" "1" "January 2021" "" ""
+.TH "NPM\-BIN" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-bin\fR \- Display npm bin folder
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-bugs.1 b/deps/npm/man/man1/npm-bugs.1
index 3318f3a4bf7532..325fd855cd6f7b 100644
--- a/deps/npm/man/man1/npm-bugs.1
+++ b/deps/npm/man/man1/npm-bugs.1
@@ -1,4 +1,4 @@
-.TH "NPM\-BUGS" "1" "January 2021" "" ""
+.TH "NPM\-BUGS" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-bugs\fR \- Report bugs for a package in a web browser
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-cache.1 b/deps/npm/man/man1/npm-cache.1
index eb65d7c37290ec..4e70325055039e 100644
--- a/deps/npm/man/man1/npm-cache.1
+++ b/deps/npm/man/man1/npm-cache.1
@@ -1,4 +1,4 @@
-.TH "NPM\-CACHE" "1" "January 2021" "" ""
+.TH "NPM\-CACHE" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-cache\fR \- Manipulates packages cache
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-ci.1 b/deps/npm/man/man1/npm-ci.1
index b74c14dc7730bf..ac46f95ac701c6 100644
--- a/deps/npm/man/man1/npm-ci.1
+++ b/deps/npm/man/man1/npm-ci.1
@@ -1,4 +1,4 @@
-.TH "NPM\-CI" "1" "January 2021" "" ""
+.TH "NPM\-CI" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-ci\fR \- Install a project with a clean slate
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-completion.1 b/deps/npm/man/man1/npm-completion.1
index 6842e6aa08188c..997188c52b14c7 100644
--- a/deps/npm/man/man1/npm-completion.1
+++ b/deps/npm/man/man1/npm-completion.1
@@ -1,4 +1,4 @@
-.TH "NPM\-COMPLETION" "1" "January 2021" "" ""
+.TH "NPM\-COMPLETION" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-completion\fR \- Tab Completion for npm
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-config.1 b/deps/npm/man/man1/npm-config.1
index cf6114cd93e495..cba7846b8ee530 100644
--- a/deps/npm/man/man1/npm-config.1
+++ b/deps/npm/man/man1/npm-config.1
@@ -1,4 +1,4 @@
-.TH "NPM\-CONFIG" "1" "January 2021" "" ""
+.TH "NPM\-CONFIG" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-config\fR \- Manage the npm configuration files
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-dedupe.1 b/deps/npm/man/man1/npm-dedupe.1
index fe5ed775b45c53..be1b3e9b77b85f 100644
--- a/deps/npm/man/man1/npm-dedupe.1
+++ b/deps/npm/man/man1/npm-dedupe.1
@@ -1,4 +1,4 @@
-.TH "NPM\-DEDUPE" "1" "January 2021" "" ""
+.TH "NPM\-DEDUPE" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-dedupe\fR \- Reduce duplication
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-deprecate.1 b/deps/npm/man/man1/npm-deprecate.1
index 81e16e669350e0..00060ceea1f358 100644
--- a/deps/npm/man/man1/npm-deprecate.1
+++ b/deps/npm/man/man1/npm-deprecate.1
@@ -1,4 +1,4 @@
-.TH "NPM\-DEPRECATE" "1" "January 2021" "" ""
+.TH "NPM\-DEPRECATE" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-deprecate\fR \- Deprecate a version of a package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-diff.1 b/deps/npm/man/man1/npm-diff.1
index cb7cac17ff8a7b..16c5c82863bfce 100644
--- a/deps/npm/man/man1/npm-diff.1
+++ b/deps/npm/man/man1/npm-diff.1
@@ -1,4 +1,4 @@
-.TH "NPM\-DIFF" "1" "January 2021" "" ""
+.TH "NPM\-DIFF" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-diff\fR \- The registry diff command
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-dist-tag.1 b/deps/npm/man/man1/npm-dist-tag.1
index 4729a069d0a057..779fd6b48e5a7d 100644
--- a/deps/npm/man/man1/npm-dist-tag.1
+++ b/deps/npm/man/man1/npm-dist-tag.1
@@ -1,4 +1,4 @@
-.TH "NPM\-DIST\-TAG" "1" "January 2021" "" ""
+.TH "NPM\-DIST\-TAG" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-dist-tag\fR \- Modify package distribution tags
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-docs.1 b/deps/npm/man/man1/npm-docs.1
index 5bedabb0aecc90..3bb3258b997d6d 100644
--- a/deps/npm/man/man1/npm-docs.1
+++ b/deps/npm/man/man1/npm-docs.1
@@ -1,4 +1,4 @@
-.TH "NPM\-DOCS" "1" "January 2021" "" ""
+.TH "NPM\-DOCS" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-docs\fR \- Open documentation for a package in a web browser
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-doctor.1 b/deps/npm/man/man1/npm-doctor.1
index dda1886ebeb757..9f6006eb3dd175 100644
--- a/deps/npm/man/man1/npm-doctor.1
+++ b/deps/npm/man/man1/npm-doctor.1
@@ -1,4 +1,4 @@
-.TH "NPM\-DOCTOR" "1" "January 2021" "" ""
+.TH "NPM\-DOCTOR" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-doctor\fR \- Check your npm environment
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-edit.1 b/deps/npm/man/man1/npm-edit.1
index 844e2ee7d0302f..248150e2ff2018 100644
--- a/deps/npm/man/man1/npm-edit.1
+++ b/deps/npm/man/man1/npm-edit.1
@@ -1,4 +1,4 @@
-.TH "NPM\-EDIT" "1" "January 2021" "" ""
+.TH "NPM\-EDIT" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-edit\fR \- Edit an installed package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-exec.1 b/deps/npm/man/man1/npm-exec.1
index 24c5aef3f87199..22d04207b9e1b9 100644
--- a/deps/npm/man/man1/npm-exec.1
+++ b/deps/npm/man/man1/npm-exec.1
@@ -1,4 +1,4 @@
-.TH "NPM\-EXEC" "1" "January 2021" "" ""
+.TH "NPM\-EXEC" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-exec\fR \- Run a command from a local or remote npm package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-explain.1 b/deps/npm/man/man1/npm-explain.1
index 05def6f9953406..13b252d8a69f11 100644
--- a/deps/npm/man/man1/npm-explain.1
+++ b/deps/npm/man/man1/npm-explain.1
@@ -1,4 +1,4 @@
-.TH "NPM\-EXPLAIN" "1" "January 2021" "" ""
+.TH "NPM\-EXPLAIN" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-explain\fR \- Explain installed packages
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-explore.1 b/deps/npm/man/man1/npm-explore.1
index 75e19e0ccfb79b..adcc074e532612 100644
--- a/deps/npm/man/man1/npm-explore.1
+++ b/deps/npm/man/man1/npm-explore.1
@@ -1,4 +1,4 @@
-.TH "NPM\-EXPLORE" "1" "January 2021" "" ""
+.TH "NPM\-EXPLORE" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-explore\fR \- Browse an installed package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-fund.1 b/deps/npm/man/man1/npm-fund.1
index 5ecc397d5d3129..278e39d4f970a0 100644
--- a/deps/npm/man/man1/npm-fund.1
+++ b/deps/npm/man/man1/npm-fund.1
@@ -1,4 +1,4 @@
-.TH "NPM\-FUND" "1" "January 2021" "" ""
+.TH "NPM\-FUND" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-fund\fR \- Retrieve funding information
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-help-search.1 b/deps/npm/man/man1/npm-help-search.1
index 0fb25c5afeb018..60a3ac4d593999 100644
--- a/deps/npm/man/man1/npm-help-search.1
+++ b/deps/npm/man/man1/npm-help-search.1
@@ -1,4 +1,4 @@
-.TH "NPM\-HELP\-SEARCH" "1" "January 2021" "" ""
+.TH "NPM\-HELP\-SEARCH" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-help-search\fR \- Search npm help documentation
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-help.1 b/deps/npm/man/man1/npm-help.1
index 01151c5d9ca768..0ace5ec6bb5f74 100644
--- a/deps/npm/man/man1/npm-help.1
+++ b/deps/npm/man/man1/npm-help.1
@@ -1,4 +1,4 @@
-.TH "NPM\-HELP" "1" "January 2021" "" ""
+.TH "NPM\-HELP" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-help\fR \- Get help on npm
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-hook.1 b/deps/npm/man/man1/npm-hook.1
index d7715658890357..950b7f85142071 100644
--- a/deps/npm/man/man1/npm-hook.1
+++ b/deps/npm/man/man1/npm-hook.1
@@ -1,4 +1,4 @@
-.TH "NPM\-HOOK" "1" "January 2021" "" ""
+.TH "NPM\-HOOK" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-hook\fR \- Manage registry hooks
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-init.1 b/deps/npm/man/man1/npm-init.1
index f3e584840556ae..d759efc5244d7c 100644
--- a/deps/npm/man/man1/npm-init.1
+++ b/deps/npm/man/man1/npm-init.1
@@ -1,4 +1,4 @@
-.TH "NPM\-INIT" "1" "January 2021" "" ""
+.TH "NPM\-INIT" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-init\fR \- create a package\.json file
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-install-ci-test.1 b/deps/npm/man/man1/npm-install-ci-test.1
index bc0ec6ef2fd0c6..a4f69dd04ebed1 100644
--- a/deps/npm/man/man1/npm-install-ci-test.1
+++ b/deps/npm/man/man1/npm-install-ci-test.1
@@ -1,4 +1,4 @@
-.TH "NPM\-INSTALL\-CI\-TEST" "1" "January 2021" "" ""
+.TH "NPM\-INSTALL\-CI\-TEST" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-install-ci-test\fR \- Install a project with a clean slate and run tests
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-install-test.1 b/deps/npm/man/man1/npm-install-test.1
index 73fccaf4154e38..def347d19d78c8 100644
--- a/deps/npm/man/man1/npm-install-test.1
+++ b/deps/npm/man/man1/npm-install-test.1
@@ -1,4 +1,4 @@
-.TH "NPM\-INSTALL\-TEST" "1" "January 2021" "" ""
+.TH "NPM\-INSTALL\-TEST" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-install-test\fR \- Install package(s) and run tests
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-install.1 b/deps/npm/man/man1/npm-install.1
index b0f567e254a19b..0522d8b6588c05 100644
--- a/deps/npm/man/man1/npm-install.1
+++ b/deps/npm/man/man1/npm-install.1
@@ -1,4 +1,4 @@
-.TH "NPM\-INSTALL" "1" "January 2021" "" ""
+.TH "NPM\-INSTALL" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-install\fR \- Install a package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-link.1 b/deps/npm/man/man1/npm-link.1
index 881ee1f87fb089..7f978f281f0ea0 100644
--- a/deps/npm/man/man1/npm-link.1
+++ b/deps/npm/man/man1/npm-link.1
@@ -1,4 +1,4 @@
-.TH "NPM\-LINK" "1" "January 2021" "" ""
+.TH "NPM\-LINK" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-link\fR \- Symlink a package folder
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-logout.1 b/deps/npm/man/man1/npm-logout.1
index c0bbf0e803b1a3..032a0bbd76e9e1 100644
--- a/deps/npm/man/man1/npm-logout.1
+++ b/deps/npm/man/man1/npm-logout.1
@@ -1,4 +1,4 @@
-.TH "NPM\-LOGOUT" "1" "January 2021" "" ""
+.TH "NPM\-LOGOUT" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-logout\fR \- Log out of the registry
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-ls.1 b/deps/npm/man/man1/npm-ls.1
index 0f98263394be00..450f21d7b757a1 100644
--- a/deps/npm/man/man1/npm-ls.1
+++ b/deps/npm/man/man1/npm-ls.1
@@ -1,4 +1,4 @@
-.TH "NPM\-LS" "1" "January 2021" "" ""
+.TH "NPM\-LS" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-ls\fR \- List installed packages
.SS Synopsis
@@ -26,7 +26,7 @@ example, running \fBnpm ls promzard\fP in npm's source tree will show:
.P
.RS 2
.nf
-npm@7\.5\.0 /path/to/npm
+npm@7\.5\.1 /path/to/npm
└─┬ init\-package\-json@0\.0\.4
└── promzard@0\.1\.5
.fi
diff --git a/deps/npm/man/man1/npm-org.1 b/deps/npm/man/man1/npm-org.1
index a25119964ae99f..8749ca79d73128 100644
--- a/deps/npm/man/man1/npm-org.1
+++ b/deps/npm/man/man1/npm-org.1
@@ -1,4 +1,4 @@
-.TH "NPM\-ORG" "1" "January 2021" "" ""
+.TH "NPM\-ORG" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-org\fR \- Manage orgs
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-outdated.1 b/deps/npm/man/man1/npm-outdated.1
index a9e59718c243e6..6fe63984c19541 100644
--- a/deps/npm/man/man1/npm-outdated.1
+++ b/deps/npm/man/man1/npm-outdated.1
@@ -1,4 +1,4 @@
-.TH "NPM\-OUTDATED" "1" "January 2021" "" ""
+.TH "NPM\-OUTDATED" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-outdated\fR \- Check for outdated packages
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-owner.1 b/deps/npm/man/man1/npm-owner.1
index 9889faaca43336..ca853fd0d233cb 100644
--- a/deps/npm/man/man1/npm-owner.1
+++ b/deps/npm/man/man1/npm-owner.1
@@ -1,4 +1,4 @@
-.TH "NPM\-OWNER" "1" "January 2021" "" ""
+.TH "NPM\-OWNER" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-owner\fR \- Manage package owners
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-pack.1 b/deps/npm/man/man1/npm-pack.1
index 08445b378405b5..60434874a80726 100644
--- a/deps/npm/man/man1/npm-pack.1
+++ b/deps/npm/man/man1/npm-pack.1
@@ -1,4 +1,4 @@
-.TH "NPM\-PACK" "1" "January 2021" "" ""
+.TH "NPM\-PACK" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-pack\fR \- Create a tarball from a package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-ping.1 b/deps/npm/man/man1/npm-ping.1
index e0277ea3f1bfae..0633da299d0195 100644
--- a/deps/npm/man/man1/npm-ping.1
+++ b/deps/npm/man/man1/npm-ping.1
@@ -1,4 +1,4 @@
-.TH "NPM\-PING" "1" "January 2021" "" ""
+.TH "NPM\-PING" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-ping\fR \- Ping npm registry
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-prefix.1 b/deps/npm/man/man1/npm-prefix.1
index ce1426703aa0e1..93c5035e7f64d3 100644
--- a/deps/npm/man/man1/npm-prefix.1
+++ b/deps/npm/man/man1/npm-prefix.1
@@ -1,4 +1,4 @@
-.TH "NPM\-PREFIX" "1" "January 2021" "" ""
+.TH "NPM\-PREFIX" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-prefix\fR \- Display prefix
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-profile.1 b/deps/npm/man/man1/npm-profile.1
index 0b6116664d98ca..ee153aedf4262f 100644
--- a/deps/npm/man/man1/npm-profile.1
+++ b/deps/npm/man/man1/npm-profile.1
@@ -1,4 +1,4 @@
-.TH "NPM\-PROFILE" "1" "January 2021" "" ""
+.TH "NPM\-PROFILE" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-profile\fR \- Change settings on your registry profile
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-prune.1 b/deps/npm/man/man1/npm-prune.1
index 20b229b52ac7a5..20e3346c409416 100644
--- a/deps/npm/man/man1/npm-prune.1
+++ b/deps/npm/man/man1/npm-prune.1
@@ -1,4 +1,4 @@
-.TH "NPM\-PRUNE" "1" "January 2021" "" ""
+.TH "NPM\-PRUNE" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-prune\fR \- Remove extraneous packages
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-publish.1 b/deps/npm/man/man1/npm-publish.1
index c6fafeca620642..fdcdbd0c044cc6 100644
--- a/deps/npm/man/man1/npm-publish.1
+++ b/deps/npm/man/man1/npm-publish.1
@@ -1,4 +1,4 @@
-.TH "NPM\-PUBLISH" "1" "January 2021" "" ""
+.TH "NPM\-PUBLISH" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-publish\fR \- Publish a package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-rebuild.1 b/deps/npm/man/man1/npm-rebuild.1
index 75a132f16a1674..ae451948b5554c 100644
--- a/deps/npm/man/man1/npm-rebuild.1
+++ b/deps/npm/man/man1/npm-rebuild.1
@@ -1,4 +1,4 @@
-.TH "NPM\-REBUILD" "1" "January 2021" "" ""
+.TH "NPM\-REBUILD" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-rebuild\fR \- Rebuild a package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-repo.1 b/deps/npm/man/man1/npm-repo.1
index 5f95ca52ee3200..9d56e9c39e1dee 100644
--- a/deps/npm/man/man1/npm-repo.1
+++ b/deps/npm/man/man1/npm-repo.1
@@ -1,4 +1,4 @@
-.TH "NPM\-REPO" "1" "January 2021" "" ""
+.TH "NPM\-REPO" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-repo\fR \- Open package repository page in the browser
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-restart.1 b/deps/npm/man/man1/npm-restart.1
index 2663343dc1eb8e..5c421e6b8caf54 100644
--- a/deps/npm/man/man1/npm-restart.1
+++ b/deps/npm/man/man1/npm-restart.1
@@ -1,4 +1,4 @@
-.TH "NPM\-RESTART" "1" "January 2021" "" ""
+.TH "NPM\-RESTART" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-restart\fR \- Restart a package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-root.1 b/deps/npm/man/man1/npm-root.1
index dc36c04e495c29..be6042217c8b01 100644
--- a/deps/npm/man/man1/npm-root.1
+++ b/deps/npm/man/man1/npm-root.1
@@ -1,4 +1,4 @@
-.TH "NPM\-ROOT" "1" "January 2021" "" ""
+.TH "NPM\-ROOT" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-root\fR \- Display npm root
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-run-script.1 b/deps/npm/man/man1/npm-run-script.1
index 38753e123ac9a5..0d7f8ae994c04e 100644
--- a/deps/npm/man/man1/npm-run-script.1
+++ b/deps/npm/man/man1/npm-run-script.1
@@ -1,4 +1,4 @@
-.TH "NPM\-RUN\-SCRIPT" "1" "January 2021" "" ""
+.TH "NPM\-RUN\-SCRIPT" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-run-script\fR \- Run arbitrary package scripts
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-search.1 b/deps/npm/man/man1/npm-search.1
index b7f8315ccb7f2a..c34eb58a8d6f82 100644
--- a/deps/npm/man/man1/npm-search.1
+++ b/deps/npm/man/man1/npm-search.1
@@ -1,4 +1,4 @@
-.TH "NPM\-SEARCH" "1" "January 2021" "" ""
+.TH "NPM\-SEARCH" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-search\fR \- Search for packages
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-set-script.1 b/deps/npm/man/man1/npm-set-script.1
index cbadcbe53100ec..e5cbdc067df42c 100644
--- a/deps/npm/man/man1/npm-set-script.1
+++ b/deps/npm/man/man1/npm-set-script.1
@@ -1,4 +1,4 @@
-.TH "NPM\-SET\-SCRIPT" "1" "January 2021" "" ""
+.TH "NPM\-SET\-SCRIPT" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-set-script\fR \- Set tasks in the scripts section of package\.json
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-shrinkwrap.1 b/deps/npm/man/man1/npm-shrinkwrap.1
index c5151ab9abe2b2..31ad8d96acf1c6 100644
--- a/deps/npm/man/man1/npm-shrinkwrap.1
+++ b/deps/npm/man/man1/npm-shrinkwrap.1
@@ -1,4 +1,4 @@
-.TH "NPM\-SHRINKWRAP" "1" "January 2021" "" ""
+.TH "NPM\-SHRINKWRAP" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-shrinkwrap\fR \- Lock down dependency versions for publication
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-star.1 b/deps/npm/man/man1/npm-star.1
index 914b98c81a9de4..476e0298d7476e 100644
--- a/deps/npm/man/man1/npm-star.1
+++ b/deps/npm/man/man1/npm-star.1
@@ -1,4 +1,4 @@
-.TH "NPM\-STAR" "1" "January 2021" "" ""
+.TH "NPM\-STAR" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-star\fR \- Mark your favorite packages
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-stars.1 b/deps/npm/man/man1/npm-stars.1
index 48f404639c7b23..09a1cecc3b724e 100644
--- a/deps/npm/man/man1/npm-stars.1
+++ b/deps/npm/man/man1/npm-stars.1
@@ -1,4 +1,4 @@
-.TH "NPM\-STARS" "1" "January 2021" "" ""
+.TH "NPM\-STARS" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-stars\fR \- View packages marked as favorites
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-start.1 b/deps/npm/man/man1/npm-start.1
index a3d343d84f4bbd..2f9507cae43f6c 100644
--- a/deps/npm/man/man1/npm-start.1
+++ b/deps/npm/man/man1/npm-start.1
@@ -1,4 +1,4 @@
-.TH "NPM\-START" "1" "January 2021" "" ""
+.TH "NPM\-START" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-start\fR \- Start a package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-stop.1 b/deps/npm/man/man1/npm-stop.1
index 2d811be0b48f92..ebbde966f435df 100644
--- a/deps/npm/man/man1/npm-stop.1
+++ b/deps/npm/man/man1/npm-stop.1
@@ -1,4 +1,4 @@
-.TH "NPM\-STOP" "1" "January 2021" "" ""
+.TH "NPM\-STOP" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-stop\fR \- Stop a package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-team.1 b/deps/npm/man/man1/npm-team.1
index bb3bc1d5d006ca..79a9dc3b0c17fc 100644
--- a/deps/npm/man/man1/npm-team.1
+++ b/deps/npm/man/man1/npm-team.1
@@ -1,4 +1,4 @@
-.TH "NPM\-TEAM" "1" "January 2021" "" ""
+.TH "NPM\-TEAM" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-team\fR \- Manage organization teams and team memberships
.SS Synopsis
@@ -12,8 +12,6 @@ npm team add
npm team rm
npm team ls |
-
-npm team edit
.fi
.RE
.SS Description
@@ -22,24 +20,70 @@ Used to manage teams in organizations, and change team memberships\. Does not
handle permissions for packages\.
.P
Teams must always be fully qualified with the organization/scope they belong to
-when operating on them, separated by a colon (\fB:\fP)\. That is, if you have a \fBwombats\fP team in a \fBwisdom\fP organization, you must always refer to that team as \fBwisdom:wombats\fP in these commands\.
+when operating on them, separated by a colon (\fB:\fP)\. That is, if you have a
+\fBnewteam\fP team in an \fBorg\fP organization, you must always refer to that team
+as \fB@org:newteam\fP in these commands\.
.P
-If you have two\-factor authentication enabled in \fBauth\-and\-writes\fP mode, then you can provide a code from your authenticator with \fB[\-\-otp ]\fP\|\. If you don't include this then you will be prompted\.
+If you have two\-factor authentication enabled in \fBauth\-and\-writes\fP mode, then
+you can provide a code from your authenticator with \fB[\-\-otp ]\fP\|\.
+If you don't include this then you will be prompted\.
.RS 0
.IP \(bu 2
create / destroy:
-Create a new team, or destroy an existing one\. Note: You cannot remove the \fBdevelopers\fP team, learn more\.
+Create a new team, or destroy an existing one\. Note: You cannot remove the
+\fBdevelopers\fP team, learn more\.
+Here's how to create a new team \fBnewteam\fP under the \fBorg\fP org:
+.P
+.RS 2
+.nf
+npm team create @org:newteam
+.fi
+.RE
+You should see a confirming message such as: \fB+@org:newteam\fP once the new
+team has been created\.
.IP \(bu 2
-add / rm:
-Add a user to an existing team, or remove a user from a team they belong to\.
+add:
+Add a user to an existing team\.
+Adding a new user \fBusername\fP to a team named \fBnewteam\fP under the \fBorg\fP org:
+.P
+.RS 2
+.nf
+npm team add @org:newteam username
+.fi
+.RE
+On success, you should see a message: \fBusername added to @org:newteam\fP
+.IP \(bu 2
+rm:
+Using \fBnpm team rm\fP you can also remove users from a team they belong to\.
+Here's an example removing user \fBusername\fP from \fBnewteam\fP team
+in \fBorg\fP organization:
+.P
+.RS 2
+.nf
+npm team rm @org:newteam username
+.fi
+.RE
+Once the user is removed a confirmation message is displayed:
+\fBusername removed from @org:newteam\fP
.IP \(bu 2
ls:
If performed on an organization name, will return a list of existing teams
under that organization\. If performed on a team, it will instead return a list
of all users belonging to that particular team\.
-.IP \(bu 2
-edit:
-Edit a current team\.
+Here's an example of how to list all teams from an org named \fBorg\fP:
+.P
+.RS 2
+.nf
+npm team ls @org
+.fi
+.RE
+Example listing all members of a team named \fBnewteam\fP:
+.P
+.RS 2
+.nf
+npm team ls @org:newteam
+.fi
+.RE
.RE
.SS Details
@@ -47,9 +91,9 @@ Edit a current team\.
\fBnpm team\fP always operates directly on the current registry, configurable from
the command line using \fB\-\-registry=\fP\|\.
.P
-In order to create teams and manage team membership, you must be a \fIteam admin\fR
-under the given organization\. Listing teams and team memberships may be done by
-any member of the organizations\.
+You must be a \fIteam admin\fR to create teams and manage team membership, under
+the given organization\. Listing teams and team memberships may be done by
+any member of the organization\.
.P
Organization creation and management of team admins and \fIorganization\fR members
is done through the website, not the npm CLI\.
@@ -61,6 +105,8 @@ use the \fBnpm access\fP command to grant or revoke the appropriate permissions\
.IP \(bu 2
npm help access
.IP \(bu 2
+npm help config
+.IP \(bu 2
npm help registry
.RE
diff --git a/deps/npm/man/man1/npm-test.1 b/deps/npm/man/man1/npm-test.1
index 877e25c8157f5c..33b1570a3391a9 100644
--- a/deps/npm/man/man1/npm-test.1
+++ b/deps/npm/man/man1/npm-test.1
@@ -1,4 +1,4 @@
-.TH "NPM\-TEST" "1" "January 2021" "" ""
+.TH "NPM\-TEST" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-test\fR \- Test a package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-token.1 b/deps/npm/man/man1/npm-token.1
index 5edb1cee42eda1..4437653cd365ed 100644
--- a/deps/npm/man/man1/npm-token.1
+++ b/deps/npm/man/man1/npm-token.1
@@ -1,4 +1,4 @@
-.TH "NPM\-TOKEN" "1" "January 2021" "" ""
+.TH "NPM\-TOKEN" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-token\fR \- Manage your authentication tokens
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-uninstall.1 b/deps/npm/man/man1/npm-uninstall.1
index fb5016b3903935..4e996411db6719 100644
--- a/deps/npm/man/man1/npm-uninstall.1
+++ b/deps/npm/man/man1/npm-uninstall.1
@@ -1,4 +1,4 @@
-.TH "NPM\-UNINSTALL" "1" "January 2021" "" ""
+.TH "NPM\-UNINSTALL" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-uninstall\fR \- Remove a package
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-unpublish.1 b/deps/npm/man/man1/npm-unpublish.1
index 6542ec54643f38..b938c99d574c0d 100644
--- a/deps/npm/man/man1/npm-unpublish.1
+++ b/deps/npm/man/man1/npm-unpublish.1
@@ -1,4 +1,4 @@
-.TH "NPM\-UNPUBLISH" "1" "January 2021" "" ""
+.TH "NPM\-UNPUBLISH" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-unpublish\fR \- Remove a package from the registry
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-unstar.1 b/deps/npm/man/man1/npm-unstar.1
index 70df2998f8825b..f45999e93979af 100644
--- a/deps/npm/man/man1/npm-unstar.1
+++ b/deps/npm/man/man1/npm-unstar.1
@@ -1,4 +1,4 @@
-.TH "NPM\-UNSTAR" "1" "January 2021" "" ""
+.TH "NPM\-UNSTAR" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-unstar\fR \- Remove an item from your favorite packages
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-update.1 b/deps/npm/man/man1/npm-update.1
index 72aff345ff993f..59f0177187e796 100644
--- a/deps/npm/man/man1/npm-update.1
+++ b/deps/npm/man/man1/npm-update.1
@@ -1,4 +1,4 @@
-.TH "NPM\-UPDATE" "1" "January 2021" "" ""
+.TH "NPM\-UPDATE" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-update\fR \- Update packages
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-version.1 b/deps/npm/man/man1/npm-version.1
index 04206c929ecf81..aa47748610c982 100644
--- a/deps/npm/man/man1/npm-version.1
+++ b/deps/npm/man/man1/npm-version.1
@@ -1,4 +1,4 @@
-.TH "NPM\-VERSION" "1" "January 2021" "" ""
+.TH "NPM\-VERSION" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-version\fR \- Bump a package version
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-view.1 b/deps/npm/man/man1/npm-view.1
index 5590292359ef62..b503ea1536656b 100644
--- a/deps/npm/man/man1/npm-view.1
+++ b/deps/npm/man/man1/npm-view.1
@@ -1,4 +1,4 @@
-.TH "NPM\-VIEW" "1" "January 2021" "" ""
+.TH "NPM\-VIEW" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-view\fR \- View registry info
.SS Synopsis
diff --git a/deps/npm/man/man1/npm-whoami.1 b/deps/npm/man/man1/npm-whoami.1
index dc944670c188e0..0d623e7f1f1e43 100644
--- a/deps/npm/man/man1/npm-whoami.1
+++ b/deps/npm/man/man1/npm-whoami.1
@@ -1,4 +1,4 @@
-.TH "NPM\-WHOAMI" "1" "January 2021" "" ""
+.TH "NPM\-WHOAMI" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm-whoami\fR \- Display npm username
.SS Synopsis
diff --git a/deps/npm/man/man1/npm.1 b/deps/npm/man/man1/npm.1
index 833e9f2d148a54..fc76aef29eb231 100644
--- a/deps/npm/man/man1/npm.1
+++ b/deps/npm/man/man1/npm.1
@@ -1,4 +1,4 @@
-.TH "NPM" "1" "January 2021" "" ""
+.TH "NPM" "1" "February 2021" "" ""
.SH "NAME"
\fBnpm\fR \- javascript package manager
.SS Synopsis
@@ -10,7 +10,7 @@ npm [args]
.RE
.SS Version
.P
-7\.5\.0
+7\.5\.1
.SS Description
.P
npm is the package manager for the Node JavaScript platform\. It puts
diff --git a/deps/npm/man/man1/npx.1 b/deps/npm/man/man1/npx.1
index a6535f3e54680a..4de1c3ddf6b5c0 100644
--- a/deps/npm/man/man1/npx.1
+++ b/deps/npm/man/man1/npx.1
@@ -1,4 +1,4 @@
-.TH "NPX" "1" "January 2021" "" ""
+.TH "NPX" "1" "February 2021" "" ""
.SH "NAME"
\fBnpx\fR \- Run a command from a local or remote npm package
.SS Synopsis
diff --git a/deps/npm/man/man5/folders.5 b/deps/npm/man/man5/folders.5
index 8ba0a19d9d33a0..89df00b19d48a1 100644
--- a/deps/npm/man/man5/folders.5
+++ b/deps/npm/man/man5/folders.5
@@ -1,4 +1,4 @@
-.TH "FOLDERS" "5" "January 2021" "" ""
+.TH "FOLDERS" "5" "February 2021" "" ""
.SH "NAME"
\fBfolders\fR \- Folder Structures Used by npm
.SS Description
diff --git a/deps/npm/man/man5/install.5 b/deps/npm/man/man5/install.5
index d01600aa8d769a..106ca58a2fe800 100644
--- a/deps/npm/man/man5/install.5
+++ b/deps/npm/man/man5/install.5
@@ -1,4 +1,4 @@
-.TH "INSTALL" "5" "January 2021" "" ""
+.TH "INSTALL" "5" "February 2021" "" ""
.SH "NAME"
\fBinstall\fR \- Download and install node and npm
.SS Description
diff --git a/deps/npm/man/man5/npm-shrinkwrap-json.5 b/deps/npm/man/man5/npm-shrinkwrap-json.5
index 7f8012e847099f..12c366e6eef89f 100644
--- a/deps/npm/man/man5/npm-shrinkwrap-json.5
+++ b/deps/npm/man/man5/npm-shrinkwrap-json.5
@@ -1,4 +1,4 @@
-.TH "NPM\-SHRINKWRAP\.JSON" "5" "January 2021" "" ""
+.TH "NPM\-SHRINKWRAP\.JSON" "5" "February 2021" "" ""
.SH "NAME"
\fBnpm-shrinkwrap.json\fR \- A publishable lockfile
.SS Description
diff --git a/deps/npm/man/man5/npmrc.5 b/deps/npm/man/man5/npmrc.5
index baf2fe3e5d9078..410f4e4ea89799 100644
--- a/deps/npm/man/man5/npmrc.5
+++ b/deps/npm/man/man5/npmrc.5
@@ -1,4 +1,4 @@
-.TH "NPMRC" "5" "January 2021" "" ""
+.TH "NPMRC" "5" "February 2021" "" ""
.SH "NAME"
\fBnpmrc\fR \- The npm config files
.SS Description
diff --git a/deps/npm/man/man5/package-json.5 b/deps/npm/man/man5/package-json.5
index e4f3a964ec4bb0..cfe8eb3c6d7f56 100644
--- a/deps/npm/man/man5/package-json.5
+++ b/deps/npm/man/man5/package-json.5
@@ -1,4 +1,4 @@
-.TH "PACKAGE\.JSON" "5" "January 2021" "" ""
+.TH "PACKAGE\.JSON" "5" "February 2021" "" ""
.SH "NAME"
\fBpackage.json\fR \- Specifics of npm's package\.json handling
.SS Description
diff --git a/deps/npm/man/man5/package-lock-json.5 b/deps/npm/man/man5/package-lock-json.5
index 453c0105cb0bad..f1e82de0a89457 100644
--- a/deps/npm/man/man5/package-lock-json.5
+++ b/deps/npm/man/man5/package-lock-json.5
@@ -1,4 +1,4 @@
-.TH "PACKAGE\-LOCK\.JSON" "5" "January 2021" "" ""
+.TH "PACKAGE\-LOCK\.JSON" "5" "February 2021" "" ""
.SH "NAME"
\fBpackage-lock.json\fR \- A manifestation of the manifest
.SS Description
diff --git a/deps/npm/man/man7/config.7 b/deps/npm/man/man7/config.7
index a2e18228d6ba53..c2cb63e08976d0 100644
--- a/deps/npm/man/man7/config.7
+++ b/deps/npm/man/man7/config.7
@@ -1,4 +1,4 @@
-.TH "CONFIG" "7" "January 2021" "" ""
+.TH "CONFIG" "7" "February 2021" "" ""
.SH "NAME"
\fBconfig\fR \- More than you probably want to know about npm configuration
.SS Description
@@ -634,6 +634,8 @@ range (including SemVer\-major changes)\.
Allow a module to be installed as a direct dependency of itself\.
.IP \(bu 2
Allow unpublishing all versions of a published package\.
+.IP \(bu 2
+Allow conflicting peerDependencies to be installed in the root project\.
.RE
.P
diff --git a/deps/npm/man/man7/developers.7 b/deps/npm/man/man7/developers.7
index fbe0a455020d74..e371508a0dc239 100644
--- a/deps/npm/man/man7/developers.7
+++ b/deps/npm/man/man7/developers.7
@@ -1,4 +1,4 @@
-.TH "DEVELOPERS" "7" "January 2021" "" ""
+.TH "DEVELOPERS" "7" "February 2021" "" ""
.SH "NAME"
\fBdevelopers\fR \- Developer Guide
.SS Description
diff --git a/deps/npm/man/man7/orgs.7 b/deps/npm/man/man7/orgs.7
index b2be9c387f6dc2..f8bcbf808ad3be 100644
--- a/deps/npm/man/man7/orgs.7
+++ b/deps/npm/man/man7/orgs.7
@@ -1,4 +1,4 @@
-.TH "ORGS" "7" "January 2021" "" ""
+.TH "ORGS" "7" "February 2021" "" ""
.SH "NAME"
\fBorgs\fR \- Working with Teams & Orgs
.SS Description
diff --git a/deps/npm/man/man7/registry.7 b/deps/npm/man/man7/registry.7
index 2626ac08e9a7e5..68c6f7b0e4b2fc 100644
--- a/deps/npm/man/man7/registry.7
+++ b/deps/npm/man/man7/registry.7
@@ -1,4 +1,4 @@
-.TH "REGISTRY" "7" "January 2021" "" ""
+.TH "REGISTRY" "7" "February 2021" "" ""
.SH "NAME"
\fBregistry\fR \- The JavaScript Package Registry
.SS Description
diff --git a/deps/npm/man/man7/removal.7 b/deps/npm/man/man7/removal.7
index 5fa0bcbabf8755..e0c1cd68facac4 100644
--- a/deps/npm/man/man7/removal.7
+++ b/deps/npm/man/man7/removal.7
@@ -1,4 +1,4 @@
-.TH "REMOVAL" "7" "January 2021" "" ""
+.TH "REMOVAL" "7" "February 2021" "" ""
.SH "NAME"
\fBremoval\fR \- Cleaning the Slate
.SS Synopsis
diff --git a/deps/npm/man/man7/scope.7 b/deps/npm/man/man7/scope.7
index fcbff4d89247c3..c7e3b9d93a701c 100644
--- a/deps/npm/man/man7/scope.7
+++ b/deps/npm/man/man7/scope.7
@@ -1,4 +1,4 @@
-.TH "SCOPE" "7" "January 2021" "" ""
+.TH "SCOPE" "7" "February 2021" "" ""
.SH "NAME"
\fBscope\fR \- Scoped packages
.SS Description
diff --git a/deps/npm/man/man7/scripts.7 b/deps/npm/man/man7/scripts.7
index b00c208140b07f..1e027539873511 100644
--- a/deps/npm/man/man7/scripts.7
+++ b/deps/npm/man/man7/scripts.7
@@ -1,4 +1,4 @@
-.TH "SCRIPTS" "7" "January 2021" "" ""
+.TH "SCRIPTS" "7" "February 2021" "" ""
.SH "NAME"
\fBscripts\fR \- How npm handles the "scripts" field
.SS Description
diff --git a/deps/npm/man/man7/workspaces.7 b/deps/npm/man/man7/workspaces.7
index c2b3e30e539c35..350a80637831bc 100644
--- a/deps/npm/man/man7/workspaces.7
+++ b/deps/npm/man/man7/workspaces.7
@@ -1,4 +1,4 @@
-.TH "WORKSPACES" "7" "January 2021" "" ""
+.TH "WORKSPACES" "7" "February 2021" "" ""
.SH "NAME"
\fBworkspaces\fR \- Working with workspaces
.SS Description
diff --git a/deps/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js b/deps/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js
index 9328b8043bd4e5..ae92b74cefd188 100644
--- a/deps/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js
+++ b/deps/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js
@@ -416,7 +416,7 @@ module.exports = cls => class IdealTreeBuilder extends cls {
await this[_add](options)
// triggers a refresh of all edgesOut
- if (options.add && options.add.length || options.rm && options.rm.length)
+ if (options.add && options.add.length || options.rm && options.rm.length || this[_global])
tree.package = tree.package
process.emit('timeEnd', 'idealTree:userRequests')
}
@@ -1148,6 +1148,7 @@ This is a one-time fix-up, please be patient...
[_placeDep] (dep, node, edge, peerEntryEdge = null, peerPath = []) {
if (edge.to &&
!edge.error &&
+ !this[_explicitRequests].has(edge.name) &&
!this[_updateNames].includes(edge.name) &&
!this[_isVulnerable](edge.to))
return []
diff --git a/deps/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js b/deps/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js
index 19c7fa384de515..6cc129a7cc0572 100644
--- a/deps/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js
+++ b/deps/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js
@@ -233,7 +233,7 @@ module.exports = cls => class Reifier extends cls {
const actualOpt = this[_global] ? {
ignoreMissing: true,
global: true,
- filter: (node, kid) => !node.isRoot && node !== node.root.target
+ filter: (node, kid) => this[_explicitRequests].size === 0 || !node.isProjectRoot
? true
: (node.edgesOut.has(kid) || this[_explicitRequests].has(kid)),
} : { ignoreMissing: true }
@@ -605,7 +605,7 @@ module.exports = cls => class Reifier extends cls {
tree: this.diff,
visit: diff => {
const node = diff.ideal
- if (node && !node.isRoot && node.package.bundleDependencies &&
+ if (node && !node.isProjectRoot && node.package.bundleDependencies &&
node.package.bundleDependencies.length) {
maxBundleDepth = Math.max(maxBundleDepth, node.depth)
if (!bundlesByDepth.has(node.depth))
@@ -811,7 +811,7 @@ module.exports = cls => class Reifier extends cls {
dfwalk({
tree: this.diff,
leave: diff => {
- if (!diff.ideal.isRoot)
+ if (!diff.ideal.isProjectRoot)
nodes.push(diff.ideal)
},
// process adds before changes, ignore removals
diff --git a/deps/npm/node_modules/@npmcli/arborist/lib/node.js b/deps/npm/node_modules/@npmcli/arborist/lib/node.js
index 01147b9d48da8a..9a6b86e4021b8f 100644
--- a/deps/npm/node_modules/@npmcli/arborist/lib/node.js
+++ b/deps/npm/node_modules/@npmcli/arborist/lib/node.js
@@ -247,7 +247,7 @@ class Node {
// true for packages installed directly in the global node_modules folder
get globalTop () {
- return this.global && this.parent.isRoot
+ return this.global && this.parent.isProjectRoot
}
get workspaces () {
@@ -294,8 +294,11 @@ class Node {
const { name = '', version = '' } = this.package
// root package will prefer package name over folder name,
// and never be called an alias.
- const myname = this.isRoot ? name || this.name : this.name
- const alias = !this.isRoot && name && myname !== name ? `npm:${name}@` : ''
+ const { isProjectRoot } = this
+ const myname = isProjectRoot ? name || this.name
+ : this.name
+ const alias = !isProjectRoot && name && myname !== name ? `npm:${name}@`
+ : ''
return `${myname}@${alias}${version}`
}
@@ -339,14 +342,14 @@ class Node {
}
[_explain] (edge, seen) {
- if (this.isRoot && !this.sourceReference) {
+ if (this.isProjectRoot && !this.sourceReference) {
return {
location: this.path,
}
}
const why = {
- name: this.isRoot ? this.package.name : this.name,
+ name: this.isProjectRoot ? this.package.name : this.name,
version: this.package.version,
}
if (this.errors.length || !this.package.name || !this.package.version) {
@@ -384,7 +387,7 @@ class Node {
// and are not keeping it held in this spot anyway.
const edges = []
for (const edge of this.edgesIn) {
- if (!edge.valid && !edge.from.isRoot)
+ if (!edge.valid && !edge.from.isProjectRoot)
continue
edges.push(edge)
@@ -453,7 +456,7 @@ class Node {
}
get isWorkspace () {
- if (this.isRoot)
+ if (this.isProjectRoot)
return false
const { root } = this
const { type, to } = root.edgesOut.get(this.package.name) || {}
@@ -733,7 +736,9 @@ class Node {
// Linked targets that are disconnected from the tree are tops,
// but don't have a 'path' field, only a 'realpath', because we
// don't know their canonical location. We don't need their devDeps.
- if (this.isTop && this.path && !this.sourceReference)
+ const { isTop, path, sourceReference } = this
+ const { isTop: srcTop, path: srcPath } = sourceReference || {}
+ if (isTop && path && (!sourceReference || srcTop && srcPath))
this[_loadDepType](this.package.devDependencies, 'dev')
const pd = this.package.peerDependencies
@@ -902,8 +907,8 @@ class Node {
if (this.isLink)
return node.isLink && this.target.matches(node.target)
- // if they're two root nodes, they're different if the paths differ
- if (this.isRoot && node.isRoot)
+ // if they're two project root nodes, they're different if the paths differ
+ if (this.isProjectRoot && node.isProjectRoot)
return this.path === node.path
// if the integrity matches, then they're the same.
diff --git a/deps/npm/node_modules/@npmcli/arborist/package.json b/deps/npm/node_modules/@npmcli/arborist/package.json
index bf0de29939182b..2107652c6754d3 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": "2.1.0",
+ "version": "2.1.1",
"description": "Manage node_modules trees",
"dependencies": {
"@npmcli/installed-package-contents": "^1.0.5",
@@ -20,7 +20,7 @@
"npm-package-arg": "^8.1.0",
"npm-pick-manifest": "^6.1.0",
"npm-registry-fetch": "^9.0.0",
- "pacote": "^11.2.3",
+ "pacote": "^11.2.4",
"parse-conflict-json": "^1.1.1",
"promise-all-reject-late": "^1.0.0",
"promise-call-limit": "^1.0.1",
@@ -55,7 +55,7 @@
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags",
"eslint": "eslint",
- "lint": "npm run eslint -- \"lib/**/*.js\"",
+ "lint": "npm run eslint -- \"lib/**/*.js\" \"test/arborist/*.js\" \"test/*.js\"",
"lintfix": "npm run lint -- --fix",
"benchmark": "node scripts/benchmark.js",
"benchclean": "rm -rf scripts/benchmark/*/"
diff --git a/deps/npm/node_modules/pacote/lib/fetcher.js b/deps/npm/node_modules/pacote/lib/fetcher.js
index c4e5852daf8a87..ad3cacec89bf48 100644
--- a/deps/npm/node_modules/pacote/lib/fetcher.js
+++ b/deps/npm/node_modules/pacote/lib/fetcher.js
@@ -103,7 +103,7 @@ class FetcherBase {
this.npmBin = opts.npmBin || 'npm'
// command to install deps for preparing
- this.npmInstallCmd = opts.npmInstallCmd || [ 'install' ]
+ this.npmInstallCmd = opts.npmInstallCmd || [ 'install', '--force' ]
// 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
diff --git a/deps/npm/node_modules/pacote/package.json b/deps/npm/node_modules/pacote/package.json
index b55685a48b2411..959cb1ec488314 100644
--- a/deps/npm/node_modules/pacote/package.json
+++ b/deps/npm/node_modules/pacote/package.json
@@ -1,6 +1,6 @@
{
"name": "pacote",
- "version": "11.2.3",
+ "version": "11.2.4",
"description": "JavaScript package downloader",
"author": "Isaac Z. Schlueter (https://izs.me)",
"bin": {
diff --git a/deps/npm/package.json b/deps/npm/package.json
index 3c967869a6dcc8..57b7f48964b816 100644
--- a/deps/npm/package.json
+++ b/deps/npm/package.json
@@ -1,5 +1,5 @@
{
- "version": "7.5.0",
+ "version": "7.5.1",
"name": "npm",
"description": "a package manager for JavaScript",
"keywords": [
@@ -42,14 +42,13 @@
"./package.json": "./package.json"
},
"dependencies": {
- "@npmcli/arborist": "^2.1.0",
+ "@npmcli/arborist": "^2.1.1",
"@npmcli/ci-detect": "^1.2.0",
"@npmcli/config": "^1.2.8",
"@npmcli/run-script": "^1.8.1",
"abbrev": "~1.1.1",
"ansicolors": "~0.3.2",
"ansistyles": "~0.1.3",
- "aproba": "^2.0.0",
"archy": "~1.0.0",
"byte-size": "^7.0.0",
"cacache": "^15.0.5",
@@ -119,7 +118,6 @@
"abbrev",
"ansicolors",
"ansistyles",
- "aproba",
"archy",
"byte-size",
"cacache",
diff --git a/deps/npm/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js b/deps/npm/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js
new file mode 100644
index 00000000000000..5fb74fd5efdb57
--- /dev/null
+++ b/deps/npm/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js
@@ -0,0 +1,495 @@
+/* IMPORTANT
+ * This snapshot file is auto-generated, but designed for humans.
+ * It should be checked into source control and tracked carefully.
+ * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
+ * Make sure to inspect the output below. Do not ignore changes!
+ */
+'use strict'
+exports[`test/lib/utils/npm-usage.js TAP basic usage > must match snapshot 1`] = `
+
+Usage: npm
+
+npm install install all the dependencies in your project
+npm install add the dependency to your project
+npm test run this project's tests
+npm run run the script named
+npm -h quick help on
+npm -l display usage info for all commands
+npm help search for help on
+npm help npm more involved overview
+
+All commands:
+
+ access, adduser, audit, bin, bugs, cache, ci, completion,
+ config, dedupe, deprecate, diff, dist-tag, docs, doctor,
+ edit, exec, explain, explore, find-dupes, fund, get, help,
+ hook, init, install, install-ci-test, install-test, link,
+ ll, login, logout, ls, org, outdated, owner, pack, ping,
+ prefix, profile, prune, publish, rebuild, repo, restart,
+ root, run-script, search, set, set-script, shrinkwrap, star,
+ stars, start, stop, team, test, token, uninstall, unpublish,
+ unstar, update, version, view, whoami
+
+Specify configs in the ini-formatted file:
+ /some/config/file/.npmrc
+or on the command line via: npm --key=value
+
+More configuration info: npm help config
+Configuration fields: npm help 7 config
+
+npm@{VERSION} {BASEDIR}
+
+`
+
+exports[`test/lib/utils/npm-usage.js TAP did you mean? > must match snapshot 1`] = `
+
+Usage: npm
+
+npm install install all the dependencies in your project
+npm install add the dependency to your project
+npm test run this project's tests
+npm run run the script named
+npm -h quick help on
+npm -l display usage info for all commands
+npm help search for help on
+npm help npm more involved overview
+
+All commands:
+
+ access, adduser, audit, bin, bugs, cache, ci, completion,
+ config, dedupe, deprecate, diff, dist-tag, docs, doctor,
+ edit, exec, explain, explore, find-dupes, fund, get, help,
+ hook, init, install, install-ci-test, install-test, link,
+ ll, login, logout, ls, org, outdated, owner, pack, ping,
+ prefix, profile, prune, publish, rebuild, repo, restart,
+ root, run-script, search, set, set-script, shrinkwrap, star,
+ stars, start, stop, team, test, token, uninstall, unpublish,
+ unstar, update, version, view, whoami
+
+Specify configs in the ini-formatted file:
+ /some/config/file/.npmrc
+or on the command line via: npm --key=value
+
+More configuration info: npm help config
+Configuration fields: npm help 7 config
+
+npm@{VERSION} {BASEDIR}
+
+`
+
+exports[`test/lib/utils/npm-usage.js TAP did you mean? > must match snapshot 2`] = `
+
+Did you mean one of these?
+ install
+ uninstall
+`
+
+exports[`test/lib/utils/npm-usage.js TAP set process.stdout.columns columns=0 > must match snapshot 1`] = `
+
+Usage: npm
+
+npm install install all the dependencies in your project
+npm install add the dependency to your project
+npm test run this project's tests
+npm run run the script named
+npm -h quick help on
+npm -l display usage info for all commands
+npm help search for help on
+npm help npm more involved overview
+
+All commands:
+
+ access, adduser, audit, bin, bugs, cache, ci, completion,
+ config, dedupe, deprecate, diff, dist-tag, docs, doctor,
+ edit, exec, explain, explore, find-dupes, fund, get, help,
+ hook, init, install, install-ci-test, install-test, link,
+ ll, login, logout, ls, org, outdated, owner, pack, ping,
+ prefix, profile, prune, publish, rebuild, repo, restart,
+ root, run-script, search, set, set-script, shrinkwrap, star,
+ stars, start, stop, team, test, token, uninstall, unpublish,
+ unstar, update, version, view, whoami
+
+Specify configs in the ini-formatted file:
+ /some/config/file/.npmrc
+or on the command line via: npm --key=value
+
+More configuration info: npm help config
+Configuration fields: npm help 7 config
+
+npm@{VERSION} {BASEDIR}
+
+`
+
+exports[`test/lib/utils/npm-usage.js TAP set process.stdout.columns columns=90 > must match snapshot 1`] = `
+
+Usage: npm
+
+npm install install all the dependencies in your project
+npm install add the dependency to your project
+npm test run this project's tests
+npm run run the script named
+npm -h quick help on
+npm -l display usage info for all commands
+npm help search for help on
+npm help npm more involved overview
+
+All commands:
+
+ access, adduser, audit, bin, bugs, cache, ci, completion,
+ config, dedupe, deprecate, diff, dist-tag, docs, doctor,
+ edit, exec, explain, explore, find-dupes, fund, get, help,
+ hook, init, install, install-ci-test, install-test, link,
+ ll, login, logout, ls, org, outdated, owner, pack, ping,
+ prefix, profile, prune, publish, rebuild, repo, restart,
+ root, run-script, search, set, set-script, shrinkwrap, star,
+ stars, start, stop, team, test, token, uninstall, unpublish,
+ unstar, update, version, view, whoami
+
+Specify configs in the ini-formatted file:
+ /some/config/file/.npmrc
+or on the command line via: npm --key=value
+
+More configuration info: npm help config
+Configuration fields: npm help 7 config
+
+npm@{VERSION} {BASEDIR}
+
+`
+
+exports[`test/lib/utils/npm-usage.js TAP with browser > must match snapshot 1`] = `
+
+Usage: npm
+
+npm install install all the dependencies in your project
+npm install add the dependency to your project
+npm test run this project's tests
+npm run run the script named
+npm -h quick help on
+npm -l display usage info for all commands
+npm help search for help on (in a browser)
+npm help npm more involved overview (in a browser)
+
+All commands:
+
+ access, adduser, audit, bin, bugs, cache, ci, completion,
+ config, dedupe, deprecate, diff, dist-tag, docs, doctor,
+ edit, exec, explain, explore, find-dupes, fund, get, help,
+ hook, init, install, install-ci-test, install-test, link,
+ ll, login, logout, ls, org, outdated, owner, pack, ping,
+ prefix, profile, prune, publish, rebuild, repo, restart,
+ root, run-script, search, set, set-script, shrinkwrap, star,
+ stars, start, stop, team, test, token, uninstall, unpublish,
+ unstar, update, version, view, whoami
+
+Specify configs in the ini-formatted file:
+ /some/config/file/.npmrc
+or on the command line via: npm --key=value
+
+More configuration info: npm help config
+Configuration fields: npm help 7 config
+
+npm@{VERSION} {BASEDIR}
+
+`
+
+exports[`test/lib/utils/npm-usage.js TAP with long > must match snapshot 1`] = `
+
+Usage: npm
+
+npm install install all the dependencies in your project
+npm install add the dependency to your project
+npm test run this project's tests
+npm run run the script named
+npm -h quick help on
+npm -l display usage info for all commands
+npm help search for help on
+npm help npm more involved overview
+
+All commands:
+
+ access npm access public []
+ npm access restricted []
+ npm access grant []
+ npm access revoke []
+ npm access 2fa-required []
+ npm access 2fa-not-required []
+ npm access ls-packages [||]
+ npm access ls-collaborators [ []]
+ npm access edit []
+
+ adduser npm adduser [--registry=url] [--scope=@orgname] [--always-auth]
+
+ aliases: login, add-user
+
+ audit npm audit [--json] [--production]
+ npm audit fix [--force|--package-lock-only|--dry-run|--production|--only=(dev|prod)]
+
+ bin npm bin [-g]
+
+ bugs npm bugs []
+
+ alias: issues
+
+ cache npm cache add
+ npm cache add
+ npm cache add
+ npm cache add
+ npm cache add @
+ npm cache clean
+ npm cache verify
+
+ ci npm ci
+
+ aliases: clean-install, ic, install-clean, isntall-clean
+
+ completion source <(npm completion)
+
+ config npm config set = [= ...]
+ npm config get [ [ ...]]
+ npm config delete [ ...]
+ npm config list [--json]
+ npm config edit
+ npm set = [= ...]
+ npm get [ [ ...]]
+
+ alias: c
+
+ dedupe npm dedupe
+
+ alias: ddp
+
+ deprecate npm deprecate [@]
+
+ diff npm diff [...]
+ npm diff --diff= [...]
+ npm diff --diff= [--diff=] [...]
+ npm diff --diff= [--diff=] [...]
+ npm diff [--diff-ignore-all-space] [--diff-name-only] [...] [...]
+
+ dist-tag npm dist-tag add @ []
+ npm dist-tag rm
+ npm dist-tag ls []
+
+ alias: dist-tags
+
+ docs npm docs [ [ ...]]
+
+ alias: home
+
+ doctor npm doctor
+
+ edit npm edit [/...]
+
+ exec Run a command from a local or remote npm package.
+
+ npm exec -- [@] [args...]
+ npm exec --package=[@] -- [args...]
+ npm exec -c ' [args...]'
+ npm exec --package=foo -c ' [args...]'
+
+ npx [@] [args...]
+ npx -p [@] [args...]
+ npx -c ' [args...]'
+ npx -p [@] -c ' [args...]'
+ Run without --call or positional args to open interactive subshell
+
+
+ alias: x
+ common options:
+ --package= (may be specified multiple times)
+ -p is a shorthand for --package only when using npx executable
+ -c --call= (may not be mixed with positional arguments)
+
+ explain npm explain
+
+ alias: why
+
+ explore npm explore [ -- ]
+
+ find-dupes npm find-dupes
+
+ fund npm fund
+
+ common options: npm fund [--json] [--browser] [--unicode] [[<@scope>/] [--which=]
+
+ get npm get [ ...] (See \`npm config\`)
+
+ help npm help []
+
+ alias: hlep
+
+ hook npm hook add [--type=]
+ npm hook ls [pkg]
+ npm hook rm
+ npm hook update
+
+ init
+ npm init [--force|-f|--yes|-y|--scope]
+ npm init <@scope> (same as \`npx <@scope>/create\`)
+ npm init [<@scope>/] (same as \`npx [<@scope>/]create-\`)
+
+ aliases: create, innit
+
+ install npm install (with no args, in package dir)
+ npm install [<@scope>/]
+ npm install [<@scope>/]@
+ npm install [<@scope>/]@
+ npm install [<@scope>/]@
+ npm install @npm:
+ npm install
+ npm install
+ npm install
+ npm install
+ npm install /
+
+ aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, add
+ common options: [--save-prod|--save-dev|--save-optional|--save-peer] [--save-exact] [--no-save]
+
+ install-ci-test npm install-ci-test [args]
+ Same args as \`npm ci\`
+
+ alias: cit
+
+ install-test npm install-test [args]
+ Same args as \`npm install\`
+
+ alias: it
+
+ link npm link (in package dir)
+ npm link [<@scope>/][@]
+
+ alias: ln
+
+ ll npm ls [[<@scope>/] ...]
+
+ alias: list
+
+ login npm adduser [--registry=url] [--scope=@orgname] [--always-auth]
+
+ aliases: login, add-user
+
+ logout npm logout [--registry=] [--scope=<@scope>]
+
+ ls npm ls [[<@scope>/] ...]
+
+ alias: list
+
+ org npm org set orgname username [developer | admin | owner]
+ npm org rm orgname username
+ npm org ls orgname []
+
+ outdated npm outdated [[<@scope>/] ...]
+
+ owner npm owner add [<@scope>/]
+ npm owner rm [<@scope>/]
+ npm owner ls [<@scope>/]
+
+ alias: author
+
+ pack npm pack [[<@scope>/]...] [--dry-run]
+
+ ping npm ping
+ ping registry
+
+ prefix npm prefix [-g]
+
+ profile npm profile disable-2fa
+
+
+ common options: npm profile get []
+
+
+ prune npm prune [[<@scope>/]...] [--production]
+
+ publish npm publish [] [--tag ] [--access ] [--dry-run]
+
+ Publishes '.' if no argument supplied
+ Sets tag \`latest\` if no --tag specified
+
+ rebuild npm rebuild [[<@scope>/][@] ...]
+
+ alias: rb
+
+ repo npm repo [ [ ...]]
+
+ restart npm restart [-- ]
+
+ root npm root [-g]
+
+ run-script npm run-script [-- ]
+
+ aliases: run, rum, urn
+
+ search npm search [-l|--long] [--json] [--parseable] [--no-description] [search terms ...]
+
+ aliases: s, se, find
+
+ set npm set = [= ...] (See \`npm config\`)
+
+ set-script npm set-script [