From 2e052984b08c09115ed75387fb2c961631d85d77 Mon Sep 17 00:00:00 2001 From: claudiahdz Date: Wed, 24 Jun 2020 16:16:47 -0500 Subject: [PATCH 01/13] chore(docs): fixed links to cli commands This reverts commit 0eac801cdef344e9fbda6270145e062211255b0e. PR-URL: https://github.com/npm/cli/pull/1459 Credit: @claudiahdz Close: #1459 Reviewed-by: @claudiahdz --- docs/content/cli-commands/npm-access.md | 6 ++--- docs/content/cli-commands/npm-adduser.md | 6 ++--- docs/content/cli-commands/npm-audit.md | 2 +- docs/content/cli-commands/npm-bin.md | 6 ++--- docs/content/cli-commands/npm-bugs.md | 8 +++---- docs/content/cli-commands/npm-build.md | 4 ++-- docs/content/cli-commands/npm-bundle.md | 2 +- docs/content/cli-commands/npm-cache.md | 8 +++---- docs/content/cli-commands/npm-ci.md | 4 ++-- docs/content/cli-commands/npm-config.md | 2 +- docs/content/cli-commands/npm-dedupe.md | 6 ++--- docs/content/cli-commands/npm-deprecate.md | 2 +- docs/content/cli-commands/npm-dist-tag.md | 8 +++---- docs/content/cli-commands/npm-docs.md | 6 ++--- docs/content/cli-commands/npm-doctor.md | 6 ++--- docs/content/cli-commands/npm-edit.md | 6 ++--- docs/content/cli-commands/npm-explore.md | 8 +++---- docs/content/cli-commands/npm-fund.md | 8 +++---- docs/content/cli-commands/npm-help-search.md | 2 +- docs/content/cli-commands/npm-help.md | 4 ++-- docs/content/cli-commands/npm-init.md | 2 +- .../cli-commands/npm-install-ci-test.md | 4 ++-- docs/content/cli-commands/npm-install-test.md | 4 ++-- docs/content/cli-commands/npm-install.md | 24 +++++++++---------- docs/content/cli-commands/npm-link.md | 4 ++-- docs/content/cli-commands/npm-logout.md | 6 ++--- docs/content/cli-commands/npm-ls.md | 12 +++++----- docs/content/cli-commands/npm-outdated.md | 4 ++-- docs/content/cli-commands/npm-owner.md | 4 ++-- docs/content/cli-commands/npm-pack.md | 6 ++--- docs/content/cli-commands/npm-ping.md | 2 +- docs/content/cli-commands/npm-prefix.md | 8 +++---- docs/content/cli-commands/npm-profile.md | 2 +- docs/content/cli-commands/npm-prune.md | 4 ++-- docs/content/cli-commands/npm-publish.md | 4 ++-- docs/content/cli-commands/npm-rebuild.md | 4 ++-- docs/content/cli-commands/npm-repo.md | 4 ++-- docs/content/cli-commands/npm-restart.md | 10 ++++---- docs/content/cli-commands/npm-root.md | 6 ++--- docs/content/cli-commands/npm-run-script.md | 10 ++++---- docs/content/cli-commands/npm-search.md | 4 ++-- docs/content/cli-commands/npm-shrinkwrap.md | 6 ++--- docs/content/cli-commands/npm-star.md | 6 ++--- docs/content/cli-commands/npm-stars.md | 8 +++---- docs/content/cli-commands/npm-start.md | 10 ++++---- docs/content/cli-commands/npm-stop.md | 8 +++---- docs/content/cli-commands/npm-team.md | 2 +- docs/content/cli-commands/npm-test.md | 8 +++---- docs/content/cli-commands/npm-uninstall.md | 6 ++--- docs/content/cli-commands/npm-unpublish.md | 8 +++---- docs/content/cli-commands/npm-update.md | 8 +++---- docs/content/cli-commands/npm-version.md | 4 ++-- docs/content/cli-commands/npm-view.md | 6 ++--- docs/content/cli-commands/npm-whoami.md | 4 ++-- docs/content/configuring-npm/folders.md | 12 +++++----- docs/content/configuring-npm/npmrc.md | 2 +- docs/content/configuring-npm/package-json.md | 16 ++++++------- .../configuring-npm/package-lock-json.md | 4 ++-- docs/content/configuring-npm/package-locks.md | 4 ++-- .../configuring-npm/shrinkwrap-json.md | 6 ++--- docs/content/using-npm/config.md | 12 +++++----- docs/content/using-npm/disputes.md | 2 +- docs/content/using-npm/orgs.md | 8 +++---- docs/content/using-npm/registry.md | 4 ++-- docs/content/using-npm/removal.md | 4 ++-- docs/content/using-npm/scope.md | 8 +++---- docs/content/using-npm/scripts.md | 12 +++++----- 67 files changed, 205 insertions(+), 205 deletions(-) diff --git a/docs/content/cli-commands/npm-access.md b/docs/content/cli-commands/npm-access.md index f4088fe885513..0fbce9c0759d1 100644 --- a/docs/content/cli-commands/npm-access.md +++ b/docs/content/cli-commands/npm-access.md @@ -87,7 +87,7 @@ Management of teams and team memberships is done with the `npm team` command. ### See Also * [`libnpmaccess`](https://npm.im/libnpmaccess) -* [npm team](/cli-commands/team) -* [npm publish](/cli-commands/publish) -* [npm config](/cli-commands/config) +* [npm team](/cli-commands/npm-team) +* [npm publish](/cli-commands/npm-publish) +* [npm config](/cli-commands/npm-config) * [npm registry](/using-npm/registry) diff --git a/docs/content/cli-commands/npm-adduser.md b/docs/content/cli-commands/npm-adduser.md index ec61cdd39acba..2df35e45fc550 100644 --- a/docs/content/cli-commands/npm-adduser.md +++ b/docs/content/cli-commands/npm-adduser.md @@ -89,7 +89,7 @@ username/password entry in legacy npm. ### See Also * [npm registry](/using-npm/registry) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) -* [npm owner](/cli-commands/owner) -* [npm whoami](/cli-commands/whoami) +* [npm owner](/cli-commands/npm-owner) +* [npm whoami](/cli-commands/npm-whoami) diff --git a/docs/content/cli-commands/npm-audit.md b/docs/content/cli-commands/npm-audit.md index 8b944e94cc12e..0aba874f96df8 100644 --- a/docs/content/cli-commands/npm-audit.md +++ b/docs/content/cli-commands/npm-audit.md @@ -131,6 +131,6 @@ configuration setting. ### See Also -* [npm install](/cli-commands/install) +* [npm install](/cli-commands/npm-install) * [package-locks](/configuring-npm/package-locks) * [config](/using-npm/config) diff --git a/docs/content/cli-commands/npm-bin.md b/docs/content/cli-commands/npm-bin.md index eb0912ae48a92..6c7ce0eee54e2 100644 --- a/docs/content/cli-commands/npm-bin.md +++ b/docs/content/cli-commands/npm-bin.md @@ -19,8 +19,8 @@ Print the folder where npm will install executables. ### See Also -* [npm prefix](/cli-commands/prefix) -* [npm root](/cli-commands/root) +* [npm prefix](/cli-commands/npm-prefix) +* [npm root](/cli-commands/npm-root) * [npm folders](/configuring-npm/folders) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) diff --git a/docs/content/cli-commands/npm-bugs.md b/docs/content/cli-commands/npm-bugs.md index 6e59f2bd1a05e..dcc9c358df14d 100644 --- a/docs/content/cli-commands/npm-bugs.md +++ b/docs/content/cli-commands/npm-bugs.md @@ -41,10 +41,10 @@ The base URL of the npm package registry. ### See Also -* [npm docs](/cli-commands/docs) -* [npm view](/cli-commands/view) -* [npm publish](/cli-commands/publish) +* [npm docs](/cli-commands/npm-docs) +* [npm view](/cli-commands/npm-view) +* [npm publish](/cli-commands/npm-publish) * [npm registry](/using-npm/registry) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) * [package.json](/configuring-npm/package-json) diff --git a/docs/content/cli-commands/npm-build.md b/docs/content/cli-commands/npm-build.md index eca5397d9c77d..b657129787663 100644 --- a/docs/content/cli-commands/npm-build.md +++ b/docs/content/cli-commands/npm-build.md @@ -28,7 +28,7 @@ directly, run: ### See Also -* [npm install](/cli-commands/install) -* [npm link](/cli-commands/link) +* [npm install](/cli-commands/npm-install) +* [npm link](/cli-commands/npm-link) * [npm scripts](/using-npm/scripts) * [package.json](/configuring-npm/package-json) diff --git a/docs/content/cli-commands/npm-bundle.md b/docs/content/cli-commands/npm-bundle.md index c4fdc5e6bb0e6..76417ac8b0b0c 100644 --- a/docs/content/cli-commands/npm-bundle.md +++ b/docs/content/cli-commands/npm-bundle.md @@ -18,4 +18,4 @@ Just use `npm install` now to do what `npm bundle` used to do. ### See Also -* [npm install](/cli-commands/install) +* [npm install](/cli-commands/npm-install) diff --git a/docs/content/cli-commands/npm-cache.md b/docs/content/cli-commands/npm-cache.md index 4d19749b80f2d..ed31a320421b0 100644 --- a/docs/content/cli-commands/npm-cache.md +++ b/docs/content/cli-commands/npm-cache.md @@ -82,10 +82,10 @@ The root cache folder. ### See Also * [npm folders](/configuring-npm/folders) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) -* [npm install](/cli-commands/install) -* [npm publish](/cli-commands/publish) -* [npm pack](/cli-commands/pack) +* [npm install](/cli-commands/npm-install) +* [npm publish](/cli-commands/npm-publish) +* [npm pack](/cli-commands/npm-pack) * https://npm.im/cacache * https://npm.im/pacote diff --git a/docs/content/cli-commands/npm-ci.md b/docs/content/cli-commands/npm-ci.md index b5b6447a485f8..357ba16cf6ade 100644 --- a/docs/content/cli-commands/npm-ci.md +++ b/docs/content/cli-commands/npm-ci.md @@ -45,7 +45,7 @@ cache: ### Description -This command is similar to [`npm install`](/cli-commands/install), except it's meant to be used in +This command is similar to [`npm install`](/cli-commands/npm-install), except it's meant to be used in automated environments such as test platforms, continuous integration, and deployment -- or any situation where you want to make sure you're doing a clean install of your dependencies. It can be significantly faster than a regular npm @@ -63,5 +63,5 @@ In short, the main differences between using `npm install` and `npm ci` are: ### See Also -* [npm install](/cli-commands/install) +* [npm install](/cli-commands/npm-install) * [package-locks](/configuring-npm/package-locks) diff --git a/docs/content/cli-commands/npm-config.md b/docs/content/cli-commands/npm-config.md index 68d403746fc10..c2f2033b066d2 100644 --- a/docs/content/cli-commands/npm-config.md +++ b/docs/content/cli-commands/npm-config.md @@ -79,7 +79,7 @@ global config. ### See Also * [npm folders](/configuring-npm/folders) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [package.json](/configuring-npm/package-json) * [npmrc](/configuring-npm/npmrc) * [npm](/cli-commands/npm) diff --git a/docs/content/cli-commands/npm-dedupe.md b/docs/content/cli-commands/npm-dedupe.md index a146885a04408..e15a12ba7c18a 100644 --- a/docs/content/cli-commands/npm-dedupe.md +++ b/docs/content/cli-commands/npm-dedupe.md @@ -62,6 +62,6 @@ result in new modules being installed. ### See Also -* [npm ls](/cli-commands/ls) -* [npm update](/cli-commands/update) -* [npm install](/cli-commands/install) +* [npm ls](/cli-commands/npm-ls) +* [npm update](/cli-commands/npm-update) +* [npm install](/cli-commands/npm-install) diff --git a/docs/content/cli-commands/npm-deprecate.md b/docs/content/cli-commands/npm-deprecate.md index 252c0e7037079..d2d9613f653c6 100644 --- a/docs/content/cli-commands/npm-deprecate.md +++ b/docs/content/cli-commands/npm-deprecate.md @@ -32,5 +32,5 @@ format an empty string. ### See Also -* [npm publish](/cli-commands/publish) +* [npm publish](/cli-commands/npm-publish) * [npm registry](/using-npm/registry) diff --git a/docs/content/cli-commands/npm-dist-tag.md b/docs/content/cli-commands/npm-dist-tag.md index 4f7fcb9f58f1b..c7921c7f739d7 100644 --- a/docs/content/cli-commands/npm-dist-tag.md +++ b/docs/content/cli-commands/npm-dist-tag.md @@ -92,9 +92,9 @@ begin with a number or the letter `v`. ### See Also -* [npm publish](/cli-commands/publish) -* [npm install](/cli-commands/install) -* [npm dedupe](/cli-commands/dedupe) +* [npm publish](/cli-commands/npm-publish) +* [npm install](/cli-commands/npm-install) +* [npm dedupe](/cli-commands/npm-dedupe) * [npm registry](/using-npm/registry) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) diff --git a/docs/content/cli-commands/npm-docs.md b/docs/content/cli-commands/npm-docs.md index f157e200dc514..46f5cd0d900a4 100644 --- a/docs/content/cli-commands/npm-docs.md +++ b/docs/content/cli-commands/npm-docs.md @@ -44,9 +44,9 @@ The base URL of the npm package registry. ### See Also -* [npm view](/cli-commands/view) -* [npm publish](/cli-commands/publish) +* [npm view](/cli-commands/npm-view) +* [npm publish](/cli-commands/npm-publish) * [npm registry](/using-npm/registry) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) * [package.json](/configuring-npm/package-json) diff --git a/docs/content/cli-commands/npm-doctor.md b/docs/content/cli-commands/npm-doctor.md index 60a57ea4765a2..7cec349e5a814 100644 --- a/docs/content/cli-commands/npm-doctor.md +++ b/docs/content/cli-commands/npm-doctor.md @@ -106,6 +106,6 @@ cache, you should probably run `npm cache clean` and reset the cache. ### See Also -* [npm bugs](/cli-commands/bugs) -* [npm help](/cli-commands/help) -* [npm ping](/cli-commands/ping) +* [npm bugs](/cli-commands/npm-bugs) +* [npm help](/cli-commands/npm-help) +* [npm ping](/cli-commands/npm-ping) diff --git a/docs/content/cli-commands/npm-edit.md b/docs/content/cli-commands/npm-edit.md index d4b9bbb819b94..94b6a087fa102 100644 --- a/docs/content/cli-commands/npm-edit.md +++ b/docs/content/cli-commands/npm-edit.md @@ -41,7 +41,7 @@ The command to run for `npm edit` or `npm config edit`. ### See Also * [npm folders](/configuring-npm/folders) -* [npm explore](/cli-commands/explore) -* [npm install](/cli-commands/install) -* [npm config](/cli-commands/config) +* [npm explore](/cli-commands/npm-explore) +* [npm install](/cli-commands/npm-install) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) diff --git a/docs/content/cli-commands/npm-explore.md b/docs/content/cli-commands/npm-explore.md index dfa4d9c073741..8ded96d40984f 100644 --- a/docs/content/cli-commands/npm-explore.md +++ b/docs/content/cli-commands/npm-explore.md @@ -44,7 +44,7 @@ The shell to run for the `npm explore` command. ### See Also * [npm folders](/configuring-npm/folders) -* [npm edit](/cli-commands/edit) -* [npm rebuild](/cli-commands/rebuild) -* [npm build](/cli-commands/build) -* [npm install](/cli-commands/install) +* [npm edit](/cli-commands/npm-edit) +* [npm rebuild](/cli-commands/npm-rebuild) +* [npm build](/cli-commands/npm-build) +* [npm install](/cli-commands/npm-install) diff --git a/docs/content/cli-commands/npm-fund.md b/docs/content/cli-commands/npm-fund.md index 73910ff7c07bd..5a751eec46687 100644 --- a/docs/content/cli-commands/npm-fund.md +++ b/docs/content/cli-commands/npm-fund.md @@ -61,8 +61,8 @@ If there are multiple funding sources, which 1-indexed source URL to open. ## See Also -* [npm docs](/cli-commands/docs) -* [npm config](/cli-commands/config) -* [npm install](/cli-commands/install) -* [npm ls](/cli-commands/ls) +* [npm docs](/cli-commands/npm-docs) +* [npm config](/cli-commands/npm-config) +* [npm install](/cli-commands/npm-install) +* [npm ls](/cli-commands/npm-ls) diff --git a/docs/content/cli-commands/npm-help-search.md b/docs/content/cli-commands/npm-help-search.md index 9678185655138..69d005cb160ed 100644 --- a/docs/content/cli-commands/npm-help-search.md +++ b/docs/content/cli-commands/npm-help-search.md @@ -40,4 +40,4 @@ If false, then help-search will just list out the help topics found. ### See Also * [npm](/cli-commands/npm) -* [npm help](/cli-commands/help) +* [npm help](/cli-commands/npm-help) diff --git a/docs/content/cli-commands/npm-help.md b/docs/content/cli-commands/npm-help.md index 358010c05ece3..c47676ffcac1d 100644 --- a/docs/content/cli-commands/npm-help.md +++ b/docs/content/cli-commands/npm-help.md @@ -38,7 +38,7 @@ Set to `"browser"` to view html help content in the default web browser. * [npm](/cli-commands/npm) * [npm folders](/configuring-npm/folders) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) * [package.json](/configuring-npm/package-json) -* [npm help-search](/cli-commands/help-search) +* [npm help-search](/cli-commands/npm-help-search) diff --git a/docs/content/cli-commands/npm-init.md b/docs/content/cli-commands/npm-init.md index 32b7f82301991..73ad74b23ea99 100644 --- a/docs/content/cli-commands/npm-init.md +++ b/docs/content/cli-commands/npm-init.md @@ -70,5 +70,5 @@ will create a scoped package. * * [package.json](/configuring-npm/package-json) -* [npm version](/cli-commands/version) +* [npm version](/cli-commands/npm-version) * [npm scope](/using-npm/scope) diff --git a/docs/content/cli-commands/npm-install-ci-test.md b/docs/content/cli-commands/npm-install-ci-test.md index 09d738c79fbed..98e40f4b27a77 100644 --- a/docs/content/cli-commands/npm-install-ci-test.md +++ b/docs/content/cli-commands/npm-install-ci-test.md @@ -22,5 +22,5 @@ This command runs an `npm ci` followed immediately by an `npm test`. ### See Also -* [npm ci](/cli-commands/ci) -* [npm test](/cli-commands/test) +* [npm ci](/cli-commands/npm-ci) +* [npm test](/cli-commands/npm-test) diff --git a/docs/content/cli-commands/npm-install-test.md b/docs/content/cli-commands/npm-install-test.md index 58b8844b4fcff..b86a5199117c4 100644 --- a/docs/content/cli-commands/npm-install-test.md +++ b/docs/content/cli-commands/npm-install-test.md @@ -31,5 +31,5 @@ takes exactly the same arguments as `npm install`. ### See Also -* [npm install](/cli-commands/install) -* [npm test](/cli-commands/test) +* [npm install](/cli-commands/npm-install) +* [npm test](/cli-commands/npm-test) diff --git a/docs/content/cli-commands/npm-install.md b/docs/content/cli-commands/npm-install.md index be196fa825546..8e661bf643f39 100644 --- a/docs/content/cli-commands/npm-install.md +++ b/docs/content/cli-commands/npm-install.md @@ -32,7 +32,7 @@ common options: [-P|--save-prod|-D|--save-dev|-O|--save-optional] [-E|--save-exa This command installs a package, and any packages that it depends on. If the package has a package-lock or shrinkwrap file, the installation of dependencies will be driven by that, with an `npm-shrinkwrap.json` taking precedence if both -files exist. See [package-lock.json](/configuring-npm/package-lock-json) and [`npm shrinkwrap`](/cli-commands/shrinkwrap). +files exist. See [package-lock.json](/configuring-npm/package-lock-json) and [`npm shrinkwrap`](/cli-commands/npm-shrinkwrap). A `package` is: @@ -40,7 +40,7 @@ A `package` is: * b) a gzipped tarball containing (a) * c) a url that resolves to (b) * d) a `@` that is published on the registry (see [`registry`](/using-npm/registry)) with (c) -* e) a `@` (see [`npm dist-tag`](/cli-commands/dist-tag)) that points to (d) +* e) a `@` (see [`npm dist-tag`](/cli-commands/npm-dist-tag)) that points to (d) * f) a `` that has a "latest" tag satisfying (e) * g) a `` that resolves to (a) @@ -503,17 +503,17 @@ affects a real use-case, it will be investigated. ### See Also * [npm folders](/configuring-npm/folders) -* [npm update](/cli-commands/update) -* [npm audit](/cli-commands/audit) -* [npm fund](/cli-commands/fund) -* [npm link](/cli-commands/link) -* [npm rebuild](/cli-commands/rebuild) +* [npm update](/cli-commands/npm-update) +* [npm audit](/cli-commands/npm-audit) +* [npm fund](/cli-commands/npm-fund) +* [npm link](/cli-commands/npm-link) +* [npm rebuild](/cli-commands/npm-rebuild) * [npm scripts](/using-npm/scripts) -* [npm build](/cli-commands/build) -* [npm config](/cli-commands/config) +* [npm build](/cli-commands/npm-build) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) * [npm registry](/using-npm/registry) -* [npm dist-tag](/cli-commands/dist-tag) -* [npm uninstall](/cli-commands/uninstall) -* [npm shrinkwrap](/cli-commands/shrinkwrap) +* [npm dist-tag](/cli-commands/npm-dist-tag) +* [npm uninstall](/cli-commands/npm-uninstall) +* [npm shrinkwrap](/cli-commands/npm-shrinkwrap) * [package.json](/configuring-npm/package-json) diff --git a/docs/content/cli-commands/npm-link.md b/docs/content/cli-commands/npm-link.md index 3f513868dfebd..a6d2908c4a32a 100644 --- a/docs/content/cli-commands/npm-link.md +++ b/docs/content/cli-commands/npm-link.md @@ -86,7 +86,7 @@ npm link @myorg/privatepackage * [npm developers](/using-npm/developers) * [package.json](/configuring-npm/package-json) -* [npm- nstall](/cli-commands/install) +* [npm- nstall](/cli-commands/npm-install) * [npm folders](/configuring-npm/folders) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) diff --git a/docs/content/cli-commands/npm-logout.md b/docs/content/cli-commands/npm-logout.md index 5fb7100e8ef7d..ca7d86f2d1960 100644 --- a/docs/content/cli-commands/npm-logout.md +++ b/docs/content/cli-commands/npm-logout.md @@ -48,7 +48,7 @@ npm logout --scope=@myco ### See Also -* [npm adduser](/cli-commands/adduser) +* [npm adduser](/cli-commands/npm-adduser) * [npm registry](/using-npm/registry) -* [npm config](/cli-commands/config) -* [npm whoami](/cli-commands/whoami) +* [npm config](/cli-commands/npm-config) +* [npm whoami](/cli-commands/npm-whoami) diff --git a/docs/content/cli-commands/npm-ls.md b/docs/content/cli-commands/npm-ls.md index 797f15a50d849..64a399155ff60 100644 --- a/docs/content/cli-commands/npm-ls.md +++ b/docs/content/cli-commands/npm-ls.md @@ -119,11 +119,11 @@ Set it to false in order to use all-ansi output. ### See Also -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) * [npm folders](/configuring-npm/folders) -* [npm install](/cli-commands/install) -* [npm link](/cli-commands/link) -* [npm prune](/cli-commands/prune) -* [npm outdated](/cli-commands/outdated) -* [npm update](/cli-commands/update) +* [npm install](/cli-commands/npm-install) +* [npm link](/cli-commands/npm-link) +* [npm prune](/cli-commands/npm-prune) +* [npm outdated](/cli-commands/npm-outdated) +* [npm update](/cli-commands/npm-update) diff --git a/docs/content/cli-commands/npm-outdated.md b/docs/content/cli-commands/npm-outdated.md index 3dae28c465f4e..c7934109dca37 100644 --- a/docs/content/cli-commands/npm-outdated.md +++ b/docs/content/cli-commands/npm-outdated.md @@ -118,7 +118,7 @@ Max depth for checking dependency tree. ### See Also -* [npm update](/cli-commands/update) -* [npm dist-tag](/cli-commands/dist-tag) +* [npm update](/cli-commands/npm-update) +* [npm dist-tag](/cli-commands/npm-dist-tag) * [npm registry](/using-npm/registry) * [npm folders](/configuring-npm/folders) diff --git a/docs/content/cli-commands/npm-owner.md b/docs/content/cli-commands/npm-owner.md index 7088cdaf5cb39..bc2fbc82fb280 100644 --- a/docs/content/cli-commands/npm-owner.md +++ b/docs/content/cli-commands/npm-owner.md @@ -41,7 +41,7 @@ with `--otp`. ### See Also -* [npm publish](/cli-commands/publish) +* [npm publish](/cli-commands/npm-publish) * [npm registry](/using-npm/registry) -* [npm adduser](/cli-commands/adduser) +* [npm adduser](/cli-commands/npm-adduser) * [npm disputes](/using-npm/disputes) diff --git a/docs/content/cli-commands/npm-pack.md b/docs/content/cli-commands/npm-pack.md index d4774ff371671..acf18559c14e0 100644 --- a/docs/content/cli-commands/npm-pack.md +++ b/docs/content/cli-commands/npm-pack.md @@ -32,7 +32,7 @@ actually packing anything. Reports on what would have gone into the tarball. ### See Also -* [npm cache](/cli-commands/cache) -* [npm publish](/cli-commands/publish) -* [npm config](/cli-commands/config) +* [npm cache](/cli-commands/npm-cache) +* [npm publish](/cli-commands/npm-publish) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) diff --git a/docs/content/cli-commands/npm-ping.md b/docs/content/cli-commands/npm-ping.md index 8f765501ac9f3..93d18b57f840b 100644 --- a/docs/content/cli-commands/npm-ping.md +++ b/docs/content/cli-commands/npm-ping.md @@ -29,5 +29,5 @@ Ping error: {*Detail about error} ### See Also -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) diff --git a/docs/content/cli-commands/npm-prefix.md b/docs/content/cli-commands/npm-prefix.md index c6b1f7441bcd6..b82fec663a147 100644 --- a/docs/content/cli-commands/npm-prefix.md +++ b/docs/content/cli-commands/npm-prefix.md @@ -21,12 +21,12 @@ to contain a `package.json` file or `node_modules` directory, unless `-g` is also specified. If `-g` is specified, this will be the value of the global prefix. See -[`npm config`](/cli-commands/config) for more detail. +[`npm config`](/cli-commands/npm-config) for more detail. ### See Also -* [npm root](/cli-commands/root) -* [npm bin](/cli-commands/bin) +* [npm root](/cli-commands/npm-root) +* [npm bin](/cli-commands/npm-bin) * [npm folders](/configuring-npm/folders) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) diff --git a/docs/content/cli-commands/npm-profile.md b/docs/content/cli-commands/npm-profile.md index 7cc38e2c9c3fe..9fe82cd2d3a95 100644 --- a/docs/content/cli-commands/npm-profile.md +++ b/docs/content/cli-commands/npm-profile.md @@ -79,4 +79,4 @@ available on non npmjs.com registries. ### See Also -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) diff --git a/docs/content/cli-commands/npm-prune.md b/docs/content/cli-commands/npm-prune.md index 586c2e7024642..c6b61e62f828a 100644 --- a/docs/content/cli-commands/npm-prune.md +++ b/docs/content/cli-commands/npm-prune.md @@ -41,6 +41,6 @@ and it's up to you to run `npm prune` from time-to-time to remove them. ### See Also -* [npm uninstall](/cli-commands/uninstall) +* [npm uninstall](/cli-commands/npm-uninstall) * [npm folders](/configuring-npm/folders) -* [npm ls](/cli-commands/ls) +* [npm ls](/cli-commands/npm-ls) diff --git a/docs/content/cli-commands/npm-publish.md b/docs/content/cli-commands/npm-publish.md index 199377fa0df32..44c36e0b7ac6c 100644 --- a/docs/content/cli-commands/npm-publish.md +++ b/docs/content/cli-commands/npm-publish.md @@ -60,13 +60,13 @@ the specified registry. Once a package is published with a given name and version, that specific name and version combination can never be used again, even if -it is removed with [`npm unpublish`](/cli-commands/unpublish). +it is removed with [`npm unpublish`](/cli-commands/npm-unpublish). As of `npm@5`, both a sha1sum and an integrity field with a sha512sum of the tarball will be submitted to the registry during publication. Subsequent installs will use the strongest supported algorithm to verify downloads. -Similar to `--dry-run` see [`npm pack`](/cli-commands/pack), which figures out the files to be +Similar to `--dry-run` see [`npm pack`](/cli-commands/npm-pack), which figures out the files to be included and packs them into a tarball to be uploaded to the registry. ### See Also diff --git a/docs/content/cli-commands/npm-rebuild.md b/docs/content/cli-commands/npm-rebuild.md index 9503d6aae8426..414b9ca55a193 100644 --- a/docs/content/cli-commands/npm-rebuild.md +++ b/docs/content/cli-commands/npm-rebuild.md @@ -22,5 +22,5 @@ This command runs the `npm build` command on the matched folders. This is usefu ### See Also -* [npm build](/cli-commands/build) -* [npm install](/cli-commands/install) +* [npm build](/cli-commands/npm-build) +* [npm install](/cli-commands/npm-install) diff --git a/docs/content/cli-commands/npm-repo.md b/docs/content/cli-commands/npm-repo.md index 48021d9af5d91..ad41ea571253f 100644 --- a/docs/content/cli-commands/npm-repo.md +++ b/docs/content/cli-commands/npm-repo.md @@ -32,5 +32,5 @@ The browser that is called by the `npm repo` command to open websites. ### See Also -* [npm docs](/cli-commands/docs) -* [npm config](/cli-commands/config) +* [npm docs](/cli-commands/npm-docs) +* [npm config](/cli-commands/npm-config) diff --git a/docs/content/cli-commands/npm-restart.md b/docs/content/cli-commands/npm-restart.md index 663b8f4506608..d6d388b224ab1 100644 --- a/docs/content/cli-commands/npm-restart.md +++ b/docs/content/cli-commands/npm-restart.md @@ -41,9 +41,9 @@ behavior will be accompanied by an increase in major version number ### See Also -* [npm run-script](/cli-commands/run-script) +* [npm run-script](/cli-commands/npm-run-script) * [npm scripts](/using-npm/scripts) -* [npm test](/cli-commands/test) -* [npm start](/cli-commands/start) -* [npm stop](/cli-commands/stop) -* [npm restart](/cli-commands/restart) \ No newline at end of file +* [npm test](/cli-commands/npm-test) +* [npm start](/cli-commands/npm-start) +* [npm stop](/cli-commands/npm-stop) +* [npm restart](/cli-commands/npm-restart) \ No newline at end of file diff --git a/docs/content/cli-commands/npm-root.md b/docs/content/cli-commands/npm-root.md index fce4490de78ea..2b27878af4c6d 100644 --- a/docs/content/cli-commands/npm-root.md +++ b/docs/content/cli-commands/npm-root.md @@ -19,8 +19,8 @@ Print the effective `node_modules` folder to standard out. ### See Also -* [npm prefix](/cli-commands/prefix) -* [npm bin](/cli-commands/bin) +* [npm prefix](/cli-commands/npm-prefix) +* [npm bin](/cli-commands/npm-bin) * [npm folders](/configuring-npm/folders) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) diff --git a/docs/content/cli-commands/npm-run-script.md b/docs/content/cli-commands/npm-run-script.md index 1ee381e00f2f1..51def74c3c4c3 100644 --- a/docs/content/cli-commands/npm-run-script.md +++ b/docs/content/cli-commands/npm-run-script.md @@ -90,8 +90,8 @@ without breaking the execution chain. ### See Also * [npm scripts](/using-npm/scripts) -* [npm test](/cli-commands/test) -* [npm start](/cli-commands/start) -* [npm restart](/cli-commands/restart) -* [npm stop](/cli-commands/stop) -* [npm config](/cli-commands/config) +* [npm test](/cli-commands/npm-test) +* [npm start](/cli-commands/npm-start) +* [npm restart](/cli-commands/npm-restart) +* [npm stop](/cli-commands/npm-stop) +* [npm config](/cli-commands/npm-config) diff --git a/docs/content/cli-commands/npm-search.md b/docs/content/cli-commands/npm-search.md index c65e489cba27c..e066106faf71f 100644 --- a/docs/content/cli-commands/npm-search.md +++ b/docs/content/cli-commands/npm-search.md @@ -109,6 +109,6 @@ setting. ### See Also * [npm registry](/using-npm/registry) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) -* [npm view](/cli-commands/view) +* [npm view](/cli-commands/npm-view) diff --git a/docs/content/cli-commands/npm-shrinkwrap.md b/docs/content/cli-commands/npm-shrinkwrap.md index a22aed88e125f..342fb001675ab 100644 --- a/docs/content/cli-commands/npm-shrinkwrap.md +++ b/docs/content/cli-commands/npm-shrinkwrap.md @@ -24,11 +24,11 @@ of package locks in npm, see [package-locks](/configuring-npm/package-locks). ### See Also -* [npm install](/cli-commands/install) -* [npm run-script](/cli-commands/run-script) +* [npm install](/cli-commands/npm-install) +* [npm run-script](/cli-commands/npm-run-script) * [npm scripts](/using-npm/scripts) * [package.js](/configuring-npm/package-json) * [package-locks](/configuring-npm/package-locks) * [package-lock.json](/configuring-npm/package-lock-json) * [shrinkwrap.json](/configuring-npm/shrinkwrap-json) -* [npm ls](/cli-commands/ls) +* [npm ls](/cli-commands/npm-ls) diff --git a/docs/content/cli-commands/npm-star.md b/docs/content/cli-commands/npm-star.md index 440d15d05c652..1912e9c654bc2 100644 --- a/docs/content/cli-commands/npm-star.md +++ b/docs/content/cli-commands/npm-star.md @@ -26,6 +26,6 @@ It's a boolean thing. Starring repeatedly has no additional effect. ### See Also -* [npm view](/cli-commands/view) -* [npm whoami](/cli-commands/whoami) -* [npm adduser](/cli-commands/adduser) +* [npm view](/cli-commands/npm-view) +* [npm whoami](/cli-commands/npm-whoami) +* [npm adduser](/cli-commands/npm-adduser) diff --git a/docs/content/cli-commands/npm-stars.md b/docs/content/cli-commands/npm-stars.md index 87b1664ef8595..475547bb4b7f2 100644 --- a/docs/content/cli-commands/npm-stars.md +++ b/docs/content/cli-commands/npm-stars.md @@ -23,7 +23,7 @@ you will most certainly enjoy this command. ### See Also -* [npm star](/cli-commands/star) -* [npm view](/cli-commands/view) -* [npm whoami](/cli-commands/whoami) -* [npm adduser](/cli-commands/adduser) +* [npm star](/cli-commands/npm-star) +* [npm view](/cli-commands/npm-view) +* [npm whoami](/cli-commands/npm-whoami) +* [npm adduser](/cli-commands/npm-adduser) diff --git a/docs/content/cli-commands/npm-start.md b/docs/content/cli-commands/npm-start.md index 70221c9926a5d..839528257b6d9 100644 --- a/docs/content/cli-commands/npm-start.md +++ b/docs/content/cli-commands/npm-start.md @@ -21,12 +21,12 @@ its `"scripts"` object. If no `"start"` property is specified on the `"scripts"` object, it will run `node server.js`. As of [`npm@2.0.0`](https://blog.npmjs.org/post/98131109725/npm-2-0-0), you can -use custom arguments when executing scripts. Refer to [`npm run-script`](/cli-commands/run-script) for more details. +use custom arguments when executing scripts. Refer to [`npm run-script`](/cli-commands/npm-run-script) for more details. ### See Also -* [npm run-script](/cli-commands/run-script) +* [npm run-script](/cli-commands/npm-run-script) * [npm scripts](/using-npm/scripts) -* [npm test](/cli-commands/test) -* [npm restart](/cli-commands/restart) -* [npm stop](/cli-commands/stop) +* [npm test](/cli-commands/npm-test) +* [npm restart](/cli-commands/npm-restart) +* [npm stop](/cli-commands/npm-stop) diff --git a/docs/content/cli-commands/npm-stop.md b/docs/content/cli-commands/npm-stop.md index 889f04ec41e3e..da759047cb19a 100644 --- a/docs/content/cli-commands/npm-stop.md +++ b/docs/content/cli-commands/npm-stop.md @@ -20,8 +20,8 @@ This runs a package's "stop" script, if one was provided. ### See Also -* [npm run-script](/cli-commands/run-script) +* [npm run-script](/cli-commands/npm-run-script) * [npm scripts](/using-npm/scripts) -* [npm test](/cli-commands/test) -* [npm start](/cli-commands/start) -* [npm restart](/cli-commands/restart) +* [npm test](/cli-commands/npm-test) +* [npm start](/cli-commands/npm-start) +* [npm restart](/cli-commands/npm-restart) diff --git a/docs/content/cli-commands/npm-team.md b/docs/content/cli-commands/npm-team.md index 53e084d47d14a..0d5782f0e04b4 100644 --- a/docs/content/cli-commands/npm-team.md +++ b/docs/content/cli-commands/npm-team.md @@ -62,5 +62,5 @@ use the `npm access` command to grant or revoke the appropriate permissions. ### See Also -* [npm access](/cli-commands/access) +* [npm access](/cli-commands/npm-access) * [npm registry](/using-npm/registry) diff --git a/docs/content/cli-commands/npm-test.md b/docs/content/cli-commands/npm-test.md index 11900fd2fbf5e..99c027e3e057a 100644 --- a/docs/content/cli-commands/npm-test.md +++ b/docs/content/cli-commands/npm-test.md @@ -22,8 +22,8 @@ This runs a package's "test" script, if one was provided. ### See Also -* [npm run-script](/cli-commands/run-script) +* [npm run-script](/cli-commands/npm-run-script) * [npm scripts](/using-npm/scripts) -* [npm start](/cli-commands/start) -* [npm restart](/cli-commands/restart) -* [npm stop](/cli-commands/stop) +* [npm start](/cli-commands/npm-start) +* [npm restart](/cli-commands/npm-restart) +* [npm stop](/cli-commands/npm-stop) diff --git a/docs/content/cli-commands/npm-uninstall.md b/docs/content/cli-commands/npm-uninstall.md index 2b994ba6180b6..96fdc4ebe05ba 100644 --- a/docs/content/cli-commands/npm-uninstall.md +++ b/docs/content/cli-commands/npm-uninstall.md @@ -57,8 +57,8 @@ npm uninstall lodash --no-save ### See Also -* [npm prune](/cli-commands/prune) -* [npm install](/cli-commands/install) +* [npm prune](/cli-commands/npm-prune) +* [npm install](/cli-commands/npm-install) * [npm folders](/configuring-npm/folders) -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) diff --git a/docs/content/cli-commands/npm-unpublish.md b/docs/content/cli-commands/npm-unpublish.md index 68cb30b8a2141..c40f480a8bcb8 100644 --- a/docs/content/cli-commands/npm-unpublish.md +++ b/docs/content/cli-commands/npm-unpublish.md @@ -43,8 +43,8 @@ To learn more about how unpublish is treated on the npm registry, see our ### See also -* [npm team](/cli-commands/team) -* [npm access](/cli-commands/access) +* [npm team](/cli-commands/npm-team) +* [npm access](/cli-commands/npm-access) * [npm scope](/using-npm/scope) diff --git a/docs/content/using-npm/registry.md b/docs/content/using-npm/registry.md index 44d0594132929..cd6a2e4d71eeb 100644 --- a/docs/content/using-npm/registry.md +++ b/docs/content/using-npm/registry.md @@ -33,7 +33,7 @@ available at . The registry URL used is determined by the scope of the package (see [`scope`](/using-npm/scope). If no scope is specified, the default registry is used, which is -supplied by the `registry` config parameter. See [`npm config`](/cli-commands/config), +supplied by the `registry` config parameter. See [`npm config`](/cli-commands/npm-config), [`npmrc`](/configuring-npm/npmrc), and [`config`](/using-npm/config) for more on managing npm's configuration. ### Does npm send any information about me back to the registry? @@ -100,7 +100,7 @@ Yes, head over to ### See also -* [npm config](/cli-commands/config) +* [npm config](/cli-commands/npm-config) * [config](/using-npm/config) * [npmrc](/configuring-npm/npmrc) * [npm developers](/using-npm/developers) diff --git a/docs/content/using-npm/removal.md b/docs/content/using-npm/removal.md index 20f353dc3475d..7c83684673240 100644 --- a/docs/content/using-npm/removal.md +++ b/docs/content/using-npm/removal.md @@ -66,5 +66,5 @@ find /usr/local/{lib/node,bin} -exec grep -l npm \{\} \; ; ### See also -* [npm uninstall](/cli-commands/uninstall) -* [npm prune](/cli-commands/prune) +* [npm uninstall](/cli-commands/npm-uninstall) +* [npm prune](/cli-commands/npm-prune) diff --git a/docs/content/using-npm/scope.md b/docs/content/using-npm/scope.md index 81c55060ff601..2cbc108f0db92 100644 --- a/docs/content/using-npm/scope.md +++ b/docs/content/using-npm/scope.md @@ -55,7 +55,7 @@ Or in `package.json`: ``` Note that if the `@` symbol is omitted, in either case, npm will instead attempt to -install from GitHub; see [`npm install`](/cli-commands/install). +install from GitHub; see [`npm install`](/cli-commands/npm-install). ### Requiring scoped packages @@ -125,7 +125,7 @@ that registry instead. ### See also -* [npm install](/cli-commands/install) -* [npm publish](/cli-commands/publish) -* [npm access](/cli-commands/access) +* [npm install](/cli-commands/npm-install) +* [npm publish](/cli-commands/npm-publish) +* [npm access](/cli-commands/npm-access) * [npm registry](/using-npm/registry) diff --git a/docs/content/using-npm/scripts.md b/docs/content/using-npm/scripts.md index 369d8f0c9ab12..ac2d12630c2c0 100644 --- a/docs/content/using-npm/scripts.md +++ b/docs/content/using-npm/scripts.md @@ -78,7 +78,7 @@ The advantage of doing these things at `prepublish` time is that they can be don ### Life Cycle Operation Order -#### [`npm publish`](/cli-commands/publish) +#### [`npm publish`](/cli-commands/npm-publish) * `prepublishOnly` * `prepare` @@ -86,12 +86,12 @@ The advantage of doing these things at `prepublish` time is that they can be don * `publish` * `postpublish` -#### [`npm pack`](/cli-commands/pack) +#### [`npm pack`](/cli-commands/npm-pack) * `prepack` * `postpack` -#### [`npm install`](/cli-commands/install) +#### [`npm install`](/cli-commands/npm-install) * `preinstall` * `install` @@ -102,7 +102,7 @@ Also triggers * `prepublish` (when on local) * `prepare` (when on local) -#### [`npm start`](/cli-commands/start) +#### [`npm start`](/cli-commands/npm-start) `npm run start` has an `npm start` shorthand. @@ -304,7 +304,7 @@ above. ### See Also -* [npm run-script](/cli-commands/run-script) +* [npm run-script](/cli-commands/npm-run-script) * [package.json](/configuring-npm/package-json) * [npm developers](/using-npm/developers) -* [npm install](/cli-commands/install) +* [npm install](/cli-commands/npm-install) From 0ca3509ca940865392daeeabb39192f7d5af9f5e Mon Sep 17 00:00:00 2001 From: Peter Fich Date: Wed, 13 May 2020 07:23:25 +0100 Subject: [PATCH 02/13] Update npm-link.md Fix typo. PR-URL: https://github.com/npm/cli/pull/1283 Credit: @peterfich Close: #1283 Reviewed-by: @claudiahdz --- docs/content/cli-commands/npm-link.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/cli-commands/npm-link.md b/docs/content/cli-commands/npm-link.md index a6d2908c4a32a..b0e97be5578e9 100644 --- a/docs/content/cli-commands/npm-link.md +++ b/docs/content/cli-commands/npm-link.md @@ -86,7 +86,7 @@ npm link @myorg/privatepackage * [npm developers](/using-npm/developers) * [package.json](/configuring-npm/package-json) -* [npm- nstall](/cli-commands/npm-install) +* [npm install](/cli-commands/npm-install) * [npm folders](/configuring-npm/folders) * [npm config](/cli-commands/npm-config) * [npmrc](/configuring-npm/npmrc) From 3dd429e9aad760ce2ff9e522b34ebfebd85b460c Mon Sep 17 00:00:00 2001 From: Maxwell Gerber Date: Tue, 2 Jun 2020 11:11:52 -0700 Subject: [PATCH 03/13] docs: Add note about dropped `*` filenames In https://github.com/npm/npm-packlist/pull/32, NPM started to drop filenames containing the `*` character. See: - https://github.com/npm/cli/issues/1096 - https://github.com/npm/cli/issues/1048 PR-URL: https://github.com/npm/cli/pull/1377 Credit: @maxwellgerber Close: #1377 Reviewed-by: @claudiahdz --- docs/content/configuring-npm/package-json.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/content/configuring-npm/package-json.md b/docs/content/configuring-npm/package-json.md index 9af70ea0ab2cc..c58fde7923218 100644 --- a/docs/content/configuring-npm/package-json.md +++ b/docs/content/configuring-npm/package-json.md @@ -272,15 +272,13 @@ Conversely, some files are always ignored: * `.hg` * `.lock-wscript` * `.wafpickle-N` -* `.*.swp` * `.DS_Store` -* `._*` * `npm-debug.log` * `.npmrc` * `node_modules` * `config.gypi` -* `*.orig` * `package-lock.json` (use shrinkwrap instead) +* All files containing a `*` character (incompatible with Windows) ### main From c49b6ae28791ff7184288be16654f97168aa9705 Mon Sep 17 00:00:00 2001 From: "Kyle E. Mitchell" Date: Wed, 10 Jun 2020 11:48:56 -0700 Subject: [PATCH 04/13] spdx-license-ids@3.0.5 PR-URL: https://github.com/npm/cli/pull/1418 Credit: @kemitchell Close: #1418 Reviewed-by: @claudiahdz --- node_modules/spdx-license-ids/README.md | 14 +++++++------- node_modules/spdx-license-ids/index.json | 14 ++++++++++++++ node_modules/spdx-license-ids/package.json | 22 +++++++++++----------- package-lock.json | 6 +++--- 4 files changed, 35 insertions(+), 21 deletions(-) diff --git a/node_modules/spdx-license-ids/README.md b/node_modules/spdx-license-ids/README.md index c7b5b5f320845..699514d1a28aa 100644 --- a/node_modules/spdx-license-ids/README.md +++ b/node_modules/spdx-license-ids/README.md @@ -1,13 +1,13 @@ # spdx-license-ids -[![npm version](https://img.shields.io/npm/v/spdx-license-ids.svg)](https://www.npmjs.org/package/spdx-license-ids) -[![Build Status](https://travis-ci.org/shinnn/spdx-license-ids.svg?branch=master)](https://travis-ci.org/shinnn/spdx-license-ids) +[![npm version](https://img.shields.io/npm/v/spdx-license-ids.svg)](https://www.npmjs.com/package/spdx-license-ids) +[![Github Actions](https://action-badges.now.sh/shinnn/spdx-license-ids)](https://wdp9fww0r9.execute-api.us-west-2.amazonaws.com/production/results/shinnn/spdx-license-ids) A list of [SPDX license](https://spdx.org/licenses/) identifiers ## Installation -[Download JSON directly](https://raw.githubusercontent.com/shinnn/spdx-license-ids/master/index.json), or [use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm): +[Download JSON directly](https://raw.githubusercontent.com/shinnn/spdx-license-ids/master/index.json), or [use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/about-npm/): ``` npm install spdx-license-ids @@ -17,13 +17,13 @@ npm install spdx-license-ids ### require('spdx-license-ids') -Type: `>` +Type: `string[]` All license IDs except for the currently deprecated ones. ```javascript const ids = require('spdx-license-ids'); -//=> ['0BSD', 'AAL', 'Abstyles', 'Adobe-2006', 'Adobe-Glyph', 'ADSL', 'AFL-1.1', 'AFL-1.2', ...] +//=> ['0BSD', 'AAL', 'ADSL', 'AFL-1.1', 'AFL-1.2', 'AFL-2.0', 'AFL-2.1', 'AFL-3.0', 'AGPL-1.0-only', ...] ids.includes('BSD-3-Clause'); //=> true ids.includes('CC-BY-1.0'); //=> true @@ -33,13 +33,13 @@ ids.includes('GPL-3.0'); //=> false ### require('spdx-license-ids/deprecated') -Type: `>` +Type: `string[]` Deprecated license IDs. ```javascript const deprecatedIds = require('spdx-license-ids/deprecated'); -//=> ['AGPL-1.0', 'AGPL-3.0', 'eCos-2.0', 'GFDL-1.1', 'GFDL-1.2', 'GFDL-1.3', 'GPL-1.0', ...] +//=> ['AGPL-1.0', 'AGPL-3.0', 'GFDL-1.1', 'GFDL-1.2', 'GFDL-1.3', 'GPL-1.0', 'GPL-2.0', ...] deprecatedIds.includes('BSD-3-Clause'); //=> false deprecatedIds.includes('CC-BY-1.0'); //=> false diff --git a/node_modules/spdx-license-ids/index.json b/node_modules/spdx-license-ids/index.json index ed06199127e0c..5283c78dc77c3 100644 --- a/node_modules/spdx-license-ids/index.json +++ b/node_modules/spdx-license-ids/index.json @@ -45,6 +45,7 @@ "BSD-3-Clause-No-Nuclear-License", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause-No-Nuclear-Warranty", + "BSD-3-Clause-Open-MPI", "BSD-4-Clause", "BSD-4-Clause-UC", "BSD-Protection", @@ -55,6 +56,7 @@ "Beerware", "BitTorrent-1.0", "BitTorrent-1.1", + "BlueOak-1.0.0", "Borceux", "CATOSL-1.1", "CC-BY-1.0", @@ -87,6 +89,7 @@ "CC-BY-SA-2.5", "CC-BY-SA-3.0", "CC-BY-SA-4.0", + "CC-PDDC", "CC0-1.0", "CDDL-1.0", "CDDL-1.1", @@ -98,6 +101,8 @@ "CECILL-2.1", "CECILL-B", "CECILL-C", + "CERN-OHL-1.1", + "CERN-OHL-1.2", "CNRI-Jython", "CNRI-Python", "CNRI-Python-GPL-Compatible", @@ -152,6 +157,7 @@ "Glide", "Glulxe", "HPND", + "HPND-sell-variant", "HaskellReport", "IBM-pibs", "ICU", @@ -165,6 +171,7 @@ "Intel", "Intel-ACPI", "Interbase-1.0", + "JPNIC", "JSON", "JasPer-2.0", "LAL-1.2", @@ -265,6 +272,7 @@ "PDDL-1.0", "PHP-3.0", "PHP-3.01", + "Parity-6.0.0", "Plexus", "PostgreSQL", "Python-2.0", @@ -283,12 +291,15 @@ "SGI-B-1.0", "SGI-B-1.1", "SGI-B-2.0", + "SHL-0.5", + "SHL-0.51", "SISSL", "SISSL-1.2", "SMLNJ", "SMPPL", "SNIA", "SPL-1.0", + "SSPL-1.0", "SWL", "Saxpath", "Sendmail", @@ -299,6 +310,7 @@ "Spencer-94", "Spencer-99", "SugarCRM-1.1.3", + "TAPR-OHL-1.0", "TCL", "TCP-wrappers", "TMate", @@ -335,6 +347,7 @@ "Zimbra-1.3", "Zimbra-1.4", "Zlib", + "blessing", "bzip2-1.0.5", "bzip2-1.0.6", "copyleft-next-0.3.0", @@ -346,6 +359,7 @@ "gSOAP-1.3b", "gnuplot", "iMatix", + "libpng-2.0", "libtiff", "mpich2", "psfrag", diff --git a/node_modules/spdx-license-ids/package.json b/node_modules/spdx-license-ids/package.json index 84fd02c3d6022..45cc6c3041aa7 100644 --- a/node_modules/spdx-license-ids/package.json +++ b/node_modules/spdx-license-ids/package.json @@ -1,19 +1,19 @@ { - "_from": "spdx-license-ids@3.0.3", - "_id": "spdx-license-ids@3.0.3", + "_from": "spdx-license-ids@3.0.5", + "_id": "spdx-license-ids@3.0.5", "_inBundle": false, - "_integrity": "sha512-uBIcIl3Ih6Phe3XHK1NqboJLdGfwr1UN3k6wSD1dZpmPsIkb8AGNbZYJ1fOBk834+Gxy8rpfDxrS6XLEMZMY2g==", + "_integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", "_location": "/spdx-license-ids", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, - "raw": "spdx-license-ids@3.0.3", + "raw": "spdx-license-ids@3.0.5", "name": "spdx-license-ids", "escapedName": "spdx-license-ids", - "rawSpec": "3.0.3", + "rawSpec": "3.0.5", "saveSpec": null, - "fetchSpec": "3.0.3" + "fetchSpec": "3.0.5" }, "_requiredBy": [ "#USER", @@ -21,10 +21,10 @@ "/spdx-correct", "/spdx-expression-parse" ], - "_resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz", - "_shasum": "81c0ce8f21474756148bbb5f3bfc0f36bf15d76e", - "_spec": "spdx-license-ids@3.0.3", - "_where": "/Users/zkat/Documents/code/work/npm", + "_resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", + "_shasum": "3694b5804567a458d3c8045842a6358632f62654", + "_spec": "spdx-license-ids@3.0.5", + "_where": "/home/kyle/cli", "author": { "name": "Shinnosuke Watanabe", "url": "https://github.com/shinnn" @@ -73,5 +73,5 @@ "pretest": "eslint .", "test": "node test.js" }, - "version": "3.0.3" + "version": "3.0.5" } diff --git a/package-lock.json b/package-lock.json index 7261d0b2f13a1..41bce16308226 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5395,9 +5395,9 @@ } }, "spdx-license-ids": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz", - "integrity": "sha512-uBIcIl3Ih6Phe3XHK1NqboJLdGfwr1UN3k6wSD1dZpmPsIkb8AGNbZYJ1fOBk834+Gxy8rpfDxrS6XLEMZMY2g==" + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", + "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==" }, "spdx-osi": { "version": "3.0.0", From 9a2e2e797e5c91e7f4f261583a1906e2c440cc2f Mon Sep 17 00:00:00 2001 From: Sean Poulter Date: Sat, 13 Jun 2020 22:40:19 -0400 Subject: [PATCH 05/13] docs: Fix typo PR-URL: https://github.com/npm/cli/pull/1429 Credit: @seanpoulter Close: #1429 Reviewed-by: @claudiahdz --- docs/content/using-npm/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md index a6947b17d58d1..7b3dd79f0a46b 100644 --- a/docs/content/using-npm/config.md +++ b/docs/content/using-npm/config.md @@ -455,7 +455,7 @@ packages. * Type: Boolean When "true" displays the message at the end of each `npm install` -aknowledging the number of dependencies looking for funding. +acknowledging the number of dependencies looking for funding. See [`npm fund`](/cli-commands/npm-fund) for details. #### git From b7ad77598112908d60195d0fbc472b3c84275fd5 Mon Sep 17 00:00:00 2001 From: vanishcode Date: Wed, 10 Jun 2020 19:17:47 +0800 Subject: [PATCH 06/13] fix: wrong `npm doctor` command result --- lib/doctor/check-ping.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/doctor/check-ping.js b/lib/doctor/check-ping.js index 58f14fe69e1e0..d8eac459fd69b 100644 --- a/lib/doctor/check-ping.js +++ b/lib/doctor/check-ping.js @@ -6,7 +6,7 @@ function checkPing (cb) { tracker.info('checkPing', 'Pinging registry') ping({}, true, (err, pong) => { if (err && err.code && err.code.match(/^E\d{3}$/)) { - return cb(null, [err.code.substr(1)]) + return cb(null, [err.code.substr(1), 'failed']) } else { cb(null, [200, 'ok']) } From 1aec4cb6effefbf51033d3964cce2a909c918c0d Mon Sep 17 00:00:00 2001 From: vanishcode Date: Tue, 16 Jun 2020 16:15:09 +0800 Subject: [PATCH 07/13] test: add test for `npm doctor` that ping registry returns error --- test/tap/doctor-ping-registry-404.js | 108 +++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 test/tap/doctor-ping-registry-404.js diff --git a/test/tap/doctor-ping-registry-404.js b/test/tap/doctor-ping-registry-404.js new file mode 100644 index 0000000000000..ef130374f834c --- /dev/null +++ b/test/tap/doctor-ping-registry-404.js @@ -0,0 +1,108 @@ +'use strict' +/* eslint-disable camelcase */ +const common = require('../common-tap.js') +const http = require('http') +const mr = require('npm-registry-mock') +const npm = require('../../lib/npm.js') +const path = require('path') +const Tacks = require('tacks') +const t = require('tap') +const which = require('which') + +const Dir = Tacks.Dir +const File = Tacks.File + +const ROOT = common.pkg +const CACHE = common.cache +const TMP = path.join(ROOT, 'tmp') +const PREFIX = path.join(ROOT, 'global-prefix') +const PKG = path.join(ROOT, 'pkg') + +let server, nodeServer +let node_url + +t.teardown(() => { + if (server) { + server.close() + } + if (nodeServer) { + nodeServer.close() + } +}) + +t.test('setup', (t) => { + const port = common.port + 2 + nodeServer = http.createServer(function (q, s) { + s.end(JSON.stringify([{ lts: true, version: '0.0.0' }])) + }) + nodeServer.listen(port, () => { + node_url = 'http://localhost:' + port + mr({ port: common.port }, (err, s) => { + t.ifError(err, 'registry mocked successfully') + server = s + server.get('/-/ping?write=true').reply(404) + server.get('/npm').reply( + 200, + JSON.stringify({ + name: 'npm', + 'dist-tags': { latest: '0.0.0' }, + versions: { + '0.0.0': { + name: 'npm', + version: '0.0.0', + _shrinkwrap: null, + _hasShrinkwrap: false, + dist: { + shasum: 'deadbeef', + tarball: 'https://reg.eh/npm-0.0.0.tgz', + }, + }, + }, + }) + ) + const fixture = new Tacks( + Dir({ + [path.basename(PKG)]: Dir({ + 'package.json': File({ name: 'npm', version: '0.0.0' }), + }), + [path.basename(PREFIX)]: Dir({}), + }) + ) + fixture.create(ROOT) + npm.load( + { + registry: common.registry, + loglevel: 'silent', + cache: CACHE, + tmp: TMP, + prefix: PREFIX, + }, + (err) => { + t.ifError(err, 'npm loaded successfully') + t.pass('all set up') + t.done() + } + ) + }) + }) +}) + +t.test('npm doctor ping returns 404 (or any other error)', function (t) { + npm.commands.doctor({ 'node-url': node_url }, true, function (e, list) { + t.ifError(e, 'npm loaded successfully') + t.same(list.length, 9, 'list should have 9 prop') + t.same(list[0][1], 'failed', 'npm ping') + t.same(list[1][1], 'v' + npm.version, 'npm -v') + t.same(list[2][1], process.version, 'node -v') + t.same(list[3][1], common.registry + '/', 'npm config get registry') + t.same(list[5][1], 'ok', 'Perms check on cached files') + t.same(list[6][1], 'ok', 'Perms check on global node_modules') + t.same(list[7][1], 'ok', 'Perms check on local node_modules') + t.match(list[8][1], /^verified \d+ tarballs?$/, 'Cache verified') + which('git', function (e, resolvedPath) { + t.ifError(e, 'git command is installed') + t.same(list[4][1], resolvedPath, 'which git') + t.done() + }) + }) +}) From 479e45c03be7b452cbe346e96c750d36597c3eb6 Mon Sep 17 00:00:00 2001 From: vanishcode Date: Tue, 16 Jun 2020 16:28:13 +0800 Subject: [PATCH 08/13] style: fix lint error with no trailing comma PR-URL: https://github.com/npm/cli/pull/1416 Credit: @vanishcode Close: #1416 Reviewed-by: @claudiahdz --- test/tap/doctor-ping-registry-404.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/tap/doctor-ping-registry-404.js b/test/tap/doctor-ping-registry-404.js index ef130374f834c..00a772a7c0dac 100644 --- a/test/tap/doctor-ping-registry-404.js +++ b/test/tap/doctor-ping-registry-404.js @@ -54,18 +54,18 @@ t.test('setup', (t) => { _hasShrinkwrap: false, dist: { shasum: 'deadbeef', - tarball: 'https://reg.eh/npm-0.0.0.tgz', - }, - }, - }, + tarball: 'https://reg.eh/npm-0.0.0.tgz' + } + } + } }) ) const fixture = new Tacks( Dir({ [path.basename(PKG)]: Dir({ - 'package.json': File({ name: 'npm', version: '0.0.0' }), + 'package.json': File({ name: 'npm', version: '0.0.0' }) }), - [path.basename(PREFIX)]: Dir({}), + [path.basename(PREFIX)]: Dir({}) }) ) fixture.create(ROOT) @@ -75,7 +75,7 @@ t.test('setup', (t) => { loglevel: 'silent', cache: CACHE, tmp: TMP, - prefix: PREFIX, + prefix: PREFIX }, (err) => { t.ifError(err, 'npm loaded successfully') From a9857b8f6869451ff058789c4631fadfde5bbcbc Mon Sep 17 00:00:00 2001 From: claudiahdz Date: Thu, 25 Jun 2020 19:34:47 -0500 Subject: [PATCH 09/13] chore: remove auth info from logs --- bin/npm-cli.js | 4 +++- lib/fetch-package-metadata.js | 9 ++++++--- lib/utils/error-handler.js | 5 ++++- lib/utils/error-message.js | 5 +++++ lib/utils/replace-info.js | 22 ++++++++++++++++++++++ 5 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 lib/utils/replace-info.js diff --git a/bin/npm-cli.js b/bin/npm-cli.js index 93eddc7a3c892..c0d9be00433d4 100755 --- a/bin/npm-cli.js +++ b/bin/npm-cli.js @@ -28,6 +28,7 @@ var npm = require('../lib/npm.js') var npmconf = require('../lib/config/core.js') var errorHandler = require('../lib/utils/error-handler.js') + var replaceInfo = require('../lib/utils/replace-info.js') var configDefs = npmconf.defs var shorthands = configDefs.shorthands @@ -40,7 +41,8 @@ process.argv.splice(1, 1, 'npm', '-g') } - log.verbose('cli', process.argv) + var args = replaceInfo(process.argv) + log.verbose('cli', args) var conf = nopt(types, shorthands) npm.argv = conf.argv.remain diff --git a/lib/fetch-package-metadata.js b/lib/fetch-package-metadata.js index c4f46f513fed2..ebb378647b86b 100644 --- a/lib/fetch-package-metadata.js +++ b/lib/fetch-package-metadata.js @@ -3,6 +3,7 @@ const deprCheck = require('./utils/depr-check') const path = require('path') const log = require('npmlog') +const pacote = require('pacote') const readPackageTree = require('read-package-tree') const rimraf = require('rimraf') const validate = require('aproba') @@ -11,15 +12,17 @@ const npm = require('./npm') let npmConfig const npmlog = require('npmlog') const limit = require('call-limit') -const tempFilename = require('./utils/temp-filename') -const pacote = require('pacote') +const tempFilename = require('./utils/temp-filename.js') +const replaceInfo = require('./utils/replace-info.js') const isWindows = require('./utils/is-windows.js') function andLogAndFinish (spec, tracker, done) { validate('SOF|SZF|OOF|OZF', [spec, tracker, done]) return (er, pkg) => { if (er) { - log.silly('fetchPackageMetaData', 'error for ' + String(spec), er.message) + er.message = replaceInfo(er.message) + var spc = replaceInfo(String(spec)) + log.silly('fetchPackageMetaData', 'error for ' + spc, er.message) if (tracker) tracker.finish() } return done(er, pkg) diff --git a/lib/utils/error-handler.js b/lib/utils/error-handler.js index 3e6f176ef8206..902ad7af9b328 100644 --- a/lib/utils/error-handler.js +++ b/lib/utils/error-handler.js @@ -12,6 +12,7 @@ var exitCode = 0 var rollbacks = npm.rollbacks var chain = require('slide').chain var errorMessage = require('./error-message.js') +var replaceInfo = require('./replace-info.js') var stopMetrics = require('./metrics.js').stop const cacheFile = require('./cache-file.js') @@ -175,14 +176,16 @@ function errorHandler (er) { ].forEach(function (k) { var v = er[k] if (!v) return + v = replaceInfo(v) log.verbose(k, v) }) log.verbose('cwd', process.cwd()) var os = require('os') + var args = replaceInfo(process.argv) log.verbose('', os.type() + ' ' + os.release()) - log.verbose('argv', process.argv.map(JSON.stringify).join(' ')) + log.verbose('argv', args.map(JSON.stringify).join(' ')) log.verbose('node', process.version) log.verbose('npm ', 'v' + npm.version) diff --git a/lib/utils/error-message.js b/lib/utils/error-message.js index 3faa78f308914..78ccdeeb533d6 100644 --- a/lib/utils/error-message.js +++ b/lib/utils/error-message.js @@ -3,12 +3,17 @@ var npm = require('../npm.js') var util = require('util') var nameValidator = require('validate-npm-package-name') var npmlog = require('npmlog') +var replaceInfo = require('./replace-info.js') module.exports = errorMessage function errorMessage (er) { var short = [] var detail = [] + + er.message = replaceInfo(er.message) + er.stack = replaceInfo(er.stack) + switch (er.code) { case 'ENOAUDIT': short.push(['audit', er.message]) diff --git a/lib/utils/replace-info.js b/lib/utils/replace-info.js new file mode 100644 index 0000000000000..a613a3755fab0 --- /dev/null +++ b/lib/utils/replace-info.js @@ -0,0 +1,22 @@ +const URL = require('url') + +// replaces auth info in an array +// of arguments or in a strings +function replaceInfo (arg) { + const isArray = Array.isArray(arg) + const isString = typeof arg === 'string' + + if (!isArray && !isString) return arg + + const args = isString ? arg.split(' ') : arg + const info = args.map(arg => { + try { + const url = new URL(arg) + return url.password === '' ? arg : arg.replace(url.password, '***') + } catch (e) { return arg } + }) + + return isString ? info.join(' ') : info +} + +module.exports = replaceInfo From 94eca637756376b949edfb697e179a1fdcc231ee Mon Sep 17 00:00:00 2001 From: claudiahdz Date: Tue, 30 Jun 2020 13:39:03 -0500 Subject: [PATCH 10/13] npm-registry-fetch@4.0.5 --- node_modules/npm-registry-fetch/CHANGELOG.md | 5 ++++ .../npm-registry-fetch/check-response.js | 12 +++++++- .../node_modules/safe-buffer/README.md | 2 -- .../node_modules/safe-buffer/index.js | 1 + .../node_modules/safe-buffer/package.json | 30 ++++++++++++++----- node_modules/npm-registry-fetch/package.json | 22 +++++++------- package-lock.json | 12 ++++---- package.json | 2 +- 8 files changed, 57 insertions(+), 29 deletions(-) diff --git a/node_modules/npm-registry-fetch/CHANGELOG.md b/node_modules/npm-registry-fetch/CHANGELOG.md index 75b74eec60144..0340ab46e7acd 100644 --- a/node_modules/npm-registry-fetch/CHANGELOG.md +++ b/node_modules/npm-registry-fetch/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [4.0.5](https://github.com/npm/registry-fetch/compare/v4.0.4...v4.0.5) (2020-06-30) + + + ## [4.0.4](https://github.com/npm/registry-fetch/compare/v4.0.3...v4.0.4) (2020-04-28) diff --git a/node_modules/npm-registry-fetch/check-response.js b/node_modules/npm-registry-fetch/check-response.js index 14058239ba3f5..55139c93aff8d 100644 --- a/node_modules/npm-registry-fetch/check-response.js +++ b/node_modules/npm-registry-fetch/check-response.js @@ -29,9 +29,19 @@ function logRequest (method, res, startTime, opts) { const attempt = res.headers.get('x-fetch-attempts') const attemptStr = attempt && attempt > 1 ? ` attempt #${attempt}` : '' const cacheStr = res.headers.get('x-local-cache') ? ' (from cache)' : '' + + let urlStr + try { + const URL = require('url') + const url = new URL(res.url) + urlStr = res.url.replace(url.password, '***') + } catch (er) { + urlStr = res.url + } + opts.log.http( 'fetch', - `${method.toUpperCase()} ${res.status} ${res.url} ${elapsedTime}ms${attemptStr}${cacheStr}` + `${method.toUpperCase()} ${res.status} ${urlStr} ${elapsedTime}ms${attemptStr}${cacheStr}` ) } diff --git a/node_modules/npm-registry-fetch/node_modules/safe-buffer/README.md b/node_modules/npm-registry-fetch/node_modules/safe-buffer/README.md index 356e3519302cf..e9a81afd0406f 100644 --- a/node_modules/npm-registry-fetch/node_modules/safe-buffer/README.md +++ b/node_modules/npm-registry-fetch/node_modules/safe-buffer/README.md @@ -22,8 +22,6 @@ npm install safe-buffer ``` -[Get supported safe-buffer with the Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-safe-buffer?utm_source=npm-safe-buffer&utm_medium=referral&utm_campaign=readme) - ## usage The goal of this package is to provide a safe replacement for the node.js `Buffer`. diff --git a/node_modules/npm-registry-fetch/node_modules/safe-buffer/index.js b/node_modules/npm-registry-fetch/node_modules/safe-buffer/index.js index 054c8d30ddafb..f8d3ec98852f4 100644 --- a/node_modules/npm-registry-fetch/node_modules/safe-buffer/index.js +++ b/node_modules/npm-registry-fetch/node_modules/safe-buffer/index.js @@ -1,3 +1,4 @@ +/*! safe-buffer. MIT License. Feross Aboukhadijeh */ /* eslint-disable node/no-deprecated-api */ var buffer = require('buffer') var Buffer = buffer.Buffer diff --git a/node_modules/npm-registry-fetch/node_modules/safe-buffer/package.json b/node_modules/npm-registry-fetch/node_modules/safe-buffer/package.json index 576c453b23322..5062922aecfe7 100644 --- a/node_modules/npm-registry-fetch/node_modules/safe-buffer/package.json +++ b/node_modules/npm-registry-fetch/node_modules/safe-buffer/package.json @@ -1,8 +1,8 @@ { "_from": "safe-buffer@^5.2.0", - "_id": "safe-buffer@5.2.0", + "_id": "safe-buffer@5.2.1", "_inBundle": false, - "_integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==", + "_integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "_location": "/npm-registry-fetch/safe-buffer", "_phantomChildren": {}, "_requested": { @@ -18,14 +18,14 @@ "_requiredBy": [ "/npm-registry-fetch" ], - "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", - "_shasum": "b74daec49b1148f88c64b68d49b1e815c1f2f519", + "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "_shasum": "1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6", "_spec": "safe-buffer@^5.2.0", - "_where": "/Users/mperrotte/npminc/cli/node_modules/npm-registry-fetch", + "_where": "/Users/claudiahdz/npm/cli/node_modules/npm-registry-fetch", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", - "url": "http://feross.org" + "url": "https://feross.org" }, "bugs": { "url": "https://github.com/feross/safe-buffer/issues" @@ -35,8 +35,22 @@ "description": "Safer Node.js Buffer API", "devDependencies": { "standard": "*", - "tape": "^4.0.0" + "tape": "^5.0.0" }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "homepage": "https://github.com/feross/safe-buffer", "keywords": [ "buffer", @@ -58,5 +72,5 @@ "test": "standard && tape test/*.js" }, "types": "index.d.ts", - "version": "5.2.0" + "version": "5.2.1" } diff --git a/node_modules/npm-registry-fetch/package.json b/node_modules/npm-registry-fetch/package.json index c1582514e36e1..8959c4c558a4d 100644 --- a/node_modules/npm-registry-fetch/package.json +++ b/node_modules/npm-registry-fetch/package.json @@ -1,19 +1,19 @@ { - "_from": "npm-registry-fetch@4.0.4", - "_id": "npm-registry-fetch@4.0.4", + "_from": "npm-registry-fetch@4.0.5", + "_id": "npm-registry-fetch@4.0.5", "_inBundle": false, - "_integrity": "sha512-6jb34hX/iYNQebqWUHtU8YF6Cjb1H6ouTFPClYsyiW6lpFkljTpdeftm53rRojtja1rKAvKNIIiTS5Sjpw4wsA==", + "_integrity": "sha512-yQ0/U4fYpCCqmueB2g8sc+89ckQ3eXpmU4+Yi2j5o/r0WkKvE2+Y0tK3DEILAtn2UaQTkjTHxIXe2/CSdit+/Q==", "_location": "/npm-registry-fetch", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, - "raw": "npm-registry-fetch@4.0.4", + "raw": "npm-registry-fetch@4.0.5", "name": "npm-registry-fetch", "escapedName": "npm-registry-fetch", - "rawSpec": "4.0.4", + "rawSpec": "4.0.5", "saveSpec": null, - "fetchSpec": "4.0.4" + "fetchSpec": "4.0.5" }, "_requiredBy": [ "#USER", @@ -28,10 +28,10 @@ "/npm-profile", "/pacote" ], - "_resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-4.0.4.tgz", - "_shasum": "2da1ecf3f43d419d96abf313664291a4623d3ea5", - "_spec": "npm-registry-fetch@4.0.4", - "_where": "/Users/ruyadorno/Documents/workspace/cli", + "_resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-4.0.5.tgz", + "_shasum": "cb87cf7f25bfb048d6c3ee19d115bebf93ea5bfa", + "_spec": "npm-registry-fetch@4.0.5", + "_where": "/Users/claudiahdz/npm/cli", "author": { "name": "Kat Marchán", "email": "kzm@sykosomatic.org" @@ -102,5 +102,5 @@ "update-coc": "weallbehave -o . && git add CODE_OF_CONDUCT.md && git commit -m 'docs(coc): updated CODE_OF_CONDUCT.md'", "update-contrib": "weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): updated CONTRIBUTING.md'" }, - "version": "4.0.4" + "version": "4.0.5" } diff --git a/package-lock.json b/package-lock.json index 41bce16308226..dfb3f9b3f1526 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3903,9 +3903,9 @@ } }, "npm-registry-fetch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-4.0.4.tgz", - "integrity": "sha512-6jb34hX/iYNQebqWUHtU8YF6Cjb1H6ouTFPClYsyiW6lpFkljTpdeftm53rRojtja1rKAvKNIIiTS5Sjpw4wsA==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-4.0.5.tgz", + "integrity": "sha512-yQ0/U4fYpCCqmueB2g8sc+89ckQ3eXpmU4+Yi2j5o/r0WkKvE2+Y0tK3DEILAtn2UaQTkjTHxIXe2/CSdit+/Q==", "requires": { "JSONStream": "^1.3.4", "bluebird": "^3.5.1", @@ -3917,9 +3917,9 @@ }, "dependencies": { "safe-buffer": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", - "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" } } }, diff --git a/package.json b/package.json index bfbed9ea0bab4..c36f01289919b 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "npm-packlist": "^1.4.8", "npm-pick-manifest": "^3.0.2", "npm-profile": "^4.0.4", - "npm-registry-fetch": "^4.0.4", + "npm-registry-fetch": "^4.0.5", "npm-user-validate": "~1.0.0", "npmlog": "~4.1.2", "once": "~1.4.0", From ccaaaabfc03c65f4a0bf234113fff912631be00f Mon Sep 17 00:00:00 2001 From: claudiahdz Date: Wed, 1 Jul 2020 17:33:38 -0500 Subject: [PATCH 11/13] docs: changelog for 6.14.6 --- CHANGELOG.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bae7de7060560..717a184ca7852 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +## 6.14.6 (2020-07-02) + +### BUG FIXES +* [`a9857b8f6`](https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc) chore: remove auth info from logs ([@claudiahdz](https://github.com/claudiahdz)) +* [`b7ad77598`](https://github.com/npm/cli/commit/b7ad77598112908d60195d0fbc472b3c84275fd5) [#1416](https://github.com/npm/cli/pull/1416) fix: wrong `npm doctor` command result ([@vanishcode](https://github.com/vanishcode)) + +### DEPENDENCIES +* [`94eca6377`](https://github.com/npm/cli/commit/94eca637756376b949edfb697e179a1fdcc231ee) `npm-registry-fetch@4.0.5` ([@claudiahdz](https://github.com/claudiahdz)) +* [`c49b6ae28`](https://github.com/npm/cli/commit/c49b6ae28791ff7184288be16654f97168aa9705) [#1418](https://github.com/npm/cli/pull/1418) `spdx-license-ids@3.0.5` ([@kemitchell](https://github.com/kemitchell)) + +### DOCUMENTATION +* [`2e052984b`](https://github.com/npm/cli/commit/2e052984b08c09115ed75387fb2c961631d85d77) + [#1459](https://github.com/npm/cli/pull/1459) + chore(docs): fixed links to cli commands ([@claudiahdz](https://github.com/claudiahdz)) +* [`0ca3509ca`](https://github.com/npm/cli/commit/0ca3509ca940865392daeeabb39192f7d5af9f5e) + [#1283](https://github.com/npm/cli/pull/1283) Update npm-link.md ([@peterfich](https://github.com/peterfich)) +* [`3dd429e9a`](https://github.com/npm/cli/commit/3dd429e9aad760ce2ff9e522b34ebfebd85b460c) + [#1377](https://github.com/npm/cli/pull/1377) + Add note about dropped `*` filenames ([@maxwellgerber](https://github.com/maxwellgerber)) +* [`9a2e2e797`](https://github.com/npm/cli/commit/9a2e2e797e5c91e7f4f261583a1906e2c440cc2f) + [#1429](https://github.com/npm/cli/pull/1429) Fix typo ([@seanpoulter](https://github.com/seanpoulter)) + ## 6.14.5 (2020-05-01) ### BUG FIXES From f8a3f0ee2ed20996a98b43482c61ffe7be4c5652 Mon Sep 17 00:00:00 2001 From: claudiahdz Date: Tue, 7 Jul 2020 11:54:04 -0500 Subject: [PATCH 12/13] update AUTHORS --- AUTHORS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AUTHORS b/AUTHORS index 08cade33b6ff1..313dba9e161f8 100644 --- a/AUTHORS +++ b/AUTHORS @@ -695,3 +695,7 @@ Jarda Snajdr Naix Geng <1308363651@qq.com> Dylan Treisman mum-never-proud +Peter Fich +Maxwell Gerber +Sean Poulter +vanishcode From 7352eb694dd881ff6ceb41f1ae0973dbb2ad233a Mon Sep 17 00:00:00 2001 From: claudiahdz Date: Tue, 7 Jul 2020 11:54:05 -0500 Subject: [PATCH 13/13] 6.14.6 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index dfb3f9b3f1526..1c25c7aa1c0fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "npm", - "version": "6.14.5", + "version": "6.14.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index c36f01289919b..ea8deeb01e5ca 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "6.14.5", + "version": "6.14.6", "name": "npm", "description": "a package manager for JavaScript", "keywords": [