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 <[email protected]>
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 <[email protected]>
536536
Alejandro López <[email protected]>
537537
Victor Belozyorov <[email protected]>
538538
Bradley Farias <[email protected]>
539-
Kyle E. Mitchell <[email protected]>
540-
Tuan Anh Tran <[email protected]>
541-
Nathan Woltman <[email protected]>
542-
543-
Leаh Neukirchen <[email protected]>
544-
Kyle Spier-Swenson <[email protected]>
545-
Joe Bowbeer <[email protected]>
546-
Nalin Bhardwaj <[email protected]>
547-
Nicolas Garnier <[email protected]>
548-
Vladislav Rassokhin <[email protected]>
549-
Josh Goldberg <[email protected]>
550-
laggingreflex <[email protected]>
551-
Kristofer Selbekk <[email protected]>
552-
sreenivas alapati <[email protected]>
553-
Ben Creasy <[email protected]>
554-
Allan Kimmer Jensen <[email protected]>
555-
556-
Matt Hoyle <[email protected]>
557-
Mason Pawsey <[email protected]>
558-
Johannes Bader <[email protected]>
559-
Michael Zabka <[email protected]>
560-
Bruce MacNaughton <[email protected]>
561-
Christopher Patty <[email protected]>
562-
Max Stoiber <[email protected]>
563-
Enrico Weigelt <[email protected]>

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)