🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

always-tail

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

always-tail - npm Package Compare versions

Comparing version

to
0.1.1

4

package.json
{
"name": "always-tail",
"version": "0.1.0",
"version": "0.1.1",
"description": "continuous file tail. robust enough to survive rollovers.",

@@ -9,3 +9,3 @@ "main": "index.js",

},
"repository": "",
"repository": "http://github.com/jandre/always-tail",
"keywords": [

@@ -12,0 +12,0 @@ "tail"

@@ -5,3 +5,4 @@ # always-tail

Survives truncates, file rollovers (e.g. `mv /var/log/test /var/log/test.1`), and unlink.
It differs from other `tail` modules in that it survives truncates,
file rollovers (e.g. `mv /var/log/test /var/log/test.1`), and unlink.

@@ -25,3 +26,3 @@ It does this by monitoring the filename, and when the inode changes,

if (!fs.existsSync()) fs.writeFileSync(filename, "");
if (!fs.existsSync(filename)) fs.writeFileSync(filename, "");

@@ -28,0 +29,0 @@ var tail = new Tail(filename, '\n');

Sorry, the diff of this file is not supported yet