mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
deps: upgrade npm to 11.21.3
PR-URL: https://github.com/nodejs/node/pull/67628 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
dfe91b6642
commit
2c9136b287
226 files changed
+992
-334
No files matched your search
+5
@@ -310,6 +310,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
@@ -198,6 +198,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`
|
||||
|
||||
@@ -263,6 +263,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
|
||||
|
||||
@@ -340,6 +340,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`
|
||||
|
||||
@@ -682,6 +682,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@11.21.2 /path/to/npm
|
||||
npm@11.21.3 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
```
|
||||
|
||||
@@ -140,6 +140,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`
|
||||
|
||||
@@ -350,6 +350,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
|
||||
|
||||
11.21.2
|
||||
11.21.3
|
||||
|
||||
### Description
|
||||
|
||||
|
||||
+5
@@ -1915,6 +1915,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-peer-deps`
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-access----11212">
|
||||
<h1 id="----npm-access----11213">
|
||||
<span>npm-access</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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-adduser----11212">
|
||||
<h1 id="----npm-adduser----11213">
|
||||
<span>npm-adduser</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Add 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-approve-scripts----11212">
|
||||
<h1 id="----npm-approve-scripts----11213">
|
||||
<span>npm-approve-scripts</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-audit----11213">
|
||||
<span>npm-audit</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-bugs----11213">
|
||||
<span>npm-bugs</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-cache----11213">
|
||||
<span>npm-cache</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-ci----11213">
|
||||
<span>npm-ci</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Clean install a project</span>
|
||||
</header>
|
||||
@@ -430,6 +430,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----11212">
|
||||
<h1 id="----npm-completion----11213">
|
||||
<span>npm-completion</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-config----11213">
|
||||
<span>npm-config</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-dedupe----11213">
|
||||
<span>npm-dedupe</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-deny-scripts----11213">
|
||||
<span>npm-deny-scripts</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-deprecate----11213">
|
||||
<span>npm-deprecate</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-diff----11213">
|
||||
<span>npm-diff</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-dist-tag----11213">
|
||||
<span>npm-dist-tag</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-docs----11213">
|
||||
<span>npm-docs</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-doctor----11213">
|
||||
<span>npm-doctor</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-edit----11213">
|
||||
<span>npm-edit</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-exec----11213">
|
||||
<span>npm-exec</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Run a command from a local or remote npm package</span>
|
||||
</header>
|
||||
@@ -340,6 +340,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----11212">
|
||||
<h1 id="----npm-explain----11213">
|
||||
<span>npm-explain</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-explore----11213">
|
||||
<span>npm-explore</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-find-dupes----11213">
|
||||
<span>npm-find-dupes</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-fund----11213">
|
||||
<span>npm-fund</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-get----11213">
|
||||
<span>npm-get</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-help-search----11213">
|
||||
<span>npm-help-search</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-help----11213">
|
||||
<span>npm-help</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-init----11213">
|
||||
<span>npm-init</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-install-ci-test----11213">
|
||||
<span>npm-install-ci-test</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Install a project with a clean slate and run tests</span>
|
||||
</header>
|
||||
@@ -394,6 +394,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----11212">
|
||||
<h1 id="----npm-install-scripts----11213">
|
||||
<span>npm-install-scripts</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-install-test----11213">
|
||||
<span>npm-install-test</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Install package(s) and run tests</span>
|
||||
</header>
|
||||
@@ -450,6 +450,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----11212">
|
||||
<h1 id="----npm-install----11213">
|
||||
<span>npm-install</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Install a package</span>
|
||||
</header>
|
||||
@@ -725,6 +725,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----11212">
|
||||
<h1 id="----npm-link----11213">
|
||||
<span>npm-link</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-ll----11213">
|
||||
<span>npm-ll</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-login----11213">
|
||||
<span>npm-login</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-logout----11213">
|
||||
<span>npm-logout</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-ls----11213">
|
||||
<span>npm-ls</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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@11.21.2 /path/to/npm
|
||||
<pre><code class="language-bash">npm@11.21.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----11212">
|
||||
<h1 id="----npm-org----11213">
|
||||
<span>npm-org</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-outdated----11213">
|
||||
<span>npm-outdated</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-owner----11213">
|
||||
<span>npm-owner</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-pack----11213">
|
||||
<span>npm-pack</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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-ping----11212">
|
||||
<h1 id="----npm-ping----11213">
|
||||
<span>npm-ping</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-pkg----11213">
|
||||
<span>npm-pkg</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-prefix----11213">
|
||||
<span>npm-prefix</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-profile----11213">
|
||||
<span>npm-profile</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-prune----11213">
|
||||
<span>npm-prune</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-publish----11213">
|
||||
<span>npm-publish</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-query----11213">
|
||||
<span>npm-query</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-rebuild----11213">
|
||||
<span>npm-rebuild</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Rebuild a package</span>
|
||||
</header>
|
||||
@@ -302,6 +302,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----11212">
|
||||
<h1 id="----npm-repo----11213">
|
||||
<span>npm-repo</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-restart----11213">
|
||||
<span>npm-restart</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-root----11213">
|
||||
<span>npm-root</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-run----11213">
|
||||
<span>npm-run</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-sbom----11213">
|
||||
<span>npm-sbom</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-search----11213">
|
||||
<span>npm-search</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-set----11213">
|
||||
<span>npm-set</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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-shrinkwrap----11212">
|
||||
<h1 id="----npm-shrinkwrap----11213">
|
||||
<span>npm-shrinkwrap</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Lock down dependency versions for publication</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-stage----11212">
|
||||
<h1 id="----npm-stage----11213">
|
||||
<span>npm-stage</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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-star----11212">
|
||||
<h1 id="----npm-star----11213">
|
||||
<span>npm-star</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Mark your favorite packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-stars----11212">
|
||||
<h1 id="----npm-stars----11213">
|
||||
<span>npm-stars</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">View packages marked as favorites</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-start----11212">
|
||||
<h1 id="----npm-start----11213">
|
||||
<span>npm-start</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-stop----11213">
|
||||
<span>npm-stop</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-team----11213">
|
||||
<span>npm-team</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-test----11213">
|
||||
<span>npm-test</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-token----11213">
|
||||
<span>npm-token</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-trust----11213">
|
||||
<span>npm-trust</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-undeprecate----11213">
|
||||
<span>npm-undeprecate</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-uninstall----11213">
|
||||
<span>npm-uninstall</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-unpublish----11213">
|
||||
<span>npm-unpublish</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Remove a package from the registry</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-unstar----11212">
|
||||
<h1 id="----npm-unstar----11213">
|
||||
<span>npm-unstar</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Remove an item from your favorite packages</span>
|
||||
</header>
|
||||
|
||||
+6
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-update----11212">
|
||||
<h1 id="----npm-update----11213">
|
||||
<span>npm-update</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">Update packages</span>
|
||||
</header>
|
||||
@@ -446,6 +446,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----11212">
|
||||
<h1 id="----npm-version----11213">
|
||||
<span>npm-version</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-view----11213">
|
||||
<span>npm-view</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm-whoami----11213">
|
||||
<span>npm-whoami</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----npm----11213">
|
||||
<span>npm</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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>11.21.2</p>
|
||||
<p>11.21.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----11212">
|
||||
<h1 id="----npx----11213">
|
||||
<span>npx</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----folders----11213">
|
||||
<span>Folders</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----install----11213">
|
||||
<span>Install</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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="----folders----11212">
|
||||
<h1 id="----folders----11213">
|
||||
<span>Folders</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----packagejson----11213">
|
||||
<span>package.json</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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="----npm-shrinkwrapjson----11212">
|
||||
<h1 id="----npm-shrinkwrapjson----11213">
|
||||
<span>npm-shrinkwrap.json</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">A publishable lockfile</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -186,9 +186,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npmrc----11212">
|
||||
<h1 id="----npmrc----11213">
|
||||
<span>.npmrc</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----packagejson----11213">
|
||||
<span>package.json</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----package-lockjson----11213">
|
||||
<span>package-lock.json</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----config----11213">
|
||||
<span>Config</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">About npm configuration</span>
|
||||
</header>
|
||||
@@ -1582,6 +1582,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-peer-deps"><code>strict-peer-deps</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----11212">
|
||||
<h1 id="----dependency-selectors----11213">
|
||||
<span>Dependency Selectors</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----developers----11213">
|
||||
<span>Developers</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----logging----11213">
|
||||
<span>Logging</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----organizations----11213">
|
||||
<span>Organizations</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----package-spec----11213">
|
||||
<span>Package spec</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.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----11212">
|
||||
<h1 id="----registry----11213">
|
||||
<span>Registry</span>
|
||||
<span class="version">@11.21.2</span>
|
||||
<span class="version">@11.21.3</span>
|
||||
</h1>
|
||||
<span class="description">The JavaScript Package Registry</span>
|
||||
</header>
|
||||
|
||||
Loaded 100 of 226 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user