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.41.0->^5.0.0Release Notes
sindresorhus/type-fest (type-fest)
v5.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 🙌
Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am 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 was generated by Mend Renovate. View the repository job log.