Skip to content

Commit 8922bba

Browse files
MylesBorinsjasnell
authored andcommitted
deps: update npm to 5.5.1
Closes: #16280 PR-URL: #16509 Fixes: #14161 Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 65d2067 commit 8922bba

File tree

1,870 files changed

+109118
-34836
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,870 files changed

+109118
-34836
lines changed

deps/npm/.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Jake Verbaten <[email protected]>
3232
James Sanders <[email protected]>
3333
James Treworgy <[email protected]>
3434
Jason Smith <[email protected]>
35+
Joshua Bennett <[email protected]>
3536
Jonas Weber <[email protected]>
3637
Julien Meddah <[email protected]>
3738
Kevin Lorenz <[email protected]>

deps/npm/.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ matrix:
2525
script:
2626
- "standard"
2727
- "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\""
28-
before_install:
29-
# required by test/tap/registry.js
30-
- "mkdir -p /var/run/couchdb"
3128
notifications:
3229
slack: npm-inc:kRqQjto7YbINqHPb1X6nS3g8
3330
cache:

deps/npm/AUTHORS

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ Daniel Paz-Soldan <[email protected]>
424424
Sakthipriyan Vairamani <[email protected]>
425425
Zach Renner <[email protected]>
426426
Christopher Hiller <[email protected]>
427-
legodude17 <[email protected]>
427+
Joshua Bennett <[email protected]>
428428
Andrew Meyer <[email protected]>
429429
Michael Jasper <[email protected]>
430430
@@ -503,3 +503,26 @@ Sanketh Katta <[email protected]>
503503
Tim Needham <[email protected]>
504504
leonardo rojas <[email protected]>
505505
Mark Peter Fejes <[email protected]>
506+
Ryan Florence <[email protected]>
507+
MichaelQQ <[email protected]>
508+
Anders D. Johnson <[email protected]>
509+
Benjamin Fernandes <[email protected]>
510+
Simon Kurtz <[email protected]>
511+
David Goss <[email protected]>
512+
Luis Gustavo Pereira <[email protected]>
513+
Amos Wenger <[email protected]>
514+
Samuel Marks <[email protected]>
515+
Victor Travieso <[email protected]>
516+
legodude17 <[email protected]>
517+
Joshua Chaitin-Pollak <[email protected]>
518+
Brendan Warkentin <[email protected]>
519+
Scott Santucci <[email protected]>
520+
Xavier Cambar <[email protected]>
521+
522+
Igor Nadj <[email protected]>
523+
524+
525+
Carsten Brandt <[email protected]>
526+
Marcin Szczepanski <[email protected]>
527+
Josh Clow <[email protected]>
528+
Jakub Holy <[email protected]>

deps/npm/CHANGELOG.md

Lines changed: 399 additions & 0 deletions
Large diffs are not rendered by default.

deps/npm/Makefile

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,16 @@ doc-clean:
8888
html/doc \
8989
man
9090

91+
## build-time tools for the documentation
92+
build-doc-tools := node_modules/.bin/marked \
93+
node_modules/.bin/marked-man
94+
9195
# use `npm install marked-man` for this to work.
92-
man/man1/npm-README.1: README.md scripts/doc-build.sh package.json
96+
man/man1/npm-README.1: README.md scripts/doc-build.sh package.json $(build-doc-tools)
9397
@[ -d man/man1 ] || mkdir -p man/man1
9498
scripts/doc-build.sh $< $@
9599

96-
man/man1/%.1: doc/cli/%.md scripts/doc-build.sh package.json
100+
man/man1/%.1: doc/cli/%.md scripts/doc-build.sh package.json $(build-doc-tools)
97101
@[ -d man/man1 ] || mkdir -p man/man1
98102
scripts/doc-build.sh $< $@
99103

@@ -106,26 +110,26 @@ man/man5/npm-json.5: man/man5/package.json.5
106110
man/man5/npm-global.5: man/man5/npm-folders.5
107111
cp $< $@
108112

109-
man/man5/%.5: doc/files/%.md scripts/doc-build.sh package.json
113+
man/man5/%.5: doc/files/%.md scripts/doc-build.sh package.json $(build-doc-tools)
110114
@[ -d man/man5 ] || mkdir -p man/man5
111115
scripts/doc-build.sh $< $@
112116

