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

tail

Package Overview
Dependencies
Maintainers
0
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tail - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

2

package.json

@@ -6,3 +6,3 @@ {

"description": "tail a file in node",
"version": "0.1.2",
"version": "0.2.0",
"repository": {

@@ -9,0 +9,0 @@ "type": "git",

@@ -31,12 +31,5 @@ var Tail, environment, events, fs;

if (this.queue.length >= 1) {
this.internalDispatcher.emit("next");
return this.internalDispatcher.emit("next");
}
return this.emit('end');
}, this));
stream.on('close', __bind(function() {
return this.emit('close');
}, this));
stream.on('fd', __bind(function(fd) {
return this.emit('fd', fd);
}, this));
return stream.on('data', __bind(function(data) {

@@ -50,3 +43,3 @@ var chunk, parts, _i, _len, _results;

chunk = parts[_i];
_results.push(this.emit("data", chunk));
_results.push(this.emit("line", chunk));
}

@@ -53,0 +46,0 @@ return _results;

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