Skip to content

Commit 2c7ffa0

Browse files
committed
deps: upgrade npm to 10.1.0
1 parent 7b72655 commit 2c7ffa0

File tree

517 files changed

+23952
-4082
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

517 files changed

+23952
-4082
lines changed

deps/npm/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99

1010
One of the following versions of [Node.js](https://nodejs.org/en/download/) must be installed to run **`npm`**:
1111

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
1514

1615
### Installation
1716

deps/npm/docs/content/commands/npm-install-test.md

+20
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`,
256256

257257

258258

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+
259279
#### `workspace`
260280

261281
* Default:

deps/npm/docs/content/commands/npm-install.md

+20
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`,
646646
647647
648648
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+
649669
#### `workspace`
650670
651671
* Default:

deps/npm/docs/content/commands/npm-ls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For
2727
example, running `npm ls promzard` in npm's source tree will show:
2828

2929
```bash
30-
npm@9.8.1 /path/to/npm
30+
npm@10.1.0 /path/to/npm
3131
└─┬ init-package-json@0.0.4
3232
└── promzard@0.1.5
3333
```

deps/npm/docs/content/commands/npm-pkg.md

-1
Original file line numberDiff line numberDiff line change
@@ -269,5 +269,4 @@ This value is not exported to the environment for child processes.
269269
* [npm install](/commands/npm-install)
270270
* [npm init](/commands/npm-init)
271271
* [npm config](/commands/npm-config)
272-
* [npm set-script](/commands/npm-set-script)
273272
* [workspaces](/using-npm/workspaces)

deps/npm/docs/content/commands/npm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.
1414

1515
### Version
1616

17-
9.8.1
17+
10.1.0
1818

1919
### Description
2020

deps/npm/docs/content/configuring-npm/package-json.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,10 @@ It should look like this:
9393

9494
```json
9595
{
96-
"url" : "https://github.com/owner/project/issues",
97-
"email" : "project@hostname.com"
96+
"bugs": {
97+
"url": "https://github.com/owner/project/issues",
98+
"email": "project@hostname.com"
99+
}
98100
}
99101
```
100102

@@ -285,6 +287,7 @@ Certain files are always included, regardless of settings:
285287
* `README`
286288
* `LICENSE` / `LICENCE`
287289
* The file in the "main" field
290+
* The file(s) in the "bin" field
288291

289292
`README` & `LICENSE` can have any case and extension.
290293

deps/npm/docs/content/using-npm/config.md

+20-28
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,16 @@ Run git commit hooks when using the `npm version` command.
345345

346346

347347

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+
348358
#### `depth`
349359

350360
* Default: `Infinity` if `--all` is set, otherwise `1`
@@ -1038,6 +1048,16 @@ time.
10381048

10391049

10401050

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+
10411061
#### `otp`
10421062

10431063
* Default: null
@@ -1775,20 +1795,6 @@ registry-scoped "certfile" path like
17751795

17761796

17771797

1778-
#### `ci-name`
1779-
1780-
* Default: The name of the current CI system, or `null` when not on a known CI
1781-
platform.
1782-
* Type: null or String
1783-
* DEPRECATED: This config is deprecated and will not be changeable in future
1784-
version of npm.
1785-
1786-
The name of a continuous integration system. If not set explicitly, npm will
1787-
detect the current CI environment using the
1788-
[`ci-info`](http://npm.im/ci-info) module.
1789-
1790-
1791-
17921798
#### `dev`
17931799

17941800
* Default: false
@@ -1949,20 +1955,6 @@ Alias for --package-lock
19491955

19501956

19511957

1952-
#### `tmp`
1953-
1954-
* Default: The value returned by the Node.js `os.tmpdir()` method
1955-
<https://nodejs.org/api/os.html#os_os_tmpdir>
1956-
* Type: Path
1957-
* DEPRECATED: This setting is no longer used. npm stores temporary files in a
1958-
special location in the cache, and they are managed by
1959-
[`cacache`](http://npm.im/cacache).
1960-
1961-
Historically, the location where temporary files were stored. No longer
1962-
relevant.
1963-
1964-
1965-
19661958
### See also
19671959

19681960
* [npm config](/commands/npm-config)

deps/npm/docs/output/commands/npm-install-test.html

+15-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h1 id="npm-install-test">npm-install-test</h1>
142142

143143
<section id="table_of_contents">
144144
<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>
146146
</section>
147147

148148
<div id="_content"><h3 id="synopsis">Synopsis</h3>
@@ -327,6 +327,20 @@ <h4 id="dry-run"><code>dry-run</code></h4>
327327
<code>dedupe</code>, <code>uninstall</code>, as well as <code>pack</code> and <code>publish</code>.</p>
328328
<p>Note: This is NOT honored by other network related commands, eg <code>dist-tags</code>,
329329
<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>
330344
<h4 id="workspace"><code>workspace</code></h4>
331345
<ul>
332346
<li>Default:</li>

deps/npm/docs/output/commands/npm-install.html

+15-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h1 id="npm-install">npm-install</h1>
142142

143143
<section id="table_of_contents">
144144
<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>
146146
</section>
147147

148148
<div id="_content"><h3 id="synopsis">Synopsis</h3>
@@ -653,6 +653,20 @@ <h4 id="dry-run"><code>dry-run</code></h4>
653653
<code>dedupe</code>, <code>uninstall</code>, as well as <code>pack</code> and <code>publish</code>.</p>
654654
<p>Note: This is NOT honored by other network related commands, eg <code>dist-tags</code>,
655655
<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>
656670
<h4 id="workspace"><code>workspace</code></h4>
657671
<ul>
658672
<li>Default:</li>

deps/npm/docs/output/commands/npm-ls.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ <h3 id="description">Description</h3>
160160
the results to only the paths to the packages named. Note that nested
161161
packages will <em>also</em> show the paths to the specified packages. For
162162
example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
163-
<pre><code class="language-bash">npm@9.8.1 /path/to/npm
163+
<pre><code class="language-bash">npm@10.1.0 /path/to/npm
164164
└─┬ init-package-json@0.0.4
165165
└── promzard@0.1.5
166166
</code></pre>

deps/npm/docs/output/commands/npm-pkg.html

-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ <h2 id="see-also">See Also</h2>
346346
<li><a href="../commands/npm-install.html">npm install</a></li>
347347
<li><a href="../commands/npm-init.html">npm init</a></li>
348348
<li><a href="../commands/npm-config.html">npm config</a></li>
349-
<li><a href="../commands/npm-set-script.html">npm set-script</a></li>
350349
<li><a href="../using-npm/workspaces.html">workspaces</a></li>
351350
</ul></div>
352351

deps/npm/docs/output/commands/npm.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ <h2 id="table-of-contents">Table of contents</h2>
150150
</code></pre>
151151
<p>Note: This command is unaware of workspaces.</p>
152152
<h3 id="version">Version</h3>
153-
<p>9.8.1</p>
153+
<p>10.1.0</p>
154154
<h3 id="description">Description</h3>
155155
<p>npm is the package manager for the Node JavaScript platform. It puts
156156
modules in place so that node can find them, and manages dependency

deps/npm/docs/output/configuring-npm/package-json.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,10 @@ <h3 id="bugs">bugs</h3>
211211
issues with your package.</p>
212212
<p>It should look like this:</p>
213213
<pre><code class="language-json">{
214-
"url" : "https://github.com/owner/project/issues",
215-
"email" : "project@hostname.com"
214+
"bugs": {
215+
"url": "https://github.com/owner/project/issues",
216+
"email": "project@hostname.com"
217+
}
216218
}
217219
</code></pre>
218220
<p>You can specify either one or both values. If you want to provide only a
@@ -359,6 +361,7 @@ <h3 id="files">files</h3>
359361
<li><code>README</code></li>
360362
<li><code>LICENSE</code> / <code>LICENCE</code></li>
361363
<li>The file in the "main" field</li>
364+
<li>The file(s) in the "bin" field</li>
362365
</ul>
363366
<p><code>README</code> &amp; <code>LICENSE</code> can have any case and extension.</p>
364367
<p>Conversely, some files are always ignored:</p>

0 commit comments

Comments
 (0)