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
525
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.4-alpha-20250122230954-3105b2fac861fe650311d5dc0f4a88470234b0b5 to 0.10.4-rc-20250220115019-ee12c9cb376b0d59002665881963a5ea8104300c

23

CHANGELOG.md
# @whatwg-node/fetch
## 0.10.4-alpha-20250122230954-3105b2fac861fe650311d5dc0f4a88470234b0b5
## 0.10.4-rc-20250220115019-ee12c9cb376b0d59002665881963a5ea8104300c
### Patch Changes
- [#1997](https://github.com/ardatan/whatwg-node/pull/1997)
[`7ab25b3`](https://github.com/ardatan/whatwg-node/commit/7ab25b35ca978dfc1bf71e0e15f6e0996ef69966)
Thanks [@ardatan](https://github.com/ardatan)! - Use `undici` when available over `node:http`
- [#2079](https://github.com/ardatan/whatwg-node/pull/2079)
[`090b4b0`](https://github.com/ardatan/whatwg-node/commit/090b4b0d2aefbf36707fa236395bc6ea99227b9c)
Thanks [@ardatan](https://github.com/ardatan)! - Fix the bug when `set-cookies` given is ignored
in `HeadersInit`;
```js
import { Headers } from '@whatwg-node/fetch'
const headers = new Headers([
['set-cookie', 'a=b'],
['set-cookie', 'c=d']
])
expect(headers.getSetCookie()).toEqual(['a=b', 'c=d']) // Previously it was empty
```
- Updated dependencies
[[`7ab25b3`](https://github.com/ardatan/whatwg-node/commit/7ab25b35ca978dfc1bf71e0e15f6e0996ef69966)]:
- @whatwg-node/node-fetch@0.7.8-alpha-20250122230954-3105b2fac861fe650311d5dc0f4a88470234b0b5
[[`090b4b0`](https://github.com/ardatan/whatwg-node/commit/090b4b0d2aefbf36707fa236395bc6ea99227b9c)]:
- @whatwg-node/node-fetch@0.7.10-rc-20250220115019-ee12c9cb376b0d59002665881963a5ea8104300c

@@ -15,0 +26,0 @@ ## 0.10.3

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;

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

{
"name": "@whatwg-node/fetch",
"version": "0.10.4-alpha-20250122230954-3105b2fac861fe650311d5dc0f4a88470234b0b5",
"version": "0.10.4-rc-20250220115019-ee12c9cb376b0d59002665881963a5ea8104300c",
"description": "Cross Platform Smart Fetch Ponyfill",

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

"dependencies": {
"@whatwg-node/node-fetch": "0.7.8-alpha-20250122230954-3105b2fac861fe650311d5dc0f4a88470234b0b5",
"@whatwg-node/node-fetch": "0.7.10-rc-20250220115019-ee12c9cb376b0d59002665881963a5ea8104300c",
"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