From 0a6c54afb968d88364c644fd11df91c80d541777 Mon Sep 17 00:00:00 2001 From: npm CLI robot Date: Tue, 6 Dec 2022 22:18:33 -0500 Subject: [PATCH 1/2] deps: upgrade npm to 9.1.3 PR-URL: https://github.com/nodejs/node/pull/45693 Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Ruy Adorno --- deps/npm/README.md | 6 +- deps/npm/bin/npx-cli.js | 2 + deps/npm/docs/README.md | 5 + deps/npm/docs/content/commands/npm-access.md | 32 +- deps/npm/docs/content/commands/npm-adduser.md | 29 +- deps/npm/docs/content/commands/npm-audit.md | 16 +- deps/npm/docs/content/commands/npm-bin.md | 41 - deps/npm/docs/content/commands/npm-bugs.md | 5 +- deps/npm/docs/content/commands/npm-cache.md | 3 +- deps/npm/docs/content/commands/npm-ci.md | 44 +- deps/npm/docs/content/commands/npm-config.md | 17 +- deps/npm/docs/content/commands/npm-dedupe.md | 44 +- .../npm/docs/content/commands/npm-dist-tag.md | 4 +- deps/npm/docs/content/commands/npm-docs.md | 8 +- deps/npm/docs/content/commands/npm-edit.md | 4 +- deps/npm/docs/content/commands/npm-exec.md | 18 +- .../docs/content/commands/npm-find-dupes.md | 44 +- deps/npm/docs/content/commands/npm-fund.md | 10 +- .../content/commands/npm-install-ci-test.md | 44 +- .../docs/content/commands/npm-install-test.md | 44 +- deps/npm/docs/content/commands/npm-install.md | 46 +- deps/npm/docs/content/commands/npm-link.md | 44 +- deps/npm/docs/content/commands/npm-login.md | 87 + deps/npm/docs/content/commands/npm-ls.md | 10 +- deps/npm/docs/content/commands/npm-pkg.md | 3 +- deps/npm/docs/content/commands/npm-prune.md | 8 +- deps/npm/docs/content/commands/npm-publish.md | 20 +- deps/npm/docs/content/commands/npm-rebuild.md | 8 +- deps/npm/docs/content/commands/npm-repo.md | 7 +- .../docs/content/commands/npm-run-script.md | 9 +- .../docs/content/commands/npm-set-script.md | 91 - .../docs/content/commands/npm-uninstall.md | 8 +- deps/npm/docs/content/commands/npm-update.md | 50 +- deps/npm/docs/content/commands/npm-version.md | 14 +- deps/npm/docs/content/commands/npm-view.md | 6 + deps/npm/docs/content/commands/npm.md | 2 +- .../docs/content/configuring-npm/folders.md | 50 +- .../npm/docs/content/configuring-npm/npmrc.md | 9 + .../content/configuring-npm/package-json.md | 42 +- deps/npm/docs/content/using-npm/config.md | 235 +- .../content/using-npm/dependency-selectors.md | 43 +- deps/npm/docs/content/using-npm/logging.md | 21 +- .../docs/content/using-npm/package-spec.md | 6 +- deps/npm/docs/content/using-npm/registry.md | 13 +- deps/npm/docs/content/using-npm/scope.md | 2 +- deps/npm/docs/content/using-npm/scripts.md | 6 +- deps/npm/docs/content/using-npm/workspaces.md | 5 + deps/npm/docs/output/commands/npm-access.html | 36 +- .../npm/docs/output/commands/npm-adduser.html | 29 +- deps/npm/docs/output/commands/npm-audit.html | 45 +- deps/npm/docs/output/commands/npm-bugs.html | 10 +- deps/npm/docs/output/commands/npm-cache.html | 7 +- deps/npm/docs/output/commands/npm-ci.html | 56 +- .../docs/output/commands/npm-completion.html | 7 +- deps/npm/docs/output/commands/npm-config.html | 30 +- deps/npm/docs/output/commands/npm-dedupe.html | 52 +- .../docs/output/commands/npm-deprecate.html | 9 +- deps/npm/docs/output/commands/npm-diff.html | 19 +- .../docs/output/commands/npm-dist-tag.html | 13 +- deps/npm/docs/output/commands/npm-docs.html | 13 +- deps/npm/docs/output/commands/npm-doctor.html | 5 +- deps/npm/docs/output/commands/npm-edit.html | 9 +- deps/npm/docs/output/commands/npm-exec.html | 25 +- .../npm/docs/output/commands/npm-explain.html | 9 +- .../npm/docs/output/commands/npm-explore.html | 7 +- .../docs/output/commands/npm-find-dupes.html | 50 +- deps/npm/docs/output/commands/npm-fund.html | 19 +- .../docs/output/commands/npm-help-search.html | 5 +- deps/npm/docs/output/commands/npm-help.html | 5 +- deps/npm/docs/output/commands/npm-hook.html | 19 +- deps/npm/docs/output/commands/npm-init.html | 17 +- .../output/commands/npm-install-ci-test.html | 50 +- .../output/commands/npm-install-test.html | 50 +- .../npm/docs/output/commands/npm-install.html | 90 +- deps/npm/docs/output/commands/npm-link.html | 58 +- .../commands/{npm-bin.html => npm-login.html} | 74 +- deps/npm/docs/output/commands/npm-logout.html | 5 +- deps/npm/docs/output/commands/npm-ls.html | 15 +- deps/npm/docs/output/commands/npm-org.html | 17 +- .../docs/output/commands/npm-outdated.html | 9 +- deps/npm/docs/output/commands/npm-owner.html | 5 +- deps/npm/docs/output/commands/npm-pack.html | 5 +- deps/npm/docs/output/commands/npm-ping.html | 9 +- deps/npm/docs/output/commands/npm-pkg.html | 36 +- deps/npm/docs/output/commands/npm-prefix.html | 9 +- .../npm/docs/output/commands/npm-profile.html | 7 +- deps/npm/docs/output/commands/npm-prune.html | 13 +- .../npm/docs/output/commands/npm-publish.html | 23 +- deps/npm/docs/output/commands/npm-query.html | 11 +- .../npm/docs/output/commands/npm-rebuild.html | 13 +- deps/npm/docs/output/commands/npm-repo.html | 12 +- .../npm/docs/output/commands/npm-restart.html | 5 +- deps/npm/docs/output/commands/npm-root.html | 7 +- .../docs/output/commands/npm-run-script.html | 20 +- deps/npm/docs/output/commands/npm-search.html | 5 +- .../docs/output/commands/npm-set-script.html | 232 -- .../docs/output/commands/npm-shrinkwrap.html | 5 +- deps/npm/docs/output/commands/npm-star.html | 5 +- deps/npm/docs/output/commands/npm-stars.html | 5 +- deps/npm/docs/output/commands/npm-start.html | 9 +- deps/npm/docs/output/commands/npm-stop.html | 9 +- deps/npm/docs/output/commands/npm-team.html | 17 +- deps/npm/docs/output/commands/npm-test.html | 9 +- deps/npm/docs/output/commands/npm-token.html | 9 +- .../docs/output/commands/npm-uninstall.html | 17 +- .../docs/output/commands/npm-unpublish.html | 7 +- deps/npm/docs/output/commands/npm-unstar.html | 5 +- deps/npm/docs/output/commands/npm-update.html | 70 +- .../npm/docs/output/commands/npm-version.html | 25 +- deps/npm/docs/output/commands/npm-view.html | 28 +- deps/npm/docs/output/commands/npm-whoami.html | 5 +- deps/npm/docs/output/commands/npm.html | 7 +- deps/npm/docs/output/commands/npx.html | 5 +- .../docs/output/configuring-npm/folders.html | 56 +- .../docs/output/configuring-npm/install.html | 3 +- .../configuring-npm/npm-shrinkwrap-json.html | 3 +- .../docs/output/configuring-npm/npmrc.html | 19 +- .../output/configuring-npm/package-json.html | 140 +- .../configuring-npm/package-lock-json.html | 3 +- deps/npm/docs/output/using-npm/config.html | 220 +- .../using-npm/dependency-selectors.html | 59 +- .../npm/docs/output/using-npm/developers.html | 15 +- deps/npm/docs/output/using-npm/logging.html | 22 +- deps/npm/docs/output/using-npm/orgs.html | 21 +- .../docs/output/using-npm/package-spec.html | 9 +- deps/npm/docs/output/using-npm/registry.html | 18 +- deps/npm/docs/output/using-npm/removal.html | 13 +- deps/npm/docs/output/using-npm/scope.html | 17 +- deps/npm/docs/output/using-npm/scripts.html | 23 +- .../npm/docs/output/using-npm/workspaces.html | 8 +- deps/npm/lib/arborist-cmd.js | 14 + deps/npm/lib/auth/legacy.js | 100 - deps/npm/lib/auth/oauth.js | 8 - deps/npm/lib/auth/saml.js | 8 - deps/npm/lib/auth/sso.js | 81 - deps/npm/lib/base-command.js | 8 + deps/npm/lib/cli.js | 119 +- deps/npm/lib/commands/access.js | 284 +- deps/npm/lib/commands/adduser.js | 65 +- deps/npm/lib/commands/audit.js | 2 +- deps/npm/lib/commands/bin.js | 23 - deps/npm/lib/commands/birthday.js | 17 - deps/npm/lib/commands/cache.js | 3 +- deps/npm/lib/commands/ci.js | 1 - deps/npm/lib/commands/completion.js | 2 +- deps/npm/lib/commands/config.js | 84 +- deps/npm/lib/commands/dedupe.js | 3 +- deps/npm/lib/commands/deprecate.js | 8 +- deps/npm/lib/commands/diff.js | 4 +- deps/npm/lib/commands/explore.js | 1 - deps/npm/lib/commands/find-dupes.js | 3 +- deps/npm/lib/commands/hook.js | 3 - deps/npm/lib/commands/init.js | 13 +- deps/npm/lib/commands/install.js | 4 +- deps/npm/lib/commands/link.js | 5 +- deps/npm/lib/commands/login.js | 53 + deps/npm/lib/commands/ls.js | 2 +- deps/npm/lib/commands/publish.js | 8 +- deps/npm/lib/commands/query.js | 5 +- deps/npm/lib/commands/rebuild.js | 2 +- deps/npm/lib/commands/run-script.js | 1 - deps/npm/lib/commands/set-script.js | 96 - deps/npm/lib/commands/unpublish.js | 4 +- deps/npm/lib/commands/update.js | 3 +- deps/npm/lib/commands/view.js | 5 +- deps/npm/lib/npm.js | 79 +- deps/npm/lib/package-url-cmd.js | 2 + deps/npm/lib/utils/auth.js | 78 + deps/npm/lib/utils/cmd-list.js | 7 +- .../lib/utils/completion/installed-shallow.js | 8 +- deps/npm/lib/utils/config/definitions.js | 225 +- deps/npm/lib/utils/display.js | 50 +- deps/npm/lib/utils/error-message.js | 10 +- deps/npm/lib/utils/exit-handler.js | 39 +- deps/npm/lib/utils/explain-eresolve.js | 35 +- deps/npm/lib/utils/get-identity.js | 4 +- deps/npm/lib/utils/log-file.js | 72 +- deps/npm/lib/utils/npm-usage.js | 56 +- deps/npm/lib/utils/open-url-prompt.js | 12 +- deps/npm/lib/utils/open-url.js | 18 +- deps/npm/lib/utils/otplease.js | 6 +- deps/npm/lib/utils/tar.js | 4 +- deps/npm/lib/utils/timers.js | 46 +- deps/npm/lib/utils/update-notifier.js | 4 +- deps/npm/man/man1/npm-access.1 | 165 +- deps/npm/man/man1/npm-adduser.1 | 101 +- deps/npm/man/man1/npm-audit.1 | 534 ++-- deps/npm/man/man1/npm-bin.1 | 52 - deps/npm/man/man1/npm-bugs.1 | 141 +- deps/npm/man/man1/npm-cache.1 | 123 +- deps/npm/man/man1/npm-ci.1 | 409 ++- deps/npm/man/man1/npm-completion.1 | 39 +- deps/npm/man/man1/npm-config.1 | 206 +- deps/npm/man/man1/npm-dedupe.1 | 337 +-- deps/npm/man/man1/npm-deprecate.1 | 77 +- deps/npm/man/man1/npm-diff.1 | 386 ++- deps/npm/man/man1/npm-dist-tag.1 | 179 +- deps/npm/man/man1/npm-docs.1 | 140 +- deps/npm/man/man1/npm-doctor.1 | 146 +- deps/npm/man/man1/npm-edit.1 | 53 +- deps/npm/man/man1/npm-exec.1 | 436 ++- deps/npm/man/man1/npm-explain.1 | 126 +- deps/npm/man/man1/npm-explore.1 | 53 +- deps/npm/man/man1/npm-find-dupes.1 | 268 +- deps/npm/man/man1/npm-fund.1 | 177 +- deps/npm/man/man1/npm-help-search.1 | 42 +- deps/npm/man/man1/npm-help.1 | 54 +- deps/npm/man/man1/npm-hook.1 | 91 +- deps/npm/man/man1/npm-init.1 | 374 +-- deps/npm/man/man1/npm-install-ci-test.1 | 353 +-- deps/npm/man/man1/npm-install-test.1 | 354 +-- deps/npm/man/man1/npm-install.1 | 968 +++---- deps/npm/man/man1/npm-link.1 | 435 ++- deps/npm/man/man1/npm-login.1 | 95 + deps/npm/man/man1/npm-logout.1 | 70 +- deps/npm/man/man1/npm-ls.1 | 357 +-- deps/npm/man/man1/npm-org.1 | 101 +- deps/npm/man/man1/npm-outdated.1 | 245 +- deps/npm/man/man1/npm-owner.1 | 142 +- deps/npm/man/man1/npm-pack.1 | 161 +- deps/npm/man/man1/npm-ping.1 | 44 +- deps/npm/man/man1/npm-pkg.1 | 320 +-- deps/npm/man/man1/npm-prefix.1 | 67 +- deps/npm/man/man1/npm-profile.1 | 178 +- deps/npm/man/man1/npm-prune.1 | 218 +- deps/npm/man/man1/npm-publish.1 | 288 +- deps/npm/man/man1/npm-query.1 | 201 +- deps/npm/man/man1/npm-rebuild.1 | 192 +- deps/npm/man/man1/npm-repo.1 | 129 +- deps/npm/man/man1/npm-restart.1 | 96 +- deps/npm/man/man1/npm-root.1 | 59 +- deps/npm/man/man1/npm-run-script.1 | 268 +- deps/npm/man/man1/npm-search.1 | 189 +- deps/npm/man/man1/npm-set-script.1 | 116 - deps/npm/man/man1/npm-shrinkwrap.1 | 44 +- deps/npm/man/man1/npm-star.1 | 84 +- deps/npm/man/man1/npm-stars.1 | 47 +- deps/npm/man/man1/npm-start.1 | 81 +- deps/npm/man/man1/npm-stop.1 | 74 +- deps/npm/man/man1/npm-team.1 | 166 +- deps/npm/man/man1/npm-test.1 | 71 +- deps/npm/man/man1/npm-token.1 | 169 +- deps/npm/man/man1/npm-uninstall.1 | 164 +- deps/npm/man/man1/npm-unpublish.1 | 190 +- deps/npm/man/man1/npm-unstar.1 | 78 +- deps/npm/man/man1/npm-update.1 | 469 ++- deps/npm/man/man1/npm-version.1 | 274 +- deps/npm/man/man1/npm-view.1 | 196 +- deps/npm/man/man1/npm-whoami.1 | 44 +- deps/npm/man/man1/npm.1 | 215 +- deps/npm/man/man1/npx.1 | 206 +- deps/npm/man/man5/folders.5 | 306 +- deps/npm/man/man5/install.5 | 119 +- deps/npm/man/man5/npm-global.5 | 306 +- deps/npm/man/man5/npm-json.5 | 1082 +++---- deps/npm/man/man5/npm-shrinkwrap-json.5 | 42 +- deps/npm/man/man5/npmrc.5 | 147 +- deps/npm/man/man5/package-json.5 | 1082 +++---- deps/npm/man/man5/package-lock-json.5 | 337 +-- deps/npm/man/man7/config.7 | 2549 ++++++++--------- deps/npm/man/man7/dependency-selectors.7 | 388 +-- deps/npm/man/man7/developers.7 | 335 +-- deps/npm/man/man7/logging.7 | 150 +- deps/npm/man/man7/orgs.7 | 107 +- deps/npm/man/man7/package-spec.7 | 191 +- deps/npm/man/man7/registry.7 | 91 +- deps/npm/man/man7/removal.7 | 51 +- deps/npm/man/man7/scope.7 | 142 +- deps/npm/man/man7/scripts.7 | 586 ++-- deps/npm/man/man7/workspaces.7 | 214 +- .../@npmcli/arborist/bin/lib/logging.js | 3 +- .../@npmcli/arborist/lib/add-rm-pkg-deps.js | 4 +- .../arborist/lib/arborist/build-ideal-tree.js | 45 +- .../@npmcli/arborist/lib/arborist/index.js | 1 + .../arborist/lib/arborist/load-actual.js | 436 ++- .../@npmcli/arborist/lib/arborist/rebuild.js | 1 - .../@npmcli/arborist/lib/arborist/reify.js | 50 +- .../arborist/lib/consistent-resolve.js | 28 +- .../@npmcli/arborist/lib/dep-valid.js | 4 +- .../node_modules/@npmcli/arborist/lib/edge.js | 2 +- .../node_modules/@npmcli/arborist/lib/link.js | 22 - .../node_modules/@npmcli/arborist/lib/node.js | 7 +- .../@npmcli/arborist/lib/override-set.js | 11 +- .../@npmcli/arborist/lib/place-dep.js | 228 +- .../arborist/lib/query-selector-all.js | 329 ++- .../@npmcli/arborist/lib/realpath.js | 5 +- .../@npmcli/arborist/lib/shrinkwrap.js | 75 +- .../@npmcli/arborist/lib/yarn-lock.js | 54 +- .../@npmcli/arborist/package.json | 62 +- .../node_modules/@npmcli/ci-detect/LICENSE | 15 - .../@npmcli/ci-detect/lib/index.js | 51 - .../@npmcli/ci-detect/package.json | 41 - .../npm/node_modules/@npmcli/config/README.md | 260 ++ .../node_modules/@npmcli/config/lib/errors.js | 22 + .../node_modules/@npmcli/config/lib/index.js | 230 +- .../node_modules/@npmcli/config/package.json | 35 +- .../@npmcli/disparity-colors/package.json | 17 +- .../@npmcli/fs/lib/{ => cp}/errors.js | 0 .../node_modules/@npmcli/fs/lib/cp/index.js | 2 +- .../@npmcli/fs/lib/cp/polyfill.js | 4 +- deps/npm/node_modules/@npmcli/fs/lib/index.js | 21 +- .../node_modules/@npmcli/fs/lib/move-file.js | 78 + .../@npmcli/fs/lib/readdir-scoped.js | 20 + .../@npmcli/fs/lib/with-temp-dir.js | 10 +- deps/npm/node_modules/@npmcli/fs/package.json | 20 +- .../npm/node_modules/@npmcli/git/package.json | 29 +- .../{ => lib}/index.js | 85 +- .../node_modules/npm-bundled/index.js | 251 -- .../node_modules/npm-bundled/package.json | 30 - .../installed-package-contents/package.json | 49 +- .../@npmcli/map-workspaces/package.json | 19 +- .../@npmcli/metavuln-calculator/package.json | 23 +- .../@npmcli/node-gyp/package.json | 17 +- .../@npmcli/package-json/package.json | 19 +- .../lib/escape.js | 0 .../@npmcli/promise-spawn/lib/index.js | 170 +- .../@npmcli/promise-spawn/package.json | 22 +- .../node_modules/@npmcli/query/lib/index.js | 46 +- .../node_modules/@npmcli/query/package.json | 21 +- .../@npmcli/run-script/lib/make-spawn-args.js | 51 +- .../@npmcli/run-script/lib/run-script-pkg.js | 2 +- .../@npmcli/run-script/package.json | 27 +- deps/npm/node_modules/abbrev/lib/index.js | 50 + deps/npm/node_modules/abbrev/package.json | 44 +- .../npm/node_modules/abort-controller/LICENSE | 21 + .../node_modules/abort-controller/browser.js | 13 + .../node_modules/abort-controller/browser.mjs | 11 + .../dist/abort-controller.d.ts | 43 + .../abort-controller/dist/abort-controller.js | 127 + .../dist/abort-controller.js.map | 1 + .../dist/abort-controller.mjs | 118 + .../dist/abort-controller.mjs.map | 1 + .../dist/abort-controller.umd.js | 5 + .../dist/abort-controller.umd.js.map | 1 + .../abort-controller/package.json | 97 + .../node_modules/abort-controller/polyfill.js | 21 + .../abort-controller/polyfill.mjs | 19 + .../node_modules/agentkeepalive/History.md | 248 -- .../node_modules/buffer/AUTHORS.md | 73 + .../node_modules/buffer}/LICENSE | 18 +- .../node_modules/buffer/index.d.ts | 194 ++ .../node_modules/buffer/index.js | 2106 ++++++++++++++ .../node_modules/buffer/package.json | 93 + .../node_modules/readable-stream/LICENSE | 47 + .../readable-stream/lib/_stream_duplex.js | 3 + .../lib/_stream_passthrough.js | 3 + .../readable-stream/lib/_stream_readable.js | 3 + .../readable-stream/lib/_stream_transform.js | 3 + .../readable-stream/lib/_stream_writable.js | 3 + .../lib/internal/streams/add-abort-signal.js | 52 + .../lib/internal/streams/buffer_list.js | 180 ++ .../lib/internal/streams/compose.js | 161 ++ .../lib/internal/streams/destroy.js | 337 +++ .../lib/internal/streams/duplex.js | 157 + .../lib/internal/streams/duplexify.js | 425 +++ .../lib/internal/streams/end-of-stream.js | 262 ++ .../lib/internal/streams/from.js | 115 + .../lib/internal/streams/lazy_transform.js | 61 + .../lib/internal/streams/legacy.js | 100 + .../lib/internal/streams/operators.js | 534 ++++ .../lib/internal/streams/passthrough.js | 42 + .../lib/internal/streams/pipeline.js | 434 +++ .../lib/internal/streams/readable.js | 1339 +++++++++ .../lib/internal/streams/state.js | 33 + .../lib/internal/streams/transform.js | 196 ++ .../lib/internal/streams/utils.js | 328 +++ .../lib/internal/streams/writable.js | 893 ++++++ .../lib/internal/validators.js | 417 +++ .../readable-stream/lib/ours/browser.js | 36 + .../readable-stream/lib/ours/errors.js | 391 +++ .../readable-stream/lib/ours/index.js | 67 + .../readable-stream/lib/ours/primordials.js | 130 + .../readable-stream/lib/ours/util.js | 150 + .../readable-stream/lib/stream.js | 162 ++ .../readable-stream/lib/stream/promises.js | 43 + .../node_modules/readable-stream/package.json | 84 + .../are-we-there-yet/package.json | 20 +- deps/npm/node_modules/asap/CHANGES.md | 70 - deps/npm/node_modules/asap/asap.js | 65 - deps/npm/node_modules/asap/browser-asap.js | 66 - deps/npm/node_modules/asap/browser-raw.js | 223 -- deps/npm/node_modules/asap/package.json | 58 - deps/npm/node_modules/asap/raw.js | 101 - .../{asap/LICENSE.md => base64-js/LICENSE} | 18 +- .../node_modules/base64-js/base64js.min.js | 1 + deps/npm/node_modules/base64-js/index.d.ts | 3 + deps/npm/node_modules/base64-js/index.js | 150 + deps/npm/node_modules/base64-js/package.json | 47 + .../node_modules/bin-links/lib/check-bin.js | 4 +- .../npm/node_modules/bin-links/lib/fix-bin.js | 20 +- .../node_modules/bin-links/lib/link-gently.js | 24 +- .../node_modules/bin-links/lib/shim-bin.js | 4 +- .../npm-normalize-package-bin/LICENSE | 15 - deps/npm/node_modules/bin-links/package.json | 30 +- .../node_modules/cacache/lib/content/read.js | 77 +- .../node_modules/cacache/lib/content/rm.js | 6 +- .../node_modules/cacache/lib/content/write.js | 14 +- .../node_modules/cacache/lib/entry-index.js | 118 +- deps/npm/node_modules/cacache/lib/get.js | 55 - deps/npm/node_modules/cacache/lib/index.js | 3 - deps/npm/node_modules/cacache/lib/rm.js | 10 +- .../npm/node_modules/cacache/lib/util/glob.js | 7 + .../cacache/lib/util/move-file.js | 4 +- deps/npm/node_modules/cacache/lib/util/tmp.js | 13 +- deps/npm/node_modules/cacache/lib/verify.js | 49 +- deps/npm/node_modules/cacache/package.json | 32 +- deps/npm/node_modules/ci-info/LICENSE | 21 + deps/npm/node_modules/ci-info/index.d.ts | 70 + deps/npm/node_modules/ci-info/index.js | 89 + deps/npm/node_modules/ci-info/package.json | 37 + deps/npm/node_modules/ci-info/vendors.json | 248 ++ .../cli-columns/{LICENSE => license} | 0 deps/npm/node_modules/cli-table3/package.json | 2 +- deps/npm/node_modules/cli-table3/src/cell.js | 7 +- deps/npm/node_modules/cmd-shim/lib/index.js | 18 +- deps/npm/node_modules/cmd-shim/package.json | 22 +- deps/npm/node_modules/debuglog/debuglog.js | 22 - deps/npm/node_modules/debuglog/package.json | 21 - deps/npm/node_modules/dezalgo/dezalgo.js | 22 - deps/npm/node_modules/dezalgo/package.json | 46 - .../node_modules/event-target-shim/LICENSE | 21 + .../dist/event-target-shim.js | 871 ++++++ .../dist/event-target-shim.js.map | 1 + .../dist/event-target-shim.mjs | 862 ++++++ .../dist/event-target-shim.mjs.map | 1 + .../dist/event-target-shim.umd.js | 6 + .../dist/event-target-shim.umd.js.map | 1 + .../node_modules/event-target-shim/index.d.ts | 399 +++ .../event-target-shim/package.json | 82 + deps/npm/node_modules/events/.airtap.yml | 15 + deps/npm/node_modules/events/History.md | 118 + deps/npm/node_modules/events/LICENSE | 22 + deps/npm/node_modules/events/events.js | 497 ++++ deps/npm/node_modules/events/package.json | 37 + deps/npm/node_modules/events/security.md | 10 + .../events/tests/add-listeners.js | 111 + .../events/tests/check-listener-leaks.js | 101 + deps/npm/node_modules/events/tests/common.js | 104 + deps/npm/node_modules/events/tests/errors.js | 13 + .../node_modules/events/tests/events-list.js | 28 + .../node_modules/events/tests/events-once.js | 234 ++ deps/npm/node_modules/events/tests/index.js | 64 + .../events/tests/legacy-compat.js | 16 + .../events/tests/listener-count.js | 37 + .../events/tests/listeners-side-effects.js | 56 + .../node_modules/events/tests/listeners.js | 168 ++ .../events/tests/max-listeners.js | 47 + .../node_modules/events/tests/method-names.js | 35 + .../events/tests/modify-in-emit.js | 90 + .../npm/node_modules/events/tests/num-args.js | 60 + deps/npm/node_modules/events/tests/once.js | 83 + deps/npm/node_modules/events/tests/prepend.js | 31 + .../events/tests/remove-all-listeners.js | 133 + .../events/tests/remove-listeners.js | 212 ++ .../tests/set-max-listeners-side-effects.js | 31 + .../events/tests/special-event-names.js | 45 + .../npm/node_modules/events/tests/subclass.js | 66 + deps/npm/node_modules/events/tests/symbols.js | 25 + .../node_modules/fastest-levenshtein/bench.js | 96 + .../fastest-levenshtein/esm/mod.d.ts | 4 + .../fastest-levenshtein/esm/mod.d.ts.map | 1 + .../fastest-levenshtein/esm/mod.js | 138 + .../fastest-levenshtein/index.d.ts | 2 - .../node_modules/fastest-levenshtein/index.js | 147 - .../node_modules/fastest-levenshtein/mod.d.ts | 3 + .../node_modules/fastest-levenshtein/mod.js | 142 + .../fastest-levenshtein/package.json | 43 +- .../node_modules/fastest-levenshtein/test.js | 113 +- .../node_modules/fastest-levenshtein/test.ts | 67 + deps/npm/node_modules/gauge/package.json | 19 +- .../hosted-git-info/lib/from-url.js | 122 + .../hosted-git-info/lib/git-host-info.js | 192 -- .../hosted-git-info/lib/git-host.js | 114 - .../node_modules/hosted-git-info/lib/hosts.js | 228 ++ .../node_modules/hosted-git-info/lib/index.js | 299 +- .../node_modules/hosted-git-info/package.json | 16 +- deps/npm/node_modules/humanize-ms/History.md | 25 - deps/npm/node_modules/ieee754/LICENSE | 11 + deps/npm/node_modules/ieee754/index.d.ts | 10 + deps/npm/node_modules/ieee754/index.js | 85 + deps/npm/node_modules/ieee754/package.json | 52 + .../npm/node_modules/ignore-walk/package.json | 18 +- .../init-package-json/package.json | 27 +- .../{ => lib}/index.js | 18 +- .../package.json | 45 +- deps/npm/node_modules/libnpmaccess/README.md | 235 +- .../node_modules/libnpmaccess/lib/index.js | 254 +- .../node_modules/libnpmaccess/package.json | 16 +- .../node_modules/libnpmdiff/lib/tarball.js | 6 +- deps/npm/node_modules/libnpmdiff/package.json | 19 +- .../libnpmexec/lib/file-exists.js | 4 +- deps/npm/node_modules/libnpmexec/lib/index.js | 78 +- .../node_modules/libnpmexec/lib/run-script.js | 11 +- deps/npm/node_modules/libnpmexec/package.json | 33 +- deps/npm/node_modules/libnpmfund/package.json | 12 +- deps/npm/node_modules/libnpmhook/package.json | 12 +- deps/npm/node_modules/libnpmorg/package.json | 12 +- deps/npm/node_modules/libnpmpack/lib/index.js | 12 +- deps/npm/node_modules/libnpmpack/package.json | 18 +- deps/npm/node_modules/libnpmpublish/README.md | 4 +- .../node_modules/libnpmpublish/lib/publish.js | 5 +- .../node_modules/libnpmpublish/package.json | 20 +- .../node_modules/libnpmsearch/package.json | 12 +- deps/npm/node_modules/libnpmteam/package.json | 12 +- .../node_modules/libnpmversion/package.json | 18 +- .../make-fetch-happen/package.json | 25 +- .../node_modules/minipass-fetch/lib/body.js | 2 +- .../node_modules/minipass-fetch/package.json | 20 +- .../node_modules/mkdirp-infer-owner/index.js | 26 - .../mkdirp-infer-owner/package.json | 36 - deps/npm/node_modules/mkdirp/CHANGELOG.md | 15 - deps/npm/node_modules/node-gyp/CHANGELOG.md | 32 + deps/npm/node_modules/node-gyp/addon.gypi | 43 +- .../gyp/.github/workflows/Python_tests.yml | 18 +- .../gyp/.github/workflows/node-gyp.yml | 21 +- .../gyp/.github/workflows/nodejs-windows.yml | 13 +- .../gyp/.github/workflows/release-please.yml | 4 +- .../node_modules/node-gyp/gyp/CHANGELOG.md | 56 + .../node-gyp/gyp/pylib/gyp/__init__.py | 24 + .../node-gyp/gyp/pylib/gyp/common.py | 13 +- .../node-gyp/gyp/pylib/gyp/flock_tool.py | 2 +- .../node-gyp/gyp/pylib/gyp/generator/make.py | 261 +- .../node-gyp/gyp/pylib/gyp/generator/msvs.py | 11 +- .../node-gyp/gyp/pylib/gyp/generator/ninja.py | 8 +- .../node-gyp/gyp/pylib/gyp/input.py | 21 +- .../node-gyp/gyp/pylib/gyp/xcodeproj_file.py | 2 +- .../node_modules/node-gyp/gyp/pyproject.toml | 41 + .../node-gyp/gyp/requirements_dev.txt | 2 - deps/npm/node_modules/node-gyp/gyp/setup.py | 42 - .../npm/node_modules/node-gyp/gyp/test_gyp.py | 1 + .../node-gyp/gyp/tools/pretty_gyp.py | 2 +- deps/npm/node_modules/node-gyp/lib/build.js | 2 + .../node_modules/node-gyp/lib/configure.js | 49 +- .../node-gyp/lib/find-visualstudio.js | 5 + .../node_modules/@npmcli/fs/LICENSE.md | 20 + .../@npmcli/fs/lib/common/get-options.js | 20 + .../@npmcli/fs/lib/common/node.js | 9 + .../@npmcli/fs/lib/common/owner-sync.js | 0 .../@npmcli/fs/lib/common/owner.js | 0 .../node_modules}/@npmcli/fs/lib/copy-file.js | 0 .../node_modules/@npmcli/fs/lib/cp/LICENSE | 15 + .../node_modules/@npmcli/fs/lib/cp/index.js | 22 + .../@npmcli/fs/lib/cp/polyfill.js | 428 +++ .../node_modules/@npmcli/fs/lib/errors.js | 129 + .../node_modules}/@npmcli/fs/lib/fs.js | 0 .../node_modules/@npmcli/fs/lib/index.js | 12 + .../node_modules}/@npmcli/fs/lib/mkdir.js | 0 .../node_modules}/@npmcli/fs/lib/mkdtemp.js | 0 .../node_modules}/@npmcli/fs/lib/rm/index.js | 0 .../@npmcli/fs/lib/rm/polyfill.js | 0 .../@npmcli/fs/lib/with-owner-sync.js | 0 .../@npmcli/fs/lib/with-owner.js | 0 .../@npmcli/fs/lib/with-temp-dir.js | 41 + .../@npmcli/fs/lib/write-file.js | 0 .../node_modules/@npmcli/fs}/package.json | 53 +- .../@npmcli/move-file/LICENSE.md | 0 .../@npmcli/move-file/lib/index.js | 0 .../@npmcli/move-file/package.json | 0 .../node-gyp/node_modules/abbrev/LICENSE | 46 + .../node_modules}/abbrev/abbrev.js | 0 .../node-gyp/node_modules/abbrev/package.json | 21 + .../node_modules/are-we-there-yet/LICENSE.md | 18 + .../are-we-there-yet/lib/index.js | 4 + .../are-we-there-yet/lib/tracker-base.js | 11 + .../are-we-there-yet/lib/tracker-group.js | 116 + .../are-we-there-yet/lib/tracker-stream.js | 36 + .../are-we-there-yet/lib/tracker.js | 32 + .../are-we-there-yet/package.json | 56 + .../node-gyp/node_modules/cacache/LICENSE.md | 16 + .../node_modules/cacache/lib/content/path.js | 29 + .../node_modules/cacache/lib/content/read.js | 241 ++ .../node_modules/cacache/lib/content/rm.js | 20 + .../node_modules/cacache/lib/content/write.js | 189 ++ .../node_modules/cacache/lib/entry-index.js | 404 +++ .../node-gyp/node_modules/cacache/lib/get.js | 225 ++ .../node_modules/cacache/lib/index.js | 45 + .../node_modules/cacache/lib/memoization.js | 72 + .../node-gyp/node_modules/cacache/lib/put.js | 80 + .../node-gyp/node_modules/cacache/lib/rm.js | 31 + .../cacache/lib/util/fix-owner.js | 0 .../cacache/lib/util/hash-to-segments.js | 7 + .../cacache/lib/util/move-file.js | 56 + .../node_modules/cacache/lib/util/tmp.js | 33 + .../node_modules/cacache/lib/verify.js | 257 ++ .../node_modules/brace-expansion/LICENSE | 21 + .../node_modules/brace-expansion/index.js | 202 ++ .../node_modules/brace-expansion/package.json | 46 + .../cacache/node_modules/glob}/LICENSE | 2 +- .../cacache/node_modules/glob/common.js | 240 ++ .../cacache/node_modules/glob/glob.js | 790 +++++ .../cacache/node_modules/glob/package.json | 55 + .../cacache/node_modules/glob/sync.js | 486 ++++ .../cacache/node_modules/minimatch}/LICENSE | 2 +- .../node_modules/minimatch/lib/path.js | 4 + .../node_modules/minimatch/minimatch.js | 906 ++++++ .../node_modules/minimatch/package.json | 32 + .../node_modules/cacache/package.json | 84 + .../node-gyp/node_modules/gauge/LICENSE.md | 20 + .../node_modules/gauge/lib/base-theme.js | 18 + .../node-gyp/node_modules/gauge/lib/error.js | 24 + .../node_modules/gauge/lib/has-color.js | 4 + .../node-gyp/node_modules/gauge/lib/index.js | 289 ++ .../node_modules/gauge/lib/plumbing.js | 50 + .../node_modules/gauge/lib/process.js | 3 + .../node_modules/gauge/lib/progress-bar.js | 41 + .../node_modules/gauge/lib/render-template.js | 222 ++ .../node_modules/gauge/lib/set-immediate.js | 7 + .../node_modules/gauge/lib/set-interval.js | 3 + .../node-gyp/node_modules/gauge/lib/spin.js | 5 + .../node_modules/gauge/lib/template-item.js | 87 + .../node_modules/gauge/lib/theme-set.js | 122 + .../node-gyp/node_modules/gauge/lib/themes.js | 56 + .../node_modules/gauge/lib/wide-truncate.js | 31 + .../node-gyp/node_modules/gauge/package.json | 66 + .../node_modules/make-fetch-happen/LICENSE | 16 + .../make-fetch-happen/lib/agent.js | 214 ++ .../make-fetch-happen/lib/cache/entry.js | 444 +++ .../make-fetch-happen/lib/cache/errors.js | 11 + .../make-fetch-happen/lib/cache/index.js | 49 + .../make-fetch-happen/lib/cache/key.js | 17 + .../make-fetch-happen/lib/cache/policy.js | 161 ++ .../node_modules/make-fetch-happen/lib/dns.js | 49 + .../make-fetch-happen/lib/fetch.js | 118 + .../make-fetch-happen/lib/index.js | 41 + .../make-fetch-happen/lib/options.js | 52 + .../make-fetch-happen/lib/pipeline.js | 41 + .../make-fetch-happen/lib/remote.js | 121 + .../make-fetch-happen/package.json | 79 + .../node_modules/minipass-fetch/LICENSE} | 35 +- .../minipass-fetch/lib/abort-error.js | 17 + .../node_modules/minipass-fetch/lib/blob.js | 97 + .../node_modules/minipass-fetch/lib/body.js | 350 +++ .../minipass-fetch/lib/fetch-error.js | 32 + .../minipass-fetch/lib/headers.js | 267 ++ .../node_modules/minipass-fetch/lib/index.js | 365 +++ .../minipass-fetch/lib/request.js | 281 ++ .../minipass-fetch/lib/response.js | 90 + .../node_modules/minipass-fetch/package.json | 67 + .../node-gyp/node_modules/nopt/CHANGELOG.md | 58 - .../node-gyp/node_modules/nopt/bin/nopt.js | 80 +- .../node-gyp/node_modules/nopt/lib/nopt.js | 370 ++- .../node-gyp/node_modules/nopt/package.json | 35 +- .../node-gyp/node_modules/npmlog/LICENSE.md | 20 + .../node-gyp/node_modules/npmlog/lib/log.js | 404 +++ .../node_modules/npmlog}/package.json | 54 +- .../node-gyp/node_modules/ssri/LICENSE.md | 16 + .../node-gyp/node_modules/ssri/lib/index.js | 524 ++++ .../node-gyp/node_modules/ssri/package.json | 63 + .../node_modules/unique-filename/LICENSE | 5 + .../node_modules/unique-filename/lib/index.js | 7 + .../unique-filename}/package.json | 33 +- .../node_modules/unique-slug}/LICENSE | 2 +- .../node_modules/unique-slug/lib/index.js | 11 + .../node_modules/unique-slug}/package.json | 29 +- .../node_modules/which}/LICENSE | 0 .../node-gyp/node_modules/which/README.md | 54 + .../node_modules}/which/bin/node-which | 0 .../node-gyp/node_modules/which/package.json | 43 + .../node_modules}/which/which.js | 0 deps/npm/node_modules/node-gyp/package.json | 4 +- .../node-gyp/test/test-find-node-directory.js | 2 +- deps/npm/node_modules/node-gyp/update-gyp.py | 20 +- deps/npm/node_modules/nopt/package.json | 21 +- .../normalize-package-data/package.json | 19 +- .../npm-audit-report/package.json | 20 +- .../npm-normalize-package-bin/LICENSE | 15 - .../npm-normalize-package-bin/lib/index.js | 64 - .../npm/node_modules/npm-bundled/package.json | 22 +- .../npm-install-checks/package.json | 18 +- .../npm-normalize-package-bin/index.js | 60 - .../npm-normalize-package-bin/lib/index.js | 0 .../npm-normalize-package-bin/package.json | 42 +- .../npm-normalize-package-bin/test/array.js | 37 - .../npm-normalize-package-bin/test/nobin.js | 35 - .../npm-normalize-package-bin/test/object.js | 141 - .../npm-normalize-package-bin/test/string.js | 37 - .../node_modules/npm-package-arg/lib/npa.js | 13 +- .../node_modules/npm-package-arg/package.json | 25 +- deps/npm/node_modules/npm-packlist/README.md | 146 - .../node_modules/npm-packlist/bin/index.js | 39 - .../node_modules/npm-packlist/lib/index.js | 770 +++-- .../npm-normalize-package-bin/lib/index.js | 64 - .../node_modules/npm-packlist/package.json | 31 +- .../npm-normalize-package-bin/LICENSE | 15 - .../npm-normalize-package-bin/lib/index.js | 64 - .../npm-pick-manifest/package.json | 25 +- .../npm/node_modules/npm-profile/package.json | 23 +- .../npm-registry-fetch/package.json | 31 +- deps/npm/node_modules/npmlog/lib/log.js | 6 +- deps/npm/node_modules/npmlog/package.json | 23 +- deps/npm/node_modules/opener/README.md | 54 - .../npm/node_modules/opener/bin/opener-bin.js | 10 - deps/npm/node_modules/opener/lib/opener.js | 66 - deps/npm/node_modules/opener/package.json | 20 - deps/npm/node_modules/pacote/README.md | 3 +- deps/npm/node_modules/pacote/lib/dir.js | 16 +- deps/npm/node_modules/pacote/lib/fetcher.js | 62 +- deps/npm/node_modules/pacote/lib/git.js | 6 + deps/npm/node_modules/pacote/lib/registry.js | 8 - deps/npm/node_modules/pacote/lib/util/npm.js | 2 +- deps/npm/node_modules/pacote/package.json | 52 +- .../parse-conflict-json/package.json | 20 +- deps/npm/node_modules/proc-log/package.json | 17 +- deps/npm/node_modules/process/LICENSE | 22 + deps/npm/node_modules/process/browser.js | 184 ++ deps/npm/node_modules/process/index.js | 2 + deps/npm/node_modules/process/package.json | 27 + deps/npm/node_modules/process/test.js | 199 ++ .../node_modules/read-cmd-shim/lib/index.js | 6 +- .../node_modules/read-cmd-shim/package.json | 19 +- .../read-package-json-fast/{ => lib}/index.js | 51 +- .../read-package-json-fast/package.json | 43 +- .../npm-normalize-package-bin/LICENSE | 15 - .../npm-normalize-package-bin/lib/index.js | 64 - .../npm-normalize-package-bin/package.json | 41 - .../read-package-json/package.json | 25 +- .../readdir-scoped-modules/LICENSE | 15 - .../readdir-scoped-modules/package.json | 34 - .../readdir-scoped-modules/readdir.js | 121 - deps/npm/node_modules/rimraf/CHANGELOG.md | 65 - deps/npm/node_modules/semver/classes/range.js | 3 + deps/npm/node_modules/semver/index.js | 122 +- deps/npm/node_modules/semver/package.json | 31 +- deps/npm/node_modules/ssri/lib/index.js | 3 + deps/npm/node_modules/ssri/package.json | 17 +- deps/npm/node_modules/tar/lib/create.js | 25 +- deps/npm/node_modules/tar/lib/extract.js | 26 +- deps/npm/node_modules/tar/lib/header.js | 84 +- .../npm/node_modules/tar/lib/large-numbers.js | 39 +- deps/npm/node_modules/tar/lib/list.js | 33 +- deps/npm/node_modules/tar/lib/mkdir.js | 64 +- deps/npm/node_modules/tar/lib/mode-fix.js | 12 +- .../node_modules/tar/lib/normalize-unicode.js | 5 +- deps/npm/node_modules/tar/lib/pack.js | 85 +- deps/npm/node_modules/tar/lib/parse.js | 120 +- .../node_modules/tar/lib/path-reservations.js | 44 +- deps/npm/node_modules/tar/lib/pax.js | 23 +- deps/npm/node_modules/tar/lib/read-entry.js | 21 +- deps/npm/node_modules/tar/lib/replace.js | 77 +- .../tar/lib/strip-absolute-path.js | 2 +- deps/npm/node_modules/tar/lib/unpack.js | 117 +- deps/npm/node_modules/tar/lib/update.js | 12 +- deps/npm/node_modules/tar/lib/warn-mixin.js | 11 +- deps/npm/node_modules/tar/lib/write-entry.js | 67 +- deps/npm/node_modules/tar/package.json | 68 +- deps/npm/node_modules/treeverse/package.json | 18 +- .../node_modules/unique-filename/package.json | 21 +- .../npm/node_modules/unique-slug/package.json | 17 +- .../validate-npm-package-name/package.json | 17 +- deps/npm/node_modules/which/CHANGELOG.md | 166 -- deps/npm/node_modules/which/README.md | 22 +- deps/npm/node_modules/which/bin/which.js | 52 + deps/npm/node_modules/which/lib/index.js | 110 + deps/npm/node_modules/which/package.json | 45 +- .../write-file-atomic/package.json | 17 +- deps/npm/package.json | 135 +- .../test/lib/commands/adduser.js.test.cjs | 17 - .../test/lib/commands/completion.js.test.cjs | 19 +- .../test/lib/commands/config.js.test.cjs | 21 +- .../test/lib/commands/dist-tag.js.test.cjs | 2 +- .../test/lib/commands/init.js.test.cjs | 7 +- .../test/lib/commands/link.js.test.cjs | 5 + .../test/lib/commands/pack.js.test.cjs | 30 + .../test/lib/commands/publish.js.test.cjs | 100 +- .../test/lib/commands/query.js.test.cjs | 33 +- .../test/lib/commands/shrinkwrap.js.test.cjs | 12 +- .../test/lib/commands/version.js.test.cjs | 20 +- .../tap-snapshots/test/lib/docs.js.test.cjs | 441 ++- .../tap-snapshots/test/lib/npm.js.test.cjs | 1039 ------- .../test/lib/utils/error-message.js.test.cjs | 22 +- .../test/lib/utils/exit-handler.js.test.cjs | 58 +- .../lib/utils/explain-eresolve.js.test.cjs | 136 +- .../test/lib/utils/log-file.js.test.cjs | 2 +- .../test/lib/utils/tar.js.test.cjs | 46 +- deps/npm/test/bin/windows-shims.js | 2 - deps/npm/test/fixtures/mock-logs.js | 58 +- deps/npm/test/fixtures/mock-npm.js | 14 +- deps/npm/test/fixtures/mock-registry.js | 285 -- deps/npm/test/fixtures/sandbox.js | 23 +- deps/npm/test/index.js | 12 +- deps/npm/test/lib/arborist-cmd.js | 16 +- deps/npm/test/lib/auth/legacy.js | 429 --- deps/npm/test/lib/auth/oauth.js | 28 - deps/npm/test/lib/auth/saml.js | 28 - deps/npm/test/lib/auth/sso.js | 236 -- deps/npm/test/lib/cli.js | 34 +- deps/npm/test/lib/commands/access.js | 661 ++--- deps/npm/test/lib/commands/adduser.js | 313 +- deps/npm/test/lib/commands/audit.js | 33 +- deps/npm/test/lib/commands/bin.js | 32 - deps/npm/test/lib/commands/birthday.js | 15 - deps/npm/test/lib/commands/bugs.js | 2 +- deps/npm/test/lib/commands/cache.js | 4 +- deps/npm/test/lib/commands/ci.js | 32 +- deps/npm/test/lib/commands/config.js | 277 +- deps/npm/test/lib/commands/dedupe.js | 2 +- deps/npm/test/lib/commands/deprecate.js | 11 +- deps/npm/test/lib/commands/diff.js | 28 +- deps/npm/test/lib/commands/dist-tag.js | 2 +- deps/npm/test/lib/commands/edit.js | 43 +- deps/npm/test/lib/commands/exec.js | 4 +- deps/npm/test/lib/commands/explain.js | 9 + deps/npm/test/lib/commands/explore.js | 3 + deps/npm/test/lib/commands/find-dupes.js | 2 +- deps/npm/test/lib/commands/help.js | 1 + deps/npm/test/lib/commands/hook.js | 56 +- deps/npm/test/lib/commands/init.js | 10 +- deps/npm/test/lib/commands/install-ci-test.js | 9 + deps/npm/test/lib/commands/install-test.js | 9 + deps/npm/test/lib/commands/install.js | 536 ++-- deps/npm/test/lib/commands/link.js | 36 +- deps/npm/test/lib/commands/login.js | 143 + deps/npm/test/lib/commands/ls.js | 1 + deps/npm/test/lib/commands/owner.js | 2 +- deps/npm/test/lib/commands/pack.js | 18 + deps/npm/test/lib/commands/ping.js | 2 +- deps/npm/test/lib/commands/publish.js | 107 +- deps/npm/test/lib/commands/repo.js | 2 +- deps/npm/test/lib/commands/restart.js | 18 +- deps/npm/test/lib/commands/run-script.js | 9 - deps/npm/test/lib/commands/search.js | 2 +- deps/npm/test/lib/commands/set-script.js | 188 -- deps/npm/test/lib/commands/set.js | 4 + deps/npm/test/lib/commands/shrinkwrap.js | 12 +- deps/npm/test/lib/commands/star.js | 2 +- deps/npm/test/lib/commands/stars.js | 2 +- deps/npm/test/lib/commands/start.js | 16 +- deps/npm/test/lib/commands/stop.js | 15 +- deps/npm/test/lib/commands/test.js | 15 +- deps/npm/test/lib/commands/token.js | 2 + deps/npm/test/lib/commands/unpublish.js | 45 +- deps/npm/test/lib/commands/unstar.js | 2 +- deps/npm/test/lib/commands/whoami.js | 27 +- deps/npm/test/lib/docs.js | 6 +- deps/npm/test/lib/lifecycle-cmd.js | 3 + deps/npm/test/lib/load-all-commands.js | 1 + deps/npm/test/lib/npm.js | 162 +- deps/npm/test/lib/utils/config/definitions.js | 325 ++- deps/npm/test/lib/utils/display.js | 2 +- deps/npm/test/lib/utils/error-message.js | 19 +- deps/npm/test/lib/utils/exit-handler.js | 181 +- deps/npm/test/lib/utils/explain-eresolve.js | 37 +- deps/npm/test/lib/utils/log-file.js | 14 +- deps/npm/test/lib/utils/open-url-prompt.js | 13 +- deps/npm/test/lib/utils/open-url.js | 13 +- deps/npm/test/lib/utils/tar.js | 41 +- deps/npm/test/lib/utils/timers.js | 12 +- deps/npm/test/lib/utils/update-notifier.js | 8 +- 848 files changed, 47132 insertions(+), 26227 deletions(-) create mode 100644 deps/npm/docs/README.md delete mode 100644 deps/npm/docs/content/commands/npm-bin.md create mode 100644 deps/npm/docs/content/commands/npm-login.md delete mode 100644 deps/npm/docs/content/commands/npm-set-script.md rename deps/npm/docs/output/commands/{npm-bin.html => npm-login.html} (57%) delete mode 100644 deps/npm/docs/output/commands/npm-set-script.html delete mode 100644 deps/npm/lib/auth/legacy.js delete mode 100644 deps/npm/lib/auth/oauth.js delete mode 100644 deps/npm/lib/auth/saml.js delete mode 100644 deps/npm/lib/auth/sso.js delete mode 100644 deps/npm/lib/commands/bin.js delete mode 100644 deps/npm/lib/commands/birthday.js create mode 100644 deps/npm/lib/commands/login.js delete mode 100644 deps/npm/lib/commands/set-script.js create mode 100644 deps/npm/lib/utils/auth.js delete mode 100644 deps/npm/man/man1/npm-bin.1 create mode 100644 deps/npm/man/man1/npm-login.1 delete mode 100644 deps/npm/man/man1/npm-set-script.1 delete mode 100644 deps/npm/node_modules/@npmcli/ci-detect/LICENSE delete mode 100644 deps/npm/node_modules/@npmcli/ci-detect/lib/index.js delete mode 100644 deps/npm/node_modules/@npmcli/ci-detect/package.json create mode 100644 deps/npm/node_modules/@npmcli/config/README.md create mode 100644 deps/npm/node_modules/@npmcli/config/lib/errors.js rename deps/npm/node_modules/@npmcli/fs/lib/{ => cp}/errors.js (100%) create mode 100644 deps/npm/node_modules/@npmcli/fs/lib/move-file.js create mode 100644 deps/npm/node_modules/@npmcli/fs/lib/readdir-scoped.js rename deps/npm/node_modules/@npmcli/installed-package-contents/{ => lib}/index.js (81%) delete mode 100644 deps/npm/node_modules/@npmcli/installed-package-contents/node_modules/npm-bundled/index.js delete mode 100644 deps/npm/node_modules/@npmcli/installed-package-contents/node_modules/npm-bundled/package.json rename deps/npm/node_modules/@npmcli/{run-script => promise-spawn}/lib/escape.js (100%) create mode 100644 deps/npm/node_modules/abbrev/lib/index.js create mode 100644 deps/npm/node_modules/abort-controller/LICENSE create mode 100644 deps/npm/node_modules/abort-controller/browser.js create mode 100644 deps/npm/node_modules/abort-controller/browser.mjs create mode 100644 deps/npm/node_modules/abort-controller/dist/abort-controller.d.ts create mode 100644 deps/npm/node_modules/abort-controller/dist/abort-controller.js create mode 100644 deps/npm/node_modules/abort-controller/dist/abort-controller.js.map create mode 100644 deps/npm/node_modules/abort-controller/dist/abort-controller.mjs create mode 100644 deps/npm/node_modules/abort-controller/dist/abort-controller.mjs.map create mode 100644 deps/npm/node_modules/abort-controller/dist/abort-controller.umd.js create mode 100644 deps/npm/node_modules/abort-controller/dist/abort-controller.umd.js.map create mode 100644 deps/npm/node_modules/abort-controller/package.json create mode 100644 deps/npm/node_modules/abort-controller/polyfill.js create mode 100644 deps/npm/node_modules/abort-controller/polyfill.mjs delete mode 100644 deps/npm/node_modules/agentkeepalive/History.md create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/buffer/AUTHORS.md rename deps/npm/node_modules/{debuglog => are-we-there-yet/node_modules/buffer}/LICENSE (62%) create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/buffer/index.d.ts create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/buffer/index.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/buffer/package.json create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/LICENSE create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_duplex.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_passthrough.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_readable.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_transform.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_writable.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/buffer_list.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/compose.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/destroy.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/duplex.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/duplexify.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/end-of-stream.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/from.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/lazy_transform.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/legacy.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/operators.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/passthrough.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/pipeline.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/readable.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/state.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/transform.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/utils.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/streams/writable.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/internal/validators.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/ours/browser.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/ours/errors.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/ours/index.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/ours/primordials.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/ours/util.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/stream.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/stream/promises.js create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/package.json delete mode 100644 deps/npm/node_modules/asap/CHANGES.md delete mode 100644 deps/npm/node_modules/asap/asap.js delete mode 100644 deps/npm/node_modules/asap/browser-asap.js delete mode 100644 deps/npm/node_modules/asap/browser-raw.js delete mode 100644 deps/npm/node_modules/asap/package.json delete mode 100644 deps/npm/node_modules/asap/raw.js rename deps/npm/node_modules/{asap/LICENSE.md => base64-js/LICENSE} (63%) create mode 100644 deps/npm/node_modules/base64-js/base64js.min.js create mode 100644 deps/npm/node_modules/base64-js/index.d.ts create mode 100644 deps/npm/node_modules/base64-js/index.js create mode 100644 deps/npm/node_modules/base64-js/package.json delete mode 100644 deps/npm/node_modules/bin-links/node_modules/npm-normalize-package-bin/LICENSE create mode 100644 deps/npm/node_modules/cacache/lib/util/glob.js create mode 100644 deps/npm/node_modules/ci-info/LICENSE create mode 100644 deps/npm/node_modules/ci-info/index.d.ts create mode 100644 deps/npm/node_modules/ci-info/index.js create mode 100644 deps/npm/node_modules/ci-info/package.json create mode 100644 deps/npm/node_modules/ci-info/vendors.json rename deps/npm/node_modules/cli-columns/{LICENSE => license} (100%) delete mode 100644 deps/npm/node_modules/debuglog/debuglog.js delete mode 100644 deps/npm/node_modules/debuglog/package.json delete mode 100644 deps/npm/node_modules/dezalgo/dezalgo.js delete mode 100644 deps/npm/node_modules/dezalgo/package.json create mode 100644 deps/npm/node_modules/event-target-shim/LICENSE create mode 100644 deps/npm/node_modules/event-target-shim/dist/event-target-shim.js create mode 100644 deps/npm/node_modules/event-target-shim/dist/event-target-shim.js.map create mode 100644 deps/npm/node_modules/event-target-shim/dist/event-target-shim.mjs create mode 100644 deps/npm/node_modules/event-target-shim/dist/event-target-shim.mjs.map create mode 100644 deps/npm/node_modules/event-target-shim/dist/event-target-shim.umd.js create mode 100644 deps/npm/node_modules/event-target-shim/dist/event-target-shim.umd.js.map create mode 100644 deps/npm/node_modules/event-target-shim/index.d.ts create mode 100644 deps/npm/node_modules/event-target-shim/package.json create mode 100644 deps/npm/node_modules/events/.airtap.yml create mode 100644 deps/npm/node_modules/events/History.md create mode 100644 deps/npm/node_modules/events/LICENSE create mode 100644 deps/npm/node_modules/events/events.js create mode 100644 deps/npm/node_modules/events/package.json create mode 100644 deps/npm/node_modules/events/security.md create mode 100644 deps/npm/node_modules/events/tests/add-listeners.js create mode 100644 deps/npm/node_modules/events/tests/check-listener-leaks.js create mode 100644 deps/npm/node_modules/events/tests/common.js create mode 100644 deps/npm/node_modules/events/tests/errors.js create mode 100644 deps/npm/node_modules/events/tests/events-list.js create mode 100644 deps/npm/node_modules/events/tests/events-once.js create mode 100644 deps/npm/node_modules/events/tests/index.js create mode 100644 deps/npm/node_modules/events/tests/legacy-compat.js create mode 100644 deps/npm/node_modules/events/tests/listener-count.js create mode 100644 deps/npm/node_modules/events/tests/listeners-side-effects.js create mode 100644 deps/npm/node_modules/events/tests/listeners.js create mode 100644 deps/npm/node_modules/events/tests/max-listeners.js create mode 100644 deps/npm/node_modules/events/tests/method-names.js create mode 100644 deps/npm/node_modules/events/tests/modify-in-emit.js create mode 100644 deps/npm/node_modules/events/tests/num-args.js create mode 100644 deps/npm/node_modules/events/tests/once.js create mode 100644 deps/npm/node_modules/events/tests/prepend.js create mode 100644 deps/npm/node_modules/events/tests/remove-all-listeners.js create mode 100644 deps/npm/node_modules/events/tests/remove-listeners.js create mode 100644 deps/npm/node_modules/events/tests/set-max-listeners-side-effects.js create mode 100644 deps/npm/node_modules/events/tests/special-event-names.js create mode 100644 deps/npm/node_modules/events/tests/subclass.js create mode 100644 deps/npm/node_modules/events/tests/symbols.js create mode 100644 deps/npm/node_modules/fastest-levenshtein/bench.js create mode 100644 deps/npm/node_modules/fastest-levenshtein/esm/mod.d.ts create mode 100644 deps/npm/node_modules/fastest-levenshtein/esm/mod.d.ts.map create mode 100644 deps/npm/node_modules/fastest-levenshtein/esm/mod.js delete mode 100644 deps/npm/node_modules/fastest-levenshtein/index.d.ts delete mode 100644 deps/npm/node_modules/fastest-levenshtein/index.js create mode 100644 deps/npm/node_modules/fastest-levenshtein/mod.d.ts create mode 100644 deps/npm/node_modules/fastest-levenshtein/mod.js create mode 100644 deps/npm/node_modules/fastest-levenshtein/test.ts create mode 100644 deps/npm/node_modules/hosted-git-info/lib/from-url.js delete mode 100644 deps/npm/node_modules/hosted-git-info/lib/git-host-info.js delete mode 100644 deps/npm/node_modules/hosted-git-info/lib/git-host.js create mode 100644 deps/npm/node_modules/hosted-git-info/lib/hosts.js delete mode 100644 deps/npm/node_modules/humanize-ms/History.md create mode 100644 deps/npm/node_modules/ieee754/LICENSE create mode 100644 deps/npm/node_modules/ieee754/index.d.ts create mode 100644 deps/npm/node_modules/ieee754/index.js create mode 100644 deps/npm/node_modules/ieee754/package.json rename deps/npm/node_modules/json-parse-even-better-errors/{ => lib}/index.js (94%) delete mode 100644 deps/npm/node_modules/mkdirp-infer-owner/index.js delete mode 100644 deps/npm/node_modules/mkdirp-infer-owner/package.json delete mode 100644 deps/npm/node_modules/mkdirp/CHANGELOG.md create mode 100644 deps/npm/node_modules/node-gyp/gyp/pyproject.toml delete mode 100644 deps/npm/node_modules/node-gyp/gyp/requirements_dev.txt delete mode 100644 deps/npm/node_modules/node-gyp/gyp/setup.py create mode 100644 deps/npm/node_modules/node-gyp/node_modules/@npmcli/fs/LICENSE.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/@npmcli/fs/lib/common/get-options.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/@npmcli/fs/lib/common/node.js rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/fs/lib/common/owner-sync.js (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/fs/lib/common/owner.js (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/fs/lib/copy-file.js (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/@npmcli/fs/lib/cp/LICENSE create mode 100644 deps/npm/node_modules/node-gyp/node_modules/@npmcli/fs/lib/cp/index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/@npmcli/fs/lib/cp/polyfill.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/@npmcli/fs/lib/errors.js rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/fs/lib/fs.js (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/@npmcli/fs/lib/index.js rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/fs/lib/mkdir.js (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/fs/lib/mkdtemp.js (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/fs/lib/rm/index.js (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/fs/lib/rm/polyfill.js (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/fs/lib/with-owner-sync.js (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/fs/lib/with-owner.js (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/@npmcli/fs/lib/with-temp-dir.js rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/fs/lib/write-file.js (100%) rename deps/npm/node_modules/{npm-bundled/node_modules/npm-normalize-package-bin => node-gyp/node_modules/@npmcli/fs}/package.json (60%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/move-file/LICENSE.md (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/move-file/lib/index.js (100%) rename deps/npm/node_modules/{ => node-gyp/node_modules}/@npmcli/move-file/package.json (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/abbrev/LICENSE rename deps/npm/node_modules/{ => node-gyp/node_modules}/abbrev/abbrev.js (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/abbrev/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/are-we-there-yet/LICENSE.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/are-we-there-yet/lib/index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/are-we-there-yet/lib/tracker-base.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/are-we-there-yet/lib/tracker-group.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/are-we-there-yet/lib/tracker-stream.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/are-we-there-yet/lib/tracker.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/are-we-there-yet/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/LICENSE.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/content/path.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/content/read.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/content/rm.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/content/write.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/entry-index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/get.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/memoization.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/put.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/rm.js rename deps/npm/node_modules/{ => node-gyp/node_modules}/cacache/lib/util/fix-owner.js (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/util/hash-to-segments.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/util/move-file.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/util/tmp.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/lib/verify.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/node_modules/brace-expansion/LICENSE create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/node_modules/brace-expansion/index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/node_modules/brace-expansion/package.json rename deps/npm/node_modules/{mkdirp-infer-owner => node-gyp/node_modules/cacache/node_modules/glob}/LICENSE (92%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/node_modules/glob/common.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/node_modules/glob/glob.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/node_modules/glob/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/node_modules/glob/sync.js rename deps/npm/node_modules/{@npmcli/installed-package-contents/node_modules/npm-bundled => node-gyp/node_modules/cacache/node_modules/minimatch}/LICENSE (92%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/node_modules/minimatch/lib/path.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/node_modules/minimatch/minimatch.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/node_modules/minimatch/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/cacache/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/LICENSE.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/base-theme.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/error.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/has-color.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/plumbing.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/process.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/progress-bar.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/render-template.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/set-immediate.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/set-interval.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/spin.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/template-item.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/theme-set.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/themes.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/lib/wide-truncate.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/gauge/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/LICENSE create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/agent.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/entry.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/errors.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/key.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/cache/policy.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/dns.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/fetch.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/options.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/pipeline.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/lib/remote.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/make-fetch-happen/package.json rename deps/npm/node_modules/{opener/LICENSE.txt => node-gyp/node_modules/minipass-fetch/LICENSE} (55%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minipass-fetch/lib/abort-error.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minipass-fetch/lib/blob.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minipass-fetch/lib/body.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minipass-fetch/lib/fetch-error.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minipass-fetch/lib/headers.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minipass-fetch/lib/index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minipass-fetch/lib/request.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minipass-fetch/lib/response.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/minipass-fetch/package.json delete mode 100644 deps/npm/node_modules/node-gyp/node_modules/nopt/CHANGELOG.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/npmlog/LICENSE.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/npmlog/lib/log.js rename deps/npm/node_modules/{npm-packlist/node_modules/npm-normalize-package-bin => node-gyp/node_modules/npmlog}/package.json (51%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/ssri/LICENSE.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/ssri/lib/index.js create mode 100644 deps/npm/node_modules/node-gyp/node_modules/ssri/package.json create mode 100644 deps/npm/node_modules/node-gyp/node_modules/unique-filename/LICENSE create mode 100644 deps/npm/node_modules/node-gyp/node_modules/unique-filename/lib/index.js rename deps/npm/node_modules/{npm-pick-manifest/node_modules/npm-normalize-package-bin => node-gyp/node_modules/unique-filename}/package.json (68%) rename deps/npm/node_modules/{npm-packlist/node_modules/npm-normalize-package-bin => node-gyp/node_modules/unique-slug}/LICENSE (96%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/unique-slug/lib/index.js rename deps/npm/node_modules/{bin-links/node_modules/npm-normalize-package-bin => node-gyp/node_modules/unique-slug}/package.json (76%) rename deps/npm/node_modules/{dezalgo => node-gyp/node_modules/which}/LICENSE (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/which/README.md rename deps/npm/node_modules/{ => node-gyp/node_modules}/which/bin/node-which (100%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/which/package.json rename deps/npm/node_modules/{ => node-gyp/node_modules}/which/which.js (100%) delete mode 100644 deps/npm/node_modules/npm-bundled/node_modules/npm-normalize-package-bin/LICENSE delete mode 100644 deps/npm/node_modules/npm-bundled/node_modules/npm-normalize-package-bin/lib/index.js delete mode 100644 deps/npm/node_modules/npm-normalize-package-bin/index.js rename deps/npm/node_modules/{bin-links/node_modules => }/npm-normalize-package-bin/lib/index.js (100%) delete mode 100644 deps/npm/node_modules/npm-normalize-package-bin/test/array.js delete mode 100644 deps/npm/node_modules/npm-normalize-package-bin/test/nobin.js delete mode 100644 deps/npm/node_modules/npm-normalize-package-bin/test/object.js delete mode 100644 deps/npm/node_modules/npm-normalize-package-bin/test/string.js delete mode 100644 deps/npm/node_modules/npm-packlist/README.md delete mode 100755 deps/npm/node_modules/npm-packlist/bin/index.js delete mode 100644 deps/npm/node_modules/npm-packlist/node_modules/npm-normalize-package-bin/lib/index.js delete mode 100644 deps/npm/node_modules/npm-pick-manifest/node_modules/npm-normalize-package-bin/LICENSE delete mode 100644 deps/npm/node_modules/npm-pick-manifest/node_modules/npm-normalize-package-bin/lib/index.js delete mode 100644 deps/npm/node_modules/opener/README.md delete mode 100755 deps/npm/node_modules/opener/bin/opener-bin.js delete mode 100644 deps/npm/node_modules/opener/lib/opener.js delete mode 100644 deps/npm/node_modules/opener/package.json create mode 100644 deps/npm/node_modules/process/LICENSE create mode 100644 deps/npm/node_modules/process/browser.js create mode 100644 deps/npm/node_modules/process/index.js create mode 100644 deps/npm/node_modules/process/package.json create mode 100644 deps/npm/node_modules/process/test.js rename deps/npm/node_modules/read-package-json-fast/{ => lib}/index.js (83%) delete mode 100644 deps/npm/node_modules/read-package-json/node_modules/npm-normalize-package-bin/LICENSE delete mode 100644 deps/npm/node_modules/read-package-json/node_modules/npm-normalize-package-bin/lib/index.js delete mode 100644 deps/npm/node_modules/read-package-json/node_modules/npm-normalize-package-bin/package.json delete mode 100644 deps/npm/node_modules/readdir-scoped-modules/LICENSE delete mode 100644 deps/npm/node_modules/readdir-scoped-modules/package.json delete mode 100644 deps/npm/node_modules/readdir-scoped-modules/readdir.js delete mode 100644 deps/npm/node_modules/rimraf/CHANGELOG.md delete mode 100644 deps/npm/node_modules/which/CHANGELOG.md create mode 100755 deps/npm/node_modules/which/bin/which.js create mode 100644 deps/npm/node_modules/which/lib/index.js delete mode 100644 deps/npm/tap-snapshots/test/lib/commands/adduser.js.test.cjs delete mode 100644 deps/npm/tap-snapshots/test/lib/npm.js.test.cjs delete mode 100644 deps/npm/test/fixtures/mock-registry.js delete mode 100644 deps/npm/test/lib/auth/legacy.js delete mode 100644 deps/npm/test/lib/auth/oauth.js delete mode 100644 deps/npm/test/lib/auth/saml.js delete mode 100644 deps/npm/test/lib/auth/sso.js delete mode 100644 deps/npm/test/lib/commands/bin.js delete mode 100644 deps/npm/test/lib/commands/birthday.js create mode 100644 deps/npm/test/lib/commands/login.js delete mode 100644 deps/npm/test/lib/commands/set-script.js diff --git a/deps/npm/README.md b/deps/npm/README.md index 7e4a5f38a7607f..b88882fadfee09 100644 --- a/deps/npm/README.md +++ b/deps/npm/README.md @@ -9,9 +9,9 @@ One of the following versions of [Node.js](https://nodejs.org/en/download/) must be installed to run **`npm`**: -* `12.x.x` >= `12.13.0` -* `14.x.x` >= `14.15.0` -* `16.0.0` or higher +* `14.x.x` >= `14.17.0` +* `16.x.x` >= `16.13.0` +* `18.0.0` or higher ### Installation diff --git a/deps/npm/bin/npx-cli.js b/deps/npm/bin/npx-cli.js index cb05e1cb706c6e..75090aed41f1fb 100755 --- a/deps/npm/bin/npx-cli.js +++ b/deps/npm/bin/npx-cli.js @@ -98,6 +98,7 @@ for (i = 3; i < process.argv.length; i++) { } if (removed.has(key)) { + // eslint-disable-next-line no-console console.error(`npx: the --${key} argument has been removed.`) sawRemovedFlags = true process.argv.splice(i, 1) @@ -122,6 +123,7 @@ for (i = 3; i < process.argv.length; i++) { } if (sawRemovedFlags) { + // eslint-disable-next-line no-console console.error('See `npm help exec` for more information') } diff --git a/deps/npm/docs/README.md b/deps/npm/docs/README.md new file mode 100644 index 00000000000000..5fc7ccf6cd60ac --- /dev/null +++ b/deps/npm/docs/README.md @@ -0,0 +1,5 @@ +# docs + +[![CI - docs](https://github.com/npm/cli/actions/workflows/ci-docs.yml/badge.svg)](https://github.com/npm/cli/actions/workflows/ci-docs.yml) + +Scripts to build the npm docs. diff --git a/deps/npm/docs/content/commands/npm-access.md b/deps/npm/docs/content/commands/npm-access.md index e707eb6f5e212d..f2078e1c9c38dd 100644 --- a/deps/npm/docs/content/commands/npm-access.md +++ b/deps/npm/docs/content/commands/npm-access.md @@ -7,15 +7,13 @@ description: Set access level on published packages ### Synopsis ```bash -npm access public [] -npm access restricted [] +npm access list packages [|| [] +npm access list collaborators [ []] +npm access get status [] +npm access set status=public|private [] +npm access set mfa=none|publish|automation [] npm access grant [] npm access revoke [] -npm access 2fa-required [] -npm access 2fa-not-required [] -npm access ls-packages [||] -npm access ls-collaborators [ []] -npm access edit [] ``` ### Description @@ -79,12 +77,17 @@ Management of teams and team memberships is done with the `npm team` command. ### Configuration -#### `registry` +#### `json` -* Default: "https://registry.npmjs.org/" -* Type: URL +* Default: false +* Type: Boolean -The base URL of the npm registry. +Whether or not to output JSON data, rather than the normal output. + +* In `npm pkg set` it enables parsing set values with JSON.parse() before + saving them to your `package.json`. + +Not supported by all npm commands. #### `otp` @@ -97,6 +100,13 @@ when publishing or changing package permissions with `npm access`. If not set, and a registry response fails with a challenge for a one-time password, npm will prompt on the command line for one. +#### `registry` + +* Default: "https://registry.npmjs.org/" +* Type: URL + +The base URL of the npm registry. + ### See Also * [`libnpmaccess`](https://npm.im/libnpmaccess) diff --git a/deps/npm/docs/content/commands/npm-adduser.md b/deps/npm/docs/content/commands/npm-adduser.md index 2d040c6a4a5792..f0cd57be25a2b6 100644 --- a/deps/npm/docs/content/commands/npm-adduser.md +++ b/deps/npm/docs/content/commands/npm-adduser.md @@ -9,29 +9,19 @@ description: Add a registry user account ```bash npm adduser -aliases: login, add-user +alias: add-user ``` Note: This command is unaware of workspaces. ### Description -Create or verify a user named `` in the specified registry, and -save the credentials to the `.npmrc` file. If no registry is specified, -the default registry will be used (see [`config`](/using-npm/config)). +Create a new user in the specified registry, and save the credentials to +the `.npmrc` file. If no registry is specified, the default registry +will be used (see [`registry`](/using-npm/registry)). -The username, password, and email are read in from prompts. - -To reset your password, go to - -To change your email address, go to - -You may use this command multiple times with the same user account to -authorize on a new machine. When authenticating on a new machine, -the username, password and email address must all match with -your existing record. - -`npm login` is an alias to `adduser` and behaves exactly the same way. +When using `legacy` for your `auth-type`, the username, password, and +email are read in from prompts. ### Configuration @@ -74,11 +64,8 @@ npm init --scope=@foo --yes #### `auth-type` -* Default: "legacy" -* Type: "legacy", "web", "sso", "saml", "oauth", or "webauthn" - -NOTE: auth-type values "sso", "saml", "oauth", and "webauthn" will be -removed in a future version. +* Default: "web" +* Type: "legacy" or "web" What authentication strategy to use with `login`. diff --git a/deps/npm/docs/content/commands/npm-audit.md b/deps/npm/docs/content/commands/npm-audit.md index ab6395502328ea..25c733243660e9 100644 --- a/deps/npm/docs/content/commands/npm-audit.md +++ b/deps/npm/docs/content/commands/npm-audit.md @@ -100,9 +100,9 @@ the path `/-/npm/v1/security/advisories/bulk`. Any packages in the tree that do not have a `version` field in their package.json file will be ignored. If any `--omit` options are specified -(either via the `--omit` config, or one of the shorthands such as -`--production`, `--only=dev`, and so on), then packages will be omitted -from the submitted payload as appropriate. +(either via the [`--omit` config](/using-npm/config#omit), or one of the +shorthands such as `--production`, `--only=dev`, and so on), then packages will +be omitted from the submitted payload as appropriate. If the registry responds with an error, or with an invalid response, then npm will attempt to load advisory data from the `Quick Audit` endpoint. @@ -179,7 +179,7 @@ vulnerabilities are found _or_ if the remediation is able to successfully fix all vulnerabilities. If vulnerabilities were found the exit code will depend on the -`audit-level` configuration setting. +[`audit-level` config](/using-npm/config#audit-level). ### Examples @@ -408,12 +408,12 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: false +* Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ### See Also diff --git a/deps/npm/docs/content/commands/npm-bin.md b/deps/npm/docs/content/commands/npm-bin.md deleted file mode 100644 index 16a28a8e1c3ace..00000000000000 --- a/deps/npm/docs/content/commands/npm-bin.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: npm-bin -section: 1 -description: Display npm bin folder ---- - -### Synopsis - -```bash -npm bin -``` - -Note: This command is unaware of workspaces. - -### Description - -Print the folder where npm will install executables. - -### Configuration - -#### `global` - -* Default: false -* Type: Boolean - -Operates in "global" mode, so that packages are installed into the `prefix` -folder instead of the current working directory. See -[folders](/configuring-npm/folders) for more on the differences in behavior. - -* packages are installed into the `{prefix}/lib/node_modules` folder, instead - of the current working directory. -* bin files are linked to `{prefix}/bin` -* man pages are linked to `{prefix}/share/man` - -### See Also - -* [npm prefix](/commands/npm-prefix) -* [npm root](/commands/npm-root) -* [npm folders](/configuring-npm/folders) -* [npm config](/commands/npm-config) -* [npmrc](/configuring-npm/npmrc) diff --git a/deps/npm/docs/content/commands/npm-bugs.md b/deps/npm/docs/content/commands/npm-bugs.md index 153355fc694f7e..1f135fc6c933a9 100644 --- a/deps/npm/docs/content/commands/npm-bugs.md +++ b/deps/npm/docs/content/commands/npm-bugs.md @@ -16,8 +16,9 @@ alias: issues This command tries to guess at the likely location of a package's bug tracker URL or the `mailto` URL of the support email, and then tries to -open it using the `--browser` config param. If no package name is provided, it -will search for a `package.json` in the current folder and use the `name` property. +open it using the [`--browser` config](/using-npm/config#browser) param. If no +package name is provided, it will search for a `package.json` in the current +folder and use the `name` property. ### Configuration diff --git a/deps/npm/docs/content/commands/npm-cache.md b/deps/npm/docs/content/commands/npm-cache.md index a6ef86dd22501f..a9d76179e81162 100644 --- a/deps/npm/docs/content/commands/npm-cache.md +++ b/deps/npm/docs/content/commands/npm-cache.md @@ -75,8 +75,7 @@ verify`. * Default: Windows: `%LocalAppData%\npm-cache`, Posix: `~/.npm` * Type: Path -The location of npm's cache directory. See [`npm -cache`](/commands/npm-cache) +The location of npm's cache directory. ### See Also diff --git a/deps/npm/docs/content/commands/npm-ci.md b/deps/npm/docs/content/commands/npm-ci.md index 474e27cdd0d967..4a5caf7d0c691f 100644 --- a/deps/npm/docs/content/commands/npm-ci.md +++ b/deps/npm/docs/content/commands/npm-ci.md @@ -106,27 +106,39 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` -#### `global-style` +#### `install-strategy` + +* Default: "hoisted" +* Type: "hoisted", "nested", or "shallow" + +Sets the strategy for installing packages in node_modules. hoisted +(default): Install non-duplicated in top-level, and duplicated as necessary +within directory structure. nested: (formerly --legacy-bundling) install in +place, no hoisting. shallow (formerly --global-style) only install direct +deps at top-level. linked: (coming soon) install in node_modules/.store, +link in place, unhoisted. + +#### `legacy-bundling` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=nested` -Causes npm to install the package into your local `node_modules` folder with -the same layout it uses with the global `node_modules` folder. Only your -direct dependencies will show in `node_modules` and everything they depend -on will be flattened in their `node_modules` folders. This obviously will -eliminate some deduping. If used with `legacy-bundling`, `legacy-bundling` -will be preferred. +Instead of hoisting package installs in `node_modules`, install packages in +the same manner that they are depended on. This may cause very deep +directory structures and duplicate package installs as there is no +de-duplicating. Sets `--install-strategy=nested`. -#### `legacy-bundling` +#### `global-style` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=shallow` -Causes npm to install the package such that versions of npm prior to 1.4, -such as the one included with node 0.8, can install the package. This -eliminates all automatic deduping. If used with `global-style` this option -will be preferred. +Only install direct dependencies in the top level `node_modules`, but hoist +on deeper dependendencies. Sets `--install-strategy=shallow`. #### `omit` @@ -298,12 +310,12 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: false +* Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ### See Also diff --git a/deps/npm/docs/content/commands/npm-config.md b/deps/npm/docs/content/commands/npm-config.md index 311183b9170101..fe87abac903e8a 100644 --- a/deps/npm/docs/content/commands/npm-config.md +++ b/deps/npm/docs/content/commands/npm-config.md @@ -12,6 +12,7 @@ npm config get [ [ ...]] npm config delete [ ...] npm config list [--json] npm config edit +npm config fix alias: c ``` @@ -26,7 +27,7 @@ variables, `npmrc` files, and in some cases, the `package.json` file. See [npmrc](/configuring-npm/npmrc) for more information about the npmrc files. -See [config(7)](/using-npm/config) for a more thorough explanation of the +See [config](/using-npm/config) for a more thorough explanation of the mechanisms involved, and a full list of config options available. The `npm config` command can be used to update and edit the contents @@ -91,6 +92,16 @@ npm config edit Opens the config file in an editor. Use the `--global` flag to edit the global config. +#### fix + +```bash +npm config fix +``` + +Attempts to repair invalid configuration items. Usually this means +attaching authentication config (i.e. `_auth`, `_authToken`) to the +configured `registry`. + ### Configuration #### `json` @@ -121,8 +132,8 @@ folder instead of the current working directory. See #### `editor` -* Default: The EDITOR or VISUAL environment variables, or 'notepad.exe' on - Windows, or 'vim' on Unix systems +* Default: The EDITOR or VISUAL environment variables, or + '%SYSTEMROOT%\notepad.exe' on Windows, or 'vi' on Unix systems * Type: String The command to run for `npm edit` and `npm config edit`. diff --git a/deps/npm/docs/content/commands/npm-dedupe.md b/deps/npm/docs/content/commands/npm-dedupe.md index f7fff73dc1786e..80353bad5d0d7a 100644 --- a/deps/npm/docs/content/commands/npm-dedupe.md +++ b/deps/npm/docs/content/commands/npm-dedupe.md @@ -77,27 +77,39 @@ values in `package.json` you can run: `npm update --save` instead. ### Configuration -#### `global-style` +#### `install-strategy` + +* Default: "hoisted" +* Type: "hoisted", "nested", or "shallow" + +Sets the strategy for installing packages in node_modules. hoisted +(default): Install non-duplicated in top-level, and duplicated as necessary +within directory structure. nested: (formerly --legacy-bundling) install in +place, no hoisting. shallow (formerly --global-style) only install direct +deps at top-level. linked: (coming soon) install in node_modules/.store, +link in place, unhoisted. + +#### `legacy-bundling` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=nested` -Causes npm to install the package into your local `node_modules` folder with -the same layout it uses with the global `node_modules` folder. Only your -direct dependencies will show in `node_modules` and everything they depend -on will be flattened in their `node_modules` folders. This obviously will -eliminate some deduping. If used with `legacy-bundling`, `legacy-bundling` -will be preferred. +Instead of hoisting package installs in `node_modules`, install packages in +the same manner that they are depended on. This may cause very deep +directory structures and duplicate package installs as there is no +de-duplicating. Sets `--install-strategy=nested`. -#### `legacy-bundling` +#### `global-style` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=shallow` -Causes npm to install the package such that versions of npm prior to 1.4, -such as the one included with node 0.8, can install the package. This -eliminates all automatic deduping. If used with `global-style` this option -will be preferred. +Only install direct dependencies in the top level `node_modules`, but hoist +on deeper dependendencies. Sets `--install-strategy=shallow`. #### `strict-peer-deps` @@ -257,12 +269,12 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: false +* Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ### See Also diff --git a/deps/npm/docs/content/commands/npm-dist-tag.md b/deps/npm/docs/content/commands/npm-dist-tag.md index d22831d2ce823e..e4a7fba665db38 100644 --- a/deps/npm/docs/content/commands/npm-dist-tag.md +++ b/deps/npm/docs/content/commands/npm-dist-tag.md @@ -19,8 +19,8 @@ alias: dist-tags Add, remove, and enumerate distribution tags on a package: * add: Tags the specified version of the package with the specified tag, - or the `--tag` config if not specified. If you have two-factor - authentication on auth-and-writes then you’ll need to include a + or the [`--tag` config](/using-npm/config#tag) if not specified. If you have + two-factor authentication on auth-and-writes then you’ll need to include a one-time password on the command line with `--otp `, or at the OTP prompt. diff --git a/deps/npm/docs/content/commands/npm-docs.md b/deps/npm/docs/content/commands/npm-docs.md index e4c88dc19d337c..027a101d121e6b 100644 --- a/deps/npm/docs/content/commands/npm-docs.md +++ b/deps/npm/docs/content/commands/npm-docs.md @@ -15,10 +15,10 @@ alias: home ### Description This command tries to guess at the likely location of a package's -documentation URL, and then tries to open it using the `--browser` config -param. You can pass multiple package names at once. If no package name is -provided, it will search for a `package.json` in the current folder and use -the `name` property. +documentation URL, and then tries to open it using the +[`--browser` config](/using-npm/config#browser) param. You can pass multiple +package names at once. If no package name is provided, it will search for a +`package.json` in the current folder and use the `name` property. ### Configuration diff --git a/deps/npm/docs/content/commands/npm-edit.md b/deps/npm/docs/content/commands/npm-edit.md index 9f6750ff175415..04a4d15b5afcd9 100644 --- a/deps/npm/docs/content/commands/npm-edit.md +++ b/deps/npm/docs/content/commands/npm-edit.md @@ -29,8 +29,8 @@ changes to your locally installed copy. #### `editor` -* Default: The EDITOR or VISUAL environment variables, or 'notepad.exe' on - Windows, or 'vim' on Unix systems +* Default: The EDITOR or VISUAL environment variables, or + '%SYSTEMROOT%\notepad.exe' on Windows, or 'vi' on Unix systems * Type: String The command to run for `npm edit` and `npm config edit`. diff --git a/deps/npm/docs/content/commands/npm-exec.md b/deps/npm/docs/content/commands/npm-exec.md index b968671ed84670..af19ec5f077838 100644 --- a/deps/npm/docs/content/commands/npm-exec.md +++ b/deps/npm/docs/content/commands/npm-exec.md @@ -33,10 +33,11 @@ specified multiple times, to execute the supplied command in an environment where all specified packages are available. If any requested packages are not present in the local project -dependencies, then they are installed to a folder in the npm cache, which -is added to the `PATH` environment variable in the executed process. A -prompt is printed (which can be suppressed by providing either `--yes` or -`--no`). +dependencies, then a prompt is printed, which can be suppressed by +providing either `--yes` or `--no`. When standard input is not a TTY or a +CI environment is detected, `--yes` is assumed. The requested packages are +installed to a folder in the npm cache, which is added to the `PATH` +environment variable in the executed process. Package names provided without a specifier will be matched with whatever version exists in the local project. Package names with a specifier will @@ -211,7 +212,8 @@ $ npx -c 'eslint && say "hooray, lint passed"' ### Workspaces support -You may use the `workspace` or `workspaces` configs in order to run an +You may use the [`workspace`](/using-npm/config#workspace) or +[`workspaces`](/using-npm/config#workspaces) configs in order to run an arbitrary command from an npm package (either one installed locally, or fetched remotely) in the context of the specified workspaces. If no positional argument or `--call` option is provided, it will open an @@ -242,9 +244,9 @@ Assuming the workspace configuration is properly set up at the root level ``` You can execute an arbitrary command from a package in the context of each of -the configured workspaces when using the `workspaces` configuration options, -in this example we're using **eslint** to lint any js file found within each -workspace folder: +the configured workspaces when using the +[`workspaces` config options](/using-npm/config#workspace), in this example +we're using **eslint** to lint any js file found within each workspace folder: ``` npm exec --ws -- eslint ./*.js diff --git a/deps/npm/docs/content/commands/npm-find-dupes.md b/deps/npm/docs/content/commands/npm-find-dupes.md index 723f04cfb11887..a3ef44eb5b7fb1 100644 --- a/deps/npm/docs/content/commands/npm-find-dupes.md +++ b/deps/npm/docs/content/commands/npm-find-dupes.md @@ -17,27 +17,39 @@ duplications, without actually changing the package tree. ### Configuration -#### `global-style` +#### `install-strategy` + +* Default: "hoisted" +* Type: "hoisted", "nested", or "shallow" + +Sets the strategy for installing packages in node_modules. hoisted +(default): Install non-duplicated in top-level, and duplicated as necessary +within directory structure. nested: (formerly --legacy-bundling) install in +place, no hoisting. shallow (formerly --global-style) only install direct +deps at top-level. linked: (coming soon) install in node_modules/.store, +link in place, unhoisted. + +#### `legacy-bundling` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=nested` -Causes npm to install the package into your local `node_modules` folder with -the same layout it uses with the global `node_modules` folder. Only your -direct dependencies will show in `node_modules` and everything they depend -on will be flattened in their `node_modules` folders. This obviously will -eliminate some deduping. If used with `legacy-bundling`, `legacy-bundling` -will be preferred. +Instead of hoisting package installs in `node_modules`, install packages in +the same manner that they are depended on. This may cause very deep +directory structures and duplicate package installs as there is no +de-duplicating. Sets `--install-strategy=nested`. -#### `legacy-bundling` +#### `global-style` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=shallow` -Causes npm to install the package such that versions of npm prior to 1.4, -such as the one included with node 0.8, can install the package. This -eliminates all automatic deduping. If used with `global-style` this option -will be preferred. +Only install direct dependencies in the top level `node_modules`, but hoist +on deeper dependendencies. Sets `--install-strategy=shallow`. #### `strict-peer-deps` @@ -184,12 +196,12 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: false +* Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ### See Also diff --git a/deps/npm/docs/content/commands/npm-fund.md b/deps/npm/docs/content/commands/npm-fund.md index 25a6735ec75473..0db66f49ad65b1 100644 --- a/deps/npm/docs/content/commands/npm-fund.md +++ b/deps/npm/docs/content/commands/npm-fund.md @@ -16,9 +16,10 @@ This command retrieves information on how to fund the dependencies of a given project. If no package name is provided, it will list all dependencies that are looking for funding in a tree structure, listing the type of funding and the url to visit. If a package name is provided -then it tries to open its funding url using the `--browser` config -param; if there are multiple funding sources for the package, the user -will be instructed to pass the `--which` option to disambiguate. +then it tries to open its funding url using the +[`--browser` config](/using-npm/config#browser) param; if there are multiple +funding sources for the package, the user will be instructed to pass the +`--which` option to disambiguate. The list will avoid duplicated entries and will stack all packages that share the same url as a single entry. Thus, the list does not have the @@ -29,7 +30,8 @@ same shape of the output from `npm ls`. ### Workspaces support It's possible to filter the results to only include a single workspace -and its dependencies using the `workspace` config option. +and its dependencies using the +[`workspace` config](/using-npm/config#workspace) option. #### Example: diff --git a/deps/npm/docs/content/commands/npm-install-ci-test.md b/deps/npm/docs/content/commands/npm-install-ci-test.md index c6c7f2196da2e5..9fd7c267b102f5 100644 --- a/deps/npm/docs/content/commands/npm-install-ci-test.md +++ b/deps/npm/docs/content/commands/npm-install-ci-test.md @@ -52,27 +52,39 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` -#### `global-style` +#### `install-strategy` + +* Default: "hoisted" +* Type: "hoisted", "nested", or "shallow" + +Sets the strategy for installing packages in node_modules. hoisted +(default): Install non-duplicated in top-level, and duplicated as necessary +within directory structure. nested: (formerly --legacy-bundling) install in +place, no hoisting. shallow (formerly --global-style) only install direct +deps at top-level. linked: (coming soon) install in node_modules/.store, +link in place, unhoisted. + +#### `legacy-bundling` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=nested` -Causes npm to install the package into your local `node_modules` folder with -the same layout it uses with the global `node_modules` folder. Only your -direct dependencies will show in `node_modules` and everything they depend -on will be flattened in their `node_modules` folders. This obviously will -eliminate some deduping. If used with `legacy-bundling`, `legacy-bundling` -will be preferred. +Instead of hoisting package installs in `node_modules`, install packages in +the same manner that they are depended on. This may cause very deep +directory structures and duplicate package installs as there is no +de-duplicating. Sets `--install-strategy=nested`. -#### `legacy-bundling` +#### `global-style` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=shallow` -Causes npm to install the package such that versions of npm prior to 1.4, -such as the one included with node 0.8, can install the package. This -eliminates all automatic deduping. If used with `global-style` this option -will be preferred. +Only install direct dependencies in the top level `node_modules`, but hoist +on deeper dependendencies. Sets `--install-strategy=shallow`. #### `omit` @@ -244,12 +256,12 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: false +* Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ### See Also diff --git a/deps/npm/docs/content/commands/npm-install-test.md b/deps/npm/docs/content/commands/npm-install-test.md index aa1ff35bc45892..5642472630b530 100644 --- a/deps/npm/docs/content/commands/npm-install-test.md +++ b/deps/npm/docs/content/commands/npm-install-test.md @@ -53,27 +53,39 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` -#### `global-style` +#### `install-strategy` + +* Default: "hoisted" +* Type: "hoisted", "nested", or "shallow" + +Sets the strategy for installing packages in node_modules. hoisted +(default): Install non-duplicated in top-level, and duplicated as necessary +within directory structure. nested: (formerly --legacy-bundling) install in +place, no hoisting. shallow (formerly --global-style) only install direct +deps at top-level. linked: (coming soon) install in node_modules/.store, +link in place, unhoisted. + +#### `legacy-bundling` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=nested` -Causes npm to install the package into your local `node_modules` folder with -the same layout it uses with the global `node_modules` folder. Only your -direct dependencies will show in `node_modules` and everything they depend -on will be flattened in their `node_modules` folders. This obviously will -eliminate some deduping. If used with `legacy-bundling`, `legacy-bundling` -will be preferred. +Instead of hoisting package installs in `node_modules`, install packages in +the same manner that they are depended on. This may cause very deep +directory structures and duplicate package installs as there is no +de-duplicating. Sets `--install-strategy=nested`. -#### `legacy-bundling` +#### `global-style` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=shallow` -Causes npm to install the package such that versions of npm prior to 1.4, -such as the one included with node 0.8, can install the package. This -eliminates all automatic deduping. If used with `global-style` this option -will be preferred. +Only install direct dependencies in the top level `node_modules`, but hoist +on deeper dependendencies. Sets `--install-strategy=shallow`. #### `omit` @@ -245,12 +257,12 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: false +* Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ### See Also diff --git a/deps/npm/docs/content/commands/npm-install.md b/deps/npm/docs/content/commands/npm-install.md index dc935de70aaf0f..3604aab4b940f2 100644 --- a/deps/npm/docs/content/commands/npm-install.md +++ b/deps/npm/docs/content/commands/npm-install.md @@ -118,7 +118,7 @@ into a tarball (b). * `npm install [<@scope>/]`: Do a `@` install, where `` is the "tag" config. (See - [`config`](/using-npm/config). The config's default value is `latest`.) + [`config`](/using-npm/config#tag). The config's default value is `latest`.) In most cases, this will install the version of the modules tagged as `latest` on the npm registry. @@ -443,27 +443,39 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` -#### `global-style` +#### `install-strategy` + +* Default: "hoisted" +* Type: "hoisted", "nested", or "shallow" + +Sets the strategy for installing packages in node_modules. hoisted +(default): Install non-duplicated in top-level, and duplicated as necessary +within directory structure. nested: (formerly --legacy-bundling) install in +place, no hoisting. shallow (formerly --global-style) only install direct +deps at top-level. linked: (coming soon) install in node_modules/.store, +link in place, unhoisted. + +#### `legacy-bundling` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=nested` -Causes npm to install the package into your local `node_modules` folder with -the same layout it uses with the global `node_modules` folder. Only your -direct dependencies will show in `node_modules` and everything they depend -on will be flattened in their `node_modules` folders. This obviously will -eliminate some deduping. If used with `legacy-bundling`, `legacy-bundling` -will be preferred. +Instead of hoisting package installs in `node_modules`, install packages in +the same manner that they are depended on. This may cause very deep +directory structures and duplicate package installs as there is no +de-duplicating. Sets `--install-strategy=nested`. -#### `legacy-bundling` +#### `global-style` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=shallow` -Causes npm to install the package such that versions of npm prior to 1.4, -such as the one included with node 0.8, can install the package. This -eliminates all automatic deduping. If used with `global-style` this option -will be preferred. +Only install direct dependencies in the top level `node_modules`, but hoist +on deeper dependendencies. Sets `--install-strategy=shallow`. #### `omit` @@ -635,12 +647,12 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: false +* Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ### Algorithm diff --git a/deps/npm/docs/content/commands/npm-link.md b/deps/npm/docs/content/commands/npm-link.md index 07917bc833003b..09459cc0ca8a50 100644 --- a/deps/npm/docs/content/commands/npm-link.md +++ b/deps/npm/docs/content/commands/npm-link.md @@ -144,27 +144,39 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` -#### `global-style` +#### `install-strategy` + +* Default: "hoisted" +* Type: "hoisted", "nested", or "shallow" + +Sets the strategy for installing packages in node_modules. hoisted +(default): Install non-duplicated in top-level, and duplicated as necessary +within directory structure. nested: (formerly --legacy-bundling) install in +place, no hoisting. shallow (formerly --global-style) only install direct +deps at top-level. linked: (coming soon) install in node_modules/.store, +link in place, unhoisted. + +#### `legacy-bundling` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=nested` -Causes npm to install the package into your local `node_modules` folder with -the same layout it uses with the global `node_modules` folder. Only your -direct dependencies will show in `node_modules` and everything they depend -on will be flattened in their `node_modules` folders. This obviously will -eliminate some deduping. If used with `legacy-bundling`, `legacy-bundling` -will be preferred. +Instead of hoisting package installs in `node_modules`, install packages in +the same manner that they are depended on. This may cause very deep +directory structures and duplicate package installs as there is no +de-duplicating. Sets `--install-strategy=nested`. -#### `legacy-bundling` +#### `global-style` * Default: false * Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=shallow` -Causes npm to install the package such that versions of npm prior to 1.4, -such as the one included with node 0.8, can install the package. This -eliminates all automatic deduping. If used with `global-style` this option -will be preferred. +Only install direct dependencies in the top level `node_modules`, but hoist +on deeper dependendencies. Sets `--install-strategy=shallow`. #### `strict-peer-deps` @@ -324,12 +336,12 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: false +* Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ### See Also diff --git a/deps/npm/docs/content/commands/npm-login.md b/deps/npm/docs/content/commands/npm-login.md new file mode 100644 index 00000000000000..4feb7150400268 --- /dev/null +++ b/deps/npm/docs/content/commands/npm-login.md @@ -0,0 +1,87 @@ +--- +title: npm-login +section: 1 +description: Login to a registry user account +--- + +### Synopsis + +```bash +npm login +``` + +Note: This command is unaware of workspaces. + +### Description + +Verify a user in the specified registry, and save the credentials to the +`.npmrc` file. If no registry is specified, the default registry will be +used (see [`config`](/using-npm/config)). + +When using `legacy` for your `auth-type`, the username and password, are +read in from prompts. + +To reset your password, go to + +To change your email address, go to + +You may use this command multiple times with the same user account to +authorize on a new machine. When authenticating on a new machine, +the username, password and email address must all match with +your existing record. + +### Configuration + +#### `registry` + +* Default: "https://registry.npmjs.org/" +* Type: URL + +The base URL of the npm registry. + +#### `scope` + +* Default: the scope of the current project, if any, or "" +* Type: String + +Associate an operation with a scope for a scoped registry. + +Useful when logging in to or out of a private registry: + +``` +# log in, linking the scope to the custom registry +npm login --scope=@mycorp --registry=https://registry.mycorp.com + +# log out, removing the link and the auth token +npm logout --scope=@mycorp +``` + +This will cause `@mycorp` to be mapped to the registry for future +installation of packages specified according to the pattern +`@mycorp/package`. + +This will also cause `npm init` to create a scoped package. + +``` +# accept all defaults, and create a package named "@foo/whatever", +# instead of just named "whatever" +npm init --scope=@foo --yes +``` + + +#### `auth-type` + +* Default: "web" +* Type: "legacy" or "web" + +What authentication strategy to use with `login`. + +### See Also + +* [npm registry](/using-npm/registry) +* [npm config](/commands/npm-config) +* [npmrc](/configuring-npm/npmrc) +* [npm owner](/commands/npm-owner) +* [npm whoami](/commands/npm-whoami) +* [npm token](/commands/npm-token) +* [npm profile](/commands/npm-profile) diff --git a/deps/npm/docs/content/commands/npm-ls.md b/deps/npm/docs/content/commands/npm-ls.md index 43d4eb7d6791cb..385c36728b7e70 100644 --- a/deps/npm/docs/content/commands/npm-ls.md +++ b/deps/npm/docs/content/commands/npm-ls.md @@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For example, running `npm ls promzard` in npm's source tree will show: ```bash -npm@8.19.3 /path/to/npm +npm@9.1.3 /path/to/npm └─┬ init-package-json@0.0.4 └── promzard@0.1.5 ``` @@ -236,12 +236,12 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: false +* Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ### See Also diff --git a/deps/npm/docs/content/commands/npm-pkg.md b/deps/npm/docs/content/commands/npm-pkg.md index 519104457df79e..484aabfca5431c 100644 --- a/deps/npm/docs/content/commands/npm-pkg.md +++ b/deps/npm/docs/content/commands/npm-pkg.md @@ -144,7 +144,8 @@ Returned values are always in **json** format. ### Workspaces support You can set/get/delete items across your configured workspaces by using the -`workspace` or `workspaces` config options. +[`workspace`](/using-npm/config#workspace) or +[`workspaces`](/using-npm/config#workspaces) config options. For example, setting a `funding` value across all configured workspaces of a project: diff --git a/deps/npm/docs/content/commands/npm-prune.md b/deps/npm/docs/content/commands/npm-prune.md index 95946d9dc969ca..0cd540f5c2d429 100644 --- a/deps/npm/docs/content/commands/npm-prune.md +++ b/deps/npm/docs/content/commands/npm-prune.md @@ -157,12 +157,12 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: false +* Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ### See Also diff --git a/deps/npm/docs/content/commands/npm-publish.md b/deps/npm/docs/content/commands/npm-publish.md index 4963cf158a660d..09756aedf02724 100644 --- a/deps/npm/docs/content/commands/npm-publish.md +++ b/deps/npm/docs/content/commands/npm-publish.md @@ -103,19 +103,19 @@ tarball that will be compared with the local files by default. #### `access` -* Default: 'restricted' for scoped packages, 'public' for unscoped packages +* Default: 'public' for new packages, existing packages it will not change the + current level * Type: null, "restricted", or "public" -When publishing scoped packages, the access level defaults to `restricted`. -If you want your scoped package to be publicly viewable (and installable) -set `--access=public`. The only valid values for `access` are `public` and -`restricted`. Unscoped packages _always_ have an access level of `public`. +If do not want your scoped package to be publicly viewable (and installable) +set `--access=restricted`. -Note: Using the `--access` flag on the `npm publish` command will only set -the package access level on the initial publish of the package. Any -subsequent `npm publish` commands using the `--access` flag will not have an -effect to the access level. To make changes to the access level after the -initial publish use `npm access`. +Unscoped packages can not be set to `restricted`. + +Note: This defaults to not changing the current access level for existing +packages. Specifying a value of `restricted` or `public` during publish will +change the access for an existing package the same way that `npm access set +status` would. #### `dry-run` diff --git a/deps/npm/docs/content/commands/npm-rebuild.md b/deps/npm/docs/content/commands/npm-rebuild.md index 75f1efe1b69641..a6955ec80c7e7c 100644 --- a/deps/npm/docs/content/commands/npm-rebuild.md +++ b/deps/npm/docs/content/commands/npm-rebuild.md @@ -130,12 +130,12 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: false +* Default: true * Type: Boolean -When set file: protocol dependencies that exist outside of the project root -will be packed and installed as regular dependencies instead of creating a -symlink. This option has no effect on workspaces. +When set file: protocol dependencies will be packed and installed as regular +dependencies instead of creating a symlink. This option has no effect on +workspaces. ### See Also diff --git a/deps/npm/docs/content/commands/npm-repo.md b/deps/npm/docs/content/commands/npm-repo.md index eb55780de907aa..10ddc139f8535a 100644 --- a/deps/npm/docs/content/commands/npm-repo.md +++ b/deps/npm/docs/content/commands/npm-repo.md @@ -13,9 +13,10 @@ npm repo [ [ ...]] ### Description This command tries to guess at the likely location of a package's -repository URL, and then tries to open it using the `--browser` config -param. If no package name is provided, it will search for a `package.json` -in the current folder and use the `repository` property. +repository URL, and then tries to open it using the +[`--browser` config](/using-npm/config#browser) param. If no package name is +provided, it will search for a `package.json` in the current folder and use the +`repository` property. ### Configuration diff --git a/deps/npm/docs/content/commands/npm-run-script.md b/deps/npm/docs/content/commands/npm-run-script.md index 16a5c693f9ba25..26011e4f7959a6 100644 --- a/deps/npm/docs/content/commands/npm-run-script.md +++ b/deps/npm/docs/content/commands/npm-run-script.md @@ -59,7 +59,8 @@ The actual shell your script is run within is platform dependent. By default, on Unix-like systems it is the `/bin/sh` command, on Windows it is `cmd.exe`. The actual shell referred to by `/bin/sh` also depends on the system. -You can customize the shell with the `script-shell` configuration. +You can customize the shell with the +[`script-shell` config](/using-npm/config#script-shell). Scripts are run from the root of the package folder, regardless of what the current working directory is when `npm run` is called. If you want your @@ -76,7 +77,8 @@ forgotten. ### Workspaces support -You may use the `workspace` or `workspaces` configs in order to run an +You may use the [`workspace`](/using-npm/config#workspace) or +[`workspaces`](/using-npm/config#workspaces) configs in order to run an arbitrary command from a package's `"scripts"` object in the context of the specified workspaces. If no `"command"` is provided, it will list the available scripts for each of these configured workspaces. @@ -105,7 +107,8 @@ Assuming the workspace configuration is properly set up at the root level ``` And that each of the configured workspaces has a configured `test` script, -we can run tests in all of them using the `workspaces` config: +we can run tests in all of them using the +[`workspaces` config](/using-npm/config#workspaces): ``` npm test --workspaces diff --git a/deps/npm/docs/content/commands/npm-set-script.md b/deps/npm/docs/content/commands/npm-set-script.md deleted file mode 100644 index 9bbf09ea9076ad..00000000000000 --- a/deps/npm/docs/content/commands/npm-set-script.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: npm-set-script -section: 1 -description: Set tasks in the scripts section of package.json ---- - -### Synopsis -An npm command that lets you create a task in the `scripts` section of the `package.json`. - -Deprecated. - -```bash -npm set-script [