Skip to content

Commit e855018

Browse files
Audrey EschrightMylesBorins
Audrey Eschright
authored andcommitted
deps: upgrade npm to 6.5.0
PR-URL: #24734 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
1 parent 45d4851 commit e855018

File tree

317 files changed

+3563
-2029
lines changed

Some content is hidden

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

317 files changed

+3563
-2029
lines changed

deps/npm/.licensee.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"license": "(MIT OR BSD-2-Clause OR BSD-3-Clause OR Apache-2.0 OR ISC OR Unlicense OR CC-BY-3.0 OR CC0-1.0 OR Artistic-2.0)",
3+
"whitelist": {
4+
"config-chain": "1.1.12",
5+
"cyclist": "0.2.2",
6+
"json-schema": "0.2.3",
7+
"qrcode-terminal": "0.12.0"
8+
}
9+
}

deps/npm/.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ install:
3333
- "node . install"
3434
script:
3535
- "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\""
36+
- "node . run licenses"

deps/npm/AUTHORS

+11
Original file line numberDiff line numberDiff line change
@@ -601,3 +601,14 @@ SneakyFish5 <32284796+SneakyFish5@users.noreply.github.com>
601601
Nikki Everett <neverett@users.noreply.github.com>
602602
Erik Price <github@erikprice.net>
603603
Lars Willighagen <lars.willighagen@gmail.com>
604+
Kevin Gibbons <bakkot@gmail.com>
605+
Maarten Balliauw <maarten@balliauw.be>
606+
Mehdy Dara <mdara@eleven-labs.com>
607+
Robert Kielty <rob.kielty@gmail.com>
608+
Scott Trinh <scottyparade@gmail.com>
609+
Hugo <hugovk@users.noreply.github.com>
610+
Jacob <jakeincanada@icloud.com>
611+
Joe Bottigliero <joe@bottigliero.com>
612+
Nikolai Vavilov <vvnicholas@gmail.com>
613+
Kelvin Jin <kelvinjin@google.com>
614+
乱序 <midare@utakana.de>

deps/npm/CHANGELOG.md

