From a7999c602cf7d70095dab3e5201d8c2f4b6a1867 Mon Sep 17 00:00:00 2001 From: npm CLI robot Date: Sat, 26 Jul 2025 00:44:34 -0700 Subject: [PATCH] deps: upgrade npm to 11.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/59199 Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca --- deps/npm/docs/content/commands/npm-bugs.md | 2 +- deps/npm/docs/content/commands/npm-docs.md | 2 +- deps/npm/docs/content/commands/npm-fund.md | 2 +- .../docs/content/commands/npm-install-test.md | 17 + deps/npm/docs/content/commands/npm-install.md | 17 + deps/npm/docs/content/commands/npm-ls.md | 2 +- .../npm/docs/content/commands/npm-outdated.md | 17 + deps/npm/docs/content/commands/npm-repo.md | 2 +- deps/npm/docs/content/commands/npm-update.md | 17 + deps/npm/docs/content/commands/npm.md | 2 +- .../docs/content/configuring-npm/install.md | 11 +- deps/npm/docs/content/using-npm/config.md | 11 +- deps/npm/docs/content/using-npm/scripts.md | 2 +- deps/npm/docs/output/commands/npm-access.html | 4 +- .../npm/docs/output/commands/npm-adduser.html | 4 +- deps/npm/docs/output/commands/npm-audit.html | 4 +- deps/npm/docs/output/commands/npm-bugs.html | 6 +- deps/npm/docs/output/commands/npm-cache.html | 4 +- deps/npm/docs/output/commands/npm-ci.html | 4 +- .../docs/output/commands/npm-completion.html | 4 +- deps/npm/docs/output/commands/npm-config.html | 4 +- deps/npm/docs/output/commands/npm-dedupe.html | 4 +- .../docs/output/commands/npm-deprecate.html | 4 +- deps/npm/docs/output/commands/npm-diff.html | 4 +- .../docs/output/commands/npm-dist-tag.html | 4 +- deps/npm/docs/output/commands/npm-docs.html | 6 +- deps/npm/docs/output/commands/npm-doctor.html | 4 +- deps/npm/docs/output/commands/npm-edit.html | 4 +- deps/npm/docs/output/commands/npm-exec.html | 4 +- .../npm/docs/output/commands/npm-explain.html | 4 +- .../npm/docs/output/commands/npm-explore.html | 4 +- .../docs/output/commands/npm-find-dupes.html | 4 +- deps/npm/docs/output/commands/npm-fund.html | 6 +- .../docs/output/commands/npm-help-search.html | 4 +- deps/npm/docs/output/commands/npm-help.html | 4 +- deps/npm/docs/output/commands/npm-init.html | 4 +- .../output/commands/npm-install-ci-test.html | 4 +- .../output/commands/npm-install-test.html | 19 +- .../npm/docs/output/commands/npm-install.html | 19 +- deps/npm/docs/output/commands/npm-link.html | 4 +- deps/npm/docs/output/commands/npm-login.html | 4 +- deps/npm/docs/output/commands/npm-logout.html | 4 +- deps/npm/docs/output/commands/npm-ls.html | 6 +- deps/npm/docs/output/commands/npm-org.html | 4 +- .../docs/output/commands/npm-outdated.html | 19 +- deps/npm/docs/output/commands/npm-owner.html | 4 +- deps/npm/docs/output/commands/npm-pack.html | 4 +- deps/npm/docs/output/commands/npm-ping.html | 4 +- deps/npm/docs/output/commands/npm-pkg.html | 4 +- deps/npm/docs/output/commands/npm-prefix.html | 4 +- .../npm/docs/output/commands/npm-profile.html | 4 +- deps/npm/docs/output/commands/npm-prune.html | 4 +- .../npm/docs/output/commands/npm-publish.html | 4 +- deps/npm/docs/output/commands/npm-query.html | 4 +- .../npm/docs/output/commands/npm-rebuild.html | 4 +- deps/npm/docs/output/commands/npm-repo.html | 6 +- .../npm/docs/output/commands/npm-restart.html | 4 +- deps/npm/docs/output/commands/npm-root.html | 4 +- deps/npm/docs/output/commands/npm-run.html | 4 +- deps/npm/docs/output/commands/npm-sbom.html | 4 +- deps/npm/docs/output/commands/npm-search.html | 4 +- .../docs/output/commands/npm-shrinkwrap.html | 4 +- deps/npm/docs/output/commands/npm-star.html | 4 +- deps/npm/docs/output/commands/npm-stars.html | 4 +- deps/npm/docs/output/commands/npm-start.html | 4 +- deps/npm/docs/output/commands/npm-stop.html | 4 +- deps/npm/docs/output/commands/npm-team.html | 4 +- deps/npm/docs/output/commands/npm-test.html | 4 +- deps/npm/docs/output/commands/npm-token.html | 4 +- .../docs/output/commands/npm-undeprecate.html | 4 +- .../docs/output/commands/npm-uninstall.html | 4 +- .../docs/output/commands/npm-unpublish.html | 4 +- deps/npm/docs/output/commands/npm-unstar.html | 4 +- deps/npm/docs/output/commands/npm-update.html | 19 +- .../npm/docs/output/commands/npm-version.html | 4 +- deps/npm/docs/output/commands/npm-view.html | 4 +- deps/npm/docs/output/commands/npm-whoami.html | 4 +- deps/npm/docs/output/commands/npm.html | 6 +- deps/npm/docs/output/commands/npx.html | 4 +- .../docs/output/configuring-npm/folders.html | 4 +- .../docs/output/configuring-npm/install.html | 15 +- .../output/configuring-npm/npm-global.html | 4 +- .../docs/output/configuring-npm/npm-json.html | 4 +- .../configuring-npm/npm-shrinkwrap-json.html | 4 +- .../docs/output/configuring-npm/npmrc.html | 4 +- .../output/configuring-npm/package-json.html | 4 +- .../configuring-npm/package-lock-json.html | 4 +- deps/npm/docs/output/using-npm/config.html | 15 +- .../using-npm/dependency-selectors.html | 4 +- .../npm/docs/output/using-npm/developers.html | 4 +- deps/npm/docs/output/using-npm/logging.html | 4 +- deps/npm/docs/output/using-npm/orgs.html | 4 +- .../docs/output/using-npm/package-spec.html | 4 +- deps/npm/docs/output/using-npm/registry.html | 4 +- deps/npm/docs/output/using-npm/removal.html | 4 +- deps/npm/docs/output/using-npm/scope.html | 4 +- deps/npm/docs/output/using-npm/scripts.html | 6 +- .../npm/docs/output/using-npm/workspaces.html | 4 +- deps/npm/lib/cli/exit-handler.js | 21 + deps/npm/lib/commands/install.js | 1 + deps/npm/lib/commands/outdated.js | 1 + deps/npm/lib/commands/publish.js | 4 + deps/npm/lib/commands/update.js | 1 + deps/npm/lib/commands/view.js | 4 +- deps/npm/lib/utils/error-message.js | 6 +- deps/npm/lib/utils/oidc.js | 181 +++++++ deps/npm/man/man1/npm-access.1 | 2 +- deps/npm/man/man1/npm-adduser.1 | 2 +- deps/npm/man/man1/npm-audit.1 | 2 +- deps/npm/man/man1/npm-bugs.1 | 4 +- deps/npm/man/man1/npm-cache.1 | 2 +- deps/npm/man/man1/npm-ci.1 | 2 +- deps/npm/man/man1/npm-completion.1 | 2 +- deps/npm/man/man1/npm-config.1 | 2 +- deps/npm/man/man1/npm-dedupe.1 | 2 +- deps/npm/man/man1/npm-deprecate.1 | 2 +- deps/npm/man/man1/npm-diff.1 | 2 +- deps/npm/man/man1/npm-dist-tag.1 | 2 +- deps/npm/man/man1/npm-docs.1 | 4 +- deps/npm/man/man1/npm-doctor.1 | 2 +- deps/npm/man/man1/npm-edit.1 | 2 +- deps/npm/man/man1/npm-exec.1 | 2 +- deps/npm/man/man1/npm-explain.1 | 2 +- deps/npm/man/man1/npm-explore.1 | 2 +- deps/npm/man/man1/npm-find-dupes.1 | 2 +- deps/npm/man/man1/npm-fund.1 | 4 +- deps/npm/man/man1/npm-help-search.1 | 2 +- deps/npm/man/man1/npm-help.1 | 2 +- deps/npm/man/man1/npm-init.1 | 2 +- deps/npm/man/man1/npm-install-ci-test.1 | 2 +- deps/npm/man/man1/npm-install-test.1 | 14 +- deps/npm/man/man1/npm-install.1 | 14 +- deps/npm/man/man1/npm-link.1 | 2 +- deps/npm/man/man1/npm-login.1 | 2 +- deps/npm/man/man1/npm-logout.1 | 2 +- deps/npm/man/man1/npm-ls.1 | 4 +- deps/npm/man/man1/npm-org.1 | 2 +- deps/npm/man/man1/npm-outdated.1 | 14 +- deps/npm/man/man1/npm-owner.1 | 2 +- deps/npm/man/man1/npm-pack.1 | 2 +- deps/npm/man/man1/npm-ping.1 | 2 +- deps/npm/man/man1/npm-pkg.1 | 2 +- deps/npm/man/man1/npm-prefix.1 | 2 +- deps/npm/man/man1/npm-profile.1 | 2 +- deps/npm/man/man1/npm-prune.1 | 2 +- deps/npm/man/man1/npm-publish.1 | 2 +- deps/npm/man/man1/npm-query.1 | 2 +- deps/npm/man/man1/npm-rebuild.1 | 2 +- deps/npm/man/man1/npm-repo.1 | 4 +- deps/npm/man/man1/npm-restart.1 | 2 +- deps/npm/man/man1/npm-root.1 | 2 +- deps/npm/man/man1/npm-run.1 | 2 +- deps/npm/man/man1/npm-sbom.1 | 2 +- deps/npm/man/man1/npm-search.1 | 2 +- deps/npm/man/man1/npm-shrinkwrap.1 | 2 +- deps/npm/man/man1/npm-star.1 | 2 +- deps/npm/man/man1/npm-stars.1 | 2 +- deps/npm/man/man1/npm-start.1 | 2 +- deps/npm/man/man1/npm-stop.1 | 2 +- deps/npm/man/man1/npm-team.1 | 2 +- deps/npm/man/man1/npm-test.1 | 2 +- deps/npm/man/man1/npm-token.1 | 2 +- deps/npm/man/man1/npm-undeprecate.1 | 2 +- deps/npm/man/man1/npm-uninstall.1 | 2 +- deps/npm/man/man1/npm-unpublish.1 | 2 +- deps/npm/man/man1/npm-unstar.1 | 2 +- deps/npm/man/man1/npm-update.1 | 14 +- deps/npm/man/man1/npm-version.1 | 2 +- deps/npm/man/man1/npm-view.1 | 2 +- deps/npm/man/man1/npm-whoami.1 | 2 +- deps/npm/man/man1/npm.1 | 4 +- deps/npm/man/man1/npx.1 | 2 +- deps/npm/man/man5/folders.5 | 2 +- deps/npm/man/man5/install.5 | 9 +- deps/npm/man/man5/npm-global.5 | 2 +- deps/npm/man/man5/npm-json.5 | 2 +- deps/npm/man/man5/npm-shrinkwrap-json.5 | 2 +- deps/npm/man/man5/npmrc.5 | 2 +- deps/npm/man/man5/package-json.5 | 2 +- deps/npm/man/man5/package-lock-json.5 | 2 +- deps/npm/man/man7/config.7 | 8 +- deps/npm/man/man7/dependency-selectors.7 | 2 +- deps/npm/man/man7/developers.7 | 2 +- deps/npm/man/man7/logging.7 | 2 +- deps/npm/man/man7/orgs.7 | 2 +- deps/npm/man/man7/package-spec.7 | 2 +- deps/npm/man/man7/registry.7 | 2 +- deps/npm/man/man7/removal.7 | 2 +- deps/npm/man/man7/scope.7 | 2 +- deps/npm/man/man7/scripts.7 | 4 +- deps/npm/man/man7/workspaces.7 | 2 +- .../arborist/lib/arborist/build-ideal-tree.js | 36 +- .../@npmcli/arborist/lib/arborist/reify.js | 19 +- .../@npmcli/arborist/lib/audit-report.js | 127 ++--- .../node_modules/@npmcli/arborist/lib/node.js | 9 + .../@npmcli/arborist/package.json | 6 +- .../config/lib/definitions/definitions.js | 20 +- .../node_modules/@npmcli/config/package.json | 6 +- .../metavuln-calculator/lib/advisory.js | 2 +- .../@npmcli/metavuln-calculator/package.json | 6 +- .../npm/node_modules/agent-base/dist/index.js | 4 +- deps/npm/node_modules/agent-base/package.json | 2 +- deps/npm/node_modules/aproba/index.js | 2 +- deps/npm/node_modules/aproba/package.json | 2 +- deps/npm/node_modules/ci-info/index.js | 2 +- deps/npm/node_modules/ci-info/package.json | 5 +- deps/npm/node_modules/ci-info/vendors.json | 5 + .../node_modules/libnpmaccess/package.json | 4 +- deps/npm/node_modules/libnpmdiff/package.json | 8 +- deps/npm/node_modules/libnpmexec/package.json | 8 +- deps/npm/node_modules/libnpmfund/package.json | 8 +- deps/npm/node_modules/libnpmorg/package.json | 4 +- deps/npm/node_modules/libnpmpack/package.json | 8 +- .../node_modules/libnpmpublish/lib/publish.js | 2 +- .../node_modules/libnpmpublish/package.json | 6 +- .../node_modules/libnpmsearch/package.json | 4 +- deps/npm/node_modules/libnpmteam/package.json | 4 +- .../node_modules/libnpmversion/package.json | 4 +- .../normalize-package-data/lib/fixer.js | 15 +- .../normalize-package-data/package.json | 6 +- .../socks/build/common/helpers.js | 1 + deps/npm/node_modules/socks/package.json | 2 +- .../node_modules/picomatch/lib/constants.js | 1 + .../node_modules/picomatch/package.json | 2 +- deps/npm/node_modules/tuf-js/dist/error.js | 1 + deps/npm/node_modules/tuf-js/dist/fetcher.js | 8 +- deps/npm/node_modules/tuf-js/dist/store.js | 13 +- deps/npm/node_modules/tuf-js/dist/updater.js | 32 +- deps/npm/node_modules/tuf-js/package.json | 10 +- .../validate-npm-package-name/lib/index.js | 8 +- .../validate-npm-package-name/package.json | 6 +- deps/npm/package.json | 30 +- .../tap-snapshots/test/lib/docs.js.test.cjs | 29 +- .../test/lib/utils/error-message.js.test.cjs | 10 +- deps/npm/test/fixtures/mock-oidc.js | 154 ++++++ deps/npm/test/lib/cli/exit-handler.js | 135 ++++- deps/npm/test/lib/commands/publish.js | 489 ++++++++++++++++++ deps/npm/test/lib/commands/view.js | 34 ++ 238 files changed, 1761 insertions(+), 542 deletions(-) create mode 100644 deps/npm/lib/utils/oidc.js create mode 100644 deps/npm/test/fixtures/mock-oidc.js diff --git a/deps/npm/docs/content/commands/npm-bugs.md b/deps/npm/docs/content/commands/npm-bugs.md index 4fb660a3ecb..eef11c98b4c 100644 --- a/deps/npm/docs/content/commands/npm-bugs.md +++ b/deps/npm/docs/content/commands/npm-bugs.md @@ -24,7 +24,7 @@ folder and use the `name` property. #### `browser` -* Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` +* Default: macOS: `"open"`, Windows: `"start"`, Others: `"xdg-open"` * Type: null, Boolean, or String The browser that is called by npm commands to open websites. diff --git a/deps/npm/docs/content/commands/npm-docs.md b/deps/npm/docs/content/commands/npm-docs.md index 582fc55eef3..f41e6770df0 100644 --- a/deps/npm/docs/content/commands/npm-docs.md +++ b/deps/npm/docs/content/commands/npm-docs.md @@ -24,7 +24,7 @@ package names at once. If no package name is provided, it will search for a #### `browser` -* Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` +* Default: macOS: `"open"`, Windows: `"start"`, Others: `"xdg-open"` * Type: null, Boolean, or String The browser that is called by npm commands to open websites. diff --git a/deps/npm/docs/content/commands/npm-fund.md b/deps/npm/docs/content/commands/npm-fund.md index cd12e1b40bc..a2c7bce3e92 100644 --- a/deps/npm/docs/content/commands/npm-fund.md +++ b/deps/npm/docs/content/commands/npm-fund.md @@ -81,7 +81,7 @@ Not supported by all npm commands. #### `browser` -* Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` +* Default: macOS: `"open"`, Windows: `"start"`, Others: `"xdg-open"` * Type: null, Boolean, or String The browser that is called by npm commands to open websites. diff --git a/deps/npm/docs/content/commands/npm-install-test.md b/deps/npm/docs/content/commands/npm-install-test.md index f2696429002..ee206cdf3ad 100644 --- a/deps/npm/docs/content/commands/npm-install-test.md +++ b/deps/npm/docs/content/commands/npm-install-test.md @@ -231,6 +231,23 @@ submitted. +#### `before` + +* Default: null +* Type: null or Date + +If passed to `npm install`, will rebuild the npm tree such that only +versions that were available **on or before** the given date are installed. +If there are no versions available for the current set of dependencies, the +command will error. + +If the requested version is a `dist-tag` and the given tag does not pass the +`--before` filter, the most recent version less than or equal to that tag +will be used. For example, `foo@latest` might install `foo@1.2` even though +`latest` is `2.0`. + + + #### `bin-links` * Default: true diff --git a/deps/npm/docs/content/commands/npm-install.md b/deps/npm/docs/content/commands/npm-install.md index 5bedfaca078..0068d1f2d25 100644 --- a/deps/npm/docs/content/commands/npm-install.md +++ b/deps/npm/docs/content/commands/npm-install.md @@ -619,6 +619,23 @@ submitted. +#### `before` + +* Default: null +* Type: null or Date + +If passed to `npm install`, will rebuild the npm tree such that only +versions that were available **on or before** the given date are installed. +If there are no versions available for the current set of dependencies, the +command will error. + +If the requested version is a `dist-tag` and the given tag does not pass the +`--before` filter, the most recent version less than or equal to that tag +will be used. For example, `foo@latest` might install `foo@1.2` even though +`latest` is `2.0`. + + + #### `bin-links` * Default: true diff --git a/deps/npm/docs/content/commands/npm-ls.md b/deps/npm/docs/content/commands/npm-ls.md index 6c3471bf434..628747ba12a 100644 --- a/deps/npm/docs/content/commands/npm-ls.md +++ b/deps/npm/docs/content/commands/npm-ls.md @@ -27,7 +27,7 @@ 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.4.2 /path/to/npm +npm@11.5.1 /path/to/npm └─┬ init-package-json@0.0.4 └── promzard@0.1.5 ``` diff --git a/deps/npm/docs/content/commands/npm-outdated.md b/deps/npm/docs/content/commands/npm-outdated.md index 857a4c6753f..62a8f44b25c 100644 --- a/deps/npm/docs/content/commands/npm-outdated.md +++ b/deps/npm/docs/content/commands/npm-outdated.md @@ -169,6 +169,23 @@ brand new workspace within the project. This value is not exported to the environment for child processes. +#### `before` + +* Default: null +* Type: null or Date + +If passed to `npm install`, will rebuild the npm tree such that only +versions that were available **on or before** the given date are installed. +If there are no versions available for the current set of dependencies, the +command will error. + +If the requested version is a `dist-tag` and the given tag does not pass the +`--before` filter, the most recent version less than or equal to that tag +will be used. For example, `foo@latest` might install `foo@1.2` even though +`latest` is `2.0`. + + + ### See Also * [package spec](/using-npm/package-spec) diff --git a/deps/npm/docs/content/commands/npm-repo.md b/deps/npm/docs/content/commands/npm-repo.md index 005f4ac8715..79a3ced2aa3 100644 --- a/deps/npm/docs/content/commands/npm-repo.md +++ b/deps/npm/docs/content/commands/npm-repo.md @@ -22,7 +22,7 @@ provided, it will search for a `package.json` in the current folder and use the #### `browser` -* Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` +* Default: macOS: `"open"`, Windows: `"start"`, Others: `"xdg-open"` * Type: null, Boolean, or String The browser that is called by npm commands to open websites. diff --git a/deps/npm/docs/content/commands/npm-update.md b/deps/npm/docs/content/commands/npm-update.md index d1775a8955b..ff108a8f7f0 100644 --- a/deps/npm/docs/content/commands/npm-update.md +++ b/deps/npm/docs/content/commands/npm-update.md @@ -332,6 +332,23 @@ submitted. +#### `before` + +* Default: null +* Type: null or Date + +If passed to `npm install`, will rebuild the npm tree such that only +versions that were available **on or before** the given date are installed. +If there are no versions available for the current set of dependencies, the +command will error. + +If the requested version is a `dist-tag` and the given tag does not pass the +`--before` filter, the most recent version less than or equal to that tag +will be used. For example, `foo@latest` might install `foo@1.2` even though +`latest` is `2.0`. + + + #### `bin-links` * Default: true diff --git a/deps/npm/docs/content/commands/npm.md b/deps/npm/docs/content/commands/npm.md index 8c38936c548..218f7b06b5c 100644 --- a/deps/npm/docs/content/commands/npm.md +++ b/deps/npm/docs/content/commands/npm.md @@ -14,7 +14,7 @@ Note: This command is unaware of workspaces. ### Version -11.4.2 +11.5.1 ### Description diff --git a/deps/npm/docs/content/configuring-npm/install.md b/deps/npm/docs/content/configuring-npm/install.md index d9c1d32631f..cee846745f2 100644 --- a/deps/npm/docs/content/configuring-npm/install.md +++ b/deps/npm/docs/content/configuring-npm/install.md @@ -50,9 +50,9 @@ installer to install both Node.js and npm on your system. * [NodeSource installer](https://github.com/nodesource/distributions). If you use Linux, we recommend that you use a NodeSource installer. -#### OS X or Windows Node installers +#### macOS or Windows Node installers -If you're using OS X or Windows, use one of the installers from the +If you're using macOS or Windows, use one of the installers from the [Node.js download page](https://nodejs.org/en/download/). Be sure to install the version labeled **LTS**. Other versions have not yet been tested with npm. @@ -69,10 +69,3 @@ installers: Or see [this page](https://nodejs.org/en/download/package-manager/) to install npm for Linux in the way many Linux developers prefer. - -#### Less-common operating systems - -For more information on installing Node.js on a variety of operating -systems, see [this page][pkg-mgr]. - -[pkg-mgr]: https://nodejs.org/en/download/package-manager/ diff --git a/deps/npm/docs/content/using-npm/config.md b/deps/npm/docs/content/using-npm/config.md index b4307351efe..839f88e3908 100644 --- a/deps/npm/docs/content/using-npm/config.md +++ b/deps/npm/docs/content/using-npm/config.md @@ -218,9 +218,9 @@ config is given, this value will always be set to `legacy`. * Type: null or Date If passed to `npm install`, will rebuild the npm tree such that only -versions that were available **on or before** the `--before` time get -installed. If there's no versions available for the current set of direct -dependencies, the command will error. +versions that were available **on or before** the given date are installed. +If there are no versions available for the current set of dependencies, the +command will error. If the requested version is a `dist-tag` and the given tag does not pass the `--before` filter, the most recent version less than or equal to that tag @@ -245,7 +245,7 @@ systems. #### `browser` -* Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` +* Default: macOS: `"open"`, Windows: `"start"`, Others: `"xdg-open"` * Type: null, Boolean, or String The browser that is called by npm commands to open websites. @@ -1245,7 +1245,8 @@ a semver. Like the `rc` in `1.2.0-rc.8`. #### `progress` -* Default: `true` unless running in a known CI system +* Default: `true` when not in CI and both stderr and stdout are TTYs and not + in a dumb terminal * Type: Boolean When set to `true`, npm will display a progress bar during time intensive diff --git a/deps/npm/docs/content/using-npm/scripts.md b/deps/npm/docs/content/using-npm/scripts.md index 9fb36136ae4..9ce43d5b9f8 100644 --- a/deps/npm/docs/content/using-npm/scripts.md +++ b/deps/npm/docs/content/using-npm/scripts.md @@ -9,7 +9,7 @@ description: How npm handles the "scripts" field The `"scripts"` property of your `package.json` file supports a number of built-in scripts and their preset life cycle events as well as arbitrary scripts. These all can be executed by running -`npm run ` or `npm run ` for short. *Pre* and *post* +`npm run `. *Pre* and *post* commands with matching names will be run for those as well (e.g. `premyscript`, `myscript`, `postmyscript`). Scripts from dependencies can be run with `npm explore -- npm run `. diff --git a/deps/npm/docs/output/commands/npm-access.html b/deps/npm/docs/output/commands/npm-access.html index 4df6d61332f..3bc103fb1f6 100644 --- a/deps/npm/docs/output/commands/npm-access.html +++ b/deps/npm/docs/output/commands/npm-access.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-access - @11.4.2 + @11.5.1

