Skip to content

Commit 3c3b36a

Browse files
zkatjasnell
authored andcommitted
deps: upgrade npm beta to 5.0.0-beta.56
PR-URL: #12936 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent e03a929 commit 3c3b36a

File tree

1,396 files changed

+73700
-27239
lines changed

Some content is hidden

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

1,396 files changed

+73700
-27239
lines changed

β€Ždeps/npm/.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ cache:
4343
- node_modules/tacks
4444
- node_modules/tap
4545
install:
46-
- "node . prune"
4746
- "node . rebuild --depth=0"
4847
- "node . install --ignore-scripts"
48+
- "node . prune"
4949
- "make -j4 doc"
5050
script:
5151
- "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\""

β€Ždeps/npm/AUTHORS

+5
Original file line numberDiff line numberDiff line change
@@ -459,3 +459,8 @@ Evgeny Kulikov <beyondcompute@users.noreply.github.com>
459459
Carol (Nichols || Goulding) <carol.nichols@gmail.com>
460460
Jarid Margolin <jaridmargolin@gmail.com>
461461
David Cook <divergentdave@gmail.com>
462+
Brian Dukes <bdukes@engagesoftware.com>
463+
J F <git@twopointzero.us>
464+
Pavlo Liulia <pavloblack@hotmail.com>
465+
JΓ‘n Dzurek <famousgarkin@outlook.com>
466+
Lucas Theisen <ltheisen@mitre.org>

