Skip to content

Commit 3dfc632

Browse files
npm-robotjuanarbol
authored andcommitted
deps: upgrade npm to 8.9.0
PR-URL: #42968 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent a746943 commit 3dfc632

File tree

127 files changed

+666
-364
lines changed

Some content is hidden

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

127 files changed

+666
-364
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,6 @@ this warning is treated as a failure.
147147
If set to false, then ignore `package-lock.json` files when installing. This
148148
will also prevent _writing_ `package-lock.json` if `save` is true.
149149
150-
When package package-locks are disabled, automatic pruning of extraneous
151-
modules will also be disabled. To remove extraneous modules with
152-
package-locks disabled use `npm prune`.
153-
154150
This configuration does not affect `npm ci`.
155151
156152
<!-- automatically generated, do not edit manually -->

deps/npm/docs/content/commands/npm-find-dupes.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ this warning is treated as a failure.
8787
If set to false, then ignore `package-lock.json` files when installing. This
8888
will also prevent _writing_ `package-lock.json` if `save` is true.
8989

90-
When package package-locks are disabled, automatic pruning of extraneous
91-
modules will also be disabled. To remove extraneous modules with
92-
package-locks disabled use `npm prune`.
93-
9490
This configuration does not affect `npm ci`.
9591

9692
<!-- automatically generated, do not edit manually -->

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,6 @@ this warning is treated as a failure.
162162
If set to false, then ignore `package-lock.json` files when installing. This
163163
will also prevent _writing_ `package-lock.json` if `save` is true.
164164

165-
When package package-locks are disabled, automatic pruning of extraneous
166-
modules will also be disabled. To remove extraneous modules with
167-
package-locks disabled use `npm prune`.
168-
169165
This configuration does not affect `npm ci`.
170166

171167
<!-- automatically generated, do not edit manually -->

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,10 +552,6 @@ this warning is treated as a failure.
552552
If set to false, then ignore `package-lock.json` files when installing. This
553553
will also prevent _writing_ `package-lock.json` if `save` is true.
554554
555-
When package package-locks are disabled, automatic pruning of extraneous
556-
modules will also be disabled. To remove extraneous modules with
557-
package-locks disabled use `npm prune`.
558-
559555
This configuration does not affect `npm ci`.
560556
561557
<!-- automatically generated, do not edit manually -->

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,6 @@ this warning is treated as a failure.
224224
If set to false, then ignore `package-lock.json` files when installing. This
225225
will also prevent _writing_ `package-lock.json` if `save` is true.
226226

227-
When package package-locks are disabled, automatic pruning of extraneous
228-
modules will also be disabled. To remove extraneous modules with
229-
package-locks disabled use `npm prune`.
230-
231227
This configuration does not affect `npm ci`.
232228

233229
<!-- automatically generated, do not edit manually -->

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

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,52 @@ password, npm will prompt on the command line for one.
7373
<!-- automatically generated, do not edit manually -->
7474
<!-- see lib/utils/config/definitions.js -->
7575

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

78124
### See Also

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ Returned values are always in **json** format.
7676
npm pkg get contributors[0].email
7777
```
7878
79+
For complex fields you can also name a property in square brackets
80+
to specifically select a child field. This is especially helpful
81+
with the exports object:
82+
83+
```bash
84+
npm pkg get "exports[.].require"
85+
```
86+
7987
* `npm pkg set <field>=<value>`
8088
8189
Sets a `value` in your `package.json` based on the `field` value. When

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,6 @@ this warning is treated as a failure.
280280
If set to false, then ignore `package-lock.json` files when installing. This
281281
will also prevent _writing_ `package-lock.json` if `save` is true.
282282

283-
When package package-locks are disabled, automatic pruning of extraneous
284-
modules will also be disabled. To remove extraneous modules with
285-
package-locks disabled use `npm prune`.
286-
287283
This configuration does not affect `npm ci`.
288284

289285
<!-- automatically generated, do not edit manually -->

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,10 +1219,6 @@ The package to install for [`npm exec`](/commands/npm-exec)
12191219
If set to false, then ignore `package-lock.json` files when installing. This
12201220
will also prevent _writing_ `package-lock.json` if `save` is true.
12211221

1222-
When package package-locks are disabled, automatic pruning of extraneous
1223-
modules will also be disabled. To remove extraneous modules with
1224-
package-locks disabled use `npm prune`.
1225-
12261222
This configuration does not affect `npm ci`.
12271223

12281224
<!-- automatically generated, do not edit manually -->

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,6 @@ <h4 id="package-lock"><code>package-lock</code></h4>
253253
</ul>
254254
<p>If set to false, then ignore <code>package-lock.json</code> files when installing. This
255255
will also prevent <em>writing</em> <code>package-lock.json</code> if <code>save</code> is true.</p>
256-
<p>When package package-locks are disabled, automatic pruning of extraneous
257-
modules will also be disabled. To remove extraneous modules with
258-
package-locks disabled use <code>npm prune</code>.</p>
259256
<p>This configuration does not affect <code>npm ci</code>.</p>
260257
<!-- raw HTML omitted -->
261258
<!-- raw HTML omitted -->

0 commit comments

Comments
 (0)