Skip to content

Commit 55c3f80

Browse files
othiym23Myles Borins
authored andcommitted
deps: upgrade npm in LTS to 2.15.1
PR-URL: npm#5 Reviewed-By: Myles Borins <mborins@us.ibm.com>
1 parent 040263e commit 55c3f80

File tree

264 files changed

+3778
-1380
lines changed

Some content is hidden

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

264 files changed

+3778
-1380
lines changed

deps/npm/.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ npm-debug.log
77
/test/packages/npm-test-depends-on-spark/which-spark.log
88
/test/packages/test-package/random-data.txt
99
/test/root
10+
/test/npm_cache
1011
node_modules/marked
1112
node_modules/ronn
1213
node_modules/tap

deps/npm/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ before_install:
1313
- "npm config set spin false"
1414
- "npm install -g npm/npm#2.x"
1515
- "mkdir -p /var/run/couchdb"
16-
script: "npm run-script test-all"
16+
script: "npm test"
1717
notifications:
1818
slack: npm-inc:kRqQjto7YbINqHPb1X6nS3g8

deps/npm/AUTHORS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,3 +344,11 @@ Vedat Mahir YILMAZ <mahir@vedatmahir.com>
344344
Jan Schär <jscissr@gmail.com>
345345
Xcat Liu <xcatliu@gmail.com>
346346
Neil Kistner <neil.kistner@gmail.com>
347+
Hutson Betts <hbetts@factset.com>
348+
Sergey Simonchik <sergey.simonchik@jetbrains.com>
349+
Lewis Cowper <lewis.cowper@googlemail.com>
350+
Arturo Coronel <aoitsu3@gmail.com>
351+
Scott Plumlee <scott@plumlee.org>
352+
gnerkus <ifeanyioraelosi@gmail.com>
353+
Robert Ludwig <rob.ludwig@rideamigos.com>
354+
Adam Byrne <misterbyrne@gmail.com>

