From 83166ebcc4ba5e3bf215f08151437d96637f4f33 Mon Sep 17 00:00:00 2001 From: Gar Date: Thu, 22 Apr 2021 14:21:15 -0700 Subject: [PATCH] npm-registry-fetch@10.1.0 --- node_modules/npm-registry-fetch/auth.js | 2 ++ node_modules/npm-registry-fetch/package.json | 2 +- package-lock.json | 14 +++++++------- package.json | 2 +- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/node_modules/npm-registry-fetch/auth.js b/node_modules/npm-registry-fetch/auth.js index cf76fdb6beb4d..fafea54f32961 100644 --- a/node_modules/npm-registry-fetch/auth.js +++ b/node_modules/npm-registry-fetch/auth.js @@ -80,6 +80,7 @@ class Auth { this.scopeAuthKey = scopeAuthKey this.token = null this.auth = null + this.isBasicAuth = false if (token) this.token = token else if (auth) @@ -87,6 +88,7 @@ class Auth { else if (username && password) { const p = Buffer.from(password, 'base64').toString('utf8') this.auth = Buffer.from(`${username}:${p}`, 'utf8').toString('base64') + this.isBasicAuth = true } } } diff --git a/node_modules/npm-registry-fetch/package.json b/node_modules/npm-registry-fetch/package.json index 614d664c463cc..dab9cbb0c9897 100644 --- a/node_modules/npm-registry-fetch/package.json +++ b/node_modules/npm-registry-fetch/package.json @@ -1,6 +1,6 @@ { "name": "npm-registry-fetch", - "version": "10.0.0", + "version": "10.1.0", "description": "Fetch-based http client for use with npm registry APIs", "main": "index.js", "files": [ diff --git a/package-lock.json b/package-lock.json index 6f57599b527b8..0b3c997079b11 100644 --- a/package-lock.json +++ b/package-lock.json @@ -124,7 +124,7 @@ "npm-package-arg": "^8.1.2", "npm-pick-manifest": "^6.1.1", "npm-profile": "^5.0.3", - "npm-registry-fetch": "^10.0.0", + "npm-registry-fetch": "^10.1.0", "npm-user-validate": "^1.0.1", "npmlog": "~4.1.2", "opener": "^1.5.2", @@ -5467,9 +5467,9 @@ } }, "node_modules/npm-registry-fetch": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-10.0.0.tgz", - "integrity": "sha512-/uLlH8Toc2ZwxwcKpxciEr8WaJM9eW5OeznBphtob8T0fWRT8IDCRYvXfKvmGVYdRdA9ZPDEwE8AF8C0RMTyew==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-10.1.0.tgz", + "integrity": "sha512-XcKu0h6OuRTB7HO5uv8htavPQJ1dYTLAXLE5AMs4GFQ1LbY+LlHiNoqIbVshE3rk0vLk+nKxpA/4WJm1kE7eqg==", "inBundle": true, "dependencies": { "lru-cache": "^6.0.0", @@ -14471,9 +14471,9 @@ } }, "npm-registry-fetch": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-10.0.0.tgz", - "integrity": "sha512-/uLlH8Toc2ZwxwcKpxciEr8WaJM9eW5OeznBphtob8T0fWRT8IDCRYvXfKvmGVYdRdA9ZPDEwE8AF8C0RMTyew==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-10.1.0.tgz", + "integrity": "sha512-XcKu0h6OuRTB7HO5uv8htavPQJ1dYTLAXLE5AMs4GFQ1LbY+LlHiNoqIbVshE3rk0vLk+nKxpA/4WJm1kE7eqg==", "requires": { "lru-cache": "^6.0.0", "make-fetch-happen": "^8.0.9", diff --git a/package.json b/package.json index e95448fea40a5..5a88c983a5be9 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "npm-package-arg": "^8.1.2", "npm-pick-manifest": "^6.1.1", "npm-profile": "^5.0.3", - "npm-registry-fetch": "^10.0.0", + "npm-registry-fetch": "^10.1.0", "npm-user-validate": "^1.0.1", "npmlog": "~4.1.2", "opener": "^1.5.2",