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

mux-demux

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mux-demux - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

6

examples/error.js

@@ -9,3 +9,3 @@ var MuxDemux = require('..')

stream.on('error', function (error) {
console.log(error.message)
console.log(error)
})

@@ -23,3 +23,5 @@ })

setInterval(function () {
es.error("error message as string")
es.error({
"any error": "message"
})
}, 1e3)

@@ -26,0 +28,0 @@

@@ -34,3 +34,3 @@ var es = require('event-stream')

else if (event === 'error')
s.emit('error', new Error(data[1]))
s.emit('error', data[1])
else {

@@ -37,0 +37,0 @@ s.emit.apply(s, data)

{
"name": "mux-demux",
"version": "2.2.0",
"version": "2.3.0",
"description": "",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/dominictarr/mux-demux",

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