Set access level on published packages
diff --git a/deps/npm/docs/output/commands/npm-adduser.html b/deps/npm/docs/output/commands/npm-adduser.html index 8cfaa76c1f6..ca6a06bc441 100644 --- a/deps/npm/docs/output/commands/npm-adduser.html +++ b/deps/npm/docs/output/commands/npm-adduser.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-adduser - @11.4.2 + @11.5.1

Add a registry user account
diff --git a/deps/npm/docs/output/commands/npm-audit.html b/deps/npm/docs/output/commands/npm-audit.html index 655c5d0204d..c74ce4dcecb 100644 --- a/deps/npm/docs/output/commands/npm-audit.html +++ b/deps/npm/docs/output/commands/npm-audit.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-audit - @11.4.2 + @11.5.1

Run a security audit
diff --git a/deps/npm/docs/output/commands/npm-bugs.html b/deps/npm/docs/output/commands/npm-bugs.html index d57749f4f5a..221cefb803b 100644 --- a/deps/npm/docs/output/commands/npm-bugs.html +++ b/deps/npm/docs/output/commands/npm-bugs.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-bugs - @11.4.2 + @11.5.1

Report bugs for a package in a web browser
@@ -167,7 +167,7 @@ folder and use the name property.

Configuration

browser

    -
  • Default: OS X: "open", Windows: "start", Others: "xdg-open"
  • +
  • Default: macOS: "open", Windows: "start", Others: "xdg-open"
  • Type: null, Boolean, or String

