68 Commits (8d04298beb6d8429d3f916c9579991b4faa21035)

Author SHA1 Message Date
Sam Verschueren 8d04298beb Improve custom require logic (#128) 6 years ago
Sam Verschueren 87e4ec2edd Add object shape validators (#127) 6 years ago
Sindre Sorhus 4d8b40ea37 Bump dev dependencies and fix lint issues 6 years ago
Sindre Sorhus 7065605245 Do the Node.js check ourselves 6 years ago
Sam Verschueren 3de78add9e Check for optional first before running validator (#125) 6 years ago
Sindre Sorhus ece16e6da1 Rename the variable used in tests from `m` to `ow` 6 years ago
Sam Verschueren 44272ab6ea Add support for optional predicates (#124) 6 years ago
Sam Verschueren 07f86df77e Hide private functions in the documentation (#121) 6 years ago
Sam Verschueren 67a06cba29 Only infer label when predicate fails (#119) 6 years ago
Luke Childs 410e5678c9 Add support for checking C style integer data types (#120) 6 years ago
Sam Verschueren d24f2ef021 Import the `fs` module only in Node.js environments (#117) 6 years ago
Sam Verschueren 7eb02aff95 Infer label automatically on Node.js and remove the `.label()` method (#102) 6 years ago
Sindre Sorhus 8ae048c493 Bump dependencies 6 years ago
Sam Verschueren 58033f935c Add support for signed numeric values in string predicate - fixes #111 (#112) 6 years ago
Sindre Sorhus e450e4fc47 Update dependencies 6 years ago
Alex Driaguine eec5f4bc45 Add `number.integerOrInfinite` predicate (#109) 6 years ago
Sam Verschueren 4769c5bc5a Tweak typings (#107) 6 years ago
Luke Travis c1de125aa0 Invert only the following predicate with the 'not' operator (#71) 7 years ago
Aron Hafner 0a6032f3ea Add new string predicates (#99) 7 years ago
Sam Verschueren b1af8ad275 Add `string.oneOf` - fixes #80 (#87) 7 years ago
Travis Fischer 7cbc31a3a7 Add support for predicate labels (#84) 7 years ago
Sam Verschueren 6989840559 Add isValid method - fixes #74 (#86) 7 years ago
Sindre Sorhus cb0f40d913 TS config tweaks 7 years ago
Lukas Tetzlaff 09b955c1c3 Add more generics, remove `any` where unnecessary (#68) 7 years ago
Sam Verschueren b4265ae026 Improve documentation (#59) 7 years ago
Sindre Sorhus 9c14618060 Upgrade dependencies 7 years ago
Sam Verschueren 7bbfee02a5 Add `any` predicate (#56) 7 years ago
Sam Verschueren c87999fbca Add `is` predicate to provide custom validation functions (#55) 7 years ago
Sam Verschueren 5b1b37a143 Add object.deepValuesOfType validator - fixes #51 (#53) 7 years ago
Sam Verschueren e22f0f8e24 Support dot properties in object hasKeys and hasAnyKeys - fixes #50 (#52) 7 years ago
Sam Verschueren 3b570b41df Add object predicate (#48) 7 years ago
Sindre Sorhus a6057e58fe Bump TypeScript 7 years ago
Sam Verschueren ec9483abea Turn on `noImplicitAny` flag - fixes #3 (#47) 7 years ago
Sindre Sorhus 184a1ebd8d Bump `tslint-xo` 7 years ago
Sam Verschueren ad4b9d4ac5 Extract collection logic into separate utils - fixes #45 (#46) 7 years ago
Sam Verschueren 4ca49475e4 Add WeakMap predicate (#43) 7 years ago
Sam Verschueren 98396e87c0 Add WeakSet predicate (#44) 7 years ago
Sam Verschueren f64f1cd022 Add reusable validators - fixes #41 (#42) 7 years ago
Sindre Sorhus 7114ab3bd1 Bump `tslint-xo` 7 years ago
Sam Verschueren a7b775471b Add dataView, NaN, and nullOrUndefined predicates (#38) 7 years ago
Sam Verschueren 4a42a281df Add Set predicate (#39) 7 years ago
Sam Verschueren 3ac3630d18 Add Map predicate (#36) 7 years ago
Sam Verschueren c14bd63605 Mark predicates as readonly 7 years ago
Sindre Sorhus 6e5f35de1d
Add documentation generator (#29) 7 years ago
Sam Verschueren 73b51d6b93 Enforce stricter ow type definition - fixes #31 (#33) 7 years ago
Sam Verschueren 5b2754583c Add more built-in validators (#30) 7 years ago
Sam Verschueren 6d22d3d932 Fix null test title 7 years ago
Sam Verschueren f8b3191125 Add error predicate (#27) 7 years ago
Sam Verschueren 20d3ba7176 Add symbol, undefined and null predicates (#28) 7 years ago
Sam Verschueren 568eb70488 Set return type explicitely in not operator 7 years ago