Skip to content

Commit 05d40d9

Browse files
zkatMylesBorins
authored andcommitted
deps: upgrade npm in LTS to 2.15.11
PR-URL: #8928 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent 5ed5142 commit 05d40d9

File tree

511 files changed

+6271
-9262
lines changed

Some content is hidden

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

511 files changed

+6271
-9262
lines changed

deps/npm/AUTHORS

+8
Original file line numberDiff line numberDiff line change
@@ -370,3 +370,11 @@ Gianluca Casati <[email protected]>
370370
Tapani Moilanen <[email protected]>
371371
Simon MacDonald <[email protected]>
372372
Adam Stankiewicz <[email protected]>
373+
Julian Duque <[email protected]>
374+
Michael Hart <[email protected]>
375+
Daniel Paz-Soldan <[email protected]>
376+
legodude17 <[email protected]>
377+
Andrew Meyer <[email protected]>
378+
Michael Jasper <[email protected]>
379+
380+
Jason Karns <[email protected]>

deps/npm/CHANGELOG.md

+197
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,200 @@
1+
### v2.15.11 (2016-09-08):
2+
3+
On we go with our monthly release cadence! This week is pretty much all
4+
dependency updates and some documentation changes, as can be expected by now.
5+
6+
Note that `npm@4` will almost certainly be released next month! It's not final
7+
what we'll end up doing as far as LTS support goes, but the current thinking is
8+
that, considering how small and resource-constrained our team is, support for
9+
`npm@2` will be reduced to essentially maintenance, so we can better focus on
10+
`npm@3` as the new LTS version (which will go into `node@6`), and `npm@4` as our
11+
next main development version.
12+
13+
#### DOCUMENTATION UPDATES
14+
15+
* [`8f71038`](https://github.com/npm/npm/commit/8f71038310501ad5bc7445b2fa2ff0eaa377919a)
16+
[#13892](https://github.com/npm/npm/pull/13892)
17+
Update `LICENSE` file to match license on `master`.
18+
([@rvagg](https://github.com/rvagg))
19+
* [`e81b4f1`](https://github.com/npm/npm/commit/e81b4f1d18a4d79b7af8342747f2ed7dc3e84f0a)
20+
[#12438](https://github.com/npm/npm/issues/12438)
21+
Remind folks to use `#!/usr/bin/env node` in their `bin` scripts to make files
22+
executable directly.
23+
([@mxstbr](https://github.com/mxstbr))
24+
* [`f89789f`](https://github.com/npm/npm/commit/f89789f43d65bfc74f64f15a99356841377e1af3)
25+
[#13655](https://github.com/npm/npm/pull/13655)
26+
Document line comment syntax for `.npmrc`.
27+
([@mdjasper](https://github.com/mdjasper))
28+
* [`5cd3abc`](https://github.com/npm/npm/commit/5cd3abc3511515e09b4a1b781c0520e84c267c5b)
29+
[#13493](https://github.com/npm/npm/pull/13493)
30+
Document that the user config file can itself be configured either through the
31+
`$NPM_CONFIG_USERCONFIG` environment variable, or `--userconfig` command line
32+
flag.
33+
([@jasonkarns](https://github.com/jasonkarns))
34+
* [`dd71ca0`](https://github.com/npm/npm/commit/dd71ca0efc2094b824ccc9e23af0fc915499f2e6)
35+
[#13911](https://github.com/npm/npm/pull/13911)
36+
Minor documentation reword and cleanup.
37+
([@othiym23](https://github.com/othiym23))
38+
* [`f7a320c`](https://github.com/npm/npm/commit/f7a320c816947d578a050c97e0fb9878954be0e8)
39+
[#13682](https://github.com/npm/npm/pull/13682)
40+
Minor grammar fix in documentation for `npm scripts`.
41+
([@Ajedi32](https://github.com/Ajedi32))
42+
* [`e5cb5e8`](https://github.com/npm/npm/commit/e5cb5e8fcf4642836fedf3f3421c994a8e27e19b)
43+
[#13717](https://github.com/npm/npm/pull/13717)
44+
Document that `npm link` will link the files specified in the `bin` field of
45+
`package.json` to `{prefix}/bin/{name}`.
46+
([@legodude17](https://github.com/legodude17))
47+
48+
#### DEPENDENCY UPDATES
49+
* [`8bef026`](https://github.com/npm/npm/commit/8bef026603b6da888edf0d41308d9e532abfcd54)
50+
51+
([@francescoinfante](https://github.com/francescoinfante))
52+
* [`9f73f4a`](https://github.com/npm/npm/commit/9f73f4aab5f56b256c5cf9e461e81abfa2844945)
53+
54+
([@isaacs](https://github.com/isaacs))
55+
* [`5391b7e`](https://github.com/npm/npm/commit/5391b7e8cd4401fbadbf54e810fdc965a3662a21)
56+
57+
([@isaacs](https://github.com/isaacs))
58+
* [`43bfec8`](https://github.com/npm/npm/commit/43bfec8376dd8ded7d56a8dabd6139919544760e)
59+
60+
([@tim-kos](https://github.com/tim-kos))
61+
* [`39305f1`](https://github.com/npm/npm/commit/39305f1c76f74bf9789c769ef72a94ea9a81d119)
62+
63+
([@calvinmetcalf](https://github.com/calvinmetcalf))
64+
* [`a5512fa`](https://github.com/npm/npm/commit/a5512fafd72e23755e77e28f1122b008bc12a733)
65+
66+
([@zkochan](https://github.com/zkochan))
67+
* [`06a208b`](https://github.com/npm/npm/commit/06a208b178c1de3d0da58bc35a854d200fea8ef0)
68+
69+
* [npm/npm-registry-client#142](https://github.com/npm/npm-registry-client/pull/142) Fix `EventEmitter` warning spam from error handlers on socket. ([@addaleax](https://github.com/addaleax))
70+
* [npm/npm-registry-client#131](https://github.com/npm/npm-registry-client/pull/131) Adds support for streaming request bodies. ([@aredridel](https://github.com/aredridel))
71+
* Fixes [#13656](https://github.com/npm/npm/issues/13656).
72+
* Dependency updates.
73+
* Documentation improvements.
74+
([@othiym23](https://github.com/othiym23))
75+
* [`4f759be`](https://github.com/npm/npm/commit/4f759be1fb5e23180b970350e58f40a513daa680)
76+
77+
([@isaacs](https://github.com/isaacs))
78+
* [`4258b76`](https://github.com/npm/npm/commit/4258b764e2565f6294ae1e34a5653895290b62e3)
79+
80+
([@isaacs](https://github.com/isaacs))
81+
82+
### v2.15.10 (2016-08-11):
83+
84+
Hi all, today's our first release coming out of the new monthly release
85+
cadence. See below for details. We're all recovered from conferences now and
86+
raring to go! For LTS we see some bug fixes, documentation improvements and
87+
a host of dependency updates.
88+
89+
The most dramatic bug fix is probably the inclusion of scoped modules in
90+
bundled dependencies. Prior to this release and
91+
[v3.10.7](https://github.com/npm/npm/releases/v3.10.7), npm had ignored
92+
scoped modules found in `bundleDependencies` entirely.
93+
94+
#### NEW RELEASE CADENCE
95+
96+
Releasing npm has been, for the most part, a very prominent part of our
97+
weekly process process. As part of our efforts to find the most effective
98+
ways to allocate our team's resources, we decided last month that we would
99+
try and slow our releases down to a monthly cadence, and see if we found
100+
ourselves with as much extra time and attention as we expected to have.
101+
Process experiments are useful for finding more effective ways to do our
102+
work, and we're at least going to keep doing this for a whole quarter, and
103+
then measure how well it worked out. It's entirely likely that we'll switch
104+
back to a more frequent cadence, specially if we find that the value that
105+
weekly cadence was providing the community is not worth sacrificing for a
106+
bit of extra time. Does this affect you significantly? Let us know!
107+
108+
#### WINDOWS CORNER CASES
109+
110+
* [`405c404`](https://github.com/npm/npm/commit/405c4048c69c14d66e6179aba0c8a35e504e8041)
111+
[#13023](https://github.com/npm/npm/pull/13023)
112+
Fixed a Windows issue with the cache where callbacks could be called more than once.
113+
([@zkat](https://github.com/zkat))
114+
115+
* [`bf348dc`](https://github.com/npm/npm/commit/bf348dcfb944dc4b9f71b779bf172f86a2e1f474)
116+
[#13023](https://github.com/npm/npm/pull/13023)
117+
Fixed a Windows corner case with correct-mkdir where if SUDO_UID or
118+
SUDO_GID were set then we would try to chown things even though that can't
119+
work on Windows.
120+
([@zkat](https://github.com/zkat))
121+
122+
#### RACES IN THE CACHE
123+
124+
* [`68f29f1`](https://github.com/npm/npm/commit/68f29f18f65c7a7e1c58eb6933af41d786971379)
125+
[#12669](https://github.com/npm/npm/issues/12669)
126+
Ignore ENOENT errors on chownr while adding packages to cache. This change
127+
works around problems with race conditions and local packages.
128+
([@julianduque](https://github.com/julianduque))
129+
130+
#### BETTER GIT ENVIRONMENT WHITELISTING
131+
132+
* [`5e96566`](https://github.com/npm/npm/commit/5e96566088f0d88c1ed10c5a9cbb7c0cd4aa2aee)
133+
[#13358](https://github.com/npm/npm/pull/13358)
134+
Add GIT_EXEC_PATH to Git environment whitelist.
135+
([@mhart](https://github.com/mhart))
136+
137+
#### DOCUMENTATION
138+
139+
* [`363e381`](https://github.com/npm/npm/commit/363e381a4076ead89707a00cc4a447b1d59df3bc)
140+
[#13319](https://github.com/npm/npm/pull/13319)
141+
As Node.js 0.8 is no longer supported, remove mention of it from the README.
142+
([@watilde](https://github.com/watilde))
143+
* [`e8fafa8`](https://github.com/npm/npm/commit/e8fafa887c60eb8842c76c4b3dffe85eb49fa434)
144+
[#10167](https://github.com/npm/npm/pull/10167)
145+
Clarify in scope documentation that npm@2 is required for scoped packages.
146+
([@danpaz](https://github.com/danpaz))
147+
148+
#### DEPENDENCIES
149+
150+
* [`66ef279`](https://github.com/npm/npm/commit/66ef279b7c3b3e4f9454474dddd057cc1f21873b)
151+
[npm/fstream-npm#22](https://github.com/npm/fstream-npm/pull/22)
152+
153+
Always include NOTICE files now. Fix inclusion of scoped modules as bundled dependencies.
154+
([@kemitchell](https://github.com/kemitchell))
155+
([@forivall](https://github.com/forivall))
156+
* [`fe8385b`](https://github.com/npm/npm/commit/fe8385bd655502feb175eed175a6a06cafb2247a)
157+
158+
Update minimatch dep for security fix. See the minimatch update below for details.
159+
([@isaacs](https://github.com/isaacs))
160+
* [`51d49d2`](https://github.com/npm/npm/commit/51d49d2f79b4c69264de73a492ed54f87188d554)
161+
[isaacs/node-graceful-fs#71](https://github.com/isaacs/node-graceful-fs/pull/71)
162+
163+
`graceful-fs` had a [bug fix](https://github.com/isaacs/node-graceful-fs/pull/71) which
164+
fixes a problem ([nodejs/node#7846](https://github.com/nodejs/node/pull/7846)) exposed
165+
by recent changes to Node.js.
166+
([@thefourtheye](https://github.com/thefourtheye))
167+
* [`5c8f39d`](https://github.com/npm/npm/commit/5c8f39d152c43e96b9006ffe865646a36a433a8a)
168+
169+
Handle extremely long and terrible patterns more gracefully.
170+
There were some magic numbers that assumed that every extglob pattern starts
171+
and ends with a specific number of characters in the regular expression.
172+
Since !(||) patterns are a little bit more complicated, this led to creating
173+
an invalid regular expression and throwing.
174+
([@isaacs](https://github.com/isaacs))
175+
* [`d681e16`](https://github.com/npm/npm/commit/d681e16a475a49d6196af9a5cedaaf88712f3a9f)
176+
[npm/npm-user-validate#9](https://github.com/npm/npm-user-validate/pull/9)
177+
178+
Use correct, lower username length limit.
179+
([@aredridel](https://github.com/aredridel))
180+
* [`f918994`](https://github.com/npm/npm/commit/f918994bd05ca965766cd573606ac35fb3032d6e)
181+
182+
Update `request` dependency `tough-cookie` to `2.3.0` to
183+
to address [https://nodesecurity.io/advisories/130](https://nodesecurity.io/advisories/130).
184+
Versions 0.9.7 through 2.2.2 contain a vulnerable regular expression that,
185+
under certain conditions involving long strings of semicolons in the
186+
"Set-Cookie" header, causes the event loop to block for excessive amounts of
187+
time.
188+
([@stash-sfdc](https://github.com/stash-sfdc))
189+
* [`5540cc4`](https://github.com/npm/npm/commit/5540cc4d6bde65071fb6fc2cb074e8598bd1276f)
190+
[isaacs/rimraf#111](https://github.com/isaacs/rimraf/issues/111)
191+
`[email protected]`: Clarify assertions: cb is required, options are not.
192+
([@isaacs](https://github.com/isaacs))
193+
* [`6357928`](https://github.com/npm/npm/commit/6357928673be85f520dae2104fea58c35742bd65)
194+
195+
New licenses synced from spdx.org.
196+
([@shinnn](https://github.com/shinnn))
197+
1198
### v2.15.9 (2016-06-30):
2199

3200
What's this? An LTS release? Yes, that is indeed so. Small, as usual, and as

deps/npm/LICENSE

-46
Original file line numberDiff line numberDiff line change
@@ -233,49 +233,3 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
233233

234234

235235
--------
236-
237-
238-
The following additional terms shall apply to use of the npm software, the npm
239-
website, the npm repository and any other services or products offered by npm,
240-
Inc.:
241-
242-
"Node.js" trademark Joyent, Inc. npm is not officially part of the Node.js
243-
project, and is neither owned by nor affiliated with Joyent, Inc.
244-
245-
"npm" and "The npm Registry" are owned by npm, Inc. All rights reserved.
246-
247-
Modules published on the npm registry are not officially endorsed by npm, Inc.
248-
or the Node.js project.
249-
250-
Data published to the npm registry is not part of npm itself, and is the sole
251-
property of the publisher. While every effort is made to ensure accountability,
252-
there is absolutely no guarantee, warrantee, or assertion expressed or implied
253-
as to the quality, fitness for a specific purpose, or lack of malice in any
254-
given npm package. Packages downloaded through the npm registry are
255-
independently licensed and are not covered by this license.
256-
257-
Additional policies relating to, and restrictions on use of, npm products and
258-
services are available on the npm website. All such policies and restrictions,
259-
as updated from time to time, are hereby incorporated into this license
260-
agreement. By using npm, you acknowledge your agreement to all such policies
261-
and restrictions.
262-
263-
If you have a complaint about a package in the public npm registry, and cannot
264-
resolve it with the package owner, please email [email protected] and explain
265-
the situation. See the [npm Dispute Resolution
266-
policy](https://github.com/npm/policies/blob/master/disputes.md) for more
267-
details.
268-
269-
Any data published to The npm Registry (including user account information) may
270-
be removed or modified at the sole discretion of the npm server administrators.
271-
272-
"npm Logo" contributed by Mathias Pettersson and Brian Hammond,
273-
use is subject to https://www.npmjs.com/policies/trademark
274-
275-
"Gubblebum Blocky" font
276-
Copyright (c) by Tjarda Koster, https://jelloween.deviantart.com
277-
included for use in the npm website and documentation,
278-
used with permission.
279-
280-
This program uses several Node modules contained in the node_modules/
281-
subdirectory, according to the terms of their respective licenses.

deps/npm/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Much more info available via `npm help` once it's installed.
99

1010
## IMPORTANT
1111

12-
**You need node v0.8 or higher to run this program.**
12+
**You need node v0.10 or higher to run this program.**
1313

1414
To install an old **and unsupported** version of npm that works on node 0.3
1515
and prior, clone the git repo and dig through the old tags and branches.

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

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ after packing it up into a tarball (b).
171171
to the environment when running git:
172172

173173
* `GIT_ASKPASS`
174+
* `GIT_EXEC_PATH`
174175
* `GIT_PROXY_COMMAND`
175176
* `GIT_SSH`
176177
* `GIT_SSH_COMMAND`

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Package linking is a two-step process.
1313

1414
First, `npm link` in a package folder will create a symlink in the global folder
1515
`{prefix}/lib/node_modules/<package>` that links to the package where the `npm
16-
link` command was executed. (see `npm-config(7)` for the value of `prefix`).
16+
link` command was executed. (see `npm-config(7)` for the value of `prefix`). It
17+
will also link any bins in the package to `{prefix}/bin/{name}`.
1718

1819
Next, in some other location, `npm link package-name` will create a
1920
symbolic link from globally-installed `package-name` to `node_modules/`

deps/npm/doc/files/npmrc.md

+10
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ sensitive credentials, they must be readable and writable _only_ by your user
4141
account (i.e. must have a mode of `0600`), otherwise they _will be ignored by
4242
npm!_
4343

44+
#### Comments
45+
46+
Lines in `.npmrc` files are interpreted as comments when they begin with a `;` or `#` character. `.npmrc` files are parsed by [npm/ini](https://github.com/npm/ini), which specifies this comment syntax.
47+
48+
For example:
49+
50+
# last modified: 01 Jan 2016
51+
; Set a new registry for a scoped package
52+
@myscope:registry=https://mycustomregistry.example.org
53+
4454
### Per-project config file
4555

4656
When working locally in a project, a `.npmrc` file in the root of the

deps/npm/doc/files/package.json.md

+4
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,10 @@ would be the same as this:
249249
, "version": "1.2.5"
250250
, "bin" : { "my-program" : "./path/to/program" } }
251251

252+
Please make sure that your file(s) referenced in `bin` starts with
253+
`#!/usr/bin/env node`, otherwise the scripts are started without the node
254+
executable!
255+
252256
## man
253257

254258
Specify either a single file or an array of filenames to put in place for the

deps/npm/doc/misc/npm-config.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ same.
2626

2727
The four relevant files are:
2828

29-
* per-project config file (/path/to/my/project/.npmrc)
30-
* per-user config file (~/.npmrc)
31-
* global config file ($PREFIX/npmrc)
32-
* npm builtin config file (/path/to/npm/npmrc)
29+
* per-project configuration file (`/path/to/my/project/.npmrc`)
30+
* per-user configuration file (defaults to `$HOME/.npmrc`; configurable via CLI
31+
option `--userconfig` or environment variable `$NPM_CONF_USERCONFIG`)
32+
* global configuration file (defaults to `$PREFIX/etc/npmrc`; configurable via
33+
CLI option `--globalconfig` or environment variable `$NPM_CONF_GLOBALCONFIG`)
34+
* npm's built-in configuration file (`/path/to/npm/npmrc`)
3335

3436
See npmrc(5) for more details.
3537

deps/npm/doc/misc/npm-scope.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ followed by a slash, e.g.
1313
Scopes are a way of grouping related packages together, and also affect a few
1414
things about the way npm treats the package.
1515

16-
Scoped packages are supported by the public npm registry. The npm
17-
client is backwards-compatible with un-scoped registries, so it can be
18-
used to work with scoped and un-scoped registries at the same time.
16+
Scoped packages can be published and installed as of `npm@2` and are supported
17+
by the primary npm registry. The npm client is backwards-compatible with
18+
un-scoped registries, so it can be used to work with scoped and un-scoped
19+
registries at the same time.
1920

2021
## Installing scoped packages
2122

@@ -51,15 +52,16 @@ just specifying to require the module `mypackage` in the folder called `@myorg`.
5152

5253
## Publishing scoped packages
5354

54-
Scoped packages can be published to any registry that supports them, including
55-
the public npm registry.
55+
Scoped packages can be published from the CLI as of `npm@2` and can be
56+
published to any registry that supports them, including the primary npm
57+
registry.
5658

57-
(As of 2015-04-19, and with npm 2.0 or newer, the public npm registry **does**
59+
(As of 2015-04-19, and with npm 2.0 or newer, the primary npm registry **does**
5860
support scoped packages)
5961

6062
If you wish, you may associate a scope with a registry; see below.
6163

62-
### Publishing public scoped packages to the public npm registry
64+
### Publishing public scoped packages to the primary npm registry
6365

6466
To publish a public scoped package, you must specify `--access public` with
6567
the initial publication. This will publish the package and set access
@@ -79,7 +81,7 @@ desired, with `npm access` or on the npmjs.com website.
7981
## Associating a scope with a registry
8082

8183
Scopes can be associated with a separate registry. This allows you to
82-
seamlessly use a mix of packages from the public npm registry and one or more
84+
seamlessly use a mix of packages from the primary npm registry and one or more
8385
private registries, such as npm Enterprise.
8486

8587
You can associate a scope with a registry at login, e.g.

deps/npm/doc/misc/npm-scripts.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ following scripts:
2020
* postuninstall:
2121
Run AFTER the package is uninstalled.
2222
* preversion, version:
23-
Run BEFORE bump the package version.
23+
Run BEFORE bumping the package version.
2424
* postversion:
25-
Run AFTER bump the package version.
25+
Run AFTER bumping the package version.
2626
* pretest, test, posttest:
2727
Run by the `npm test` command.
2828
* prestop, stop, poststop:

0 commit comments

Comments
 (0)