Skip to content

Commit 3a10a37

Browse files
npm-robotMylesBorins
authored andcommitted
deps: upgrade npm to 7.20.2
PR-URL: #39549 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Ruy Adorno <[email protected]>
1 parent fea3357 commit 3a10a37

Some content is hidden

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

84 files changed

+1943
-271
lines changed

deps/npm/docs/content/commands/npm-pkg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ npm pkg delete <field> [.<subfield> ...]
1616
1717
A command that automates the management of `package.json` files.
1818
`npm pkg` provide 3 different sub commands that allow you to modify or retrieve
19-
values for given object keys in your `packge.json`.
19+
values for given object keys in your `package.json`.
2020
2121
The syntax to retrieve and set fields is a dot separated representation of
2222
the nested object properties to be found within your `package.json`, it's the

deps/npm/docs/content/commands/npm-unpublish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Remove a package from the registry
77
### Synopsis
88

99
To learn more about how the npm registry treats unpublish, see our <a
10-
href="https://www.npmjs.com/policies/unpublish" target="_blank"
10+
href="https://docs.npmjs.com/policies/unpublish" target="_blank"
1111
rel="noopener noreferrer"> unpublish policies</a>
1212

1313
#### Unpublishing a single version of a package

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Run `npm help` to get a list of available commands.
3131
npm comes preconfigured to use npm's public registry at
3232
https://registry.npmjs.org by default. Use of the npm public registry is
3333
subject to terms of use available at
34-
https://www.npmjs.com/policies/terms.
34+
https://docs.npmjs.com/policies/terms.
3535

3636
You can configure npm to use any compatible registry you like, and even
3737
run your own registry. Use of someone else's registry is governed by

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ package info.
1212

1313
npm is configured to use the **npm public registry** at
1414
<https://registry.npmjs.org> by default. Use of the npm public registry is
15-
subject to terms of use available at <https://www.npmjs.com/policies/terms>.
15+
subject to terms of use available at <https://docs.npmjs.com/policies/terms>.
1616

1717
You can configure npm to use any compatible registry you like, and even run
1818
your own registry. Use of someone else's registry may be governed by their

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].0 /path/to/npm
162+
<pre lang="bash"><code>[email protected].2 /path/to/npm
163163
164164
165165
</code></pre>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ <h2 id="table-of-contents">Table of contents</h2>
152152
<h3 id="description">Description</h3>
153153
<p>A command that automates the management of <code>package.json</code> files.
154154
<code>npm pkg</code> provide 3 different sub commands that allow you to modify or retrieve
155-
values for given object keys in your <code>packge.json</code>.</p>
155+
values for given object keys in your <code>package.json</code>.</p>
156156
<p>The syntax to retrieve and set fields is a dot separated representation of
157157
the nested object properties to be found within your <code>package.json</code>, it’s the
158158
same notation used in <a href="../commands/npm-view.html"><code>npm view</code></a> to retrieve information

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.20.0</p>
151+
<p>7.20.2</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
@@ -161,7 +161,7 @@ <h3 id="important">Important</h3>
161161
<p>npm comes preconfigured to use npm’s public registry at
162162
<a href="https://registry.npmjs.org">https://registry.npmjs.org</a> by default. Use of the npm public registry is
163163
subject to terms of use available at
164-
<a href="https://www.npmjs.com/policies/terms">https://www.npmjs.com/policies/terms</a>.</p>
164+
<a href="https://docs.npmjs.com/policies/terms">https://docs.npmjs.com/policies/terms</a>.</p>
165165
<p>You can configure npm to use any compatible registry you like, and even
166166
run your own registry. Use of someone else’s registry is governed by
167167
their terms of use.</p>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ <h2 id="table-of-contents">Table of contents</h2>
150150
package info.</p>
151151
<p>npm is configured to use the <strong>npm public registry</strong> at
152152
<a href="https://registry.npmjs.org">https://registry.npmjs.org</a> by default. Use of the npm public registry is
153-
subject to terms of use available at <a href="https://www.npmjs.com/policies/terms">https://www.npmjs.com/policies/terms</a>.</p>
153+
subject to terms of use available at <a href="https://docs.npmjs.com/policies/terms">https://docs.npmjs.com/policies/terms</a>.</p>
154154
<p>You can configure npm to use any compatible registry you like, and even run
155155
your own registry. Use of someone else’s registry may be governed by their
156156
terms of use.</p>

deps/npm/lib/exec.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ class Exec extends BaseCommand {
6868
async _exec (_args, { locationMsg, path, runPath }) {
6969
const args = [..._args]
7070
const call = this.npm.config.get('call')
71-
const color = this.npm.config.get('color')
7271
const {
7372
flatOptions,
7473
localBin,
@@ -87,7 +86,6 @@ class Exec extends BaseCommand {
8786
...flatOptions,
8887
args,
8988
call,
90-
color,
9189
localBin,
9290
locationMsg,
9391
log,
@@ -103,7 +101,7 @@ class Exec extends BaseCommand {
103101

104102
async _execWorkspaces (args, filters) {
105103
await this.setWorkspaces(filters)
106-
const color = this.npm.config.get('color')
104+
const color = this.npm.color
107105

108106
for (const path of this.workspacePaths) {
109107
const locationMsg = await getLocationMsg({ color, path })

deps/npm/lib/fund.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class Fund extends ArboristWorkspaceCmd {
109109
}
110110

111111
printHuman (fundingInfo) {
112-
const color = !!this.npm.color
112+
const color = this.npm.color
113113
const unicode = this.npm.config.get('unicode')
114114
const seenUrls = new Map()
115115

0 commit comments

Comments
 (0)