deps: upgrade npm to 11.15.0 · nodejs/node@e286fa1 · GitHub
Skip to content

Commit e286fa1

Browse files
npm-cli-botaduh95
authored andcommitted
deps: upgrade npm to 11.15.0
PR-URL: #63463 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jordan Harband <ljharb@gmail.com>
1 parent 69dfadf commit e286fa1

311 files changed

Lines changed: 9995 additions & 1231 deletions

File tree

Some content is hidden

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

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

Lines changed: 57 additions & 2 deletions

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

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,42 @@ run any pre- or post-scripts.
184184
185185
186186
187+
#### `allow-directory`
188+
189+
* Default: "all"
190+
* Type: "all", "none", or "root"
191+
192+
Limits the ability for npm to install dependencies from directories. That
193+
is, dependencies that point to a directory instead of a version or semver
194+
range. Please note that this could leave your tree incomplete and some
195+
packages may not function as intended or designed. Changing this setting
196+
will not remove dependencies that are already installed.
197+
198+
`all` allows any directories to be installed. `none` prevents any
199+
directories from being installed. `root` only allows directories defined in
200+
your project's package.json to be installed. Also allows directory
201+
dependencies to be used for other commands like `npm view`
202+
203+
204+
205+
#### `allow-file`
206+
207+
* Default: "all"
208+
* Type: "all", "none", or "root"
209+
210+
Limits the ability for npm to install dependencies from tarball files. That
211+
is, dependencies that point to a local tarball file instead of a version or
212+
semver range. Please note that this could leave your tree incomplete and
213+
some packages may not function as intended or designed. Changing this
214+
setting will not remove dependencies that are already installed.
215+
216+
`all` allows any tarball file to be installed. `none` prevents any tarball
217+
file from being installed. `root` only allows tarball files defined in your
218+
project's package.json to be installed. Also allows tarball file
219+
dependencies to be used for other commands like `npm view`
220+
221+
222+
187223
#### `allow-git`
188224
189225
* Default: "all"
@@ -192,12 +228,31 @@ run any pre- or post-scripts.
192228
Limits the ability for npm to fetch dependencies from git references. That
193229
is, dependencies that point to a git repo instead of a version or semver
194230
range. Please note that this could leave your tree incomplete and some
195-
packages may not function as intended or designed.
231+
packages may not function as intended or designed. Changing this setting
232+
will not remove dependencies that are already installed.
196233
197234
`all` allows any git dependencies to be fetched and installed. `none`
198235
prevents any git dependencies from being fetched and installed. `root` only
199236
allows git dependencies defined in your project's package.json to be fetched
200-
installed. Also allows git dependencies to be fetched for other commands
237+
and installed. Also allows git dependencies to be fetched for other commands
238+
like `npm view`
239+
240+
241+
242+
#### `allow-remote`
243+
244+
* Default: "all"
245+
* Type: "all", "none", or "root"
246+
247+
Limits the ability for npm to fetch dependencies from urls. That is,
248+
dependencies that point to a tarball url instead of a version or semver
249+
range. Please note that this could leave your tree incomplete and some
250+
packages may not function as intended or designed. Changing this setting
251+
will not remove dependencies that are already installed.
252+
253+
`all` allows any url to be installed. `none` prevents any url from being
254+
installed. `root` only allows urls defined in your project's package.json to
255+
be installed. Also allows url dependencies to be used for other commands
201256
like `npm view`
202257
203258

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

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,42 @@ run any pre- or post-scripts.
142142

143143

144144

145+
#### `allow-directory`
146+
147+
* Default: "all"
148+
* Type: "all", "none", or "root"
149+
150+
Limits the ability for npm to install dependencies from directories. That
151+
is, dependencies that point to a directory instead of a version or semver
152+
range. Please note that this could leave your tree incomplete and some
153+
packages may not function as intended or designed. Changing this setting
154+
will not remove dependencies that are already installed.
155+
156+
`all` allows any directories to be installed. `none` prevents any
157+
directories from being installed. `root` only allows directories defined in
158+
your project's package.json to be installed. Also allows directory
159+
dependencies to be used for other commands like `npm view`
160+
161+
162+
163+
#### `allow-file`
164+
165+
* Default: "all"
166+
* Type: "all", "none", or "root"
167+
168+
Limits the ability for npm to install dependencies from tarball files. That
169+
is, dependencies that point to a local tarball file instead of a version or
170+
semver range. Please note that this could leave your tree incomplete and
171+
some packages may not function as intended or designed. Changing this
172+
setting will not remove dependencies that are already installed.
173+
174+
`all` allows any tarball file to be installed. `none` prevents any tarball
175+
file from being installed. `root` only allows tarball files defined in your
176+
project's package.json to be installed. Also allows tarball file
177+
dependencies to be used for other commands like `npm view`
178+
179+
180+
145181
#### `allow-git`
146182

147183
* Default: "all"
@@ -150,12 +186,31 @@ run any pre- or post-scripts.
150186
Limits the ability for npm to fetch dependencies from git references. That
151187
is, dependencies that point to a git repo instead of a version or semver
152188
range. Please note that this could leave your tree incomplete and some
153-
packages may not function as intended or designed.
189+
packages may not function as intended or designed. Changing this setting
190+
will not remove dependencies that are already installed.
154191

155192
`all` allows any git dependencies to be fetched and installed. `none`
156193
prevents any git dependencies from being fetched and installed. `root` only
157194
allows git dependencies defined in your project's package.json to be fetched
158-
installed. Also allows git dependencies to be fetched for other commands
195+
and installed. Also allows git dependencies to be fetched for other commands
196+
like `npm view`
197+
198+
199+
200+
#### `allow-remote`
201+
202+
* Default: "all"
203+
* Type: "all", "none", or "root"
204+
205+
Limits the ability for npm to fetch dependencies from urls. That is,
206+
dependencies that point to a tarball url instead of a version or semver
207+
range. Please note that this could leave your tree incomplete and some
208+
packages may not function as intended or designed. Changing this setting
209+
will not remove dependencies that are already installed.
210+
211+
`all` allows any url to be installed. `none` prevents any url from being
212+
installed. `root` only allows urls defined in your project's package.json to
213+
be installed. Also allows url dependencies to be used for other commands
159214
like `npm view`
160215

161216

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

Lines changed: 69 additions & 6 deletions

0 commit comments

Comments
 (0)