β€Ždeps/npm/BROKEN.org

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
* Broken test files
2+
* add-remote-git-get-resolved.js (needs porting to pacote)
3+
* bugs.js (I think because opts.fullMetadata)
4+
* builtin-config.js (freezes)
5+
* check-cpu-reqs.js (uhhh? it's not checking?)
6+
* check-engine-reqs.js (same?)
7+
* check-os-reqs.js (same?)
8+
* doctor.js (needs rewrite)
9+
* full-warning-messages.js
10+
* get.js
11+
* git-npmignore.js
12+
* git-races.js
13+
* github-shortcut.js
14+
* ignore-shrinkwrap.js
15+
* install-shrinkwrapped-git.js
16+
* install-with-dev-dep-duplicate.js
17+
* legacy-npm-self-install.js (one check failed)
18+
* ls-depth-cli.js
19+
* outdated-local.js
20+
* outdated-notarget.js
21+
* outdated-private.js
22+
* peer-deps-invalid.js
23+
* peer-deps-toplevel.js
24+
* peer-deps-without-package-json.js
25+
* repo.js
26+
* retry-on-stale-cache.js
27+
* scope-header.js
28+
* shrinkwrap-default-arg-ver.js
29+
* shrinkwrap-local-dependency.js
30+
* shrinkwrap-optional-dependency.js
31+
* shrinkwrap-optional-property.js
32+
* shrinkwrap-prod-dependency.js
33+
* shrinkwrap-shared-dev-dependency.js
34+
* splat-with-only-prerelease-to-latest.js
35+
* url-dependencies.js
36+
* verify-no-lifecycle-on-repo.js
37+
* network/legacy-shrinkwrap.js

β€Ždeps/npm/CHANGELOG.md

+74
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,77 @@
1+
## v4.6.1 (2017-04-21)
2+
3+
A little release to tide you over while we hammer out the last bits for npm@5.
4+
5+
### FEATURES
6+
7+
* [`d13c9b2f2`](https://github.com/npm/npm/commit/d13c9b2f24b6380427f359b6e430b149ac8aaa79)
8+
`init-package-json@1.10.0`:
9+
The `name:` prompt is now `package name:` to make this less ambiguous for new users.
10+
11+
The default package name is now a valid package name. For example: If your package directory
12+
has mixed case, the default package name will be all lower case.
13+
* [`f08c66323`](https://github.com/npm/npm/commit/f08c663231099f7036eb82b92770806a3a79cdf1)
14+
[#16213](https://github.com/npm/npm/pull/16213)
15+
Add `--allow-same-version` option to `npm version` so that you can use `npm version` to run
16+
your version lifecycles and tag your git repo without actually changing the version number in
17+
your `package.json`.
18+
([@lucastheisen](https://github.com/lucastheisen))
19+
* [`f5e8becd0`](https://github.com/npm/npm/commit/f5e8becd05e0426379eb0c999abdbc8e87a7f6f2)
20+
Timing has been added throughout the install implementation. You can see it by running
21+
a command with `--loglevel=timing`. You can also run commands with `--timing` which will write
22+
an `npm-debug.log` even on success and add an entry to `_timing.json` in your cache with
23+
the timing information from that run.
24+
([@iarna](https://github.com/iarna))
25+
26+
### BUG FIXES
27+
28+
* [`9c860f2ed`](https://github.com/npm/npm/commit/9c860f2ed3bdea1417ed059b019371cd253db2ad)
29+
[#16021](https://github.com/npm/npm/pull/16021)
30+
Fix a crash in `npm doctor` when used with a registry that does not support
31+
the `ping` API endpoint.
32+
([@watilde](https://github.com/watilde))
33+
* [`65b9943e9`](https://github.com/npm/npm/commit/65b9943e9424c67547b0029f02b0258e35ba7d26)
34+
[#16364](https://github.com/npm/npm/pull/16364)
35+
Shorten the ELIFECYCLE error message. The shorter error message should make it much
36+
easier to discern the actual cause of the error.
37+
([@j-f1](https://github.com/j-f1))
38+
* [`a87a4a835`](https://github.com/npm/npm/commit/a87a4a8359693518ee41dfeb13c5a8929136772a)
39+
`npmlog@4.0.2`:
40+
Fix flashing of the progress bar when your terminal is very narrow.
41+
([@iarna](https://github.com/iarna))
42+
* [`41c10974f`](https://github.com/npm/npm/commit/41c10974fe95a2e520e33e37725570c75f6126ea)
43+
`write-file-atomic@1.3.2`:
44+
Wait for `fsync` to complete before considering our file written to disk.
45+
This will improve certain sorts of Windows diagnostic problems.
46+
* [`2afa9240c`](https://github.com/npm/npm/commit/2afa9240ce5b391671ed5416464f2882d18a94bc)
47+
[#16336](https://github.com/npm/npm/pull/16336)
48+
Don't ham-it-up when expecting JSON.
49+
([@bdukes](https://github.com/bdukes))
50+
51+
### DOCUMENTATION FIXES
52+
53+
* [`566f3eebe`](https://github.com/npm/npm/commit/566f3eebe741f935b7c1e004bebf19b8625a1413)
54+
[#16296](https://github.com/npm/npm/pull/16296)
55+
Use a single convention when referring to the `<command>` you're running.
56+
([@desfero](https://github.com/desfero))
57+
* [`ccbb94934`](https://github.com/npm/npm/commit/ccbb94934d4f677f680c3e2284df3d0ae0e65758)
58+
[#16267](https://github.com/npm/npm/pull/16267)
59+
Fix a missing space in the example package.json.
60+
([@famousgarkin](https://github.com/famousgarkin))
61+
62+
### DEPENDENCY UPDATES
63+
64+
* [`ebde4ea33`](https://github.com/npm/npm/commit/ebde4ea3363dfc154c53bd537189503863c9b3a4)
65+
`hosted-git-info@2.4.2`
66+
* [`c46ad71bb`](https://github.com/npm/npm/commit/c46ad71bbe27aaa9ee10e107d8bcd665d98544d7)
67+
`init-package-json@1.9.6`
68+
* [`d856d570d`](https://github.com/npm/npm/commit/d856d570d2df602767c039cf03439d647bba2e3d)
69+
`npm-registry-client@8.1.1`
70+
* [`4a2e14436`](https://github.com/npm/npm/commit/4a2e1443613a199665e7adbda034d5b9d10391a2)
71+
`readable-stream@2.2.9`
72+
* [`f0399138e`](https://github.com/npm/npm/commit/f0399138e6d6f1cd7f807d523787a3b129996301)
73+
`normalize-package-data@2.3.8`
74+
175
### v4.5.0 (2017-03-24)
276

377
Welcome a wrinkle on npm's registry API!

β€Ždeps/npm/Makefile

+12-12
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,23 @@ latest:
5353
@echo "Installing latest published npm"
5454
@echo "Use 'make install' or 'make link' to install the code"
5555
@echo "in this folder that you're looking at right now."
56-
node cli.js install -g -f npm ${NPMOPTS}
56+
node bin/npm-cli.js install -g -f npm ${NPMOPTS}
5757

5858
install: all
59-
node cli.js install -g -f ${NPMOPTS}
59+
node bin/npm-cli.js install -g -f ${NPMOPTS}
6060

6161
# backwards compat
6262
dev: install
6363

6464
link: uninstall
65-
node cli.js link -f
65+
node bin/npm-cli.js link -f
6666

6767
clean: markedclean marked-manclean doc-clean uninstall
6868
rm -rf npmrc
69-
node cli.js cache clean
69+
node bin/npm-cli.js cache clean
7070

7171
uninstall:
72-
node cli.js rm npm -g -f
72+
node bin/npm-cli.js rm npm -g -f
7373

7474
doc: $(mandocs) $(htmldocs)
7575

@@ -143,22 +143,22 @@ html/doc/misc/%.html: doc/misc/%.md $(html_docdeps)
143143
marked: node_modules/.bin/marked
144144

145145
node_modules/.bin/marked:
146-
node cli.js install marked --no-global
146+
node bin/npm-cli.js install marked --no-global --no-timing --no-save
147147

148148
marked-man: node_modules/.bin/marked-man
149149

150150
node_modules/.bin/marked-man:
151-
node cli.js install marked-man --no-global
151+
node bin/npm-cli.js install marked-man --no-global --no-timing --no-save
152152

153153
doc: man
154154

155155
man: $(cli_docs)
156156

157157
test: doc
158-
node cli.js test
158+
node bin/npm-cli.js test
159159

160160
tag:
161-
npm tag npm@$(PUBLISHTAG) latest
161+
node bin/npm-cli.js tag npm@$(PUBLISHTAG) latest
162162

163163
ls-ok:
164164
node . ls >/dev/null
@@ -167,13 +167,13 @@ gitclean:
167167
git clean -fd
168168

169169
publish: gitclean ls-ok link doc-clean doc
170-
@git push origin :v$(shell npm -v) 2>&1 || true
170+
@git push origin :v$(shell node bin/npm-cli.js --no-timing -v) 2>&1 || true
171171
git push origin $(BRANCH) &&\
172172
git push origin --tags &&\
173-
npm publish --tag=$(PUBLISHTAG)
173+
node bin/npm-cli.js publish --tag=$(PUBLISHTAG)
174174

175175
release: gitclean ls-ok markedclean marked-manclean doc-clean doc
176-
node cli.js prune --production
176+
node bin/npm-cli.js prune --production --no-save
177177
@bash scripts/release.sh
178178

179179
sandwich:

β€Ždeps/npm/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ If you plan on hacking on npm, `make link` is your friend.
7878

7979
If you've got the npm source code, you can also semi-permanently set
8080
arbitrary config keys using the `./configure --key=val ...`, and then
81-
run npm commands by doing `node cli.js <cmd> <args>`. (This is helpful
81+
run npm commands by doing `node bin/npm-cli.js <command> <args>`. (This is helpful
8282
for testing, or running stuff without actually installing npm itself.)
8383

8484
## Windows Install or Upgrade

β€Ždeps/npm/TODO.org

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
* Finished
2+
* [COMPLETED] npm: add `created-with`, `shrinkwrap-version`, and `package-integrity`
3+
* [COMPLETED] npm: warn on incompatible package-lock version
4+
* [COMPLETED] npm: warn if both shrinkwrap and package-lock are there
5+
* [COMPLETED] npm: fix git-prepare
6+
* [COMPLETED] npm: fix auth failure for locked scoped deps
7+
* [COMPLETED] npm: send the user-agent through to pacote
8+
* [COMPLETED] npm: get https://github.com/npm/write-file-atomic/pull/23 merged
9+
* [COMPLETED] npm: get https://github.com/npm/fstream-npm/pull/27 merged
10+
* [COMPLETED] npm: if local deps exist w/o needed metadata, fetch it
11+
* [COMPLETED] Run `prepare` during git tarball packing phase
12+
* [COMPLETED] npm: put npm cache clear behind --force
13+
* [COMPLETED] npm: package-lock.json
14+
* lib/install/read-shrinkwrap.js
15+
* lib/shrinkwrap.js
16+
* lib/install/save.js (?)
17+
* lib/utils/tar.js (add autoignore)
18+
* fstream-npm (add autoignore)
19+
* lib/version.js
20+
* [COMPLETED] npm: --save by default
21+
* [COMPLETED] npm: make sure `npm i <pkg>` defaults to package.json
22+
* it only happens for command line arguments
23+
* getAllMetadata
24+
* Apparently, I did this way back when and totally forgot. lol.
25+
* [COMPLETED] make-fetch-happen: make sure other options npm used are implemented
26+
* look at the comment at the bottom of pacote.js
27+
* [COMPLETED] make-fetch-happen: support strictSSL option
28+
* [COMPLETED] Write npm@5 speeds presentation for Friday
29+
* [COMPLETED] pacote: support `opts.fullMetadata` for `pkg.manifest`
30+
* [COMPLETED] npm: fix invalid package: null error
31+
* [COMPLETED] make-fetch-happen: case-insensitive http_proxy/proxy/https_proxy
32+
* [COMPLETED] cacache: integrate cacache@8 into npm/pacote/mfh
33+
* [COMPLETED] make-fetch-happen: literally vendor in node-fetch. sigh.
34+
* basically, the whole tarball situation prevents shrinkwrap. sux :<
35+
* note: solved this by forking node-fetch into node-fetch-npm
36+
* [COMPLETED] pacote: http auth and alwaysAuth
37+
* https://github.com/zkat/pacote/issues/77
38+
* [COMPLETED] make-fetch-happen: NO_PROXY support
39+
* https://github.com/zkat/make-fetch-happen/issues/17
40+
* [COMPLETED] npm: calculate sri with ssri and add it to dist.integrity
41+
* [COMPLETED] pacote: refactor handler API
42+
* maybe use Protoduck?
43+
* [COMPLETED] npm: nag Ryan about when sha512 is happening
44+
* He says it's delayed 😭
45+
* I can still start sending integrity in the publish
46+
* [COMPLETED] npm: fix bundle replacement issues (see: npm i nyc warning spam)
47+
* need fromBundle attribute on shrinkwrap and pass it through. the sw.version && sw.integrity-based fake node needs to have this there.
48+
* Backlog
49+
* [TODO] pacote: opts.extraHeaders
50+
* https://github.com/zkat/pacote/issues/79
51+
* [TODO] pacote: ECONNRESET recovery
52+
* https://github.com/zkat/pacote/issues/8
53+
* [TODO] pacote: skip node_modules extraction for non-bundleDeps
54+
* https://github.com/zkat/pacote/issues/49
55+
* [TODO] pacote: write tests for file/directory handlers
56+
* [TODO] npm: `npm publish --dry-run` -> https://npm.im/pkgfiles ?
57+
* Rebecca says yea
58+
* [TODO] make-fetch-happen: write tests for agent pooling/proxy
59+
* https://github.com/zkat/make-fetch-happen/issues/16
60+
* [TODO] make-fetch-happen: retry notification
61+
* https://github.com/zkat/make-fetch-happen/issues/21
62+
* [TODO] npm: move addBundled call from inflate-shrinkwrap to extract
63+
* fix the fucking bundling thing while at it
64+
* Needed for npm@5
65+
* [TODO] pacote: write tests for git handlers
66+
* https://github.com/zkat/pacote/issues/70
67+
* [TODO] pacote: offline feature support for git deps
68+
* [TODO] npm: get logging working during the recalculateMetadata spam
69+
* [TODO] write-file-atomic: review https://github.com/npm/write-file-atomic/pull/22
70+
* Active
71+
* [TODO] npm: make `npm update` save files as the right type
72+
* [TODO] node: track down lifecycle signal failure

β€Ždeps/npm/appveyor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ install:
1515
- ps: Install-Product node $env:nodejs_version $env:platform
1616
- npm config set spin false
1717
- npm rebuild
18+
- npm i -g "npm/npm#release-beta-5"
1819
- node . install -g .
1920
- set "PATH=%APPDATA%\npm;C:\Program Files\Git\mingw64\libexec;%PATH%"
2021
- npm install --loglevel=http

β€Ždeps/npm/bin/npm-cli.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
if (conf.version) {
5959
console.log(npm.version)
60-
return
60+
return errorHandler.exit(0)
6161
}
6262

6363
if (conf.versions) {
@@ -83,7 +83,7 @@
8383
if (er) return errorHandler(er)
8484
npm.commands[npm.command](npm.argv, function (err) {
8585
// https://www.youtube.com/watch?v=7nfPu8qTiQU
86-
if (!err && npm.config.get('ham-it-up')) {
86+
if (!err && npm.config.get('ham-it-up') && !npm.config.get('json') && !npm.config.get('parseable')) {
8787
output('\n 🎡 I Have the Honour to Be Your Obedient Servant,🎡 ~ npm πŸ“œπŸ–‹\n')
8888
}
8989
errorHandler.apply(this, arguments)

0 commit comments

Comments
Β (0)