Commit graph

171 commits

Author SHA1 Message Date
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
Sindre Sorhus
09d31733d3 3.1.0 2020-07-25 09:14:15 +02:00
Arnovsky
3f93bf200d
Add is.array overload that supports asserting array items (#119)
Co-authored-by: Pedro Augusto de Paula Barbosa <papb1996@gmail.com>
Co-authored-by: Giora Guttsait <giora111@gmail.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-07-25 09:11:59 +02:00
Richie Bendall
e31db97eab
Extract necessary functions from type-fest (#120) 2020-07-20 07:48:08 +08:00
Sindre Sorhus
4b35ad5bec 3.0.0 2020-06-28 04:22:15 +08:00
Bjorn Stromberg
47fa419e4f
Update devDependency @types/node from v13.7.4 to v14.0.13 (#116) 2020-06-28 04:20:49 +08:00
Bjorn Stromberg
71ca1e5573
Make the is() function type-safe (#117) 2020-06-28 04:20:36 +08:00
Bjorn Stromberg
a96abee1a3
Use shields.io for number of downloads per week (#118) 2020-06-27 19:13:23 +08:00
Bjorn Stromberg
1ffe2fb6a7
Use string literals instead of enums (#113) 2020-06-20 15:28:47 +08:00
Bjorn Stromberg
9d404cad2e
Test on Node.js 14 (#115) 2020-06-15 15:43:26 +08:00
Sindre Sorhus
fae0096eba 2.1.1 2020-04-19 18:18:00 +08:00
Arfat Salman
402fbb5a7e
Fix #109: is.numericString behaves correctly on whitespaces (#110) 2020-04-17 17:55:02 -04:00
Sindre Sorhus
05cdaccf92 Update TypeScript 2020-02-22 02:17:02 +07:00
Sindre Sorhus
1ff389cabb 2.1.0 2020-02-17 14:18:18 +07:00
Dave Cohen
d1929ad47c
Add support for multiple predicates to is.any (#104) 2020-02-16 20:06:19 -05:00
Sindre Sorhus
f97029fd73 Minor readme tweaks 2020-01-30 00:51:52 +07:00
Sindre Sorhus
863e26ad6a 2.0.0 2020-01-30 00:47:01 +07:00
Sindre Sorhus
5d0ccec21c Meta tweaks 2020-01-30 00:45:06 +07:00
Forresst
446a7a081e
Add .asyncGenerator and .asyncGeneratorFunction detection (#100) 2020-01-30 00:35:58 +07:00
Joel Purra
d28c86ee27
Propagate generic types where possible (#103) 2020-01-29 23:22:35 +07:00
Sindre Sorhus
11003b925e Meta tweaks 2020-01-22 19:17:43 +07:00
Joel Purra
0c3f110386 Add assertion type guards (#97) 2020-01-22 18:08:35 +07:00
Joel Purra
c842cc260f Upgrade dependencies (#101) 2020-01-21 23:56:44 +07:00
Sindre Sorhus
aeb3f74d65 Make the NodeStream type more accurate 2019-11-13 16:06:18 +07:00