Skip to content

Commit 33fe7f0

Browse files
committed
deps: upgrade npm to 7.16.0
1 parent 58bd046 commit 33fe7f0

File tree

255 files changed

+4502
-3275
lines changed

Some content is hidden

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

255 files changed

+4502
-3275
lines changed

‎deps/npm/.npmignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ docs/nav.yml
2727
docs/config.json
2828
docs/dockhand.js
2929
docs/template.html
30+
docs/package.json
31+
docs/node_modules
32+
# docs source files are required by `npm help-search` do not exclude those
33+
!docs/content/
3034

3135
# don't ignore .npmignore files
3236
# these are used in some tests.

‎deps/npm/AUTHORS‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,3 +777,9 @@ wangsai <[email protected]>
777777
Luke Hefson <[email protected]>
778778
779779
Juan Picado <[email protected]>
780+
Kevin Cormier <[email protected]>
781+
Nariyasu Heseri <[email protected]>
782+
783+
Spencer Wilson <[email protected]>
784+
Daniel Park <[email protected]>
785+
Daniel Park <[email protected]>

‎deps/npm/CHANGELOG.md‎

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,154 @@
1+
## v7.16.0 (2021-06-03)
2+
3+
## FEATURES
4+
5+
*[`e92b5f2ba`](https://github.com/npm/cli/commit/e92b5f2ba07746ae07646566f3dc73c9e004a2fc)
6+
7+
* feat: improved logging of cache status
8+
9+
## BUG FIXES
10+
11+
*[`e864bd3ce`](https://github.com/npm/cli/commit/e864bd3ce8e8467e0f8ebb499dc2daf06143bc33)
12+
[#3345](https://github.com/npm/cli/issues/3345)
13+
fix(update-notifier): do not update notify when installing npm@spec
14+
([@isaacs](https://github.com/isaacs))
15+
*[`aafe23572`](https://github.com/npm/cli/commit/aafe2357279230e333d3342752a28fce6b9cd152)
16+
[#3348](https://github.com/npm/cli/issues/3348)
17+
fix(update-notifier): parallelize check for updates
18+
([@isaacs](https://github.com/isaacs))
19+
20+
## DOCUMENTATION
21+
22+
*[`bc9c57dda`](https://github.com/npm/cli/commit/bc9c57dda7cf3abcdee17550205daf1a82e90438)
23+
[#3353](https://github.com/npm/cli/issues/3353)
24+
fix(docs): remove documentation for '--scripts-prepend-node-path' as it was removed in npm@7
25+
([@gimli01](https://github.com/gimli01))
26+
*[`ca2822110`](https://github.com/npm/cli/commit/ca28221103aa0e9ccba7043ac515a541b625c53a)
27+
[#3360](https://github.com/npm/cli/issues/3360)
28+
fix(docs): link foreground-scripts w/ loglevel
29+
([@wraithgar](https://github.com/wraithgar))
30+
*[`fb630b5a9`](https://github.com/npm/cli/commit/fb630b5a9af86c71602803297634ec291eeedee0)
31+
[#3342](https://github.com/npm/cli/issues/3342)
32+
chore(docs): manage docs as a workspace
33+
([@ruyadorno](https://github.com/ruyadorno))
34+
35+
## DEPENDENCIES
36+
37+
*[`54de5c6a4`](https://github.com/npm/cli/commit/54de5c6a4cd593bbbe364132f3f7348586441b31)
38+
39+
* fix: trim whitespace from fetchSpec
40+
* fix: handle file: when root directory begins with a special character
41+
*[`e92b5f2ba`](https://github.com/npm/cli/commit/e92b5f2ba07746ae07646566f3dc73c9e004a2fc)
42+
43+
* breaking: complete refactor of caching. drops warning headers,
44+
prevents cache indexes from growing for every request, correctly
45+
handles varied requests to the same url, and now caches redirects.
46+
* fix: support url-encoded proxy authorization
47+
* fix: do not lazy-load proxy agents or agentkeepalive. fixes the
48+
intermittent failures to update npm on slower connections.
49+
50+
* breaking: drop handling of deprecated warning headers
51+
* docs: fix header type for npm-command
52+
* docs: update registry param
53+
* feat: improved logging of cache status
54+
*[`23c50a45f`](https://github.com/npm/cli/commit/23c50a45f59ea3ed4c36f35df15e54adc5603034)
55+
56+
* fix: work around negotiator's lazy loading
57+
58+
## AUTOMATION
59+
60+
*[`c4ef78b08`](https://github.com/npm/cli/commit/c4ef78b08e6859fc191cabbe58c8d88c070e0612)
61+
[#3344](https://github.com/npm/cli/issues/3344)
62+
fix(automation): update incorrect variable name in create-cli-deps-pr workflow
63+
([@gimli01](https://github.com/gimli01))
64+
65+
## v7.15.1 (2021-05-31)
66+
67+
### BUG FIXES
68+
69+
*[`598a17a26`](https://github.com/npm/cli/commit/598a17a2671c9e3bc204dddd6488169c9a72c6a1)
70+
[#3329](https://github.com/npm/cli/issues/3329)
71+
fix(libnpmexec): don't detach output from npm
72+
([@wraithgar](https://github.com/wraithgar))
73+
74+
### DEPENDENCIES
75+
76+
*[`c4fc03e9e`](https://github.com/npm/cli/commit/c4fc03e9eb3a6386e8feacb67c19f0a1578dfe38)
77+
78+
* fixes reifying deps with mismatching version ranges between
79+
actual and virtual trees
80+
*[`9159fa62a`](https://github.com/npm/cli/commit/9159fa62a10dee09daef178fc7be161a02824004)
81+
82+
83+
## v7.15.0 (2021-05-27)
84+
85+
### FEATURES
86+
87+
*[`399ff8cbc`](https://github.com/npm/cli/commit/399ff8cbccd5198f637518ccafa86c43bab47a4a)
88+
[#3312](https://github.com/npm/cli/issues/3312)
89+
feat(link): add workspace support
90+
([@isaacs](https://github.com/isaacs))
91+
92+
### BUG FIXES
93+
94+
*[`46a9bcbcb`](https://github.com/npm/cli/commit/46a9bcbcb0bb2435dca6f45a61b8631f580c7f06)
95+
[#3282](https://github.com/npm/cli/issues/3282)
96+
fix(docs): proper postinstall script file name
97+
([@KevinFCormier](https://github.com/KevinFCormier))
98+
*[`83590d40f`](https://github.com/npm/cli/commit/83590d40f94347f21714dbd158b9ddcad9c82de9)
99+
[#3272](https://github.com/npm/cli/issues/3272)
100+
fix(ls): show relative paths from root
101+
([@isaacs](https://github.com/isaacs))
102+
*[`a574b518a`](https://github.com/npm/cli/commit/a574b518ae5b8f0664ed388cf1be6288d8c2e68d)
103+
[#3304](https://github.com/npm/cli/issues/3304)
104+
fix(completion): restore IFS even if `npm completion` returns error
105+
([@NariyasuHeseri](https://github.com/NariyasuHeseri))
106+
*[`554e8a5cd`](https://github.com/npm/cli/commit/554e8a5cd7034052a59a9ada31e4b8f73712211a)
107+
[#3311](https://github.com/npm/cli/issues/3311)
108+
set audit exit code properly
109+
([@isaacs](https://github.com/isaacs))
110+
*[`4a4fbe33c`](https://github.com/npm/cli/commit/4a4fbe33c51413adcd558b4af6f1e204b1b87e41)
111+
[#3268](https://github.com/npm/cli/issues/3268)
112+
[#3285](https://github.com/npm/cli/issues/3285)
113+
fix(publish): skip private workspaces
114+
([@ruyadorno](https://github.com/ruyadorno))
115+
116+
### DOCUMENTATION
117+
118+
*[`3c53d631f`](https://github.com/npm/cli/commit/3c53d631f557cf2484e2f6a6172c44e36aea4817)
119+
[#3307](https://github.com/npm/cli/issues/3307)
120+
fix(docs): typo in package-lock.json docs
121+
([@rethab](https://github.com/rethab))
122+
*[`96367f93f`](https://github.com/npm/cli/commit/96367f93f46c24494d084c8b8d34e4de9cd375da)
123+
rebuild npm-pack doc
124+
([@isaacs](https://github.com/isaacs))
125+
*[`64b13dd10`](https://github.com/npm/cli/commit/64b13dd1082b6ca7eac4e8e329bfdd8cd8daf157)
126+
[#3313](https://github.com/npm/cli/issues/3313)
127+
Drop stale Python 3<->node-gyp remark
128+
([@spencerwilson](https://github.com/spencerwilson))
129+
130+
### DEPENDENCIES
131+
132+
*[`7b56bfdf3`](https://github.com/npm/cli/commit/7b56bfdf3f2ac67a926fc7893b883a16b46eb3fd)
133+
134+
* feat: allow fully deleting indices
135+
* feat: add a validateEntry option to compact
136+
* chore: lint
137+
* chore: use standard npm style release scripts
138+
*[`dbbc151a3`](https://github.com/npm/cli/commit/dbbc151a3bcf89e2627dc267063edd185ead1cb8)
139+
140+
* fix(exit-code): account for null auditLevel default (#46)
141+
*[`5b2604507`](https://github.com/npm/cli/commit/5b26045076477d3d350f539e60adf48a80376fda)
142+
chore(package-lock): update devDependencies
143+
([@Gar](https://github.com/Gar))
144+
145+
### AUTOMATION
146+
147+
*[`3d5df0082`](https://github.com/npm/cli/commit/3d5df0082ae904dacdea8644286e8362d4a2ed50)
148+
[#3294](https://github.com/npm/cli/issues/3294)
149+
chore(ci): move node release PR workflow to cli repo
150+
([@gimli01](https://github.com/gimli01))
151+
1152
## v7.14.0 (2021-05-20)
2153

3154
### FEATURES

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,16 @@ relevant metadata by running `npm install <dep> --package-lock-only`.
9999
If you _want_ to save the `file:` reference in your `package.json` and
100100
`package-lock.json` files, you can use `npm link <dep> --save` to do so.
101101

102+
### Workspace Usage
103+
104+
`npm link <pkg> --workspace <name>` will link the relevant package as a
105+
dependency of the specified workspace(s). Note that It may actually be
106+
linked into the parent project's `node_modules` folder, if there are no
107+
conflicting dependencies.
108+
109+
`npm link --workspace <name>` will create a global link to the specified
110+
workspace(s).
111+
102112
### Configuration
103113

104114
<!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->
@@ -261,6 +271,38 @@ commands that modify your local installation, eg, `install`, `update`,
261271
Note: This is NOT honored by other network related commands, eg `dist-tags`,
262272
`owner`, etc.
263273

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+
264306
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
265307

266308
### See Also

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ commands that modify your local installation, eg, `install`, `update`,
2727
Note: This is NOT honored by other network related commands, eg `dist-tags`,
2828
`owner`, etc.
2929

30+
#### `json`
31+
32+
* Default: false
33+
* Type: Boolean
34+
35+
Whether or not to output JSON data, rather than the normal output.
36+
37+
Not supported by all npm commands.
38+
3039
#### `workspace`
3140

3241
* Default:

‎deps/npm/docs/content/commands/npm-run-script.md‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,7 @@ can use the `INIT_CWD` environment variable, which holds the full path you
7070
were in when you ran `npm run`.
7171

7272
`npm run` sets the `NODE` environment variable to the `node` executable
73-
with which `npm` is executed. Also, if the `--scripts-prepend-node-path` is
74-
passed, the directory within which `node` resides is added to the `PATH`.
75-
If `--scripts-prepend-node-path=auto` is passed (which has been the default
76-
in `npm` v3), this is only performed when that `node` executable is not
77-
found in the `PATH`.
73+
with which `npm` is executed.
7874

7975
If you try to run a script without having a `node_modules` directory and it
8076
fails, you will be given a warning to run `npm install`, just in case you've
@@ -138,7 +134,6 @@ npm test -w a -w b
138134
This last command will run `test` in both `./packages/a` and `./packages/b`
139135
packages.
140136

141-
142137
### Configuration
143138

144139
<!-- AUTOGENERATED CONFIG DESCRIPTIONS START -->

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,8 @@ requires compiling of C++ Code, npm will use
6262
[node-gyp](https://github.com/nodejs/node-gyp) for that task.
6363
For a Unix system, [node-gyp](https://github.com/nodejs/node-gyp)
6464
needs Python, make and a buildchain like GCC. On Windows,
65-
Python and Microsoft Visual Studio C++ are needed. Python 3 is
66-
not supported by [node-gyp](https://github.com/nodejs/node-gyp).
67-
For more information visit
68-
[the node-gyp repository](https://github.com/nodejs/node-gyp) and
65+
Python and Microsoft Visual Studio C++ are needed. For more information
66+
visit [the node-gyp repository](https://github.com/nodejs/node-gyp) and
6967
the [node-gyp Wiki](https://github.com/nodejs/node-gyp/wiki).
7068

7169
### Directories

‎deps/npm/docs/content/configuring-npm/package-lock-json.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ various purposes:
3636
Both of these files have the same format, and perform similar functions in
3737
the root of a project.
3838

39-
The difference is that `package-lock.json`is that it cannot be published,
40-
and it will be ignored if found in any place other than the root project.
39+
The difference is that `package-lock.json` cannot be published, and it will
40+
be ignored if found in any place other than the root project.
4141

4242
In contrast, [npm-shrinkwrap.json](/configuring-npm/npm-shrinkwrap-json) allows
4343
publication, and defines the dependency tree from the point encountered.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,8 @@ What level of logs to report. On failure, *all* logs are written to
776776
Any logs of a higher level than the setting are shown. The default is
777777
"notice".
778778

779+
See also the `foreground-scripts` config.
780+
779781
#### `logs-max`
780782

781783
* Default: 10

‎deps/npm/docs/content/using-npm/scripts.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ For example, if your package.json contains this:
304304
{
305305
"scripts" :{
306306
"install" : "scripts/install.js",
307-
"postinstall" : "scripts/postinstall.js",
307+
"postinstall" : "scripts/install.js",
308308
"uninstall" : "scripts/uninstall.js"
309309
}
310310
}

0 commit comments

Comments
(0)