Commit graph

43 commits

Author SHA1 Message Date
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
2f5e03bed2 Minor tweaks 2019-02-04 02:54:30 +07:00
Sindre Sorhus
9683cd7fd9 Run TS as a require hook for tests instead of precompile 2019-02-04 02:38:38 +07:00
Sindre Sorhus
3c847be5a0 Improve the TypeScript types (#80) 2019-02-04 02:38:38 +07:00
Scottie Enriquez
2502442404 Rename .odd() to .oddInteger() and .even() to .evenInteger() for clarity (#77) 2019-02-04 02:38:38 +07:00
Sindre Sorhus
641d856b36
Stop using TypeScript namespace (#78) 2019-02-02 01:14:08 +07:00
Sindre Sorhus
ab586df0f9 Fix lint issue 2019-01-12 12:14:45 +07:00
Sindre Sorhus
42fd8d3574 Use the URL global when available 2018-12-13 16:57:06 +01:00
Sindre Sorhus
844b43c9df
Improve the is.observable check (#74)
Fixes #72
2018-12-13 16:52:55 +01:00
Itai Steinherz
566f363632 Add is.urlString (#73) 2018-12-13 16:52:21 +01:00
Sindre Sorhus
2ee148f5a1 Meta tweaks 2018-12-13 00:58:02 +01:00
Sindre Sorhus
9df6f4ebe9 Bump TypeScript version 2018-11-30 15:14:41 +07:00
Lukas Tetzlaff
d4869045c2 Refactor any to unknown where possible (#68)
Resolves #62
2018-11-02 17:43:51 +07:00
Itai Steinherz
7317226c80 Add is.numericString() (#67) 2018-11-01 18:21:49 +07:00
Sindre Sorhus
9ac56f1be7 Minor code style tweaks in the tests 2018-10-30 23:19:19 +07:00
Sindre Sorhus
45c976071a Don't import util
We don't really need its full power. Not worth the bloat.
2018-09-28 13:32:55 +07:00
Arfat Salman
6e07df5896 Add emptiness methods (#61)
Fix #53
2018-09-28 13:24:35 +07:00
Sindre Sorhus
65c94f1a02 Include TS type lib references directly in the file
Fixes #51
2018-09-28 13:08:17 +07:00
Sam Verschueren
442f7b709f Use is-buffer ponyfill for better browser support (#66) 2018-09-27 02:02:41 +07:00
Alex Russell
ad6f372c47 Fix parameter naming of isAbsoluteMod2 function. (#64) 2018-09-18 19:22:55 +03:00
Artur Androsovych
3bdaf21475 Add is.urlInstance (#60) 2018-07-10 16:04:20 +07:00
Artur Androsovych
c8736c2972 Add is.asyncIterable (#59) 2018-07-10 00:35:16 +07:00
Sindre Sorhus
db25d554dc TS config tweaks 2018-05-19 15:42:12 +07:00
Lukas Tetzlaff
1df2ff09ce Improve TS code by adding generics and removing any where applicable (#49) 2018-05-04 12:29:21 +07:00
Sam Verschueren
55c00956f9 Add is.observable (#50) 2018-05-03 10:22:32 +07:00
Sam Verschueren
38df0cfb24 Remove moot tslint disable comment (#46) 2018-04-04 13:08:29 +07:00
Sam Verschueren
8894dbec17 Add type guards (#43) 2018-04-04 00:05:59 +07:00
Sindre Sorhus
64ced4d33c Simplify isFunctionOfType
ef85a5173d (r28310156)
2018-03-29 11:56:13 +07:00
Sindre Sorhus
ef85a5173d Drop support for Node.js 4
Fixes #41
Fixes #40
2018-03-28 02:25:21 +07:00
Sindre Sorhus
28702421bf Add missing dataView method
Fixes #37
2017-12-11 21:38:58 +01:00
Brandon Smith
70b08940be
Add is.directInstanceOf() (#38) 2017-12-09 11:55:08 -05:00
Brandon Smith
a04a04c131 Add is.nodeStream() (#34) 2017-11-20 03:16:06 +07:00
Mario Nebl
ae3adc9818 Enumerate type names (#32) 2017-11-20 03:07:24 +07:00
Darren Scerri
319982a09c Add is.boundFunction() (#31) 2017-11-10 13:11:35 -05:00
Sindre Sorhus
89867fbc16 Various tweaks 2017-11-07 10:23:00 +07:00
Sindre Sorhus
59a638b216
Restore ability to use default export in CommonJS (#29)
So you can use `require('is')` instead of `require('is').default`.
2017-11-07 09:58:49 +07:00
Sindre Sorhus
d075b547fc Update tslint-xo 2017-11-06 23:00:28 +07:00
Sindre Sorhus
9770f66899 Cleanup 2017-11-06 22:36:51 +07:00
Lukas Tetzlaff
8d8fd2b7e0 Refactor module in TypeScript (#28) 2017-11-06 22:26:59 +07:00