json-bigint
Advanced tools
Comparing version 0.2.3 to 0.3.0
@@ -218,3 +218,3 @@ var BigNumber = require('bignumber.js'); | ||
value = holder[key], | ||
isBigNumber = value != null && (value instanceof BigNumber || value.isBigNumber);; | ||
isBigNumber = value != null && (value instanceof BigNumber || BigNumber.isBigNumber(value)); | ||
@@ -221,0 +221,0 @@ // If the value has a toJSON method, call it to obtain a replacement value. |
{ | ||
"name": "json-bigint", | ||
"version": "0.2.3", | ||
"version": "0.3.0", | ||
"description": "JSON.parse with bigints support", | ||
@@ -23,3 +23,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"bignumber.js": "^4.0.0" | ||
"bignumber.js": "^7.0.0" | ||
}, | ||
@@ -26,0 +26,0 @@ "devDependencies": { |
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
35461
+ Addedbignumber.js@7.2.1(transitive)
- Removedbignumber.js@4.1.0(transitive)
Updatedbignumber.js@^7.0.0