From 42db72fc30f46418226d53b0b4359ed8f965e794 Mon Sep 17 00:00:00 2001
From: npm-robot
Date: Thu, 3 Jun 2021 20:17:35 +0000
Subject: [PATCH] deps: upgrade npm to 7.16.0
---
deps/npm/.npmignore | 4 +
deps/npm/CHANGELOG.md | 64 ++
.../docs/content/commands/npm-run-script.md | 7 +-
deps/npm/docs/content/using-npm/config.md | 2 +
deps/npm/docs/output/commands/npm-ls.html | 4 +-
.../docs/output/commands/npm-run-script.html | 6 +-
deps/npm/docs/output/commands/npm.html | 4 +-
deps/npm/docs/output/using-npm/config.html | 1 +
deps/npm/lib/cli.js | 2 +-
deps/npm/lib/utils/config/definitions.js | 2 +
deps/npm/lib/utils/error-handler.js | 4 +-
deps/npm/lib/utils/update-notifier.js | 36 +-
deps/npm/man/man1/npm-access.1 | 2 +-
deps/npm/man/man1/npm-adduser.1 | 2 +-
deps/npm/man/man1/npm-audit.1 | 2 +-
deps/npm/man/man1/npm-bin.1 | 2 +-
deps/npm/man/man1/npm-bugs.1 | 2 +-
deps/npm/man/man1/npm-cache.1 | 2 +-
deps/npm/man/man1/npm-ci.1 | 2 +-
deps/npm/man/man1/npm-completion.1 | 2 +-
deps/npm/man/man1/npm-config.1 | 2 +-
deps/npm/man/man1/npm-dedupe.1 | 2 +-
deps/npm/man/man1/npm-deprecate.1 | 2 +-
deps/npm/man/man1/npm-diff.1 | 2 +-
deps/npm/man/man1/npm-dist-tag.1 | 2 +-
deps/npm/man/man1/npm-docs.1 | 2 +-
deps/npm/man/man1/npm-doctor.1 | 2 +-
deps/npm/man/man1/npm-edit.1 | 2 +-
deps/npm/man/man1/npm-exec.1 | 2 +-
deps/npm/man/man1/npm-explain.1 | 2 +-
deps/npm/man/man1/npm-explore.1 | 2 +-
deps/npm/man/man1/npm-find-dupes.1 | 2 +-
deps/npm/man/man1/npm-fund.1 | 2 +-
deps/npm/man/man1/npm-help-search.1 | 2 +-
deps/npm/man/man1/npm-help.1 | 2 +-
deps/npm/man/man1/npm-hook.1 | 2 +-
deps/npm/man/man1/npm-init.1 | 2 +-
deps/npm/man/man1/npm-install-ci-test.1 | 2 +-
deps/npm/man/man1/npm-install-test.1 | 2 +-
deps/npm/man/man1/npm-install.1 | 2 +-
deps/npm/man/man1/npm-link.1 | 2 +-
deps/npm/man/man1/npm-logout.1 | 2 +-
deps/npm/man/man1/npm-ls.1 | 4 +-
deps/npm/man/man1/npm-org.1 | 2 +-
deps/npm/man/man1/npm-outdated.1 | 2 +-
deps/npm/man/man1/npm-owner.1 | 2 +-
deps/npm/man/man1/npm-pack.1 | 2 +-
deps/npm/man/man1/npm-ping.1 | 2 +-
deps/npm/man/man1/npm-prefix.1 | 2 +-
deps/npm/man/man1/npm-profile.1 | 2 +-
deps/npm/man/man1/npm-prune.1 | 2 +-
deps/npm/man/man1/npm-publish.1 | 2 +-
deps/npm/man/man1/npm-rebuild.1 | 2 +-
deps/npm/man/man1/npm-repo.1 | 2 +-
deps/npm/man/man1/npm-restart.1 | 2 +-
deps/npm/man/man1/npm-root.1 | 2 +-
deps/npm/man/man1/npm-run-script.1 | 8 +-
deps/npm/man/man1/npm-search.1 | 2 +-
deps/npm/man/man1/npm-set-script.1 | 2 +-
deps/npm/man/man1/npm-shrinkwrap.1 | 2 +-
deps/npm/man/man1/npm-star.1 | 2 +-
deps/npm/man/man1/npm-stars.1 | 2 +-
deps/npm/man/man1/npm-start.1 | 2 +-
deps/npm/man/man1/npm-stop.1 | 2 +-
deps/npm/man/man1/npm-team.1 | 2 +-
deps/npm/man/man1/npm-test.1 | 2 +-
deps/npm/man/man1/npm-token.1 | 2 +-
deps/npm/man/man1/npm-uninstall.1 | 2 +-
deps/npm/man/man1/npm-unpublish.1 | 2 +-
deps/npm/man/man1/npm-unstar.1 | 2 +-
deps/npm/man/man1/npm-update.1 | 2 +-
deps/npm/man/man1/npm-version.1 | 2 +-
deps/npm/man/man1/npm-view.1 | 2 +-
deps/npm/man/man1/npm-whoami.1 | 2 +-
deps/npm/man/man1/npm.1 | 4 +-
deps/npm/man/man1/npx.1 | 2 +-
deps/npm/man/man5/folders.5 | 2 +-
deps/npm/man/man5/install.5 | 2 +-
deps/npm/man/man5/npm-shrinkwrap-json.5 | 2 +-
deps/npm/man/man5/npmrc.5 | 2 +-
deps/npm/man/man5/package-json.5 | 2 +-
deps/npm/man/man5/package-lock-json.5 | 2 +-
deps/npm/man/man7/config.7 | 4 +-
deps/npm/man/man7/developers.7 | 2 +-
deps/npm/man/man7/orgs.7 | 2 +-
deps/npm/man/man7/registry.7 | 2 +-
deps/npm/man/man7/removal.7 | 2 +-
deps/npm/man/man7/scope.7 | 2 +-
deps/npm/man/man7/scripts.7 | 2 +-
deps/npm/man/man7/workspaces.7 | 2 +-
.../@npmcli/arborist/package.json | 4 +-
.../iconv-lite/.idea/codeStyles/Project.xml | 47 ++
.../.idea/codeStyles/codeStyleConfig.xml | 5 +
.../iconv-lite/.idea/iconv-lite.iml | 12 +
.../inspectionProfiles/Project_Default.xml | 6 +
.../node_modules/iconv-lite/.idea/modules.xml | 8 +
.../npm/node_modules/iconv-lite/.idea/vcs.xml | 6 +
deps/npm/node_modules/iconv-lite/Changelog.md | 4 +
.../iconv-lite/encodings/dbcs-data.js | 14 +-
deps/npm/node_modules/iconv-lite/package.json | 2 +-
.../node_modules/libnpmaccess/package.json | 4 +-
deps/npm/node_modules/libnpmhook/CHANGELOG.md | 110 ---
deps/npm/node_modules/libnpmhook/package.json | 4 +-
deps/npm/node_modules/libnpmorg/CHANGELOG.md | 33 -
deps/npm/node_modules/libnpmorg/package.json | 4 +-
.../node_modules/libnpmpublish/CHANGELOG.md | 91 ---
.../node_modules/libnpmpublish/package.json | 4 +-
.../node_modules/libnpmsearch/CHANGELOG.md | 57 --
.../node_modules/libnpmsearch/package.json | 4 +-
deps/npm/node_modules/libnpmteam/CHANGELOG.md | 40 --
deps/npm/node_modules/libnpmteam/package.json | 4 +-
.../make-fetch-happen/CHANGELOG.md | 654 ------------------
.../node_modules/make-fetch-happen/README.md | 31 +-
.../node_modules/make-fetch-happen/cache.js | 260 -------
.../node_modules/make-fetch-happen/index.js | 457 ------------
.../make-fetch-happen/{ => lib}/agent.js | 37 +-
.../make-fetch-happen/lib/cache/entry.js | 432 ++++++++++++
.../make-fetch-happen/lib/cache/errors.js | 10 +
.../make-fetch-happen/lib/cache/index.js | 46 ++
.../make-fetch-happen/lib/cache/key.js | 17 +
.../make-fetch-happen/lib/cache/policy.js | 161 +++++
.../make-fetch-happen/lib/fetch.js | 100 +++
.../make-fetch-happen/lib/index.js | 40 ++
.../make-fetch-happen/lib/options.js | 45 ++
.../make-fetch-happen/lib/remote.js | 101 +++
.../make-fetch-happen/package.json | 34 +-
.../utils/configure-options.js | 32 -
.../utils/initialize-cache.js | 26 -
.../utils/is-header-conditional.js | 17 -
.../utils/iterable-to-object.js | 9 -
.../make-fetch-happen/utils/make-policy.js | 19 -
.../node_modules/make-fetch-happen/warning.js | 24 -
deps/npm/node_modules/mime-db/HISTORY.md | 7 +
deps/npm/node_modules/mime-db/db.json | 58 +-
deps/npm/node_modules/mime-db/package.json | 14 +-
deps/npm/node_modules/mime-types/HISTORY.md | 8 +
deps/npm/node_modules/mime-types/package.json | 14 +-
deps/npm/node_modules/negotiator/HISTORY.md | 103 +++
deps/npm/node_modules/negotiator/LICENSE | 24 +
deps/npm/node_modules/negotiator/README.md | 203 ++++++
deps/npm/node_modules/negotiator/index.js | 124 ++++
.../node_modules/negotiator/lib/charset.js | 169 +++++
.../node_modules/negotiator/lib/encoding.js | 184 +++++
.../node_modules/negotiator/lib/language.js | 179 +++++
.../node_modules/negotiator/lib/mediaType.js | 294 ++++++++
deps/npm/node_modules/negotiator/package.json | 42 ++
.../node_modules/npm-package-arg/CHANGELOG.md | 52 --
deps/npm/node_modules/npm-package-arg/npa.js | 144 ++--
.../node_modules/npm-package-arg/package.json | 12 +-
.../npm/node_modules/npm-profile/CHANGELOG.md | 62 --
.../npm/node_modules/npm-profile/package.json | 4 +-
.../node_modules/npm-registry-fetch/README.md | 7 +-
.../npm-registry-fetch/check-response.js | 83 +--
.../node_modules/npm-registry-fetch/index.js | 3 +-
.../npm-registry-fetch/package.json | 21 +-
deps/npm/node_modules/pacote/package.json | 4 +-
deps/npm/node_modules/path-parse/.travis.yml | 9 -
deps/npm/node_modules/path-parse/index.js | 50 +-
deps/npm/node_modules/path-parse/package.json | 2 +-
deps/npm/node_modules/path-parse/test.js | 77 ---
.../node_modules}/form-data/License | 0
.../node_modules}/form-data/README.md | 0
.../node_modules}/form-data/README.md.bak | 0
.../node_modules}/form-data/lib/browser.js | 0
.../node_modules}/form-data/lib/form_data.js | 0
.../node_modules}/form-data/lib/populate.js | 0
.../node_modules}/form-data/package.json | 0
.../node_modules}/form-data/yarn.lock | 0
.../node_modules/spdx-license-ids/README.md | 2 +-
.../node_modules/spdx-license-ids/index.json | 12 +
.../spdx-license-ids/package.json | 2 +-
deps/npm/package.json | 30 +-
.../lib/utils/config/describe-all.js.test.cjs | 2 +
deps/npm/test/lib/cli.js | 1 +
deps/npm/test/lib/utils/update-notifier.js | 61 +-
175 files changed, 2913 insertions(+), 2469 deletions(-)
create mode 100644 deps/npm/node_modules/iconv-lite/.idea/codeStyles/Project.xml
create mode 100644 deps/npm/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml
create mode 100644 deps/npm/node_modules/iconv-lite/.idea/iconv-lite.iml
create mode 100644 deps/npm/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml
create mode 100644 deps/npm/node_modules/iconv-lite/.idea/modules.xml
create mode 100644 deps/npm/node_modules/iconv-lite/.idea/vcs.xml
delete mode 100644 deps/npm/node_modules/libnpmhook/CHANGELOG.md
delete mode 100644 deps/npm/node_modules/libnpmorg/CHANGELOG.md
delete mode 100644 deps/npm/node_modules/libnpmpublish/CHANGELOG.md
delete mode 100644 deps/npm/node_modules/libnpmsearch/CHANGELOG.md
delete mode 100644 deps/npm/node_modules/libnpmteam/CHANGELOG.md
delete mode 100644 deps/npm/node_modules/make-fetch-happen/CHANGELOG.md
delete mode 100644 deps/npm/node_modules/make-fetch-happen/cache.js
delete mode 100644 deps/npm/node_modules/make-fetch-happen/index.js
rename deps/npm/node_modules/make-fetch-happen/{ => lib}/agent.js (88%)
create mode 100644 deps/npm/node_modules/make-fetch-happen/lib/cache/entry.js
create mode 100644 deps/npm/node_modules/make-fetch-happen/lib/cache/errors.js
create mode 100644 deps/npm/node_modules/make-fetch-happen/lib/cache/index.js
create mode 100644 deps/npm/node_modules/make-fetch-happen/lib/cache/key.js
create mode 100644 deps/npm/node_modules/make-fetch-happen/lib/cache/policy.js
create mode 100644 deps/npm/node_modules/make-fetch-happen/lib/fetch.js
create mode 100644 deps/npm/node_modules/make-fetch-happen/lib/index.js
create mode 100644 deps/npm/node_modules/make-fetch-happen/lib/options.js
create mode 100644 deps/npm/node_modules/make-fetch-happen/lib/remote.js
delete mode 100644 deps/npm/node_modules/make-fetch-happen/utils/configure-options.js
delete mode 100644 deps/npm/node_modules/make-fetch-happen/utils/initialize-cache.js
delete mode 100644 deps/npm/node_modules/make-fetch-happen/utils/is-header-conditional.js
delete mode 100644 deps/npm/node_modules/make-fetch-happen/utils/iterable-to-object.js
delete mode 100644 deps/npm/node_modules/make-fetch-happen/utils/make-policy.js
delete mode 100644 deps/npm/node_modules/make-fetch-happen/warning.js
create mode 100644 deps/npm/node_modules/negotiator/HISTORY.md
create mode 100644 deps/npm/node_modules/negotiator/LICENSE
create mode 100644 deps/npm/node_modules/negotiator/README.md
create mode 100644 deps/npm/node_modules/negotiator/index.js
create mode 100644 deps/npm/node_modules/negotiator/lib/charset.js
create mode 100644 deps/npm/node_modules/negotiator/lib/encoding.js
create mode 100644 deps/npm/node_modules/negotiator/lib/language.js
create mode 100644 deps/npm/node_modules/negotiator/lib/mediaType.js
create mode 100644 deps/npm/node_modules/negotiator/package.json
delete mode 100644 deps/npm/node_modules/npm-package-arg/CHANGELOG.md
delete mode 100644 deps/npm/node_modules/npm-profile/CHANGELOG.md
delete mode 100644 deps/npm/node_modules/path-parse/.travis.yml
delete mode 100644 deps/npm/node_modules/path-parse/test.js
rename deps/npm/node_modules/{ => request/node_modules}/form-data/License (100%)
rename deps/npm/node_modules/{ => request/node_modules}/form-data/README.md (100%)
rename deps/npm/node_modules/{ => request/node_modules}/form-data/README.md.bak (100%)
rename deps/npm/node_modules/{ => request/node_modules}/form-data/lib/browser.js (100%)
rename deps/npm/node_modules/{ => request/node_modules}/form-data/lib/form_data.js (100%)
rename deps/npm/node_modules/{ => request/node_modules}/form-data/lib/populate.js (100%)
rename deps/npm/node_modules/{ => request/node_modules}/form-data/package.json (100%)
rename deps/npm/node_modules/{ => request/node_modules}/form-data/yarn.lock (100%)
diff --git a/deps/npm/.npmignore b/deps/npm/.npmignore
index 9d02b99f91b39a..ae91e6482791fa 100644
--- a/deps/npm/.npmignore
+++ b/deps/npm/.npmignore
@@ -27,6 +27,10 @@ docs/nav.yml
docs/config.json
docs/dockhand.js
docs/template.html
+docs/package.json
+docs/node_modules
+# docs source files are required by `npm help-search` do not exclude those
+!docs/content/
# don't ignore .npmignore files
# these are used in some tests.
diff --git a/deps/npm/CHANGELOG.md b/deps/npm/CHANGELOG.md
index c86373bcde2b84..027731cbe2cf73 100644
--- a/deps/npm/CHANGELOG.md
+++ b/deps/npm/CHANGELOG.md
@@ -1,3 +1,67 @@
+## v7.16.0 (2021-06-03)
+
+## FEATURES
+
+* [`e92b5f2ba`](https://github.com/npm/cli/commit/e92b5f2ba07746ae07646566f3dc73c9e004a2fc)
+ `npm-registry-fetch@11.0.0`
+ * feat: improved logging of cache status
+
+## BUG FIXES
+
+* [`e864bd3ce`](https://github.com/npm/cli/commit/e864bd3ce8e8467e0f8ebb499dc2daf06143bc33)
+ [#3345](https://github.com/npm/cli/issues/3345)
+ fix(update-notifier): do not update notify when installing npm@spec
+ ([@isaacs](https://github.com/isaacs))
+* [`aafe23572`](https://github.com/npm/cli/commit/aafe2357279230e333d3342752a28fce6b9cd152)
+ [#3348](https://github.com/npm/cli/issues/3348)
+ fix(update-notifier): parallelize check for updates
+ ([@isaacs](https://github.com/isaacs))
+
+## DOCUMENTATION
+
+* [`bc9c57dda`](https://github.com/npm/cli/commit/bc9c57dda7cf3abcdee17550205daf1a82e90438)
+ [#3353](https://github.com/npm/cli/issues/3353)
+ fix(docs): remove documentation for '--scripts-prepend-node-path' as it was removed in npm@7
+ ([@gimli01](https://github.com/gimli01))
+* [`ca2822110`](https://github.com/npm/cli/commit/ca28221103aa0e9ccba7043ac515a541b625c53a)
+ [#3360](https://github.com/npm/cli/issues/3360)
+ fix(docs): link foreground-scripts w/ loglevel
+ ([@wraithgar](https://github.com/wraithgar))
+* [`fb630b5a9`](https://github.com/npm/cli/commit/fb630b5a9af86c71602803297634ec291eeedee0)
+ [#3342](https://github.com/npm/cli/issues/3342)
+ chore(docs): manage docs as a workspace
+ ([@ruyadorno](https://github.com/ruyadorno))
+
+## DEPENDENCIES
+
+* [`54de5c6a4`](https://github.com/npm/cli/commit/54de5c6a4cd593bbbe364132f3f7348586441b31)
+ `npm-package-arg@8.1.4`:
+ * fix: trim whitespace from fetchSpec
+ * fix: handle file: when root directory begins with a special character
+* [`e92b5f2ba`](https://github.com/npm/cli/commit/e92b5f2ba07746ae07646566f3dc73c9e004a2fc)
+ `make-fetch-happen@9.0.1`
+ * breaking: complete refactor of caching. drops warning headers,
+ prevents cache indexes from growing for every request, correctly
+ handles varied requests to the same url, and now caches redirects.
+ * fix: support url-encoded proxy authorization
+ * fix: do not lazy-load proxy agents or agentkeepalive. fixes the
+ intermittent failures to update npm on slower connections.
+ `npm-registry-fetch@11.0.0`
+ * breaking: drop handling of deprecated warning headers
+ * docs: fix header type for npm-command
+ * docs: update registry param
+ * feat: improved logging of cache status
+* [`23c50a45f`](https://github.com/npm/cli/commit/23c50a45f59ea3ed4c36f35df15e54adc5603034)
+ `make-fetch-happen@9.0.2`:
+ * fix: work around negotiator's lazy loading
+
+## AUTOMATION
+
+* [`c4ef78b08`](https://github.com/npm/cli/commit/c4ef78b08e6859fc191cabbe58c8d88c070e0612)
+ [#3344](https://github.com/npm/cli/issues/3344)
+ fix(automation): update incorrect variable name in create-cli-deps-pr workflow
+ ([@gimli01](https://github.com/gimli01))
+
## v7.15.1 (2021-05-31)
### BUG FIXES
diff --git a/deps/npm/docs/content/commands/npm-run-script.md b/deps/npm/docs/content/commands/npm-run-script.md
index 1d11a74faa2448..5e3828c40717dd 100644
--- a/deps/npm/docs/content/commands/npm-run-script.md
+++ b/deps/npm/docs/content/commands/npm-run-script.md
@@ -70,11 +70,7 @@ can use the `INIT_CWD` environment variable, which holds the full path you
were in when you ran `npm run`.
`npm run` sets the `NODE` environment variable to the `node` executable
-with which `npm` is executed. Also, if the `--scripts-prepend-node-path` is
-passed, the directory within which `node` resides is added to the `PATH`.
-If `--scripts-prepend-node-path=auto` is passed (which has been the default
-in `npm` v3), this is only performed when that `node` executable is not
-found in the `PATH`.
+with which `npm` is executed.
If you try to run a script without having a `node_modules` directory and it
fails, you will be given a warning to run `npm install`, just in case you've
@@ -138,7 +134,6 @@ npm test -w a -w b
This last command will run `test` in both `./packages/a` and `./packages/b`
packages.
-
### Configuration
diff --git a/deps/npm/docs/content/using-npm/config.md b/deps/npm/docs/content/using-npm/config.md
index 25b4d424e82ff4..44b79a801f15ec 100644
--- a/deps/npm/docs/content/using-npm/config.md
+++ b/deps/npm/docs/content/using-npm/config.md
@@ -776,6 +776,8 @@ What level of logs to report. On failure, *all* logs are written to
Any logs of a higher level than the setting are shown. The default is
"notice".
+See also the `foreground-scripts` config.
+
#### `logs-max`
* Default: 10
diff --git a/deps/npm/docs/output/commands/npm-ls.html b/deps/npm/docs/output/commands/npm-ls.html
index f87185539dd6f7..1b33d79cc1a807 100644
--- a/deps/npm/docs/output/commands/npm-ls.html
+++ b/deps/npm/docs/output/commands/npm-ls.html
@@ -159,7 +159,7 @@ Description
the results to only the paths to the packages named. Note that nested
packages will also show the paths to the specified packages. For
example, running npm ls promzard
in npm’s source tree will show:
-npm@7.15.1 /path/to/npm
+npm@7.16.0 /path/to/npm
└─┬ init-package-json@0.0.4
└── promzard@0.1.5
@@ -337,4 +337,4 @@ See Also
-