assert-plus Changelog
1.0.0
- BREAKING assert.number (and derivatives) now accept Infinity as valid input
- Add assert.finite check. Previous assert.number callers should use this if
they expect Infinity inputs to throw.
0.2.0
- Fix
assert.object(null)so it throws - Fix optional/arrayOf exports for non-type-of asserts
- Add optiona/arrayOf exports for Stream/Date/Regex/uuid
- Add basic unit test coverage
Source
| 1 | # assert-plus Changelog |
| 2 | |
| 3 | ## 1.0.0 |
| 4 | |
| 5 | - *BREAKING* assert.number (and derivatives) now accept Infinity as valid input |
| 6 | - Add assert.finite check. Previous assert.number callers should use this if |
| 7 | they expect Infinity inputs to throw. |
| 8 | |
| 9 | ## 0.2.0 |
| 10 | |
| 11 | - Fix `assert.object(null)` so it throws |
| 12 | - Fix optional/arrayOf exports for non-type-of asserts |
| 13 | - Add optiona/arrayOf exports for Stream/Date/Regex/uuid |
| 14 | - Add basic unit test coverage |