deps/npm/CHANGELOG.md

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,169 @@
1+
### v2.15.1 (2016-03-17):
2+
3+
It's another one of those releases again! Docs and tests, it turns out, have a
4+
pretty easy time getting into LTS releases, and boring is exactly how LTS should
5+
be. 💁
6+
7+
#### DOCS
8+
9+
* [`981c89c`](https://github.com/npm/npm/commit/981c89c8e398ca22ab6bf466123b25728ef6f543)
10+
[#11820](https://github.com/npm/npm/pull/11820)
11+
The basic explanation for how `npm link` works was a bit confusing, and
12+
somewhat incorrect. It should be clearer now.
13+
([@rhgb](https://github.com/rhgb))
14+
* [`35b2b45`](https://github.com/npm/npm/commit/35b2b45f181dcbfb297f53b577dc1f26efcf3aba)
15+
[#11787](https://github.com/npm/npm/pull/11787)
16+
The `verison` alias for `npm version` no longer shows up in the command list
17+
when you do `npm -h`.
18+
([@doug-wade](https://github.com/doug-wade))
19+
* [`1c9d00f`](https://github.com/npm/npm/commit/1c9d00f788298a81a8a7293d7dcf430f01bdd7fd)
20+
[#11786](https://github.com/npm/npm/pull/11786)
21+
Add a comment to the `npm-scope.md` docs about `npm@>=2` being required in
22+
order to use scoped packaged.
23+
([@doug-wade](https://github.com/doug-wade))
24+
* [`7d64fb1`](https://github.com/npm/npm/commit/7d64fb1452d360aa736f31c85d6776ce570b2365)
25+
[#11762](https://github.com/npm/npm/pull/11762)
26+
Roll back patch that previously advised people to use `--depth Infinity`
27+
instead of `--depth 9999`. Just keep using `--depth 9999`.
28+
([@GriffinSchneider](https://github.com/GriffinSchneider))
29+
30+
#### TESTS
31+
32+
* [`98a9ee4`](https://github.com/npm/npm/commit/98a9ee4773f83994b8eb63c0ff75a9283408ba1a)
33+
[#11912](https://github.com/npm/npm/pull/11912)
34+
Did you know npm can install itself? `npm install -g npm` is the way to
35+
upgrade! Turns out that one of the tests that verified this functionality got
36+
rewritten as part of our recent push for better tests, and in the process
37+
omitted a detail about *how* the test ran. We're testing that corner case
38+
again, now, by moving the install folder to `/tmp`, where the original legacy
39+
test ran.
40+
([@iarna](https://github.com/iarna))
41+
42+
### v2.15.0 (2016-03-10):
43+
44+
#### WHY IS THIS SEMVER-MINOR I THOUGHT THIS WAS LTS
45+
46+
A brief note about LTS this week!
47+
48+
npm, as you may know if you're using this `2.x` branch, has an LTS process for
49+
releases. We also try and play nice with [Node.js' own LTS release
50+
process](https://github.com/nodejs/LTS#lts-plan). That means we generally try to
51+
avoid things like minor version bumps on our `2.x` branch (which is also tagged
52+
`lts` in the `dist-tag`s).
53+
54+
That said, we had a minor-bump update recently for `npm@3.8.0` which added a
55+
`maxsockets` option to allow users to configure the number of concurrent sockets
56+
that npm would keep open at a time -- a setting that has the potential to help a
57+
bunch for people with fussy routers or internet connections that aren't very
58+
happy with Node.js applications' usual concurrency storm. This change was done
59+
to `npm-registry-client`, which we don't have a parallel LTS-tracking branch
60+
for.
61+
62+
After talking it over, we ended up deciding that this was a reasonable enough
63+
addition to LTS, even though it's *technically* a `semver-minor` bump, taking
64+
into account both its potential for bugfixing (specially on `2.x`!) and the
65+
general hassle it would be to maintain another branch for `npm-registry-client`.
66+
67+
68+
* [`6dd61e7`](https://github.com/npm/npm/commit/6dd61e781c145480dc255a3e6a748729868443fd)
69+
Expose `maxsockets` config setting from new `npm-registry-client`.
70+
([@misterbyrne](https://github.com/misterbyrne))
71+
* [`8a021c3`](https://github.com/npm/npm/commit/8a021c35184e665bd1f3f70ae2f478af812ab614)
72+
`npm-registry-client@7.1.0`:
73+
Adds support for configuring the max number of concurrent sockets, defaulting
74+
to `50`.
75+
([@iarna](https://github.com/iarna))
76+
77+
#### DOC PATCH IS HERE TOO
78+
79+
* [`0ae9f74`](https://github.com/npm/npm/commit/0ae9f740001a1bdf5920bc464cf9e284d5d139f0)
80+
[#11748](https://github.com/npm/npm/pull/11748)
81+
Add command aliases as a separate section in documentation for npm
82+
subcommands.
83+
([@watilde](https://github.com/watilde))
84+
85+
#### DEP UPDATES
86+
87+
* [`bfc3888`](https://github.com/npm/npm/commit/bfc38887f832f701c16b7ee410c4e0220a90399f)
88+
`strip-ansi@3.0.1`
89+
([@jbnicolai](https://github.com/jbnicolai))
90+
* [`d5f4d51`](https://github.com/npm/npm/commit/d5f4d51a1b7ea78d7431c7ed4fed30200b2622f8)
91+
`node-gyp@3.3.1`: Fixes Android generator
92+
([@bnoordhuis](https://github.com/bnoordhuis))
93+
* [`4119df8`](https://github.com/npm/npm/commit/4119df8aecd2ae57b0492ad8c9a480d900833008)
94+
`glob@7.0.3`: Some path-related fixes for Windows.
95+
([@isaacs](https://github.com/isaacs))
96+
97+
### v2.14.22 (2016-03-03):
98+
99+
This week is all documentation improvements. In case you hadn't noticed, we
100+
*love* doc patches. We love them so much, we give socks away if you submit
101+
documentation PRs!
102+
103+
These folks are all getting socks if they ask for them. The socks are
104+
super-sweet. Do you have yours yet? 👣
105+
106+
* [`3f3c7d0`](https://github.com/npm/npm/commit/3f3c7d080f052a5db91ff6091f8b1b13f26b53d6)
107+
[#11441](https://github.com/npm/npm/pull/11441)
108+
Add a link to the [Contribution
109+
Guidelines](https://github.com/npm/npm/wiki/Contributing-Guidelines) to the
110+
main npm docs.
111+
([@watilde](https://github.com/watilde))
112+
* [`9f87bb1`](https://github.com/npm/npm/commit/9f87bb1934acb33b678c17b7827165b17c071a82)
113+
[#11441](https://github.com/npm/npm/pull/11441)
114+
Remove Google Group email from npm docs about contributing.
115+
([@watilde](https://github.com/watilde))
116+
* [`93eaab3`](https://github.com/npm/npm/commit/93eaab3ee5ad16c7d90d1a4b38a95403fcf3f0f6)
117+
[#11474](https://github.com/npm/npm/pull/11474)
118+
Fix an invalid JSON error overlooked in
119+
[#11196](https://github.com/npm/npm/pull/11196).
120+
([@robludwig](https://github.com/robludwig))
121+
* [`a407ca2`](https://github.com/npm/npm/commit/a407ca2bcf6a05117e55cf2ab69376e09094995e)
122+
[#11483](https://github.com/npm/npm/pull/11483)
123+
Add more details and an example to the documentation for bundledDependencies.
124+
([@gnerkus](https://github.com/gnerkus))
125+
* [`2c851a2`](https://github.com/npm/npm/commit/2c851a231afd874baa77c42ea5ba539c454ac79c)
126+
[#11490](https://github.com/npm/npm/pull/11490)
127+
Document the `--registry` flag for `npm search`.
128+
([@plumlee](https://github.com/plumlee))
129+
130+
### v2.14.21 (2016-02-25):
131+
132+
Good news, everyone! There's a new LTS release with a few shinies here and there!
133+
134+
#### USE THIS ONE INSTEAD
135+
136+
We had some cases where the versions of npm and node used in some scripting situations were different than the ideal, or what folks actually expected. These should be particularly helpful to our Windows friends! <3
137+
138+
* [`02813c5`](https://github.com/npm/npm/commit/02813c55782a9def23f7f1e614edc38c6c88aed3) [#9253](https://github.com/npm/npm/issues/9253) Fix a bug where, when running lifecycle scripts, if the Node.js binary you ran `npm` with wasn't in your `PATH`, `npm` wouldn't use it to run your scripts. ([@segrey](https://github.com/segrey) and [@narqo](https://github.com/narqo))
139+
* [`a985dd5`](https://github.com/npm/npm/commit/a985dd50e06ee51ba5544577f977c7440c227ba2) [#11526](https://github.com/npm/npm/pull/11526) Prefer locally installed npm in Git Bash -- previous behavior was to use the global one. This was done previously for other shells, but not for Git Bash. ([@destroyerofbuilds](https://github.com/destroyerofbuilds))
140+
141+
#### SOCKS FOR THE SOCK GOD
142+
143+
* [`f961092`](https://github.com/npm/npm/commit/f9610920079d8b88ae464b30007a92c594bd85a8)
144+
[#11636.](https://github.com/npm/npm/issues/11636.)
145+
Document the `--save-bundle` option for `npm install`.
146+
([@datyayu](https://github.com/datyayu))
147+
* [`7c908b6`](https://github.com/npm/npm/commit/7c908b618f7123f0a3b860c71eb779e33df35964)
148+
[#11644](https://github.com/npm/npm/pull/11644)
149+
Add documentation for the `test` directory for packages.
150+
([@lewiscowper](https://github.com/lewiscowper))
151+
152+
#### INTERNAL TEST IMPROVEMENTS
153+
154+
The npm CLI team's time recently has been sunk into npm's many years of tech debt. Specifically, we've been working on improving the test suite. This isn't user visible, but in future should mean a more stable, easier to contribute to npm. Ordinarily we don't report these kinds of changes in the change log, but I thought I might share this week as this chunk is bigger than usual.
155+
156+
These patches were previously released for `npm@3`, and then ported back to `npm@2` LTS.
157+
158+
* [`437c537`](https://github.com/npm/npm/commit/437c537e2be5923c6d2c2753154564ba13db8fd9) [#11613](https://github.com/npm/npm/pull/11613) Fix up one of the tests after rebasing the legacy test rewrite to `npm@2`. ([@zkat](https://github.com/zkat))
159+
* [`55abd0c`](https://github.com/npm/npm/commit/55abd0cc20e87a144d33ce2d459f65e7506da576) [#11613](https://github.com/npm/npm/pull/11613) Test that the `package.json` `files` section and `.npmignore` do what they're supposed to. ([@zkat](https://github.com/zkat))
160+
* [`a2b99b6`](https://github.com/npm/npm/commit/a2b99b6273ada14b2121ebc0acb7933e630edd9d) [#11613](https://github.com/npm/npm/pull/11613) Test that npm's distribution binary is complete and can be installed and used. ([@iarna](https://github.com/iarna))
161+
* [`8a8c36c`](https://github.com/npm/npm/commit/8a8c36ce51166006022e5c5d4f8655bbc458d651) [#11613](https://github.com/npm/npm/pull/11613) Test that environment variables are properly passed into scripts.
162+
([@iarna](https://github.com/zkat))
163+
* [`a95b550`](https://github.com/npm/npm/commit/a95b5507616bd51e83d7eab5f2337b1aff6480b1) [#11613](https://github.com/npm/npm/pull/11613) Test that we don't leak auth info into the environment. ([@iarna](https://github.com/iarna))
164+
* [`a1c1c52`](https://github.com/npm/npm/commit/a1c1c52efeab24f6dba154d054f85d9efc833486) [#11613](https://github.com/npm/npm/pull/11613) Remove all the relatively cryptic legacy tests and creates new tap tests that check the same functionality. The *legacy* tests were tests that were originally a shell script that was ported to javascript early in `npm`'s history. ([@iarna](https:\\github.com/iarna) and [@zkat](https://github.com/zkat))
165+
* [`9d89581`](https://github.com/npm/npm/commit/9d895811d3ee70c2e672f3d8fa06574495b5b488) [#11613](https://github.com/npm/npm/pull/11613) `tacks@1.0.9`: Add a package that provides a tool to generate fixtures from folders and, relatedly, a module that an create and tear down filesystem fixtures easily. ([@iarna](https://github.com/iarna))
166+
1167
### v2.14.20 (2016-02-18):
2168

3169
Hope y'all are having a nice week! As usual, it's a fairly limited release. The

deps/npm/bin/npm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ fi
1515
NPM_CLI_JS="$basedir/node_modules/npm/bin/npm-cli.js"
1616

1717
case `uname` in
18+
*MINGW*)
19+
NPM_PREFIX=`"$NODE_EXE" "$NPM_CLI_JS" prefix -g`
20+
NPM_PREFIX_NPM_CLI_JS="$NPM_PREFIX/node_modules/npm/bin/npm-cli.js"
21+
if [ -f "$NPM_PREFIX_NPM_CLI_JS" ]; then
22+
NPM_CLI_JS="$NPM_PREFIX_NPM_CLI_JS"
23+
fi
24+
;;
1825
*CYGWIN*)
1926
NPM_PREFIX=`"$NODE_EXE" "$NPM_CLI_JS" prefix -g`
2027
NPM_PREFIX_NPM_CLI_JS="$NPM_PREFIX/node_modules/npm/bin/npm-cli.js"

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ npm-adduser(1) -- Add a registry user account
55

66
npm adduser [--registry=url] [--scope=@orgname] [--always-auth]
77

8+
aliases: login, add-user
9+
810
## DESCRIPTION
911

1012
Create or verify a user named `<username>` in the specified registry, and
@@ -57,9 +59,11 @@ registries. Can be used with `--registry` and / or `--scope`, e.g.
5759
npm adduser --registry=http://private-registry.example.com --always-auth
5860

5961
This will ensure that all requests to that registry (including for tarballs)
60-
include an authorization header. See `always-auth` in `npm-config(7)` for more
61-
details on always-auth. Registry-specific configuration of `always-auth` takes
62-
precedence over any global configuration.
62+
include an authorization header. This setting may be necessary for use with
63+
private registries where metadata and package tarballs are stored on hosts with
64+
different hostnames. See `always-auth` in `npm-config(7)` for more details on
65+
always-auth. Registry-specific configuration of `always-auth` takes precedence
66+
over any global configuration.
6367

6468
## SEE ALSO
6569

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ npm-bugs(1) -- Bugs for a package in a web browser maybe
66
npm bugs <pkgname>
77
npm bugs (with no args in a package dir)
88

9+
aliases: issues
10+
911
## DESCRIPTION
1012

1113
This command tries to guess at the likely location of a package's

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ npm-config(1) -- Manage the npm configuration files
1212
npm get <key>
1313
npm set <key> <value> [--global]
1414

15+
aliases: c
16+
1517
## DESCRIPTION
1618

1719
npm gets its config settings from the command line, environment

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ npm-dedupe(1) -- Reduce duplication
66
npm dedupe [package names...]
77
npm ddp [package names...]
88

9+
aliases: find-dupes, ddp
10+
911
## DESCRIPTION
1012

1113
Searches the local package tree and attempts to simplify the overall

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ npm-dist-tag(1) -- Modify package distribution tags
77
npm dist-tag rm <pkg> <tag>
88
npm dist-tag ls [<pkg>]
99

10+
aliases: dist-tags
11+
1012
## DESCRIPTION
1113

1214
Add, remove, and enumerate distribution tags on a package:

0 commit comments

Comments
 (0)