Skip to content

Commit

Permalink
deps: npm-registry-fetch@13.2.0 (#5157)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Jul 12, 2022
1 parent e8102c1 commit 4a9f2dc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions node_modules/npm-registry-fetch/lib/index.js
Expand Up @@ -213,6 +213,10 @@ function getHeaders (uri, auth, opts) {
'user-agent': opts.userAgent,
}, opts.headers || {})

if (opts.authType) {
headers['npm-auth-type'] = opts.authType
}

if (opts.scope) {
headers['npm-scope'] = opts.scope
}
Expand Down
6 changes: 3 additions & 3 deletions node_modules/npm-registry-fetch/package.json
@@ -1,6 +1,6 @@
{
"name": "npm-registry-fetch",
"version": "13.1.1",
"version": "13.2.0",
"description": "Fetch-based http client for use with npm registry APIs",
"main": "lib",
"files": [
Expand Down Expand Up @@ -44,7 +44,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^3.0.1",
"@npmcli/template-oss": "3.3.2",
"@npmcli/template-oss": "3.5.0",
"cacache": "^16.0.2",
"nock": "^13.2.4",
"require-inject": "^1.4.4",
Expand All @@ -60,6 +60,6 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "3.3.2"
"version": "3.5.0"
}
}
8 changes: 4 additions & 4 deletions package-lock.json
Expand Up @@ -135,7 +135,7 @@
"npm-package-arg": "^9.1.0",
"npm-pick-manifest": "^7.0.1",
"npm-profile": "^6.1.0",
"npm-registry-fetch": "^13.1.1",
"npm-registry-fetch": "^13.2.0",
"npm-user-validate": "^1.0.1",
"npmlog": "^6.0.2",
"opener": "^1.5.2",
Expand Down Expand Up @@ -5188,9 +5188,9 @@
}
},
"node_modules/npm-registry-fetch": {
"version": "13.1.1",
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.1.1.tgz",
"integrity": "sha512-5p8rwe6wQPLJ8dMqeTnA57Dp9Ox6GH9H60xkyJup07FmVlu3Mk7pf/kIIpl9gaN5bM8NM+UUx3emUWvDNTt39w==",
"version": "13.2.0",
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.2.0.tgz",
"integrity": "sha512-NEKnK02Co31+cnDtnAvEdq9xn6E9yKPK/aOHXZieVbw/qVOcFd7su6kviZjImYoszjM2GykMfGMiyyPUQjUkag==",
"inBundle": true,
"dependencies": {
"make-fetch-happen": "^10.0.6",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -103,7 +103,7 @@
"npm-package-arg": "^9.1.0",
"npm-pick-manifest": "^7.0.1",
"npm-profile": "^6.1.0",
"npm-registry-fetch": "^13.1.1",
"npm-registry-fetch": "^13.2.0",
"npm-user-validate": "^1.0.1",
"npmlog": "^6.0.2",
"opener": "^1.5.2",
Expand Down

0 comments on commit 4a9f2dc

Please sign in to comment.