Socket
Socket
Sign inDemoInstall

fast-safe-stringify

Package Overview
Dependencies
0
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

4

index.js

@@ -14,4 +14,4 @@ module.exports = stringify

return {
depthLimit: 10,
edgesLimit: 20
depthLimit: Number.MAX_SAFE_INTEGER,
edgesLimit: Number.MAX_SAFE_INTEGER
}

@@ -18,0 +18,0 @@ }

{
"name": "fast-safe-stringify",
"version": "2.1.0",
"version": "2.1.1",
"description": "Safely and quickly serialize JavaScript objects",

@@ -5,0 +5,0 @@ "keywords": [

@@ -38,5 +38,6 @@ # fast-safe-stringify

// those are also defaults limits when no options object is passed into safeStringify
// configure it to lower the limit.
const options = {
depthLimit: 10,
edgesLimit: 20,
depthLimit: Number.MAX_SAFE_INTEGER,
edgesLimit: Number.MAX_SAFE_INTEGER
};

@@ -170,2 +171,2 @@

[benchmark]: https://github.com/epoberezkin/fast-json-stable-stringify/blob/67f688f7441010cfef91a6147280cc501701e83b/benchmark
[JSON.stringify]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
[JSON.stringify]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
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