@whatwg-node/fetch
Advanced tools
Comparing version 0.9.17 to 0.9.18-alpha-20240530124408-1cc9a2d00c89801f9114bd63132482860f1ca41d
# @whatwg-node/fetch | ||
## 0.9.18-alpha-20240530124408-1cc9a2d00c89801f9114bd63132482860f1ca41d | ||
### Patch Changes | ||
- [#1329](https://github.com/ardatan/whatwg-node/pull/1329) | ||
[`1cc9a2d`](https://github.com/ardatan/whatwg-node/commit/1cc9a2d00c89801f9114bd63132482860f1ca41d) | ||
Thanks [@ardatan](https://github.com/ardatan)! - Add `skipPonyfill` flag to `createFetch` to skip | ||
ponyfills and use the native Fetch implementation for Node.js | ||
## 0.9.17 | ||
@@ -7,5 +16,8 @@ | ||
- [#1162](https://github.com/ardatan/whatwg-node/pull/1162) [`0c6e9ca`](https://github.com/ardatan/whatwg-node/commit/0c6e9ca61ee07b49009b6e4d7d9d5e1d80912450) Thanks [@ardatan](https://github.com/ardatan)! - Consume the body with PassThrough | ||
- [#1162](https://github.com/ardatan/whatwg-node/pull/1162) | ||
[`0c6e9ca`](https://github.com/ardatan/whatwg-node/commit/0c6e9ca61ee07b49009b6e4d7d9d5e1d80912450) | ||
Thanks [@ardatan](https://github.com/ardatan)! - Consume the body with PassThrough | ||
- Updated dependencies [[`0c6e9ca`](https://github.com/ardatan/whatwg-node/commit/0c6e9ca61ee07b49009b6e4d7d9d5e1d80912450)]: | ||
- Updated dependencies | ||
[[`0c6e9ca`](https://github.com/ardatan/whatwg-node/commit/0c6e9ca61ee07b49009b6e4d7d9d5e1d80912450)]: | ||
- @whatwg-node/node-fetch@0.5.7 | ||
@@ -17,5 +29,11 @@ | ||
- [#1102](https://github.com/ardatan/whatwg-node/pull/1102) [`d9800cc`](https://github.com/ardatan/whatwg-node/commit/d9800cc1693ceae7893e08cf5a3a4bcc49f0f9d5) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: | ||
- Updated dependency [`urlpattern-polyfill@^10.0.0` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/10.0.0) (from `^9.0.0`, in `dependencies`) | ||
- Updated dependencies [[`45ec735`](https://github.com/ardatan/whatwg-node/commit/45ec735bd3081f42221bdccb70692b420ce16efa), [`a129376`](https://github.com/ardatan/whatwg-node/commit/a1293766bcf8d2465844aec1d80957e2af1b16f1)]: | ||
- [#1102](https://github.com/ardatan/whatwg-node/pull/1102) | ||
[`d9800cc`](https://github.com/ardatan/whatwg-node/commit/d9800cc1693ceae7893e08cf5a3a4bcc49f0f9d5) | ||
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: | ||
- Updated dependency | ||
[`urlpattern-polyfill@^10.0.0` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/10.0.0) | ||
(from `^9.0.0`, in `dependencies`) | ||
- Updated dependencies | ||
[[`45ec735`](https://github.com/ardatan/whatwg-node/commit/45ec735bd3081f42221bdccb70692b420ce16efa), | ||
[`a129376`](https://github.com/ardatan/whatwg-node/commit/a1293766bcf8d2465844aec1d80957e2af1b16f1)]: | ||
- @whatwg-node/node-fetch@0.5.5 | ||
@@ -27,3 +45,4 @@ | ||
- [`772552c`](https://github.com/ardatan/whatwg-node/commit/772552c0521b883c30d8f4d64c8ea093e75a95a0) Thanks [@ardatan](https://github.com/ardatan)! - Skip ponyfilling if NextJS | ||
- [`772552c`](https://github.com/ardatan/whatwg-node/commit/772552c0521b883c30d8f4d64c8ea093e75a95a0) | ||
Thanks [@ardatan](https://github.com/ardatan)! - Skip ponyfilling if NextJS | ||
@@ -30,0 +49,0 @@ ## 0.9.14 |
@@ -12,3 +12,3 @@ const shouldSkipPonyfill = require('./shouldSkipPonyfill'); | ||
if (shouldSkipPonyfill()) { | ||
if (opts.skipPonyfill || shouldSkipPonyfill()) { | ||
return globalThis; | ||
@@ -15,0 +15,0 @@ } |
@@ -46,2 +46,3 @@ /// <reference lib="dom" /> | ||
formDataLimits?: FormDataLimits; | ||
skipPonyfill?: boolean; | ||
}) => { | ||
@@ -48,0 +49,0 @@ fetch: typeof fetch; |
{ | ||
"name": "@whatwg-node/fetch", | ||
"version": "0.9.17", | ||
"version": "0.9.18-alpha-20240530124408-1cc9a2d00c89801f9114bd63132482860f1ca41d", | ||
"description": "Cross Platform Smart Fetch Ponyfill", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38658
225