Commit 21fb206
authored
fix(deps): Update dependency got to v14.6.5 (#49)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://redirect.github.com/sindresorhus/got) | dependencies | minor | [`14.4.9` -> `14.6.5`](https://renovatebot.com/diffs/npm/got/14.4.9/14.6.5) |
---
### Release Notes
<details>
<summary>sindresorhus/got (got)</summary>
### [`v14.6.5`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.6.5)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.6.4...v14.6.5)
- Fix TypeScript type inference for `got.extend()` with `responseType` option [`f7ab6e9`](https://redirect.github.com/sindresorhus/got/commit/f7ab6e9)
***
### [`v14.6.4`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.6.4)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.6.3...v14.6.4)
- Fix `dnsLookup` option type to accept Node.js `dns.lookup` [`47c3155`](https://redirect.github.com/sindresorhus/got/commit/47c3155)
***
### [`v14.6.3`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.6.3)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.6.2...v14.6.3)
- Fix socket reuse timing and DNS timing [`fb03d84`](https://redirect.github.com/sindresorhus/got/commit/fb03d84) [`61d5e3b`](https://redirect.github.com/sindresorhus/got/commit/61d5e3b)
***
### [`v14.6.2`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.6.2)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.6.1...v14.6.2)
- Fix path segments containing colons being misidentified as absolute URLs [`0a16a9c`](https://redirect.github.com/sindresorhus/got/commit/0a16a9c)
***
### [`v14.6.1`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.6.1)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.6.0...v14.6.1)
- Fix the TS code not being built in 14.6.0.
***
### [`v14.6.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.6.0)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.5.0...v14.6.0)
##### Improvements
- Add [`beforeCache`](https://redirect.github.com/sindresorhus/got/blob/599ae74e9f2a002eade81a0ec1722cf7dc28a9cd/documentation/9-hooks.md?plain=1#L237) hook [`1c3a041`](https://redirect.github.com/sindresorhus/got/commit/1c3a041)
- Add `retryCount` to `beforeRequest` hook context [`91cdc48`](https://redirect.github.com/sindresorhus/got/commit/91cdc48)
- Improve `HTTPError` message to include method and URL [`6dd7574`](https://redirect.github.com/sindresorhus/got/commit/6dd7574)
- Add support for typed arrays as request body [`ecf5633`](https://redirect.github.com/sindresorhus/got/commit/ecf5633)
- Add Node.js [diagnostic channel support](https://redirect.github.com/sindresorhus/got/blob/599ae74e9f2a002eade81a0ec1722cf7dc28a9cd/documentation/diagnostics-channel.md) [`3e2a781`](https://redirect.github.com/sindresorhus/got/commit/3e2a781)
- Allow custom Error classes in `beforeError` hook [`1c71194`](https://redirect.github.com/sindresorhus/got/commit/1c71194)
- Add zstd (Zstandard) compression support [`449833a`](https://redirect.github.com/sindresorhus/got/commit/449833a)
- Improve validation error messages by including option names [`f5c54a3`](https://redirect.github.com/sindresorhus/got/commit/f5c54a3)
- Add [`strictContentLength`](https://redirect.github.com/sindresorhus/got/blob/599ae74e9f2a002eade81a0ec1722cf7dc28a9cd/documentation/2-options.md?plain=1#L854) option [`4206f0e`](https://redirect.github.com/sindresorhus/got/commit/4206f0e)
- Add support for [`https.secureOptions`](https://redirect.github.com/sindresorhus/got/blob/599ae74e9f2a002eade81a0ec1722cf7dc28a9cd/documentation/5-https.md?plain=1#L136) option [`7ec1714`](https://redirect.github.com/sindresorhus/got/commit/7ec1714)
- Add [`copyPipedHeaders`](https://redirect.github.com/sindresorhus/got/blob/599ae74e9f2a002eade81a0ec1722cf7dc28a9cd/documentation/2-options.md?plain=1#L526) option to control automatic header copying from piped streams [`d83dadd`](https://redirect.github.com/sindresorhus/got/commit/d83dadd)
- Add [`stream.isReadonly`](https://redirect.github.com/sindresorhus/got/blob/599ae74e9f2a002eade81a0ec1722cf7dc28a9cd/documentation/3-streams.md?plain=1#L172) property to detect read-only streams [`030dfbb`](https://redirect.github.com/sindresorhus/got/commit/030dfbb)
##### Fixes
- Fix HTTP/2 timings NaN issue [`398c11a`](https://redirect.github.com/sindresorhus/got/commit/398c11a)
- Fix shortcut methods ignoring handler errors [`f004564`](https://redirect.github.com/sindresorhus/got/commit/f004564)
- Fix body reassignment in `beforeRetry` hooks [`bf84d36`](https://redirect.github.com/sindresorhus/got/commit/bf84d36)
- Fix `beforeError` hook not being called for `ERR_UNSUPPORTED_PROTOCOL` error [`fb86418`](https://redirect.github.com/sindresorhus/got/commit/fb86418)
- FIx preserving `prefixUrl` in hooks [`9725fbd`](https://redirect.github.com/sindresorhus/got/commit/9725fbd)
- Fix race condition causing retry after promise settles [`1e49781`](https://redirect.github.com/sindresorhus/got/commit/1e49781)
- Fix stream validation errors causing unhandled rejections [`2527bf6`](https://redirect.github.com/sindresorhus/got/commit/2527bf6)
- Fix incorrect `content-length` when piping decompressed responses [`30b3b79`](https://redirect.github.com/sindresorhus/got/commit/30b3b79)
- Fix EPIPE errors bypassing retry logic in Promise API [`6ae3e7f`](https://redirect.github.com/sindresorhus/got/commit/6ae3e7f)
- Fix silent hang when returning cached response with FormData body from beforeRequest hook [`e09a9bd`](https://redirect.github.com/sindresorhus/got/commit/e09a9bd)
- Fix hook type definitions to reflect normalized runtime state [`6a544a3`](https://redirect.github.com/sindresorhus/got/commit/6a544a3)
- Fix `afterResponse` hook validation to allow `null` body values [`60a4419`](https://redirect.github.com/sindresorhus/got/commit/60a4419)
- Fix DNS timing being non-zero when connecting to IP addresses [`3d66aec`](https://redirect.github.com/sindresorhus/got/commit/3d66aec)
- Fix `timings.end` being undefined when stream is destroyed before completion [`4e75679`](https://redirect.github.com/sindresorhus/got/commit/4e75679)
- Fix properly treating different UNIX socket paths as different origins [`e5659d4`](https://redirect.github.com/sindresorhus/got/commit/e5659d4)
##### Meta
I managed to get it almost down to zero issues! 🎉
***
### [`v14.5.0`](https://redirect.github.com/sindresorhus/got/releases/tag/v14.5.0)
[Compare Source](https://redirect.github.com/sindresorhus/got/compare/v14.4.9...v14.5.0)
- Add `retry.enforceRetryRules` option to fix statusCodes/limit bypassing [`7c0aee6`](https://redirect.github.com/sindresorhus/got/commit/7c0aee6)
- Add support for `serverName` HTTPS option [`cdaab63`](https://redirect.github.com/sindresorhus/got/commit/cdaab63)
- Add `preserveHooks` option for `retryWithMergedOptions` [`1abeba4`](https://redirect.github.com/sindresorhus/got/commit/1abeba4)
- Support `Iterable` and `AsyncIterable` as request body [`b65b0e1`](https://redirect.github.com/sindresorhus/got/commit/b65b0e1)
- Fix hang on revalidated cached responses [`2ab94fd`](https://redirect.github.com/sindresorhus/got/commit/2ab94fd)
- Fix handling of FormData getLength errors [`a2812de`](https://redirect.github.com/sindresorhus/got/commit/a2812de)
- Fix `downloadProgress` firing for redirect responses [`9ec6ff0`](https://redirect.github.com/sindresorhus/got/commit/9ec6ff0)
- Fix TypeScript type definition for retry event's createRetryStream parameter [`e899c07`](https://redirect.github.com/sindresorhus/got/commit/e899c07)
- Fix validation to accept `false` as agent value [`6961284`](https://redirect.github.com/sindresorhus/got/commit/6961284)
- Fix HTTP/2 memory leak from timeout listeners with connection reuse [`d1d4ed2`](https://redirect.github.com/sindresorhus/got/commit/d1d4ed2)
- Fix QuickLRU v7+ compatibility [`23d0b6b`](https://redirect.github.com/sindresorhus/got/commit/23d0b6b)
- Fix it not using HTTP/2 connection reuse by default [`724d592`](https://redirect.github.com/sindresorhus/got/commit/724d592)
- Fix hang with stream requests without body for methods like OPTIONS [`dc4f1e3`](https://redirect.github.com/sindresorhus/got/commit/dc4f1e3)
***
</details>
---
### Configuration
📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yMi4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIl19-->1 parent 07703c0 commit 21fb206
1 file changed
+116
-102
lines changed
0 commit comments