Socket
Socket
Sign inDemoInstall

split2

Package Overview
Dependencies
7
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

4

package.json
{
"name": "split2",
"version": "0.2.0",
"version": "0.2.1",
"description": "split a Text Stream into a Line Stream, using Stream 2",

@@ -28,4 +28,4 @@ "main": "index.js",

"dependencies": {
"through2": "~0.6.0"
"through2": "~0.6.1"
}
}

@@ -136,2 +136,15 @@

input.end(new Buffer('hello\nworld'))
})
test('has destroy method', function(t) {
t.plan(1)
var input = split(function(line) {})
input.on('close', function() {
t.ok(true, 'close emitted')
t.end()
})
input.destroy()
})
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc