Skip to content

Commit 42db72f

Browse files
npm-robotnlf
authored andcommitted
deps: upgrade npm to 7.16.0
1 parent e7f941c commit 42db72f

File tree

175 files changed

+2913
-2469
lines changed

Some content is hidden

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

175 files changed

+2913
-2469
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/CHANGELOG.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,67 @@
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+
165
## v7.15.1 (2021-05-31)
266

367
### BUG FIXES

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/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/output/commands/npm-ls.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ <h3 id="description">Description</h3>
159159
the results to only the paths to the packages named. Note that nested
160160
packages will <em>also</em> show the paths to the specified packages. For
161161
example, running <code>npm ls promzard</code> in npm’s source tree will show:</p>
162-
<pre lang="bash"><code>npm@7.15.1 /path/to/npm
162+
<pre lang="bash"><code>npm@7.16.0 /path/to/npm
163163
164164
165165
</code></pre>
@@ -337,4 +337,4 @@ <h3 id="see-also">See Also</h3>
337337

338338

339339

340-
</body></html>
340+
</body></html>

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,7 @@ <h3 id="description">Description</h3>
190190
can use the <code>INIT_CWD</code> environment variable, which holds the full path you
191191
were in when you ran <code>npm run</code>.</p>
192192
<p><code>npm run</code> sets the <code>NODE</code> environment variable to the <code>node</code> executable
193-
with which <code>npm</code> is executed. Also, if the <code>--scripts-prepend-node-path</code> is
194-
passed, the directory within which <code>node</code> resides is added to the <code>PATH</code>.
195-
If <code>--scripts-prepend-node-path=auto</code> is passed (which has been the default
196-
in <code>npm</code> v3), this is only performed when that <code>node</code> executable is not
197-
found in the <code>PATH</code>.</p>
193+
with which <code>npm</code> is executed.</p>
198194
<p>If you try to run a script without having a <code>node_modules</code> directory and it
199195
fails, you will be given a warning to run <code>npm install</code>, just in case you’ve
200196
forgotten.</p>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h2 id="table-of-contents">Table of contents</h2>
148148
<pre lang="bash"><code>npm &lt;command&gt; [args]
149149
</code></pre>
150150
<h3 id="version">Version</h3>
151-
<p>7.15.1</p>
151+
<p>7.16.0</p>
152152
<h3 id="description">Description</h3>
153153
<p>npm is the package manager for the Node JavaScript platform. It puts
154154
modules in place so that node can find them, and manages dependency
@@ -292,4 +292,4 @@ <h3 id="see-also">See Also</h3>
292292

293293

294294

295-
</body></html>
295+
</body></html>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,7 @@ <h4 id="loglevel"><code>loglevel</code></h4>
793793
<code>npm-debug.log</code> in the current working directory.</p>
794794
<p>Any logs of a higher level than the setting are shown. The default is
795795
“notice”.</p>
796+
<p>See also the <code>foreground-scripts</code> config.</p>
796797
<h4 id="logs-max"><code>logs-max</code></h4>
797798
<ul>
798799
<li>Default: 10</li>

deps/npm/lib/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module.exports = (process) => {
5353
npm.config.set('usage', false, 'cli')
5454
}
5555

56-
npm.updateNotification = await updateNotifier(npm)
56+
updateNotifier(npm)
5757

5858
const cmd = npm.argv.shift()
5959
const impl = npm.commands[cmd]

deps/npm/lib/utils/config/definitions.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,6 +1128,8 @@ define('loglevel', {
11281128
11291129
Any logs of a higher level than the setting are shown. The default is
11301130
"notice".
1131+
1132+
See also the \`foreground-scripts\` config.
11311133
`,
11321134
})
11331135

0 commit comments

Comments
 (0)