Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-04-23 00:21:15 +0300
committerGar <gar+gh@danger.computer>2021-04-23 00:21:15 +0300
commit83166ebcc4ba5e3bf215f08151437d96637f4f33 (patch)
tree5b0a8e838ef942462bd6a1d7aa42fac655c69b45 /node_modules
parent23e12b4d8f63d765a48036e7bb08f53319c73304 (diff)
npm-registry-fetch@10.1.0
Diffstat (limited to 'node_modules')
-rw-r--r--node_modules/npm-registry-fetch/auth.js2
-rw-r--r--node_modules/npm-registry-fetch/package.json2
2 files changed, 3 insertions, 1 deletions
diff --git a/node_modules/npm-registry-fetch/auth.js b/node_modules/npm-registry-fetch/auth.js
index cf76fdb6b..fafea54f3 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 614d664c4..dab9cbb0c 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": [