Socket
Socket
Sign inDemoInstall

fast-json-stringify

Package Overview
Dependencies
10
Maintainers
8
Versions
158
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.6.1 to 5.6.2

2

lib/serializer.js

@@ -30,3 +30,3 @@ 'use strict'

}
if ((i | 0) === i) {
if (Number.isInteger(i)) {
return '' + i

@@ -33,0 +33,0 @@ }

{
"name": "fast-json-stringify",
"version": "5.6.1",
"version": "5.6.2",
"description": "Stringify your JSON at max speed",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -48,2 +48,3 @@ 'use strict'

{ input: -45.05, output: '-45' },
{ input: 3333333333333333, output: '3333333333333333' },
{ input: Math.PI, output: '3', rounding: 'trunc' },

@@ -50,0 +51,0 @@ { input: 5.0, output: '5', rounding: 'trunc' },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc