Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

number-to-bn

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

number-to-bn - npm Package Versions

1.7.0

Diff

silentcicero
published 1.6.0 •

Changelog

Source

1.6.0 -- empty hex to zero

  1. Empty hex 0x -> 0
silentcicero
published 1.5.0 •

Changelog

Source

1.5.0 -- hex number fix

  1. Fixed hex number convetion, now if hex prefixed, always assumes base 16
silentcicero
published 1.4.0 •

Changelog

Source

1.4.0 -- fix hex number

  1. Fix hex number shim
  2. More test cases added
silentcicero
published 1.3.0 •

Changelog

Source

1.3.0 -- better everythign

  1. Better error messages
  2. Added umd builds
  3. Far more comprehensive testing coverage
  4. Far more support for hex string coverage
  5. Far more support for number string coverage
  6. Less lines of code, more bang for your buck
  7. More config
silentcicero
published 1.2.0 •

Changelog

Source

1.2.0 -- decimal number fix

  1. now throws under decimal number
silentcicero
published 1.1.0 •

Changelog

Source

1.1.0 -- es5 support

  1. es5 support
silentcicero
published 1.0.0 •

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc