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.5-alpha-20220926022311-d4721dd to 0.4.5-alpha-20220926033952-9ec09b0

2

CHANGELOG.md
# @whatwg-node/fetch
## 0.4.5-alpha-20220926022311-d4721dd
## 0.4.5-alpha-20220926033952-9ec09b0

@@ -5,0 +5,0 @@ ### Patch Changes

@@ -168,21 +168,2 @@ const handleFileRequest = require("./handle-file-request");

options = options || {};
if (options.body != null && options.body.read && options.body.on) {
const readable = options.body;
options.body = new ponyfills.ReadableStream({
pull(controller) {
const chunk = readable.read();
if (chunk != null) {
controller.enqueue(chunk);
} else {
controller.close();
}
},
close(e) {
readable.destroy(e);
}
});
Object.defineProperty(options.body, Symbol.asyncIterator, {
value: () => readable[Symbol.asyncIterator]()
});
}
super(requestOrUrl, options);

@@ -189,0 +170,0 @@ const contentType = this.headers.get("content-type");

{
"name": "@whatwg-node/fetch",
"version": "0.4.5-alpha-20220926022311-d4721dd",
"version": "0.4.5-alpha-20220926033952-9ec09b0",
"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