Socket
Socket
Sign inDemoInstall

unit.js

Package Overview
Dependencies
73
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

2.1.1

Diff

nicolab
published 2.1.0 •

Changelog

Source

2.1.0 - 2019-01-21

  • Update all dependencies
  • Break changes: The native Number() is an object. So test.number(val) and test.value(val).isNumber() consider the reality, an instance of Number() is an object.
nicolab
published 2.0.0 •

Changelog

Source

2.0.0 - 2015-04-19

nicolab
published 1.2.0 •

Changelog

Source

1.2.0 - 2015-04-18

New methods of assertion:

  • test.number(actual).isNaN()
  • test.number(actual).isNotNaN()
  • test.value(parseInt('not a number', 10)).isNaN()
  • test.value(undefined).isNotNaN()
nicolab
published 1.1.3 •

nicolab
published 1.1.2 •

nicolab
published 1.1.1 •

nicolab
published 1.1.0 •

nicolab
published 1.0.2 •

nicolab
published 1.0.1 •

2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc