diff options
author | isaacs <i@izs.me> | 2021-04-24 01:29:10 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2021-04-24 01:39:53 +0300 |
commit | 72a7eeb493e0e71cba3af36490cb245030ed31a3 (patch) | |
tree | 1b35c937975cc68ba8c558074fdfbdb83d71ab94 /tap-snapshots | |
parent | c74e67fc6572bb001d74c7486c05d211a0e03de8 (diff) |
Remove --always-auth config definition
As of the recent updates to npm-registry-fetch and @npmcli/config,
this config field is no longer used anywhere.
Prior to those changes, it was used, but not in the manner documented.
Diffstat (limited to 'tap-snapshots')
3 files changed, 2 insertions, 11 deletions
diff --git a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs index b3d920a0c..32443c57a 100644 --- a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs +++ b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs @@ -12,7 +12,6 @@ Array [ "all", "allow-same-version", "also", - "always-auth", "audit", "audit-level", "auth-type", diff --git a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs index ce520e748..d6761ea30 100644 --- a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs +++ b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs @@ -44,14 +44,6 @@ upon by the current project. Prevents throwing an error when \`npm version\` is used to set the new version to the same value as the current version. -#### \`always-auth\` - -* Default: false -* Type: Boolean - -Force npm to always require authentication when accessing the registry, even -for \`GET\` requests. - #### \`audit\` * Default: true diff --git a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs index 946cfba90..ad61dc796 100644 --- a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs +++ b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs @@ -190,7 +190,7 @@ All commands: npm adduser Options: - [--registry <registry>] [--scope <@scope>] [--always-auth] + [--registry <registry>] [--scope <@scope>] aliases: login, add-user @@ -565,7 +565,7 @@ All commands: npm adduser Options: - [--registry <registry>] [--scope <@scope>] [--always-auth] + [--registry <registry>] [--scope <@scope>] aliases: login, add-user |