Skip to content

Commit e37effe

Browse files
committed
Revert "deps: upgrade npm to 5.8.0"
This reverts commit 25a816d. PR-URL: #19837 Reviewed-By: Gus Caplan <me@gus.host>
1 parent 026f6b7 commit e37effe

File tree

1,451 files changed

+23889
-43764
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,451 files changed

+23889
-43764
lines changed

deps/npm/.github/issue_template.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
- [ ] npm is crashing.
44
- [ ] npm is producing an incorrect install.
55
- [ ] npm is doing something I don't understand.
6-
- [ ] npm is producing incorrect or undesirable behavior.
76
- [ ] Other (_see below for feature requests_):
87

98
#### What's going wrong?

deps/npm/AUTHORS

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -536,28 +536,3 @@ Jacob Wejendorp <jacob@wejendorp.dk>
536536
Alejandro López <a.lopez.sanchez@outlook.es>
537537
Victor Belozyorov <hi@vbelozyorov.com>
538538
Bradley Farias <bfarias@godaddy.com>
539-
Kyle E. Mitchell <kyle@kemitchell.com>
540-
Tuan Anh Tran <me@tuananh.org>
541-
Nathan Woltman <nwoltman@outlook.com>
542-
Kyra <kyranet@users.noreply.github.com>
543-
Leаh Neukirchen <chneukirchen@gmail.com>
544-
Kyle Spier-Swenson <kyleshome@gmail.com>
545-
Joe Bowbeer <joe.bowbeer@gmail.com>
546-
Nalin Bhardwaj <6984346+nalinbhardwaj@users.noreply.github.com>
547-
Nicolas Garnier <ngarnier@users.noreply.github.com>
548-
Vladislav Rassokhin <vladrassokhin@gmail.com>
549-
Josh Goldberg <joshuakgoldberg@outlook.com>
550-
laggingreflex <laggingreflex@gmail.com>
551-
Kristofer Selbekk <selbekk@users.noreply.github.com>
552-
sreenivas alapati <sreenivas9alapati@gmail.com>
553-
Ben Creasy <ben@bencreasy.com>
554-
Allan Kimmer Jensen <allankimmerjensen@gmail.com>
555-
rinfan <rinfan@users.noreply.github.com>
556-
Matt Hoyle <code@deployable.co>
557-
Mason Pawsey <mpawsey@csub.edu>
558-
Johannes Bader <olydis@users.noreply.github.com>
559-
Michael Zabka <zabka.michael@gmail.com>
560-
Bruce MacNaughton <bmacnaughton@gmail.com>
561-
Christopher Patty <christopher.patty@aggiemail.usu.edu>
562-
Max Stoiber <contact@mxstbr.com>
563-
Enrico Weigelt <enrico.weigelt@gr13.net>

deps/npm/CHANGELOG.md

Lines changed: 6 additions & 447 deletions
Large diffs are not rendered by default.

deps/npm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ dev: install
6565
link: uninstall
6666
node bin/npm-cli.js link -f
6767

68-
clean: markedclean marked-manclean doc-clean
68+
clean: markedclean marked-manclean doc-clean uninstall
6969
rm -rf npmrc
7070
node bin/npm-cli.js cache clean
7171

deps/npm/bin/npx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,18 @@ if ! [ -x "$NODE_EXE" ]; then
1212
NODE_EXE=node
1313
fi
1414

15-
NPM_CLI_JS="$basedir/node_modules/npm/bin/npm-cli.js"
1615
NPX_CLI_JS="$basedir/node_modules/npm/bin/npx-cli.js"
1716

