minipass-fetch
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -75,4 +75,4 @@ 'use strict' | ||
async json () { | ||
const buf = await this[CONSUME_BODY]() | ||
try { | ||
const buf = await this[CONSUME_BODY]() | ||
return JSON.parse(buf.toString()) | ||
@@ -79,0 +79,0 @@ } catch (er) { |
{ | ||
"name": "minipass-fetch", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "An implementation of window.fetch in Node.js using Minipass streams", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
46289