Skip to content

Commit e69fc6f

Browse files
npm-cli+bot@github.comjuanarbol
npm-cli+bot@github.com
authored andcommitted
deps: upgrade npm to 8.10.0
PR-URL: #43061 Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
1 parent 4823c5e commit e69fc6f

File tree

102 files changed

+2072
-2146
lines changed

Some content is hidden

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

102 files changed

+2072
-2146
lines changed

deps/npm/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ If you're looking to manage multiple versions of **`node`** &/or **`npm`**, cons
3737
* [**`nodenv`**](https://github.com/nodenv/nodenv)
3838
* [**`asdf-nodejs`**](https://github.com/asdf-vm/asdf-nodejs)
3939
* [**`nvm-windows`**](https://github.com/coreybutler/nvm-windows)
40+
* [**`fnm`**](https://github.com/Schniz/fnm)
4041

4142
### Usage
4243

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

+63-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: Report bugs for a package in a web browser
1111
<!-- see lib/commands/bugs.js -->
1212

1313
```bash
14-
npm bugs [<pkgname>]
14+
npm bugs [<pkgname> [<pkgname> ...]]
1515

1616
alias: issues
1717
```
@@ -58,6 +58,68 @@ The base URL of the npm registry.
5858
<!-- automatically generated, do not edit manually -->
5959
<!-- see lib/utils/config/definitions.js -->
6060
61+
#### `workspace`
62+
63+
* Default:
64+
* Type: String (can be set multiple times)
65+
66+
Enable running a command in the context of the configured workspaces of the
67+
current project while filtering by running only the workspaces defined by
68+
this configuration option.
69+
70+
Valid values for the `workspace` config are either:
71+
72+
* Workspace names
73+
* Path to a workspace directory
74+
* Path to a parent workspace directory (will result in selecting all
75+
workspaces within that folder)
76+
77+
When set for the `npm init` command, this may be set to the folder of a
78+
workspace which does not yet exist, to create the folder and set it up as a
79+
brand new workspace within the project.
80+
81+
This value is not exported to the environment for child processes.
82+
83+
<!-- automatically generated, do not edit manually -->
84+
<!-- see lib/utils/config/definitions.js -->
85+
86+
#### `workspaces`
87+
88+
* Default: null
89+
* Type: null or Boolean
90+
91+
Set to true to run the command in the context of **all** configured
92+
workspaces.
93+
94+
Explicitly setting this to false will cause commands like `install` to
95+
ignore workspaces altogether. When not set explicitly:
96+
97+
- Commands that operate on the `node_modules` tree (install, update, etc.)
98+
will link workspaces into the `node_modules` folder. - Commands that do
99+
other things (test, exec, publish, etc.) will operate on the root project,
100+
_unless_ one or more workspaces are specified in the `workspace` config.
101+
102+
This value is not exported to the environment for child processes.
103+
104+
<!-- automatically generated, do not edit manually -->
105+
<!-- see lib/utils/config/definitions.js -->
106+
107+
#### `include-workspace-root`
108+
109+
* Default: false
110+
* Type: Boolean
111+
112+
Include the workspace root when workspaces are enabled for a command.
113+
114+
When false, specifying individual workspaces via the `workspace` config, or
115+
all workspaces via the `workspaces` flag, will cause npm to operate only on
116+
the specified workspaces, and not on the root project.
117+
118+
This value is not exported to the environment for child processes.
119+
120+
<!-- automatically generated, do not edit manually -->
121+
<!-- see lib/utils/config/definitions.js -->
122+
61123
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
62124
63125
### See Also

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

+10
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ Set to `true` to use default system URL opener.
4646
<!-- automatically generated, do not edit manually -->
4747
<!-- see lib/utils/config/definitions.js -->
4848
49+
#### `registry`
50+
51+
* Default: "https://registry.npmjs.org/"
52+
* Type: URL
53+
54+
The base URL of the npm registry.
55+
56+
<!-- automatically generated, do not edit manually -->
57+
<!-- see lib/utils/config/definitions.js -->
58+
4959
#### `workspace`
5060
5161
* Default:

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

+14
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,20 @@ false, it uses ascii characters instead of unicode glyphs.
6969
<!-- automatically generated, do not edit manually -->
7070
<!-- see lib/utils/config/definitions.js -->
7171

72+
#### `otp`
73+
74+
* Default: null
75+
* Type: null or String
76+
77+
This is a one-time password from a two-factor authenticator. It's needed
78+
when publishing or changing package permissions with `npm access`.
79+
80+
If not set, and a registry response fails with a challenge for a one-time
81+
password, npm will prompt on the command line for one.
82+
83+
<!-- automatically generated, do not edit manually -->
84+
<!-- see lib/utils/config/definitions.js -->
85+
7286
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
7387

7488
### See Also

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

+14
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ The following shorthands are parsed on the command-line:
6868
* `--desc`: `--description`
6969
* `-f`: `--force`
7070
* `-g`: `--global`
71+
* `--iwr`: `--include-workspace-root`
7172
* `-L`: `--location`
7273
* `-d`: `--loglevel info`
7374
* `-s`: `--loglevel silent`
@@ -1177,6 +1178,19 @@ variable will be set to `'production'` for all lifecycle scripts.
11771178
<!-- automatically generated, do not edit manually -->
11781179
<!-- see lib/utils/config/definitions.js -->
11791180

1181+
#### `omit-lockfile-registry-resolved`
1182+
1183+
* Default: false
1184+
* Type: Boolean
1185+
1186+
This option causes npm to create lock files without a `resolved` key for
1187+
registry dependencies. Subsequent installs will need to resolve tarball
1188+
endpoints with the configured registry, likely resulting in a longer install
1189+
time.
1190+
1191+
<!-- automatically generated, do not edit manually -->
1192+
<!-- see lib/utils/config/definitions.js -->
1193+
11801194
#### `otp`
11811195

11821196
* Default: null

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

+53-2
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,14 @@ <h1 id="npm-bugs">npm-bugs</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="#browser"><code>browser</code></a></li><li><a href="#registry"><code>registry</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="#browser"><code>browser</code></a></li><li><a href="#registry"><code>registry</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></ul><li><a href="#see-also">See Also</a></li></ul></div>
146146
</section>
147147

148148
<div id="_content"><h3 id="synopsis">Synopsis</h3>
149149
<!-- raw HTML omitted -->
150150
<!-- raw HTML omitted -->
151151
<!-- raw HTML omitted -->
152-
<pre lang="bash"><code>npm bugs [&lt;pkgname&gt;]
152+
<pre lang="bash"><code>npm bugs [&lt;pkgname&gt; [&lt;pkgname&gt; ...]]
153153

154154
alias: issues
155155
</code></pre>
@@ -184,6 +184,57 @@ <h4 id="registry"><code>registry</code></h4>
184184
<p>The base URL of the npm registry.</p>
185185
<!-- raw HTML omitted -->
186186
<!-- raw HTML omitted -->
187+
<h4 id="workspace"><code>workspace</code></h4>
188+
<ul>
189+
<li>Default:</li>
190+
<li>Type: String (can be set multiple times)</li>
191+
</ul>
192+
<p>Enable running a command in the context of the configured workspaces of the
193+
current project while filtering by running only the workspaces defined by
194+
this configuration option.</p>
195+
<p>Valid values for the <code>workspace</code> config are either:</p>
196+
<ul>
197+
<li>Workspace names</li>
198+
<li>Path to a workspace directory</li>
199+
<li>Path to a parent workspace directory (will result in selecting all
200+
workspaces within that folder)</li>
201+
</ul>
202+
<p>When set for the <code>npm init</code> command, this may be set to the folder of a
203+
workspace which does not yet exist, to create the folder and set it up as a
204+
brand new workspace within the project.</p>
205+
<p>This value is not exported to the environment for child processes.</p>
206+
<!-- raw HTML omitted -->
207+
<!-- raw HTML omitted -->
208+
<h4 id="workspaces"><code>workspaces</code></h4>
209+
<ul>
210+
<li>Default: null</li>
211+
<li>Type: null or Boolean</li>
212+
</ul>
213+
<p>Set to true to run the command in the context of <strong>all</strong> configured
214+
workspaces.</p>
215+
<p>Explicitly setting this to false will cause commands like <code>install</code> to
216+
ignore workspaces altogether. When not set explicitly:</p>
217+
<ul>
218+
<li>Commands that operate on the <code>node_modules</code> tree (install, update, etc.)
219+
will link workspaces into the <code>node_modules</code> folder. - Commands that do
220+
other things (test, exec, publish, etc.) will operate on the root project,
221+
<em>unless</em> one or more workspaces are specified in the <code>workspace</code> config.</li>
222+
</ul>
223+
<p>This value is not exported to the environment for child processes.</p>
224+
<!-- raw HTML omitted -->
225+
<!-- raw HTML omitted -->
226+
<h4 id="include-workspace-root"><code>include-workspace-root</code></h4>
227+
<ul>
228+
<li>Default: false</li>
229+
<li>Type: Boolean</li>
230+
</ul>
231+
<p>Include the workspace root when workspaces are enabled for a command.</p>
232+
<p>When false, specifying individual workspaces via the <code>workspace</code> config, or
233+
all workspaces via the <code>workspaces</code> flag, will cause npm to operate only on
234+
the specified workspaces, and not on the root project.</p>
235+
<p>This value is not exported to the environment for child processes.</p>
236+
<!-- raw HTML omitted -->
237+
<!-- raw HTML omitted -->
187238
<!-- raw HTML omitted -->
188239
<h3 id="see-also">See Also</h3>
189240
<ul>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ <h3 id="description">Description</h3>
166166
the results to only the paths to the packages named. Note that nested
167167
packages will <em>also</em> show the paths to the specified packages. For
168168
example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
169-
<pre lang="bash"><code>npm@8.9.0 /path/to/npm
169+
<pre lang="bash"><code>npm@8.10.0 /path/to/npm
170170
└─┬ init-package-json@0.0.4
171171
└── promzard@0.1.5
172172
</code></pre>

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

+9-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h1 id="npm-repo">npm-repo</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="#browser"><code>browser</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></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="#browser"><code>browser</code></a></li><li><a href="#registry"><code>registry</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></ul><li><a href="#see-also">See Also</a></li></ul></div>
146146
</section>
147147

148148
<div id="_content"><h3 id="synopsis">Synopsis</h3>
@@ -174,6 +174,14 @@ <h4 id="browser"><code>browser</code></h4>
174174
<p>Set to <code>true</code> to use default system URL opener.</p>
175175
<!-- raw HTML omitted -->
176176
<!-- raw HTML omitted -->
177+
<h4 id="registry"><code>registry</code></h4>
178+
<ul>
179+
<li>Default: "<a href="https://registry.npmjs.org/">https://registry.npmjs.org/</a>"</li>
180+
<li>Type: URL</li>
181+
</ul>
182+
<p>The base URL of the npm registry.</p>
183+
<!-- raw HTML omitted -->
184+
<!-- raw HTML omitted -->
177185
<h4 id="workspace"><code>workspace</code></h4>
178186
<ul>
179187
<li>Default:</li>

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

+12-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ <h1 id="npm-star">npm-star</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="#more">More</a></li><ul><li><a href="#unstar">Unstar</a></li><li><a href="#listing-stars">Listing stars</a></li></ul><li><a href="#configuration">Configuration</a></li><ul><li><a href="#registry"><code>registry</code></a></li><li><a href="#unicode"><code>unicode</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="#more">More</a></li><ul><li><a href="#unstar">Unstar</a></li><li><a href="#listing-stars">Listing stars</a></li></ul><li><a href="#configuration">Configuration</a></li><ul><li><a href="#registry"><code>registry</code></a></li><li><a href="#unicode"><code>unicode</code></a></li><li><a href="#otp"><code>otp</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>
@@ -188,6 +188,17 @@ <h4 id="unicode"><code>unicode</code></h4>
188188
false, it uses ascii characters instead of unicode glyphs.</p>
189189
<!-- raw HTML omitted -->
190190
<!-- raw HTML omitted -->
191+
<h4 id="otp"><code>otp</code></h4>
192+
<ul>
193+
<li>Default: null</li>
194+
<li>Type: null or String</li>
195+
</ul>
196+
<p>This is a one-time password from a two-factor authenticator. It's needed
197+
when publishing or changing package permissions with <code>npm access</code>.</p>
198+
<p>If not set, and a registry response fails with a challenge for a one-time
199+
password, npm will prompt on the command line for one.</p>
200+
<!-- raw HTML omitted -->
201+
<!-- raw HTML omitted -->
191202
<!-- raw HTML omitted -->
192203
<h3 id="see-also">See Also</h3>
193204
<ul>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ <h2 id="table-of-contents">Table of contents</h2>
149149
<!-- raw HTML omitted -->
150150
<!-- raw HTML omitted -->
151151
<h3 id="version">Version</h3>
152-
<p>8.9.0</p>
152+
<p>8.10.0</p>
153153
<h3 id="description">Description</h3>
154154
<p>npm is the package manager for the Node JavaScript platform. It puts
155155
modules in place so that node can find them, and manages dependency

0 commit comments

Comments
 (0)