stream-file-archive
Advanced tools
Comparing version 1.1.1 to 1.1.2
10
index.js
@@ -70,6 +70,6 @@ module.exports = FileArchive | ||
process.on("SIGHUP", function () {this.renew(true)}) | ||
var self = this | ||
process.on("SIGHUP", function () {self.renew(true)}) | ||
this.path_options = [] | ||
var self = this | ||
this.path_options = DATE_OPTIONS.filter(function (option) { | ||
@@ -121,3 +121,7 @@ if (option.key.exec(self.path_config)) { | ||
mkpath(this.symlink) | ||
fs.unlink(this.symlink, function () { fs.symlink(self.path, self.symlink) }) | ||
fs.unlink(this.symlink, function () { | ||
fs.symlink(self.path, self.symlink, function () { | ||
// TODO anything need to be done here? | ||
}) | ||
}) | ||
} | ||
@@ -124,0 +128,0 @@ if (old_stream && this.compress) { |
{ | ||
"name": "stream-file-archive", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Pipe Streams to time-rotated log files", | ||
@@ -27,10 +27,10 @@ "main": "index.js", | ||
"mkdirp": "~0.5.0", | ||
"readable-stream": "~1.0.27-1", | ||
"xtend": "~3.0.0" | ||
"readable-stream": "~1.0.33", | ||
"xtend": "~4.0.0" | ||
}, | ||
"devDependencies": { | ||
"rimraf": "~2.2.8", | ||
"tape": "~2.13.2", | ||
"stream-spigot": "~3.0.3" | ||
"rimraf": "~2.3.3", | ||
"tape": "~4.0.0", | ||
"stream-spigot": "~3.0.5" | ||
} | ||
} |
@@ -6,5 +6,2 @@ stream-file-archive | ||
[![david-dm](https://david-dm.org/brycebaril/stream-file-archive.png)](https://david-dm.org/brycebaril/stream-file-archive/) | ||
[![david-dm](https://david-dm.org/brycebaril/stream-file-archive/dev-status.png)](https://david-dm.org/brycebaril/stream-file-archive#info=devDependencies/) | ||
Easy log rotation for Node.js | ||
@@ -11,0 +8,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
241
11574
77
+ Addedxtend@4.0.2(transitive)
- Removedxtend@3.0.0(transitive)
Updatedreadable-stream@~1.0.33
Updatedxtend@~4.0.0