From 877b4ed2925c97b5249a4d33575420dda64f7339 Mon Sep 17 00:00:00 2001 From: Gar Date: Wed, 24 Mar 2021 10:57:05 -0700 Subject: [PATCH] fix(flatOptions): re-add `_auth` This was not being added to flatOptions, and things like `npm-registry-fetch` are looking for it. PR-URL: https://github.com/npm/cli/pull/2946 Credit: @wraithgar Close: #2946 Reviewed-by: @nlf --- lib/utils/config/definitions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js index e8cdbec3e1d52..3b6d61583e252 100644 --- a/lib/utils/config/definitions.js +++ b/lib/utils/config/definitions.js @@ -143,6 +143,7 @@ define('_auth', { is safer to use a registry-provided authentication bearer token stored in the ~/.npmrc file by running \`npm login\`. `, + flatten, }) define('access', {