whatwg-fetch
Advanced tools
Comparing version 0.10.0 to 0.10.1
@@ -119,3 +119,4 @@ (function() { | ||
})(), | ||
formData: 'FormData' in self | ||
formData: 'FormData' in self, | ||
arrayBuffer: 'ArrayBuffer' in self | ||
} | ||
@@ -137,2 +138,5 @@ | ||
this._bodyText = '' | ||
} else if (support.arrayBuffer && ArrayBuffer.prototype.isPrototypeOf(body)) { | ||
// Only support ArrayBuffers for POST method. | ||
// Receiving ArrayBuffers happens via Blobs, instead. | ||
} else { | ||
@@ -139,0 +143,0 @@ throw new Error('unsupported BodyInit type') |
{ | ||
"name": "whatwg-fetch", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"main": "fetch.js", | ||
@@ -5,0 +5,0 @@ "repository": "github/fetch", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
17298
322
0