The browser that is called by npm commands to open websites.

diff --git a/deps/npm/docs/output/commands/npm-cache.html b/deps/npm/docs/output/commands/npm-cache.html index 7ad94c6c21e..675128b4b47 100644 --- a/deps/npm/docs/output/commands/npm-cache.html +++ b/deps/npm/docs/output/commands/npm-cache.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-cache - @11.4.2 + @11.5.1

Manipulates packages cache
diff --git a/deps/npm/docs/output/commands/npm-ci.html b/deps/npm/docs/output/commands/npm-ci.html index 60aaf4eed30..3df7f0b1d27 100644 --- a/deps/npm/docs/output/commands/npm-ci.html +++ b/deps/npm/docs/output/commands/npm-ci.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-ci - @11.4.2 + @11.5.1

Clean install a project
diff --git a/deps/npm/docs/output/commands/npm-completion.html b/deps/npm/docs/output/commands/npm-completion.html index daf7ba36297..ee3d7698937 100644 --- a/deps/npm/docs/output/commands/npm-completion.html +++ b/deps/npm/docs/output/commands/npm-completion.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-completion - @11.4.2 + @11.5.1

Tab Completion for npm
diff --git a/deps/npm/docs/output/commands/npm-config.html b/deps/npm/docs/output/commands/npm-config.html index b33936e1019..4a956bbaf4a 100644 --- a/deps/npm/docs/output/commands/npm-config.html +++ b/deps/npm/docs/output/commands/npm-config.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-config - @11.4.2 + @11.5.1