113-
doc/misc/npm-index.md: scripts/index-build.js package.json
117+
doc/misc/npm-index.md: scripts/index-build.js package.json $(build-doc-tools)
114118
node scripts/index-build.js > $@
115119

116-
html/doc/index.html: doc/misc/npm-index.md $(html_docdeps)
120+
html/doc/index.html: doc/misc/npm-index.md $(html_docdeps) $(build-doc-tools)
117121
@[ -d html/doc ] || mkdir -p html/doc
118122
scripts/doc-build.sh $< $@
119123

120-
man/man7/%.7: doc/misc/%.md scripts/doc-build.sh package.json
124+
man/man7/%.7: doc/misc/%.md scripts/doc-build.sh package.json $(build-doc-tools)
121125
@[ -d man/man7 ] || mkdir -p man/man7
122126
scripts/doc-build.sh $< $@
123127

124-
html/doc/README.html: README.md $(html_docdeps)
128+
html/doc/README.html: README.md $(html_docdeps) $(build-doc-tools)
125129
@[ -d html/doc ] || mkdir -p html/doc
126130
scripts/doc-build.sh $< $@
127131

128-
html/doc/cli/%.html: doc/cli/%.md $(html_docdeps)
132+
html/doc/cli/%.html: doc/cli/%.md $(html_docdeps) $(build-doc-tools)
129133
@[ -d html/doc/cli ] || mkdir -p html/doc/cli
130134
scripts/doc-build.sh $< $@
131135

@@ -135,11 +139,11 @@ html/doc/files/npm-json.html: html/doc/files/package.json.html
135139
html/doc/files/npm-global.html: html/doc/files/npm-folders.html
136140
cp $< $@
137141

138-
html/doc/files/%.html: doc/files/%.md $(html_docdeps)
142+
html/doc/files/%.html: doc/files/%.md $(html_docdeps) $(build-doc-tools)
139143
@[ -d html/doc/files ] || mkdir -p html/doc/files
140144
scripts/doc-build.sh $< $@
141145

142-
html/doc/misc/%.html: doc/misc/%.md $(html_docdeps)
146+
html/doc/misc/%.html: doc/misc/%.md $(html_docdeps) $(build-doc-tools)
143147
@[ -d html/doc/misc ] || mkdir -p html/doc/misc
144148
scripts/doc-build.sh $< $@
145149

deps/npm/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ you have chosen.
141141

142142
## More Docs
143143

144-
Check out the [docs](https://docs.npmjs.com/),
144+
Check out the [docs](https://docs.npmjs.com/).
145145

146146
You can use the `npm help` command to read any of them.
147147

148148
If you're a developer, and you want to use npm to publish your program,
149-
you should [read this](https://docs.npmjs.com/misc/developers)
149+
you should [read this](https://docs.npmjs.com/misc/developers).
150150

151151
## BUGS
152152

deps/npm/bin/read-package-json.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ You must have privileges to set the access of a package:
6060
* You have been given read-write privileges for a package, either as a member
6161
of a team or directly as an owner.
6262

63+
If you have two-factor authentication enabled then you'll have to pass in an
64+
otp with `--otp` when making access changes.
65+
6366
If your account is not paid, then attempts to publish scoped packages will fail
6467
with an HTTP 402 status code (logically enough), unless you use
6568
`--access=public`.

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ npm-config(1) -- Manage the npm configuration files
66
npm config set <key> <value> [-g|--global]
77
npm config get <key>
88
npm config delete <key>
9-
npm config list [-l]
9+
npm config list [-l] [--json]
1010
npm config edit
1111
npm get <key>
1212
npm set <key> <value> [-g|--global]
@@ -48,7 +48,8 @@ Echo the config value to stdout.
4848

4949
npm config list
5050

51-
Show all the config settings. Use `-l` to also show defaults.
51+
Show all the config settings. Use `-l` to also show defaults. Use `--json`
52+
to show the settings in json format.
5253

5354
### delete
5455

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +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.
18+
`--tag` config if not specified. 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`.
1921

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

0 commit comments

Comments
 (0)