Commit graph

194 commits

Author SHA1 Message Date
Sindre Sorhus
9265e9072d Add test for #183 2023-06-10 11:43:41 +03:00
Sindre Sorhus
7d468191f4 5.4.1 2023-06-04 11:04:07 +03:00
Bjorn Stromberg
d1574d358d
Revert exports change in package.json (#180) 2023-06-04 11:01:35 +03:00
Sindre Sorhus
61a437eba3 5.4.0 2023-05-30 21:16:59 +07:00
Sindre Sorhus
65404fbd8e Meta tweaks 2023-05-30 21:15:24 +07:00
Xananax
888e145c5a
Improve type guard/assertion of numericString() (#178) 2023-05-30 18:43:51 +07:00
Sindre Sorhus
e559b37b72 Update dev dependencies 2022-10-17 18:19:38 +07:00
Sindre Sorhus
f3693674f6 Add failing test for #174 2022-10-17 17:51:49 +07:00
Sindre Sorhus
911f44dc36 5.3.0 2022-07-21 16:30:26 +02:00
Sindre Sorhus
33cd815503 Meta tweaks 2022-07-21 16:28:44 +02:00
Sindre Sorhus
592d9093cd Make nonEmptyArray() more strongly-typed
Fixes #171
2022-07-21 16:28:43 +02:00
Sindre Sorhus
d3ff1fdfce 5.2.0 2022-06-21 14:07:38 +02:00
ehmicky
45cae31f4d
Improve plainObject() (#169) 2022-06-21 14:05:40 +02:00
Sindre Sorhus
dc99f7cd4a 5.1.0 2022-06-13 14:07:07 +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
06d217f70c 5.0.1 2022-06-11 18:28:13 +07:00
Sindre Sorhus
ac7c567c2b Fix typo 2022-06-11 18:27:36 +07:00
Sindre Sorhus
778c5da5b3 5.0.0 2022-06-11 18:19:55 +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
Filip Skokan
c408f5a268
Fix NaN detection in .is() (#159) 2022-06-10 00:05:31 +07:00
Sindre Sorhus
65ea91297e 4.6.0 2022-02-27 14:21:30 +07:00
Eric(书生)
5b7ea154e6
Add .isBlob() (#162)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-02-27 14:16:25 +07:00
Sindre Sorhus
6cbefb9af7 Meta tweaks 2022-02-25 16:19:29 +07:00
Sindre Sorhus
dc2dc9a438 4.5.0 2022-02-25 16:16:30 +07:00
Ivan Katliarchuk
23cf074a73
Add .nonEmptyStringAndNotWhitespace() (#161)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-02-25 16:10:57 +07:00
Sindre Sorhus
04ccf21dba Document TypeScript naming limitation
Fixes #157
2022-02-01 11:37:28 +07:00
Sindre Sorhus
c3d12667fd 4.4.0 2022-01-25 17:29:45 +07:00
Zane Shannon
63d75d68ee
Add type guard for is.truthy and is.falsy (#151) 2022-01-25 17:28:33 +07:00
Pedro Augusto de Paula Barbosa
73daee6648
Improve .enumCase doc formatting in readme (#154) 2022-01-18 11:48:03 +07:00
Sindre Sorhus
b1efe7f5cf 4.3.0 2022-01-17 13:04:39 +07:00
Olivier Beaulieu
a5b4017d5e
Add is.enumCase and assert.enumCase (#150)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-01-17 12:55:40 +07:00
Sindre Sorhus
f5cc764e22 4.2.1 2022-01-07 21:35:19 +07:00
Stuart Dotson
ad661ebcee
Fix is.iterable and is.asyncIterable TypeScript types (#149) 2022-01-07 21:32:06 +07:00
Sindre Sorhus
a82aeeaa5e Add FAQ about instanceof 2021-10-31 12:34:45 +07:00
Sindre Sorhus
13b2343dfc 4.2.0 2021-09-13 21:27:03 +07:00
Kayson Wu
a8de3d6f34
Add is.formData and is.urlSearchParams (#139) 2021-09-13 21:25:44 +07:00
Sindre Sorhus
b007935b4b 4.1.0 2021-09-10 15:30:39 +07:00
PopGoesTheWza
d2f98e472d
Add is.propertyKey (#138)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Giora Guttsait <giora111@gmail.com>
2021-09-10 15:26:13 +07:00
Sindre Sorhus
6f2b24d822 Minor tweaks 2021-09-07 11:45:58 +07:00
Sindre Sorhus
238e8c80c7 4.0.1 2021-04-22 16:01:32 +07:00
Dave Cohen
b748ab72b6
Fix assertion message for .all and .any (#132) 2021-04-22 16:00:08 +07:00
Sindre Sorhus
5ed7e9bb40 Meta tweaks 2021-03-31 01:04:39 +07:00
Sindre Sorhus
4f8b01f2dc Rename master branch to main 2021-01-24 14:20:06 +07:00
Richie Bendall
da6bb531af
Move to GitHub Actions (#129) 2021-01-02 11:25:04 +07:00
Sindre Sorhus
d528545e02 4.0.0 2020-10-13 00:08:06 +02:00
Rocktim Saikia
94749dbb2e
Improve is.plainObject TypeScript type (#126) 2020-10-13 00:00:52 +02:00
Sindre Sorhus
bf6bba7af8 3.1.2 2020-08-22 00:19:30 +02:00
Arnovsky
d8ced89efe
Fix using is.array in is.all (#125) 2020-08-22 00:18:34 +02:00
Sindre Sorhus
5feadcb0b8 3.1.1 2020-08-16 12:30:54 +02:00
iyegoroff
4c29fb35cb
Improve import for VS Code (#122) 2020-08-16 12:29:46 +02:00