diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2020-09-30 22:07:22 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2020-09-30 22:07:22 +0300 |
commit | fef2646347bbb8ccfa9239cc9d99debae002552b (patch) | |
tree | 208869c994d557eaab260e5f099fca5d524ea66e /node_modules/minipass-fetch | |
parent | 3a978ffc7fddd6802c81996a5710b2efd15edc11 (diff) |
chore: refresh transitive deps
Diffstat (limited to 'node_modules/minipass-fetch')
-rw-r--r-- | node_modules/minipass-fetch/lib/body.js | 6 | ||||
-rw-r--r-- | node_modules/minipass-fetch/package.json | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/node_modules/minipass-fetch/lib/body.js b/node_modules/minipass-fetch/lib/body.js index baa3fa3e2..fb7ffc356 100644 --- a/node_modules/minipass-fetch/lib/body.js +++ b/node_modules/minipass-fetch/lib/body.js @@ -130,6 +130,12 @@ class Body { this.url} (over ${this.timeout}ms)`, 'body-timeout')) }, this.timeout) : null + // do not keep the process open just for this timeout, even + // though we expect it'll get cleared eventually. + if (resTimeout) { + resTimeout.unref() + } + // do the pipe in the promise, because the pipe() can send too much // data through right away and upset the MP Sized object return new Promise((resolve, reject) => { diff --git a/node_modules/minipass-fetch/package.json b/node_modules/minipass-fetch/package.json index 24853d1bd..74402cb32 100644 --- a/node_modules/minipass-fetch/package.json +++ b/node_modules/minipass-fetch/package.json @@ -1,6 +1,6 @@ { "name": "minipass-fetch", - "version": "1.3.0", + "version": "1.3.1", "description": "An implementation of window.fetch in Node.js using Minipass streams", "license": "MIT", "main": "lib/index.js", @@ -28,7 +28,8 @@ "dependencies": { "minipass": "^3.1.0", "minipass-sized": "^1.0.3", - "minizlib": "^2.0.0" + "minizlib": "^2.0.0", + "encoding": "^0.1.12" }, "optionalDependencies": { "encoding": "^0.1.12" |