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 47ad448

Browse filesBrowse files
npm-robotdanielleadams
authored andcommitted
deps: upgrade npm to 7.15.1
PR-URL: #38880 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruy Adorno <ruyadorno@github.com>
1 parent 48ebebd commit 47ad448
Copy full SHA for 47ad448

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

91 files changed

+1604
-813
lines changed
Open diff view settings
Collapse file

‎deps/npm/AUTHORS‎

Copy file name to clipboardExpand all lines: deps/npm/AUTHORS
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,3 +777,9 @@ wangsai <wangsai@bootcss.com>
777777
Luke Hefson <luke@github.com>
778778
mrmlnc <mrmlnc@yandex-team.ru>
779779
Juan Picado <juanpicado19@gmail.com>
780+
Kevin Cormier <kcormier@redhat.com>
781+
Nariyasu Heseri <heserisiyookang@gmail.com>
782+
rethab <rethab@protonmail.ch>
783+
Spencer Wilson <5624115+spencerwilson@users.noreply.github.com>
784+
Daniel Park <gimli01@github.com>
785+
Daniel Park <daniel.park@endevors.io>
Collapse file

‎deps/npm/CHANGELOG.md‎

Copy file name to clipboardExpand all lines: deps/npm/CHANGELOG.md
+87Lines changed: 87 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,90 @@
1+
## v7.15.1 (2021-05-31)
2+
3+
### BUG FIXES
4+
5+
* [`598a17a26`](https://github.com/npm/cli/commit/598a17a2671c9e3bc204dddd6488169c9a72c6a1)
6+
[#3329](https://github.com/npm/cli/issues/3329)
7+
fix(libnpmexec): don't detach output from npm
8+
([@wraithgar](https://github.com/wraithgar))
9+
10+
### DEPENDENCIES
11+
12+
* [`c4fc03e9e`](https://github.com/npm/cli/commit/c4fc03e9eb3a6386e8feacb67c19f0a1578dfe38)
13+
`@npmcli/arborist@2.6.1`
14+
* fixes reifying deps with mismatching version ranges between
15+
actual and virtual trees
16+
* [`9159fa62a`](https://github.com/npm/cli/commit/9159fa62a10dee09daef178fc7be161a02824004)
17+
`libnpmexec@1.2.0`
18+
19+
## v7.15.0 (2021-05-27)
20+
21+
### FEATURES
22+
23+
* [`399ff8cbc`](https://github.com/npm/cli/commit/399ff8cbccd5198f637518ccafa86c43bab47a4a)
24+
[#3312](https://github.com/npm/cli/issues/3312)
25+
feat(link): add workspace support
26+
([@isaacs](https://github.com/isaacs))
27+
28+
### BUG FIXES
29+
30+
* [`46a9bcbcb`](https://github.com/npm/cli/commit/46a9bcbcb0bb2435dca6f45a61b8631f580c7f06)
31+
[#3282](https://github.com/npm/cli/issues/3282)
32+
fix(docs): proper postinstall script file name
33+
([@KevinFCormier](https://github.com/KevinFCormier))
34+
* [`83590d40f`](https://github.com/npm/cli/commit/83590d40f94347f21714dbd158b9ddcad9c82de9)
35+
[#3272](https://github.com/npm/cli/issues/3272)
36+
fix(ls): show relative paths from root
37+
([@isaacs](https://github.com/isaacs))
38+
* [`a574b518a`](https://github.com/npm/cli/commit/a574b518ae5b8f0664ed388cf1be6288d8c2e68d)
39+
[#3304](https://github.com/npm/cli/issues/3304)
40+
fix(completion): restore IFS even if `npm completion` returns error
41+
([@NariyasuHeseri](https://github.com/NariyasuHeseri))
42+
* [`554e8a5cd`](https://github.com/npm/cli/commit/554e8a5cd7034052a59a9ada31e4b8f73712211a)
43+
[#3311](https://github.com/npm/cli/issues/3311)
44+
set audit exit code properly
45+
([@isaacs](https://github.com/isaacs))
46+
* [`4a4fbe33c`](https://github.com/npm/cli/commit/4a4fbe33c51413adcd558b4af6f1e204b1b87e41)
47+
[#3268](https://github.com/npm/cli/issues/3268)
48+
[#3285](https://github.com/npm/cli/issues/3285)
49+
fix(publish): skip private workspaces
50+
([@ruyadorno](https://github.com/ruyadorno))
51+
52+
### DOCUMENTATION
53+
54+
* [`3c53d631f`](https://github.com/npm/cli/commit/3c53d631f557cf2484e2f6a6172c44e36aea4817)
55+
[#3307](https://github.com/npm/cli/issues/3307)
56+
fix(docs): typo in package-lock.json docs
57+
([@rethab](https://github.com/rethab))
58+
* [`96367f93f`](https://github.com/npm/cli/commit/96367f93f46c24494d084c8b8d34e4de9cd375da)
59+
rebuild npm-pack doc
60+
([@isaacs](https://github.com/isaacs))
61+
* [`64b13dd10`](https://github.com/npm/cli/commit/64b13dd1082b6ca7eac4e8e329bfdd8cd8daf157)
62+
[#3313](https://github.com/npm/cli/issues/3313)
63+
Drop stale Python 3<->node-gyp remark
64+
([@spencerwilson](https://github.com/spencerwilson))
65+
66+
### DEPENDENCIES
67+
68+
* [`7b56bfdf3`](https://github.com/npm/cli/commit/7b56bfdf3f2ac67a926fc7893b883a16b46eb3fd)
69+
`cacache@15.2.0`:
70+
* feat: allow fully deleting indices
71+
* feat: add a validateEntry option to compact
72+
* chore: lint
73+
* chore: use standard npm style release scripts
74+
* [`dbbc151a3`](https://github.com/npm/cli/commit/dbbc151a3bcf89e2627dc267063edd185ead1cb8)
75+
`npm-audit-report@2.1.5`:
76+
* fix(exit-code): account for null auditLevel default (#46)
77+
* [`5b2604507`](https://github.com/npm/cli/commit/5b26045076477d3d350f539e60adf48a80376fda)
78+
chore(package-lock): update devDependencies
79+
([@Gar](https://github.com/Gar))
80+
81+
### AUTOMATION
82+
83+
* [`3d5df0082`](https://github.com/npm/cli/commit/3d5df0082ae904dacdea8644286e8362d4a2ed50)
84+
[#3294](https://github.com/npm/cli/issues/3294)
85+
chore(ci): move node release PR workflow to cli repo
86+
([@gimli01](https://github.com/gimli01))
87+
188
## v7.14.0 (2021-05-20)
289

390
### FEATURES
Collapse file

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

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

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

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

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

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

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

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

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

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

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

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-link.html
+35-1Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ <h1 id="npm-link">npm-link</h1>
141141

142142
<section id="table_of_contents">
143143
<h2 id="table-of-contents">Table of contents</h2>
144-
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#caveat">Caveat</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
144+
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#caveat">Caveat</a></li><li><a href="#workspace-usage">Workspace Usage</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
145145
</section>
146146

147147
<div id="_content"><h3 id="synopsis">Synopsis</h3>
@@ -209,6 +209,13 @@ <h3 id="caveat">Caveat</h3>
209209
relevant metadata by running <code>npm install &lt;dep&gt; --package-lock-only</code>.</p>
210210
<p>If you <em>want</em> to save the <code>file:</code> reference in your <code>package.json</code> and
211211
<code>package-lock.json</code> files, you can use <code>npm link &lt;dep&gt; --save</code> to do so.</p>
212+
<h3 id="workspace-usage">Workspace Usage</h3>
213+
<p><code>npm link &lt;pkg&gt; --workspace &lt;name&gt;</code> will link the relevant package as a
214+
dependency of the specified workspace(s). Note that It may actually be
215+
linked into the parent project’s <code>node_modules</code> folder, if there are no
216+
conflicting dependencies.</p>
217+
<p><code>npm link --workspace &lt;name&gt;</code> will create a global link to the specified
218+
workspace(s).</p>
212219
<h3 id="configuration">Configuration</h3>
213220
<!-- raw HTML omitted -->
214221
<!-- raw HTML omitted -->
@@ -347,6 +354,33 @@ <h4 id="dry-run"><code>dry-run</code></h4>
347354
<code>dedupe</code>, <code>uninstall</code>, as well as <code>pack</code> and <code>publish</code>.</p>
348355
<p>Note: This is NOT honored by other network related commands, eg <code>dist-tags</code>,
349356
<code>owner</code>, etc.</p>
357+
<h4 id="workspace"><code>workspace</code></h4>
358+
<ul>
359+
<li>Default:</li>
360+
<li>Type: String (can be set multiple times)</li>
361+
</ul>
362+
<p>Enable running a command in the context of the configured workspaces of the
363+
current project while filtering by running only the workspaces defined by
364+
this configuration option.</p>
365+
<p>Valid values for the <code>workspace</code> config are either:</p>
366+
<ul>
367+
<li>Workspace names</li>
368+
<li>Path to a workspace directory</li>
369+
<li>Path to a parent workspace directory (will result to selecting all of the
370+
nested workspaces)</li>
371+
</ul>
372+
<p>When set for the <code>npm init</code> command, this may be set to the folder of a
373+
workspace which does not yet exist, to create the folder and set it up as a
374+
brand new workspace within the project.</p>
375+
<p>This value is not exported to the environment for child processes.</p>
376+
<h4 id="workspaces"><code>workspaces</code></h4>
377+
<ul>
378+
<li>Default: false</li>
379+
<li>Type: Boolean</li>
380+
</ul>
381+
<p>Enable running a command in the context of <strong>all</strong> the configured
382+
workspaces.</p>
383+
<p>This value is not exported to the environment for child processes.</p>
350384
<!-- raw HTML omitted -->
351385
<h3 id="see-also">See Also</h3>
352386
<ul>
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
+1-1Lines 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>npm@7.14.0 /path/to/npm
162+
<pre lang="bash"><code>npm@7.15.1 /path/to/npm
163163
└─┬ init-package-json@0.0.4
164164
└── promzard@0.1.5
165165
</code></pre>
Collapse file

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

Copy file name to clipboardExpand all lines: deps/npm/docs/output/commands/npm-pack.html
+8-1Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ <h1 id="npm-pack">npm-pack</h1>
141141

142142
<section id="table_of_contents">
143143
<h2 id="table-of-contents">Table of contents</h2>
144-
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li></ul><li><a href="#description">Description</a></li><li><a href="#see-also">See Also</a></li></ul></div>
144+
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#json"><code>json</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li></ul><li><a href="#description">Description</a></li><li><a href="#see-also">See Also</a></li></ul></div>
145145
</section>
146146

147147
<div id="_content"><h3 id="synopsis">Synopsis</h3>
@@ -161,6 +161,13 @@ <h4 id="dry-run"><code>dry-run</code></h4>
161161
<code>dedupe</code>, <code>uninstall</code>, as well as <code>pack</code> and <code>publish</code>.</p>
162162
<p>Note: This is NOT honored by other network related commands, eg <code>dist-tags</code>,
163163
<code>owner</code>, etc.</p>
164+
<h4 id="json"><code>json</code></h4>
165+
<ul>
166+
<li>Default: false</li>
167+
<li>Type: Boolean</li>
168+
</ul>
169+
<p>Whether or not to output JSON data, rather than the normal output.</p>
170+
<p>Not supported by all npm commands.</p>
164171
<h4 id="workspace"><code>workspace</code></h4>
165172
<ul>
166173
<li>Default:</li>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.