Skip to content

Commit 11c9698

Browse files
zkattargos
authored andcommitted
deps: upgrade npm to 6.4.1
PR-URL: #22591 Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 18ce2b8 commit 11c9698

File tree

743 files changed

+19050
-29478
lines changed

Some content is hidden

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

743 files changed

+19050
-29478
lines changed

deps/npm/AUTHORS

+17
Original file line numberDiff line numberDiff line change
@@ -584,3 +584,20 @@ Geoffrey Mattie <[email protected]>
584584
Luis Lobo Borobia <[email protected]>
585585
Aaron Tribou <[email protected]>
586586
587+
Brad Johnson <[email protected]>
588+
Artem Varaksa <[email protected]>
589+
590+
Darryl Pogue <[email protected]>
591+
Rick Schubert <[email protected]>
592+
593+
594+
Martin Kühl <[email protected]>
595+
Valentin Ouvrard <[email protected]>
596+
Noah Benham <[email protected]>
597+
Brian Olore <[email protected]>
598+
Mat Warger <[email protected]>
599+
Federico Rampazzo <[email protected]>
600+
SneakyFish5 <[email protected]>
601+
Nikki Everett <[email protected]>
602+
Erik Price <[email protected]>
603+
Lars Willighagen <[email protected]>

deps/npm/CHANGELOG.md

