731 Commits

Author SHA1 Message Date
Som Shekhar Mukherjee
db76e5b15f
Refactor how options are handled for types (#1081) 2025-03-18 23:22:18 +07:00
Sindre Sorhus
ed8c987129 4.37.0 v4.37.0 2025-03-04 14:13:30 +07:00
Qingfeng Huang
5d2199a135
Remove duplicated code (#1071) 2025-03-04 14:11:50 +07:00
Som Shekhar Mukherjee
e462e722f1
DelimiterCase / SnakeCase / ScreamingSnakeCase / KebabCase: Fix default value for splitOnNumbers option (#1073) 2025-03-04 14:11:29 +07:00
Laurynas Grigutis
af5bfb7a46
Sum: Add negative return value support (#1068) 2025-03-03 13:36:23 +07:00
Som Shekhar Mukherjee
aeadafeb82
Paths: Refactor to leverage recent improvements in Subtract (#1069) 2025-03-03 02:43:43 +07:00
Som Shekhar Mukherjee
cc93f85e1c
Split: Fix instantiations with unions and add strictLiteralChecks option (#1067) 2025-03-02 21:57:01 +07:00
Som Shekhar Mukherjee
a733698e29
Replace: Fix instantiations with unions (#1065) 2025-03-02 13:39:21 +07:00
Laurynas Grigutis
2b85ae2ac4
Subtract: Add negative return value support (#1061)
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2025-03-02 13:38:51 +07:00
Sindre Sorhus
b19c4b0c23 4.36.0 v4.36.0 2025-03-01 13:51:10 +07:00
ntnyq
918156a0c0
TsConfigJson: Add TypeScript 5.8 fields (#1064) 2025-03-01 13:49:59 +07:00
Som Shekhar Mukherjee
3c03a0da17
Replace: Add support for generating longer strings (#1060) 2025-02-27 21:31:16 +07:00
Filip Wachowiak
a463c30e64
Improve DelimiterCase (#930)
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2025-02-26 22:42:30 +07:00
Sindre Sorhus
db3403a4b3 4.35.0 v4.35.0 2025-02-17 12:26:43 +07:00
Som Shekhar Mukherjee
2633e5bce8
Paths: Add depth option (#1058) 2025-02-17 01:10:29 +07:00
Som Shekhar Mukherjee
c8149ec07a
Add TupleToObject type (#1055) 2025-02-17 01:09:38 +07:00
Som Shekhar Mukherjee
becc1ff66f
Fix file pattern for no-restricted-imports lint rule (#1054) 2025-02-11 14:34:03 +07:00
Som Shekhar Mukherjee
475a737e32
Add lint rule to prevent unintended imports in declaration files (#1053) 2025-02-10 03:01:29 +07:00
Sindre Sorhus
5b47a48309 4.34.1 v4.34.1 2025-02-09 23:30:49 +07:00
Som Shekhar Mukherjee
e5b66a44e7
OmitDeep: Fix import statement (#1052) 2025-02-09 23:29:06 +07:00
Sindre Sorhus
00c2210831 4.34.0 v4.34.0 2025-02-09 16:22:53 +07:00
Som Shekhar Mukherjee
7dfb307e3e
Paths: Add leavesOnly option (#1050) 2025-02-09 16:20:10 +07:00
Som Shekhar Mukherjee
fa6e31b70f
OmitDeep: Fix removal of multiple paths within arrays (#1049) 2025-02-09 15:58:53 +07:00
Rebecca Stevens
9aba4c33c8
Add AllUnionFields type (#997)
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2025-02-09 15:57:44 +07:00
Sindre Sorhus
81a05404c6 4.33.0 v4.33.0 2025-01-21 00:07:33 +07:00
Som Shekhar Mukherjee
fbccaab4d2
StringRepeat: Add support for generating longer strings & fix instantiations with unions (#1046) 2025-01-21 00:06:10 +07:00
Som Shekhar Mukherjee
4789c7cd55
KeysOfUnion: Fix assignability with keyof (#1009) 2025-01-20 22:48:59 +07:00
Som Shekhar Mukherjee
e7800af449
IsStringLiteral: Fix instantiations with infinite string types (#1044) 2025-01-20 17:13:46 +07:00
Som Shekhar Mukherjee
49605b9770
Split: Add support for longer strings (#1042) 2025-01-16 17:17:24 +07:00
Som Shekhar Mukherjee
bf5ce3cad3
SetRequiredDeep: Fix handling of unions in nested keys (#1037) 2025-01-16 04:08:27 +07:00
Jake Boone
c6d5142375
Correct "snake-case" vs "kebab-case" comments (#1043) 2025-01-16 04:05:55 +07:00
Som Shekhar Mukherjee
1d51d567a4
Mention HomomorphicOmit as an alternative of Except (#1041) 2025-01-15 18:10:56 +07:00
Som Shekhar Mukherjee
db12bb1c2d
Except: Add another example to JSDoc (#1040) 2025-01-15 13:49:59 +07:00
Som Shekhar Mukherjee
879d8ae730
PickIndexSignature/OmitIndexSignature: Clean up JSDoc comments (#1039) 2025-01-15 13:46:57 +07:00
ghaaj
979eccf4cd
StringSlice: Fix return type when passing in non-literal (#1036) 2025-01-14 10:51:31 +07:00
Som Shekhar Mukherjee
69bfd51b87
Sum/Subtract: Fix instantiations with unions (#1034) 2025-01-13 10:59:44 +07:00
Haozheng Li
cfb594777f
Get: Optimize performance (#1031) 2025-01-10 00:20:42 +07:00
Sindre Sorhus
20f1995b4a 4.32.0 v4.32.0 2025-01-09 10:56:53 +07:00
Som Shekhar Mukherjee
c897aadaa5
SetRequired: Fix support for removal of optional modifiers from tuples (#1030) 2025-01-05 01:43:11 +01:00
Pico12
278df8055d
PartialDeep: Add allowUndefinedInArrays option (#1019)
Co-authored-by: Som Shekhar Mukherjee <49264891+som-sm@users.noreply.github.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2025-01-04 18:03:47 +01:00
Som Shekhar Mukherjee
a366c0f821
SharedUnionFields: Fix missing instantiation in test cases (#1027) 2025-01-01 13:56:40 +01:00
Som Shekhar Mukherjee
1e0872da1c
Add IsTuple type (#1024)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2024-12-31 17:26:03 +01:00
Hugo Martinet
3d54627133
Add SetRequiredDeep type (#939)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Som Shekhar Mukherjee <iamssmkhrj@gmail.com>
2024-12-30 12:06:03 +01:00
Sindre Sorhus
eff76dab79 Welcome @som-sm as a maintainer 2024-12-25 19:02:44 +01:00
Sindre Sorhus
de218af1b2 4.31.0 v4.31.0 2024-12-25 17:59:22 +01:00
Som Shekhar Mukherjee
cb269ffbe1
SetOptional/SetRequired/SetReadonly: Fix instantiations with index signatures (#1014) 2024-12-25 17:55:10 +01:00
Som Shekhar Mukherjee
59517cb7b5
SetFieldType: Add option to preserve property modifiers (#1017) 2024-12-25 17:49:29 +01:00
Haozheng Li
8df6909a30
Add module exported check (#1021) 2024-12-25 17:48:24 +01:00
immi
a72e9e152d
Mention PickByType as an alternative of ConditionalPick (#1015) 2024-12-20 12:51:29 +01:00
jun-ilotus
591700abe7
IsEqual: Fix identity issue (#1012) 2024-12-17 14:58:29 +01:00