Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e8192b5

Browse filesBrowse files
ruyadornodanielleadams
authored andcommitted
deps: upgrade npm to 7.14.0
PR-URL: #38750 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 61c95f0 commit e8192b5
Copy full SHA for e8192b5

File tree

Expand file treeCollapse file tree

283 files changed

+13401
-3388
lines changed
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

283 files changed

+13401
-3388
lines changed
Open diff view settings
Collapse file

‎deps/npm/AUTHORS‎

Copy file name to clipboardExpand all lines: deps/npm/AUTHORS
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,3 +776,4 @@ Marco Sirabella <marco@sirabella.org>
776776
wangsai <wangsai@bootcss.com>
777777
Luke Hefson <luke@github.com>
778778
mrmlnc <mrmlnc@yandex-team.ru>
779+
Juan Picado <juanpicado19@gmail.com>
Collapse file

‎deps/npm/CHANGELOG.md‎

Copy file name to clipboardExpand all lines: deps/npm/CHANGELOG.md
+53Lines changed: 53 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,58 @@
1+
## v7.14.0 (2021-05-20)
2+
3+
### FEATURES
4+
5+
* [`0d1a9d787`](https://github.com/npm/cli/commit/0d1a9d78779dc015242fc03d2dad2039004fa2df)
6+
[#3227](https://github.com/npm/cli/issues/3227)
7+
feat(install): add workspaces support to npm install commands
8+
([@isaacs](https://github.com/isaacs))
9+
* [`c18626f04`](https://github.com/npm/cli/commit/c18626f047e3a0fedd3c86554a4a0a8f27925e77)
10+
[#3250](https://github.com/npm/cli/issues/3250)
11+
feat(ls): add workspaces support
12+
([@ruyadorno](https://github.com/ruyadorno))
13+
* [`41099d395`](https://github.com/npm/cli/commit/41099d3958d08f166313b7eb69b76458f8f9224c)
14+
[#3265](https://github.com/npm/cli/issues/3265)
15+
feat(explain): add workspaces support
16+
([@ruyadorno](https://github.com/ruyadorno))
17+
* [`fde354669`](https://github.com/npm/cli/commit/fde35466915b5ac5958c827fa7e919e1f186db51)
18+
[#3251](https://github.com/npm/cli/issues/3251)
19+
feat(unpublish): add workspace/dry-run support
20+
([@wraithgar](https://github.com/wraithgar))
21+
* [`83df3666c`](https://github.com/npm/cli/commit/83df3666cd82819230fb45f2a40afd531fe3b3c7)
22+
[#3260](https://github.com/npm/cli/issues/3260)
23+
feat(outdated): add workspaces support
24+
([@ruyadorno](https://github.com/ruyadorno))
25+
* [`63a7635f7`](https://github.com/npm/cli/commit/63a7635f7a2225a4edd1fe92f94a563965ac06c7)
26+
[#3217](https://github.com/npm/cli/issues/3217)
27+
feat(pack): add support to json config/output
28+
([@mrmlnc](https://github.com/mrmlnc))
29+
30+
### BUG FIXES
31+
32+
* [`faa12ccc2`](https://github.com/npm/cli/commit/faa12ccc26b5f0790f79b2589780e536f4284491)
33+
[#3253](https://github.com/npm/cli/issues/3253)
34+
fix search description typos
35+
([@juanpicado](https://github.com/juanpicado))
36+
* [`2f5c28a68`](https://github.com/npm/cli/commit/2f5c28a68719e948d2efedf463ebcb35972aaefb)
37+
[#3243](https://github.com/npm/cli/issues/3243)
38+
fix(docs): autogenerate config docs for commands
39+
([@isaacs](https://github.com/isaacs))
40+
41+
### DEPENDENCIES
42+
43+
* [`ec256a14a`](https://github.com/npm/cli/commit/ec256a14aa6eb2bd59fd55dcc6a4bc0148662c4e)
44+
`@npmcli/arborist@2.6.0`
45+
* [`5f15aba86`](https://github.com/npm/cli/commit/5f15aba866026e7c0d6844e6c07a528dc7454f14)
46+
`cacache@15.1.0`
47+
* [`b3add87e6`](https://github.com/npm/cli/commit/b3add87e686968b7af3067c685d2561baf90e397)
48+
[#3262](https://github.com/npm/cli/pull/3262)
49+
`npm-registry-client@10.1.2`:
50+
* fixed sso login token
51+
152
## v7.13.0 (2021-05-13)
253

54+
### FEATURES
55+
356
* [`076420c14`](https://github.com/npm/cli/commit/076420c149d097056f687e44e21744b743b86e4e)
457
[#3231](https://github.com/npm/cli/issues/3231)
558
feat(publish): add workspace support
Collapse file

‎deps/npm/docs/content/commands/npm-access.md‎

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-access.md
+24Lines changed: 24 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,30 @@ fail with an HTTP 402 status code (logically enough), unless you use
8181
8282
Management of teams and team memberships is done with the `npm team` command.
8383
84+
### Configuration
85+
86+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->
87+
<!-- automatically generated, do not edit manually -->
88+
#### `registry`
89+
90+
* Default: "https://registry.npmjs.org/"
91+
* Type: URL
92+
93+
The base URL of the npm registry.
94+
95+
#### `otp`
96+
97+
* Default: null
98+
* Type: null or String
99+
100+
This is a one-time password from a two-factor authenticator. It's needed
101+
when publishing or changing package permissions with `npm access`.
102+
103+
If not set, and a registry response fails with a challenge for a one-time
104+
password, npm will prompt on the command line for one.
105+
106+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
107+
84108
### See Also
85109
86110
* [`libnpmaccess`](https://npm.im/libnpmaccess)
Collapse file

‎deps/npm/docs/content/commands/npm-adduser.md‎

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-adduser.md
+31-20Lines changed: 31 additions & 20 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -35,37 +35,46 @@ your existing record.
3535

3636
### Configuration
3737

38-
#### registry
38+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->
39+
<!-- automatically generated, do not edit manually -->
40+
#### `registry`
3941

40-
Default: https://registry.npmjs.org/
42+
* Default: "https://registry.npmjs.org/"
43+
* Type: URL
4144

42-
The base URL of the npm package registry. If `scope` is also specified,
43-
this registry will only be used for packages with that scope. `scope` defaults
44-
to the scope of the project directory you're currently in, if any. See [`scope`](/using-npm/scope).
45+
The base URL of the npm registry.
4546

46-
#### scope
47+
#### `scope`
4748

48-
Default: none
49+
* Default: the scope of the current project, if any, or ""
50+
* Type: String
4951

50-
If specified, the user and login credentials given will be associated
51-
with the specified scope. See [`scope`](/using-npm/scope). You can use both at the same time,
52-
e.g.
52+
Associate an operation with a scope for a scoped registry.
5353

54-
```bash
55-
npm adduser --registry=http://myregistry.example.com --scope=@myco
54+
Useful when logging in to or out of a private registry:
55+
56+
```
57+
# log in, linking the scope to the custom registry
58+
npm login --scope=@mycorp --registry=https://registry.mycorp.com
59+
60+
# log out, removing the link and the auth token
61+
npm logout --scope=@mycorp
5662
```
5763

58-
This will set a registry for the given scope and login or create a user for
59-
that registry at the same time.
64+
This will cause `@mycorp` to be mapped to the registry for future
65+
installation of packages specified according to the pattern
66+
`@mycorp/package`.
6067

61-
#### auth-type
68+
This will also cause `npm init` to create a scoped package.
69+
70+
```
71+
# accept all defaults, and create a package named "@foo/whatever",
72+
# instead of just named "whatever"
73+
npm init --scope=@foo --yes
74+
```
6275

63-
* Default: `'legacy'`
64-
* Type: `'legacy'`, `'sso'`, `'saml'`, `'oauth'`
6576

66-
What authentication strategy to use with `adduser`/`login`. Some npm registries
67-
(for example, npmE) might support alternative auth strategies besides classic
68-
username/password entry in legacy npm.
77+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
6978

7079
### See Also
7180

@@ -74,3 +83,5 @@ username/password entry in legacy npm.
7483
* [npmrc](/configuring-npm/npmrc)
7584
* [npm owner](/commands/npm-owner)
7685
* [npm whoami](/commands/npm-whoami)
86+
* [npm token](/commands/npm-token)
87+
* [npm profile](/commands/npm-profile)
Collapse file

‎deps/npm/docs/content/commands/npm-audit.md‎

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-audit.md
+118Lines changed: 118 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,124 @@ Fail an audit only if the results include a vulnerability with a level of modera
187187
$ npm audit --audit-level=moderate
188188
```
189189

190+
### Configuration
191+
192+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->
193+
<!-- automatically generated, do not edit manually -->
194+
#### `audit-level`
195+
196+
* Default: null
197+
* Type: null, "info", "low", "moderate", "high", "critical", or "none"
198+
199+
The minimum level of vulnerability for `npm audit` to exit with a non-zero
200+
exit code.
201+
202+
#### `dry-run`
203+
204+
* Default: false
205+
* Type: Boolean
206+
207+
Indicates that you don't want npm to make any changes and that it should
208+
only report what it would have done. This can be passed into any of the
209+
commands that modify your local installation, eg, `install`, `update`,
210+
`dedupe`, `uninstall`, as well as `pack` and `publish`.
211+
212+
Note: This is NOT honored by other network related commands, eg `dist-tags`,
213+
`owner`, etc.
214+
215+
#### `force`
216+
217+
* Default: false
218+
* Type: Boolean
219+
220+
Removes various protections against unfortunate side effects, common
221+
mistakes, unnecessary performance degradation, and malicious input.
222+
223+
* Allow clobbering non-npm files in global installs.
224+
* Allow the `npm version` command to work on an unclean git repository.
225+
* Allow deleting the cache folder with `npm cache clean`.
226+
* Allow installing packages that have an `engines` declaration requiring a
227+
different version of npm.
228+
* Allow installing packages that have an `engines` declaration requiring a
229+
different version of `node`, even if `--engine-strict` is enabled.
230+
* Allow `npm audit fix` to install modules outside your stated dependency
231+
range (including SemVer-major changes).
232+
* Allow unpublishing all versions of a published package.
233+
* Allow conflicting peerDependencies to be installed in the root project.
234+
* Implicitly set `--yes` during `npm init`.
235+
236+
If you don't have a clear idea of what you want to do, it is strongly
237+
recommended that you do not use this option!
238+
239+
#### `json`
240+
241+
* Default: false
242+
* Type: Boolean
243+
244+
Whether or not to output JSON data, rather than the normal output.
245+
246+
Not supported by all npm commands.
247+
248+
#### `package-lock-only`
249+
250+
* Default: false
251+
* Type: Boolean
252+
253+
If set to true, it will update only the `package-lock.json`, instead of
254+
checking `node_modules` and downloading dependencies.
255+
256+
#### `omit`
257+
258+
* Default: 'dev' if the `NODE_ENV` environment variable is set to
259+
'production', otherwise empty.
260+
* Type: "dev", "optional", or "peer" (can be set multiple times)
261+
262+
Dependency types to omit from the installation tree on disk.
263+
264+
Note that these dependencies _are_ still resolved and added to the
265+
`package-lock.json` or `npm-shrinkwrap.json` file. They are just not
266+
physically installed on disk.
267+
268+
If a package type appears in both the `--include` and `--omit` lists, then
269+
it will be included.
270+
271+
If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment
272+
variable will be set to `'production'` for all lifecycle scripts.
273+
274+
#### `workspace`
275+
276+
* Default:
277+
* Type: String (can be set multiple times)
278+
279+
Enable running a command in the context of the configured workspaces of the
280+
current project while filtering by running only the workspaces defined by
281+
this configuration option.
282+
283+
Valid values for the `workspace` config are either:
284+
285+
* Workspace names
286+
* Path to a workspace directory
287+
* Path to a parent workspace directory (will result to selecting all of the
288+
nested workspaces)
289+
290+
When set for the `npm init` command, this may be set to the folder of a
291+
workspace which does not yet exist, to create the folder and set it up as a
292+
brand new workspace within the project.
293+
294+
This value is not exported to the environment for child processes.
295+
296+
#### `workspaces`
297+
298+
* Default: false
299+
* Type: Boolean
300+
301+
Enable running a command in the context of **all** the configured
302+
workspaces.
303+
304+
This value is not exported to the environment for child processes.
305+
306+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
307+
190308
### See Also
191309

192310
* [npm install](/commands/npm-install)
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-bin.md
+20Lines changed: 20 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,26 @@ Note: This command is unaware of workspaces.
1616

1717
Print the folder where npm will install executables.
1818

19+
### Configuration
20+
21+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->
22+
<!-- automatically generated, do not edit manually -->
23+
#### `global`
24+
25+
* Default: false
26+
* Type: Boolean
27+
28+
Operates in "global" mode, so that packages are installed into the `prefix`
29+
folder instead of the current working directory. See
30+
[folders](/configuring-npm/folders) for more on the differences in behavior.
31+
32+
* packages are installed into the `{prefix}/lib/node_modules` folder, instead
33+
of the current working directory.
34+
* bin files are linked to `{prefix}/bin`
35+
* man pages are linked to `{prefix}/share/man`
36+
37+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
38+
1939
### See Also
2040

2141
* [npm prefix](/commands/npm-prefix)
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-bugs.md
+11-7Lines changed: 11 additions & 7 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,28 @@ will search for a `package.json` in the current folder and use the `name` proper
2121
2222
### Configuration
2323
24-
#### browser
24+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->
25+
<!-- automatically generated, do not edit manually -->
26+
#### `browser`
2527
2628
* Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"`
27-
* Type: String or Boolean
29+
* Type: null, Boolean, or String
2830
29-
The browser that is called by the `npm bugs` command to open websites.
31+
The browser that is called by npm commands to open websites.
3032
3133
Set to `false` to suppress browser behavior and instead print urls to
3234
terminal.
3335
3436
Set to `true` to use default system URL opener.
3537
36-
#### registry
38+
#### `registry`
3739
38-
* Default: https://registry.npmjs.org/
39-
* Type: url
40+
* Default: "https://registry.npmjs.org/"
41+
* Type: URL
4042
41-
The base URL of the npm package registry.
43+
The base URL of the npm registry.
44+
45+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
4246
4347
### See Also
4448
Collapse file

‎deps/npm/docs/content/commands/npm-cache.md‎

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-cache.md
+9-3Lines changed: 9 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,17 @@ verify`.
7575

7676
### Configuration
7777

78-
#### cache
78+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->
79+
<!-- automatically generated, do not edit manually -->
80+
#### `cache`
7981

80-
Default: `~/.npm` on Posix, or `%AppData%/npm-cache` on Windows.
82+
* Default: Windows: `%LocalAppData%\npm-cache`, Posix: `~/.npm`
83+
* Type: Path
8184

82-
The root cache folder.
85+
The location of npm's cache directory. See [`npm
86+
cache`](/commands/npm-cache)
87+
88+
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
8389

8490
### See Also
8591

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.