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

@exodus/currency

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/currency - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

5

CHANGELOG.md

@@ -0,1 +1,6 @@

0.1.1 / 2018-11-11
------------------
- fix `conversion` due to upgrade to `big-rational`
0.1.0 / 2018-11-11

@@ -2,0 +7,0 @@ ------------------

4

lib/conversion.js

@@ -21,3 +21,3 @@ "use strict";

let newNumber = normalizeNum._number.times(num2._number).div(num1._number);
let newNumber = normalizeNum._number.times(num2._number).divide(num1._number);

@@ -28,3 +28,3 @@ return ut2[num2.unitName](newNumber).toBase().to(num2.unitName);

let newNumber = normalizeNum._number.times(num1._number).div(num2._number);
let newNumber = normalizeNum._number.times(num1._number).divide(num2._number);

@@ -31,0 +31,0 @@ return ut1[num1.unitName](newNumber).toBase().to(num1.unitName);

{
"name": "@exodus/currency",
"version": "0.1.0",
"version": "0.1.1",
"description": "Currency support.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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