[deps] Platform: Update type-fest to v5#16633
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Collaborator
|
Internal tracking:
|
92410ae to
bd53c6f
Compare
bd53c6f to
31be659
Compare
31be659 to
2b0eaa9
Compare
f347250 to
517746d
Compare
517746d to
06729a3
Compare
ba1e923 to
be7ba76
Compare
be7ba76 to
e6340eb
Compare
f29cfa4 to
c0f536f
Compare
c0f536f to
8ea3407
Compare
6cdbe14 to
7932513
Compare
dfb043a to
55e11a2
Compare
168bf68 to
df2fda9
Compare
df2fda9 to
e8d95e7
Compare
e8d95e7 to
b616557
Compare
7850c7d to
ab42650
Compare
4993d39 to
f634290
Compare
f634290 to
9891079
Compare
9891079 to
02c9712
Compare
845ad04 to
b7029fa
Compare
e6456d1 to
f729bf5
Compare
2e6ef54 to
4c88212
Compare
4c88212 to
fb69179
Compare
fb69179 to
0a5affc
Compare
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:
2.19.0→5.7.0Release Notes
sindresorhus/type-fest (type-fest)
v5.7.0Compare Source
New types
RemoveSuffix(#1439)d685b77UnwrapRequired(#1410)3bfee8eImprovements
ExtendsStrict: AdddistributiveUnions,strictNever&strictAnyoptions (#1408)9ea810bTupleOf: Improve implementation (#1441)391e1bbFixes
RemovePrefix: Fix: Remove incorrect optimization and always fallback tostringfor non-literal prefixes (#1438)9f35398DelimiterCase: Fix behavior with non-single character delimiters (#1424)9b36590RemovePrefix: Fixanyprefix behavior in non-strict mode (#1423)c49cb75DelimiterCase: Fix behavior with union delimiters (#1422)96172c0ApplyDefaultOptions: Fix behavior with generic instantiations &anyvalues (#1411)c46020dApplyDefaultOptions: Fix behavior with explicitundefined(#1407)60bfd3fv5.6.0Compare Source
New types
Absolute(#1391)7761f91NonNullableDeep(#1401)1e8bd10UnionLength(#1402)49142dbImprovements
splitOnPunctuationoption toCamelCase/PascalCase/KebabCase/SnakeCase(#1394)852d016CamelCase: AddpreserveLeadingUnderscoresoption (#1404)5ca6564TsConfigJson: Add TypeScript 6.0 fields (#1406)ac4861dUnionToTuple: Fix behavior with large unions (#1405)651f7eav5.5.0Compare Source
New types
Optional(#1374)9b52980ExcludeExactly(#1349)0f923d0ArrayLength(#1344)59bd056UnionMember(#1368)878b6dfSomeExtend(#1380)bbce298AndAll(#1383)94aa3f8OrAll(#1378)4c42d89Improvements
24be93dUnionToTuple: Fix behavior when a union member is a supertype of another (#1349)0f923d0ConditionalPickDeep: Fix returning{}instead ofneverwhen no keys match (#1360)6af847aConditionalPick: Fix returning{}instead ofneverwhen no keys match (#1359)3995003GreaterThan/LessThan/GreaterThanOrEqual/LessThanOrEqual: Fix behavior with thenumbertype (#1363)cfea505v5.4.4Compare Source
PackageJson: UseLiteralUnionforenginesfield (#1354)fc9e2bbIsUnion: Fix behavior when the entire union extends all individual members (#1353)b0321a5Paths: FixleavesOnlybehavior withneverleaves (#1350)2c34128Paths: Fix behavior withWeakMaps /WeakSets (#1348)ac3b50ePaths: Fix behavior with tuples containing optional elements with a rest element (#1346)7c82a21v5.4.3Compare Source
Merge: Fix idempotency, soMerge<A, A>returnsA(#1336)99e35a2Paths: Fix behavior with generic types (#1343)8f0419cv5.4.2Compare Source
SimplifyDeep: Fix behavior with arrays (#1337)a2a180dMerge: Fix behavior with unions (#1327)fa55f48v5.4.1Compare Source
MergeDeep: Remove extraundefinedfrom optional properties (#1319)a6af489v5.4.0Compare Source
New types
ObjectMerge(#1324)ac06066UnwrapPartial(#1296)99b0b07ArrayReverse(#1266)dfbefadv5.3.1Compare Source
PackageJson: Fix key type forDependencyOverrides(#1307)0430f56v5.3.0Compare Source
Improvements
PackageJson: Addoverrides(#1287)8beaa89Fixes
IsEqual: Fix generic inference (#1306)f7b2667ConditionalPickDeep/SimplifyDeep: Prevent mapping over built-ins (#1293)f14a75aArraySlice/StringSlice: Fix behavior with unions (#1291)133258bv5.2.0Compare Source
New types
ExclusifyUniontype (#1278)2b906feArrayElementtype (#1270)2afaa40Improvements
CamelCase: AddsplitOnNumbersoption (#1290)ce2d244PackageJson: AdddevEnginestype (#1286)3b4ad2eFixes
ExcludeRestElement: Fix generic assignability with arrays (#1274)12ef5b2GreaterThanOrEqual/LessThan: Fix behavior with operands likeNandN | N + >0(#1280)b2caa3fv5.1.0Compare Source
New types
TupleOf(#1247)7fb2f75Xor(#1254)ad04bc5SplitOnRestElement(#1166)34b8fadExtractRestElement(#1166)34b8fadExcludeRestElement(#1166)34b8fadImprovements
ReadonlyTuple: Deprecate in favor ofTupleOf(#1256)af4bebcTsConfigJson: Add missing lib enum values (#1263)72f491fTsConfigJson: AddrewriteRelativeImportExtensions(#1262)7d011ceFixes
PartialDeep: Fix behavior with functions containing multiple call signatures (#1259)3bd9de6IsEqual: Fix behaviour when instantiated withneverandunknown(#1251)785549fFixedLengthArray: Fix element type (#1246)ee29ef7is-equal: Fix handling with intersecting wrapped types (#1231)5af60a1v5.0.1Compare Source
4f9c248v5.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) [476024d](https://redirectConfiguration
📅 Schedule: (UTC)
🚦 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.