Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stream-stringify

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-stringify - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

7

lib/stream-stringify.js

@@ -95,3 +95,8 @@ // Generated by CoffeeScript 1.9.2

case 'object':
return JSON.stringify(data);
if (this.prettyFormat) {
return JSON.stringify(data, null, this.tabWidth);
} else {
return JSON.stringify(data);
}
break;
default:

@@ -98,0 +103,0 @@ return data;

2

package.json
{
"name": "stream-stringify",
"version": "2.0.3",
"version": "2.0.4",
"description": "Stringify nested JSON through streams.",

@@ -5,0 +5,0 @@ "main": "lib/stream-stringify.js",

Create streams for nested JSON structures of which you don't know about on beforehand.
Cheaper than `JSON.stringify` which always will buffer the entire object.
Cheaper than `JSON.stringify` which always will buffers the entire object.

@@ -5,0 +5,0 @@ # Example

Sorry, the diff of this file is not supported yet

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