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

event-stream

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

event-stream - npm Package Compare versions

Comparing version 2.1.8 to 2.1.9

test/stringify.js

6

index.js

@@ -485,2 +485,4 @@ //filter will reemit the data if cb(err,pass) pass is truthy

//
// must be used after es.split() to ensure that each chunk represents a line
// source.pipe(es.split()).pipe(es.parse())

@@ -506,4 +508,4 @@ es.parse = function () {

es.stringify = function () {
return es.mapSync(function (e){
return JSON.stringify(e) + '\n'
return es.mapSync(function (e){
return JSON.stringify(Buffer.isBuffer(e) ? e.toString() : e) + '\n'
})

@@ -510,0 +512,0 @@ }

{
"name": "event-stream",
"version": "2.1.8",
"version": "2.1.9",
"description": "construct pipes of streams of events",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/dominictarr/event-stream",

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