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 70af146

Browse filesBrowse files
npm-robottargos
authored andcommitted
deps: upgrade npm to 7.16.0
PR-URL: #38920 Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
1 parent 336571f commit 70af146
Copy full SHA for 70af146

File tree

Expand file treeCollapse file tree

175 files changed

+2906
-2470
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

175 files changed

+2906
-2470
lines changed
Open diff view settings
Collapse file

‎deps/npm/.npmignore‎

Copy file name to clipboardExpand all lines: deps/npm/.npmignore
+4Lines 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.
Collapse file

‎deps/npm/CHANGELOG.md‎

Copy file name to clipboardExpand all lines: deps/npm/CHANGELOG.md
+64Lines changed: 64 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
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+
`npm-registry-fetch@11.0.0`
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+
`npm-package-arg@8.1.4`:
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+
`make-fetch-happen@9.0.1`
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+
`npm-registry-fetch@11.0.0`
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+
`make-fetch-happen@9.0.2`:
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
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/commands/npm-run-script.md
+1-6Lines changed: 1 addition & 6 deletions
  • Display the source diff
  • Display the rich diff
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 -->
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/content/using-npm/config.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
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
Collapse file

‎deps/npm/docs/output/commands/npm-ls.html‎

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-ls.html
+2-2Lines 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
└─┬ init-package-json@0.0.4
164164
└── promzard@0.1.5
165165
</code></pre>
@@ -337,4 +337,4 @@ <h3 id="see-also">See Also</h3>
337337

338338

339339

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

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

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-run-script.html
+1-5Lines 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>
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm.html
+2-2Lines 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>
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/output/using-npm/config.html
+1Lines 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>
Collapse file

‎deps/npm/lib/cli.js‎

Copy file name to clipboardExpand all lines: deps/npm/lib/cli.js
+1-1Lines 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]
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/lib/utils/config/definitions.js
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.