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.5.5-alpha-20221230080207-dec357b to 0.5.5-alpha-20221230081647-5963234

4

CHANGELOG.md
# @whatwg-node/fetch
## 0.5.5-alpha-20221230080207-dec357b
## 0.5.5-alpha-20221230081647-5963234

@@ -20,3 +20,3 @@ ### Patch Changes

- Updated dependencies [[`d7ef0c8`](https://github.com/ardatan/whatwg-node/commit/d7ef0c8fdf806f168e2814c596ad7b7b5653318f)]:
- @whatwg-node/node-fetch@0.0.1-alpha-20221230080207-dec357b
- @whatwg-node/node-fetch@0.0.1-alpha-20221230081647-5963234

@@ -23,0 +23,0 @@ ## 0.5.4

@@ -12,17 +12,32 @@ module.exports = function createNodePonyfill(opts = {}) {

ponyfills.fetch = newNodeFetch.fetch;
ponyfills.Request = newNodeFetch.Request;
ponyfills.Response = newNodeFetch.Response;
ponyfills.Headers = newNodeFetch.Headers;
ponyfills.FormData = newNodeFetch.FormData;
ponyfills.AbortController = newNodeFetch.AbortController;
ponyfills.AbortError = newNodeFetch.AbortError;
ponyfills.AbortSignal = newNodeFetch.AbortSignal;
ponyfills.ReadableStream = newNodeFetch.ReadableStream;
ponyfills.WritableStream = globalThis.WritableStream;
ponyfills.TransformStream = globalThis.TransformStream;
if (!ponyfills.WritableStream) {
try {
const streamsWeb = require("stream/web");
ponyfills.WritableStream = streamsWeb.WritableStream;
ponyfills.TransformStream = streamsWeb.TransformStream;
} catch (e) {
const streamsWeb = require("web-streams-polyfill/ponyfill");
ponyfills.WritableStream = streamsWeb.WritableStream;
ponyfills.TransformStream = streamsWeb.TransformStream;
}
}
ponyfills.Blob = newNodeFetch.Blob;
ponyfills.Body = newNodeFetch.Body;
ponyfills.fetch = newNodeFetch.fetch;
ponyfills.File = newNodeFetch.File;
ponyfills.FormData = newNodeFetch.FormData;
ponyfills.Headers = newNodeFetch.Headers;
ponyfills.ReadableStream = newNodeFetch.ReadableStream;
ponyfills.Request = newNodeFetch.Request;
ponyfills.Response = newNodeFetch.Response;
ponyfills.crypto = globalThis.crypto;
ponyfills.btoa = newNodeFetch.btoa;
ponyfills.TextEncoder = newNodeFetch.TextEncoder;
ponyfills.TextDecoder = newNodeFetch.TextDecoder;
ponyfills.btoa = newNodeFetch.btoa;
ponyfills.AbortError = newNodeFetch.AbortError;
ponyfills.AbortSignal = newNodeFetch.AbortSignal;

@@ -29,0 +44,0 @@ if (opts.formDataLimits) {

{
"name": "@whatwg-node/fetch",
"version": "0.5.5-alpha-20221230080207-dec357b",
"version": "0.5.5-alpha-20221230081647-5963234",
"description": "Cross Platform Smart Fetch Ponyfill",

@@ -22,3 +22,3 @@ "author": "Arda TANRIKULU <ardatanrikulu@gmail.com>",

"@peculiar/webcrypto": "^1.4.0",
"@whatwg-node/node-fetch": "0.0.1-alpha-20221230080207-dec357b",
"@whatwg-node/node-fetch": "0.0.1-alpha-20221230081647-5963234",
"busboy": "^1.6.0"

@@ -25,0 +25,0 @@ },

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