minipass-fetch
Advanced tools
Comparing version 3.0.4 to 3.0.5
@@ -149,3 +149,3 @@ 'use strict' | ||
// data through right away and upset the MP Sized object | ||
return new Promise((resolve, reject) => { | ||
return new Promise((resolve) => { | ||
// if the stream is some other kind of stream, then pipe through a MP | ||
@@ -152,0 +152,0 @@ // so we can collect it more easily. |
@@ -106,3 +106,3 @@ 'use strict' | ||
if (request.timeout) { | ||
req.once('socket', socket => { | ||
req.once('socket', () => { | ||
reqTimeout = setTimeout(() => { | ||
@@ -109,0 +109,0 @@ reject(new FetchError(`network timeout at: ${ |
{ | ||
"name": "minipass-fetch", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"description": "An implementation of window.fetch in Node.js using Minipass streams", | ||
@@ -11,3 +11,3 @@ "license": "MIT", | ||
"snap": "tap", | ||
"lint": "eslint \"**/*.js\"", | ||
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"", | ||
"postlint": "template-oss-check", | ||
@@ -28,3 +28,3 @@ "lintfix": "npm run lint -- --fix", | ||
"@npmcli/eslint-config": "^4.0.0", | ||
"@npmcli/template-oss": "4.18.0", | ||
"@npmcli/template-oss": "4.22.0", | ||
"@ungap/url-search-params": "^0.2.2", | ||
@@ -50,3 +50,3 @@ "abort-controller": "^3.0.0", | ||
"type": "git", | ||
"url": "https://github.com/npm/minipass-fetch.git" | ||
"url": "git+https://github.com/npm/minipass-fetch.git" | ||
}, | ||
@@ -69,5 +69,5 @@ "keywords": [ | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "4.18.0", | ||
"version": "4.22.0", | ||
"publish": "true" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46849