Manage the npm configuration files
diff --git a/deps/npm/docs/output/commands/npm-dedupe.html b/deps/npm/docs/output/commands/npm-dedupe.html index 75795005c99..fe16a99afe7 100644 --- a/deps/npm/docs/output/commands/npm-dedupe.html +++ b/deps/npm/docs/output/commands/npm-dedupe.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-dedupe - @11.4.2 + @11.5.1

Reduce duplication in the package tree
diff --git a/deps/npm/docs/output/commands/npm-deprecate.html b/deps/npm/docs/output/commands/npm-deprecate.html index c40a379dcfe..26029663518 100644 --- a/deps/npm/docs/output/commands/npm-deprecate.html +++ b/deps/npm/docs/output/commands/npm-deprecate.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-deprecate - @11.4.2 + @11.5.1

Deprecate a version of a package
diff --git a/deps/npm/docs/output/commands/npm-diff.html b/deps/npm/docs/output/commands/npm-diff.html index 8a22e5f6179..5338e8dce63 100644 --- a/deps/npm/docs/output/commands/npm-diff.html +++ b/deps/npm/docs/output/commands/npm-diff.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-diff - @11.4.2 + @11.5.1

The registry diff command
diff --git a/deps/npm/docs/output/commands/npm-dist-tag.html b/deps/npm/docs/output/commands/npm-dist-tag.html index ec0b8e90bd9..8d1be0ad219 100644 --- a/deps/npm/docs/output/commands/npm-dist-tag.html +++ b/deps/npm/docs/output/commands/npm-dist-tag.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-dist-tag - @11.4.2 + @11.5.1

