Commit graph

37 commits

Author SHA1 Message Date
Sven Slootweg 783f67a03e Add FIXME comment 2020-07-03 13:17:47 +02:00
Sven Slootweg fb82fb820a Actually detect endings in stack frame regex, and not a literal $ 2020-07-01 15:56:12 +02:00
Sven Slootweg 1a97d4ee09 Handle anonymous stack frames correctly 2020-07-01 15:54:41 +02:00
Sven Slootweg bae1f0e9fc Don't attempt to generate function description when the location of a stacktrace frame could not be determined 2020-07-01 15:50:15 +02:00
Sven Slootweg ef9daa1375 0.3.9 2020-07-01 14:58:57 +02:00
Sven Slootweg d610cad10b Add a global "no heuristics" flag for validator debugging 2020-07-01 14:58:16 +02:00
Sven Slootweg 3298399243 0.3.8 2020-07-01 13:51:59 +02:00
Sven Slootweg 2d26d92d17 Refactor colors, heuristically detect the source of a validation failure 2020-07-01 13:22:38 +02:00
Sven Slootweg 9a31868883 Improve error processing with syncpipe 2020-07-01 11:26:49 +02:00
Sven Slootweg 4af5f1f001 Oops, forgot to commit package.json changes 2020-07-01 11:23:33 +02:00
Sven Slootweg eba89ed9c5 Improve subError rendering 2020-07-01 11:22:51 +02:00
Sven Slootweg be5fd46005 Add support for rest operator in arguments 2020-06-30 23:51:01 +02:00
Sven Slootweg 859d86834b 0.3.7 2020-06-28 21:16:20 +02:00
Sven Slootweg b82a7d359d Support object syntax for validateArguments as well 2020-06-28 21:16:03 +02:00
Sven Slootweg 88630602c3 0.3.6 2020-06-28 01:17:08 +02:00
Sven Slootweg 558b9ead9c Improve multi-level subError rendering (eg. nested 'either') 2020-06-28 01:17:00 +02:00
Sven Slootweg 529df8413a 0.3.5 2020-06-28 00:16:14 +02:00
Sven Slootweg 27beee88f0 Omit '(root)' specifier entirely 2020-06-28 00:15:01 +02:00
Sven Slootweg 1cc19bff3e Also render subErrors as a tree for root-level errors 2020-06-28 00:01:11 +02:00
Sven Slootweg 81e59302d2 0.3.4 2020-06-27 23:41:45 +02:00
Sven Slootweg 8214fb3bc5 Improve error rendering, add support for subErrors 2020-06-27 23:41:40 +02:00
Sven Slootweg 2f4434dd1a 0.3.3 2020-06-14 01:05:52 +02:00
Sven Slootweg 50b49dc9a8 Add support for callIfNull 2020-06-14 01:05:37 +02:00
Sven Slootweg 8ed6ad0abe Add TODO markers for error aggregration 2020-06-14 01:04:29 +02:00
Sven Slootweg c12691fe62 Improve example 2020-06-14 01:04:15 +02:00
Sven Slootweg 0902ce126a 0.3.2 2020-06-08 02:59:56 +02:00
Sven Slootweg fa05ff71a5 Add Validatem logo to README 2020-06-08 02:59:36 +02:00
Sven Slootweg 6433236a07 0.3.1 2020-05-26 22:15:19 +02:00
Sven Slootweg a1fd0b7adf Replace flatten implementation to reduce bundle size 2020-05-26 22:15:16 +02:00
Sven Slootweg aa644fa3f5 Rewrite to modular design 2020-05-26 04:23:41 +02:00
Sven Slootweg 3adabfd37e 0.2.1 2020-02-16 23:28:32 +01:00
Sven Slootweg 47d5a38508 Add isPlainObject validator 2020-02-16 23:27:59 +01:00
Sven Slootweg aa5659ca97 0.2.0 2019-07-15 00:16:56 +02:00
Sven Slootweg 06e594211d Add validateOptions, oneOf, forbidden, isBuffer 2019-07-15 00:16:35 +02:00
Sven Slootweg 580b25c673 0.1.1 2019-05-20 16:13:26 +02:00
Sven Slootweg 98c186ea8b Document validation semantics more 2019-05-20 16:13:19 +02:00
Sven Slootweg 7b44381a7d Initial commit 2019-05-20 16:02:21 +02:00