Socket
Socket
Sign inDemoInstall

split

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

split - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

10

index.js

@@ -32,16 +32,14 @@ //filter will reemit the data if cb(err,pass) pass is truthy

if('undefined' !== typeof piece)
stream.emit('data', piece)
stream.queue(piece)
}
else
stream.emit('data', piece)
stream.queue(piece)
}
return true
},
function () {
if(soFar)
this.emit('data', soFar)
this.emit('end')
this.queue(soFar)
this.queue(null)
})
}

4

package.json
{
"name": "split",
"version": "0.1.2",
"version": "0.2.0",
"description": "split a Text Stream into a Line Stream",

@@ -11,3 +11,3 @@ "homepage": "http://github.com/dominictarr/split",

"dependencies": {
"through": "1"
"through": "2"
},

@@ -14,0 +14,0 @@ "devDependencies": {

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