Skip to content

Commit ff6c5d1

Browse files
committed
1 parent 419f9b9 commit ff6c5d1

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

DEPENDENCIES.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ graph LR;
8888
normalize-package-data-->semver;
8989
npm-->abbrev;
9090
npm-->cacache;
91-
npm-->cmd-shim;
9291
npm-->fs-minipass;
9392
npm-->hosted-git-info;
9493
npm-->ini;
@@ -106,6 +105,7 @@ graph LR;
106105
npm-->libnpmteam;
107106
npm-->libnpmversion;
108107
npm-->make-fetch-happen;
108+
npm-->minipass-fetch;
109109
npm-->nopt;
110110
npm-->normalize-package-data;
111111
npm-->npm-audit-report;
@@ -470,7 +470,6 @@ graph LR;
470470
npm-->ci-info;
471471
npm-->cli-columns;
472472
npm-->cli-table3;
473-
npm-->cmd-shim;
474473
npm-->diff;
475474
npm-->fastest-levenshtein;
476475
npm-->fs-minipass;
@@ -495,6 +494,7 @@ graph LR;
495494
npm-->libnpmversion;
496495
npm-->make-fetch-happen;
497496
npm-->minimatch;
497+
npm-->minipass-fetch;
498498
npm-->minipass-pipeline;
499499
npm-->minipass;
500500
npm-->ms;

node_modules/minipass-fetch/lib/body.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class Body {
146146

147147
// do the pipe in the promise, because the pipe() can send too much
148148
// data through right away and upset the MP Sized object
149-
return new Promise((resolve, reject) => {
149+
return new Promise((resolve) => {
150150
// if the stream is some other kind of stream, then pipe through a MP
151151
// so we can collect it more easily.
152152
if (stream !== upstream) {

node_modules/minipass-fetch/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const fetch = async (url, opts) => {
103103

104104
let reqTimeout = null
105105
if (request.timeout) {
106-
req.once('socket', socket => {
106+
req.once('socket', () => {
107107
reqTimeout = setTimeout(() => {
108108
reject(new FetchError(`network timeout at: ${
109109
request.url}`, 'request-timeout'))

node_modules/minipass-fetch/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "minipass-fetch",
3-
"version": "3.0.4",
3+
"version": "3.0.5",
44
"description": "An implementation of window.fetch in Node.js using Minipass streams",
55
"license": "MIT",
66
"main": "lib/index.js",
77
"scripts": {
88
"test:tls-fixtures": "./test/fixtures/tls/setup.sh",
99
"test": "tap",
1010
"snap": "tap",
11-
"lint": "eslint \"**/*.js\"",
11+
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
1212
"postlint": "template-oss-check",
1313
"lintfix": "npm run lint -- --fix",
1414
"posttest": "npm run lint",
@@ -24,7 +24,7 @@
2424
},
2525
"devDependencies": {
2626
"@npmcli/eslint-config": "^4.0.0",
27-
"@npmcli/template-oss": "4.18.0",
27+
"@npmcli/template-oss": "4.22.0",
2828
"@ungap/url-search-params": "^0.2.2",
2929
"abort-controller": "^3.0.0",
3030
"abortcontroller-polyfill": "~1.7.3",
@@ -45,7 +45,7 @@
4545
},
4646
"repository": {
4747
"type": "git",
48-
"url": "https://github.com/npm/minipass-fetch.git"
48+
"url": "git+https://github.com/npm/minipass-fetch.git"
4949
},
5050
"keywords": [
5151
"fetch",
@@ -63,7 +63,7 @@
6363
"author": "GitHub Inc.",
6464
"templateOSS": {
6565
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
66-
"version": "4.18.0",
66+
"version": "4.22.0",
6767
"publish": "true"
6868
}
6969
}

package-lock.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8413,9 +8413,9 @@
84138413
}
84148414
},
84158415
"node_modules/minipass-fetch": {
8416-
"version": "3.0.4",
8417-
"resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz",
8418-
"integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==",
8416+
"version": "3.0.5",
8417+
"resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz",
8418+
"integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==",
84198419
"inBundle": true,
84208420
"dependencies": {
84218421
"minipass": "^7.0.3",

0 commit comments

Comments
 (0)