+132-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,134 @@
1+
## v6.5.0 (2018-11-28):
2+
3+
### NEW FEATURES
4+
5+
* [`fc1a8d185`](https://github.com/npm/cli/commit/fc1a8d185fc678cdf3784d9df9eef9094e0b2dec)
6+
Backronym `npm ci` to `npm clean-install`.
7+
([@zkat](https://github.com/zkat))
8+
* [`4be51a9cc`](https://github.com/npm/cli/commit/4be51a9cc65635bb26fa4ce62233f26e0104bc20)
9+
[#81](https://github.com/npm/cli/pull/81)
10+
Adds 'Homepage' to outdated --long output.
11+
([@jbottigliero](https://github.com/jbottigliero))
12+
13+
### BUGFIXES
14+
15+
* [`89652cb9b`](https://github.com/npm/cli/commit/89652cb9b810f929f5586fc90cc6794d076603fb)
16+
[npm.community#1661](https://npm.community/t/https://npm.community/t/1661)
17+
Fix sign-git-commit options. They were previously totally wrong.
18+
([@zkat](https://github.com/zkat))
19+
* [`414f2d1a1`](https://github.com/npm/cli/commit/414f2d1a1bdffc02ed31ebb48a43216f284c21d4)
20+
[npm.community#1742](https://npm.community/t/npm-audit-making-non-rfc-compliant-requests-to-server-resulting-in-400-bad-request-pr-with-fix/1742)
21+
Set lowercase headers for npm audit requests.
22+
([@maartenba](https://github.com/maartenba))
23+
* [`a34246baf`](https://github.com/npm/cli/commit/a34246bafe73218dc9e3090df9ee800451db2c7d)
24+
[#75](https://github.com/npm/cli/pull/75)
25+
Fix `npm edit` handling of scoped packages.
26+
([@larsgw](https://github.com/larsgw))
27+
* [`d3e8a7c72`](https://github.com/npm/cli/commit/d3e8a7c7240dd25379a5bcad324a367c58733c73)
28+
[npm.community#2303](https://npm.community/t/npm-ci-logs-success-to-stderr/2303)
29+
Make summary output for `npm ci` go to `stdout`, not `stderr`.
30+
([@alopezsanchez](https://github.com/alopezsanchez))
31+
* [`71d8fb4a9`](https://github.com/npm/cli/commit/71d8fb4a94d65e1855f6d0c5f2ad2b7c3202e3c4)
32+
[npm.community#1377](https://npm.community/t/unhelpful-error-message-when-publishing-without-logging-in-error-eperm-operation-not-permitted-unlink/1377/3)
33+
Close the file descriptor during publish if exiting upload via an error. This
34+
will prevent strange error messages when the upload fails and make sure
35+
cleanup happens correctly.
36+
([@macdja38](https://github.com/macdja38))
37+
38+
### DOCS UPDATES
39+
40+
* [`b1a8729c8`](https://github.com/npm/cli/commit/b1a8729c80175243fbbeecd164e9ddd378a09a50)
41+
[#60](https://github.com/npm/cli/pull/60)
42+
Mention --otp flag when prompting for OTP.
43+
([@bakkot](https://github.com/bakkot))
44+
* [`bcae4ea81`](https://github.com/npm/cli/commit/bcae4ea8173e489a76cc226bbd30dd9eabe21ec6)
45+
[#64](https://github.com/npm/cli/pull/64)
46+
Clarify that git dependencies use the default branch, not just `master`.
47+
([@zckrs](https://github.com/zckrs))
48+
* [`15da82690`](https://github.com/npm/cli/commit/15da8269032bf509ade3252978e934f2a61d4499)
49+
[#72](https://github.com/npm/cli/pull/72)
50+
`bash_completion.d` dir is sometimes found in `/etc` not `/usr/local`.
51+
([@RobertKielty](https://github.com/RobertKielty))
52+
* [`8a6ecc793`](https://github.com/npm/cli/commit/8a6ecc7936dae2f51638397ff5a1d35cccda5495)
53+
[#74](https://github.com/npm/cli/pull/74)
54+
Update OTP documentation for `dist-tag add` to clarify `--otp` is needed right
55+
now.
56+
([@scotttrinh](https://github.com/scotttrinh))
57+
* [`dcc03ec85`](https://github.com/npm/cli/commit/dcc03ec858bddd7aa2173b5a86b55c1c2385a2a3)
58+
[#82](https://github.com/npm/cli/pull/82)
59+
Note that `prepare` runs when installing git dependencies.
60+
([@seishun](https://github.com/seishun))
61+
* [`a91a470b7`](https://github.com/npm/cli/commit/a91a470b71e08ccf6a75d4fb8c9937789fa8d067)
62+
[#83](https://github.com/npm/cli/pull/83)
63+
Specify that --dry-run isn't available in older versions of npm publish.
64+
([@kjin](https://github.com/kjin))
65+
* [`1b2fabcce`](https://github.com/npm/cli/commit/1b2fabccede37242233755961434c52536224de5)
66+
[#96](https://github.com/npm/cli/pull/96)
67+
Fix inline code tag issue in docs.
68+
([@midare](https://github.com/midare))
69+
* [`6cc70cc19`](https://github.com/npm/cli/commit/6cc70cc1977e58a3e1ea48e660ffc6b46b390e59)
70+
[#68](https://github.com/npm/cli/pull/68)
71+
Add semver link and a note on empty string format to `deprecate` doc.
72+
([@neverett](https://github.com/neverett))
73+
* [`61dbbb7c3`](https://github.com/npm/cli/commit/61dbbb7c3474834031bce88c423850047e8131dc)
74+
Fix semver docs after version update.
75+
([@zkat](https://github.com/zkat))
76+
* [`4acd45a3d`](https://github.com/npm/cli/commit/4acd45a3d0ce92f9999446226fe7dfb89a90ba2e)
77+
[#78](https://github.com/npm/cli/pull/78)
78+
Correct spelling across various docs.
79+
([@hugovk](https://github.com/hugovk))
80+
81+
### DEPENDENCIES
82+
83+
* [`4f761283e`](https://github.com/npm/cli/commit/4f761283e8896d0ceb5934779005646463a030e8)
84+
`figgy-pudding@3.5.1`
85+
([@zkat](https://github.com/zkat))
86+
* [`3706db0bc`](https://github.com/npm/cli/commit/3706db0bcbc306d167bb902362e7f6962f2fe1a1)
87+
[npm.community#1764](https://npm.community/t/crash-invalid-config-key-requested-error/1764)
88+
`ssri@6.0.1`
89+
([@zkat](https://github.com/zkat))
90+
* [`83c2b117d`](https://github.com/npm/cli/commit/83c2b117d0b760d0ea8d667e5e4bdfa6a7a7a8f6)
91+
`bluebird@3.5.2`
92+
([@petkaantonov](https://github.com/petkaantonov))
93+
* [`2702f46bd`](https://github.com/npm/cli/commit/2702f46bd7284fb303ca2119d23c52536811d705)
94+
`ci-info@1.5.1`
95+
([@watson](https://github.com/watson))
96+
* [`4db6c3898`](https://github.com/npm/cli/commit/4db6c3898b07100e3a324e4aae50c2fab4b93a04)
97+
`config-chain@1.1.1`:2
98+
([@dawsbot](https://github.com/dawbot))
99+
* [`70bee4f69`](https://github.com/npm/cli/commit/70bee4f69bb4ce4e18c48582fe2b48d8b4aba566)
100+
`glob@7.1.3`
101+
([@isaacs](https://github.com/isaacs))
102+
* [`e469fd6be`](https://github.com/npm/cli/commit/e469fd6be95333dcaa7cf377ca3620994ca8d0de)
103+
`opener@1.5.1`:
104+
Fix browser opening under Windows Subsystem for Linux (WSL).
105+
([@thijsputman](https://github.com/thijsputman))
106+
* [`03840dced`](https://github.com/npm/cli/commit/03840dced865abdca6e6449ea030962e5b19db0c)
107+
`semver@5.5.1`
108+
([@iarna](https://github.com/iarna))
109+
* [`161dc0b41`](https://github.com/npm/cli/commit/161dc0b4177e76306a0e3b8660b3b496cc3db83b)
110+
`bluebird@3.5.3`
111+
([@petkaantonov](https://github.com/petkaantonov))
112+
* [`bb6f94395`](https://github.com/npm/cli/commit/bb6f94395491576ec42996ff6665df225f6b4377)
113+
`graceful-fs@4.1.1`:5
114+
([@isaacs](https://github.com/isaacs))
115+
* [`43b1f4c91`](https://github.com/npm/cli/commit/43b1f4c91fa1d7b3ebb6aa2d960085e5f3ac7607)
116+
`tar@4.4.8`
117+
([@isaacs](https://github.com/isaacs))
118+
* [`ab62afcc4`](https://github.com/npm/cli/commit/ab62afcc472de82c479bf91f560a0bbd6a233c80)
119+
`npm-packlist@1.1.1`:2
120+
([@isaacs](https://github.com/isaacs))
121+
* [`027f06be3`](https://github.com/npm/cli/commit/027f06be35bb09f390e46fcd2b8182539939d1f7)
122+
`ci-info@1.6.0`
123+
([@watson](https://github.com/watson))
124+
125+
### MISCELLANEOUS
126+
127+
* [`27217dae8`](https://github.com/npm/cli/commit/27217dae8adbc577ee9cb323b7cfe9c6b2493aca)
128+
[#70](https://github.com/npm/cli/pull/70)
129+
Automatically audit dependency licenses for npm itself.
130+
([@kemitchell](https://github.com/kemitchell))
131+
1132
## v6.4.1 (2018-08-22):
2133

3134
### BUGFIXES
@@ -220,7 +351,7 @@ bumped due to bugs that had been around for a while.
220351
([@zkat](https://github.com/zkat))
221352
* [`21cf0ab68`](https://github.com/npm/cli/commit/21cf0ab68cf528d5244ae664133ef400bdcfbdb6)
222353
[npm/cli#24](https://github.com/npm/cli/pull/24)
223-
Use the defaut OTP explanation everywhere except when the context is
354+
Use the default OTP explanation everywhere except when the context is
224355
"OTP-aware" (like when setting double-authentication). This improves the
225356
overall CLI messaging when prompting for an OTP code.
226357
([@jdeniau](https://github.com/jdeniau))

deps/npm/changelogs/CHANGELOG-2.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### v2.15.12 (2017-03-24):
22

33
This version brings the latest `node-gyp` to a soon to be released Node.js
4-
4.x. The `node-gyp` update is paticularly important to Windows folks due to
4+
4.x. The `node-gyp` update is particularly important to Windows folks due to
55
its addition of Visual Studio 2017 support.
66

77
* [`cdd60e733`](https://github.com/npm/npm/commit/cdd60e733905a9994e1d6d832996bfdd12abeaee)
@@ -372,7 +372,7 @@ Node.js 0.10 and 0.12, it's unlikely that patches that rely on ES 2015
372372
functionality will land anytime soon.
373373

374374
Looking forward, the team's current plan is to drop support for Node.js 0.10
375-
when its LTS maintenace window expires in October, 2016, and 0.12 when its
375+
when its LTS maintenance window expires in October, 2016, and 0.12 when its
376376
maintenance / LTS window ends at the end of 2016. We will also drop support for
377377
Node.js 5.x when Node.js 6 becomes LTS and Node.js 7 is released, also in the
378378
October-December 2016 timeframe.
@@ -1507,7 +1507,7 @@ change makes it do.
15071507

15081508
We _think_ this is what everyone wants, but if this causes problems for you, we
15091509
want to know! If it proves problematic for people we will consider reverting it
1510-
(preferrably before this becomes `npm@latest`).
1510+
(preferably before this becomes `npm@latest`).
15111511

15121512
Previously, when you ran `npm install foo` we would act as if you typed `npm
15131513
install foo@*`. Now, like any range-type specifier, in addition to matching the
@@ -2742,7 +2742,7 @@ NodeConf Adventure!
27422742
([@iarna](https://github.com/iarna))
27432743
* [`e02e85d`](https://github.com/npm/npm/commit/e02e85d)
27442744
`osenv@0.1.2`: Switches to using the `os-tmpdir` module instead of
2745-
`os.tmpdir()` for greate consistency in behavior between node versions.
2745+
`os.tmpdir()` for greater consistency in behavior between node versions.
27462746
([@iarna](https://github.com/iarna))
27472747
* [`a6f0265`](https://github.com/npm/npm/commit/a6f0265)
27482748
`ini@1.3.4` ([@isaacs](https://github.com/isaacs))
@@ -4588,7 +4588,7 @@ Other changes:
45884588
([@gfxmonk](https://github.com/gfxmonk))
45894589
* [`989624e`](https://github.com/npm/npm/commit/989624e8321f87734c1b1272fc2f646e7af1f81c)
45904590
[#6767](https://github.com/npm/npm/issues/6767) Actually pass parameters when
4591-
adding git repo to cach under Windows.
4591+
adding git repo to cache under Windows.
45924592
([@othiym23](https://github.com/othiym23))
45934593
* [`657af73`](https://github.com/npm/npm/commit/657af7308f7d6cd2f81389fcf0d762252acaf1ce)
45944594
[#6774](https://github.com/npm/npm/issues/6774) When verifying paths on

deps/npm/changelogs/CHANGELOG-3.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2143,7 +2143,7 @@ This release includes an updated `node-gyp` with fixes for Android.
21432143
([@watilde](https://github.com/watilde))
21442144
* [`47928cd`](https://github.com/npm/npm/commit/47928cd6264e1d6d0ef67435b71c66d01bea664a)
21452145
[#11003](https://github.com/npm/npm/issues/11003)
2146-
Remove "verison" typo from the help listing.
2146+
Remove "version" typo from the help listing.
21472147
([@doug-wade](https://github.com/doug-wade))
21482148

21492149
#### MORE COMPLETE CONFIG LISTINGS
@@ -3473,7 +3473,7 @@ Hey, you found the feature we added!
34733473
folder with the same layout as global modules. Only your direct
34743474
dependencies will show in `node_modules` and everything they depend on
34753475
will be flattened in their `node_modules` folders. This obviously will
3476-
elminate some deduping.
3476+
eliminate some deduping.
34773477
([@iarna](https://github.com/iarna))
34783478

34793479
#### TYPOS IN THE LICENSE, OH MY
@@ -3492,7 +3492,7 @@ this change makes it do.
34923492

34933493
We _think_ this is what everyone wants, but if this causes problems for
34943494
you, we want to know! If it proves problematic for people we will consider
3495-
reverting it (preferrably before this becomes `npm@latest`).
3495+
reverting it (preferably before this becomes `npm@latest`).
34963496

34973497
Previously, when you ran `npm install foo` we would act as if you typed
34983498
`npm install foo@*`. Now, like any range-type specifier, in addition to
@@ -4070,7 +4070,7 @@ in line with `npm@2`.
40704070

40714071
* [`95ee92c`](https://github.com/npm/npm/commit/95ee92c)
40724072
[#9433](https://github.com/npm/npm/issues/9433)
4073-
Give better error messages for invalid URLs in the dependecy
4073+
Give better error messages for invalid URLs in the dependency
40744074
list.
40754075
([@jamietre](https://github.com/jamietre))
40764076

deps/npm/changelogs/CHANGELOG-4.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Also there's maybe a bit of an easter egg in this release. 'Cause those are fun
296296
### v4.4.1 (2017-03-06):
297297

298298
This is a quick little patch release to forgo the update notification
299-
checker if you're on an unsuported (but not otherwise broken) version of
299+
checker if you're on an unsupported (but not otherwise broken) version of
300300
Node.js. Right now that means 0.10 or 0.12.
301301

302302
* [`56ac249`](https://github.com/npm/npm/commit/56ac249ef8ede1021f1bc62a0e4fe1e9ba556af2)
@@ -1434,7 +1434,7 @@ install`, and `prepublishOnly` will be removed, leaving `prepare` and
14341434

14351435
* [`9b4a227`](https://github.com/npm/npm/commit/9b4a2278cee0a410a107c8ea4d11614731e0a943) [`bc32078`](https://github.com/npm/npm/commit/bc32078fa798acef0e036414cb448645f135b570)
14361436
[#14290](https://github.com/npm/npm/pull/14290)
1437-
Add `prepare` and `prepublishOnly` lifecyle events.
1437+
Add `prepare` and `prepublishOnly` lifecycle events.
14381438
([@othiym23](https://github.com/othiym23))
14391439
* [`52fdefd`](https://github.com/npm/npm/commit/52fdefddb48f0c39c6e8eb4c118eb306c9436117)
14401440
[#14290](https://github.com/npm/npm/pull/14290)

deps/npm/changelogs/CHANGELOG-5.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ had been held by 1.3.16 since _December of 2013_.
12851285
If you can't get enough of the bleeding edge, I encourage you to check out
12861286
our canary release of npm. Get it with `npm install -g npmc`. It's going to
12871287
be seeing some exciting stuff in the next couple of weeks, starting with a
1288-
rewriten `npm dedupe`, but moving on to… well, you'll just have to wait and
1288+
rewritten `npm dedupe`, but moving on to… well, you'll just have to wait and
12891289
find out.
12901290

12911291
### PERFORMANCE
@@ -1911,7 +1911,7 @@ right? Here's what's bumping that number for us this time:
19111911
([@KennethKinLum](https://github.com/KennethKinLum))
19121912
* [`c9b534a14`](https://github.com/npm/npm/commit/c9b534a148818d1a97787c0dfdba5f64ce3618a6)
19131913
[#17074](https://github.com/npm/npm/pull/17074)
1914-
Clarify config documention with multiple boolean flags.
1914+
Clarify config documentation with multiple boolean flags.
19151915
([@KennethKinLum](https://github.com/KennethKinLum))
19161916
* [`e111b0a40`](https://github.com/npm/npm/commit/e111b0a40c4bc6691d7b8d67ddce5419e67bfd27)
19171917
[#16768](https://github.com/npm/npm/pull/16768)
@@ -2117,7 +2117,7 @@ added 234 packages in .005ms
21172117
Fix a crash while installing with `--no-shrinkwrap`.
21182118
([@jacknagel](https://github.com/jacknagel))
21192119

2120-
### DOC UPATES
2120+
### DOC UPDATES
21212121

21222122
* [`89e0cb816`](https://github.com/npm/npm/commit/89e0cb8165dd9c3c7ac74d531617f367099608f4)
21232123
[#16818](https://github.com/npm/npm/pull/16818)

deps/npm/doc/cli/npm-ci.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ cache:
3939

4040
This command is similar to `npm-install(1)`, except it's meant to be used in
4141
automated environments such as test platforms, continuous integration, and
42-
deployment. It can be significantly faster than a regular npm install by
43-
skipping certain user-oriented features. It is also more strict than a regular
44-
install, which can help catch errors or inconsistencies caused by the
42+
deployment -- or any situation where you want to make sure you're doing a clean
43+
install of your dependencies. It can be significantly faster than a regular npm
44+
install by skipping certain user-oriented features. It is also more strict than
45+
a regular install, which can help catch errors or inconsistencies caused by the
4546
incrementally-installed local environments of most npm users.
4647

4748
In short, the main differences between using `npm install` and `npm ci` are:

deps/npm/doc/cli/npm-completion.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ everywhere:
1717
npm completion >> ~/.bashrc
1818
npm completion >> ~/.zshrc
1919

20-
You may of course also pipe the output of npm completion to a file
21-
such as `/usr/local/etc/bash_completion.d/npm` if you have a system
22-
that will read that file for you.
20+
You may of course also pipe the output of `npm completion` to a file
21+
such as `/usr/local/etc/bash_completion.d/npm` or
22+
`/etc/bash_completion.d/npm` if you have a system that will read
23+
that file for you.
2324

2425
When `COMP_CWORD`, `COMP_LINE`, and `COMP_POINT` are defined in the
2526
environment, `npm completion` acts in "plumbing mode", and outputs

deps/npm/doc/cli/npm-deprecate.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@ npm-deprecate(1) -- Deprecate a version of a package
1010
This command will update the npm registry entry for a package, providing
1111
a deprecation warning to all who attempt to install it.
1212

13-
It works on version ranges as well as specific versions, so you can do
14-
something like this:
13+
It works on [version ranges](https://semver.npmjs.com/) as well as specific
14+
versions, so you can do something like this:
1515

1616
npm deprecate my-thing@"< 0.2.3" "critical bug fixed in v0.2.3"
1717

1818
Note that you must be the package owner to deprecate something. See the
1919
`owner` and `adduser` help topics.
2020

21-
To un-deprecate a package, specify an empty string (`""`) for the `message` argument.
21+
To un-deprecate a package, specify an empty string (`""`) for the `message`
22+
argument. Note that you must use double quotes with no space between them to
23+
format an empty string.
2224

2325
## SEE ALSO
2426

deps/npm/doc/cli/npm-dist-tag.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Add, remove, and enumerate distribution tags on a package:
1515

1616
* add:
1717
Tags the specified version of the package with the specified tag, or the
18-
`--tag` config if not specified. If the tag you're adding is `latest` and you
19-
have two-factor authentication on auth-and-writes then you'll need to include
20-
an otp on the command line with `--otp`.
18+
`--tag` config if not specified. If you have two-factor authentication on
19+
auth-and-writes then youll need to include a one-time password on the
20+
command line with `--otp <one-time password>`.
2121

2222
* rm:
2323
Clear a tag that is no longer in use from the package.

deps/npm/doc/cli/npm-edit.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ npm-edit(1) -- Edit an installed package
33

44
## SYNOPSIS
55

6-
npm edit <pkg>[@<version>]
6+
npm edit <pkg>[/<subpkg>...]
77

88
## DESCRIPTION
99

10-
Opens the package folder in the default editor (or whatever you've
11-
configured as the npm `editor` config -- see `npm-config(7)`.)
10+
Selects a (sub)dependency in the current
11+
working directory and opens the package folder in the default editor
12+
(or whatever you've configured as the npm `editor` config -- see
13+
`npm-config(7)`.)
1214

1315
After it has been edited, the package is rebuilt so as to pick up any
1416
changes in compiled packages.

deps/npm/doc/cli/npm-install.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ after packing it up into a tarball (b).
199199
be any valid semver range or exact version, and npm will look for any tags
200200
or refs matching that range in the remote repository, much as it would for a
201201
registry dependency. If neither `#<commit-ish>` or `#semver:<semver>` is
202-
specified, then `master` is used.
202+
specified, then the default branch of the repository is used.
203203

204204
If the repository makes use of submodules, those submodules will be cloned
205205
as well.

deps/npm/doc/cli/npm-outdated.md

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ In the output:
2727
* `package type` (when using `--long` / `-l`) tells you whether this package is
2828
a `dependency` or a `devDependency`. Packages not included in `package.json`
2929
are always marked `dependencies`.
30+
* `homepage` (when using `--long` / `-l`) is the `homepage` value contained in the package's `package.json`
3031
* Red means there's a newer version matching your semver requirements, so you should update now.
3132
* Yellow indicates that there's a newer version above your semver requirements (usually new major, or new 0.x minor) so proceed with caution.
3233

0 commit comments

Comments
 (0)