New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@whatwg-node/fetch

Package Overview
Dependencies
Maintainers
1
Versions
530
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.9.21 to 0.9.22-rc-20241021101607-5245fc7b06565b5acb9f6206add370e6dd49bde3

14

CHANGELOG.md
# @whatwg-node/fetch
## 0.9.22-rc-20241021101607-5245fc7b06565b5acb9f6206add370e6dd49bde3
### Patch Changes
- [`77dd1c3`](https://github.com/ardatan/whatwg-node/commit/77dd1c3acde29aeb828b6eb37b6fbdbb47a16c57)
Thanks [@ardatan](https://github.com/ardatan)! - Use \`globalThis\` instead of \`window\` for the
global object reference
Fixes the issues with Deno
- Updated dependencies
[[`9281e02`](https://github.com/ardatan/whatwg-node/commit/9281e021282a43a3dda8c8a5c9647d340b28698e)]:
- @whatwg-node/node-fetch@0.5.27-rc-20241021101607-5245fc7b06565b5acb9f6206add370e6dd49bde3
## 0.9.21

@@ -4,0 +18,0 @@

39

dist/esm-ponyfill.js

@@ -1,22 +0,21 @@

const fetch = window.fetch;
const Headers = window.Headers;
const Request = window.Request;
const Response = window.Response;
const FormData = window.FormData;
const ReadableStream = window.ReadableStream;
const WritableStream = window.WritableStream;
const TransformStream = window.TransformStream;
const CompressionStream = window.CompressionStream;
const DecompressionStream = window.DecompressionStream;
const Blob = window.Blob;
const File = window.File;
const crypto = window.crypto;
const btoa = window.btoa;
const TextEncoder = window.TextEncoder;
const TextDecoder = window.TextDecoder;
const URLPattern = window.URLPattern;
const URL = window.URL;
const URLSearchParams = window.URLSearchParams;
const fetch = globalThis.fetch;
const Headers = globalThis.Headers;
const Request = globalThis.Request;
const Response = globalThis.Response;
const FormData = globalThis.FormData;
const ReadableStream = globalThis.ReadableStream;
const WritableStream = globalThis.WritableStream;
const TransformStream = globalThis.TransformStream;
const CompressionStream = globalThis.CompressionStream;
const DecompressionStream = globalThis.DecompressionStream;
const Blob = globalThis.Blob;
const File = globalThis.File;
const crypto = globalThis.crypto;
const btoa = globalThis.btoa;
const TextEncoder = globalThis.TextEncoder;
const TextDecoder = globalThis.TextDecoder;
const URLPattern = globalThis.URLPattern;
const URL = globalThis.URL;
const URLSearchParams = globalThis.URLSearchParams;
export {

@@ -23,0 +22,0 @@ fetch,

{
"name": "@whatwg-node/fetch",
"version": "0.9.21",
"version": "0.9.22-rc-20241021101607-5245fc7b06565b5acb9f6206add370e6dd49bde3",
"description": "Cross Platform Smart Fetch Ponyfill",

@@ -19,3 +19,3 @@ "repository": {

"dependencies": {
"@whatwg-node/node-fetch": "^0.5.23",
"@whatwg-node/node-fetch": "0.5.27-rc-20241021101607-5245fc7b06565b5acb9f6206add370e6dd49bde3",
"urlpattern-polyfill": "^10.0.0"

@@ -22,0 +22,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