rotating-file-stream
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -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 |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
407
5
2
36685
8
717