Skip to content

Commit 41e042b

Browse files
Alan Shawjacobheun
Alan Shaw
authored andcommittedJan 15, 2019
refactor: switch to bignumber.js (#187)
License: MIT Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
1 parent f56aea3 commit 41e042b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"dependencies": {
5252
"async": "^2.6.1",
5353
"base32.js": "~0.1.0",
54-
"big.js": "^5.2.2",
54+
"bignumber.js": "^8.0.2",
5555
"cids": "~0.5.7",
5656
"datastore-core": "~0.6.0",
5757
"datastore-fs": "~0.7.0",

‎src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const _get = require('lodash.get')
88
const assert = require('assert')
99
const path = require('path')
1010
const debug = require('debug')
11-
const Big = require('big.js')
11+
const Big = require('bignumber.js')
1212
const pull = require('pull-stream')
1313

1414
const backends = require('./backends')

0 commit comments

Comments
 (0)
Please sign in to comment.