25 Commits

Author SHA1 Message Date
Som Shekhar Mukherjee
df49e60b9b
Update xo to v1.0.0 (#1157) 2025-05-28 01:57:16 +03:00
Som Shekhar Mukherjee
1e73c2f9e9
PartialDeep: Fix JSDoc examples (#1127) 2025-05-08 18:41:01 +07:00
Som Shekhar Mukherjee
b3c452435b
PartialDeep: Disable allowUndefinedInNonTupleArrays option by default (#1126) 2025-05-08 17:15:54 +07:00
Sindre Sorhus
cc2b0f2038 Require ESM and Node.js 20 2025-05-08 15:21:25 +07:00
Som Shekhar Mukherjee
86a3a6929f
PartialDeep: Fix behaviour with functions containing properties (#1108) 2025-04-20 03:32:22 +07:00
Som Shekhar Mukherjee
db76e5b15f
Refactor how options are handled for types (#1081) 2025-03-18 23:22:18 +07: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
Haozheng Li
9f47b119c9
Revert "PartialDeep: Ensure it doesn't recurse into prototype properties" (#743) 2023-11-09 14:43:41 +07:00
Haozheng Li
5eeac02c7f
PartialDeep: Ensure it doesn't recurse into prototype properties (#738) 2023-11-02 18:40:12 +07:00
Haozheng Li
75edeefd4a
PartialDeep: Skip constructor (#730) 2023-10-25 16:27:39 +07:00
Sindre Sorhus
5d903feb86 Don’t use arguments parameter name
Closes #645
Fixes #644
2023-07-16 11:48:53 +02:00
Sindre Sorhus
db89d9c231 PartialDeep: Make the recurseIntoArrays option false by default 2022-08-29 15:51:14 +07:00
Sindre Sorhus
cca3ca2c27 Require TypeScript 4.7 and Node.js 14 2022-08-29 15:23:09 +07:00
bbrk24
37774694ba
Add recurseIntoArrays option for PartialDeep (#400)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-07-20 13:26:41 +02:00
Sindre Sorhus
e3234d74aa Use import type
Closes #390
2022-04-09 19:04:14 +07:00
Stuart Dotson
3243e22336
Skip Date and RegExp in "deep" types (#349)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-01-18 00:57:59 +07:00
Stuart Dotson
3cc721b6ac
PartialDeep: Ignore Date and RegExp types (#342) 2022-01-09 13:10:30 +07:00
Jonah Snider
043b732bf0
Improve @category doc comments (#331) 2021-12-01 23:06:04 +07:00
Risto Keravuori
065e764d2f
Work around TypeScript limitation with the PartialDeep type (#296) 2021-10-17 16:25:57 +07:00
Sindre Sorhus
6b6d81ce89 Code style fixes 2021-09-22 16:41:30 +07:00
Ryan Sonshine
6b8bee7d0d
Add @category JSDoc tag to improve reference docs generation (#209) 2021-05-19 12:29:58 +07:00
Sindre Sorhus
52dd19ab67 Refactoring 2021-05-04 14:15:17 +07:00
Natan Sągol
1b34d7e1d9 Allow objects with non-existing keys in PartialDeep (#60)
Co-authored-by: Kai Niedziela <kai.niedziela@outlook.com>
2019-09-25 16:31:19 +07:00
Sindre Sorhus
aca5802110 Standadize docs use of the word "key" 2019-09-16 13:30:26 +07:00
Kai Niedziela
80465bc293 Add PartialDeep type (#47)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Dimitri Benin <BendingBender@users.noreply.github.com>
2019-09-16 12:44:40 +07:00