New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

stream-splitter-transform

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-splitter-transform - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "stream-splitter-transform"
, "version": "0.0.2"
, "version": "0.0.3"
, "description": "A stream.Transform-based stream splitter"

@@ -5,0 +5,0 @@ , "main": "stream-splitter.js"

// Generated by CoffeeScript 1.6.3
var StreamSplitter, stream;
var StreamSplitter, newlineBuffer, stream;

@@ -8,2 +8,4 @@ stream = require('stream');

newlineBuffer = new Buffer([10]);
StreamSplitter = function(separator, options) {

@@ -19,3 +21,3 @@ if (!(this instanceof StreamSplitter)) {

stream.Transform.call(this, options);
this._separator = separator != null ? separator : new Buffer([10]);
this._separator = separator != null ? separator : newlineBuffer;
if (!Buffer.isBuffer(this._separator)) {

@@ -22,0 +24,0 @@ this._separator = new Buffer(this._separator);

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