diff --git a/deps/npm/README.md b/deps/npm/README.md index da46ce7f38075e..cffee2429dddca 100644 --- a/deps/npm/README.md +++ b/deps/npm/README.md @@ -9,9 +9,8 @@ One of the following versions of [Node.js](https://nodejs.org/en/download/) must be installed to run **`npm`**: -* `14.x.x` >= `14.17.0` -* `16.x.x` >= `16.13.0` -* `18.0.0` or higher +* `18.x.x` >= `18.17.0` +* `20.5.0` or higher ### Installation diff --git a/deps/npm/docs/content/commands/npm-install-test.md b/deps/npm/docs/content/commands/npm-install-test.md index 587a0a15ec6318..443ccd670daa1f 100644 --- a/deps/npm/docs/content/commands/npm-install-test.md +++ b/deps/npm/docs/content/commands/npm-install-test.md @@ -256,6 +256,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`, +#### `cpu` + +* Default: null +* Type: null or String + +Override CPU architecture of native modules to install. Acceptable values +are same as `cpu` field of package.json, which comes from `process.arch`. + + + +#### `os` + +* Default: null +* Type: null or String + +Override OS of native modules to install. Acceptable values are same as `os` +field of package.json, which comes from `process.platform`. + + + #### `workspace` * Default: diff --git a/deps/npm/docs/content/commands/npm-install.md b/deps/npm/docs/content/commands/npm-install.md index 31f8261132d9ea..6be022c8f2340c 100644 --- a/deps/npm/docs/content/commands/npm-install.md +++ b/deps/npm/docs/content/commands/npm-install.md @@ -646,6 +646,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`, +#### `cpu` + +* Default: null +* Type: null or String + +Override CPU architecture of native modules to install. Acceptable values +are same as `cpu` field of package.json, which comes from `process.arch`. + + + +#### `os` + +* Default: null +* Type: null or String + +Override OS of native modules to install. Acceptable values are same as `os` +field of package.json, which comes from `process.platform`. + + + #### `workspace` * Default: diff --git a/deps/npm/docs/content/commands/npm-ls.md b/deps/npm/docs/content/commands/npm-ls.md index 3fd67ec372fd89..c7b8f674862a9c 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@10.0.0 /path/to/npm +npm@10.1.0 /path/to/npm └─┬ init-package-json@0.0.4 └── promzard@0.1.5 ``` diff --git a/deps/npm/docs/content/commands/npm.md b/deps/npm/docs/content/commands/npm.md index 5923d67d48103d..e7ad76c74cf65e 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 -10.0.0 +10.1.0 ### Description diff --git a/deps/npm/docs/content/using-npm/config.md b/deps/npm/docs/content/using-npm/config.md index 96b35edced7b3f..253cd3dffd1d1d 100644 --- a/deps/npm/docs/content/using-npm/config.md +++ b/deps/npm/docs/content/using-npm/config.md @@ -345,6 +345,16 @@ Run git commit hooks when using the `npm version` command. +#### `cpu` + +* Default: null +* Type: null or String + +Override CPU architecture of native modules to install. Acceptable values +are same as `cpu` field of package.json, which comes from `process.arch`. + + + #### `depth` * Default: `Infinity` if `--all` is set, otherwise `1` @@ -1038,6 +1048,16 @@ time. +#### `os` + +* Default: null +* Type: null or String + +Override OS of native modules to install. Acceptable values are same as `os` +field of package.json, which comes from `process.platform`. + + + #### `otp` * Default: null diff --git a/deps/npm/docs/output/commands/npm-install-test.html b/deps/npm/docs/output/commands/npm-install-test.html index d707d68d220efa..1afefac3e93869 100644 --- a/deps/npm/docs/output/commands/npm-install-test.html +++ b/deps/npm/docs/output/commands/npm-install-test.html @@ -142,7 +142,7 @@

npm-install-test

Table of contents

-
+

Synopsis

@@ -327,6 +327,20 @@

dry-run

dedupe, uninstall, as well as pack and publish.

Note: This is NOT honored by other network related commands, eg dist-tags, owner, etc.

+

cpu

+ +

Override CPU architecture of native modules to install. Acceptable values +are same as cpu field of package.json, which comes from process.arch.

+

os

+ +

Override OS of native modules to install. Acceptable values are same as os +field of package.json, which comes from process.platform.

workspace