From 72a7eeb493e0e71cba3af36490cb245030ed31a3 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 23 Apr 2021 15:29:10 -0700 Subject: 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. --- tap-snapshots/test/lib/utils/config/definitions.js.test.cjs | 1 - tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs | 8 -------- tap-snapshots/test/lib/utils/npm-usage.js.test.cjs | 4 ++-- 3 files changed, 2 insertions(+), 11 deletions(-) (limited to 'tap-snapshots') 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 ] [--scope <@scope>] [--always-auth] + [--registry ] [--scope <@scope>] aliases: login, add-user @@ -565,7 +565,7 @@ All commands: npm adduser Options: - [--registry ] [--scope <@scope>] [--always-auth] + [--registry ] [--scope <@scope>] aliases: login, add-user -- cgit v1.2.3