Socket
Socket
Sign inDemoInstall

json-bigint

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-bigint - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

2

lib/stringify.js

@@ -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": {

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