+274-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,275 @@
1+
## v6.4.1 (2018-08-22):
2+
3+
### BUGFIXES
4+
5+
* [`4bd40f543`](https://github.com/npm/cli/commit/4bd40f543dc89f0721020e7d0bb3497300d74818)
6+
[#42](https://github.com/npm/cli/pull/42)
7+
Prevent blowing up on malformed responses from the `npm audit` endpoint, such
8+
as with third-party registries.
9+
([@framp](https://github.com/framp))
10+
* [`0e576f0aa`](https://github.com/npm/cli/commit/0e576f0aa6ea02653d948c10f29102a2d4a31944)
11+
[#46](https://github.com/npm/cli/pull/46)
12+
Fix `NO_PROXY` support by renaming npm-side config to `--noproxy`. The
13+
environment variable should still work.
14+
([@SneakyFish5](https://github.com/SneakyFish5))
15+
* [`d8e811d6a`](https://github.com/npm/cli/commit/d8e811d6adf3d87474982cb831c11316ac725605)
16+
[#33](https://github.com/npm/cli/pull/33)
17+
Disable `update-notifier` checks when a CI environment is detected.
18+
([@Sibiraj-S](https://github.com/Sibiraj-S))
19+
* [`1bc5b8cea`](https://github.com/npm/cli/commit/1bc5b8ceabc86bfe4777732f25ffef0f3de81bd1)
20+
[#47](https://github.com/npm/cli/pull/47)
21+
Fix issue where `postpack` scripts would break if `pack` was used with
22+
`--dry-run`.
23+
([@larsgw](https://github.com/larsgw))
24+
25+
### DEPENDENCY BUMPS
26+
27+
* [`4c57316d5`](https://github.com/npm/cli/commit/4c57316d5633e940105fa545b52d8fbfd2eb9f75)
28+
29+
([@zkat](https://github.com/zkat))
30+
* [`85f4d7905`](https://github.com/npm/cli/commit/85f4d79059865d5267f3516b6cdbc746012202c6)
31+
32+
([@zkat](https://github.com/zkat))
33+
* [`d20ac242a`](https://github.com/npm/cli/commit/d20ac242aeb44aa3581c65c052802a02d5eb22f3)
34+
35+
No real changes in npm-packlist, but npm-bundled included a
36+
circular dependency fix, as well as adding a proper LICENSE file.
37+
([@isaacs](https://github.com/isaacs))
38+
* [`e8d5f4418`](https://github.com/npm/cli/commit/e8d5f441821553a31fc8cd751670663699d2c8ce)
39+
[npm.community#632](https://npm.community/t/https://npm.community/t/using-npm-ci-does-not-run-prepare-script-for-git-modules/632)
40+
41+
Fixes issue where `npm ci` wasn't running the `prepare` lifecycle script when
42+
installing git dependencies
43+
([@edahlseng](https://github.com/edahlseng))
44+
* [`a5e6f78e9`](https://github.com/npm/cli/commit/a5e6f78e916873f7d18639ebdb8abd20479615a9)
45+
46+
Fixes memory leak problem when streaming large files (like legacy npm search).
47+
([@daern91](https://github.com/daern91))
48+
* [`3b940331d`](https://github.com/npm/cli/commit/3b940331dcccfa67f92366adb7ffd9ecf7673a9a)
49+
[npm.community#1042](https://npm.community/t/3-path-variables-are-assigned-to-child-process-launched-by-npm/1042)
50+
51+
Fixes issue for Windows user where multiple `Path`/`PATH` variables were being
52+
added to the environment and breaking things in all sorts of fun and
53+
interesting ways.
54+
([@JimiC](https://github.com/JimiC))
55+
* [`d612d2ce8`](https://github.com/npm/cli/commit/d612d2ce8fab72026f344f125539ecbf3746af9a)
56+
57+
([@iarna](https://github.com/iarna))
58+
* [`1f6ba1cb1`](https://github.com/npm/cli/commit/1f6ba1cb174590c1f5d2b00e2ca238dfa39d507a)
59+
60+
([@domenic](https://github.com/domenic))
61+
* [`37b8f405f`](https://github.com/npm/cli/commit/37b8f405f35c861b7beeed56f71ad20b0bf87889)
62+
63+
([@mikeal](https://github.com/mikeal))
64+
* [`bb91a2a14`](https://github.com/npm/cli/commit/bb91a2a14562e77769057f1b6d06384be6d6bf7f)
65+
66+
([@iarna](https://github.com/iarna))
67+
* [`30bc9900a`](https://github.com/npm/cli/commit/30bc9900ae79c80bf0bdee0ae6372da6f668124c)
68+
69+
Adds support for two more CI services
70+
([@watson](https://github.com/watson))
71+
* [`1d2fa4ddd`](https://github.com/npm/cli/commit/1d2fa4dddcab8facfee92096cc24b299387f3182)
72+
73+
([@joshbruce](https://github.com/joshbruce))
74+
75+
### DOCUMENTATION
76+
77+
* [`08ecde292`](https://github.com/npm/cli/commit/08ecde2928f8c89a2fdaa800ae845103750b9327)
78+
[#54](https://github.com/npm/cli/pull/54)
79+
Mention registry terms of use in manpage and registry docs and update language
80+
in README for it.
81+
([@kemitchell](https://github.com/kemitchell))
82+
* [`de956405d`](https://github.com/npm/cli/commit/de956405d8b72354f98579d00c6dd30ac3b9bddf)
83+
[#41](https://github.com/npm/cli/pull/41)
84+
Add documentation for `--dry-run` in `install` and `pack` docs.
85+
([@reconbot](https://github.com/reconbot))
86+
* [`95031b90c`](https://github.com/npm/cli/commit/95031b90ce0b0c4dcd5e4eafc86e3e5bfd59fb3e)
87+
[#48](https://github.com/npm/cli/pull/48)
88+
Update republish time and lightly reorganize republish info.
89+
([@neverett](https://github.com/neverett))
90+
* [`767699b68`](https://github.com/npm/cli/commit/767699b6829b8b899d5479445e99b0ffc43ff92d)
91+
[#53](https://github.com/npm/cli/pull/53)
92+
Correct `[email protected]` release date in changelog.
93+
([@charmander](https://github.com/charmander))
94+
* [`3fea3166e`](https://github.com/npm/cli/commit/3fea3166eb4f43f574fcfd9ee71a171feea2bc29)
95+
[#55](https://github.com/npm/cli/pull/55)
96+
Align command descriptions in help text.
97+
([@erik](https://github.com/erik))
98+
99+
## v6.4.0 (2018-08-09):
100+
101+
### NEW FEATURES
102+
103+
* [`6e9f04b0b`](https://github.com/npm/cli/commit/6e9f04b0baed007169d4e0c341f097cf133debf7)
104+
[npm/cli#8](https://github.com/npm/cli/pull/8)
105+
Search for authentication token defined by environment variables by preventing
106+
the translation layer from env variable to npm option from breaking
107+
`:_authToken`.
108+
([@mkhl](https://github.com/mkhl))
109+
* [`84bfd23e7`](https://github.com/npm/cli/commit/84bfd23e7d6434d30595594723a6e1976e84b022)
110+
[npm/cli#35](https://github.com/npm/cli/pull/35)
111+
Stop filtering out non-IPv4 addresses from `local-addrs`, making npm actually
112+
use IPv6 addresses when it must.
113+
([@valentin2105](https://github.com/valentin2105))
114+
* [`792c8c709`](https://github.com/npm/cli/commit/792c8c709dc7a445687aa0c8cba5c50bc4ed83fd)
115+
[npm/cli#31](https://github.com/npm/cli/pull/31)
116+
configurable audit level for non-zero exit
117+
`npm audit` currently exits with exit code 1 if any vulnerabilities are found of any level.
118+
Add a flag of `--audit-level` to `npm audit` to allow it to pass if only vulnerabilities below a certain level are found.
119+
Example: `npm audit --audit-level=high` will exit with 0 if only low or moderate level vulns are detected.
120+
([@lennym](https://github.com/lennym))
121+
122+
### BUGFIXES
123+
124+
* [`d81146181`](https://github.com/npm/cli/commit/d8114618137bb5b9a52a86711bb8dc18bfc8e60c)
125+
[npm/cli#32](https://github.com/npm/cli/pull/32)
126+
Don't check for updates to npm when we are updating npm itself.
127+
([@olore](https://github.com/olore))
128+
129+
### DEPENDENCY UPDATES
130+
131+
A very special dependency update event! Since the [release of
132+
`[email protected]`](https://github.com/nodejs/node-gyp/pull/1521), an awkward
133+
version conflict that was preventing `request` from begin flattened was
134+
resolved. This means two things:
135+
136+
1. We've cut down the npm tarball size by another 200kb, to 4.6MB
137+
2. `npm audit` now shows no vulnerabilities for npm itself!
138+
139+
Thanks, [@rvagg](https://github.com/rvagg)!
140+
141+
* [`866d776c2`](https://github.com/npm/cli/commit/866d776c27f80a71309389aaab42825b2a0916f6)
142+
143+
([@simov](https://github.com/simov))
144+
* [`f861c2b57`](https://github.com/npm/cli/commit/f861c2b579a9d4feae1653222afcefdd4f0e978f)
145+
146+
([@rvagg](https://github.com/rvagg))
147+
* [`32e6947c6`](https://github.com/npm/cli/commit/32e6947c60db865257a0ebc2f7e754fedf7a6fc9)
148+
[npm/cli#39](https://github.com/npm/cli/pull/39)
149+
150+
REVERT REVERT, newer versions of this library are broken and print ansi
151+
codes even when disabled.
152+
([@iarna](https://github.com/iarna))
153+
* [`beb96b92c`](https://github.com/npm/cli/commit/beb96b92caf061611e3faafc7ca10e77084ec335)
154+
155+
([@zkat](https://github.com/zkat))
156+
* [`348fc91ad`](https://github.com/npm/cli/commit/348fc91ad223ff91cd7bcf233018ea1d979a2af1)
157+
`[email protected]`: Fixes errors with empty or string-only
158+
license fields.
159+
([@Gudahtt](https://github.com/Gudahtt))
160+
* [`e57d34575`](https://github.com/npm/cli/commit/e57d3457547ef464828fc6f82ae4750f3e511550)
161+
162+
([@shesek](https://github.com/shesek))
163+
* [`46f1c6ad4`](https://github.com/npm/cli/commit/46f1c6ad4b2fd5b0d7ec879b76b76a70a3a2595c)
164+
165+
([@isaacs](https://github.com/isaacs))
166+
* [`50df1bf69`](https://github.com/npm/cli/commit/50df1bf691e205b9f13e0fff0d51a68772c40561)
167+
168+
([@iarna](https://github.com/iarna))
169+
([@Erveon](https://github.com/Erveon))
170+
([@huochunpeng](https://github.com/huochunpeng))
171+
172+
### DOCUMENTATION
173+
174+
* [`af98e76ed`](https://github.com/npm/cli/commit/af98e76ed96af780b544962aa575585b3fa17b9a)
175+
[npm/cli#34](https://github.com/npm/cli/pull/34)
176+
Remove `npm publish` from list of commands not affected by `--dry-run`.
177+
([@joebowbeer](https://github.com/joebowbeer))
178+
* [`e2b0f0921`](https://github.com/npm/cli/commit/e2b0f092193c08c00f12a6168ad2bd9d6e16f8ce)
179+
[npm/cli#36](https://github.com/npm/cli/pull/36)
180+
Tweak formatting in repository field examples.
181+
([@noahbenham](https://github.com/noahbenham))
182+
* [`e2346e770`](https://github.com/npm/cli/commit/e2346e7702acccefe6d711168c2b0e0e272e194a)
183+
[npm/cli#14](https://github.com/npm/cli/pull/14)
184+
Used `process.env` examples to make accessing certain `npm run-scripts`
185+
environment variables more clear.
186+
([@mwarger](https://github.com/mwarger))
187+
188+
## v6.3.0 (2018-08-01):
189+
190+
This is basically the same as the prerelease, but two dependencies have been
191+
bumped due to bugs that had been around for a while.
192+
193+
* [`0a22be42e`](https://github.com/npm/cli/commit/0a22be42eb0d40cd0bd87e68c9e28fc9d72c0e19)
194+
195+
([@zkat](https://github.com/zkat))
196+
* [`0096f6997`](https://github.com/npm/cli/commit/0096f69978d2f40b170b28096f269b0b0008a692)
197+
198+
([@zkat](https://github.com/zkat))
199+
200+
## v6.3.0-next.0 (2018-07-25):
201+
202+
### NEW FEATURES
203+
204+
* [`ad0dd226f`](https://github.com/npm/cli/commit/ad0dd226fb97a33dcf41787ae7ff282803fb66f2)
205+
[npm/cli#26](https://github.com/npm/cli/pull/26)
206+
`npm version` now supports a `--preid` option to specify the preid for
207+
prereleases. For example, `npm version premajor --preid rc` will tag a version
208+
like `2.0.0-rc.0`.
209+
([@dwilches](https://github.com/dwilches))
210+
211+
### MESSAGING IMPROVEMENTS
212+
213+
* [`c1dad1e99`](https://github.com/npm/cli/commit/c1dad1e994827f2eab7a13c0f6454f4e4c22ebc2)
214+
[npm/cli#6](https://github.com/npm/cli/pull/6)
215+
Make `npm audit fix` message provide better instructions for vulnerabilities
216+
that require manual review.
217+
([@bradsk88](https://github.com/bradsk88))
218+
* [`15c1130fe`](https://github.com/npm/cli/commit/15c1130fe81961706667d845aad7a5a1f70369f3)
219+
Fix missing colon next to tarball url in new `npm view` output.
220+
([@zkat](https://github.com/zkat))
221+
* [`21cf0ab68`](https://github.com/npm/cli/commit/21cf0ab68cf528d5244ae664133ef400bdcfbdb6)
222+
[npm/cli#24](https://github.com/npm/cli/pull/24)
223+
Use the defaut OTP explanation everywhere except when the context is
224+
"OTP-aware" (like when setting double-authentication). This improves the
225+
overall CLI messaging when prompting for an OTP code.
226+
([@jdeniau](https://github.com/jdeniau))
227+
228+
### MISC
229+
230+
* [`a9ac8712d`](https://github.com/npm/cli/commit/a9ac8712dfafcb31a4e3deca24ddb92ff75e942d)
231+
[npm/cli#21](https://github.com/npm/cli/pull/21)
232+
Use the extracted `stringify-package` package.
233+
([@dpogue](https://github.com/dpogue))
234+
* [`9db15408c`](https://github.com/npm/cli/commit/9db15408c60be788667cafc787116555507dc433)
235+
[npm/cli#27](https://github.com/npm/cli/pull/27)
236+
`wrappy` was previously added to dependencies in order to flatten it, but we
237+
no longer do legacy-style for npm itself, so it has been removed from
238+
`package.json`.
239+
([@rickschubert](https://github.com/rickschubert))
240+
241+
### DOCUMENTATION
242+
243+
* [`3242baf08`](https://github.com/npm/cli/commit/3242baf0880d1cdc0e20b546d3c1da952e474444)
244+
[npm/cli#13](https://github.com/npm/cli/pull/13)
245+
Update more dead links in README.md.
246+
([@u32i64](https://github.com/u32i64))
247+
* [`06580877b`](https://github.com/npm/cli/commit/06580877b6023643ec780c19d84fbe120fe5425c)
248+
[npm/cli#19](https://github.com/npm/cli/pull/19)
249+
Update links in docs' `index.html` to refer to new bug/PR URLs.
250+
([@watilde](https://github.com/watilde))
251+
* [`ca03013c2`](https://github.com/npm/cli/commit/ca03013c23ff38e12902e9569a61265c2d613738)
252+
[npm/cli#15](https://github.com/npm/cli/pull/15)
253+
Fix some typos in file-specifiers docs.
254+
([@Mstrodl](https://github.com/Mstrodl))
255+
* [`4f39f79bc`](https://github.com/npm/cli/commit/4f39f79bcacef11bf2f98d09730bc94d0379789b)
256+
[npm/cli#16](https://github.com/npm/cli/pull/16)
257+
Fix some typos in file-specifiers and package-lock docs.
258+
([@watilde](https://github.com/watilde))
259+
* [`35e51f79d`](https://github.com/npm/cli/commit/35e51f79d1a285964aad44f550811aa9f9a72cd8)
260+
[npm/cli#18](https://github.com/npm/cli/pull/18)
261+
Update build status badge url in README.
262+
([@watilde](https://github.com/watilde))
263+
* [`a67db5607`](https://github.com/npm/cli/commit/a67db5607ba2052b4ea44f66657f98b758fb4786)
264+
[npm/cli#17](https://github.com/npm/cli/pull/17/)
265+
Replace TROUBLESHOOTING.md with [posts in
266+
npm.community](https://npm.community/c/support/troubleshooting).
267+
([@watilde](https://github.com/watilde))
268+
* [`e115f9de6`](https://github.com/npm/cli/commit/e115f9de65bf53711266152fc715a5012f7d3462)
269+
[npm/cli#7](https://github.com/npm/cli/pull/7)
270+
Use https URLs in documentation when appropriate. Happy [Not Secure Day](https://arstechnica.com/gadgets/2018/07/todays-the-day-that-chrome-brands-plain-old-http-as-not-secure/)!
271+
([@XhmikosR](https://github.com/XhmikosR))
272+
1273
## v6.2.0 (2018-07-13):
2274

3275
In case you missed it, [we
@@ -13,7 +285,8 @@ quite ready on time but that we'd still like to include. Enjoy!
13285

14286
* [`244b18380`](https://github.com/npm/npm/commit/244b18380ee55950b13c293722771130dbad70de)
15287
[#20554](https://github.com/npm/npm/pull/20554)
16-
add support for --parseable output
288+
Add support for tab-separated output for `npm audit` data with the
289+
`--parseable` flag.
17290
([@luislobo](https://github.com/luislobo))
18291
* [`7984206e2`](https://github.com/npm/npm/commit/7984206e2f41b8d8361229cde88d68f0c96ed0b8)
19292
[#12697](https://github.com/npm/npm/pull/12697)

deps/npm/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This includes anyone who may show up to the npm/npm repo with issues, PRs, comme
3535
* Comment on issues when they have a reference to the answer.
3636
* If community members aren't sure they are correct and don't have a reference to the answer, please leave the issue and try another one.
3737
* Defer to collaborators and npm employees for answers.
38-
* Make sure to search for [the troubleshooting doc](./TROUBLESHOOTING.md) and search on the issue tracker for similar issues before opening a new one.
38+
* Make sure to search for [the troubleshooting posts on npm.community](https://npm.community/c/support/troubleshooting) and search on the issue tracker for similar issues before opening a new one.
3939
* Any users with urgent support needs are welcome to email [email protected], and our dedicated support team will be happy to help.
4040

4141
PLEASE don't @ collaborators or npm employees on issues. The CLI team is small, and has many outstanding commitments to fulfill.

deps/npm/README.md

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
npm(1) -- a JavaScript package manager
22
==============================
33

4-
[![Build Status](https://img.shields.io/travis/npm/npm/latest.svg)](https://travis-ci.org/npm/npm)
4+
[![Build Status](https://img.shields.io/travis/npm/cli/latest.svg)](https://travis-ci.org/npm/cli)
55

66
## SYNOPSIS
77

@@ -16,17 +16,14 @@ Much more info will be available via `npm help` once it's installed.
1616
To install an old **and unsupported** version of npm that works on node v5
1717
and prior, clone the git repo and dig through the old tags and branches.
1818

19-
**npm is configured to use npm, Inc.'s public package registry at
20-
<https://registry.npmjs.org> by default.**
19+
**npm is configured to use npm, Inc.'s public registry at
20+
<https://registry.npmjs.org> by default.** Use of the npm public registry
21+
is subject to terms of use available at <https://www.npmjs.com/policies/terms>.
2122

2223
You can configure npm to use any compatible registry you
2324
like, and even run your own registry. Check out the [doc on
2425
registries](https://docs.npmjs.com/misc/registry).
2526

26-
Use of someone else's registry may be governed by terms of use. The
27-
terms of use for the default public registry are available at
28-
<https://www.npmjs.com>.
29-
3027
## Super Easy Install
3128

3229
npm is bundled with [node](https://nodejs.org/en/download/).
@@ -88,7 +85,7 @@ experience if you run a recent version of npm. To upgrade, either use [Microsoft
8885
upgrade tool](https://github.com/felixrieseberg/npm-windows-upgrade),
8986
[download a new version of Node](https://nodejs.org/en/download/),
9087
or follow the Windows upgrade instructions in the
91-
[npm Troubleshooting Guide](./TROUBLESHOOTING.md).
88+
[Installing/upgrading npm](https://npm.community/t/installing-upgrading-npm/251/2) post.
9289

9390
If that's not fancy enough for you, then you can fetch the code with
9491
git, and mess with it directly.

deps/npm/bin/npm-cli.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,25 @@
6969
npm.command = 'help'
7070
}
7171

72+
var isGlobalNpmUpdate = conf.global && ['install', 'update'].includes(npm.command) && npm.argv.includes('npm')
73+
7274
// now actually fire up npm and run the command.
7375
// this is how to use npm programmatically:
7476
conf._exit = true
7577
npm.load(conf, function (er) {
7678
if (er) return errorHandler(er)
7779
if (
80+
!isGlobalNpmUpdate &&
7881
npm.config.get('update-notifier') &&
7982
!unsupported.checkVersion(process.version).unsupported
8083
) {
8184
const pkg = require('../package.json')
8285
let notifier = require('update-notifier')({pkg})
86+
const isCI = require('ci-info').isCI
8387
if (
8488
notifier.update &&
85-
notifier.update.latest !== pkg.version
89+
notifier.update.latest !== pkg.version &&
90+
!isCI
8691
) {
8792
const color = require('ansicolors')
8893
const useColor = npm.config.get('color')

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ $ npm hook rm id-deadbeef
4848
## DESCRIPTION
4949

5050
Allows you to manage [npm
51-
hooks](http://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm),
51+
hooks](https://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm),
5252
including adding, removing, listing, and updating.
5353

5454
Hooks allow you to configure URL endpoints that will be notified whenever a
@@ -69,4 +69,4 @@ request came from your own configured hook.
6969

7070
## SEE ALSO
7171

72-
* ["Introducing Hooks" blog post](http://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm)
72+
* ["Introducing Hooks" blog post](https://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm)

0 commit comments

Comments
 (0)