mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
deps: upgrade npm to 12.2.3
PR-URL: https://github.com/nodejs/node/pull/67584 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
dcaf43a167
commit
552b12bace
225 files changed
+1071
-331
No files matched your search
+5
@@ -324,6 +324,11 @@ Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching `os`, `cpu`, or `libc`) are not flagged, because
|
||||
their install scripts never run.
|
||||
|
||||
Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. `npm rebuild` and `npm install-scripts ls` still check unused
|
||||
packages on disk.
|
||||
|
||||
|
||||
|
||||
#### `dangerously-allow-all-scripts`
|
||||
|
||||
+5
@@ -199,6 +199,11 @@ Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching `os`, `cpu`, or `libc`) are not flagged, because
|
||||
their install scripts never run.
|
||||
|
||||
Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. `npm rebuild` and `npm install-scripts ls` still check unused
|
||||
packages on disk.
|
||||
|
||||
|
||||
|
||||
#### `dangerously-allow-all-scripts`
|
||||
|
||||
@@ -278,6 +278,11 @@ Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching `os`, `cpu`, or `libc`) are not flagged, because
|
||||
their install scripts never run.
|
||||
|
||||
Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. `npm rebuild` and `npm install-scripts ls` still check unused
|
||||
packages on disk.
|
||||
|
||||
|
||||
|
||||
#### `dangerously-allow-all-scripts`
|
||||
|
||||
@@ -28,6 +28,9 @@ Dependency install scripts are blocked by default. Install commands
|
||||
silently skip lifecycle scripts for any dependency that does not have a
|
||||
matching entry in `allowScripts`, and end with a list of the packages
|
||||
whose scripts were skipped so you can review them here.
|
||||
These warnings omit disconnected unused entries that installation cannot
|
||||
build. Local link targets that can still be rebuilt remain subject to the
|
||||
policy.
|
||||
|
||||
This command only works inside a project that has a `package.json`. Running
|
||||
it with `--global` (`-g`) fails with an `EGLOBAL` error, since global
|
||||
@@ -62,6 +65,9 @@ unreviewed install scripts.
|
||||
|
||||
`ls` is read-only: it lists every package whose install scripts are not yet
|
||||
covered by `allowScripts`, without modifying `package.json`.
|
||||
This includes unreviewed extraneous packages, which are installed but not
|
||||
required by any dependency. These packages can still cause
|
||||
`npm rebuild --strict-allow-scripts` to fail.
|
||||
|
||||
`prune` removes `allowScripts` entries that no longer match an installed
|
||||
package with an install script, either because the package is no longer
|
||||
|
||||
@@ -355,6 +355,11 @@ Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching `os`, `cpu`, or `libc`) are not flagged, because
|
||||
their install scripts never run.
|
||||
|
||||
Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. `npm rebuild` and `npm install-scripts ls` still check unused
|
||||
packages on disk.
|
||||
|
||||
|
||||
|
||||
#### `dangerously-allow-all-scripts`
|
||||
|
||||
@@ -696,6 +696,11 @@ Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching `os`, `cpu`, or `libc`) are not flagged, because
|
||||
their install scripts never run.
|
||||
|
||||
Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. `npm rebuild` and `npm install-scripts ls` still check unused
|
||||
packages on disk.
|
||||
|
||||
|
||||
|
||||
#### `dangerously-allow-all-scripts`
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ 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:
|
||||
|
||||
```bash
|
||||
npm@12.2.2 /path/to/npm
|
||||
npm@12.2.3 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
```
|
||||
|
||||
@@ -144,6 +144,11 @@ Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching `os`, `cpu`, or `libc`) are not flagged, because
|
||||
their install scripts never run.
|
||||
|
||||
Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. `npm rebuild` and `npm install-scripts ls` still check unused
|
||||
packages on disk.
|
||||
|
||||
|
||||
|
||||
#### `dangerously-allow-all-scripts`
|
||||
|
||||
@@ -353,6 +353,11 @@ Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching `os`, `cpu`, or `libc`) are not flagged, because
|
||||
their install scripts never run.
|
||||
|
||||
Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. `npm rebuild` and `npm install-scripts ls` still check unused
|
||||
packages on disk.
|
||||
|
||||
|
||||
|
||||
#### `dangerously-allow-all-scripts`
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.
|
||||
|
||||
### Version
|
||||
|
||||
12.2.2
|
||||
12.2.3
|
||||
|
||||
### Description
|
||||
|
||||
|
||||
+5
@@ -2040,6 +2040,11 @@ Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching `os`, `cpu`, or `libc`) are not flagged, because
|
||||
their install scripts never run.
|
||||
|
||||
Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. `npm rebuild` and `npm install-scripts ls` still check unused
|
||||
packages on disk.
|
||||
|
||||
|
||||
|
||||
#### `strict-npmrc`
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-access----1222">
|
||||
<h1 id="----npm-access----1223">
|
||||
<span>npm-access</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Set access level on published packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-approve-scripts----1222">
|
||||
<h1 id="----npm-approve-scripts----1223">
|
||||
<span>npm-approve-scripts</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Approve install scripts for specific dependencies</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-audit----1222">
|
||||
<h1 id="----npm-audit----1223">
|
||||
<span>npm-audit</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Run a security audit</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-bugs----1222">
|
||||
<h1 id="----npm-bugs----1223">
|
||||
<span>npm-bugs</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Report bugs for a package in a web browser</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-cache----1222">
|
||||
<h1 id="----npm-cache----1223">
|
||||
<span>npm-cache</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Manipulates packages cache</span>
|
||||
</header>
|
||||
|
||||
+6
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-ci----1222">
|
||||
<h1 id="----npm-ci----1223">
|
||||
<span>npm-ci</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Clean install a project</span>
|
||||
</header>
|
||||
@@ -441,6 +441,10 @@ setting.</p>
|
||||
<p>Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching <code>os</code>, <code>cpu</code>, or <code>libc</code>) are not flagged, because
|
||||
their install scripts never run.</p>
|
||||
<p>Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. <code>npm rebuild</code> and <code>npm install-scripts ls</code> still check unused
|
||||
packages on disk.</p>
|
||||
<h4 id="dangerously-allow-all-scripts"><code>dangerously-allow-all-scripts</code></h4>
|
||||
<ul>
|
||||
<li>Default: false</li>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-completion----1222">
|
||||
<h1 id="----npm-completion----1223">
|
||||
<span>npm-completion</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Tab Completion for npm</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-config----1222">
|
||||
<h1 id="----npm-config----1223">
|
||||
<span>npm-config</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Manage the npm configuration files</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-dedupe----1222">
|
||||
<h1 id="----npm-dedupe----1223">
|
||||
<span>npm-dedupe</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Reduce duplication in the package tree</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-deny-scripts----1222">
|
||||
<h1 id="----npm-deny-scripts----1223">
|
||||
<span>npm-deny-scripts</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Deny install scripts for specific dependencies</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-deprecate----1222">
|
||||
<h1 id="----npm-deprecate----1223">
|
||||
<span>npm-deprecate</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Deprecate a version of a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-diff----1222">
|
||||
<h1 id="----npm-diff----1223">
|
||||
<span>npm-diff</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">The registry diff command</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-dist-tag----1222">
|
||||
<h1 id="----npm-dist-tag----1223">
|
||||
<span>npm-dist-tag</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Modify package distribution tags</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-docs----1222">
|
||||
<h1 id="----npm-docs----1223">
|
||||
<span>npm-docs</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Open documentation for a package in a web browser</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-doctor----1222">
|
||||
<h1 id="----npm-doctor----1223">
|
||||
<span>npm-doctor</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Check the health of your npm environment</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-edit----1222">
|
||||
<h1 id="----npm-edit----1223">
|
||||
<span>npm-edit</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Edit an installed package</span>
|
||||
</header>
|
||||
|
||||
+6
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-exec----1222">
|
||||
<h1 id="----npm-exec----1223">
|
||||
<span>npm-exec</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Run a command from a local or remote npm package</span>
|
||||
</header>
|
||||
@@ -341,6 +341,10 @@ setting.</p>
|
||||
<p>Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching <code>os</code>, <code>cpu</code>, or <code>libc</code>) are not flagged, because
|
||||
their install scripts never run.</p>
|
||||
<p>Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. <code>npm rebuild</code> and <code>npm install-scripts ls</code> still check unused
|
||||
packages on disk.</p>
|
||||
<h4 id="dangerously-allow-all-scripts"><code>dangerously-allow-all-scripts</code></h4>
|
||||
<ul>
|
||||
<li>Default: false</li>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-explain----1222">
|
||||
<h1 id="----npm-explain----1223">
|
||||
<span>npm-explain</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Explain installed packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-explore----1222">
|
||||
<h1 id="----npm-explore----1223">
|
||||
<span>npm-explore</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Browse an installed package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-find-dupes----1222">
|
||||
<h1 id="----npm-find-dupes----1223">
|
||||
<span>npm-find-dupes</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Find duplication in the package tree</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-fund----1222">
|
||||
<h1 id="----npm-fund----1223">
|
||||
<span>npm-fund</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Retrieve funding information</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-get----1222">
|
||||
<h1 id="----npm-get----1223">
|
||||
<span>npm-get</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Get a value from the npm configuration</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-help-search----1222">
|
||||
<h1 id="----npm-help-search----1223">
|
||||
<span>npm-help-search</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Search npm help documentation</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-help----1222">
|
||||
<h1 id="----npm-help----1223">
|
||||
<span>npm-help</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Get help on npm</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-init----1222">
|
||||
<h1 id="----npm-init----1223">
|
||||
<span>npm-init</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Create a package.json file</span>
|
||||
</header>
|
||||
|
||||
+6
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-install-ci-test----1222">
|
||||
<h1 id="----npm-install-ci-test----1223">
|
||||
<span>npm-install-ci-test</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Install a project with a clean slate and run tests</span>
|
||||
</header>
|
||||
@@ -406,6 +406,10 @@ setting.</p>
|
||||
<p>Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching <code>os</code>, <code>cpu</code>, or <code>libc</code>) are not flagged, because
|
||||
their install scripts never run.</p>
|
||||
<p>Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. <code>npm rebuild</code> and <code>npm install-scripts ls</code> still check unused
|
||||
packages on disk.</p>
|
||||
<h4 id="dangerously-allow-all-scripts"><code>dangerously-allow-all-scripts</code></h4>
|
||||
<ul>
|
||||
<li>Default: false</li>
|
||||
|
||||
+10
-4
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-install-scripts----1222">
|
||||
<h1 id="----npm-install-scripts----1223">
|
||||
<span>npm-install-scripts</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Manage install-script approvals for dependencies</span>
|
||||
</header>
|
||||
@@ -215,7 +215,10 @@ sources). This is the recommended way to maintain that field.</p>
|
||||
<p>Dependency install scripts are blocked by default. Install commands
|
||||
silently skip lifecycle scripts for any dependency that does not have a
|
||||
matching entry in <code>allowScripts</code>, and end with a list of the packages
|
||||
whose scripts were skipped so you can review them here.</p>
|
||||
whose scripts were skipped so you can review them here.
|
||||
These warnings omit disconnected unused entries that installation cannot
|
||||
build. Local link targets that can still be rebuilt remain subject to the
|
||||
policy.</p>
|
||||
<p>This command only works inside a project that has a <code>package.json</code>. Running
|
||||
it with <code>--global</code> (<code>-g</code>) fails with an <code>EGLOBAL</code> error, since global
|
||||
installs (<code>npm install -g</code>) and one-off executions (<code>npm exec</code> / <code>npx</code>) have
|
||||
@@ -242,7 +245,10 @@ entry), which survives <code>npm install-scripts approve --all</code> and exclud
|
||||
package from any future blanket approval. <code>--all</code> denies every package with
|
||||
unreviewed install scripts.</p>
|
||||
<p><code>ls</code> is read-only: it lists every package whose install scripts are not yet
|
||||
covered by <code>allowScripts</code>, without modifying <code>package.json</code>.</p>
|
||||
covered by <code>allowScripts</code>, without modifying <code>package.json</code>.
|
||||
This includes unreviewed extraneous packages, which are installed but not
|
||||
required by any dependency. These packages can still cause
|
||||
<code>npm rebuild --strict-allow-scripts</code> to fail.</p>
|
||||
<p><code>prune</code> removes <code>allowScripts</code> entries that no longer match an installed
|
||||
package with an install script, either because the package is no longer
|
||||
installed (a transitive dependency changed, or a pinned <code>pkg@1.2.3</code> was
|
||||
|
||||
+6
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-install-test----1222">
|
||||
<h1 id="----npm-install-test----1223">
|
||||
<span>npm-install-test</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Install package(s) and run tests</span>
|
||||
</header>
|
||||
@@ -462,6 +462,10 @@ setting.</p>
|
||||
<p>Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching <code>os</code>, <code>cpu</code>, or <code>libc</code>) are not flagged, because
|
||||
their install scripts never run.</p>
|
||||
<p>Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. <code>npm rebuild</code> and <code>npm install-scripts ls</code> still check unused
|
||||
packages on disk.</p>
|
||||
<h4 id="dangerously-allow-all-scripts"><code>dangerously-allow-all-scripts</code></h4>
|
||||
<ul>
|
||||
<li>Default: false</li>
|
||||
|
||||
+6
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-install----1222">
|
||||
<h1 id="----npm-install----1223">
|
||||
<span>npm-install</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Install a package</span>
|
||||
</header>
|
||||
@@ -736,6 +736,10 @@ setting.</p>
|
||||
<p>Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching <code>os</code>, <code>cpu</code>, or <code>libc</code>) are not flagged, because
|
||||
their install scripts never run.</p>
|
||||
<p>Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. <code>npm rebuild</code> and <code>npm install-scripts ls</code> still check unused
|
||||
packages on disk.</p>
|
||||
<h4 id="dangerously-allow-all-scripts"><code>dangerously-allow-all-scripts</code></h4>
|
||||
<ul>
|
||||
<li>Default: false</li>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-link----1222">
|
||||
<h1 id="----npm-link----1223">
|
||||
<span>npm-link</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Symlink a package folder</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-ll----1222">
|
||||
<h1 id="----npm-ll----1223">
|
||||
<span>npm-ll</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">List installed packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-login----1222">
|
||||
<h1 id="----npm-login----1223">
|
||||
<span>npm-login</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Login to a registry user account</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-logout----1222">
|
||||
<h1 id="----npm-logout----1223">
|
||||
<span>npm-logout</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Log out of the registry</span>
|
||||
</header>
|
||||
|
||||
+3
-3
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-ls----1222">
|
||||
<h1 id="----npm-ls----1223">
|
||||
<span>npm-ls</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">List installed packages</span>
|
||||
</header>
|
||||
@@ -209,7 +209,7 @@ alias: list
|
||||
<p>Positional arguments are <code>name@version-range</code> identifiers, which will limit 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><code class="language-bash">npm@12.2.2 /path/to/npm
|
||||
<pre><code class="language-bash">npm@12.2.3 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
</code></pre>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-org----1222">
|
||||
<h1 id="----npm-org----1223">
|
||||
<span>npm-org</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Manage orgs</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-outdated----1222">
|
||||
<h1 id="----npm-outdated----1223">
|
||||
<span>npm-outdated</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Check for outdated packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-owner----1222">
|
||||
<h1 id="----npm-owner----1223">
|
||||
<span>npm-owner</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Manage package owners</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-pack----1222">
|
||||
<h1 id="----npm-pack----1223">
|
||||
<span>npm-pack</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Create a tarball from a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-patch----1222">
|
||||
<h1 id="----npm-patch----1223">
|
||||
<span>npm-patch</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Apply local patches to installed dependencies</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-ping----1222">
|
||||
<h1 id="----npm-ping----1223">
|
||||
<span>npm-ping</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Ping npm registry</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-pkg----1222">
|
||||
<h1 id="----npm-pkg----1223">
|
||||
<span>npm-pkg</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Manages your package.json</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-prefix----1222">
|
||||
<h1 id="----npm-prefix----1223">
|
||||
<span>npm-prefix</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Display prefix</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-profile----1222">
|
||||
<h1 id="----npm-profile----1223">
|
||||
<span>npm-profile</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Change settings on your registry profile</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-prune----1222">
|
||||
<h1 id="----npm-prune----1223">
|
||||
<span>npm-prune</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Remove extraneous packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-publish----1222">
|
||||
<h1 id="----npm-publish----1223">
|
||||
<span>npm-publish</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Publish a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-query----1222">
|
||||
<h1 id="----npm-query----1223">
|
||||
<span>npm-query</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Dependency selector query</span>
|
||||
</header>
|
||||
|
||||
+6
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-rebuild----1222">
|
||||
<h1 id="----npm-rebuild----1223">
|
||||
<span>npm-rebuild</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Rebuild a package</span>
|
||||
</header>
|
||||
@@ -305,6 +305,10 @@ setting.</p>
|
||||
<p>Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching <code>os</code>, <code>cpu</code>, or <code>libc</code>) are not flagged, because
|
||||
their install scripts never run.</p>
|
||||
<p>Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. <code>npm rebuild</code> and <code>npm install-scripts ls</code> still check unused
|
||||
packages on disk.</p>
|
||||
<h4 id="dangerously-allow-all-scripts"><code>dangerously-allow-all-scripts</code></h4>
|
||||
<ul>
|
||||
<li>Default: false</li>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-repo----1222">
|
||||
<h1 id="----npm-repo----1223">
|
||||
<span>npm-repo</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Open package repository page in the browser</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-restart----1222">
|
||||
<h1 id="----npm-restart----1223">
|
||||
<span>npm-restart</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Restart a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-root----1222">
|
||||
<h1 id="----npm-root----1223">
|
||||
<span>npm-root</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Display npm root</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-run----1222">
|
||||
<h1 id="----npm-run----1223">
|
||||
<span>npm-run</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Run arbitrary package scripts</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-sbom----1222">
|
||||
<h1 id="----npm-sbom----1223">
|
||||
<span>npm-sbom</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Generate a Software Bill of Materials (SBOM)</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-search----1222">
|
||||
<h1 id="----npm-search----1223">
|
||||
<span>npm-search</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Search for packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-set----1222">
|
||||
<h1 id="----npm-set----1223">
|
||||
<span>npm-set</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Set a value in the npm configuration</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-stage----1222">
|
||||
<h1 id="----npm-stage----1223">
|
||||
<span>npm-stage</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Stage packages for publishing</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-start----1222">
|
||||
<h1 id="----npm-start----1223">
|
||||
<span>npm-start</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Start a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-stop----1222">
|
||||
<h1 id="----npm-stop----1223">
|
||||
<span>npm-stop</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Stop a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-team----1222">
|
||||
<h1 id="----npm-team----1223">
|
||||
<span>npm-team</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Manage organization teams and team memberships</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-test----1222">
|
||||
<h1 id="----npm-test----1223">
|
||||
<span>npm-test</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Test a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-token----1222">
|
||||
<h1 id="----npm-token----1223">
|
||||
<span>npm-token</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Manage your authentication tokens</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-trust----1222">
|
||||
<h1 id="----npm-trust----1223">
|
||||
<span>npm-trust</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Manage trusted publishing relationships between packages and CI/CD providers</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-undeprecate----1222">
|
||||
<h1 id="----npm-undeprecate----1223">
|
||||
<span>npm-undeprecate</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Undeprecate a version of a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-uninstall----1222">
|
||||
<h1 id="----npm-uninstall----1223">
|
||||
<span>npm-uninstall</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Remove a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-unpublish----1222">
|
||||
<h1 id="----npm-unpublish----1223">
|
||||
<span>npm-unpublish</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Remove a package from the registry</span>
|
||||
</header>
|
||||
|
||||
+6
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-update----1222">
|
||||
<h1 id="----npm-update----1223">
|
||||
<span>npm-update</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Update packages</span>
|
||||
</header>
|
||||
@@ -448,6 +448,10 @@ setting.</p>
|
||||
<p>Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching <code>os</code>, <code>cpu</code>, or <code>libc</code>) are not flagged, because
|
||||
their install scripts never run.</p>
|
||||
<p>Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. <code>npm rebuild</code> and <code>npm install-scripts ls</code> still check unused
|
||||
packages on disk.</p>
|
||||
<h4 id="dangerously-allow-all-scripts"><code>dangerously-allow-all-scripts</code></h4>
|
||||
<ul>
|
||||
<li>Default: false</li>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-version----1222">
|
||||
<h1 id="----npm-version----1223">
|
||||
<span>npm-version</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Bump a package version</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-view----1222">
|
||||
<h1 id="----npm-view----1223">
|
||||
<span>npm-view</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">View registry info</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-whoami----1222">
|
||||
<h1 id="----npm-whoami----1223">
|
||||
<span>npm-whoami</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Display npm username</span>
|
||||
</header>
|
||||
|
||||
+3
-3
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm----1222">
|
||||
<h1 id="----npm----1223">
|
||||
<span>npm</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">javascript package manager</span>
|
||||
</header>
|
||||
@@ -203,7 +203,7 @@ npm command-line interface
|
||||
</code></pre>
|
||||
<p>Note: This command is unaware of workspaces.</p>
|
||||
<h3 id="version">Version</h3>
|
||||
<p>12.2.2</p>
|
||||
<p>12.2.3</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 conflicts intelligently.</p>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npx----1222">
|
||||
<h1 id="----npx----1223">
|
||||
<span>npx</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Run a command from a local or remote npm package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----folders----1222">
|
||||
<h1 id="----folders----1223">
|
||||
<span>Folders</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Folder structures used by npm</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----install----1222">
|
||||
<h1 id="----install----1223">
|
||||
<span>Install</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Download and install node and npm</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-extension----1222">
|
||||
<h1 id="----npm-extension----1223">
|
||||
<span>.npm-extension</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Imperative, root-owned manifest repairs</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----folders----1222">
|
||||
<h1 id="----folders----1223">
|
||||
<span>Folders</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Folder structures used by npm</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----packagejson----1222">
|
||||
<h1 id="----packagejson----1223">
|
||||
<span>package.json</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Specifics of npm's package.json handling</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npmrc----1222">
|
||||
<h1 id="----npmrc----1223">
|
||||
<span>.npmrc</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">The npm config files</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----packagejson----1222">
|
||||
<h1 id="----packagejson----1223">
|
||||
<span>package.json</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Specifics of npm's package.json handling</span>
|
||||
</header>
|
||||
|
||||
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----package-lockjson----1222">
|
||||
<h1 id="----package-lockjson----1223">
|
||||
<span>package-lock.json</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">A manifestation of the manifest</span>
|
||||
</header>
|
||||
|
||||
+6
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----config----1222">
|
||||
<h1 id="----config----1223">
|
||||
<span>Config</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">About npm configuration</span>
|
||||
</header>
|
||||
@@ -1674,6 +1674,10 @@ setting.</p>
|
||||
<p>Optional dependencies that cannot be installed on the current platform or
|
||||
engine (a non-matching <code>os</code>, <code>cpu</code>, or <code>libc</code>) are not flagged, because
|
||||
their install scripts never run.</p>
|
||||
<p>Installation checks skip unused entries with no package parent or incoming
|
||||
links. Local link targets that installation can still rebuild remain subject
|
||||
to this check. <code>npm rebuild</code> and <code>npm install-scripts ls</code> still check unused
|
||||
packages on disk.</p>
|
||||
<h4 id="strict-npmrc"><code>strict-npmrc</code></h4>
|
||||
<ul>
|
||||
<li>Default: false</li>
|
||||
|
||||
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----dependency-selectors----1222">
|
||||
<h1 id="----dependency-selectors----1223">
|
||||
<span>Dependency Selectors</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Dependency Selector Syntax & Querying</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----developers----1222">
|
||||
<h1 id="----developers----1223">
|
||||
<span>Developers</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Developer guide</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----logging----1222">
|
||||
<h1 id="----logging----1223">
|
||||
<span>Logging</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Why, What & How we Log</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----organizations----1222">
|
||||
<h1 id="----organizations----1223">
|
||||
<span>Organizations</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Working with teams & organizations</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----package-spec----1222">
|
||||
<h1 id="----package-spec----1223">
|
||||
<span>Package spec</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Package name specifier</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----registry----1222">
|
||||
<h1 id="----registry----1223">
|
||||
<span>Registry</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">The JavaScript Package Registry</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----removal----1222">
|
||||
<h1 id="----removal----1223">
|
||||
<span>Removal</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Cleaning the slate</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----scope----1222">
|
||||
<h1 id="----scope----1223">
|
||||
<span>Scope</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Scoped packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----scripts----1222">
|
||||
<h1 id="----scripts----1223">
|
||||
<span>Scripts</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">How npm handles the "scripts" field</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----workspaces----1222">
|
||||
<h1 id="----workspaces----1223">
|
||||
<span>Workspaces</span>
|
||||
<span class="version">@12.2.2</span>
|
||||
<span class="version">@12.2.3</span>
|
||||
</h1>
|
||||
<span class="description">Working with workspaces</span>
|
||||
</header>
|
||||
|
||||
Loaded 100 of 225 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user