Closed renovate[bot] closed 1 year ago
This PR contains the following updates:
^3.0.0
^4.0.0
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^3.0.0
->^4.0.0
Release Notes
sindresorhus/type-fest (type-fest)
### [`v4.0.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v4.0.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.13.1...v4.0.0) ##### Breaking - Require Node.js 16 and TypeScript 5.1 [`ca94c3b`](https://togithub.com/sindresorhus/type-fest/commit/ca94c3b) - Remove alias `RemoveIndexSignature` for `OmitIndexSignature` [`03703f0`](https://togithub.com/sindresorhus/type-fest/commit/03703f0) - The alias was deprecated a long time ago. If you have `RemoveIndexSignature`, simply rename it to `OmitIndexSignature`. ##### Improvements - `Jsonify`: Fix handling of tuples ([#638](https://togithub.com/sindresorhus/type-fest/issues/638)) [`d743202`](https://togithub.com/sindresorhus/type-fest/commit/d743202) - `LastArrayElement`: Avoid recursion ([#647](https://togithub.com/sindresorhus/type-fest/issues/647)) [`3475a02`](https://togithub.com/sindresorhus/type-fest/commit/3475a02) ##### Note The next major version of `type-fest` will move to ESM. It's time to start thinking about migrating if you haven't already. [Learn more.](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm) *** ### [`v3.13.1`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.13.1) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.13.0...v3.13.1) - Revert "`Jsonify`: Fix handling of tuples ([#638](https://togithub.com/sindresorhus/type-fest/issues/638))" [`9fdac37`](https://togithub.com/sindresorhus/type-fest/commit/9fdac37) - It caused problems in TypeScript 4.7 and 4.8. It will be brought back in the next major release of `type-fest`. ### [`v3.13.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.13.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.12.0...v3.13.0) ##### New types - [`HasReadonlyKeys`](https://togithub.com/sindresorhus/type-fest/blob/main/source/has-readonly-keys.d.ts) ([#640](https://togithub.com/sindresorhus/type-fest/issues/640)) [`a8d6ad0`](https://togithub.com/sindresorhus/type-fest/commit/a8d6ad0) - [`HasWritableKeys`](https://togithub.com/sindresorhus/type-fest/blob/main/source/has-writable-keys.d.ts) ([#640](https://togithub.com/sindresorhus/type-fest/issues/640)) [`a8d6ad0`](https://togithub.com/sindresorhus/type-fest/commit/a8d6ad0) ##### Fixes - `Jsonify`: Fix handling of tuples ([#638](https://togithub.com/sindresorhus/type-fest/issues/638)) [`605b901`](https://togithub.com/sindresorhus/type-fest/commit/605b901) - Fix accessing `prototype` property when using `Class` and `AbstractClass` types ([#632](https://togithub.com/sindresorhus/type-fest/issues/632)) [`8edb681`](https://togithub.com/sindresorhus/type-fest/commit/8edb681) ### [`v3.12.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.12.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.11.1...v3.12.0) - Add [`SetReadonly`](https://togithub.com/sindresorhus/type-fest/blob/main/source/set-readonly.d.ts) type ([#624](https://togithub.com/sindresorhus/type-fest/issues/624)) [`b2e22fb`](https://togithub.com/sindresorhus/type-fest/commit/b2e22fb) ### [`v3.11.1`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.11.1) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.11.0...v3.11.1) - `PackageJson`: Fix undefined being allowed in exports ([#626](https://togithub.com/sindresorhus/type-fest/issues/626)) [`dc38b70`](https://togithub.com/sindresorhus/type-fest/commit/dc38b70) - `SetRequired`: Fix performance regression ([#628](https://togithub.com/sindresorhus/type-fest/issues/628)) [`6a82900`](https://togithub.com/sindresorhus/type-fest/commit/6a82900) ### [`v3.11.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.11.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.10.0...v3.11.0) ##### New types - [`WritableKeysOf`](https://togithub.com/sindresorhus/type-fest/blob/main/source/writable-keys-of.d.ts) ([#619](https://togithub.com/sindresorhus/type-fest/issues/619)) [`a3e1589`](https://togithub.com/sindresorhus/type-fest/commit/a3e1589) - [`ReadonlyKeysOf`](https://togithub.com/sindresorhus/type-fest/blob/main/source/readonly-keys-of.d.ts) ([#619](https://togithub.com/sindresorhus/type-fest/issues/619)) [`a3e1589`](https://togithub.com/sindresorhus/type-fest/commit/a3e1589) - [`RequiredDeep`](https://togithub.com/sindresorhus/type-fest/blob/main/source/required-deep.d.ts) ([#614](https://togithub.com/sindresorhus/type-fest/issues/614)) [`c2bf374`](https://togithub.com/sindresorhus/type-fest/commit/c2bf374) ##### Fixes - Remove `typescript` as a peer dependency [`f7139de`](https://togithub.com/sindresorhus/type-fest/commit/f7139de) - It was added in 3.10.0, but it caused some problems, so we are reverting it. ### [`v3.10.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.10.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.9.0...v3.10.0) ##### Improvements - Add `typescript` as a peer dependency ([#606](https://togithub.com/sindresorhus/type-fest/issues/606)) [`5e6d9e8`](https://togithub.com/sindresorhus/type-fest/commit/5e6d9e8) ##### Fixes - `SetRequired`: Fix it incorrectly combining individual key types ([#611](https://togithub.com/sindresorhus/type-fest/issues/611)) [`9c12497`](https://togithub.com/sindresorhus/type-fest/commit/9c12497) - `OverrideProperties`: Fix a missing case ([#609](https://togithub.com/sindresorhus/type-fest/issues/609)) [`44ec7ec`](https://togithub.com/sindresorhus/type-fest/commit/44ec7ec) ### [`v3.9.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.9.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.8.0...v3.9.0) - Add [`OverrideProperties`](https://togithub.com/sindresorhus/type-fest/blob/main/source/override-properties.d.ts) type ([#597](https://togithub.com/sindresorhus/type-fest/issues/597)) [`c365837`](https://togithub.com/sindresorhus/type-fest/commit/c365837) - `Join`: Support more cases ([#594](https://togithub.com/sindresorhus/type-fest/issues/594)) [`bb81314`](https://togithub.com/sindresorhus/type-fest/commit/bb81314) ### [`v3.8.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.8.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.7.2...v3.8.0) - Add `IsX`/`IfX` types for `any`/`never`/`unknown` ([#564](https://togithub.com/sindresorhus/type-fest/issues/564)) [`4045737`](https://togithub.com/sindresorhus/type-fest/commit/4045737) - Add [`LiteralToPrimitiveDeep`](https://togithub.com/sindresorhus/type-fest/blob/main/source/literal-to-primitive-deep.d.ts) type ([#584](https://togithub.com/sindresorhus/type-fest/issues/584)) [`5374588`](https://togithub.com/sindresorhus/type-fest/commit/5374588) ### [`v3.7.2`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.7.2) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.7.1...v3.7.2) - Fix `Merge` with optional `any` value ([#583](https://togithub.com/sindresorhus/type-fest/issues/583)) [`60a057b`](https://togithub.com/sindresorhus/type-fest/commit/60a057b) ### [`v3.7.1`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.7.1) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.7.0...v3.7.1) - Fix missing export ([#580](https://togithub.com/sindresorhus/type-fest/issues/580)) [`3deac35`](https://togithub.com/sindresorhus/type-fest/commit/3deac35) ### [`v3.7.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.7.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.6.1...v3.7.0) ##### New types - [`TaggedUnion`](https://togithub.com/sindresorhus/type-fest/blob/main/source/tagged-union.d.ts) ([#566](https://togithub.com/sindresorhus/type-fest/issues/566)) [`2e1cec8`](https://togithub.com/sindresorhus/type-fest/commit/2e1cec8) - [`IsLiteral`](https://togithub.com/sindresorhus/type-fest/blob/main/source/is-literal.d.ts) ([#563](https://togithub.com/sindresorhus/type-fest/issues/563)) [`9d00bac`](https://togithub.com/sindresorhus/type-fest/commit/9d00bac) - [`IsStringLiteral`](https://togithub.com/sindresorhus/type-fest/blob/main/source/is-literal.d.ts) ([#563](https://togithub.com/sindresorhus/type-fest/issues/563)) [`9d00bac`](https://togithub.com/sindresorhus/type-fest/commit/9d00bac) - [`IsNumericLiteral`](https://togithub.com/sindresorhus/type-fest/blob/main/source/is-literal.d.ts) ([#563](https://togithub.com/sindresorhus/type-fest/issues/563)) [`9d00bac`](https://togithub.com/sindresorhus/type-fest/commit/9d00bac) - [`IsBooleanLiteral`](https://togithub.com/sindresorhus/type-fest/blob/main/source/is-literal.d.ts) ([#563](https://togithub.com/sindresorhus/type-fest/issues/563)) [`9d00bac`](https://togithub.com/sindresorhus/type-fest/commit/9d00bac) - [`IsSymbolLiteral`](https://togithub.com/sindresorhus/type-fest/blob/main/source/is-literal.d.ts) ([#563](https://togithub.com/sindresorhus/type-fest/issues/563)) [`9d00bac`](https://togithub.com/sindresorhus/type-fest/commit/9d00bac) - [`AbstractClass`](https://togithub.com/sindresorhus/type-fest/blob/c3bc0e8b08dc7656935eea49c76d8131a0abd32e/source/basic.d.ts#L15-L20) ([#559](https://togithub.com/sindresorhus/type-fest/issues/559)) [`9b12767`](https://togithub.com/sindresorhus/type-fest/commit/9b12767) - [`AbstractConstructor`](https://togithub.com/sindresorhus/type-fest/blob/c3bc0e8b08dc7656935eea49c76d8131a0abd32e/source/basic.d.ts#L22-L27) ([#559](https://togithub.com/sindresorhus/type-fest/issues/559)) [`9b12767`](https://togithub.com/sindresorhus/type-fest/commit/9b12767) ##### Improvements - `Except`: Add [`requireExactProps`](https://togithub.com/sindresorhus/type-fest/blob/c3bc0e8b08dc7656935eea49c76d8131a0abd32e/source/except.d.ts#L33-L40) option ([#560](https://togithub.com/sindresorhus/type-fest/issues/560)) [`c5743c9`](https://togithub.com/sindresorhus/type-fest/commit/c5743c9) - `TsConfigJson`: Add TypeScript 5.0 options ([#573](https://togithub.com/sindresorhus/type-fest/issues/573)) [`aafc938`](https://togithub.com/sindresorhus/type-fest/commit/aafc938) ### [`v3.6.1`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.6.1) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.6.0...v3.6.1) - `Join`: Fix usage of single element const tuple ([#558](https://togithub.com/sindresorhus/type-fest/issues/558)) [`747e29b`](https://togithub.com/sindresorhus/type-fest/commit/747e29b) ### [`v3.6.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.6.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.5.7...v3.6.0) ##### New types - [`WritableDeep`](https://togithub.com/sindresorhus/type-fest/blob/main/source/writable-deep.d.ts) ([#540](https://togithub.com/sindresorhus/type-fest/issues/540)) [`7538c05`](https://togithub.com/sindresorhus/type-fest/commit/7538c05) ##### Fixes - `PackageJson`: Fix `Imports` and `Exports` types ([#555](https://togithub.com/sindresorhus/type-fest/issues/555)) [`3ebab0d`](https://togithub.com/sindresorhus/type-fest/commit/3ebab0d) ### [`v3.5.7`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.5.7) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.5.6...v3.5.7) - `TsConfigJson`: Fix `Plugin` type ([#554](https://togithub.com/sindresorhus/type-fest/issues/554)) [`e3b1e96`](https://togithub.com/sindresorhus/type-fest/commit/e3b1e96) ### [`v3.5.6`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.5.6) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.5.5...v3.5.6) - Fix `Simplify` to actually expand type-hints ([#553](https://togithub.com/sindresorhus/type-fest/issues/553)) [`aaef3e3`](https://togithub.com/sindresorhus/type-fest/commit/aaef3e3) ### [`v3.5.5`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.5.5) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.5.4...v3.5.5) - `PackageJson`: Make `Imports` object properties optional ([#551](https://togithub.com/sindresorhus/type-fest/issues/551)) [`a729046`](https://togithub.com/sindresorhus/type-fest/commit/a729046) ### [`v3.5.4`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.5.4) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.5.3...v3.5.4) - `JsonValue`: Fix support for readonly arrays ([#549](https://togithub.com/sindresorhus/type-fest/issues/549)) [`311051c`](https://togithub.com/sindresorhus/type-fest/commit/311051c) ### [`v3.5.3`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.5.3) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.5.2...v3.5.3) - `Exact`: Fix handling of deep optional unions ([#546](https://togithub.com/sindresorhus/type-fest/issues/546)) [`5125e1b`](https://togithub.com/sindresorhus/type-fest/commit/5125e1b) ### [`v3.5.2`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.5.2) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.5.1...v3.5.2) - `CamelCase`: Fix some cases where it would incorrectly resolve to `never` - `Trim`: Remove all whitespace, not just spaces ### [`v3.5.1`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.5.1) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.5.0...v3.5.1) - `TsConfigJson`: Add missing `ES2022` ([#536](https://togithub.com/sindresorhus/type-fest/issues/536)) [`1e76932`](https://togithub.com/sindresorhus/type-fest/commit/1e76932) ### [`v3.5.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.5.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.4.0...v3.5.0) ##### New types - [`IsEqual`](https://togithub.com/sindresorhus/type-fest/blob/main/source/is-equal.d.ts) ([#522](https://togithub.com/sindresorhus/type-fest/issues/522)) [`e5a3a57`](https://togithub.com/sindresorhus/type-fest/commit/e5a3a57) ##### Improvements - `Join`: Support const tuple values ([#533](https://togithub.com/sindresorhus/type-fest/issues/533)) [`db81191`](https://togithub.com/sindresorhus/type-fest/commit/db81191) - `TsConfigJson`: Sync with latest TypeScript version ([#529](https://togithub.com/sindresorhus/type-fest/issues/529)) [`9f04028`](https://togithub.com/sindresorhus/type-fest/commit/9f04028) ##### Fixes - `CamelCase`: Fix handling of non-literal strings ([#531](https://togithub.com/sindresorhus/type-fest/issues/531)) [`00b13f8`](https://togithub.com/sindresorhus/type-fest/commit/00b13f8) ### [`v3.4.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.4.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.3.0...v3.4.0) ##### New types - [`GlobalThis`](https://togithub.com/sindresorhus/type-fest/blob/main/source/global-this.d.ts) ([#511](https://togithub.com/sindresorhus/type-fest/issues/511)) [`17dace9`](https://togithub.com/sindresorhus/type-fest/commit/17dace9) ##### Fixes - `Exact`: Fix handling of `Opaque` types ([#525](https://togithub.com/sindresorhus/type-fest/issues/525)) [`84269a7`](https://togithub.com/sindresorhus/type-fest/commit/84269a7) ### [`v3.3.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.3.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.2.0...v3.3.0) ##### Improvements - `Jsonify`: Add "jump to definition" and `any` support ([#519](https://togithub.com/sindresorhus/type-fest/issues/519)) [`2071f47`](https://togithub.com/sindresorhus/type-fest/commit/2071f47) ##### Fixes - `SetNonNullable`: Fix usage in type predicate context ([#515](https://togithub.com/sindresorhus/type-fest/issues/515)) [`9bae03b`](https://togithub.com/sindresorhus/type-fest/commit/9bae03b) ### [`v3.2.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.2.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.1.0...v3.2.0) ##### New types - [`Jsonifiable`](https://togithub.com/sindresorhus/type-fest/blob/main/source/jsonifiable.d.ts) ([#492](https://togithub.com/sindresorhus/type-fest/issues/492)) [`e11ab80`](https://togithub.com/sindresorhus/type-fest/commit/e11ab80) ##### Improvements - `TupleToUnion`: Support array ([#504](https://togithub.com/sindresorhus/type-fest/issues/504)) [`a68f6b2`](https://togithub.com/sindresorhus/type-fest/commit/a68f6b2) - `CamelCase`: Add `preserveConsecutiveUppercase` option ([#501](https://togithub.com/sindresorhus/type-fest/issues/501)) [`b11f017`](https://togithub.com/sindresorhus/type-fest/commit/b11f017) - `PackageJson`: Strict check for `imports` ([#478](https://togithub.com/sindresorhus/type-fest/issues/478)) [`846f4db`](https://togithub.com/sindresorhus/type-fest/commit/846f4db) ##### Fixes - `Jsonify`: Make it look deeper ([#498](https://togithub.com/sindresorhus/type-fest/issues/498)) [`e11d30b`](https://togithub.com/sindresorhus/type-fest/commit/e11d30b) - `Jsonify`: Fix usage with empty `Set` and `Map` ([#497](https://togithub.com/sindresorhus/type-fest/issues/497)) [`f24821b`](https://togithub.com/sindresorhus/type-fest/commit/f24821b) ### [`v3.1.0`](https://togithub.com/sindresorhus/type-fest/releases/tag/v3.1.0) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v3.0.0...v3.1.0) - Add (experimental) [`MergeDeep`](https://togithub.com/sindresorhus/type-fest/blob/main/source/merge-deep.d.ts) type ([#452](https://togithub.com/sindresorhus/type-fest/issues/452)) [`fedbc44`](https://togithub.com/sindresorhus/type-fest/commit/fedbc44) - Feedback wanted - `SetNonNullable`: Make it possible to apply it to all keys ([#482](https://togithub.com/sindresorhus/type-fest/issues/482)) [`7d492c8`](https://togithub.com/sindresorhus/type-fest/commit/7d492c8) - Just leave out the second generic parameter to make it apply to all keys.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR has been generated by Mend Renovate. View repository job log here.