Socket
Socket
Sign inDemoInstall

minipass-fetch

Package Overview
Dependencies
7
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.4 to 3.0.5

2

lib/body.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc