Skip to content

Commit

Permalink
deps: npm-registry-fetch@13.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Mar 23, 2022
1 parent 6d49f56 commit 9af9135
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 27 deletions.
4 changes: 2 additions & 2 deletions node_modules/npm-registry-fetch/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ function regFetch (uri, /* istanbul ignore next */ opts_ = {}) {
opts.preferOnline = true
}

const doFetch = async body => {
const doFetch = async fetchBody => {
const p = fetch(uri, {
agent: opts.agent,
algorithms: opts.algorithms,
body,
body: fetchBody,
cache: getCacheMode(opts),
cachePath: opts.cache,
ca: opts.ca,
Expand Down
31 changes: 18 additions & 13 deletions node_modules/npm-registry-fetch/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "npm-registry-fetch",
"version": "13.0.1",
"version": "13.1.0",
"description": "Fetch-based http client for use with npm registry APIs",
"main": "lib",
"files": [
"bin",
"lib"
"bin/",
"lib/"
],
"scripts": {
"eslint": "eslint",
"lint": "eslint '**/*.js'",
"lint": "eslint \"**/*.js\"",
"lintfix": "npm run lint -- --fix",
"prepublishOnly": "git push origin --follow-tags",
"preversion": "npm test",
Expand All @@ -18,11 +18,14 @@
"posttest": "npm run lint",
"npmclilint": "npmcli-lint",
"postsnap": "npm run lintfix --",
"postlint": "npm-template-check",
"postlint": "template-oss-check",
"snap": "tap",
"template-copy": "npm-template-copy --force"
"template-oss-apply": "template-oss-apply --force"
},
"repository": {
"type": "git",
"url": "https://github.com/npm/npm-registry-fetch.git"
},
"repository": "https://github.com/npm/npm-registry-fetch",
"keywords": [
"npm",
"registry",
Expand All @@ -31,17 +34,18 @@
"author": "GitHub Inc.",
"license": "ISC",
"dependencies": {
"make-fetch-happen": "^10.0.4",
"make-fetch-happen": "^10.0.6",
"minipass": "^3.1.6",
"minipass-fetch": "^2.0.2",
"minipass-fetch": "^2.0.3",
"minipass-json-stream": "^1.0.1",
"minizlib": "^2.1.2",
"npm-package-arg": "^9.0.1",
"proc-log": "^2.0.0"
},
"devDependencies": {
"@npmcli/template-oss": "^2.9.2",
"cacache": "^16.0.1",
"@npmcli/eslint-config": "^3.0.1",
"@npmcli/template-oss": "3.1.2",
"cacache": "^16.0.2",
"nock": "^13.2.4",
"require-inject": "^1.4.4",
"ssri": "^8.0.1",
Expand All @@ -52,9 +56,10 @@
"test-ignore": "test[\\\\/](util|cache)[\\\\/]"
},
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16"
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
},
"templateOSS": {
"version": "2.9.2"
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "3.1.2"
}
}
23 changes: 12 additions & 11 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"npm-package-arg": "^9.0.1",
"npm-pick-manifest": "^7.0.0",
"npm-profile": "^6.0.2",
"npm-registry-fetch": "github:npm/npm-registry-fetch#lk/redact-token",
"npm-registry-fetch": "^13.1.0",
"npm-user-validate": "^1.0.1",
"npmlog": "^6.0.1",
"opener": "^1.5.2",
Expand Down Expand Up @@ -5439,21 +5439,21 @@
}
},
"node_modules/npm-registry-fetch": {
"version": "13.0.1",
"resolved": "git+ssh://git@github.com/npm/npm-registry-fetch.git#4aa555f7bd5452a9e53c6403e0c22573a636c386",
"version": "13.1.0",
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.1.0.tgz",
"integrity": "sha512-TIYL5X8CcwDhbFMXFDShNcpG6OMCYK6VzvSr6MUWP20tCU2DJ4ao2qQg3DT+3Pet8mO6/cgbZpon4LMh3duYLg==",
"inBundle": true,
"license": "ISC",
"dependencies": {
"make-fetch-happen": "^10.0.4",
"make-fetch-happen": "^10.0.6",
"minipass": "^3.1.6",
"minipass-fetch": "^2.0.2",
"minipass-fetch": "^2.0.3",
"minipass-json-stream": "^1.0.1",
"minizlib": "^2.1.2",
"npm-package-arg": "^9.0.1",
"proc-log": "^2.0.0"
},
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16"
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
}
},
"node_modules/npm-user-validate": {
Expand Down Expand Up @@ -14908,12 +14908,13 @@
}
},
"npm-registry-fetch": {
"version": "git+ssh://git@github.com/npm/npm-registry-fetch.git#4aa555f7bd5452a9e53c6403e0c22573a636c386",
"from": "npm-registry-fetch@github:npm/npm-registry-fetch#lk/redact-token",
"version": "13.1.0",
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.1.0.tgz",
"integrity": "sha512-TIYL5X8CcwDhbFMXFDShNcpG6OMCYK6VzvSr6MUWP20tCU2DJ4ao2qQg3DT+3Pet8mO6/cgbZpon4LMh3duYLg==",
"requires": {
"make-fetch-happen": "^10.0.4",
"make-fetch-happen": "^10.0.6",
"minipass": "^3.1.6",
"minipass-fetch": "^2.0.2",
"minipass-fetch": "^2.0.3",
"minipass-json-stream": "^1.0.1",
"minizlib": "^2.1.2",
"npm-package-arg": "^9.0.1",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"npm-package-arg": "^9.0.1",
"npm-pick-manifest": "^7.0.0",
"npm-profile": "^6.0.2",
"npm-registry-fetch": "github:npm/npm-registry-fetch#lk/redact-token",
"npm-registry-fetch": "^13.1.0",
"npm-user-validate": "^1.0.1",
"npmlog": "^6.0.1",
"opener": "^1.5.2",
Expand Down

0 comments on commit 9af9135

Please sign in to comment.