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

rotating-file-stream

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rotating-file-stream - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

compress.js

@@ -254,3 +254,3 @@ "use strict";

if(! err)
return callback();
return fs.close(fd, callback);

@@ -257,0 +257,0 @@ utils.makePath(name, function(err) {

@@ -109,3 +109,3 @@ "use strict";

function historyGather(self, files, idx, res) {
if(idx == files.length)
if(idx === files.length)
return historyCheckFiles(self, res);

@@ -115,3 +115,3 @@

if(err) {
if(err.code != "ENOENT")
if(err.code !== "ENOENT")
return self.emit("warning", err);

@@ -143,3 +143,3 @@ }

if(err) {
if(err.code != "ENOENT")
if(err.code !== "ENOENT")
return self.emit("warning", err);

@@ -146,0 +146,0 @@

{
"name": "rotating-file-stream",
"version": "1.2.1",
"version": "1.2.2",
"description": "Opens a stream.Writable to a file rotated by interval and/or size. A logrotate alternative.",

@@ -29,7 +29,7 @@ "scripts": {

"devDependencies": {
"eslint": "3.18.0",
"eslint": "3.19.0",
"istanbul": "0.4.5",
"mocha-istanbul": "0.3.0",
"mocha": "3.2.0"
"mocha": "3.3.0"
}
}

@@ -341,4 +341,11 @@ # rotating-file-stream

## Donating
If you find useful this package, please consider the opportunity to donate some satoshis to this bitcoin address:
__12p1p5q7sK75tPyuesZmssiMYr4TKzpSCN__
## ChangeLog
* 2017-04-26 - v1.2.2
* Fixed bug: [Handle does not close](https://github.com/iccicci/rotating-file-stream/issues/11)
* 2017-03-22 - v1.2.1

@@ -345,0 +352,0 @@ * fixed removed event

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