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
521
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.10.3 to 0.10.4-alpha-20250122135958-d7c45737356867271ee584ba6eb3446d0bfa504b

12

CHANGELOG.md
# @whatwg-node/fetch
## 0.10.4-alpha-20250122135958-d7c45737356867271ee584ba6eb3446d0bfa504b
### Patch Changes
- [#1997](https://github.com/ardatan/whatwg-node/pull/1997)
[`d7c4573`](https://github.com/ardatan/whatwg-node/commit/d7c45737356867271ee584ba6eb3446d0bfa504b)
Thanks [@ardatan](https://github.com/ardatan)! - Use `undici` when available over `node:http`
- Updated dependencies
[[`d7c4573`](https://github.com/ardatan/whatwg-node/commit/d7c45737356867271ee584ba6eb3446d0bfa504b)]:
- @whatwg-node/node-fetch@0.7.8-alpha-20250122135958-d7c45737356867271ee584ba6eb3446d0bfa504b
## 0.10.3

@@ -4,0 +16,0 @@

8

dist/node-ponyfill.js
const createNodePonyfill = require('./create-node-ponyfill');
const shouldSkipPonyfill = require('./shouldSkipPonyfill');
const ponyfills = createNodePonyfill();
if (!shouldSkipPonyfill()) {
try {
const nodelibcurlName = 'node-libcurl'
globalThis.libcurl = globalThis.libcurl || require(nodelibcurlName);
} catch (e) { }
}
module.exports.fetch = ponyfills.fetch;

@@ -14,0 +6,0 @@ module.exports.Headers = ponyfills.Headers;

4

package.json
{
"name": "@whatwg-node/fetch",
"version": "0.10.3",
"version": "0.10.4-alpha-20250122135958-d7c45737356867271ee584ba6eb3446d0bfa504b",
"description": "Cross Platform Smart Fetch Ponyfill",

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

"dependencies": {
"@whatwg-node/node-fetch": "^0.7.7",
"@whatwg-node/node-fetch": "0.7.8-alpha-20250122135958-d7c45737356867271ee584ba6eb3446d0bfa504b",
"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