forge-dev-kit
forge-dev-kit copied to clipboard
Update dependency type-fest to v4
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| type-fest | ^3.12.0 -> ^4.41.0 |
Release Notes
sindresorhus/type-fest (type-fest)
v4.41.0
- Add
SetNonNullableDeeptype (#1117)b9606e7 -
LessThan/GreaterThan/GreaterThanOrEqual: Fix behaviour with unions (#1116)afd809a -
RequireAllOrNone/RequireAtLeastOne/RequireExactlyOne/RequireOneOrNone: Fix behaviour withanyandnever(#1113)8c154e9
v4.40.1
-
PartialDeep: Fix behaviour with functions containing properties (#1108)86a3a69 -
CamelCasedPropertiesDeep/DelimiterCasedPropertiesDeep/KebabCasedPropertiesDeep/PascalCasedPropertiesDeep/SnakeCasedPropertiesDeep: Fix behaviour when property value isunknown(#1112)cfcf9ec
v4.40.0
- Add
NonEmptyStringtype (#1103)19a9c37 - Add
UnknownMaptype (#1106)b4ace2d - Add
UnknownSettype (#1106)b4ace2d -
IsFloat/IsInteger: Fix instantiations with numbers represented using exponential notation (#1101)21a92f6
v4.39.1
v4.39.0
-
ArrayTail: AddpreserveReadonlyoption (#1091)544271e -
PartialDeep: Fix behaviour whenstrictNullChecksis disabled (#1096)7536bae -
OptionalKeysOf/RequiredKeysOf: Fix instantiations with unions and arrays (#1089)e1ac7b2 -
WritableKeysOf/ReadonlyKeysOf: Fix behavior with unions and optional properties (#1088)bbf9137
v4.38.0
-
AsyncReturnType: Add support forPromiseLike(#1082)72ccde9 -
DelimiterCase/SnakeCase/ScreamingSnakeCase/KebabCase: Fix instantiations containing punctuations (#1080)063e28d -
DelimiterCase: PassOptionsgeneric to all related types (#1078)1974944 -
CamelCasedPropertiesDeep: Make nested array objects respect the options (#1077)c11c9ca
v4.37.0
-
Sum: Add negative return value support (#1068)af5bfb7 -
Subtract: Add negative return value support (#1061)2b85ae2 -
Split: AddstrictLiteralChecksoption (#1067)cc93f85 -
Split: Fix instantiations with unions (#1067)cc93f85 -
Replace: Fix instantiations with unions (#1065)a733698 -
DelimiterCase/SnakeCase/ScreamingSnakeCase/KebabCase: Fix default value forsplitOnNumbersoption (#1073)e462e72
v4.36.0
-
TsConfigJson: Add TypeScript 5.8 fields (#1064)918156a -
Replace: Add support for generating longer strings (#1060)3c03a0d -
DelimiterCase: Internal improvements (#930)a463c30
v4.35.0
v4.34.1
v4.34.0
- Add
AllUnionFieldstype (#997)9aba4c3 -
Paths: AddleavesOnlyoption (#1050)7dfb307 -
OmitDeep: Fix removal of multiple paths within arrays (#1049)fa6e31b
v4.33.0
-
StringRepeat: Add support for generating longer strings & fix instantiations with unions (#1046)fbccaab -
Split: Add support for longer strings (#1042)49605b9 -
Get: Optimize performance (#1031)cfb5947 -
KeysOfUnion: Fix assignability withkeyof(#1009)4789c7c -
IsStringLiteral: Fix instantiations with infinite string types (#1044)e7800af -
SetRequiredDeep: Fix handling of unions in nested keys (#1037)bf5ce3c -
StringSlice: Fix return type when passing in non-literal (#1036)979eccf -
Sum/Subtract: Fix instantiations with unions (#1034)69bfd51
v4.32.0
New types
Improvements
-
PartialDeep: AddallowUndefinedInNonTupleArraysoption (#1019)278df80
Fixes
v4.31.0
-
SetFieldType: Add option to preserve property modifiers (#1017)59517cb -
IsEqual: Fix identity issue (#1012)591700a -
SetOptional: Fix instantiations with index signatures (#1014)cb269ff -
SetRequired: Fix instantiations with index signatures (#1014)cb269ff -
SetReadonly: Fix instantiations with index signatures (#1014)cb269ff
v4.30.2
- Fix missing export (#1011)
527d600 -
SetOptional/SetRequired/SetReadonly: Fix when the second argument isany(#1007)fdbcb11 -
SetOptional: Fix when instantiated with unions (#1007)fdbcb11
v4.30.1
v4.30.0
- Add
SharedUnionFieldstype (#994)a716c29 -
ArrayTail: Fix support for optional parameters (#977)f6b1387
v4.29.1
v4.29.0
- Add
IntClosedRangetype (#992)d7b692b -
Schema: AddrecurseIntoArraysoption (#960)fbbb8ba
v4.28.1
v4.28.0
v4.27.1
-
SharedUnionFieldsDeep: Fix propagation for non union root types (#984)f215f9f -
ArraySlice: Fix support for union input (#986)0efbae3
v4.27.0
- Add
Wordstype (#975)13c0c83 -
Get: Fix handling of paths with number template literal (#968)b93f54a -
TsConfigJson: AddnoChecktocompilerOptions(#981)a470913
v4.26.1
v4.26.0
- Add
UnionToTupletype (#945)1f4f7a1
v4.25.0
v4.24.0
v4.23.0
v4.22.1
v4.22.0
New types
-
ArrayTail(#913)128b21e -
NonEmptyTuple(#915)bb57638 -
FindGlobalType(#908)0086cd6 -
FindGlobalInstanceType(#908)0086cd6
Improvements
- Ensure all
RequireXtypes' second parameter is optional (#907)fee4e04 -
StructuredCloneable: Include web-specific types when available (#908)0086cd6
Fixes
v4.21.0
New types
Fixes
-
Jsonify: Convertundefinedtonullin union element of array (#901)60c1024 -
Exact: Fix support forDatein union (#902)d89a709 -
CamelCasedPropertiesDeep: Fix handling of non-recursive types inside target type (#890)476024d
v4.20.1
v4.20.0
-
SimplifyDeep: Support array (#888)a6ab051 -
IsLiteral: Returnfalsefor tagged types (#886)587380c
v4.19.0
- Add
SimplifyDeeptype (#882)3a04fcf
v4.18.3
v4.18.2
v4.18.1
v4.18.0
New types
Improvements
-
TsConfigJson: Addpreservemodule type andES2022lib types (#874)7096613 -
Opaque: Mark as deprecated (#867)ef7b580 -
UnwrapOpaque: Mark as deprecated (#867)ef7b580
v4.17.0
New types
Fixes
v4.16.0
New types
Fixes
-
Integer: Fix handling of some edge-cases (#857)f5b09de -
Float: Fix handling of some edge-cases (#857)f5b09de
v4.15.0
New types
Fixes
-
ConditionalKeys: Fix TypeScript 5.4 compatibility (#852)0fb2d62 -
WritableDeep: Fix TypeScript 5.4 compatibility (#839)2878773 -
ReadonlyDeep: Fix TypeScript 5.4 compatibility (#839)2878773
v4.14.0
- Add
DistributedPicktype (#841)fa4099c
v4.13.1
v4.13.0
New types
Improvements
Fixes
-
SetParameterType: Fix compatibility with TypeScript 5.4 (#835)2bc451e -
OmitDeep: Fix handling for when the given path is not matched (#834)4f14bff
v4.12.0
New types
-
ArraySlice -
StringSlice -
IsNegative -
GreaterThan -
GreaterThanOrEqual -
LessThan -
LessThanOrEqual -
Sum -
Subtract
v4.11.1
v4.11.0
New types
Improvements
v4.10.3
-
PartialOnUndefinedDeep: Fix it incorrectly removing non-optional properties when the input type contains an index signature (#764)2f4b55a
v4.10.2
v4.10.1
v4.10.0
-
Get: Fix handling of readonly array (#799)4a38651 -
SharedUnionFieldsDeep: Skip if input type is not a union type (#798)6f1db93 -
DelimiterCasedPropertiesDeep: Don't recurse into intersection type that include primitive value (#789)eb96609 -
Merge: Don't turn undefined into optional key (#787)0aec247
v4.9.0
New types
Improvements
-
ReadonlyDeep: Fix usage with properties defined withvoid(#782)a919f93 -
ConditionalPickDeep: Support interface (#776)ebb7a59
v4.8.3
-
MergeDeep: Fix optional key when value type isanyornever(#777)609c097 -
Paths: Ensure it doesn't recurse intoMaporSet's prototype properties (#772)6759853
v4.8.2
v4.8.1
-
Jsonify: Fix usage with readonly arrayf8019c2 - Revert "Add
Elementto typeBuiltIns(#745)"1b25feb- It caused problems when
DOMtypes are not available.
- It caused problems when
v4.8.0
-
PickDeep: Support interface (#755)1c65935 -
Paths: Support interface (#746)8fa831e -
ObjectValue: Support any kind of number index (#753)972815c -
Class: Fix type inference (#701)7294cf0 -
DelimiterCasedPropertiesDeep: Improve array handling (#744)59411c8 -
PartialDeep: Don't recurse intoHTMLElement(#745)d42ea80 - Add
preserveConsecutiveUppercasetoPascalCaseand friends (#749)e58127a
v4.7.1
v4.7.0
New types
-
PickDeep(#737)c60caba -
Paths(#741)996171b -
SetFieldType(#721)964466c -
UnknownArray(#740)30aa0ad
Improvements
-
Writable: Support array, map, and set (#726)b9723d4 -
PartialDeep: Ensure it doesn't recurse into prototype properties (#738)5eeac02 -
ConditionalPickDeep: Ensure it doesn't recurse into prototype properties (#736)9960ba4
v4.6.0
New types
Fixes
-
LastArrayElement: Fix handling of tuple with spread elements (#727)9630089 -
PartialDeep: Skip constructor (#730)75edeef -
ReadonlyDeep: Skip constructor (#728)3ee234a -
WritableDeep: Fix array handling (#724)9baccc3
Meta
- Welcome @Emiyaaaaa as a maintainer 🎉
8a52129
v4.5.0
New types
Improvements
-
Jsonify: Improve type inference for objects with.toJSON()extending primitives (#690)157ed07 -
OverrideProperties: Fix autocomplete in the type (#712)fcdcfe9
v4.4.0
v4.3.3
-
IsLiteral: Don't restrict generic type (#684)4378507 -
Jsonify: Fix handling of arrays (#673)025f6e9
v4.3.2
v4.3.1
- Fix missing export
181c203
v4.3.0
New types
-
Tagged(#672)277ada2- This a better
Opaquetype that supports multiple tags (nesting).
- This a better
-
UnwrapTagged(#672)277ada2 -
NonEmptyObject(#623)98bb74d
v4.2.0
- Add
UnknownRecordtype (#660)b2bcc38 -
ReadonlyDeep: Reduce likelyhood of "instantiation excessively deep" errors (#650)cff9808
v4.1.0
- Add
RequireOneOrNonetype (#654)0a098c6
v4.0.0
Breaking
- Require Node.js 16 and TypeScript 5.1
ca94c3b - Remove alias
RemoveIndexSignatureforOmitIndexSignature03703f0- The alias was deprecated a long time ago. If you have
RemoveIndexSignature, simply rename it toOmitIndexSignature.
- The alias was deprecated a long time ago. If you have
Improvements
Note
The next major version of type-fest will move to ESM. It's time to start thinking about migrating if you haven't already. Learn more.
v3.13.1
- Revert "
Jsonify: Fix handling of tuples (#638)"9fdac37- It caused problems in TypeScript 4.7 and 4.8. It will be brought back in the next major release of
type-fest.
- It caused problems in TypeScript 4.7 and 4.8. It will be brought back in the next major release of
v3.13.0
New types
Fixes
Configuration
📅 Schedule: Branch creation - "on friday" (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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.