json-bigint
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "json-bigint", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "JSON.parse with bigints support", | ||
@@ -23,3 +23,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"bignumber.js": "^7.0.0" | ||
"bignumber.js": "^9.0.0" | ||
}, | ||
@@ -26,0 +26,0 @@ "devDependencies": { |
@@ -29,4 +29,4 @@ json-bigint | ||
var r1 = JSONbig.parse(json); | ||
console.log('JSON.parse(input).value : ', r1.value.toString()); | ||
console.log('JSON.stringify(JSON.parse(input)):', JSONbig.stringify(r1)); | ||
console.log('JSONbig.parse(input).value : ', r1.value.toString()); | ||
console.log('JSONbig.stringify(JSONbig.parse(input)):', JSONbig.stringify(r1)); | ||
``` | ||
@@ -45,4 +45,4 @@ | ||
big number JSON: | ||
JSON.parse(input).value : 9223372036854775807 | ||
JSON.stringify(JSON.parse(input)): {"value":9223372036854775807,"v2":123} | ||
JSONbig.parse(input).value : 9223372036854775807 | ||
JSONbig.stringify(JSONbig.parse(input)): {"value":9223372036854775807,"v2":123} | ||
``` | ||
@@ -49,0 +49,0 @@ ### Options |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35380
10
+ Addedbignumber.js@9.1.2(transitive)
- Removedbignumber.js@7.2.1(transitive)
Updatedbignumber.js@^9.0.0