chore(deps): update dependency type-fest to v4 #11020
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.13.1->4.22.1Release Notes
sindresorhus/type-fest (type-fest)
v4.22.1Compare Source
v4.22.0Compare Source
v4.21.0Compare Source
New types
StructuredCloneable(#897)737550bFixes
Jsonify: Convertundefinedtonullin union element of array (#901)60c1024Exact: Fix support forDatein union (#902)d89a709CamelCasedPropertiesDeep: Fix handling of non-recursive types inside target type (#890)476024dv4.20.1Compare Source
Schema: Fix handling of arrays (#887)c570ec2Paths: Prevent infinite recursion (#891)7d4e875v4.20.0Compare Source
SimplifyDeep: Support array (#888)a6ab051IsLiteral: Returnfalsefor tagged types (#886)587380cv4.19.0Compare Source
SimplifyDeeptype (#882)3a04fcfv4.18.3Compare Source
ConditionalKeys: Fix filtering out never type (#881)863511dv4.18.2Compare Source
CamelCasedPropertiesDeep: Fix tuple being incorrectly turned into array (#818)4e7bb18v4.18.1Compare Source
v4.18.0Compare Source
New types
Or909c38eAnd9d628aaImprovements
TsConfigJson: Addpreservemodule type andES2022lib types (#874)7096613Opaque: Mark as deprecated (#867)ef7b580UnwrapOpaque: Mark as deprecated (#867)ef7b580v4.17.0Compare Source
v4.16.0Compare Source
New types
IsIntegerIsFloatFixes
Integer: Fix handling of some edge-cases (#857)f5b09deFloat: Fix handling of some edge-cases (#857)f5b09dev4.15.0Compare Source
New types
SingleKeyObject(#849)fa1c3f3IfEmptyObject(#849)fa1c3f3Fixes
ConditionalKeys: Fix TypeScript 5.4 compatibility (#852)0fb2d62WritableDeep: Fix TypeScript 5.4 compatibility (#839)2878773ReadonlyDeep: Fix TypeScript 5.4 compatibility (#839)2878773v4.14.0Compare Source
DistributedPicktype (#841)fa4099cv4.13.1Compare Source
SetParameterType: Properly fix compatibility with TypeScript 5.4 (#836)a186adbv4.13.0Compare Source
New types
DistributedOmit(#820)bc49577Improvements
ArraySlice: Support array spread (#832)d2d0d01Fixes
SetParameterType: Fix compatibility with TypeScript 5.4 (#835)2bc451eOmitDeep: Fix handling for when the given path is not matched (#834)4f14bffv4.12.0Compare Source
New types
ArraySliceStringSliceIsNegativeGreaterThanGreaterThanOrEqualLessThanLessThanOrEqualSumSubtractv4.11.1Compare Source
OmitDeep: Fix internally imported type (#824)2061925v4.11.0Compare Source
New types
OmitDeep(#816)0e196aaArraySplice(#816)0e196aaImprovements
Tagged: Add metadata support (#723)3ec8dbav4.10.3Compare Source
PartialOnUndefinedDeep: Fix it incorrectly removing non-optional properties when the input type contains an index signature (#764)2f4b55av4.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.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.