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

tail

Package Overview
Dependencies
Maintainers
1
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 2.0.3 to 2.0.4

.github/FUNDING.yml

12

lib/tail.js
// Generated by CoffeeScript 2.4.1
var Tail, environment, events, fs,
var Tail, environment, events, fs, path,
boundMethodCheck = function(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new Error('Bound instance method accessed before binding'); } };

@@ -9,2 +9,4 @@

path = require('path');
environment = process.env['NODE_ENV'] || 'development';

@@ -67,2 +69,3 @@

this.filename = filename;
this.absPath = path.dirname(this.filename);
({separator: this.separator = /[\r]{0,1}\n/, fsWatchOptions: this.fsWatchOptions = {}, follow: this.follow = true, logger: this.logger, useWatchFile: this.useWatchFile = false, flushAtEOF: this.flushAtEOF = false, encoding: this.encoding = "utf-8", fromBeginning = false} = options);

@@ -173,3 +176,4 @@ if (this.logger) {

if (this.follow) {
return setTimeout((() => {
this.filename = path.join(this.absPath, filename);
return this.rewatchId = setTimeout((() => {
return this.watch();

@@ -216,2 +220,6 @@ }), 1000);

}
if (this.rewatchId) {
clearTimeout(this.rewatchId);
this.rewatchId = void 0;
}
this.isWatching = false;

@@ -218,0 +226,0 @@ this.queue = [];

6

package.json

@@ -17,3 +17,3 @@ {

],
"version": "2.0.3",
"version": "2.0.4",
"homepage": "https://www.lucagrulla.com/node-tail",

@@ -37,6 +37,6 @@ "repository": {

"devDependencies": {
"coffeescript": "2.4.1",
"coffeescript": "2.5.1",
"chai": "4.x",
"mocha": "6.x"
"mocha": "7.x"
}
}

@@ -108,3 +108,3 @@ # Tail

Tail is written in [CoffeeScript](http://jashkenas.github.com/coffee-script/).
Tail is written in [CoffeeScript](https://coffeescript.org/).

@@ -111,0 +111,0 @@ The Cakefile generates the javascript that is then published to npm.

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