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

carrier

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carrier - npm Package Compare versions

Comparing version 0.1.13 to 0.1.14

36

lib/carrier.js

@@ -11,18 +11,3 @@ var util = require('util'),

self.reader = reader;
if (!separator) {
separator = /\r?\n/;
}
if (listener) {
self.addListener('line', listener);
}
var buffer = '';
if (typeof reader.setEncoding === 'function')
reader.setEncoding(encoding);
reader.on(event, function(data) {
var onEvent = function carrierOnEvent(data) {
var args = Array.prototype.slice.call(arguments, 1);

@@ -46,4 +31,21 @@

});
});
}
self.reader = reader;
if (!separator) {
separator = /\r?\n/;
}
if (listener) {
self.addListener('line', listener);
}
var buffer = '';
if (typeof reader.setEncoding === 'function')
reader.setEncoding(encoding);
reader.on(event, onEvent);
var ender = function() {

@@ -50,0 +52,0 @@ if (buffer.length > 0) {

{ "name" : "carrier"
, "description" : "Evented stream line reader for node.js"
, "version" : "0.1.13"
, "version" : "0.1.14"
, "homepage" : "http://github.com/pgte/carrier"

@@ -5,0 +5,0 @@ , "author" :

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