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

easy-json-stream

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-json-stream - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

5

index.js

@@ -23,4 +23,5 @@ var Transform = require('stream').Transform

StringifyStream.prototype._flush = function(done) {
if (!this.first)
this.push(this.tail);
if (this.first)
this.push(this.head);
this.push(this.tail);
done();

@@ -27,0 +28,0 @@ }

2

package.json
{
"name": "easy-json-stream",
"version": "1.1.0",
"version": "1.2.0",
"description": "Stream objects to JSON and JSON into objects.",

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

@@ -100,3 +100,3 @@ var path = require('path')

.on('end', function() {
t.notOk(buffer.length, 'no data added to buffer');
t.equals(buffer.join(''), '[]', 'empty array added to buffer');
t.end();

@@ -103,0 +103,0 @@ })

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