Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@whatwg-node/fetch

Package Overview
Dependencies
Maintainers
1
Versions
475
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@whatwg-node/fetch - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5-alpha-20220925232816-030a991

tests/getFormDataMethod.spec.ts

6

CHANGELOG.md
# @whatwg-node/fetch
## 0.4.5-alpha-20220925232816-030a991
### Patch Changes
- [#140](https://github.com/ardatan/whatwg-node/pull/140) [`77b4592`](https://github.com/ardatan/whatwg-node/commit/77b4592a6ee5aa35ff92c4f8a76c2f93127d8045) Thanks [@ardatan](https://github.com/ardatan)! - Fix Request.formData method
## 0.4.4

@@ -4,0 +10,0 @@

4

dist/getFormDataMethod.js

@@ -19,3 +19,3 @@ const busboy = require('busboy');

fileStream.on('data', (chunk) => {
chunks.push(chunk);
chunks.push(...chunk);
})

@@ -26,3 +26,3 @@ fileStream.on('close', () => {

}
const file = new File(chunks, filename, { type: mimeType });
const file = new File([new Uint8Array(chunks)], filename, { type: mimeType });
formData.set(name, file);

@@ -29,0 +29,0 @@ resolve(file);

{
"name": "@whatwg-node/fetch",
"version": "0.4.4",
"version": "0.4.5-alpha-20220925232816-030a991",
"description": "Cross Platform Smart Fetch Ponyfill",

@@ -5,0 +5,0 @@ "author": "Arda TANRIKULU <ardatanrikulu@gmail.com>",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc