From ccaea1ed220e6cb4b26b0967a081bdc4bccacc5a Mon Sep 17 00:00:00 2001 From: npm CLI robot Date: Sat, 5 Nov 2022 00:25:16 +0000 Subject: [PATCH] deps: upgrade npm to 9.1.0 --- 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 | 46 +- deps/npm/docs/content/commands/npm-adduser.md | 52 +- deps/npm/docs/content/commands/npm-audit.md | 66 +- deps/npm/docs/content/commands/npm-bin.md | 58 - deps/npm/docs/content/commands/npm-bugs.md | 34 +- deps/npm/docs/content/commands/npm-cache.md | 20 +- deps/npm/docs/content/commands/npm-ci.md | 110 +- .../docs/content/commands/npm-completion.md | 9 - deps/npm/docs/content/commands/npm-config.md | 36 +- deps/npm/docs/content/commands/npm-dedupe.md | 100 +- .../docs/content/commands/npm-deprecate.md | 20 - deps/npm/docs/content/commands/npm-diff.md | 53 - .../npm/docs/content/commands/npm-dist-tag.md | 27 +- deps/npm/docs/content/commands/npm-docs.md | 37 +- deps/npm/docs/content/commands/npm-doctor.md | 17 - deps/npm/docs/content/commands/npm-edit.md | 21 +- deps/npm/docs/content/commands/npm-exec.md | 38 +- deps/npm/docs/content/commands/npm-explain.md | 20 - deps/npm/docs/content/commands/npm-explore.md | 17 - .../docs/content/commands/npm-find-dupes.md | 97 +- deps/npm/docs/content/commands/npm-fund.md | 39 +- .../docs/content/commands/npm-help-search.md | 17 - deps/npm/docs/content/commands/npm-help.md | 17 - deps/npm/docs/content/commands/npm-hook.md | 20 - deps/npm/docs/content/commands/npm-init.md | 35 - .../content/commands/npm-install-ci-test.md | 110 +- .../docs/content/commands/npm-install-test.md | 110 +- deps/npm/docs/content/commands/npm-install.md | 112 +- deps/npm/docs/content/commands/npm-link.md | 107 +- deps/npm/docs/content/commands/npm-login.md | 87 + deps/npm/docs/content/commands/npm-logout.md | 20 - deps/npm/docs/content/commands/npm-ls.md | 66 +- deps/npm/docs/content/commands/npm-org.md | 26 - .../npm/docs/content/commands/npm-outdated.md | 32 - deps/npm/docs/content/commands/npm-owner.md | 26 - deps/npm/docs/content/commands/npm-pack.md | 32 - deps/npm/docs/content/commands/npm-ping.md | 17 - deps/npm/docs/content/commands/npm-pkg.md | 29 +- deps/npm/docs/content/commands/npm-prefix.md | 17 - deps/npm/docs/content/commands/npm-profile.md | 26 - deps/npm/docs/content/commands/npm-prune.md | 49 +- deps/npm/docs/content/commands/npm-publish.md | 53 +- deps/npm/docs/content/commands/npm-query.md | 26 - deps/npm/docs/content/commands/npm-rebuild.md | 46 +- deps/npm/docs/content/commands/npm-repo.md | 36 +- deps/npm/docs/content/commands/npm-restart.md | 20 - deps/npm/docs/content/commands/npm-root.md | 17 - .../docs/content/commands/npm-run-script.md | 44 +- deps/npm/docs/content/commands/npm-search.md | 47 - .../docs/content/commands/npm-set-script.md | 114 - .../docs/content/commands/npm-shrinkwrap.md | 9 - deps/npm/docs/content/commands/npm-star.md | 23 - deps/npm/docs/content/commands/npm-stars.md | 17 - deps/npm/docs/content/commands/npm-start.md | 20 - deps/npm/docs/content/commands/npm-stop.md | 20 - deps/npm/docs/content/commands/npm-team.md | 26 - deps/npm/docs/content/commands/npm-test.md | 20 - deps/npm/docs/content/commands/npm-token.md | 26 - .../docs/content/commands/npm-uninstall.md | 37 +- .../docs/content/commands/npm-unpublish.md | 26 - deps/npm/docs/content/commands/npm-unstar.md | 23 - deps/npm/docs/content/commands/npm-update.md | 113 +- deps/npm/docs/content/commands/npm-version.md | 58 +- deps/npm/docs/content/commands/npm-view.md | 32 +- deps/npm/docs/content/commands/npm-whoami.md | 17 - deps/npm/docs/content/commands/npm.md | 7 +- deps/npm/docs/content/commands/npx.md | 9 - .../docs/content/configuring-npm/folders.md | 50 +- .../npm/docs/content/configuring-npm/npmrc.md | 9 + .../content/configuring-npm/package-json.md | 27 +- deps/npm/docs/content/using-npm/config.md | 682 +-- .../content/using-npm/dependency-selectors.md | 43 +- deps/npm/docs/content/using-npm/logging.md | 21 +- .../docs/content/using-npm/package-spec.md | 7 +- 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/output/commands/npm-access.html | 47 +- .../npm/docs/output/commands/npm-adduser.html | 40 +- deps/npm/docs/output/commands/npm-audit.html | 50 +- deps/npm/docs/output/commands/npm-bugs.html | 25 +- deps/npm/docs/output/commands/npm-cache.html | 14 +- deps/npm/docs/output/commands/npm-ci.html | 91 +- .../docs/output/commands/npm-completion.html | 6 - deps/npm/docs/output/commands/npm-config.html | 27 +- deps/npm/docs/output/commands/npm-dedupe.html | 83 +- .../docs/output/commands/npm-deprecate.html | 14 - deps/npm/docs/output/commands/npm-diff.html | 36 - .../docs/output/commands/npm-dist-tag.html | 20 +- deps/npm/docs/output/commands/npm-docs.html | 28 +- deps/npm/docs/output/commands/npm-doctor.html | 12 - deps/npm/docs/output/commands/npm-edit.html | 16 +- deps/npm/docs/output/commands/npm-exec.html | 29 +- .../npm/docs/output/commands/npm-explain.html | 14 - .../npm/docs/output/commands/npm-explore.html | 12 - .../docs/output/commands/npm-find-dupes.html | 81 +- deps/npm/docs/output/commands/npm-fund.html | 30 +- .../docs/output/commands/npm-help-search.html | 12 - deps/npm/docs/output/commands/npm-help.html | 12 - deps/npm/docs/output/commands/npm-hook.html | 14 - deps/npm/docs/output/commands/npm-init.html | 24 - .../output/commands/npm-install-ci-test.html | 91 +- .../output/commands/npm-install-test.html | 91 +- .../npm/docs/output/commands/npm-install.html | 93 +- deps/npm/docs/output/commands/npm-link.html | 89 +- .../commands/{npm-bin.html => npm-login.html} | 83 +- deps/npm/docs/output/commands/npm-logout.html | 14 - deps/npm/docs/output/commands/npm-ls.html | 48 +- deps/npm/docs/output/commands/npm-org.html | 18 - .../docs/output/commands/npm-outdated.html | 22 - deps/npm/docs/output/commands/npm-owner.html | 18 - deps/npm/docs/output/commands/npm-pack.html | 22 - deps/npm/docs/output/commands/npm-ping.html | 12 - deps/npm/docs/output/commands/npm-pkg.html | 21 +- deps/npm/docs/output/commands/npm-prefix.html | 12 - .../npm/docs/output/commands/npm-profile.html | 18 - deps/npm/docs/output/commands/npm-prune.html | 36 +- .../npm/docs/output/commands/npm-publish.html | 42 +- deps/npm/docs/output/commands/npm-query.html | 18 - .../npm/docs/output/commands/npm-rebuild.html | 34 +- deps/npm/docs/output/commands/npm-repo.html | 27 +- .../npm/docs/output/commands/npm-restart.html | 14 - deps/npm/docs/output/commands/npm-root.html | 12 - .../docs/output/commands/npm-run-script.html | 33 +- deps/npm/docs/output/commands/npm-search.html | 32 - .../docs/output/commands/npm-set-script.html | 248 - .../docs/output/commands/npm-shrinkwrap.html | 6 - deps/npm/docs/output/commands/npm-star.html | 16 - deps/npm/docs/output/commands/npm-stars.html | 12 - deps/npm/docs/output/commands/npm-start.html | 14 - deps/npm/docs/output/commands/npm-stop.html | 14 - deps/npm/docs/output/commands/npm-team.html | 18 - deps/npm/docs/output/commands/npm-test.html | 14 - deps/npm/docs/output/commands/npm-token.html | 18 - .../docs/output/commands/npm-uninstall.html | 28 +- .../docs/output/commands/npm-unpublish.html | 18 - deps/npm/docs/output/commands/npm-unstar.html | 16 - deps/npm/docs/output/commands/npm-update.html | 95 +- .../npm/docs/output/commands/npm-version.html | 44 +- deps/npm/docs/output/commands/npm-view.html | 21 +- deps/npm/docs/output/commands/npm-whoami.html | 12 - deps/npm/docs/output/commands/npm.html | 6 +- deps/npm/docs/output/commands/npx.html | 6 - .../docs/output/configuring-npm/folders.html | 49 +- .../docs/output/configuring-npm/npmrc.html | 10 + .../output/configuring-npm/package-json.html | 27 +- deps/npm/docs/output/using-npm/config.html | 515 +- .../using-npm/dependency-selectors.html | 40 +- deps/npm/docs/output/using-npm/logging.html | 19 +- .../docs/output/using-npm/package-spec.html | 8 +- deps/npm/docs/output/using-npm/registry.html | 15 +- deps/npm/docs/output/using-npm/scope.html | 2 +- deps/npm/docs/output/using-npm/scripts.html | 10 +- 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 | 6 +- 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 | 10 +- 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 | 6 +- 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 | 17 +- deps/npm/lib/utils/config/definitions.js | 216 +- deps/npm/lib/utils/config/describe-all.js | 20 - deps/npm/lib/utils/config/flatten.js | 33 - deps/npm/lib/utils/config/index.js | 59 +- deps/npm/lib/utils/did-you-mean.js | 4 +- 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/log-file.js | 72 +- deps/npm/lib/utils/npm-usage.js | 60 +- 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/timers.js | 46 +- deps/npm/man/man1/npm-access.1 | 40 +- deps/npm/man/man1/npm-adduser.1 | 31 +- deps/npm/man/man1/npm-audit.1 | 18 +- deps/npm/man/man1/npm-bin.1 | 52 - deps/npm/man/man1/npm-bugs.1 | 9 +- deps/npm/man/man1/npm-cache.1 | 7 +- deps/npm/man/man1/npm-ci.1 | 60 +- deps/npm/man/man1/npm-completion.1 | 2 +- deps/npm/man/man1/npm-config.1 | 11 +- deps/npm/man/man1/npm-dedupe.1 | 56 +- deps/npm/man/man1/npm-deprecate.1 | 4 +- deps/npm/man/man1/npm-diff.1 | 2 +- deps/npm/man/man1/npm-dist-tag.1 | 8 +- deps/npm/man/man1/npm-docs.1 | 12 +- deps/npm/man/man1/npm-doctor.1 | 2 +- deps/npm/man/man1/npm-edit.1 | 6 +- deps/npm/man/man1/npm-exec.1 | 15 +- deps/npm/man/man1/npm-explain.1 | 4 +- deps/npm/man/man1/npm-explore.1 | 2 +- deps/npm/man/man1/npm-find-dupes.1 | 56 +- deps/npm/man/man1/npm-fund.1 | 14 +- deps/npm/man/man1/npm-help-search.1 | 2 +- deps/npm/man/man1/npm-help.1 | 4 +- deps/npm/man/man1/npm-hook.1 | 2 +- deps/npm/man/man1/npm-init.1 | 8 +- deps/npm/man/man1/npm-install-ci-test.1 | 56 +- deps/npm/man/man1/npm-install-test.1 | 56 +- deps/npm/man/man1/npm-install.1 | 80 +- deps/npm/man/man1/npm-link.1 | 64 +- deps/npm/man/man1/npm-login.1 | 104 + deps/npm/man/man1/npm-logout.1 | 2 +- deps/npm/man/man1/npm-ls.1 | 16 +- deps/npm/man/man1/npm-org.1 | 4 +- deps/npm/man/man1/npm-outdated.1 | 4 +- deps/npm/man/man1/npm-owner.1 | 6 +- deps/npm/man/man1/npm-pack.1 | 4 +- deps/npm/man/man1/npm-ping.1 | 2 +- deps/npm/man/man1/npm-pkg.1 | 7 +- deps/npm/man/man1/npm-prefix.1 | 4 +- deps/npm/man/man1/npm-profile.1 | 2 +- deps/npm/man/man1/npm-prune.1 | 10 +- deps/npm/man/man1/npm-publish.1 | 42 +- deps/npm/man/man1/npm-query.1 | 4 +- deps/npm/man/man1/npm-rebuild.1 | 12 +- deps/npm/man/man1/npm-repo.1 | 9 +- deps/npm/man/man1/npm-restart.1 | 2 +- deps/npm/man/man1/npm-root.1 | 2 +- deps/npm/man/man1/npm-run-script.1 | 11 +- deps/npm/man/man1/npm-search.1 | 2 +- deps/npm/man/man1/npm-set-script.1 | 116 - deps/npm/man/man1/npm-shrinkwrap.1 | 8 +- deps/npm/man/man1/npm-star.1 | 8 +- deps/npm/man/man1/npm-stars.1 | 2 +- deps/npm/man/man1/npm-start.1 | 4 +- deps/npm/man/man1/npm-stop.1 | 2 +- deps/npm/man/man1/npm-team.1 | 2 +- deps/npm/man/man1/npm-test.1 | 2 +- deps/npm/man/man1/npm-token.1 | 2 +- deps/npm/man/man1/npm-uninstall.1 | 12 +- deps/npm/man/man1/npm-unpublish.1 | 9 +- deps/npm/man/man1/npm-unstar.1 | 8 +- deps/npm/man/man1/npm-update.1 | 64 +- deps/npm/man/man1/npm-version.1 | 18 +- deps/npm/man/man1/npm-view.1 | 14 +- deps/npm/man/man1/npm-whoami.1 | 2 +- deps/npm/man/man1/npm.1 | 29 +- deps/npm/man/man1/npx.1 | 2 +- deps/npm/man/man5/folders.5 | 60 +- deps/npm/man/man5/install.5 | 2 +- deps/npm/man/man5/npm-global.5 | 224 + deps/npm/man/man5/npm-json.5 | 1300 +++++ deps/npm/man/man5/npm-shrinkwrap-json.5 | 11 +- deps/npm/man/man5/npmrc.5 | 23 +- deps/npm/man/man5/package-json.5 | 48 +- deps/npm/man/man5/package-lock-json.5 | 8 +- deps/npm/man/man7/config.7 | 299 +- deps/npm/man/man7/dependency-selectors.7 | 71 +- deps/npm/man/man7/developers.7 | 11 +- deps/npm/man/man7/logging.7 | 25 +- deps/npm/man/man7/orgs.7 | 2 +- deps/npm/man/man7/package-spec.7 | 13 +- deps/npm/man/man7/registry.7 | 17 +- deps/npm/man/man7/removal.7 | 2 +- deps/npm/man/man7/scope.7 | 6 +- deps/npm/man/man7/scripts.7 | 44 +- deps/npm/man/man7/workspaces.7 | 8 +- .../@npmcli/arborist/bin/lib/logging.js | 3 +- .../@npmcli/arborist/lib/add-rm-pkg-deps.js | 4 +- .../arborist/lib/arborist/build-ideal-tree.js | 31 +- .../@npmcli/arborist/lib/arborist/index.js | 1 + .../arborist/lib/arborist/load-actual.js | 429 +- .../@npmcli/arborist/lib/arborist/rebuild.js | 1 - .../@npmcli/arborist/lib/arborist/reify.js | 78 +- .../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 | 15 +- .../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 | 71 +- .../@npmcli/ci-detect/lib/index.js | 1 + .../@npmcli/ci-detect/package.json | 35 +- .../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 | 17 +- .../@npmcli/fs/lib/with-temp-dir.js | 10 +- deps/npm/node_modules/@npmcli/fs/package.json | 18 +- .../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/move-file/package.json | 17 +- .../@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/aggregate-error/readme.md | 61 - deps/npm/node_modules/ansi-regex/readme.md | 78 - deps/npm/node_modules/ansi-styles/readme.md | 152 - .../node_modules/buffer/AUTHORS.md | 73 + .../node_modules/buffer/LICENSE | 21 + .../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/base64-js/LICENSE | 21 + .../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/binary-extensions/readme.md | 41 - deps/npm/node_modules/builtins/Readme.md | 39 - .../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 | 116 +- 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 | 2 +- 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 | 33 +- deps/npm/node_modules/chalk/readme.md | 341 -- deps/npm/node_modules/clean-stack/readme.md | 76 - .../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/columnify/Readme.md | 475 -- .../debug/node_modules/ms/readme.md | 60 - deps/npm/node_modules/delegates/Readme.md | 94 - deps/npm/node_modules/depd/Readme.md | 280 -- deps/npm/node_modules/env-paths/readme.md | 115 - .../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 +- deps/npm/node_modules/has-flag/readme.md | 89 - .../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 | 357 +- .../hosted-git-info/lib/parse-url.js | 78 + .../node_modules/hosted-git-info/package.json | 19 +- deps/npm/node_modules/humanize-ms/History.md | 25 - deps/npm/node_modules/iconv-lite/Changelog.md | 212 - 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 +- deps/npm/node_modules/indent-string/readme.md | 70 - .../init-package-json/package.json | 27 +- deps/npm/node_modules/ip-regex/readme.md | 86 - .../is-fullwidth-code-point/readme.md | 39 - .../{ => 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 | 28 +- .../node_modules/libnpmdiff/lib/tarball.js | 6 +- deps/npm/node_modules/libnpmdiff/package.json | 30 +- .../libnpmexec/lib/file-exists.js | 4 +- deps/npm/node_modules/libnpmexec/lib/index.js | 28 +- .../node_modules/libnpmexec/lib/run-script.js | 1 - deps/npm/node_modules/libnpmexec/package.json | 41 +- deps/npm/node_modules/libnpmfund/package.json | 23 +- deps/npm/node_modules/libnpmhook/package.json | 23 +- deps/npm/node_modules/libnpmorg/package.json | 23 +- deps/npm/node_modules/libnpmpack/lib/index.js | 12 +- deps/npm/node_modules/libnpmpack/package.json | 29 +- deps/npm/node_modules/libnpmpublish/README.md | 4 +- .../node_modules/libnpmpublish/lib/publish.js | 5 +- .../node_modules/libnpmpublish/package.json | 31 +- .../node_modules/libnpmsearch/package.json | 23 +- deps/npm/node_modules/libnpmteam/package.json | 23 +- .../node_modules/libnpmversion/package.json | 29 +- .../make-fetch-happen/package.json | 25 +- .../node_modules/minipass-fetch/lib/body.js | 2 +- .../node_modules/minipass-fetch/package.json | 20 +- .../minipass-sized/package-lock.json | 3464 ------------- .../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/ms/readme.md | 59 - 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 +- .../node_modules/@npmcli/move-file/LICENSE.md | 22 + .../@npmcli/move-file/lib/index.js | 185 + .../@npmcli/move-file}/package.json | 42 +- .../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-gyp/node_modules/npmlog/package.json | 51 + .../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 | 2 +- .../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/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 .../package-lock.json | 3529 -------------- .../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/LICENSE | 15 - .../npm-normalize-package-bin/lib/index.js | 64 - .../node_modules/npm-packlist/package.json | 31 +- .../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/p-map/readme.md | 89 - 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 +- .../node_modules/path-is-absolute/readme.md | 59 - 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 + .../promise-all-reject-late/package-lock.json | 3447 ------------- .../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 +- deps/npm/node_modules/rimraf/CHANGELOG.md | 65 - deps/npm/node_modules/safer-buffer/Readme.md | 156 - 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/string-width/readme.md | 50 - deps/npm/node_modules/strip-ansi/readme.md | 45 - .../npm/node_modules/supports-color/readme.md | 76 - 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 +- .../node_modules/text-table/readme.markdown | 134 - 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/wcwidth/Readme.md | 33 - 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 | 184 +- .../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/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 | 4278 +++++++++++++++++ .../test/lib/load-all-commands.js.test.cjs | 1024 ---- .../tap-snapshots/test/lib/npm.js.test.cjs | 1039 ---- .../test/lib/utils/cmd-list.js.test.cjs | 491 -- .../lib/utils/config/definitions.js.test.cjs | 2006 -------- .../lib/utils/config/describe-all.js.test.cjs | 1996 -------- .../test/lib/utils/config/index.js.test.cjs | 139 - .../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 | 16 +- deps/npm/test/bin/windows-shims.js | 2 - deps/npm/test/fixtures/mock-logs.js | 58 +- deps/npm/test/fixtures/mock-npm.js | 17 +- deps/npm/test/fixtures/mock-registry.js | 99 +- 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 | 32 +- deps/npm/test/lib/commands/access.js | 659 ++- deps/npm/test/lib/commands/adduser.js | 311 +- deps/npm/test/lib/commands/audit.js | 31 +- 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 | 2 +- deps/npm/test/lib/commands/ci.js | 30 +- deps/npm/test/lib/commands/config.js | 277 +- deps/npm/test/lib/commands/deprecate.js | 9 +- 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 | 2 +- deps/npm/test/lib/commands/explain.js | 9 + deps/npm/test/lib/commands/explore.js | 3 + 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/publish.js | 105 +- 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/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/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 | 43 +- deps/npm/test/lib/docs.js | 98 + deps/npm/test/lib/lifecycle-cmd.js | 3 + deps/npm/test/lib/load-all-commands.js | 10 +- deps/npm/test/lib/npm.js | 189 +- deps/npm/test/lib/utils/cmd-list.js | 4 - deps/npm/test/lib/utils/config/definitions.js | 332 +- .../npm/test/lib/utils/config/describe-all.js | 6 - deps/npm/test/lib/utils/config/flatten.js | 38 - deps/npm/test/lib/utils/config/index.js | 71 +- 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 | 9 +- deps/npm/test/lib/utils/timers.js | 12 +- 882 files changed, 44236 insertions(+), 36335 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/lib/utils/config/describe-all.js delete mode 100644 deps/npm/lib/utils/config/flatten.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 create mode 100644 deps/npm/man/man5/npm-global.5 create mode 100644 deps/npm/man/man5/npm-json.5 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%) 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 delete mode 100644 deps/npm/node_modules/aggregate-error/readme.md delete mode 100644 deps/npm/node_modules/ansi-regex/readme.md delete mode 100644 deps/npm/node_modules/ansi-styles/readme.md create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/buffer/AUTHORS.md create mode 100644 deps/npm/node_modules/are-we-there-yet/node_modules/buffer/LICENSE 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 create mode 100644 deps/npm/node_modules/base64-js/LICENSE 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 delete mode 100644 deps/npm/node_modules/binary-extensions/readme.md delete mode 100644 deps/npm/node_modules/builtins/Readme.md create mode 100644 deps/npm/node_modules/cacache/lib/util/glob.js delete mode 100644 deps/npm/node_modules/chalk/readme.md delete mode 100644 deps/npm/node_modules/clean-stack/readme.md rename deps/npm/node_modules/cli-columns/{LICENSE => license} (100%) delete mode 100644 deps/npm/node_modules/columnify/Readme.md delete mode 100644 deps/npm/node_modules/debug/node_modules/ms/readme.md delete mode 100644 deps/npm/node_modules/delegates/Readme.md delete mode 100644 deps/npm/node_modules/depd/Readme.md delete mode 100644 deps/npm/node_modules/env-paths/readme.md 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 delete mode 100644 deps/npm/node_modules/has-flag/readme.md 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 create mode 100644 deps/npm/node_modules/hosted-git-info/lib/parse-url.js delete mode 100644 deps/npm/node_modules/humanize-ms/History.md delete mode 100644 deps/npm/node_modules/iconv-lite/Changelog.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 delete mode 100644 deps/npm/node_modules/indent-string/readme.md delete mode 100644 deps/npm/node_modules/ip-regex/readme.md delete mode 100644 deps/npm/node_modules/is-fullwidth-code-point/readme.md rename deps/npm/node_modules/json-parse-even-better-errors/{ => lib}/index.js (94%) delete mode 100644 deps/npm/node_modules/minipass-sized/package-lock.json 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 delete mode 100644 deps/npm/node_modules/ms/readme.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-packlist/node_modules/npm-normalize-package-bin => node-gyp/node_modules/@npmcli/fs}/package.json (60%) create mode 100644 deps/npm/node_modules/node-gyp/node_modules/@npmcli/move-file/LICENSE.md create mode 100644 deps/npm/node_modules/node-gyp/node_modules/@npmcli/move-file/lib/index.js rename deps/npm/node_modules/{npm-pick-manifest/node_modules/npm-normalize-package-bin => node-gyp/node_modules/@npmcli/move-file}/package.json (69%) 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/{npm-bundled/node_modules/npm-normalize-package-bin => 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 create mode 100644 deps/npm/node_modules/node-gyp/node_modules/npmlog/package.json 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-bundled/node_modules/npm-normalize-package-bin => node-gyp/node_modules/unique-filename}/package.json (68%) rename deps/npm/node_modules/{npm-pick-manifest/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/{@npmcli/installed-package-contents/node_modules/npm-bundled => node-gyp/node_modules/which}/LICENSE (93%) 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/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/package-lock.json 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/LICENSE 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/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 delete mode 100644 deps/npm/node_modules/p-map/readme.md delete mode 100644 deps/npm/node_modules/path-is-absolute/readme.md 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 delete mode 100644 deps/npm/node_modules/promise-all-reject-late/package-lock.json 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/rimraf/CHANGELOG.md delete mode 100644 deps/npm/node_modules/safer-buffer/Readme.md delete mode 100644 deps/npm/node_modules/string-width/readme.md delete mode 100644 deps/npm/node_modules/strip-ansi/readme.md delete mode 100644 deps/npm/node_modules/supports-color/readme.md delete mode 100644 deps/npm/node_modules/text-table/readme.markdown delete mode 100644 deps/npm/node_modules/wcwidth/Readme.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 create mode 100644 deps/npm/tap-snapshots/test/lib/docs.js.test.cjs delete mode 100644 deps/npm/tap-snapshots/test/lib/load-all-commands.js.test.cjs delete mode 100644 deps/npm/tap-snapshots/test/lib/npm.js.test.cjs delete mode 100644 deps/npm/tap-snapshots/test/lib/utils/cmd-list.js.test.cjs delete mode 100644 deps/npm/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs delete mode 100644 deps/npm/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs delete mode 100644 deps/npm/tap-snapshots/test/lib/utils/config/index.js.test.cjs 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 create mode 100644 deps/npm/test/lib/docs.js delete mode 100644 deps/npm/test/lib/utils/cmd-list.js delete mode 100644 deps/npm/test/lib/utils/config/describe-all.js delete mode 100644 deps/npm/test/lib/utils/config/flatten.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 f7a98af6547142..f2078e1c9c38dd 100644 --- a/deps/npm/docs/content/commands/npm-access.md +++ b/deps/npm/docs/content/commands/npm-access.md @@ -6,27 +6,16 @@ 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 Used to set access controls on private packages. @@ -88,18 +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` @@ -112,10 +100,12 @@ 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 diff --git a/deps/npm/docs/content/commands/npm-adduser.md b/deps/npm/docs/content/commands/npm-adduser.md index 700aecb2255b27..f0cd57be25a2b6 100644 --- a/deps/npm/docs/content/commands/npm-adduser.md +++ b/deps/npm/docs/content/commands/npm-adduser.md @@ -6,47 +6,25 @@ description: Add a registry user account ### Synopsis - - - - ```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)). - -The username, password, and email are read in from prompts. - -To reset your password, go to - -To change your email address, go to +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)). -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 - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -54,9 +32,6 @@ your existing record. The base URL of the npm registry. - - - #### `scope` * Default: the scope of the current project, if any, or "" @@ -87,24 +62,13 @@ 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`. - - - - - ### See Also * [npm registry](/using-npm/registry) diff --git a/deps/npm/docs/content/commands/npm-audit.md b/deps/npm/docs/content/commands/npm-audit.md index 48e0a3161e8f2c..25c733243660e9 100644 --- a/deps/npm/docs/content/commands/npm-audit.md +++ b/deps/npm/docs/content/commands/npm-audit.md @@ -6,19 +6,10 @@ description: Run a security audit ### Synopsis - - - - ```bash npm audit [fix|signatures] ``` - - - - - ### Description The audit command submits a description of the dependencies configured in @@ -109,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. @@ -188,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 @@ -247,9 +238,6 @@ $ npm audit --audit-level=moderate ### Configuration - - - #### `audit-level` * Default: null @@ -258,9 +246,6 @@ $ npm audit --audit-level=moderate The minimum level of vulnerability for `npm audit` to exit with a non-zero exit code. - - - #### `dry-run` * Default: false @@ -274,9 +259,6 @@ commands that modify your local installation, eg, `install`, `update`, Note: This is NOT honored by other network related commands, eg `dist-tags`, `owner`, etc. - - - #### `force` * Default: false @@ -303,9 +285,6 @@ mistakes, unnecessary performance degradation, and malicious input. If you don't have a clear idea of what you want to do, it is strongly recommended that you do not use this option! - - - #### `json` * Default: false @@ -318,9 +297,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `package-lock-only` * Default: false @@ -335,9 +311,6 @@ instead of checking `node_modules` and downloading dependencies. For `list` this means the output will be based on the tree described by the `package-lock.json`, rather than the contents of `node_modules`. - - - #### `omit` * Default: 'dev' if the `NODE_ENV` environment variable is set to @@ -356,9 +329,6 @@ it will be included. If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment variable will be set to `'production'` for all lifecycle scripts. - - - #### `foreground-scripts` * Default: false @@ -371,9 +341,6 @@ input, output, and error with the main npm process. Note that this will generally make installs run slower, and be much noisier, but can be useful for debugging. - - - #### `ignore-scripts` * Default: false @@ -386,9 +353,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `workspace` * Default: @@ -411,9 +375,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -432,9 +393,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -448,22 +406,14 @@ the specified workspaces, and not on the root project. 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 94b72cfd5c81ce..00000000000000 --- a/deps/npm/docs/content/commands/npm-bin.md +++ /dev/null @@ -1,58 +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 6b45f1f18ac660..1f135fc6c933a9 100644 --- a/deps/npm/docs/content/commands/npm-bugs.md +++ b/deps/npm/docs/content/commands/npm-bugs.md @@ -6,33 +6,22 @@ description: Report bugs for a package in a web browser ### Synopsis - - - - ```bash npm bugs [ [ ...]] alias: issues ``` - - - - - ### Description 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 - - - #### `browser` * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` @@ -45,9 +34,6 @@ terminal. Set to `true` to use default system URL opener. - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -55,9 +41,6 @@ Set to `true` to use default system URL opener. The base URL of the npm registry. - - - #### `workspace` * Default: @@ -80,9 +63,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -101,9 +81,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -117,11 +94,6 @@ the specified workspaces, and not on the root project. This value is not exported to the environment for child processes. - - - - - ### See Also * [npm docs](/commands/npm-docs) diff --git a/deps/npm/docs/content/commands/npm-cache.md b/deps/npm/docs/content/commands/npm-cache.md index b5eddd46c05a7d..a9d76179e81162 100644 --- a/deps/npm/docs/content/commands/npm-cache.md +++ b/deps/npm/docs/content/commands/npm-cache.md @@ -6,10 +6,6 @@ description: Manipulates packages cache ### Synopsis - - - - ```bash npm cache add npm cache clean [] @@ -17,11 +13,6 @@ npm cache ls [@] npm cache verify ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -79,21 +70,12 @@ verify`. ### Configuration - - - #### `cache` * 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 3ecd7c6efb0957..4a5caf7d0c691f 100644 --- a/deps/npm/docs/content/commands/npm-ci.md +++ b/deps/npm/docs/content/commands/npm-ci.md @@ -6,21 +6,12 @@ description: Clean install a project ### Synopsis - - - - ```bash npm ci aliases: clean-install, ic, install-clean, isntall-clean ``` - - - - - ### Description This command is similar to [`npm install`](/commands/npm-install), except @@ -81,9 +72,6 @@ cache: ### Configuration - - - #### `save` * Default: `true` unless when using `npm update` where it defaults to `false` @@ -96,9 +84,6 @@ When used with the `npm rm` command, removes the dependency from Will also prevent writing to `package-lock.json` if set to `false`. - - - #### `save-exact` * Default: false @@ -107,9 +92,6 @@ Will also prevent writing to `package-lock.json` if set to `false`. Dependencies saved to package.json will be configured with an exact version rather than using npm's default semver range operator. - - - #### `global` * Default: false @@ -124,36 +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` - - +#### `install-strategy` -#### `global-style` +* 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` @@ -173,9 +158,6 @@ it will be included. If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment variable will be set to `'production'` for all lifecycle scripts. - - - #### `strict-peer-deps` * Default: false @@ -195,9 +177,6 @@ When such and override is performed, a warning is printed, explaining the conflict and the packages involved. If `--strict-peer-deps` is set, then this warning is treated as a failure. - - - #### `package-lock` * Default: true @@ -208,9 +187,6 @@ will also prevent _writing_ `package-lock.json` if `save` is true. This configuration does not affect `npm ci`. - - - #### `foreground-scripts` * Default: false @@ -223,9 +199,6 @@ input, output, and error with the main npm process. Note that this will generally make installs run slower, and be much noisier, but can be useful for debugging. - - - #### `ignore-scripts` * Default: false @@ -238,9 +211,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `audit` * Default: true @@ -251,9 +221,6 @@ default registry and all registries configured for scopes. See the documentation for [`npm audit`](/commands/npm-audit) for details on what is submitted. - - - #### `bin-links` * Default: true @@ -266,9 +233,6 @@ Set to false to have it not do this. This can be used to work around the fact that some file systems don't support symlinks, even on ostensibly Unix systems. - - - #### `fund` * Default: true @@ -278,9 +242,6 @@ When "true" displays the message at the end of each `npm install` acknowledging the number of dependencies looking for funding. See [`npm fund`](/commands/npm-fund) for details. - - - #### `dry-run` * Default: false @@ -294,9 +255,6 @@ commands that modify your local installation, eg, `install`, `update`, Note: This is NOT honored by other network related commands, eg `dist-tags`, `owner`, etc. - - - #### `workspace` * Default: @@ -319,9 +277,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -340,9 +295,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -356,22 +308,14 @@ the specified workspaces, and not on the root project. 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-completion.md b/deps/npm/docs/content/commands/npm-completion.md index d73a98f2e50f78..8cbc71306c851a 100644 --- a/deps/npm/docs/content/commands/npm-completion.md +++ b/deps/npm/docs/content/commands/npm-completion.md @@ -6,19 +6,10 @@ description: Tab Completion for npm ### Synopsis - - - - ```bash npm completion ``` - - - - - Note: This command is unaware of workspaces. ### Description diff --git a/deps/npm/docs/content/commands/npm-config.md b/deps/npm/docs/content/commands/npm-config.md index 28c6003571de5f..b2ac3799fa78a1 100644 --- a/deps/npm/docs/content/commands/npm-config.md +++ b/deps/npm/docs/content/commands/npm-config.md @@ -6,25 +6,17 @@ description: Manage the npm configuration files ### Synopsis - - - - ```bash npm config set = [= ...] npm config get [ [ ...]] npm config delete [ ...] npm config list [--json] npm config edit +npm config fix alias: c ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -35,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 @@ -102,9 +94,6 @@ global config. ### Configuration - - - #### `json` * Default: false @@ -117,9 +106,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `global` * Default: false @@ -134,20 +120,14 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` - - - #### `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`. - - - #### `location` * Default: "user" unless `--global` is passed, which will also set this value @@ -165,9 +145,6 @@ instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` - - - #### `long` * Default: false @@ -175,11 +152,6 @@ instead of the current working directory. See Show extended information in `ls`, `search`, and `help-search`. - - - - - ### See Also * [npm folders](/configuring-npm/folders) diff --git a/deps/npm/docs/content/commands/npm-dedupe.md b/deps/npm/docs/content/commands/npm-dedupe.md index 570e018342f276..80353bad5d0d7a 100644 --- a/deps/npm/docs/content/commands/npm-dedupe.md +++ b/deps/npm/docs/content/commands/npm-dedupe.md @@ -6,21 +6,12 @@ description: Reduce duplication in the package tree ### Synopsis - - - - ```bash npm dedupe alias: ddp ``` - - - - - ### Description Searches the local package tree and attempts to simplify the overall @@ -86,36 +77,39 @@ values in `package.json` you can run: `npm update --save` instead. ### Configuration - - - -#### `global-style` - -* Default: false -* Type: Boolean +#### `install-strategy` -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. +* 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 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. +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`. - - +#### `global-style` + +* Default: false +* Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=shallow` + +Only install direct dependencies in the top level `node_modules`, but hoist +on deeper dependendencies. Sets `--install-strategy=shallow`. #### `strict-peer-deps` @@ -136,9 +130,6 @@ When such and override is performed, a warning is printed, explaining the conflict and the packages involved. If `--strict-peer-deps` is set, then this warning is treated as a failure. - - - #### `package-lock` * Default: true @@ -149,9 +140,6 @@ will also prevent _writing_ `package-lock.json` if `save` is true. This configuration does not affect `npm ci`. - - - #### `omit` * Default: 'dev' if the `NODE_ENV` environment variable is set to @@ -170,9 +158,6 @@ it will be included. If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment variable will be set to `'production'` for all lifecycle scripts. - - - #### `ignore-scripts` * Default: false @@ -185,9 +170,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `audit` * Default: true @@ -198,9 +180,6 @@ default registry and all registries configured for scopes. See the documentation for [`npm audit`](/commands/npm-audit) for details on what is submitted. - - - #### `bin-links` * Default: true @@ -213,9 +192,6 @@ Set to false to have it not do this. This can be used to work around the fact that some file systems don't support symlinks, even on ostensibly Unix systems. - - - #### `fund` * Default: true @@ -225,9 +201,6 @@ When "true" displays the message at the end of each `npm install` acknowledging the number of dependencies looking for funding. See [`npm fund`](/commands/npm-fund) for details. - - - #### `dry-run` * Default: false @@ -241,9 +214,6 @@ commands that modify your local installation, eg, `install`, `update`, Note: This is NOT honored by other network related commands, eg `dist-tags`, `owner`, etc. - - - #### `workspace` * Default: @@ -266,9 +236,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -287,9 +254,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -303,22 +267,14 @@ the specified workspaces, and not on the root project. 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-deprecate.md b/deps/npm/docs/content/commands/npm-deprecate.md index 20f65140fc735f..146aab88c5bf74 100644 --- a/deps/npm/docs/content/commands/npm-deprecate.md +++ b/deps/npm/docs/content/commands/npm-deprecate.md @@ -6,19 +6,10 @@ description: Deprecate a version of a package ### Synopsis - - - - ```bash npm deprecate ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -51,9 +42,6 @@ format an empty string. ### Configuration - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -61,9 +49,6 @@ format an empty string. The base URL of the npm registry. - - - #### `otp` * Default: null @@ -75,11 +60,6 @@ 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. - - - - - ### See Also * [package spec](/using-npm/package-spec) diff --git a/deps/npm/docs/content/commands/npm-diff.md b/deps/npm/docs/content/commands/npm-diff.md index 7dcc8af7c3b4c7..852fcf3d066148 100644 --- a/deps/npm/docs/content/commands/npm-diff.md +++ b/deps/npm/docs/content/commands/npm-diff.md @@ -6,19 +6,10 @@ description: The registry diff command ### Synopsis - - - - ```bash npm diff [...] ``` - - - - - ### Description Similar to its `git diff` counterpart, this command will print diff patches @@ -158,9 +149,6 @@ located within the folder `./lib/` and changed lines of code within the ### Configuration - - - #### `diff` * Default: @@ -168,9 +156,6 @@ located within the folder `./lib/` and changed lines of code within the Define arguments to compare in `npm diff`. - - - #### `diff-name-only` * Default: false @@ -178,9 +163,6 @@ Define arguments to compare in `npm diff`. Prints only filenames when using `npm diff`. - - - #### `diff-unified` * Default: 3 @@ -188,9 +170,6 @@ Prints only filenames when using `npm diff`. The number of lines of context to print in `npm diff`. - - - #### `diff-ignore-all-space` * Default: false @@ -198,9 +177,6 @@ The number of lines of context to print in `npm diff`. Ignore whitespace when comparing lines in `npm diff`. - - - #### `diff-no-prefix` * Default: false @@ -211,9 +187,6 @@ Do not show any source or destination prefix in `npm diff` output. Note: this causes `npm diff` to ignore the `--diff-src-prefix` and `--diff-dst-prefix` configs. - - - #### `diff-src-prefix` * Default: "a/" @@ -221,9 +194,6 @@ Note: this causes `npm diff` to ignore the `--diff-src-prefix` and Source prefix to be used in `npm diff` output. - - - #### `diff-dst-prefix` * Default: "b/" @@ -231,9 +201,6 @@ Source prefix to be used in `npm diff` output. Destination prefix to be used in `npm diff` output. - - - #### `diff-text` * Default: false @@ -241,9 +208,6 @@ Destination prefix to be used in `npm diff` output. Treat all files as text in `npm diff`. - - - #### `global` * Default: false @@ -258,9 +222,6 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` - - - #### `tag` * Default: "latest" @@ -275,9 +236,6 @@ command, if no explicit tag is given. When used by the `npm diff` command, this is the tag used to fetch the tarball that will be compared with the local files by default. - - - #### `workspace` * Default: @@ -300,9 +258,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -321,9 +276,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -336,11 +288,6 @@ all workspaces via the `workspaces` flag, will cause npm to operate only on the specified workspaces, and not on the root project. This value is not exported to the environment for child processes. - - - - - ## See Also * [npm outdated](/commands/npm-outdated) diff --git a/deps/npm/docs/content/commands/npm-dist-tag.md b/deps/npm/docs/content/commands/npm-dist-tag.md index 123e67dbf3b235..e4a7fba665db38 100644 --- a/deps/npm/docs/content/commands/npm-dist-tag.md +++ b/deps/npm/docs/content/commands/npm-dist-tag.md @@ -6,10 +6,6 @@ description: Modify package distribution tags ### Synopsis - - - - ```bash npm dist-tag add [] npm dist-tag rm @@ -18,18 +14,13 @@ npm dist-tag ls [] alias: dist-tags ``` - - - - - ### Description 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. @@ -99,9 +90,6 @@ not begin with a number or the letter `v`. ### Configuration - - - #### `workspace` * Default: @@ -124,9 +112,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -145,9 +130,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -161,11 +143,6 @@ the specified workspaces, and not on the root project. This value is not exported to the environment for child processes. - - - - - ### See Also * [package spec](/using-npm/package-spec) diff --git a/deps/npm/docs/content/commands/npm-docs.md b/deps/npm/docs/content/commands/npm-docs.md index 790d563bdb1fb7..027a101d121e6b 100644 --- a/deps/npm/docs/content/commands/npm-docs.md +++ b/deps/npm/docs/content/commands/npm-docs.md @@ -6,34 +6,22 @@ description: Open documentation for a package in a web browser ### Synopsis - - - - ```bash npm docs [ [ ...]] 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 - - - #### `browser` * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` @@ -46,9 +34,6 @@ terminal. Set to `true` to use default system URL opener. - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -56,9 +41,6 @@ Set to `true` to use default system URL opener. The base URL of the npm registry. - - - #### `workspace` * Default: @@ -81,9 +63,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -102,9 +81,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -118,11 +94,6 @@ the specified workspaces, and not on the root project. This value is not exported to the environment for child processes. - - - - - ### See Also * [npm view](/commands/npm-view) diff --git a/deps/npm/docs/content/commands/npm-doctor.md b/deps/npm/docs/content/commands/npm-doctor.md index 7fb63bab16e835..34d925bce91019 100644 --- a/deps/npm/docs/content/commands/npm-doctor.md +++ b/deps/npm/docs/content/commands/npm-doctor.md @@ -6,19 +6,10 @@ description: Check your npm environment ### Synopsis - - - - ```bash npm doctor ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -113,9 +104,6 @@ reset the cache. ### Configuration - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -123,11 +111,6 @@ reset the cache. The base URL of the npm registry. - - - - - ### See Also * [npm bugs](/commands/npm-bugs) diff --git a/deps/npm/docs/content/commands/npm-edit.md b/deps/npm/docs/content/commands/npm-edit.md index 39fc49592c571c..04a4d15b5afcd9 100644 --- a/deps/npm/docs/content/commands/npm-edit.md +++ b/deps/npm/docs/content/commands/npm-edit.md @@ -6,19 +6,10 @@ description: Edit an installed package ### Synopsis - - - - ```bash npm edit [/...] ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -36,22 +27,14 @@ changes to your locally installed copy. ### Configuration - - - #### `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`. - - - - - ### See Also * [npm folders](/configuring-npm/folders) diff --git a/deps/npm/docs/content/commands/npm-exec.md b/deps/npm/docs/content/commands/npm-exec.md index 3d8de1ea54ad6f..d31e9634af9523 100644 --- a/deps/npm/docs/content/commands/npm-exec.md +++ b/deps/npm/docs/content/commands/npm-exec.md @@ -6,10 +6,6 @@ description: Run a command from a local or remote npm package ### Synopsis - - - - ```bash npm exec -- [@] [args...] npm exec --package=[@] -- [args...] @@ -19,11 +15,6 @@ npm exec --package=foo -c ' [args...]' alias: x ``` - - - - - ### Description This command allows you to run an arbitrary command from an npm package @@ -119,9 +110,6 @@ $ npm exec -- foo@latest bar --package=@npmcli/foo ### Configuration - - - #### `package` * Default: @@ -129,9 +117,6 @@ $ npm exec -- foo@latest bar --package=@npmcli/foo The package or packages to install for [`npm exec`](/commands/npm-exec) - - - #### `call` * Default: "" @@ -145,9 +130,6 @@ npm exec --package yo --package generator-node --call "yo node" ``` - - - #### `workspace` * Default: @@ -170,9 +152,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -191,9 +170,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -207,11 +183,6 @@ the specified workspaces, and not on the root project. This value is not exported to the environment for child processes. - - - - - ### Examples Run the version of `tap` in the local dependencies, with the provided @@ -240,7 +211,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 @@ -271,9 +243,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-explain.md b/deps/npm/docs/content/commands/npm-explain.md index 5ba2fe8206ba16..382429ad7e978f 100644 --- a/deps/npm/docs/content/commands/npm-explain.md +++ b/deps/npm/docs/content/commands/npm-explain.md @@ -6,21 +6,12 @@ description: Explain installed packages ### Synopsis - - - - ```bash npm explain alias: why ``` - - - - - ### Description This command will print the chain of dependencies causing a given package @@ -64,9 +55,6 @@ node_modules/nyc/node_modules/find-up ``` ### Configuration - - - #### `json` * Default: false @@ -79,9 +67,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `workspace` * Default: @@ -104,11 +89,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - - - ### See Also * [package spec](/using-npm/package-spec) diff --git a/deps/npm/docs/content/commands/npm-explore.md b/deps/npm/docs/content/commands/npm-explore.md index 90753c7e09199f..cc312a0d28c67a 100644 --- a/deps/npm/docs/content/commands/npm-explore.md +++ b/deps/npm/docs/content/commands/npm-explore.md @@ -6,19 +6,10 @@ description: Browse an installed package ### Synopsis - - - - ```bash npm explore [ -- ] ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -40,9 +31,6 @@ sure to use `npm rebuild ` if you make any changes. ### Configuration - - - #### `shell` * Default: SHELL environment variable, or "bash" on Posix, or "cmd.exe" on @@ -51,11 +39,6 @@ sure to use `npm rebuild ` if you make any changes. The shell to run for the `npm explore` command. - - - - - ### See Also * [npm folders](/configuring-npm/folders) diff --git a/deps/npm/docs/content/commands/npm-find-dupes.md b/deps/npm/docs/content/commands/npm-find-dupes.md index 4da6c296c6bf6d..a3ef44eb5b7fb1 100644 --- a/deps/npm/docs/content/commands/npm-find-dupes.md +++ b/deps/npm/docs/content/commands/npm-find-dupes.md @@ -6,19 +6,10 @@ description: Find duplication in the package tree ### Synopsis - - - - ```bash npm find-dupes ``` - - - - - ### Description Runs `npm dedupe` in `--dry-run` mode, making npm only output the @@ -26,36 +17,39 @@ duplications, without actually changing the package tree. ### Configuration - - - -#### `global-style` - -* Default: false -* Type: Boolean +#### `install-strategy` -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. +* 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 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. +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`. - - +#### `global-style` + +* Default: false +* Type: Boolean +* DEPRECATED: This option has been deprecated in favor of + `--install-strategy=shallow` + +Only install direct dependencies in the top level `node_modules`, but hoist +on deeper dependendencies. Sets `--install-strategy=shallow`. #### `strict-peer-deps` @@ -76,9 +70,6 @@ When such and override is performed, a warning is printed, explaining the conflict and the packages involved. If `--strict-peer-deps` is set, then this warning is treated as a failure. - - - #### `package-lock` * Default: true @@ -89,9 +80,6 @@ will also prevent _writing_ `package-lock.json` if `save` is true. This configuration does not affect `npm ci`. - - - #### `omit` * Default: 'dev' if the `NODE_ENV` environment variable is set to @@ -110,9 +98,6 @@ it will be included. If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment variable will be set to `'production'` for all lifecycle scripts. - - - #### `ignore-scripts` * Default: false @@ -125,9 +110,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `audit` * Default: true @@ -138,9 +120,6 @@ default registry and all registries configured for scopes. See the documentation for [`npm audit`](/commands/npm-audit) for details on what is submitted. - - - #### `bin-links` * Default: true @@ -153,9 +132,6 @@ Set to false to have it not do this. This can be used to work around the fact that some file systems don't support symlinks, even on ostensibly Unix systems. - - - #### `fund` * Default: true @@ -165,9 +141,6 @@ When "true" displays the message at the end of each `npm install` acknowledging the number of dependencies looking for funding. See [`npm fund`](/commands/npm-fund) for details. - - - #### `workspace` * Default: @@ -190,9 +163,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -211,9 +181,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -227,22 +194,14 @@ the specified workspaces, and not on the root project. 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 8db0ce910de967..0db66f49ad65b1 100644 --- a/deps/npm/docs/content/commands/npm-fund.md +++ b/deps/npm/docs/content/commands/npm-fund.md @@ -6,28 +6,20 @@ description: Retrieve funding information ### Synopsis - - - - ```bash npm fund [] ``` - - - - - ### Description 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 @@ -38,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: @@ -72,9 +65,6 @@ test-workspaces-fund@1.0.0 ### Configuration - - - #### `json` * Default: false @@ -87,9 +77,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `browser` * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` @@ -102,9 +89,6 @@ terminal. Set to `true` to use default system URL opener. - - - #### `unicode` * Default: false on windows, true on mac/unix systems with a unicode locale, @@ -114,9 +98,6 @@ Set to `true` to use default system URL opener. When set to true, npm uses unicode characters in the tree output. When false, it uses ascii characters instead of unicode glyphs. - - - #### `workspace` * Default: @@ -139,9 +120,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `which` * Default: null @@ -149,11 +127,6 @@ This value is not exported to the environment for child processes. If there are multiple funding sources, which 1-indexed source URL to open. - - - - - ## See Also * [package spec](/using-npm/package-spec) diff --git a/deps/npm/docs/content/commands/npm-help-search.md b/deps/npm/docs/content/commands/npm-help-search.md index 152f9f6bec16f1..d92ea03aefb1dd 100644 --- a/deps/npm/docs/content/commands/npm-help-search.md +++ b/deps/npm/docs/content/commands/npm-help-search.md @@ -6,19 +6,10 @@ description: Search npm help documentation ### Synopsis - - - - ```bash npm help-search ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -34,9 +25,6 @@ directly. ### Configuration - - - #### `long` * Default: false @@ -44,11 +32,6 @@ directly. Show extended information in `ls`, `search`, and `help-search`. - - - - - ### See Also * [npm](/commands/npm) diff --git a/deps/npm/docs/content/commands/npm-help.md b/deps/npm/docs/content/commands/npm-help.md index 83c595db696b9c..48af6da7fa08d2 100644 --- a/deps/npm/docs/content/commands/npm-help.md +++ b/deps/npm/docs/content/commands/npm-help.md @@ -6,21 +6,12 @@ description: Get help on npm ### Synopsis - - - - ```bash npm help [] alias: hlep ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -34,9 +25,6 @@ topic, so unique matches are equivalent to specifying a topic name. ### Configuration - - - #### `viewer` * Default: "man" on Posix, "browser" on Windows @@ -46,11 +34,6 @@ The program to use to view help content. Set to `"browser"` to view html help content in the default web browser. - - - - - ### See Also * [npm](/commands/npm) diff --git a/deps/npm/docs/content/commands/npm-hook.md b/deps/npm/docs/content/commands/npm-hook.md index 4a9805d02f9d43..1304512e33a674 100644 --- a/deps/npm/docs/content/commands/npm-hook.md +++ b/deps/npm/docs/content/commands/npm-hook.md @@ -6,10 +6,6 @@ description: Manage registry hooks ### Synopsis - - - - ```bash npm hook add [--type=] npm hook ls [pkg] @@ -17,11 +13,6 @@ npm hook rm npm hook update ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -94,9 +85,6 @@ $ npm hook rm id-deadbeef ### Configuration - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -104,9 +92,6 @@ $ npm hook rm id-deadbeef The base URL of the npm registry. - - - #### `otp` * Default: null @@ -118,11 +103,6 @@ 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. - - - - - ### See Also * ["Introducing Hooks" blog post](https://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm) diff --git a/deps/npm/docs/content/commands/npm-init.md b/deps/npm/docs/content/commands/npm-init.md index f3124a7768dfce..cf8bb3936acea5 100644 --- a/deps/npm/docs/content/commands/npm-init.md +++ b/deps/npm/docs/content/commands/npm-init.md @@ -6,10 +6,6 @@ description: Create a package.json file ### Synopsis - - - - ```bash npm init (same as `npx ) npm init <@scope> (same as `npx <@scope>/create`) @@ -17,11 +13,6 @@ npm init <@scope> (same as `npx <@scope>/create`) aliases: create, innit ``` - - - - - ### Description `npm init ` can be used to set up a new or existing npm @@ -165,9 +156,6 @@ dot to represent the current directory in that context, e.g: `react-app .`: ### Configuration - - - #### `yes` * Default: null @@ -176,9 +164,6 @@ dot to represent the current directory in that context, e.g: `react-app .`: Automatically answer "yes" to any prompts that npm might print on the command line. - - - #### `force` * Default: false @@ -205,9 +190,6 @@ mistakes, unnecessary performance degradation, and malicious input. If you don't have a clear idea of what you want to do, it is strongly recommended that you do not use this option! - - - #### `scope` * Default: the scope of the current project, if any, or "" @@ -238,9 +220,6 @@ npm init --scope=@foo --yes ``` - - - #### `workspace` * Default: @@ -263,9 +242,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -284,9 +260,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `workspaces-update` * Default: true @@ -295,9 +268,6 @@ This value is not exported to the environment for child processes. If set to true, the npm cli will run an update after operations that may possibly change the workspaces installed to the `node_modules` folder. - - - #### `include-workspace-root` * Default: false @@ -311,11 +281,6 @@ the specified workspaces, and not on the root project. This value is not exported to the environment for child processes. - - - - - ### See Also * [package spec](/using-npm/package-spec) 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 b886f8ab9599ad..9fd7c267b102f5 100644 --- a/deps/npm/docs/content/commands/npm-install-ci-test.md +++ b/deps/npm/docs/content/commands/npm-install-ci-test.md @@ -6,30 +6,18 @@ description: Install a project with a clean slate and run tests ### Synopsis - - - - ```bash npm install-ci-test alias: cit ``` - - - - - ### Description This command runs `npm ci` followed immediately by `npm test`. ### Configuration - - - #### `save` * Default: `true` unless when using `npm update` where it defaults to `false` @@ -42,9 +30,6 @@ When used with the `npm rm` command, removes the dependency from Will also prevent writing to `package-lock.json` if set to `false`. - - - #### `save-exact` * Default: false @@ -53,9 +38,6 @@ Will also prevent writing to `package-lock.json` if set to `false`. Dependencies saved to package.json will be configured with an exact version rather than using npm's default semver range operator. - - - #### `global` * Default: false @@ -70,36 +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` - - +#### `install-strategy` -#### `global-style` +* 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` @@ -119,9 +104,6 @@ it will be included. If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment variable will be set to `'production'` for all lifecycle scripts. - - - #### `strict-peer-deps` * Default: false @@ -141,9 +123,6 @@ When such and override is performed, a warning is printed, explaining the conflict and the packages involved. If `--strict-peer-deps` is set, then this warning is treated as a failure. - - - #### `package-lock` * Default: true @@ -154,9 +133,6 @@ will also prevent _writing_ `package-lock.json` if `save` is true. This configuration does not affect `npm ci`. - - - #### `foreground-scripts` * Default: false @@ -169,9 +145,6 @@ input, output, and error with the main npm process. Note that this will generally make installs run slower, and be much noisier, but can be useful for debugging. - - - #### `ignore-scripts` * Default: false @@ -184,9 +157,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `audit` * Default: true @@ -197,9 +167,6 @@ default registry and all registries configured for scopes. See the documentation for [`npm audit`](/commands/npm-audit) for details on what is submitted. - - - #### `bin-links` * Default: true @@ -212,9 +179,6 @@ Set to false to have it not do this. This can be used to work around the fact that some file systems don't support symlinks, even on ostensibly Unix systems. - - - #### `fund` * Default: true @@ -224,9 +188,6 @@ When "true" displays the message at the end of each `npm install` acknowledging the number of dependencies looking for funding. See [`npm fund`](/commands/npm-fund) for details. - - - #### `dry-run` * Default: false @@ -240,9 +201,6 @@ commands that modify your local installation, eg, `install`, `update`, Note: This is NOT honored by other network related commands, eg `dist-tags`, `owner`, etc. - - - #### `workspace` * Default: @@ -265,9 +223,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -286,9 +241,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -302,22 +254,14 @@ the specified workspaces, and not on the root project. 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 d27686e731ce16..5642472630b530 100644 --- a/deps/npm/docs/content/commands/npm-install-test.md +++ b/deps/npm/docs/content/commands/npm-install-test.md @@ -6,21 +6,12 @@ description: Install package(s) and run tests ### Synopsis - - - - ```bash npm install-test [ ...] alias: it ``` - - - - - ### Description This command runs an `npm install` followed immediately by an `npm test`. It @@ -28,9 +19,6 @@ takes exactly the same arguments as `npm install`. ### Configuration - - - #### `save` * Default: `true` unless when using `npm update` where it defaults to `false` @@ -43,9 +31,6 @@ When used with the `npm rm` command, removes the dependency from Will also prevent writing to `package-lock.json` if set to `false`. - - - #### `save-exact` * Default: false @@ -54,9 +39,6 @@ Will also prevent writing to `package-lock.json` if set to `false`. Dependencies saved to package.json will be configured with an exact version rather than using npm's default semver range operator. - - - #### `global` * Default: false @@ -71,36 +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` - - +#### `install-strategy` -#### `global-style` +* 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` @@ -120,9 +105,6 @@ it will be included. If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment variable will be set to `'production'` for all lifecycle scripts. - - - #### `strict-peer-deps` * Default: false @@ -142,9 +124,6 @@ When such and override is performed, a warning is printed, explaining the conflict and the packages involved. If `--strict-peer-deps` is set, then this warning is treated as a failure. - - - #### `package-lock` * Default: true @@ -155,9 +134,6 @@ will also prevent _writing_ `package-lock.json` if `save` is true. This configuration does not affect `npm ci`. - - - #### `foreground-scripts` * Default: false @@ -170,9 +146,6 @@ input, output, and error with the main npm process. Note that this will generally make installs run slower, and be much noisier, but can be useful for debugging. - - - #### `ignore-scripts` * Default: false @@ -185,9 +158,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `audit` * Default: true @@ -198,9 +168,6 @@ default registry and all registries configured for scopes. See the documentation for [`npm audit`](/commands/npm-audit) for details on what is submitted. - - - #### `bin-links` * Default: true @@ -213,9 +180,6 @@ Set to false to have it not do this. This can be used to work around the fact that some file systems don't support symlinks, even on ostensibly Unix systems. - - - #### `fund` * Default: true @@ -225,9 +189,6 @@ When "true" displays the message at the end of each `npm install` acknowledging the number of dependencies looking for funding. See [`npm fund`](/commands/npm-fund) for details. - - - #### `dry-run` * Default: false @@ -241,9 +202,6 @@ commands that modify your local installation, eg, `install`, `update`, Note: This is NOT honored by other network related commands, eg `dist-tags`, `owner`, etc. - - - #### `workspace` * Default: @@ -266,9 +224,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -287,9 +242,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -303,22 +255,14 @@ the specified workspaces, and not on the root project. 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 35e0df22777336..3604aab4b940f2 100644 --- a/deps/npm/docs/content/commands/npm-install.md +++ b/deps/npm/docs/content/commands/npm-install.md @@ -6,21 +6,12 @@ description: Install a package ### Synopsis - - - - ```bash npm install [ ...] aliases: add, i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall ``` - - - - - ### Description This command installs a package and any packages that it depends on. If the @@ -127,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. @@ -418,9 +409,6 @@ does. These are some of the most common options related to installation. - - - #### `save` * Default: `true` unless when using `npm update` where it defaults to `false` @@ -433,9 +421,6 @@ When used with the `npm rm` command, removes the dependency from Will also prevent writing to `package-lock.json` if set to `false`. - - - #### `save-exact` * Default: false @@ -444,9 +429,6 @@ Will also prevent writing to `package-lock.json` if set to `false`. Dependencies saved to package.json will be configured with an exact version rather than using npm's default semver range operator. - - - #### `global` * Default: false @@ -461,36 +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` - - +#### `install-strategy` -#### `global-style` +* 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` @@ -510,9 +495,6 @@ it will be included. If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment variable will be set to `'production'` for all lifecycle scripts. - - - #### `strict-peer-deps` * Default: false @@ -532,9 +514,6 @@ When such and override is performed, a warning is printed, explaining the conflict and the packages involved. If `--strict-peer-deps` is set, then this warning is treated as a failure. - - - #### `package-lock` * Default: true @@ -545,9 +524,6 @@ will also prevent _writing_ `package-lock.json` if `save` is true. This configuration does not affect `npm ci`. - - - #### `foreground-scripts` * Default: false @@ -560,9 +536,6 @@ input, output, and error with the main npm process. Note that this will generally make installs run slower, and be much noisier, but can be useful for debugging. - - - #### `ignore-scripts` * Default: false @@ -575,9 +548,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `audit` * Default: true @@ -588,9 +558,6 @@ default registry and all registries configured for scopes. See the documentation for [`npm audit`](/commands/npm-audit) for details on what is submitted. - - - #### `bin-links` * Default: true @@ -603,9 +570,6 @@ Set to false to have it not do this. This can be used to work around the fact that some file systems don't support symlinks, even on ostensibly Unix systems. - - - #### `fund` * Default: true @@ -615,9 +579,6 @@ When "true" displays the message at the end of each `npm install` acknowledging the number of dependencies looking for funding. See [`npm fund`](/commands/npm-fund) for details. - - - #### `dry-run` * Default: false @@ -631,9 +592,6 @@ commands that modify your local installation, eg, `install`, `update`, Note: This is NOT honored by other network related commands, eg `dist-tags`, `owner`, etc. - - - #### `workspace` * Default: @@ -656,9 +614,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -677,9 +632,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -693,22 +645,14 @@ the specified workspaces, and not on the root project. 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 8c1b422493bd57..09459cc0ca8a50 100644 --- a/deps/npm/docs/content/commands/npm-link.md +++ b/deps/npm/docs/content/commands/npm-link.md @@ -6,21 +6,12 @@ description: Symlink a package folder ### Synopsis - - - - ```bash npm link [] alias: ln ``` - - - - - ### Description This is handy for installing your own stuff, so that you can work on it and @@ -119,9 +110,6 @@ workspace(s). ### Configuration - - - #### `save` * Default: `true` unless when using `npm update` where it defaults to `false` @@ -134,9 +122,6 @@ When used with the `npm rm` command, removes the dependency from Will also prevent writing to `package-lock.json` if set to `false`. - - - #### `save-exact` * Default: false @@ -145,9 +130,6 @@ Will also prevent writing to `package-lock.json` if set to `false`. Dependencies saved to package.json will be configured with an exact version rather than using npm's default semver range operator. - - - #### `global` * Default: false @@ -162,36 +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` - - +#### `install-strategy` -#### `global-style` +* 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` @@ -212,9 +197,6 @@ When such and override is performed, a warning is printed, explaining the conflict and the packages involved. If `--strict-peer-deps` is set, then this warning is treated as a failure. - - - #### `package-lock` * Default: true @@ -225,9 +207,6 @@ will also prevent _writing_ `package-lock.json` if `save` is true. This configuration does not affect `npm ci`. - - - #### `omit` * Default: 'dev' if the `NODE_ENV` environment variable is set to @@ -246,9 +225,6 @@ it will be included. If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment variable will be set to `'production'` for all lifecycle scripts. - - - #### `ignore-scripts` * Default: false @@ -261,9 +237,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `audit` * Default: true @@ -274,9 +247,6 @@ default registry and all registries configured for scopes. See the documentation for [`npm audit`](/commands/npm-audit) for details on what is submitted. - - - #### `bin-links` * Default: true @@ -289,9 +259,6 @@ Set to false to have it not do this. This can be used to work around the fact that some file systems don't support symlinks, even on ostensibly Unix systems. - - - #### `fund` * Default: true @@ -301,9 +268,6 @@ When "true" displays the message at the end of each `npm install` acknowledging the number of dependencies looking for funding. See [`npm fund`](/commands/npm-fund) for details. - - - #### `dry-run` * Default: false @@ -317,9 +281,6 @@ commands that modify your local installation, eg, `install`, `update`, Note: This is NOT honored by other network related commands, eg `dist-tags`, `owner`, etc. - - - #### `workspace` * Default: @@ -342,9 +303,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -363,9 +321,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -379,22 +334,14 @@ the specified workspaces, and not on the root project. 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-logout.md b/deps/npm/docs/content/commands/npm-logout.md index f0dd5cb856eaee..8ac3948f116d8a 100644 --- a/deps/npm/docs/content/commands/npm-logout.md +++ b/deps/npm/docs/content/commands/npm-logout.md @@ -6,19 +6,10 @@ description: Log out of the registry ### Synopsis - - - - ```bash npm logout ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -36,9 +27,6 @@ connected to that scope, if set. ### Configuration - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -46,9 +34,6 @@ connected to that scope, if set. The base URL of the npm registry. - - - #### `scope` * Default: the scope of the current project, if any, or "" @@ -79,11 +64,6 @@ npm init --scope=@foo --yes ``` - - - - - ### See Also * [npm adduser](/commands/npm-adduser) diff --git a/deps/npm/docs/content/commands/npm-ls.md b/deps/npm/docs/content/commands/npm-ls.md index a7936fafc72a2c..f90b435444b12d 100644 --- a/deps/npm/docs/content/commands/npm-ls.md +++ b/deps/npm/docs/content/commands/npm-ls.md @@ -6,21 +6,12 @@ description: List installed packages ### Synopsis - - - - ```bash npm ls alias: list ``` - - - - - ### Description This command will print to stdout all the versions of packages that are @@ -36,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@@VERSION@ /path/to/npm +npm@9.1.0 /path/to/npm └─┬ init-package-json@0.0.4 └── promzard@0.1.5 ``` @@ -82,9 +73,6 @@ least the default human-readable `npm ls` output in npm v8. ### Configuration - - - #### `all` * Default: false @@ -94,9 +82,6 @@ When running `npm outdated` and `npm ls`, setting `--all` will show all outdated or installed packages, rather than only those directly depended upon by the current project. - - - #### `json` * Default: false @@ -109,9 +94,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `long` * Default: false @@ -119,9 +101,6 @@ Not supported by all npm commands. Show extended information in `ls`, `search`, and `help-search`. - - - #### `parseable` * Default: false @@ -130,9 +109,6 @@ Show extended information in `ls`, `search`, and `help-search`. Output parseable results from commands that write to standard output. For `npm search`, this will be tab-separated table format. - - - #### `global` * Default: false @@ -147,9 +123,6 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` - - - #### `depth` * Default: `Infinity` if `--all` is set, otherwise `1` @@ -160,9 +133,6 @@ The depth to go when recursing packages for `npm ls`. If not set, `npm ls` will show only the immediate dependencies of the root project. If `--all` is set, then npm will show all dependencies by default. - - - #### `omit` * Default: 'dev' if the `NODE_ENV` environment variable is set to @@ -181,9 +151,6 @@ it will be included. If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment variable will be set to `'production'` for all lifecycle scripts. - - - #### `link` * Default: false @@ -191,9 +158,6 @@ variable will be set to `'production'` for all lifecycle scripts. Used with `npm ls`, limiting output to only those packages that are linked. - - - #### `package-lock-only` * Default: false @@ -208,9 +172,6 @@ instead of checking `node_modules` and downloading dependencies. For `list` this means the output will be based on the tree described by the `package-lock.json`, rather than the contents of `node_modules`. - - - #### `unicode` * Default: false on windows, true on mac/unix systems with a unicode locale, @@ -220,9 +181,6 @@ For `list` this means the output will be based on the tree described by the When set to true, npm uses unicode characters in the tree output. When false, it uses ascii characters instead of unicode glyphs. - - - #### `workspace` * Default: @@ -245,9 +203,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -266,9 +221,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -282,22 +234,14 @@ the specified workspaces, and not on the root project. 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-org.md b/deps/npm/docs/content/commands/npm-org.md index 975581c860df64..ca788b01fcb966 100644 --- a/deps/npm/docs/content/commands/npm-org.md +++ b/deps/npm/docs/content/commands/npm-org.md @@ -6,10 +6,6 @@ description: Manage orgs ### Synopsis - - - - ```bash npm org set orgname username [developer | admin | owner] npm org rm orgname username @@ -18,11 +14,6 @@ npm org ls orgname [] alias: ogr ``` - - - - - Note: This command is unaware of workspaces. ### Example @@ -71,9 +62,6 @@ listing them, and finding specific ones and their roles. ### Configuration - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -81,9 +69,6 @@ listing them, and finding specific ones and their roles. The base URL of the npm registry. - - - #### `otp` * Default: null @@ -95,9 +80,6 @@ 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. - - - #### `json` * Default: false @@ -110,9 +92,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `parseable` * Default: false @@ -121,11 +100,6 @@ Not supported by all npm commands. Output parseable results from commands that write to standard output. For `npm search`, this will be tab-separated table format. - - - - - ### See Also * [using orgs](/using-npm/orgs) diff --git a/deps/npm/docs/content/commands/npm-outdated.md b/deps/npm/docs/content/commands/npm-outdated.md index c4e07a0cd36f02..0e1061ab168aea 100644 --- a/deps/npm/docs/content/commands/npm-outdated.md +++ b/deps/npm/docs/content/commands/npm-outdated.md @@ -6,19 +6,10 @@ description: Check for outdated packages ### Synopsis - - - - ```bash npm outdated [ ...] ``` - - - - - ### Description This command will check the registry to see if any (or, specific) installed @@ -95,9 +86,6 @@ A few things to note: ### Configuration - - - #### `all` * Default: false @@ -107,9 +95,6 @@ When running `npm outdated` and `npm ls`, setting `--all` will show all outdated or installed packages, rather than only those directly depended upon by the current project. - - - #### `json` * Default: false @@ -122,9 +107,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `long` * Default: false @@ -132,9 +114,6 @@ Not supported by all npm commands. Show extended information in `ls`, `search`, and `help-search`. - - - #### `parseable` * Default: false @@ -143,9 +122,6 @@ Show extended information in `ls`, `search`, and `help-search`. Output parseable results from commands that write to standard output. For `npm search`, this will be tab-separated table format. - - - #### `global` * Default: false @@ -160,9 +136,6 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` - - - #### `workspace` * Default: @@ -185,11 +158,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - - - ### See Also * [package spec](/using-npm/package-spec) diff --git a/deps/npm/docs/content/commands/npm-owner.md b/deps/npm/docs/content/commands/npm-owner.md index ebc29ef6939392..c5bace6b2bcc94 100644 --- a/deps/npm/docs/content/commands/npm-owner.md +++ b/deps/npm/docs/content/commands/npm-owner.md @@ -6,10 +6,6 @@ description: Manage package owners ### Synopsis - - - - ```bash npm owner add npm owner rm @@ -18,11 +14,6 @@ npm owner ls alias: author ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -46,9 +37,6 @@ on the command line when changing ownership with `--otp`. ### Configuration - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -56,9 +44,6 @@ on the command line when changing ownership with `--otp`. The base URL of the npm registry. - - - #### `otp` * Default: null @@ -70,9 +55,6 @@ 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. - - - #### `workspace` * Default: @@ -95,9 +77,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -116,11 +95,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - - - ### See Also * [package spec](/using-npm/package-spec) diff --git a/deps/npm/docs/content/commands/npm-pack.md b/deps/npm/docs/content/commands/npm-pack.md index 7921042eae8fe0..a39f0554391991 100644 --- a/deps/npm/docs/content/commands/npm-pack.md +++ b/deps/npm/docs/content/commands/npm-pack.md @@ -6,24 +6,12 @@ description: Create a tarball from a package ### Synopsis - - - - ```bash npm pack ``` - - - - - ### Configuration - - - #### `dry-run` * Default: false @@ -37,9 +25,6 @@ commands that modify your local installation, eg, `install`, `update`, Note: This is NOT honored by other network related commands, eg `dist-tags`, `owner`, etc. - - - #### `json` * Default: false @@ -52,9 +37,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `pack-destination` * Default: "." @@ -62,9 +44,6 @@ Not supported by all npm commands. Directory in which `npm pack` will save tarballs. - - - #### `workspace` * Default: @@ -87,9 +66,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -108,9 +84,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -124,11 +97,6 @@ the specified workspaces, and not on the root project. This value is not exported to the environment for child processes. - - - - - ### Description For anything that's installable (that is, a package folder, tarball, diff --git a/deps/npm/docs/content/commands/npm-ping.md b/deps/npm/docs/content/commands/npm-ping.md index 161d7292f8c977..812be9f002deb8 100644 --- a/deps/npm/docs/content/commands/npm-ping.md +++ b/deps/npm/docs/content/commands/npm-ping.md @@ -6,19 +6,10 @@ description: Ping npm registry ### Synopsis - - - - ```bash npm ping ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -39,9 +30,6 @@ npm ERR! 404 Not Found - GET http://www.foo.com/-/ping?write=true ### Configuration - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -49,11 +37,6 @@ npm ERR! 404 Not Found - GET http://www.foo.com/-/ping?write=true The base URL of the npm registry. - - - - - ### See Also * [npm doctor](/commands/npm-doctor) diff --git a/deps/npm/docs/content/commands/npm-pkg.md b/deps/npm/docs/content/commands/npm-pkg.md index deff7e82c694dd..484aabfca5431c 100644 --- a/deps/npm/docs/content/commands/npm-pkg.md +++ b/deps/npm/docs/content/commands/npm-pkg.md @@ -6,10 +6,6 @@ description: Manages your package.json ### Synopsis - - - - ```bash npm pkg set = [= ...] npm pkg get [ [ ...]] @@ -18,11 +14,6 @@ npm pkg set [[].= ...] npm pkg set [[].= ...] ``` - - - - - ### Description A command that automates the management of `package.json` files. @@ -153,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: @@ -183,9 +175,6 @@ npm pkg get name version --ws ### Configuration - - - #### `force` * Default: false @@ -212,9 +201,6 @@ mistakes, unnecessary performance degradation, and malicious input. If you don't have a clear idea of what you want to do, it is strongly recommended that you do not use this option! - - - #### `json` * Default: false @@ -227,9 +213,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `workspace` * Default: @@ -252,9 +235,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -272,11 +252,6 @@ other things (test, exec, publish, etc.) will operate on the root project, _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - - - ## See Also * [npm install](/commands/npm-install) diff --git a/deps/npm/docs/content/commands/npm-prefix.md b/deps/npm/docs/content/commands/npm-prefix.md index 39328bcc88a143..2711501625db0b 100644 --- a/deps/npm/docs/content/commands/npm-prefix.md +++ b/deps/npm/docs/content/commands/npm-prefix.md @@ -6,19 +6,10 @@ description: Display prefix ### Synopsis - - - - ```bash npm prefix [-g] ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -44,9 +35,6 @@ npm prefix -g ### Configuration - - - #### `global` * Default: false @@ -61,11 +49,6 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` - - - - - ### See Also * [npm root](/commands/npm-root) diff --git a/deps/npm/docs/content/commands/npm-profile.md b/deps/npm/docs/content/commands/npm-profile.md index af1f9d8aa10633..b8cdde7e151a63 100644 --- a/deps/npm/docs/content/commands/npm-profile.md +++ b/deps/npm/docs/content/commands/npm-profile.md @@ -6,10 +6,6 @@ description: Change settings on your registry profile ### Synopsis - - - - ```bash npm profile enable-2fa [auth-only|auth-and-writes] npm profile disable-2fa @@ -17,11 +13,6 @@ npm profile get [] npm profile set ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -83,9 +74,6 @@ Some of these commands may not be available on non npmjs.com registries. ### Configuration - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -93,9 +81,6 @@ Some of these commands may not be available on non npmjs.com registries. The base URL of the npm registry. - - - #### `json` * Default: false @@ -108,9 +93,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `parseable` * Default: false @@ -119,9 +101,6 @@ Not supported by all npm commands. Output parseable results from commands that write to standard output. For `npm search`, this will be tab-separated table format. - - - #### `otp` * Default: null @@ -133,11 +112,6 @@ 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. - - - - - ### See Also * [npm adduser](/commands/npm-adduser) diff --git a/deps/npm/docs/content/commands/npm-prune.md b/deps/npm/docs/content/commands/npm-prune.md index 28f02f6add1908..0cd540f5c2d429 100644 --- a/deps/npm/docs/content/commands/npm-prune.md +++ b/deps/npm/docs/content/commands/npm-prune.md @@ -6,19 +6,10 @@ description: Remove extraneous packages ### Synopsis - - - - ```bash npm prune [[<@scope>/]...] ``` - - - - - ### Description This command removes "extraneous" packages. If a package name is provided, @@ -44,9 +35,6 @@ this command can help clean up any resulting garbage. ### Configuration - - - #### `omit` * Default: 'dev' if the `NODE_ENV` environment variable is set to @@ -65,9 +53,6 @@ it will be included. If the resulting omit list includes `'dev'`, then the `NODE_ENV` environment variable will be set to `'production'` for all lifecycle scripts. - - - #### `dry-run` * Default: false @@ -81,9 +66,6 @@ commands that modify your local installation, eg, `install`, `update`, Note: This is NOT honored by other network related commands, eg `dist-tags`, `owner`, etc. - - - #### `json` * Default: false @@ -96,9 +78,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `foreground-scripts` * Default: false @@ -111,9 +90,6 @@ input, output, and error with the main npm process. Note that this will generally make installs run slower, and be much noisier, but can be useful for debugging. - - - #### `ignore-scripts` * Default: false @@ -126,9 +102,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `workspace` * Default: @@ -151,9 +124,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -172,9 +142,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -188,22 +155,14 @@ the specified workspaces, and not on the root project. 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 536d04988e6849..09756aedf02724 100644 --- a/deps/npm/docs/content/commands/npm-publish.md +++ b/deps/npm/docs/content/commands/npm-publish.md @@ -6,19 +6,10 @@ description: Publish a package ### Synopsis - - - - ```bash npm publish ``` - - - - - ### Description Publishes a package to the registry so that it can be installed by name. @@ -96,9 +87,6 @@ built. ### Configuration - - - #### `tag` * Default: "latest" @@ -113,27 +101,21 @@ command, if no explicit tag is given. When used by the `npm diff` command, this is the tag used to fetch the 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` @@ -148,9 +130,6 @@ commands that modify your local installation, eg, `install`, `update`, Note: This is NOT honored by other network related commands, eg `dist-tags`, `owner`, etc. - - - #### `otp` * Default: null @@ -162,9 +141,6 @@ 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. - - - #### `workspace` * Default: @@ -187,9 +163,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -208,9 +181,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -224,11 +194,6 @@ the specified workspaces, and not on the root project. This value is not exported to the environment for child processes. - - - - - ### See Also * [package spec](/using-npm/package-spec) diff --git a/deps/npm/docs/content/commands/npm-query.md b/deps/npm/docs/content/commands/npm-query.md index 3c35e9ab4271cf..5a6bfb79cee331 100644 --- a/deps/npm/docs/content/commands/npm-query.md +++ b/deps/npm/docs/content/commands/npm-query.md @@ -6,19 +6,10 @@ description: Dependency selector query ### Synopsis - - - - ```bash npm query ``` - - - - - ### Description The `npm query` command allows for usage of css selectors in order to retrieve @@ -147,9 +138,6 @@ npm query ":type(git)" | jq 'map(.name)' | xargs -I {} npm why {} ### Configuration - - - #### `global` * Default: false @@ -164,9 +152,6 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` - - - #### `workspace` * Default: @@ -189,9 +174,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -210,9 +192,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -225,11 +204,6 @@ all workspaces via the `workspaces` flag, will cause npm to operate only on the specified workspaces, and not on the root project. This value is not exported to the environment for child processes. - - - - - ## See Also * [dependency selectors](/using-npm/dependency-selectors) diff --git a/deps/npm/docs/content/commands/npm-rebuild.md b/deps/npm/docs/content/commands/npm-rebuild.md index 6a396421213d3d..a6955ec80c7e7c 100644 --- a/deps/npm/docs/content/commands/npm-rebuild.md +++ b/deps/npm/docs/content/commands/npm-rebuild.md @@ -6,21 +6,12 @@ description: Rebuild a package ### Synopsis - - - - ```bash npm rebuild [] ...] alias: rb ``` - - - - - ### Description This command runs the `npm build` command on the matched folders. This is @@ -34,9 +25,6 @@ name and version matching one of the specifiers will be rebuilt. ### Configuration - - - #### `global` * Default: false @@ -51,9 +39,6 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` - - - #### `bin-links` * Default: true @@ -66,9 +51,6 @@ Set to false to have it not do this. This can be used to work around the fact that some file systems don't support symlinks, even on ostensibly Unix systems. - - - #### `foreground-scripts` * Default: false @@ -81,9 +63,6 @@ input, output, and error with the main npm process. Note that this will generally make installs run slower, and be much noisier, but can be useful for debugging. - - - #### `ignore-scripts` * Default: false @@ -96,9 +75,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `workspace` * Default: @@ -121,9 +97,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -142,9 +115,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -158,22 +128,14 @@ the specified workspaces, and not on the root project. 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 fc540a9382b235..10ddc139f8535a 100644 --- a/deps/npm/docs/content/commands/npm-repo.md +++ b/deps/npm/docs/content/commands/npm-repo.md @@ -6,31 +6,20 @@ description: Open package repository page in the browser ### Synopsis - - - - ```bash 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 - - - #### `browser` * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` @@ -43,9 +32,6 @@ terminal. Set to `true` to use default system URL opener. - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -53,9 +39,6 @@ Set to `true` to use default system URL opener. The base URL of the npm registry. - - - #### `workspace` * Default: @@ -78,9 +61,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -99,9 +79,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -115,11 +92,6 @@ the specified workspaces, and not on the root project. This value is not exported to the environment for child processes. - - - - - ### See Also * [npm docs](/commands/npm-docs) diff --git a/deps/npm/docs/content/commands/npm-restart.md b/deps/npm/docs/content/commands/npm-restart.md index 048bebb1659bd3..6c31cfceb51189 100644 --- a/deps/npm/docs/content/commands/npm-restart.md +++ b/deps/npm/docs/content/commands/npm-restart.md @@ -6,19 +6,10 @@ description: Restart a package ### Synopsis - - - - ```bash npm restart [-- ] ``` - - - - - ### Description This restarts a project. It is equivalent to running `npm run-script @@ -45,9 +36,6 @@ If it does _not_ have a `"restart"` script specified, but it does have ### Configuration - - - #### `ignore-scripts` * Default: false @@ -60,9 +48,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `script-shell` * Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows @@ -71,11 +56,6 @@ will *not* run any pre- or post-scripts. The shell to use for scripts run with the `npm exec`, `npm run` and `npm init ` commands. - - - - - ### See Also * [npm run-script](/commands/npm-run-script) diff --git a/deps/npm/docs/content/commands/npm-root.md b/deps/npm/docs/content/commands/npm-root.md index 40b58e4b33d0b2..89195744c9d18d 100644 --- a/deps/npm/docs/content/commands/npm-root.md +++ b/deps/npm/docs/content/commands/npm-root.md @@ -6,19 +6,10 @@ description: Display npm root ### Synopsis - - - - ```bash npm root ``` - - - - - ### Description Print the effective `node_modules` folder to standard out. @@ -34,9 +25,6 @@ echo "Global packages installed in: ${global_node_modules}" ### Configuration - - - #### `global` * Default: false @@ -51,11 +39,6 @@ folder instead of the current working directory. See * bin files are linked to `{prefix}/bin` * man pages are linked to `{prefix}/share/man` - - - - - ### See Also * [npm prefix](/commands/npm-prefix) diff --git a/deps/npm/docs/content/commands/npm-run-script.md b/deps/npm/docs/content/commands/npm-run-script.md index f606ec6bf59e5e..26011e4f7959a6 100644 --- a/deps/npm/docs/content/commands/npm-run-script.md +++ b/deps/npm/docs/content/commands/npm-run-script.md @@ -6,21 +6,12 @@ description: Run arbitrary package scripts ### Synopsis - - - - ```bash npm run-script [-- ] aliases: run, rum, urn ``` - - - - - ### Description This runs an arbitrary command from a package's `"scripts"` object. If no @@ -68,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 @@ -85,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. @@ -114,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 @@ -143,9 +137,6 @@ packages. ### Configuration - - - #### `workspace` * Default: @@ -168,9 +159,6 @@ brand new workspace within the project. This value is not exported to the environment for child processes. - - - #### `workspaces` * Default: null @@ -189,9 +177,6 @@ _unless_ one or more workspaces are specified in the `workspace` config. This value is not exported to the environment for child processes. - - - #### `include-workspace-root` * Default: false @@ -205,9 +190,6 @@ the specified workspaces, and not on the root project. This value is not exported to the environment for child processes. - - - #### `if-present` * Default: false @@ -222,9 +204,6 @@ CI setup. This value is not exported to the environment for child processes. - - - #### `ignore-scripts` * Default: false @@ -237,9 +216,6 @@ Note that commands explicitly intended to run a particular script, such as will still run their intended script if `ignore-scripts` is set, but they will *not* run any pre- or post-scripts. - - - #### `foreground-scripts` * Default: false @@ -252,9 +228,6 @@ input, output, and error with the main npm process. Note that this will generally make installs run slower, and be much noisier, but can be useful for debugging. - - - #### `script-shell` * Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows @@ -263,11 +236,6 @@ but can be useful for debugging. The shell to use for scripts run with the `npm exec`, `npm run` and `npm init ` commands. - - - - - ### See Also * [npm scripts](/using-npm/scripts) diff --git a/deps/npm/docs/content/commands/npm-search.md b/deps/npm/docs/content/commands/npm-search.md index 340dea9684d005..3e4fa4553957a7 100644 --- a/deps/npm/docs/content/commands/npm-search.md +++ b/deps/npm/docs/content/commands/npm-search.md @@ -6,21 +6,12 @@ description: Search for packages ### Synopsis - - - - ```bash npm search [search terms ...] aliases: find, s, se ``` - - - - - Note: This command is unaware of workspaces. ### Description @@ -48,9 +39,6 @@ expression characters in most shells.) ### Configuration - - - #### `long` * Default: false @@ -58,9 +46,6 @@ expression characters in most shells.) Show extended information in `ls`, `search`, and `help-search`. - - - #### `json` * Default: false @@ -73,9 +58,6 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. - - - #### `color` * Default: true unless the NO_COLOR environ is set to something other than '0' @@ -84,9 +66,6 @@ Not supported by all npm commands. If false, never shows colors. If `"always"` then always shows colors. If true, then only prints color codes for tty file descriptors. - - - #### `parseable` * Default: false @@ -95,9 +74,6 @@ true, then only prints color codes for tty file descriptors. Output parseable results from commands that write to standard output. For `npm search`, this will be tab-separated table format. - - - #### `description` * Default: true @@ -105,9 +81,6 @@ Output parseable results from commands that write to standard output. For Show the description in `npm search` - - - #### `searchopts` * Default: "" @@ -115,9 +88,6 @@ Show the description in `npm search` Space-separated options that are always passed to search. - - - #### `searchexclude` * Default: "" @@ -125,9 +95,6 @@ Space-separated options that are always passed to search. Space-separated options that limit the results from search. - - - #### `registry` * Default: "https://registry.npmjs.org/" @@ -135,9 +102,6 @@ Space-separated options that limit the results from search. The base URL of the npm registry. - - - #### `prefer-online` * Default: false @@ -146,9 +110,6 @@ The base URL of the npm registry. If true, staleness checks for cached data will be forced, making the CLI look for updates immediately even for fresh package data. - - - #### `prefer-offline` * Default: false @@ -158,9 +119,6 @@ If true, staleness checks for cached data will be bypassed, but missing data will be requested from the server. To force full offline mode, use `--offline`. - - - #### `offline` * Default: false @@ -169,11 +127,6 @@ will be requested from the server. To force full offline mode, use Force offline mode: no network requests will be done during install. To allow the CLI to fill in missing cache data, see `--prefer-offline`. - - - - - ### See Also * [npm registry](/using-npm/registry) 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 8695b43f14423e..00000000000000 --- a/deps/npm/docs/content/commands/npm-set-script.md +++ /dev/null @@ -1,114 +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 [