Skip to content

Commit 278862a

Browse files
ruyadornodanielleadams
authored andcommitted
deps: upgrade npm to 7.0.15
PR-URL: #36293 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 58abdca commit 278862a

35 files changed

+841
-61
lines changed

deps/npm/AUTHORS

+3
Original file line numberDiff line numberDiff line change
@@ -735,3 +735,6 @@ Vlad GURDIGA <gurdiga@gmail.com>
735735
Sébastien Puech <s.puech@tricentis.com>
736736
Jannis Hell <Primajin@users.noreply.github.com>
737737
Hollow Man <hollowman@hollowman.ml>
738+
kai zhu <kaizhu256@gmail.com>
739+
Alex Woollam <alexjhwoollam@gmail.com>
740+
Daniel Fischer <daniel@d-fischer.dev>

deps/npm/CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
## 7.0.15 (2020-11-27)
2+
3+
### DEPENDENCIES
4+
5+
* [`00e6028ef`](https://github.com/npm/cli/commit/00e6028ef83bf76eaae10241fd7ba59e39768603)
6+
`@npmcli/arborist@1.0.13`
7+
* do not override user-defined shorthand values when saving `package.json`
8+
9+
### BUG FIXES
10+
11+
* [`9c3413fbc`](https://github.com/npm/cli/commit/9c3413fbcb37e79fc0b3d980e0b5810d7961277c)
12+
[#2034](https://github.com/npm/cli/issues/2034)
13+
[#2245](https://github.com/npm/cli/issues/2245)
14+
`npm link <pkg>` should not save `package.json`
15+
([@ruyadorno](https://github.com/ruyadorno))
16+
17+
### DOCUMENTATION
18+
19+
* [`1875347f9`](https://github.com/npm/cli/commit/1875347f9f4f2b50c28fe8857c5533eeebf42da2)
20+
[#2196](https://github.com/npm/cli/issues/2196)
21+
remove doc on obsolete `unsafe-perm` flag
22+
([@kaizhu256](https://github.com/kaizhu256))
23+
* [`f51e50603`](https://github.com/npm/cli/commit/f51e5060340c783a8a00dadd98e5786960caf43f)
24+
[#2200](https://github.com/npm/cli/issues/2200)
25+
`config.md` cleanup
26+
([@alexwoollam](https://github.com/alexwoollam))
27+
* [`997cbdb40`](https://github.com/npm/cli/commit/997cbdb400bcd22e457e8a06b69a7be697cfd66d)
28+
[#2238](https://github.com/npm/cli/issues/2238)
29+
Fix broken link to `package.json` documentation
30+
([@d-fischer](https://github.com/d-fischer))
31+
* [`9da972dc4`](https://github.com/npm/cli/commit/9da972dc44c21cf0e337f1c3fca44eb9df3e40d5)
32+
[#2241](https://github.com/npm/cli/issues/2241)
33+
`npm star` docs cleanup
34+
([@ruyadorno](https://github.com/ruyadorno))
35+
136
## 7.0.14 (2020-11-23)
237

338
### DEPENDENCIES

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

+15-2
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,33 @@ description: Mark your favorite packages
88

99
```bash
1010
npm star [<pkg>...]
11-
npm unstar [<pkg>...]
1211
```
1312

1413
### Description
1514

1615
"Starring" a package means that you have some interest in it. It's
1716
a vaguely positive way to show that you care.
1817

18+
It's a boolean thing. Starring repeatedly has no additional effect.
19+
20+
### More
21+
22+
There's also these extra commands to help you manage your favorite packages:
23+
24+
#### Unstar
25+
26+
You can also "unstar" a package using [`npm unstar`](/commands/npm-unstar)
27+
1928
"Unstarring" is the same thing, but in reverse.
2029

21-
It's a boolean thing. Starring repeatedly has no additional effect.
30+
#### Listing stars
31+
32+
You can see all your starred packages using [`npm stars`](/commands/npm-stars)
2233

2334
### See Also
2435

36+
* [npm unstar](/commands/npm-unstar)
37+
* [npm stars](/commands/npm-stars)
2538
* [npm view](/commands/npm-view)
2639
* [npm whoami](/commands/npm-whoami)
2740
* [npm adduser](/commands/npm-adduser)

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

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ you will most certainly enjoy this command.
2020
### See Also
2121

2222
* [npm star](/commands/npm-star)
23+
* [npm unstar](/commands/npm-unstar)
2324
* [npm view](/commands/npm-view)
2425
* [npm whoami](/commands/npm-whoami)
2526
* [npm adduser](/commands/npm-adduser)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: npm-unstar
3+
section: 1
4+
description: Remove an item from your favorite packages
5+
---
6+
7+
### Synopsis
8+
9+
```bash
10+
npm unstar [<pkg>...]
11+
```
12+
13+
### Description
14+
15+
"Unstarring" a package is the opposite of [`npm star`](/commands/npm-star),
16+
it removes an item from your list of favorite packages.
17+
18+
### More
19+
20+
There's also these extra commands to help you manage your favorite packages:
21+
22+
#### Star
23+
24+
You can "star" a package using [`npm star`](/commands/npm-star)
25+
26+
#### Listing stars
27+
28+
You can see all your starred packages using [`npm stars`](/commands/npm-stars)
29+
30+
### See Also
31+
32+
* [npm star](/commands/npm-star)
33+
* [npm stars](/commands/npm-stars)
34+
* [npm view](/commands/npm-view)
35+
* [npm whoami](/commands/npm-whoami)
36+
* [npm adduser](/commands/npm-adduser)

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ Format `package-lock.json` or `npm-shrinkwrap.json` as a human readable file.
432432
* Type: Boolean
433433

434434
When "true" displays the message at the end of each `npm install`
435-
aknowledging the number of dependencies looking for funding.
435+
acknowledging the number of dependencies looking for funding.
436436
See [`npm fund`](/commands/npm-fund) for details.
437437

438438
#### fetch-retries
@@ -1096,7 +1096,7 @@ using legacy search endpoint.
10961096

10971097
If true, success/failure metrics will be reported to the registry stored in
10981098
`metrics-registry`. These requests contain the number of successful and
1099-
failing runs of the npm CLI and the time period overwhich those counts were
1099+
failing runs of the npm CLI and the time period over which those counts were
11001100
gathered. No identifying information is included in these requests.
11011101

11021102
#### shell

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,8 @@ npm will default some script values based on package contents.
122122

123123
### User
124124

125-
If npm was invoked with root privileges, then it will change the uid
126-
to the user account or uid specified by the `user` config, which
127-
defaults to `nobody`. Set the `unsafe-perm` flag to run scripts with
128-
root privileges.
125+
When npm is run as root, scripts are always run with the effective uid
126+
and gid of the working directory owner.
129127

130128
### Environment
131129

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ order to add references to packages that should be symlinked into the current
1818

1919
We also refer to these packages being auto-symlinked during `npm install` as a
2020
single **workspace**, meaning it's a nested package within the current local
21-
file system that is explicitly defined in the [`package.json`](/using-npm/package-json)
21+
file system that is explicitly defined in the [`package.json`](/configuring-npm/package-json#workspaces)
2222
`workspaces` configuration.
2323

2424
### Installing workspaces
2525

2626
Workspaces are usually defined via the `workspaces` property of the
27-
[`package.json`](/using-npm/package-json) file, e.g:
27+
[`package.json`](/configuring-npm/package-json#workspaces) file, e.g:
2828

2929
```json
3030
{

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ <h3 id="description">Description</h3>
156156
limit the results to only the paths to the packages named. Note that
157157
nested packages will <em>also</em> show the paths to the specified packages.
158158
For example, running <code>npm ls promzard</code> in npm’s source tree will show:</p>
159-
<pre lang="bash"><code> npm@7.0.14 /path/to/npm
159+
<pre lang="bash"><code> npm@7.0.15 /path/to/npm
160160
└─┬ init-package-json@0.0.4
161161
└── promzard@0.1.5
162162
</code></pre>

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

+10-3
Original file line numberDiff line numberDiff line change
@@ -141,20 +141,27 @@ <h1 id="npm-star">npm-star</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="#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="#more">More</a></li><ul><li><a href="#unstar">Unstar</a></li><li><a href="#listing-stars">Listing stars</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>
148148
<pre lang="bash"><code>npm star [&lt;pkg&gt;...]
149-
npm unstar [&lt;pkg&gt;...]
150149
</code></pre>
151150
<h3 id="description">Description</h3>
152151
<p>“Starring” a package means that you have some interest in it. It’s
153152
a vaguely positive way to show that you care.</p>
153+
<p>It’s a boolean thing. Starring repeatedly has no additional effect.</p>
154+
<h3 id="more">More</h3>
155+
<p>There’s also these extra commands to help you manage your favorite packages:</p>
156+
<h4 id="unstar">Unstar</h4>
157+
<p>You can also “unstar” a package using <a href="../commands/npm-unstar.html"><code>npm unstar</code></a></p>
154158
<p>“Unstarring” is the same thing, but in reverse.</p>
155-
<p>It’s a boolean thing. Starring repeatedly has no additional effect.</p>
159+
<h4 id="listing-stars">Listing stars</h4>
160+
<p>You can see all your starred packages using <a href="../commands/npm-stars.html"><code>npm stars</code></a></p>
156161
<h3 id="see-also">See Also</h3>
157162
<ul>
163+
<li><a href="../commands/npm-unstar.html">npm unstar</a></li>
164+
<li><a href="../commands/npm-stars.html">npm stars</a></li>
158165
<li><a href="../commands/npm-view.html">npm view</a></li>
159166
<li><a href="../commands/npm-whoami.html">npm whoami</a></li>
160167
<li><a href="../commands/npm-adduser.html">npm adduser</a></li>

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

+1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ <h3 id="description">Description</h3>
155155
<h3 id="see-also">See Also</h3>
156156
<ul>
157157
<li><a href="../commands/npm-star.html">npm star</a></li>
158+
<li><a href="../commands/npm-unstar.html">npm unstar</a></li>
158159
<li><a href="../commands/npm-view.html">npm view</a></li>
159160
<li><a href="../commands/npm-whoami.html">npm whoami</a></li>
160161
<li><a href="../commands/npm-adduser.html">npm adduser</a></li>

0 commit comments

Comments
 (0)