@whatwg-node/node-fetch
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -562,6 +562,5 @@ 'use strict'; | ||
contentType: 'text/plain;charset=UTF-8', | ||
contentLength: bodyInit.length, | ||
contentLength: Buffer.byteLength(bodyInit), | ||
bodyFactory() { | ||
const buffer = Buffer.from(bodyInit); | ||
const readable = stream.Readable.from(buffer); | ||
const readable = stream.Readable.from(bodyInit); | ||
return new PonyfillReadableStream(readable); | ||
@@ -568,0 +567,0 @@ }, |
{ | ||
"name": "@whatwg-node/node-fetch", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Fetch API implementation for Node", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
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
86474
2312