fix(deps): update dependency type-fest to v5#179
Merged
Conversation
gr2m
approved these changes
Sep 14, 2025
|
🎉 This PR is included in version 5.4.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^4.0.0->^5.0.0Release Notes
sindresorhus/type-fest (type-fest)
v5.0.0Compare Source
Breaking
b5b0214cc2b0f2type-festrequiresstrict: truein your tsconfig.StringKeyOf: Rename toKeyAsStringe492c9cArrayTail: EnablepreserveReadonlyby default and remove the optionb34b1d8CamelCase/CamelCasedProperties/CamelCasedPropertiesDeep/PascalCase/PascalCasedProperties/PascalCasedPropertiesDeep: DisablepreserveConsecutiveUppercaseby default8226c1bPartialDeep: DisableallowUndefinedInNonTupleArraysby defaultb3c4524Split: EnablestrictLiteralChecksby default544a846Paths: DefaultmaxRecursionDepth5 (was 10)2ab5decObservableLike: Move to sub-export2a1072eIf*types in favor of a singleIf4c2151aNew types
Alphanumeric— Single alphanumeric character (A–Z,a–z,0–9).484e030AllExtend— Evaluates totrueif every element of a tuple/array extendsU.c8c6d55ConditionalSimplify— Simplifies a type’s unions/intersections with opt-in controls.b7a4771ConditionalSimplifyDeep— Deep version ofConditionalSimplifythat recurses into objects.b7a4771DigitCharacter— Single ASCII digit character (0–9).484e030ExcludeStrict— Non-distributive, stricter variant ofExclude<T, U>.e6f62a2ExtendsStrict— Non-distributiveA extends Bcheck.d71242aExtractStrict— Non-distributive, stricter variant ofExtract<T, U>.98d24faIsLowercase— Evaluates totrueif a string literal is all lowercase.afe132cIsNullable— Evaluates totrueifTincludesnull.5067e25IsOptional— Evaluates totrueifTincludesundefined.5067e25IsOptionalKeyOf— Evaluates totrueif propertyKofTis optional.93728b5IsReadonlyKeyOf— Evaluates totrueif propertyKofTis readonly.93728b5IsRequiredKeyOf— Evaluates totrueif propertyKofTis required.93728b5IsUnion— Evaluates totrueifTis a union type.b3d92edIsUndefined— Evaluates totrueif the type is exactlyundefined.f7bc576IsUppercase— Evaluates totrueif a string literal is all uppercase.afe132cLowercaseLetter— Single lowercase Latin letter (a–z).484e030RemovePrefix— Removes a specified prefix from a string literal.18a1c04UppercaseLetter— Single uppercase Latin letter (A–Z).484e030Improvements
Jsonify: HandleunknownasJsonValue642bb13SetRequired/SetOptional/SetReadonly: Handle functions with propertiesa5e45d4Schema: Preserve arrays/remove extraneous unions8a96def; dropundefinedforrecurseIntoArrays1cb955bReadonlyKeysOf/WritableKeysOf: Addobjectconstrainta6efbe0TsConfigJson: Add TypeScript 5.9 fieldsd2bda94Fixes
Or: Fix withboolean,never,any42d6106And: Fix withboolean,never,anyb38ac60IsStringLiteral: Fix uncollapsed unions, and tagged typeseb37799/d1b35c7Paths: Fix behavior with index signatures9926e5dConditionalKeys: Fix behavior with arrays and unions4d7cc50RequiredDeep: Fix withundefinedbfcdbc4Split: Fix template strings ending with interpolation853b881ArrayTail: Fix fix non-tuple arraysf3aabd8UnionMinandUnionMaxd52d5e7Meta
Huge thanks to all the contributors to this release, especially @som-sm 🙌
v4.41.0Compare Source
SetNonNullableDeeptype (#1117)b9606e7LessThan/GreaterThan/GreaterThanOrEqual: Fix behaviour with unions (#1116)afd809aRequireAllOrNone/RequireAtLeastOne/RequireExactlyOne/RequireOneOrNone: Fix behaviour withanyandnever(#1113)8c154e9v4.40.1Compare Source
PartialDeep: Fix behaviour with functions containing properties (#1108)86a3a69CamelCasedPropertiesDeep/DelimiterCasedPropertiesDeep/KebabCasedPropertiesDeep/PascalCasedPropertiesDeep/SnakeCasedPropertiesDeep: Fix behaviour when property value isunknown(#1112)cfcf9ecv4.40.0Compare Source
NonEmptyStringtype (#1103)19a9c37UnknownMaptype (#1106)b4ace2dUnknownSettype (#1106)b4ace2dIsFloat/IsInteger: Fix instantiations with numbers represented using exponential notation (#1101)21a92f6v4.39.1Compare Source
OptionalKeysOf/WritableKeysOf: Fix generic assignability withkeyof T(#1098)1b41ed3v4.39.0Compare Source
ArrayTail: AddpreserveReadonlyoption (#1091)544271ePartialDeep: Fix behaviour whenstrictNullChecksis disabled (#1096)7536baeOptionalKeysOf/RequiredKeysOf: Fix instantiations with unions and arrays (#1089)e1ac7b2WritableKeysOf/ReadonlyKeysOf: Fix behavior with unions and optional properties (#1088)bbf9137v4.38.0Compare Source
AsyncReturnType: Add support forPromiseLike(#1082)72ccde9DelimiterCase/SnakeCase/ScreamingSnakeCase/KebabCase: Fix instantiations containing punctuations (#1080)063e28dDelimiterCase: PassOptionsgeneric to all related types (#1078)1974944CamelCasedPropertiesDeep: Make nested array objects respect the options (#1077)c11c9cav4.37.0Compare Source
Sum: Add negative return value support (#1068)af5bfb7Subtract: Add negative return value support (#1061)2b85ae2Split: AddstrictLiteralChecksoption (#1067)cc93f85Split: Fix instantiations with unions (#1067)cc93f85Replace: Fix instantiations with unions (#1065)a733698DelimiterCase/SnakeCase/ScreamingSnakeCase/KebabCase: Fix default value forsplitOnNumbersoption (#1073)e462e72v4.36.0Compare Source
TsConfigJson: Add TypeScript 5.8 fields (#1064)918156aReplace: Add support for generating longer strings (#1060)3c03a0dDelimiterCase: Internal improvements (#930)a463c30v4.35.0Compare Source
TupleToObjecttype (#1055)c8149ecPaths: Adddepthoption (#1058)2633e5bv4.34.1Compare Source
OmitDeep: Fix import statement (#1052)e5b66a4v4.34.0Compare Source
AllUnionFieldstype (#997)9aba4c3Paths: AddleavesOnlyoption (#1050)7dfb307OmitDeep: Fix removal of multiple paths within arrays (#1049)fa6e31bv4.33.0Compare Source
StringRepeat: Add support for generating longer strings & fix instantiations with unions (#1046)fbccaabSplit: Add support for longer strings (#1042)49605b9Get: Optimize performance (#1031)cfb5947KeysOfUnion: Fix assignability withkeyof(#1009)4789c7cIsStringLiteral: Fix instantiations with infinite string types (#1044)e7800afSetRequiredDeep: Fix handling of unions in nested keys (#1037)bf5ce3cStringSlice: Fix return type when passing in non-literal (#1036)979eccfSum/Subtract: Fix instantiations with unions (#1034)69bfd51v4.32.0Compare Source
New types
IsTuple(#1024)1e0872dSetRequiredDeep(#939)3d54627Improvements
PartialDeep: AddallowUndefinedInNonTupleArraysoption (#1019)278df80Fixes
SetRequired: Fix support for removal of optional modifiers from tuples (#1030)c897aadv4.31.0Compare Source
SetFieldType: Add option to preserve property modifiers (#1017)59517cbIsEqual: Fix identity issue (#1012)591700aSetOptional: Fix instantiations with index signatures (#1014)cb269ffSetRequired: Fix instantiations with index signatures (#1014)cb269ffSetReadonly: Fix instantiations with index signatures (#1014)cb269ffv4.30.2Compare Source
527d600SetOptional/SetRequired/SetReadonly: Fix when the second argument isany(#1007)fdbcb11SetOptional: Fix when instantiated with unions (#1007)fdbcb11v4.30.1Compare Source
Arrayable: Make it more usable by removingreadonly(#1003)a128f69v4.30.0Compare Source
SharedUnionFieldstype (#994)a716c29ArrayTail: Fix support for optional parameters (#977)f6b1387v4.29.1Compare Source
IsAny: Fix circular constraint error on TypeScript 5.4+ (#993)32d94ddv4.29.0Compare Source
IntClosedRangetype (#992)d7b692bSchema: AddrecurseIntoArraysoption (#960)fbbb8bav4.28.1Compare Source
SharedUnionFieldsDeep: Fix support for optional fields (#988)4b49b93v4.28.0Compare Source
TsConfigJson: Add TypeScript 5.7 fields (#987)9d6fff3v4.27.1Compare Source
SharedUnionFieldsDeep: Fix propagation for non union root types (#984)f215f9fArraySlice: Fix support for union input (#986)0efbae3v4.27.0Compare Source
Wordstype (#975)13c0c83Get: Fix handling of paths with number template literal (#968)b93f54aTsConfigJson: AddnoChecktocompilerOptions(#981)a470913v4.26.1Compare Source
Exact: Fix usage with recursive types and unions (#949)91f6d39v4.26.0Compare Source
UnionToTupletype (#945)1f4f7a1v4.25.0Compare Source
StringRepeattype (#938)a83e87eArrayabletype #270 (#935)9aabcb9v4.24.0Compare Source
Path: AddbracketNotationoption (#926)3b15a94v4.23.0Compare Source
Paths: AddmaxRecursionDepthoption (#920)052e887v4.22.1Compare Source
4b74444v4.22.0Compare Source
New types
ArrayTail(#913)128b21eNonEmptyTuple(#915)bb57638FindGlobalType(#908)0086cd6FindGlobalInstanceType(#908)0086cd6Improvements
RequireXtypes' second parameter is optional (#907)fee4e04StructuredCloneable: Include web-specific types when available (#908)0086cd6Fixes
Exact: Fix type when class is present (#911)bf85819v4.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
ed860e9v4.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
New types
IsNulld639574Fixes
Zero: Fix missing export (#870)91a2b1ev4.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
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 was generated by Mend Renovate. View the repository job log.