You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

assert-plus

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assert-plus - npm Package Versions

1.0.0

Diff
pfmooney
published 1.0.0 •

Changelog

Source

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.
pfmooney
published 0.2.0 •

Changelog

Source

0.2.0

  • BREAKING 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
mcavage
published 0.1.5 •
mcavage
published 0.1.4 •
mcavage
published 0.1.3 •
mcavage
published 0.1.2 •
published 0.1.1 •
mcavage
published 0.1.0 •