Mirror: A Node.js fetch shim using built-in Request, Response, and Headers (but without native fetch)

Version Packages (#17)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

authored by github-actions[bot] github-actions[bot] and committed by GitHub c4e43878 e4d1b4db

+24 -46
-5
.changeset/chilly-hands-decide.md
··· 1 - --- 2 - 'fetch-nodeshim': patch 3 - --- 4 - 5 - Fix typo in `NO_PROXY` construction
-5
.changeset/every-coats-decide.md
··· 1 - --- 2 - 'fetch-nodeshim': patch 3 - --- 4 - 5 - Set `Content-Length: 0` when `response.body` is `null` for `PATCH` as well
-5
.changeset/fresh-states-punch.md
··· 1 - --- 2 - 'fetch-nodeshim': patch 3 - --- 4 - 5 - Protect against invalid `Location` URI
-5
.changeset/gold-impalas-think.md
··· 1 - --- 2 - 'fetch-nodeshim': patch 3 - --- 4 - 5 - Issue an explicit `ETIMEDOUT` when the request times out
-5
.changeset/real-squids-know.md
··· 1 - --- 2 - 'fetch-nodeshim': patch 3 - --- 4 - 5 - Fix `Set-Cookie` list handling by capturing them with `Headers#append`
-5
.changeset/slimy-boats-worry.md
··· 1 - --- 2 - 'fetch-nodeshim': patch 3 - --- 4 - 5 - Reset `requestOptions.agent` on retry/redirect
-5
.changeset/tender-planes-brush.md
··· 1 - --- 2 - 'fetch-nodeshim': patch 3 - --- 4 - 5 - Fix `_final` on `InflateStream` calling `callback` before full flush.
-5
.changeset/two-kids-cry.md
··· 1 - --- 2 - 'fetch-nodeshim': patch 3 - --- 4 - 5 - Propagate errors for duplex request/response streams, and ensure early errors propagate to the Response stream
-5
.changeset/wild-beers-repeat.md
··· 1 - --- 2 - 'fetch-nodeshim': patch 3 - --- 4 - 5 - Protect against missing `Symbol.toStringTag`
+23
CHANGELOG.md
··· 1 1 # minifetch 2 2 3 + ## 0.4.3 4 + 5 + ### Patch Changes 6 + 7 + - ⚠️ Fix typo in `NO_PROXY` construction 8 + Submitted by [@kitten](https://github.com/kitten) (See [#18](https://github.com/kitten/fetch-nodeshim/pull/18)) 9 + - Set `Content-Length: 0` when `response.body` is `null` for `PATCH` as well 10 + Submitted by [@kitten](https://github.com/kitten) (See [#23](https://github.com/kitten/fetch-nodeshim/pull/23)) 11 + - Protect against invalid `Location` URI 12 + Submitted by [@kitten](https://github.com/kitten) (See [#26](https://github.com/kitten/fetch-nodeshim/pull/26)) 13 + - Issue an explicit `ETIMEDOUT` when the request times out 14 + Submitted by [@kitten](https://github.com/kitten) (See [#24](https://github.com/kitten/fetch-nodeshim/pull/24)) 15 + - ⚠️ Fix `Set-Cookie` list handling by capturing them with `Headers#append` 16 + Submitted by [@kitten](https://github.com/kitten) (See [#20](https://github.com/kitten/fetch-nodeshim/pull/20)) 17 + - Reset `requestOptions.agent` on retry/redirect 18 + Submitted by [@kitten](https://github.com/kitten) (See [#27](https://github.com/kitten/fetch-nodeshim/pull/27)) 19 + - ⚠️ Fix `_final` on `InflateStream` calling `callback` before full flush 20 + Submitted by [@kitten](https://github.com/kitten) (See [#25](https://github.com/kitten/fetch-nodeshim/pull/25)) 21 + - Propagate errors for duplex request/response streams, and ensure early errors propagate to the Response stream 22 + Submitted by [@kitten](https://github.com/kitten) (See [#16](https://github.com/kitten/fetch-nodeshim/pull/16)) 23 + - Protect against missing `Symbol.toStringTag` 24 + Submitted by [@kitten](https://github.com/kitten) (See [#19](https://github.com/kitten/fetch-nodeshim/pull/19)) 25 + 3 26 ## 0.4.2 4 27 5 28 ### Patch Changes
+1 -1
package.json
··· 1 1 { 2 2 "name": "fetch-nodeshim", 3 - "version": "0.4.2", 3 + "version": "0.4.3", 4 4 "description": "A Node.js fetch shim using built-in Request, Response, and Headers (but without native fetch)", 5 5 "author": "Phil Pluckthun <phil@kitten.sh>", 6 6 "source": "./src/index.ts",