Commit graph

144 commits

Author SHA1 Message Date
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
Sindre Sorhus
c25b606c3b Improve the type assertion for is.asyncFunction 2019-11-07 16:37:36 +07:00
Sindre Sorhus
af6b03d67f Require Node.js 10 2019-11-07 15:58:29 +07:00
Blaine Bublitz
0cc82c583e Fix a readme link (#96) 2019-10-31 11:20:49 +07:00
Sindre Sorhus
8ff75abfff Tidelift tasks 2019-10-30 20:01:23 +07:00
Sindre Sorhus
e7277de849 1.2.0 2019-10-04 11:39:58 +07:00
Sindre Sorhus
3f2caa4835 Revert "Bundle the required DOM types (#93)"
This reverts commit 7c16f20d16.
2019-10-04 11:38:10 +07:00
Sindre Sorhus
4a63743feb 1.1.0 2019-10-03 15:00:03 +07:00
Sindre Sorhus
7c16f20d16
Bundle the required DOM types (#93)
Closes #92
2019-10-02 23:06:53 +07:00
Sindre Sorhus
0f9b8479e9 Tidelift tasks 2019-09-10 12:46:18 +07:00
Sindre Sorhus
0cbd9df6ce Minor refactoring 2019-07-01 23:19:25 +07:00
Sindre Sorhus
e358e44dd5 1.0.0 2019-06-30 15:19:21 +07:00
Sindre Sorhus
4f4820ef2f Meta tweaks 2019-06-30 15:18:24 +07:00
Kai Niedziela
f04dffa575 Make is.number(NaN) return false (#90)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2019-06-30 15:09:07 +07:00
Sindre Sorhus
ffc6ce4586 Fix linting 2019-06-15 02:12:31 +07:00
Sindre Sorhus
7bf407fbf1
Create funding.yml 2019-05-28 12:56:17 +07:00
Sindre Sorhus
878d111ae7 0.17.1 2019-05-21 16:48:34 +07:00
Sindre Sorhus
6106086a35 Revert "Drop duplicate export (#84)"
This reverts commit 28913cae88.

Closes #89
Fixes #88
2019-05-21 16:45:07 +07:00
Sindre Sorhus
b064473589 0.17.0 2019-05-13 11:07:28 +07:00
Sindre Sorhus
04cd282265 Fix the capitalization of is.bigInt64Array and is.bigUint64Array 2019-05-13 11:04:48 +07:00
Sindre Sorhus
9bc8307770 0.16.0 2019-05-04 16:13:44 +07:00
Sindre Sorhus
2dac8e96f4 Meta tweaks 2019-05-04 16:11:43 +07:00
Vlad Frangu
dd2a91dce5 Add support for BigInt (#87) 2019-05-04 16:05:23 +07:00
Adam Babcock
373605e40d Test coverage for is(value) (#86) 2019-04-28 15:15:11 +07:00
Sindre Sorhus
120f74ab63 Require Node.js 8 2019-04-01 04:02:25 +07:00
Sindre Sorhus
ea4204f0b4 Switch to XO for linting 2019-03-31 21:34:47 +07:00
Federico Brigante
28913cae88 Drop duplicate export (#84) 2019-03-14 16:32:19 +07:00
Sindre Sorhus
79144f9542 Readme tweaks 2019-02-12 14:40:44 +07:00