Modify package distribution tags
diff --git a/deps/npm/docs/output/commands/npm-docs.html b/deps/npm/docs/output/commands/npm-docs.html index d947e7fe13c..f84820654e8 100644 --- a/deps/npm/docs/output/commands/npm-docs.html +++ b/deps/npm/docs/output/commands/npm-docs.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-docs - @11.4.2 + @11.5.1

Open documentation for a package in a web browser
@@ -167,7 +167,7 @@ package names at once. If no package name is provided, it will search for a

Configuration

browser

    -
  • Default: OS X: "open", Windows: "start", Others: "xdg-open"
  • +
  • Default: macOS: "open", Windows: "start", Others: "xdg-open"
  • Type: null, Boolean, or String

The browser that is called by npm commands to open websites.

diff --git a/deps/npm/docs/output/commands/npm-doctor.html b/deps/npm/docs/output/commands/npm-doctor.html index ae4b91b5e90..e4a646fd2dd 100644 --- a/deps/npm/docs/output/commands/npm-doctor.html +++ b/deps/npm/docs/output/commands/npm-doctor.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-doctor - @11.4.2 + @11.5.1

Check the health of your npm environment
diff --git a/deps/npm/docs/output/commands/npm-edit.html b/deps/npm/docs/output/commands/npm-edit.html index 8e4d7e1df6d..a5feaa33665 100644 --- a/deps/npm/docs/output/commands/npm-edit.html +++ b/deps/npm/docs/output/commands/npm-edit.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-edit - @11.4.2 + @11.5.1

Edit an installed package
diff --git a/deps/npm/docs/output/commands/npm-exec.html b/deps/npm/docs/output/commands/npm-exec.html index 40d0a6aa277..e506c901244 100644 --- a/deps/npm/docs/output/commands/npm-exec.html +++ b/deps/npm/docs/output/commands/npm-exec.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-exec - @11.4.2 + @11.5.1

Run a command from a local or remote npm package
diff --git a/deps/npm/docs/output/commands/npm-explain.html b/deps/npm/docs/output/commands/npm-explain.html index cc3bdb17ed2..1668633c10c 100644 --- a/deps/npm/docs/output/commands/npm-explain.html +++ b/deps/npm/docs/output/commands/npm-explain.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-explain - @11.4.2 + @11.5.1

Explain installed packages
diff --git a/deps/npm/docs/output/commands/npm-explore.html b/deps/npm/docs/output/commands/npm-explore.html index 23188dde2cd..161b036a7fe 100644 --- a/deps/npm/docs/output/commands/npm-explore.html +++ b/deps/npm/docs/output/commands/npm-explore.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-explore - @11.4.2 + @11.5.1

Browse an installed package
diff --git a/deps/npm/docs/output/commands/npm-find-dupes.html b/deps/npm/docs/output/commands/npm-find-dupes.html index 1018845119c..2be0a026c69 100644 --- a/deps/npm/docs/output/commands/npm-find-dupes.html +++ b/deps/npm/docs/output/commands/npm-find-dupes.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-find-dupes - @11.4.2 + @11.5.1

Find duplication in the package tree
diff --git a/deps/npm/docs/output/commands/npm-fund.html b/deps/npm/docs/output/commands/npm-fund.html index 5c30d9d5c28..3fc3e336da4 100644 --- a/deps/npm/docs/output/commands/npm-fund.html +++ b/deps/npm/docs/output/commands/npm-fund.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-fund - @11.4.2 + @11.5.1

Retrieve funding information
@@ -210,7 +210,7 @@ saving them to your package.json.

Not supported by all npm commands.

browser

    -
  • Default: OS X: "open", Windows: "start", Others: "xdg-open"
  • +
  • Default: macOS: "open", Windows: "start", Others: "xdg-open"
  • Type: null, Boolean, or String

The browser that is called by npm commands to open websites.

diff --git a/deps/npm/docs/output/commands/npm-help-search.html b/deps/npm/docs/output/commands/npm-help-search.html index 973ab506d6c..3116f412088 100644 --- a/deps/npm/docs/output/commands/npm-help-search.html +++ b/deps/npm/docs/output/commands/npm-help-search.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-help-search - @11.4.2 + @11.5.1

Search npm help documentation
diff --git a/deps/npm/docs/output/commands/npm-help.html b/deps/npm/docs/output/commands/npm-help.html index 8cdeb1776b9..4c217add7e3 100644 --- a/deps/npm/docs/output/commands/npm-help.html +++ b/deps/npm/docs/output/commands/npm-help.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-help - @11.4.2 + @11.5.1

Get help on npm
diff --git a/deps/npm/docs/output/commands/npm-init.html b/deps/npm/docs/output/commands/npm-init.html index fd25bfd57e4..28a3a4fb655 100644 --- a/deps/npm/docs/output/commands/npm-init.html +++ b/deps/npm/docs/output/commands/npm-init.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-init - @11.4.2 + @11.5.1

Create a package.json file
diff --git a/deps/npm/docs/output/commands/npm-install-ci-test.html b/deps/npm/docs/output/commands/npm-install-ci-test.html index 33e58abcd89..1f163982f65 100644 --- a/deps/npm/docs/output/commands/npm-install-ci-test.html +++ b/deps/npm/docs/output/commands/npm-install-ci-test.html @@ -141,9 +141,9 @@ npm command-line interface
-

+

npm-install-ci-test - @11.4.2 + @11.5.1

Install a project with a clean slate and run tests
diff --git a/deps/npm/docs/output/commands/npm-install-test.html b/deps/npm/docs/output/commands/npm-install-test.html index 87753eae6fb..ed4baca4d8c 100644 --- a/deps/npm/docs/output/commands/npm-install-test.html +++ b/deps/npm/docs/output/commands/npm-install-test.html @@ -141,16 +141,16 @@ npm command-line interface
-

+

npm-install-test - @11.4.2 + @11.5.1

Install package(s) and run tests

Table of contents

- +

Synopsis

@@ -317,6 +317,19 @@ run any pre- or post-scripts.

default registry and all registries configured for scopes. See the documentation for npm audit for details on what is submitted.

+

before

