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

stream-file-archive

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-file-archive - npm Package Compare versions

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 @@

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