Commit graph

11 commits

Author SHA1 Message Date
morningstarxcdcode
1aef825c46 Fix code issues and improve maintainability
1. Fix syntax error in tsconfig.json by removing trailing comma
2. Rename confusing function isAbsoluteModule2 to createModuloChecker
3. Update Whitespace type definition to be more accurate
2025-06-13 13:01:07 +05:30
Sindre Sorhus
0ff273fee8 Require Node.js 18 2024-07-10 15:41:12 +02:00
Martin Eneqvist
25a376875d
Fix type guard for isWhitespaceString and isEmptyStringOrWhitespace (#207) 2024-06-26 14:31:56 +02:00
Bjorn Stromberg
8cbcaee674
Remove deprecated methods and improve Class definition (#209) 2024-06-26 14:30:00 +02:00
Simon Podlipsky
0d4cf6fcc8
Improve TypeScript type for isNonEmptyString() and isNonEmptyStringAndNotWhitespace() (#200) 2023-10-26 21:37:39 +07:00
Bjorn Stromberg
5044c91273
Implement named exports (#191) 2023-08-07 02:50:03 +02:00
Sindre Sorhus
e559b37b72 Update dev dependencies 2022-10-17 18:19:38 +07:00
Eric(书生)
e503a9ec49
Add .weakRef() (#165)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-06-13 14:05:26 +07:00
Sindre Sorhus
d6fc1ce0fe Require Node.js 14, TS 4.7, and move to ESM (#167) 2022-06-11 17:44:43 +07:00
Zane Shannon
63d75d68ee
Add type guard for is.truthy and is.falsy (#151) 2022-01-25 17:28:33 +07:00
Richie Bendall
e31db97eab
Extract necessary functions from type-fest (#120) 2020-07-20 07:48:08 +08:00