+
    +
  • Default: null
  • +
  • Type: null or Date
  • +
+

If passed to npm install, will rebuild the npm tree such that only +versions that were available on or before the given date are installed. +If there are no versions available for the current set of dependencies, the +command will error.

+

If the requested version is a dist-tag and the given tag does not pass the +--before filter, the most recent version less than or equal to that tag +will be used. For example, foo@latest might install foo@1.2 even though +latest is 2.0.

  • Default: true
  • diff --git a/deps/npm/docs/output/commands/npm-install.html b/deps/npm/docs/output/commands/npm-install.html index 88d1ba56289..097b413d53c 100644 --- a/deps/npm/docs/output/commands/npm-install.html +++ b/deps/npm/docs/output/commands/npm-install.html @@ -141,16 +141,16 @@ npm command-line interface
    -

    +

    npm-install - @11.4.2 + @11.5.1

    Install a package

    Table of contents

    - +

    Synopsis

    @@ -643,6 +643,19 @@ run any pre- or post-scripts.

    default registry and all registries configured for scopes. See the documentation for npm audit for details on what is submitted.

    +

    before

    +
      +
    • Default: null
    • +
    • Type: null or Date
    • +
    +

    If passed to npm install, will rebuild the npm tree such that only +versions that were available on or before the given date are installed. +If there are no versions available for the current set of dependencies, the +command will error.

    +

    If the requested version is a dist-tag and the given tag does not pass the +--before filter, the most recent version less than or equal to that tag +will be used. For example, foo@latest might install foo@1.2 even though +latest is 2.0.

    • Default: true
    • diff --git a/deps/npm/docs/output/commands/npm-link.html b/deps/npm/docs/output/commands/npm-link.html index 65b7e5f112a..8c6963e10d0 100644 --- a/deps/npm/docs/output/commands/npm-link.html +++ b/deps/npm/docs/output/commands/npm-link.html @@ -141,9 +141,9 @@ npm command-line interface
      -

      +

      npm-link - @11.4.2 + @11.5.1

      Symlink a package folder
      diff --git a/deps/npm/docs/output/commands/npm-login.html b/deps/npm/docs/output/commands/npm-login.html index 7cdf6f43592..44e2fe5b95c 100644 --- a/deps/npm/docs/output/commands/npm-login.html +++ b/deps/npm/docs/output/commands/npm-login.html @@ -141,9 +141,9 @@ npm command-line interface
      -

      +

      npm-login - @11.4.2 + @11.5.1

      Login to a registry user account
      diff --git a/deps/npm/docs/output/commands/npm-logout.html b/deps/npm/docs/output/commands/npm-logout.html index 45d0970134d..90c426863f7 100644 --- a/deps/npm/docs/output/commands/npm-logout.html +++ b/deps/npm/docs/output/commands/npm-logout.html @@ -141,9 +141,9 @@ npm command-line interface
      -

      +

      npm-logout - @11.4.2 + @11.5.1

      Log out of the registry
      diff --git a/deps/npm/docs/output/commands/npm-ls.html b/deps/npm/docs/output/commands/npm-ls.html index 99f2bd7c983..85221ba60a7 100644 --- a/deps/npm/docs/output/commands/npm-ls.html +++ b/deps/npm/docs/output/commands/npm-ls.html @@ -141,9 +141,9 @@ npm command-line interface
      -

      +

      npm-ls - @11.4.2 + @11.5.1

      List installed packages
      @@ -168,7 +168,7 @@ tree at all, use npm explain the results to only the paths to the packages named. Note that nested packages will also show the paths to the specified packages. For example, running npm ls promzard in npm's source tree will show:

      -
      npm@11.4.2 /path/to/npm
      +
      npm@11.5.1 /path/to/npm
       └─┬ init-package-json@0.0.4
         └── promzard@0.1.5
       
      diff --git a/deps/npm/docs/output/commands/npm-org.html b/deps/npm/docs/output/commands/npm-org.html index 896cf57dee7..51fc57e6b05 100644 --- a/deps/npm/docs/output/commands/npm-org.html +++ b/deps/npm/docs/output/commands/npm-org.html @@ -141,9 +141,9 @@ npm command-line interface
      -

      +

      npm-org - @11.4.2 + @11.5.1

      Manage orgs
      diff --git a/deps/npm/docs/output/commands/npm-outdated.html b/deps/npm/docs/output/commands/npm-outdated.html index d5adb4c41cb..8f1c40aa729 100644 --- a/deps/npm/docs/output/commands/npm-outdated.html +++ b/deps/npm/docs/output/commands/npm-outdated.html @@ -141,16 +141,16 @@ npm command-line interface
      -

      +

      npm-outdated - @11.4.2 + @11.5.1

      Check for outdated packages

      Table of contents

      -
      +

      Synopsis

      @@ -289,6 +289,19 @@ workspaces within that folder) workspace which does not yet exist, to create the folder and set it up as a brand new workspace within the project.

      This value is not exported to the environment for child processes.

      +

      before

      +
        +
      • Default: null
      • +
      • Type: null or Date
      • +
      +

      If passed to npm install, will rebuild the npm tree such that only +versions that were available on or before the given date are installed. +If there are no versions available for the current set of dependencies, the +command will error.

      +

      If the requested version is a dist-tag and the given tag does not pass the +--before filter, the most recent version less than or equal to that tag +will be used. For example, foo@latest might install foo@1.2 even though +latest is 2.0.

      See Also

      • package spec
      • diff --git a/deps/npm/docs/output/commands/npm-owner.html b/deps/npm/docs/output/commands/npm-owner.html index a501eba3b2a..ccc611dbf61 100644 --- a/deps/npm/docs/output/commands/npm-owner.html +++ b/deps/npm/docs/output/commands/npm-owner.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-owner - @11.4.2 + @11.5.1

        Manage package owners
        diff --git a/deps/npm/docs/output/commands/npm-pack.html b/deps/npm/docs/output/commands/npm-pack.html index 421eecdc7eb..6a9165dfcd1 100644 --- a/deps/npm/docs/output/commands/npm-pack.html +++ b/deps/npm/docs/output/commands/npm-pack.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-pack - @11.4.2 + @11.5.1

        Create a tarball from a package
        diff --git a/deps/npm/docs/output/commands/npm-ping.html b/deps/npm/docs/output/commands/npm-ping.html index e7d3a97fb21..5862980f080 100644 --- a/deps/npm/docs/output/commands/npm-ping.html +++ b/deps/npm/docs/output/commands/npm-ping.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-ping - @11.4.2 + @11.5.1

        Ping npm registry
        diff --git a/deps/npm/docs/output/commands/npm-pkg.html b/deps/npm/docs/output/commands/npm-pkg.html index cdeb3d7e4df..3ea7c0658e1 100644 --- a/deps/npm/docs/output/commands/npm-pkg.html +++ b/deps/npm/docs/output/commands/npm-pkg.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-pkg - @11.4.2 + @11.5.1

        Manages your package.json
        diff --git a/deps/npm/docs/output/commands/npm-prefix.html b/deps/npm/docs/output/commands/npm-prefix.html index fd4df3887ae..ac6a195b142 100644 --- a/deps/npm/docs/output/commands/npm-prefix.html +++ b/deps/npm/docs/output/commands/npm-prefix.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-prefix - @11.4.2 + @11.5.1

        Display prefix
        diff --git a/deps/npm/docs/output/commands/npm-profile.html b/deps/npm/docs/output/commands/npm-profile.html index 0843f9435a3..7ac7aaca433 100644 --- a/deps/npm/docs/output/commands/npm-profile.html +++ b/deps/npm/docs/output/commands/npm-profile.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-profile - @11.4.2 + @11.5.1

        Change settings on your registry profile
        diff --git a/deps/npm/docs/output/commands/npm-prune.html b/deps/npm/docs/output/commands/npm-prune.html index ea84261a164..a1c56766648 100644 --- a/deps/npm/docs/output/commands/npm-prune.html +++ b/deps/npm/docs/output/commands/npm-prune.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-prune - @11.4.2 + @11.5.1

        Remove extraneous packages
        diff --git a/deps/npm/docs/output/commands/npm-publish.html b/deps/npm/docs/output/commands/npm-publish.html index 0a17b7cd264..f2a075fdc52 100644 --- a/deps/npm/docs/output/commands/npm-publish.html +++ b/deps/npm/docs/output/commands/npm-publish.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-publish - @11.4.2 + @11.5.1

        Publish a package
        diff --git a/deps/npm/docs/output/commands/npm-query.html b/deps/npm/docs/output/commands/npm-query.html index a2f851bc210..a196efe399d 100644 --- a/deps/npm/docs/output/commands/npm-query.html +++ b/deps/npm/docs/output/commands/npm-query.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-query - @11.4.2 + @11.5.1

        Dependency selector query
        diff --git a/deps/npm/docs/output/commands/npm-rebuild.html b/deps/npm/docs/output/commands/npm-rebuild.html index 39c056ecf00..3d2ad013a06 100644 --- a/deps/npm/docs/output/commands/npm-rebuild.html +++ b/deps/npm/docs/output/commands/npm-rebuild.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-rebuild - @11.4.2 + @11.5.1

        Rebuild a package
        diff --git a/deps/npm/docs/output/commands/npm-repo.html b/deps/npm/docs/output/commands/npm-repo.html index d4806355ca9..0ea012c5205 100644 --- a/deps/npm/docs/output/commands/npm-repo.html +++ b/deps/npm/docs/output/commands/npm-repo.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-repo - @11.4.2 + @11.5.1

        Open package repository page in the browser
        @@ -165,7 +165,7 @@ provided, it will search for a package.json in the current folder a

        Configuration

        browser

          -
        • Default: OS X: "open", Windows: "start", Others: "xdg-open"
        • +
        • Default: macOS: "open", Windows: "start", Others: "xdg-open"
        • Type: null, Boolean, or String

        The browser that is called by npm commands to open websites.

        diff --git a/deps/npm/docs/output/commands/npm-restart.html b/deps/npm/docs/output/commands/npm-restart.html index 5bef966b523..eaac195de4b 100644 --- a/deps/npm/docs/output/commands/npm-restart.html +++ b/deps/npm/docs/output/commands/npm-restart.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-restart - @11.4.2 + @11.5.1

        Restart a package
        diff --git a/deps/npm/docs/output/commands/npm-root.html b/deps/npm/docs/output/commands/npm-root.html index 126d80b251d..7b6093cda28 100644 --- a/deps/npm/docs/output/commands/npm-root.html +++ b/deps/npm/docs/output/commands/npm-root.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-root - @11.4.2 + @11.5.1

        Display npm root
        diff --git a/deps/npm/docs/output/commands/npm-run.html b/deps/npm/docs/output/commands/npm-run.html index bd301d4157e..018d5ed6bda 100644 --- a/deps/npm/docs/output/commands/npm-run.html +++ b/deps/npm/docs/output/commands/npm-run.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-run - @11.4.2 + @11.5.1

        Run arbitrary package scripts
        diff --git a/deps/npm/docs/output/commands/npm-sbom.html b/deps/npm/docs/output/commands/npm-sbom.html index 27bf7deeb7f..a3e44f0ec23 100644 --- a/deps/npm/docs/output/commands/npm-sbom.html +++ b/deps/npm/docs/output/commands/npm-sbom.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-sbom - @11.4.2 + @11.5.1

        Generate a Software Bill of Materials (SBOM)
        diff --git a/deps/npm/docs/output/commands/npm-search.html b/deps/npm/docs/output/commands/npm-search.html index 2bb6b034ffd..1dbc2fcd740 100644 --- a/deps/npm/docs/output/commands/npm-search.html +++ b/deps/npm/docs/output/commands/npm-search.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-search - @11.4.2 + @11.5.1

        Search for packages
        diff --git a/deps/npm/docs/output/commands/npm-shrinkwrap.html b/deps/npm/docs/output/commands/npm-shrinkwrap.html index 99937f8f953..88c25fa7be9 100644 --- a/deps/npm/docs/output/commands/npm-shrinkwrap.html +++ b/deps/npm/docs/output/commands/npm-shrinkwrap.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-shrinkwrap - @11.4.2 + @11.5.1

        Lock down dependency versions for publication
        diff --git a/deps/npm/docs/output/commands/npm-star.html b/deps/npm/docs/output/commands/npm-star.html index 66acaab166f..15c1362721b 100644 --- a/deps/npm/docs/output/commands/npm-star.html +++ b/deps/npm/docs/output/commands/npm-star.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-star - @11.4.2 + @11.5.1

        Mark your favorite packages
        diff --git a/deps/npm/docs/output/commands/npm-stars.html b/deps/npm/docs/output/commands/npm-stars.html index 9c77d3489cc..d7fdd214579 100644 --- a/deps/npm/docs/output/commands/npm-stars.html +++ b/deps/npm/docs/output/commands/npm-stars.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-stars - @11.4.2 + @11.5.1

        View packages marked as favorites
        diff --git a/deps/npm/docs/output/commands/npm-start.html b/deps/npm/docs/output/commands/npm-start.html index 711a35b1e27..4c9be28e943 100644 --- a/deps/npm/docs/output/commands/npm-start.html +++ b/deps/npm/docs/output/commands/npm-start.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-start - @11.4.2 + @11.5.1

        Start a package
        diff --git a/deps/npm/docs/output/commands/npm-stop.html b/deps/npm/docs/output/commands/npm-stop.html index 7b5075fd586..4ee13d0edce 100644 --- a/deps/npm/docs/output/commands/npm-stop.html +++ b/deps/npm/docs/output/commands/npm-stop.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-stop - @11.4.2 + @11.5.1

        Stop a package
        diff --git a/deps/npm/docs/output/commands/npm-team.html b/deps/npm/docs/output/commands/npm-team.html index b018b6b7804..afb95a9c50a 100644 --- a/deps/npm/docs/output/commands/npm-team.html +++ b/deps/npm/docs/output/commands/npm-team.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-team - @11.4.2 + @11.5.1

        Manage organization teams and team memberships
        diff --git a/deps/npm/docs/output/commands/npm-test.html b/deps/npm/docs/output/commands/npm-test.html index a6be8820716..181c14e1011 100644 --- a/deps/npm/docs/output/commands/npm-test.html +++ b/deps/npm/docs/output/commands/npm-test.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-test - @11.4.2 + @11.5.1

        Test a package
        diff --git a/deps/npm/docs/output/commands/npm-token.html b/deps/npm/docs/output/commands/npm-token.html index 9170ac8969c..e493aba66e7 100644 --- a/deps/npm/docs/output/commands/npm-token.html +++ b/deps/npm/docs/output/commands/npm-token.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-token - @11.4.2 + @11.5.1

        Manage your authentication tokens
        diff --git a/deps/npm/docs/output/commands/npm-undeprecate.html b/deps/npm/docs/output/commands/npm-undeprecate.html index 9dc57535c28..bff4c3722d2 100644 --- a/deps/npm/docs/output/commands/npm-undeprecate.html +++ b/deps/npm/docs/output/commands/npm-undeprecate.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-undeprecate - @11.4.2 + @11.5.1

        Undeprecate a version of a package
        diff --git a/deps/npm/docs/output/commands/npm-uninstall.html b/deps/npm/docs/output/commands/npm-uninstall.html index b93b52dc737..1a6bdfc68a8 100644 --- a/deps/npm/docs/output/commands/npm-uninstall.html +++ b/deps/npm/docs/output/commands/npm-uninstall.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-uninstall - @11.4.2 + @11.5.1

        Remove a package
        diff --git a/deps/npm/docs/output/commands/npm-unpublish.html b/deps/npm/docs/output/commands/npm-unpublish.html index 0802fafdfe4..806f6ff9c1c 100644 --- a/deps/npm/docs/output/commands/npm-unpublish.html +++ b/deps/npm/docs/output/commands/npm-unpublish.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-unpublish - @11.4.2 + @11.5.1

        Remove a package from the registry
        diff --git a/deps/npm/docs/output/commands/npm-unstar.html b/deps/npm/docs/output/commands/npm-unstar.html index e85d91d050e..ed467c5e617 100644 --- a/deps/npm/docs/output/commands/npm-unstar.html +++ b/deps/npm/docs/output/commands/npm-unstar.html @@ -141,9 +141,9 @@ npm command-line interface
        -

        +

        npm-unstar - @11.4.2 + @11.5.1

        Remove an item from your favorite packages
        diff --git a/deps/npm/docs/output/commands/npm-update.html b/deps/npm/docs/output/commands/npm-update.html index b4aed934bdb..44a28c7538a 100644 --- a/deps/npm/docs/output/commands/npm-update.html +++ b/deps/npm/docs/output/commands/npm-update.html @@ -141,16 +141,16 @@ npm command-line interface
        -

        +

        npm-update - @11.4.2 + @11.5.1

        Update packages

        Table of contents

        - +

        Synopsis

        @@ -388,6 +388,19 @@ run any pre- or post-scripts.

        default registry and all registries configured for scopes. See the documentation for npm audit for details on what is submitted.

        +

        before

        +
          +
        • Default: null
        • +
        • Type: null or Date
        • +
        +

        If passed to npm install, will rebuild the npm tree such that only +versions that were available on or before the given date are installed. +If there are no versions available for the current set of dependencies, the +command will error.

        +

        If the requested version is a dist-tag and the given tag does not pass the +--before filter, the most recent version less than or equal to that tag +will be used. For example, foo@latest might install foo@1.2 even though +latest is 2.0.

        • Default: true
        • diff --git a/deps/npm/docs/output/commands/npm-version.html b/deps/npm/docs/output/commands/npm-version.html index 8c99560bfa1..b521405869c 100644 --- a/deps/npm/docs/output/commands/npm-version.html +++ b/deps/npm/docs/output/commands/npm-version.html @@ -141,9 +141,9 @@ npm command-line interface
          -

          +

          npm-version - @11.4.2 + @11.5.1

          Bump a package version
          diff --git a/deps/npm/docs/output/commands/npm-view.html b/deps/npm/docs/output/commands/npm-view.html index a6dfd363317..eec33cff83e 100644 --- a/deps/npm/docs/output/commands/npm-view.html +++ b/deps/npm/docs/output/commands/npm-view.html @@ -141,9 +141,9 @@ npm command-line interface
          -

          +

          npm-view - @11.4.2 + @11.5.1

          View registry info
          diff --git a/deps/npm/docs/output/commands/npm-whoami.html b/deps/npm/docs/output/commands/npm-whoami.html index 752fb97d987..5612f622414 100644 --- a/deps/npm/docs/output/commands/npm-whoami.html +++ b/deps/npm/docs/output/commands/npm-whoami.html @@ -141,9 +141,9 @@ npm command-line interface
          -

          +

          npm-whoami - @11.4.2 + @11.5.1

          Display npm username
          diff --git a/deps/npm/docs/output/commands/npm.html b/deps/npm/docs/output/commands/npm.html index d84a6a2e0d2..77763591853 100644 --- a/deps/npm/docs/output/commands/npm.html +++ b/deps/npm/docs/output/commands/npm.html @@ -141,9 +141,9 @@ npm command-line interface
          -

          +

          npm - @11.4.2 + @11.5.1

          javascript package manager
          @@ -158,7 +158,7 @@ npm command-line interface

      Note: This command is unaware of workspaces.

      Version

      -

      11.4.2

      +

      11.5.1

      Description

      npm is the package manager for the Node JavaScript platform. It puts modules in place so that node can find them, and manages dependency diff --git a/deps/npm/docs/output/commands/npx.html b/deps/npm/docs/output/commands/npx.html index 8074dd3e6fe..9d393a2b498 100644 --- a/deps/npm/docs/output/commands/npx.html +++ b/deps/npm/docs/output/commands/npx.html @@ -141,9 +141,9 @@ npm command-line interface

      -

      +

      npx - @11.4.2 + @11.5.1

      Run a command from a local or remote npm package
      diff --git a/deps/npm/docs/output/configuring-npm/folders.html b/deps/npm/docs/output/configuring-npm/folders.html index 91a8e91fe0a..7619de3198a 100644 --- a/deps/npm/docs/output/configuring-npm/folders.html +++ b/deps/npm/docs/output/configuring-npm/folders.html @@ -141,9 +141,9 @@ npm command-line interface
      -

      +

      folders - @11.4.2 + @11.5.1

      Folder Structures Used by npm
      diff --git a/deps/npm/docs/output/configuring-npm/install.html b/deps/npm/docs/output/configuring-npm/install.html index f5405419403..ebeb2a6ba06 100644 --- a/deps/npm/docs/output/configuring-npm/install.html +++ b/deps/npm/docs/output/configuring-npm/install.html @@ -141,16 +141,16 @@ npm command-line interface
      -

      +

      install - @11.4.2 + @11.5.1

      Download and install node and npm

      Table of contents

      - +

      Description

      @@ -190,8 +190,8 @@ installer to install both Node.js and npm on your system.

    • NodeSource installer. If you use Linux, we recommend that you use a NodeSource installer.
    -

    OS X or Windows Node installers

    -

    If you're using OS X or Windows, use one of the installers from the +

    macOS or Windows Node installers

    +

    If you're using macOS or Windows, use one of the installers from the Node.js download page. Be sure to install the version labeled LTS. Other versions have not yet been tested with npm.

    @@ -205,10 +205,7 @@ installers:

    page

Or see this page to -install npm for Linux in the way many Linux developers prefer.

-

Less-common operating systems

-

For more information on installing Node.js on a variety of operating -systems, see this page.

+install npm for Linux in the way many Linux developers prefer.