Skip to content

Commit

Permalink
fix(deps): update dependency big.js to v6 (#1244)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency big.js to v6

* test: update toJSON expected value for NUMERIC

Co-authored-by: Shanika Kuruppu <[email protected]>
  • Loading branch information
renovate-bot and skuruppu authored Oct 8, 2020
1 parent f21ccad commit 259a51e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@types/big.js": "^4.0.5",
"@types/stack-trace": "0.0.29",
"arrify": "^2.0.0",
"big.js": "^5.2.2",
"big.js": "^6.0.0",
"checkpoint-stream": "^0.1.1",
"events-intercept": "^2.0.0",
"extend": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion test/codec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ describe('codec', () => {
const value = '8.01911';
const numeric = new codec.Numeric(value);

assert.strictEqual(numeric.toJSON(), value);
assert.strictEqual(numeric.toJSON(), '8.01911e+0');
});
});

Expand Down

0 comments on commit 259a51e

Please sign in to comment.