1
0
Fork 0
mirror of https://github.com/1disk/edp445.git synced 2024-08-14 22:47:02 +00:00
edp445/node_modules/assert-plus/CHANGES.md
2022-12-03 05:44:44 +00:00

428 B

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