fix(deps): update dependency type-fest to v4 #647
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.0->^4.0.0Release Notes
sindresorhus/type-fest (type-fest)
v4.10.2Compare Source
MergeDeep: Fix compatibility with TypeScript 5.4 (#807)5f6165av4.10.1Compare Source
exactOptionalPropertyTypes: truetsconfig (#804)a54e313v4.10.0Compare Source
Get: Fix handling of readonly array (#799)4a38651SharedUnionFieldsDeep: Skip if input type is not a union type (#798)6f1db93DelimiterCasedPropertiesDeep: Don't recurse into intersection type that include primitive value (#789)eb96609Merge: Don't turn undefined into optional key (#787)0aec247v4.9.0Compare Source
New types
SharedUnionFieldsDeep(#783)94bb3d3Improvements
ReadonlyDeep: Fix usage with properties defined withvoid(#782)a919f93ConditionalPickDeep: Support interface (#776)ebb7a59v4.8.3Compare Source
MergeDeep: Fix optional key when value type isanyornever(#777)609c097Paths: Ensure it doesn't recurse intoMaporSet's prototype properties (#772)6759853v4.8.2Compare Source
DelimiterCasedPropertiesDeep: Fix handing of string (#768)e26c779v4.8.1Compare Source
Jsonify: Fix usage with readonly arrayf8019c2Elementto typeBuiltIns(#745)"1b25febDOMtypes are not available.v4.8.0Compare Source
PickDeep: Support interface (#755)1c65935Paths: Support interface (#746)8fa831eObjectValue: Support any kind of number index (#753)972815cClass: Fix type inference (#701)7294cf0DelimiterCasedPropertiesDeep: Improve array handling (#744)59411c8PartialDeep: Don't recurse intoHTMLElement(#745)d42ea80preserveConsecutiveUppercasetoPascalCaseand friends (#749)e58127av4.7.1Compare Source
PartialDeep: Ensure it doesn't recurse into prototype properties" (#743)9f47b11v4.7.0Compare Source
New types
PickDeep(#737)c60cabaPaths(#741)996171bSetFieldType(#721)964466cUnknownArray(#740)30aa0adImprovements
Writable: Support array, map, and set (#726)b9723d4PartialDeep: Ensure it doesn't recurse into prototype properties (#738)5eeac02ConditionalPickDeep: Ensure it doesn't recurse into prototype properties (#736)9960ba4v4.6.0Compare Source
New types
ArrayValues(#720)6c76e4aArrayIndices(#716)c330852SetParameterType(#722)9f2388dFixes
LastArrayElement: Fix handling of tuple with spread elements (#727)9630089PartialDeep: Skip constructor (#730)75edeefReadonlyDeep: Skip constructor (#728)3ee234aWritableDeep: Fix array handling (#724)9baccc3Meta
8a52129v4.5.0Compare Source
New types
UndefinedOnPartialDeep(#700)d8b44cbKeysOfUnion(#709)0517399IntRange(#707)e5d145dImprovements
Jsonify: Improve type inference for objects with.toJSON()extending primitives (#690)157ed07OverrideProperties: Fix autocomplete in the type (#712)fcdcfe9v4.4.0Compare Source
UnionToIntersection: Allow indexing by the resulting type (#682)61f2ff9v4.3.3Compare Source
IsLiteral: Don't restrict generic type (#684)4378507Jsonify: Fix handling of arrays (#673)025f6e9v4.3.2Compare Source
Jsonify: Fix handling of nested objects with only anameproperty (#691)5351533v4.3.1Compare Source
181c203v4.3.0Compare Source
New types
Tagged(#672)277ada2Opaquetype that supports multiple tags (nesting).UnwrapTagged(#672)277ada2NonEmptyObject(#623)98bb74dv4.2.0Compare Source
UnknownRecordtype (#660)b2bcc38ReadonlyDeep: Reduce likelyhood of "instantiation excessively deep" errors (#650)cff9808v4.1.0Compare Source
RequireOneOrNonetype (#654)0a098c6v4.0.0Compare Source
Breaking
ca94c3bRemoveIndexSignatureforOmitIndexSignature03703f0RemoveIndexSignature, simply rename it toOmitIndexSignature.Improvements
Jsonify: Fix handling of tuples (#638)d743202LastArrayElement: Avoid recursion (#647)3475a02Note
The next major version of
type-festwill move to ESM. It's time to start thinking about migrating if you haven't already. Learn more.v3.13.1Compare Source
Jsonify: Fix handling of tuples (#638)"9fdac37type-fest.v3.13.0Compare Source
New types
HasReadonlyKeys(#640)a8d6ad0HasWritableKeys(#640)a8d6ad0Fixes
Jsonify: Fix handling of tuples (#638)605b901prototypeproperty when usingClassandAbstractClasstypes (#632)8edb681v3.12.0Compare Source
SetReadonlytype (#624)b2e22fbv3.11.1Compare Source
PackageJson: Fix undefined being allowed in exports (#626)dc38b70SetRequired: Fix performance regression (#628)6a82900v3.11.0Compare Source
New types
WritableKeysOf(#619)a3e1589ReadonlyKeysOf(#619)a3e1589RequiredDeep(#614)c2bf374Fixes
typescriptas a peer dependencyf7139dev3.10.0Compare Source
Improvements
typescriptas a peer dependency (#606)5e6d9e8Fixes
SetRequired: Fix it incorrectly combining individual key types (#611)9c12497OverrideProperties: Fix a missing case (#609)44ec7ecv3.9.0Compare Source
OverridePropertiestype (#597)c365837Join: Support more cases (#594)bb81314v3.8.0Compare Source
IsX/IfXtypes forany/never/unknown(#564)4045737LiteralToPrimitiveDeeptype (#584)5374588v3.7.2Compare Source
Mergewith optionalanyvalue (#583)60a057bv3.7.1Compare Source
3deac35v3.7.0Compare Source
New types
TaggedUnion(#566)2e1cec8IsLiteral(#563)9d00bacIsStringLiteral(#563)9d00bacIsNumericLiteral(#563)9d00bacIsBooleanLiteral(#563)9d00bacIsSymbolLiteral(#563)9d00bacAbstractClass(#559)9b12767AbstractConstructor(#559)9b12767Improvements
Except: AddrequireExactPropsoption (#560)c5743c9TsConfigJson: Add TypeScript 5.0 options (#573)aafc938v3.6.1Compare Source
Join: Fix usage of single element const tuple (#558)747e29bv3.6.0Compare Source
New types
WritableDeep(#540)7538c05Fixes
PackageJson: FixImportsandExportstypes (#555)3ebab0dv3.5.7Compare Source
TsConfigJson: FixPlugintype (#554)e3b1e96v3.5.6Compare Source
Simplifyto actually expand type-hints (#553)aaef3e3v3.5.5Compare Source
v3.5.4Compare Source
JsonValue: Fix support for readonly arrays (#549)311051cv3.5.3Compare Source
Exact: Fix handling of deep optional unions (#546)5125e1bv3.5.2Compare Source
CamelCase: Fix some cases where it would incorrectly resolve toneverTrim: Remove all whitespace, not just spacesConfiguration
📅 Schedule: Branch creation - "before 3am on Monday" (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.
This PR has been generated by Mend Renovate. View repository job log here.