Skip to content

Commit 6df061e

Browse files
lukekarrysfritzy
authored andcommitted
deps: npm-registry-fetch@13.1.0
1 parent cc6c094 commit 6df061e

File tree

4 files changed

+33
-27
lines changed

4 files changed

+33
-27
lines changed

node_modules/npm-registry-fetch/lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ function regFetch (uri, /* istanbul ignore next */ opts_ = {}) {
104104
opts.preferOnline = true
105105
}
106106

107-
const doFetch = async body => {
107+
const doFetch = async fetchBody => {
108108
const p = fetch(uri, {
109109
agent: opts.agent,
110110
algorithms: opts.algorithms,
111-
body,
111+
body: fetchBody,
112112
cache: getCacheMode(opts),
113113
cachePath: opts.cache,
114114
ca: opts.ca,
Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "npm-registry-fetch",
3-
"version": "13.0.1",
3+
"version": "13.1.0",
44
"description": "Fetch-based http client for use with npm registry APIs",
55
"main": "lib",
66
"files": [
7-
"bin",
8-
"lib"
7+
"bin/",
8+
"lib/"
99
],
1010
"scripts": {
1111
"eslint": "eslint",
12-
"lint": "eslint '**/*.js'",
12+
"lint": "eslint \"**/*.js\"",
1313
"lintfix": "npm run lint -- --fix",
1414
"prepublishOnly": "git push origin --follow-tags",
1515
"preversion": "npm test",
@@ -18,11 +18,14 @@
1818
"posttest": "npm run lint",
1919
"npmclilint": "npmcli-lint",
2020
"postsnap": "npm run lintfix --",
21-
"postlint": "npm-template-check",
21+
"postlint": "template-oss-check",
2222
"snap": "tap",
23-
"template-copy": "npm-template-copy --force"
23+
"template-oss-apply": "template-oss-apply --force"
24+
},
25+
"repository": {
26+
"type": "git",
27+
"url": "https://github.com/npm/npm-registry-fetch.git"
2428
},
25-
"repository": "https://github.com/npm/npm-registry-fetch",
2629
"keywords": [
2730
"npm",
2831
"registry",
@@ -31,17 +34,18 @@
3134
"author": "GitHub Inc.",
3235
"license": "ISC",
3336
"dependencies": {
34-
"make-fetch-happen": "^10.0.4",
37+
"make-fetch-happen": "^10.0.6",
3538
"minipass": "^3.1.6",
36-
"minipass-fetch": "^2.0.2",
39+
"minipass-fetch": "^2.0.3",
3740
"minipass-json-stream": "^1.0.1",
3841
"minizlib": "^2.1.2",
3942
"npm-package-arg": "^9.0.1",
4043
"proc-log": "^2.0.0"
4144
},
4245
"devDependencies": {
43-
"@npmcli/template-oss": "^2.9.2",
44-
"cacache": "^16.0.1",
46+
"@npmcli/eslint-config": "^3.0.1",
47+
"@npmcli/template-oss": "3.1.2",
48+
"cacache": "^16.0.2",
4549
"nock": "^13.2.4",
4650
"require-inject": "^1.4.4",
4751
"ssri": "^8.0.1",
@@ -52,9 +56,10 @@
5256
"test-ignore": "test[\\\\/](util|cache)[\\\\/]"
5357
},
5458
"engines": {
55-
"node": "^12.13.0 || ^14.15.0 || >=16"
59+
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
5660
},
5761
"templateOSS": {
58-
"version": "2.9.2"
62+
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
63+
"version": "3.1.2"
5964
}
6065
}

package-lock.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"npm-package-arg": "^9.0.1",
138138
"npm-pick-manifest": "^7.0.0",
139139
"npm-profile": "^6.0.2",
140-
"npm-registry-fetch": "github:npm/npm-registry-fetch#lk/redact-token",
140+
"npm-registry-fetch": "^13.1.0",
141141
"npm-user-validate": "^1.0.1",
142142
"npmlog": "^6.0.1",
143143
"opener": "^1.5.2",
@@ -5439,21 +5439,21 @@
54395439
}
54405440
},
54415441
"node_modules/npm-registry-fetch": {
5442-
"version": "13.0.1",
5443-
"resolved": "git+ssh://git@github.com/npm/npm-registry-fetch.git#4aa555f7bd5452a9e53c6403e0c22573a636c386",
5442+
"version": "13.1.0",
5443+
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.1.0.tgz",
5444+
"integrity": "sha512-TIYL5X8CcwDhbFMXFDShNcpG6OMCYK6VzvSr6MUWP20tCU2DJ4ao2qQg3DT+3Pet8mO6/cgbZpon4LMh3duYLg==",
54445445
"inBundle": true,
5445-
"license": "ISC",
54465446
"dependencies": {
5447-
"make-fetch-happen": "^10.0.4",
5447+
"make-fetch-happen": "^10.0.6",
54485448
"minipass": "^3.1.6",
5449-
"minipass-fetch": "^2.0.2",
5449+
"minipass-fetch": "^2.0.3",
54505450
"minipass-json-stream": "^1.0.1",
54515451
"minizlib": "^2.1.2",
54525452
"npm-package-arg": "^9.0.1",
54535453
"proc-log": "^2.0.0"
54545454
},
54555455
"engines": {
5456-
"node": "^12.13.0 || ^14.15.0 || >=16"
5456+
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
54575457
}
54585458
},
54595459
"node_modules/npm-user-validate": {
@@ -14908,12 +14908,13 @@
1490814908
}
1490914909
},
1491014910
"npm-registry-fetch": {
14911-
"version": "git+ssh://git@github.com/npm/npm-registry-fetch.git#4aa555f7bd5452a9e53c6403e0c22573a636c386",
14912-
"from": "npm-registry-fetch@github:npm/npm-registry-fetch#lk/redact-token",
14911+
"version": "13.1.0",
14912+
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.1.0.tgz",
14913+
"integrity": "sha512-TIYL5X8CcwDhbFMXFDShNcpG6OMCYK6VzvSr6MUWP20tCU2DJ4ao2qQg3DT+3Pet8mO6/cgbZpon4LMh3duYLg==",
1491314914
"requires": {
14914-
"make-fetch-happen": "^10.0.4",
14915+
"make-fetch-happen": "^10.0.6",
1491514916
"minipass": "^3.1.6",
14916-
"minipass-fetch": "^2.0.2",
14917+
"minipass-fetch": "^2.0.3",
1491714918
"minipass-json-stream": "^1.0.1",
1491814919
"minizlib": "^2.1.2",
1491914920
"npm-package-arg": "^9.0.1",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"npm-package-arg": "^9.0.1",
105105
"npm-pick-manifest": "^7.0.0",
106106
"npm-profile": "^6.0.2",
107-
"npm-registry-fetch": "github:npm/npm-registry-fetch#lk/redact-token",
107+
"npm-registry-fetch": "^13.1.0",
108108
"npm-user-validate": "^1.0.1",
109109
"npmlog": "^6.0.1",
110110
"opener": "^1.5.2",

0 commit comments

Comments
 (0)