1817
case `uname` in
1918
*MINGW*)
20-
NPM_PREFIX=`"$NODE_EXE" "$NPM_CLI_JS" prefix -g`
19+
NPM_PREFIX=`"$NODE_EXE" "$NPX_CLI_JS" prefix -g`
2120
NPM_PREFIX_NPX_CLI_JS="$NPM_PREFIX/node_modules/npm/bin/npx-cli.js"
2221
if [ -f "$NPM_PREFIX_NPX_CLI_JS" ]; then
2322
NPX_CLI_JS="$NPM_PREFIX_NPX_CLI_JS"
2423
fi
2524
;;
2625
*CYGWIN*)
27-
NPM_PREFIX=`"$NODE_EXE" "$NPM_CLI_JS" prefix -g`
26+
NPM_PREFIX=`"$NODE_EXE" "$NPX_CLI_JS" prefix -g`
2827
NPM_PREFIX_NPX_CLI_JS="$NPM_PREFIX/node_modules/npm/bin/npx-cli.js"
2928
if [ -f "$NPM_PREFIX_NPX_CLI_JS" ]; then
3029
NPX_CLI_JS="$NPM_PREFIX_NPX_CLI_JS"

deps/npm/bin/npx.cmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ IF NOT EXIST "%NODE_EXE%" (
88
SET "NODE_EXE=node"
99
)
1010

11-
SET "NPM_CLI_JS=%~dp0\node_modules\npm\bin\npm-cli.js"
1211
SET "NPX_CLI_JS=%~dp0\node_modules\npm\bin\npx-cli.js"
13-
FOR /F "delims=" %%F IN ('CALL "%NODE_EXE%" "%NPM_CLI_JS%" prefix -g') DO (
12+
FOR /F "delims=" %%F IN ('CALL "%NODE_EXE%" "%NPX_CLI_JS%" prefix -g') DO (
1413
SET "NPM_PREFIX_NPX_CLI_JS=%%F\node_modules\npm\bin\npx-cli.js"
1514
)
1615
IF EXIST "%NPM_PREFIX_NPX_CLI_JS%" (

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

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

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ after packing it up into a tarball (b).
5555
is set to `production`), npm will not install modules listed in
5656
`devDependencies`.
5757

58-
> NOTE: The `--production` flag has no particular meaning when adding a
59-
dependency to a project.
60-
6158
* `npm install <folder>`:
6259

6360
Install the package in the directory as a symlink in the current project.
@@ -350,8 +347,7 @@ The `--no-shrinkwrap` argument, which will ignore an available
350347
package lock or shrinkwrap file and use the package.json instead.
351348

352349
The `--no-package-lock` argument will prevent npm from creating a
353-
`package-lock.json` file. When running with package-lock's disabled npm
354-
will not automatically prune your node modules when installing.
350+
`package-lock.json` file.
355351

356352
The `--nodedir=/path/to/node/source` argument will allow npm to find the
357353
node source code so that npm can compile native modules.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Max display depth of the dependency tree.
7676

7777
Display only the dependency tree for packages in `dependencies`.
7878

79-
### dev / development
79+
### dev
8080

8181
* Type: Boolean
8282
* Default: false

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

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ npm-prune(1) -- Remove extraneous packages
33

44
## SYNOPSIS
55

6-
npm prune [[<@scope>/]<pkg>...] [--production] [--dry-run] [--json]
6+
npm prune [[<@scope>/]<pkg>...] [--production]
77

88
## DESCRIPTION
99

@@ -16,21 +16,9 @@ package's dependencies list.
1616

1717
If the `--production` flag is specified or the `NODE_ENV` environment
1818
variable is set to `production`, this command will remove the packages
19-
specified in your `devDependencies`. Setting `--no-production` will
19+
specified in your `devDependencies`. Setting `--production=false` will
2020
negate `NODE_ENV` being set to `production`.
2121

22-
If the `--dry-run` flag is used then no changes will actually be made.
23-
24-
If the `--json` flag is used then the changes `npm prune` made (or would
25-
have made with `--dry-run`) are printed as a JSON object.
26-
27-
In normal operation with package-locks enabled, extraneous modules are
28-
pruned automatically when modules are installed and you'll only need
29-
this command with the `--production` flag.
30-
31-
If you've disabled package-locks then extraneous modules will not be removed
32-
and it's up to you to run `npm prune` from time-to-time to remove them.
33-
3422
## SEE ALSO
3523

3624
* npm-uninstall(1)

0 commit comments

Comments
 (0)