Skip to content

Commit 7823759

Browse files
committed
deps: upgrade npm to 7.7.6
PR-URL: #37968 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 52c7539 commit 7823759

File tree

25 files changed

+131
-31
lines changed

25 files changed

+131
-31
lines changed

deps/npm/AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,3 +768,5 @@ kbayrhammer <[email protected]>
768768
James Chen-Smith <[email protected]>
769769
Yash Singh <[email protected]>
770770
Danielle Church <[email protected]>
771+
Seth Thomas <[email protected]>
772+

deps/npm/CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
## v7.7.6 (2021-03-29)
2+
3+
### BUG FIXES
4+
5+
* [`9dd2ed518`](https://github.com/npm/cli/commit/9dd2ed5189b6f283094664e9e192cf1598ec3f79)
6+
fix empty newline printed to stderr
7+
([@ruyadorno](https://github.com/ruyadorno))
8+
* [`9d391462a`](https://github.com/npm/cli/commit/9d391462a25f637219501e2430ef1f7b89710816)
9+
[#2973](https://github.com/npm/cli/issues/2973)
10+
fix spelling in workspaces.md file
11+
([@sethomas](https://github.com/sethomas))
12+
* [`4b100249a`](https://github.com/npm/cli/commit/4b100249a6cad67e002186816e64817313b636c7)
13+
[#2979](https://github.com/npm/cli/issues/2979)
14+
change 'maxsockets' default value back to 15
15+
([@wallrat](https://github.com/wallrat))
16+
17+
### DEPENDENCIES
18+
19+
* [`a28f89572`](https://github.com/npm/cli/commit/a28f89572a708cced69cc938f877eaa969dbad9e)
20+
21+
* fix reading `script-shell` config on `npm version` lifecycle scripts
22+
* [`03734c29e`](https://github.com/npm/cli/commit/03734c29e00191d17f164d1c0e75d9f228268842)
23+
24+
* fix packaging `bundledDependencies`
25+
* [`80ce2a019`](https://github.com/npm/cli/commit/80ce2a019526632b01b70e1c75c42608dc160332)
26+
27+
* fix error auditing package documents with missing dependencies
28+
129
## v7.7.5 (2021-03-25)
230

331
### BUG FIXES

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ Show extended information in `npm ls` and `npm search`.
795795

796796
#### `maxsockets`
797797

798-
* Default: Infinity
798+
* Default: 15
799799
* Type: Number
800800

801801
The maximum number of connections to use per origin (protocol/host/port

deps/npm/docs/content/using-npm/workspaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ nested workspaces to be consumed elsewhere.
9090

9191
### Running commands in the context of workspaces
9292

93-
You man use the `workspace` configuration option to run commands in the context
93+
You can use the `workspace` configuration option to run commands in the context
9494
of a configured workspace.
9595

9696
Following is a quick example on how to use the `npm run` command in the context

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

Lines changed: 1 addition & 1 deletion
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>[email protected].5 /path/to/npm
162+
<pre lang="bash"><code>[email protected].6 /path/to/npm
163163
164164
165165
</code></pre>

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

Lines changed: 1 addition & 1 deletion
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.7.5</p>
151+
<p>7.7.6</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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ <h4 id="long"><code>long</code></h4>
811811
<p>Show extended information in <code>npm ls</code> and <code>npm search</code>.</p>
812812
<h4 id="maxsockets"><code>maxsockets</code></h4>
813813
<ul>
814-
<li>Default: Infinity</li>
814+
<li>Default: 15</li>
815815
<li>Type: Number</li>
816816
</ul>
817817
<p>The maximum number of connections to use per origin (protocol/host/port

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ <h3 id="using-workspaces">Using workspaces</h3>
207207
in such a way that is also easy to <a href="../commands/npm-publish.html">publish</a> these
208208
nested workspaces to be consumed elsewhere.</p>
209209
<h3 id="running-commands-in-the-context-of-workspaces">Running commands in the context of workspaces</h3>
210-
<p>You man use the <code>workspace</code> configuration option to run commands in the context
210+
<p>You can use the <code>workspace</code> configuration option to run commands in the context
211211
of a configured workspace.</p>
212212
<p>Following is a quick example on how to use the <code>npm run</code> command in the context
213213
of nested workspaces. For a project containing multiple workspaces, e.g:</p>

deps/npm/lib/cli.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,14 @@ module.exports = (process) => {
6161
impl(npm.argv, errorHandler)
6262
else {
6363
try {
64-
// I don't know why this is needed but we get a cb() not called if we
65-
// omit it
66-
npm.log.level = 'silent'
6764
if (cmd) {
6865
const didYouMean = require('./utils/did-you-mean.js')
6966
const suggestions = await didYouMean(npm, npm.localPrefix, cmd)
7067
npm.output(`Unknown command: "${cmd}"${suggestions}\n\nTo see a list of supported npm commands, run:\n npm help`)
7168
} else
7269
npm.output(npm.usage)
7370
process.exitCode = 1
71+
return errorHandler()
7472
} catch (err) {
7573
errorHandler(err)
7674
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ define('long', {
11541154
})
11551155

11561156
define('maxsockets', {
1157-
default: Infinity,
1157+
default: 15,
11581158
type: Number,
11591159
description: `
11601160
The maximum number of connections to use per origin (protocol/host/port

0 commit comments

Comments
 (0)