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
515
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.6.3-alpha-20230130162825-1e02017 to 0.6.3-alpha-20230130163402-dac6604

README.md

136

CHANGELOG.md
# @whatwg-node/fetch
## 0.6.3-alpha-20230130162825-1e02017
## 0.6.3-alpha-20230130163402-dac6604
### Patch Changes
- [#154](https://github.com/ardatan/whatwg-node/pull/154) [`9f4fe48`](https://github.com/ardatan/whatwg-node/commit/9f4fe489ff1d08d873a2dd26c02abc54da08dc48) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- [#154](https://github.com/ardatan/whatwg-node/pull/154)
[`9f4fe48`](https://github.com/ardatan/whatwg-node/commit/9f4fe489ff1d08d873a2dd26c02abc54da08dc48)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency [`web-streams-polyfill@^3.2.1` ↗︎](https://www.npmjs.com/package/web-streams-polyfill/v/3.2.1) (from `^3.2.0`, in `dependencies`)
- Added dependency [`@whatwg-node/node-fetch@0.0.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/node-fetch/v/0.0.0) (to `dependencies`)
- Removed dependency [`abort-controller@^3.0.0` ↗︎](https://www.npmjs.com/package/abort-controller/v/3.0.0) (from `dependencies`)
- Removed dependency [`form-data-encoder@^1.7.1` ↗︎](https://www.npmjs.com/package/form-data-encoder/v/1.7.1) (from `dependencies`)
- Removed dependency [`formdata-node@^4.3.1` ↗︎](https://www.npmjs.com/package/formdata-node/v/4.3.1) (from `dependencies`)
- Removed dependency [`node-fetch@^2.6.7` ↗︎](https://www.npmjs.com/package/node-fetch/v/2.6.7) (from `dependencies`)
- Removed dependency [`undici@^5.12.0` ↗︎](https://www.npmjs.com/package/undici/v/5.12.0) (from `dependencies`)
- Updated dependency
[`web-streams-polyfill@^3.2.1` ↗︎](https://www.npmjs.com/package/web-streams-polyfill/v/3.2.1)
(from `^3.2.0`, in `dependencies`)
- Added dependency
[`@whatwg-node/node-fetch@0.0.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/node-fetch/v/0.0.0)
(to `dependencies`)
- Removed dependency
[`abort-controller@^3.0.0` ↗︎](https://www.npmjs.com/package/abort-controller/v/3.0.0) (from
`dependencies`)
- Removed dependency
[`form-data-encoder@^1.7.1` ↗︎](https://www.npmjs.com/package/form-data-encoder/v/1.7.1) (from
`dependencies`)
- Removed dependency
[`formdata-node@^4.3.1` ↗︎](https://www.npmjs.com/package/formdata-node/v/4.3.1) (from
`dependencies`)
- Removed dependency [`node-fetch@^2.6.7` ↗︎](https://www.npmjs.com/package/node-fetch/v/2.6.7)
(from `dependencies`)
- Removed dependency [`undici@^5.12.0` ↗︎](https://www.npmjs.com/package/undici/v/5.12.0) (from
`dependencies`)
- [#154](https://github.com/ardatan/whatwg-node/pull/154) [`9f4fe48`](https://github.com/ardatan/whatwg-node/commit/9f4fe489ff1d08d873a2dd26c02abc54da08dc48) Thanks [@ardatan](https://github.com/ardatan)! - New Fetch API implementation for Node
- [#154](https://github.com/ardatan/whatwg-node/pull/154)
[`9f4fe48`](https://github.com/ardatan/whatwg-node/commit/9f4fe489ff1d08d873a2dd26c02abc54da08dc48)
Thanks [@ardatan](https://github.com/ardatan)! - New Fetch API implementation for Node
- Updated dependencies [[`9f4fe48`](https://github.com/ardatan/whatwg-node/commit/9f4fe489ff1d08d873a2dd26c02abc54da08dc48)]:
- @whatwg-node/node-fetch@0.0.1-alpha-20230130162825-1e02017
- Updated dependencies
[[`9f4fe48`](https://github.com/ardatan/whatwg-node/commit/9f4fe489ff1d08d873a2dd26c02abc54da08dc48)]:
- @whatwg-node/node-fetch@0.0.1-alpha-20230130163402-dac6604

@@ -26,3 +43,6 @@ ## 0.6.2

- [#258](https://github.com/ardatan/whatwg-node/pull/258) [`802cb96`](https://github.com/ardatan/whatwg-node/commit/802cb9636eddd8e819b80604fc26d40aac92c828) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Node ponyfill requests must have an abort signal
- [#258](https://github.com/ardatan/whatwg-node/pull/258)
[`802cb96`](https://github.com/ardatan/whatwg-node/commit/802cb9636eddd8e819b80604fc26d40aac92c828)
Thanks [@enisdenjo](https://github.com/enisdenjo)! - Node ponyfill requests must have an abort
signal

@@ -33,3 +53,5 @@ ## 0.6.1

- [`9752cca`](https://github.com/ardatan/whatwg-node/commit/9752cca54e7636114d87849ca9c7eb9be3d9dba8) Thanks [@ardatan](https://github.com/ardatan)! - Remove unnecessary ponyfill for the envs supporting Fetch by default
- [`9752cca`](https://github.com/ardatan/whatwg-node/commit/9752cca54e7636114d87849ca9c7eb9be3d9dba8)
Thanks [@ardatan](https://github.com/ardatan)! - Remove unnecessary ponyfill for the envs
supporting Fetch by default

@@ -40,8 +62,15 @@ ## 0.6.0

- [#241](https://github.com/ardatan/whatwg-node/pull/241) [`563cfaa`](https://github.com/ardatan/whatwg-node/commit/563cfaaacf8bb0b08371b7f44887321d7e7c472d) Thanks [@ardatan](https://github.com/ardatan)! - Drop itty-router in favor of new URLPattern in the fetch ponyfill
- [#241](https://github.com/ardatan/whatwg-node/pull/241)
[`563cfaa`](https://github.com/ardatan/whatwg-node/commit/563cfaaacf8bb0b08371b7f44887321d7e7c472d)
Thanks [@ardatan](https://github.com/ardatan)! - Drop itty-router in favor of new URLPattern in
the fetch ponyfill
### Patch Changes
- [#241](https://github.com/ardatan/whatwg-node/pull/241) [`563cfaa`](https://github.com/ardatan/whatwg-node/commit/563cfaaacf8bb0b08371b7f44887321d7e7c472d) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Added dependency [`urlpattern-polyfill@^6.0.2` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/6.0.2) (to `dependencies`)
- [#241](https://github.com/ardatan/whatwg-node/pull/241)
[`563cfaa`](https://github.com/ardatan/whatwg-node/commit/563cfaaacf8bb0b08371b7f44887321d7e7c472d)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Added dependency
[`urlpattern-polyfill@^6.0.2` ↗︎](https://www.npmjs.com/package/urlpattern-polyfill/v/6.0.2) (to
`dependencies`)

@@ -52,3 +81,5 @@ ## 0.5.4

- [#237](https://github.com/ardatan/whatwg-node/pull/237) [`166102f`](https://github.com/ardatan/whatwg-node/commit/166102f6ff52d2197ab7f78c63392b95ebca259c) Thanks [@enisdenjo](https://github.com/enisdenjo)! - http2 support when using Node ponyfill
- [#237](https://github.com/ardatan/whatwg-node/pull/237)
[`166102f`](https://github.com/ardatan/whatwg-node/commit/166102f6ff52d2197ab7f78c63392b95ebca259c)
Thanks [@enisdenjo](https://github.com/enisdenjo)! - http2 support when using Node ponyfill

@@ -59,3 +90,4 @@ ## 0.5.3

- [`188ac01`](https://github.com/ardatan/whatwg-node/commit/188ac01dab264ed483dbc3b897e6958b49085922) Thanks [@ardatan](https://github.com/ardatan)! - Fix destroy for Node 18
- [`188ac01`](https://github.com/ardatan/whatwg-node/commit/188ac01dab264ed483dbc3b897e6958b49085922)
Thanks [@ardatan](https://github.com/ardatan)! - Fix destroy for Node 18

@@ -66,3 +98,6 @@ ## 0.5.2

- [#179](https://github.com/ardatan/whatwg-node/pull/179) [`3297c87`](https://github.com/ardatan/whatwg-node/commit/3297c87409c3bcf8700dd447d603da657acbd821) Thanks [@ardatan](https://github.com/ardatan)! - Fix destroy method for ReadableStream to Readable conversion
- [#179](https://github.com/ardatan/whatwg-node/pull/179)
[`3297c87`](https://github.com/ardatan/whatwg-node/commit/3297c87409c3bcf8700dd447d603da657acbd821)
Thanks [@ardatan](https://github.com/ardatan)! - Fix destroy method for ReadableStream to Readable
conversion

@@ -73,3 +108,4 @@ ## 0.5.1

- [`a8a7cfc`](https://github.com/ardatan/whatwg-node/commit/a8a7cfcbb98c5ca8fff3b4a6d8638e9208690b61) Thanks [@ardatan](https://github.com/ardatan)! - Fix for new undici
- [`a8a7cfc`](https://github.com/ardatan/whatwg-node/commit/a8a7cfcbb98c5ca8fff3b4a6d8638e9208690b61)
Thanks [@ardatan](https://github.com/ardatan)! - Fix for new undici

@@ -80,3 +116,4 @@ ## 0.5.0

- [`ab5fb52`](https://github.com/ardatan/whatwg-node/commit/ab5fb524753bc7a210b1aaf2e1580566907d4713) Thanks [@ardatan](https://github.com/ardatan)! - Drop broken `fieldsFirst` flag
- [`ab5fb52`](https://github.com/ardatan/whatwg-node/commit/ab5fb524753bc7a210b1aaf2e1580566907d4713)
Thanks [@ardatan](https://github.com/ardatan)! - Drop broken `fieldsFirst` flag

@@ -87,3 +124,5 @@ ## 0.4.7

- [`e59cbb6`](https://github.com/ardatan/whatwg-node/commit/e59cbb667dfcbdd9c0cf609fd56dbd904ac85cbd) Thanks [@ardatan](https://github.com/ardatan)! - Do not patch global Headers if it is native, and support URL as a first parameter of `fetch`
- [`e59cbb6`](https://github.com/ardatan/whatwg-node/commit/e59cbb667dfcbdd9c0cf609fd56dbd904ac85cbd)
Thanks [@ardatan](https://github.com/ardatan)! - Do not patch global Headers if it is native, and
support URL as a first parameter of `fetch`

@@ -94,5 +133,9 @@ ## 0.4.6

- [`c918527`](https://github.com/ardatan/whatwg-node/commit/c918527f15eb6096656376648dccdbc8d6898395) Thanks [@ardatan](https://github.com/ardatan)! - Bump Undici
- [`c918527`](https://github.com/ardatan/whatwg-node/commit/c918527f15eb6096656376648dccdbc8d6898395)
Thanks [@ardatan](https://github.com/ardatan)! - Bump Undici
- [#148](https://github.com/ardatan/whatwg-node/pull/148) [`eb10500`](https://github.com/ardatan/whatwg-node/commit/eb105005fd01bd227eff8d52c22b39ea1a8c6700) Thanks [@ardatan](https://github.com/ardatan)! - - On Node 14, fix the return method of Response.body's AsyncIterator to close HTTP connection correctly
- [#148](https://github.com/ardatan/whatwg-node/pull/148)
[`eb10500`](https://github.com/ardatan/whatwg-node/commit/eb105005fd01bd227eff8d52c22b39ea1a8c6700)
Thanks [@ardatan](https://github.com/ardatan)! - - On Node 14, fix the return method of
Response.body's AsyncIterator to close HTTP connection correctly
- On Node 14, handle ReadableStream's cancel correctly if Response.body is a ReadableStream

@@ -106,3 +149,5 @@ - Do not modify ReadableStream.cancel's behavior but handle it internally

- [#140](https://github.com/ardatan/whatwg-node/pull/140) [`5d151df`](https://github.com/ardatan/whatwg-node/commit/5d151df8c59329a470b8ffa6e3547aae72a7e55b) Thanks [@ardatan](https://github.com/ardatan)! - Fix Request.formData method
- [#140](https://github.com/ardatan/whatwg-node/pull/140)
[`5d151df`](https://github.com/ardatan/whatwg-node/commit/5d151df8c59329a470b8ffa6e3547aae72a7e55b)
Thanks [@ardatan](https://github.com/ardatan)! - Fix Request.formData method

@@ -113,3 +158,5 @@ ## 0.4.4

- [`9502102`](https://github.com/ardatan/whatwg-node/commit/9502102b265945b37ee38b276ec1533fae0f308f) Thanks [@ardatan](https://github.com/ardatan)! - Breaking Change: Event API is no longer available in this ponyfill; use @whatwg-node/events instead.
- [`9502102`](https://github.com/ardatan/whatwg-node/commit/9502102b265945b37ee38b276ec1533fae0f308f)
Thanks [@ardatan](https://github.com/ardatan)! - Breaking Change: Event API is no longer available
in this ponyfill; use @whatwg-node/events instead.

@@ -120,3 +167,5 @@ ## 0.4.3

- [`c9f05f2`](https://github.com/ardatan/whatwg-node/commit/c9f05f21fb96f63bc22359e3b7981cb9b3b727b5) Thanks [@ardatan](https://github.com/ardatan)! - Add ponyfills for Response.redirect, Response.json and Response.error
- [`c9f05f2`](https://github.com/ardatan/whatwg-node/commit/c9f05f21fb96f63bc22359e3b7981cb9b3b727b5)
Thanks [@ardatan](https://github.com/ardatan)! - Add ponyfills for Response.redirect,
Response.json and Response.error

@@ -127,3 +176,5 @@ ## 0.4.2

- [`7f37b6d`](https://github.com/ardatan/whatwg-node/commit/7f37b6dbeb76cfa54e0ed8672812bf016c1df4fa) Thanks [@ardatan](https://github.com/ardatan)! - fix(fetch): respect filesLimit even with fieldsFirst
- [`7f37b6d`](https://github.com/ardatan/whatwg-node/commit/7f37b6dbeb76cfa54e0ed8672812bf016c1df4fa)
Thanks [@ardatan](https://github.com/ardatan)! - fix(fetch): respect filesLimit even with
fieldsFirst

@@ -134,3 +185,4 @@ ## 0.4.1

- [`53753bb`](https://github.com/ardatan/whatwg-node/commit/53753bb5dd83fbc1e7253784b02f2b1f2e02fdb9) Thanks [@ardatan](https://github.com/ardatan)! - fix(fetch): fix formData function
- [`53753bb`](https://github.com/ardatan/whatwg-node/commit/53753bb5dd83fbc1e7253784b02f2b1f2e02fdb9)
Thanks [@ardatan](https://github.com/ardatan)! - fix(fetch): fix formData function

@@ -141,5 +193,8 @@ ## 0.4.0

- [`005937c`](https://github.com/ardatan/whatwg-node/commit/005937c72749dfa3914c8b6193a88c772a522275) Thanks [@ardatan](https://github.com/ardatan)! - feat(fetch): new `fieldsFirst` option to allow async stream consumption for multipart forms
- [`005937c`](https://github.com/ardatan/whatwg-node/commit/005937c72749dfa3914c8b6193a88c772a522275)
Thanks [@ardatan](https://github.com/ardatan)! - feat(fetch): new `fieldsFirst` option to allow
async stream consumption for multipart forms
- [`effc03d`](https://github.com/ardatan/whatwg-node/commit/effc03d58793328595183ac7cd5c9abab95dec17) Thanks [@ardatan](https://github.com/ardatan)! - Bun Support
- [`effc03d`](https://github.com/ardatan/whatwg-node/commit/effc03d58793328595183ac7cd5c9abab95dec17)
Thanks [@ardatan](https://github.com/ardatan)! - Bun Support

@@ -150,3 +205,5 @@ ## 0.3.2

- [`982fa96`](https://github.com/ardatan/whatwg-node/commit/982fa96b09af404a21154098499202bfd29c2054) Thanks [@ardatan](https://github.com/ardatan)! - fix(ponyfill/btoa): handle incoming value as binary encoding
- [`982fa96`](https://github.com/ardatan/whatwg-node/commit/982fa96b09af404a21154098499202bfd29c2054)
Thanks [@ardatan](https://github.com/ardatan)! - fix(ponyfill/btoa): handle incoming value as
binary encoding

@@ -157,3 +214,4 @@ ## 0.3.1

- [`a3bc171`](https://github.com/ardatan/whatwg-node/commit/a3bc17120fbdf641e4363d08ba79955005f5b3d6) Thanks [@ardatan](https://github.com/ardatan)! - fix btoa ponyfill
- [`a3bc171`](https://github.com/ardatan/whatwg-node/commit/a3bc17120fbdf641e4363d08ba79955005f5b3d6)
Thanks [@ardatan](https://github.com/ardatan)! - fix btoa ponyfill

@@ -164,5 +222,8 @@ ## 0.3.0

- [`8a431d3`](https://github.com/ardatan/whatwg-node/commit/8a431d309271c0d1ff7248ec26afe293ccc01bf6) Thanks [@ardatan](https://github.com/ardatan)! - Add "btoa" ponyfill for Node 14
- [`8a431d3`](https://github.com/ardatan/whatwg-node/commit/8a431d309271c0d1ff7248ec26afe293ccc01bf6)
Thanks [@ardatan](https://github.com/ardatan)! - Add "btoa" ponyfill for Node 14
* [`8a431d3`](https://github.com/ardatan/whatwg-node/commit/8a431d309271c0d1ff7248ec26afe293ccc01bf6) Thanks [@ardatan](https://github.com/ardatan)! - Support different encodings in TextEncoder and TextDecoder
* [`8a431d3`](https://github.com/ardatan/whatwg-node/commit/8a431d309271c0d1ff7248ec26afe293ccc01bf6)
Thanks [@ardatan](https://github.com/ardatan)! - Support different encodings in TextEncoder and
TextDecoder

@@ -173,3 +234,4 @@ ## 0.2.9

- [`9a8d873`](https://github.com/ardatan/whatwg-node/commit/9a8d8731ff07ea585b1e561718584fbe5edeb963) Thanks [@ardatan](https://github.com/ardatan)! - Workaround for a potential leak on Node 18
- [`9a8d873`](https://github.com/ardatan/whatwg-node/commit/9a8d8731ff07ea585b1e561718584fbe5edeb963)
Thanks [@ardatan](https://github.com/ardatan)! - Workaround for a potential leak on Node 18

@@ -176,0 +238,0 @@ ## 0.2.3

{
"name": "@whatwg-node/fetch",
"version": "0.6.3-alpha-20230130162825-1e02017",
"version": "0.6.3-alpha-20230130163402-dac6604",
"description": "Cross Platform Smart Fetch Ponyfill",
"author": "Arda TANRIKULU <ardatanrikulu@gmail.com>",
"repository": {

@@ -11,14 +10,10 @@ "type": "git",

},
"author": "Arda TANRIKULU <ardatanrikulu@gmail.com>",
"license": "MIT",
"sideEffects": false,
"main": "dist/node-ponyfill.js",
"browser": "dist/global-ponyfill.js",
"react-native": "dist/global-ponyfill.js",
"types": "dist/index.d.ts",
"denoify": {
"index": "dist/deno-ponyfill.ts"
},
"dependencies": {
"@peculiar/webcrypto": "^1.4.0",
"@whatwg-node/node-fetch": "0.0.1-alpha-20230130162825-1e02017",
"@whatwg-node/node-fetch": "0.0.1-alpha-20230130163402-dac6604",
"busboy": "^1.6.0",

@@ -30,3 +25,8 @@ "urlpattern-polyfill": "^6.0.2",

"access": "public"
}
},
"sideEffects": false,
"denoify": {
"index": "dist/deno-ponyfill.ts"
},
"react-native": "dist/global-ponyfill.js"
}
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