GeezerVison is showing github.com — deps: upgrade npm to 10.1.0 · nodejs/node@a140bc2
File treeExpand file treeCollapse file tree Open diff view settings Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: deps/npm/README.md +2-3Lines changed: 2 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 9 | 9 |
| 10 | 10 | One of the following versions of [Node.js](https://nodejs.org/en/download/) must be installed to run **`npm`**: | 11 | 11 |
| 12 | | -* `14.x.x` >= `14.17.0` | 13 | | -* `16.x.x` >= `16.13.0` | 14 | | -* `18.0.0` or higher | | 12 | +* `18.x.x` >= `18.17.0` | | 13 | +* `20.5.0` or higher | 15 | 14 |
| 16 | 15 | ### Installation | 17 | 16 |
| |
Collapse file Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-install-test.md +20Lines changed: 20 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -256,6 +256,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`, | 256 | 256 |
| 257 | 257 |
| 258 | 258 |
| | 259 | +#### `cpu` | | 260 | + | | 261 | +* Default: null | | 262 | +* Type: null or String | | 263 | + | | 264 | +Override CPU architecture of native modules to install. Acceptable values | | 265 | +are same as `cpu` field of package.json, which comes from `process.arch`. | | 266 | + | | 267 | + | | 268 | + | | 269 | +#### `os` | | 270 | + | | 271 | +* Default: null | | 272 | +* Type: null or String | | 273 | + | | 274 | +Override OS of native modules to install. Acceptable values are same as `os` | | 275 | +field of package.json, which comes from `process.platform`. | | 276 | + | | 277 | + | | 278 | + | 259 | 279 | #### `workspace` | 260 | 280 |
| 261 | 281 | * Default: | |
Collapse file Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-install.md +20Lines changed: 20 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -646,6 +646,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`, | 646 | 646 |
| 647 | 647 |
| 648 | 648 |
| | 649 | +#### `cpu` | | 650 | +
| | 651 | +* Default: null | | 652 | +* Type: null or String | | 653 | +
| | 654 | +Override CPU architecture of native modules to install. Acceptable values | | 655 | +are same as `cpu` field of package.json, which comes from `process.arch`. | | 656 | +
| | 657 | +
| | 658 | +
| | 659 | +#### `os` | | 660 | +
| | 661 | +* Default: null | | 662 | +* Type: null or String | | 663 | +
| | 664 | +Override OS of native modules to install. Acceptable values are same as `os` | | 665 | +field of package.json, which comes from `process.platform`. | | 666 | +
| | 667 | +
| | 668 | +
| 649 | 669 | #### `workspace` | 650 | 670 |
| 651 | 671 | * Default: | |
Collapse file Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-ls.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For | 27 | 27 | example, running `npm ls promzard` in npm's source tree will show: | 28 | 28 |
| 29 | 29 | ```bash | 30 | | -npm@10.0.0 /path/to/npm | | 30 | +npm@10.1.0 /path/to/npm | 31 | 31 | | 32 | 32 | | 33 | 33 | ``` | |
Collapse file Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces. | 14 | 14 |
| 15 | 15 | ### Version | 16 | 16 |
| 17 | | -10.0.0 | | 17 | +10.1.0 | 18 | 18 |
| 19 | 19 | ### Description | 20 | 20 |
| |
Collapse file Copy file name to clipboardExpand all lines: deps/npm/docs/content/using-npm/config.md +20Lines changed: 20 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -345,6 +345,16 @@ Run git commit hooks when using the `npm version` command. | 345 | 345 |
| 346 | 346 |
| 347 | 347 |
| | 348 | +#### `cpu` | | 349 | + | | 350 | +* Default: null | | 351 | +* Type: null or String | | 352 | + | | 353 | +Override CPU architecture of native modules to install. Acceptable values | | 354 | +are same as `cpu` field of package.json, which comes from `process.arch`. | | 355 | + | | 356 | + | | 357 | + | 348 | 358 | #### `depth` | 349 | 359 |
| 350 | 360 | * Default: `Infinity` if `--all` is set, otherwise `1` | @@ -1038,6 +1048,16 @@ time. | 1038 | 1048 |
| 1039 | 1049 |
| 1040 | 1050 |
| | 1051 | +#### `os` | | 1052 | + | | 1053 | +* Default: null | | 1054 | +* Type: null or String | | 1055 | + | | 1056 | +Override OS of native modules to install. Acceptable values are same as `os` | | 1057 | +field of package.json, which comes from `process.platform`. | | 1058 | + | | 1059 | + | | 1060 | + | 1041 | 1061 | #### `otp` | 1042 | 1062 |
| 1043 | 1063 | * Default: null | |
Collapse file Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-install-test.html +15-1Lines changed: 15 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -142,7 +142,7 @@ <h1 id="npm-install-test">npm-install-test</h1> | 142 | 142 |
| 143 | 143 | <section id="table_of_contents"> | 144 | 144 | <h2 id="table-of-contents">Table of contents</h2> | 145 | | -<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div> | | 145 | +<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#cpu"><code>cpu</code></a></li><li><a href="#os"><code>os</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div> | 146 | 146 | </section> | 147 | 147 |
| 148 | 148 | <div id="_content"><h3 id="synopsis">Synopsis</h3> | @@ -327,6 +327,20 @@ <h4 id="dry-run"><code>dry-run</code></h4> | 327 | 327 | <code>dedupe</code>, <code>uninstall</code>, as well as <code>pack</code> and <code>publish</code>.</p> | 328 | 328 | <p>Note: This is NOT honored by other network related commands, eg <code>dist-tags</code>, | 329 | 329 | <code>owner</code>, etc.</p> | | 330 | +<h4 id="cpu"><code>cpu</code></h4> | | 331 | +<ul> | | 332 | +<li>Default: null</li> | | 333 | +<li>Type: null or String</li> | | 334 | +</ul> | | 335 | +<p>Override CPU architecture of native modules to install. Acceptable values | | 336 | +are same as <code>cpu</code> field of package.json, which comes from <code>process.arch</code>.</p> | | 337 | +<h4 id="os"><code>os</code></h4> | | 338 | +<ul> | | 339 | +<li>Default: null</li> | | 340 | +<li>Type: null or String</li> | | 341 | +</ul> | | 342 | +<p>Override OS of native modules to install. Acceptable values are same as <code>os</code> | | 343 | +field of package.json, which comes from <code>process.platform</code>.</p> | 330 | 344 | <h4 id="workspace"><code>workspace</code></h4> | 331 | 345 | <ul> | 332 | 346 | <li>Default:</li> | |
Collapse file Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-install.html +15-1Lines changed: 15 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -142,7 +142,7 @@ <h1 id="npm-install">npm-install</h1> | 142 | 142 |
| 143 | 143 | <section id="table_of_contents"> | 144 | 144 | <h2 id="table-of-contents">Table of contents</h2> | 145 | | -<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#algorithm">Algorithm</a></li><li><a href="#see-also">See Also</a></li></ul></div> | | 145 | +<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#cpu"><code>cpu</code></a></li><li><a href="#os"><code>os</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#algorithm">Algorithm</a></li><li><a href="#see-also">See Also</a></li></ul></div> | 146 | 146 | </section> | 147 | 147 |
| 148 | 148 | <div id="_content"><h3 id="synopsis">Synopsis</h3> | @@ -653,6 +653,20 @@ <h4 id="dry-run"><code>dry-run</code></h4> | 653 | 653 | <code>dedupe</code>, <code>uninstall</code>, as well as <code>pack</code> and <code>publish</code>.</p> | 654 | 654 | <p>Note: This is NOT honored by other network related commands, eg <code>dist-tags</code>, | 655 | 655 | <code>owner</code>, etc.</p> | | 656 | +<h4 id="cpu"><code>cpu</code></h4> | | 657 | +<ul> | | 658 | +<li>Default: null</li> | | 659 | +<li>Type: null or String</li> | | 660 | +</ul> | | 661 | +<p>Override CPU architecture of native modules to install. Acceptable values | | 662 | +are same as <code>cpu</code> field of package.json, which comes from <code>process.arch</code>.</p> | | 663 | +<h4 id="os"><code>os</code></h4> | | 664 | +<ul> | | 665 | +<li>Default: null</li> | | 666 | +<li>Type: null or String</li> | | 667 | +</ul> | | 668 | +<p>Override OS of native modules to install. Acceptable values are same as <code>os</code> | | 669 | +field of package.json, which comes from <code>process.platform</code>.</p> | 656 | 670 | <h4 id="workspace"><code>workspace</code></h4> | 657 | 671 | <ul> | 658 | 672 | <li>Default:</li> | |
Collapse file Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-ls.html +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -160,7 +160,7 @@ <h3 id="description">Description</h3> | 160 | 160 | the results to only the paths to the packages named. Note that nested | 161 | 161 | packages will <em>also</em> show the paths to the specified packages. For | 162 | 162 | example, running <code>npm ls promzard</code> in npm's source tree will show:</p> | 163 | | -<pre><code class="language-bash">npm@10.0.0 /path/to/npm | | 163 | +<pre><code class="language-bash">npm@10.1.0 /path/to/npm | 164 | 164 | | 165 | 165 | | 166 | 166 | </code></pre> | |
Collapse file Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm.html +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -150,7 +150,7 @@ <h2 id="table-of-contents">Table of contents</h2> | 150 | 150 | </code></pre> | 151 | 151 | <p>Note: This command is unaware of workspaces.</p> | 152 | 152 | <h3 id="version">Version</h3> | 153 | | -<p>10.0.0</p> | | 153 | +<p>10.1.0</p> | 154 | 154 | <h3 id="description">Description</h3> | 155 | 155 | <p>npm is the package manager for the Node JavaScript platform. It puts | 156 | 156 | modules in place so that node can find them, and manages dependency | |
|