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

winston-daily-rotate-file

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-daily-rotate-file - npm Package Compare versions

Comparing version 2.0.0-rc.5 to 2.0.0-rc.6

12

daily-rotate-file.js

@@ -124,7 +124,9 @@ 'use strict';

DailyRotateFile.prototype._final = function (callback) {
this.logStream.end(function () {
callback = callback || noop;
callback();
});
DailyRotateFile.prototype.close = function () {
var self = this;
if (this.logStream) {
this.logStream.end(function () {
self.emit('finish');
});
}
};

@@ -131,0 +133,0 @@

{
"name": "winston-daily-rotate-file",
"version": "2.0.0-rc.5",
"version": "2.0.0-rc.6",
"description": "A transport for winston which logs to a rotating file each day.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -122,3 +122,3 @@ /* eslint-disable max-nested-callbacks,no-unused-expressions,handle-callback-err */

this.transport.end();
this.transport.close();
});

@@ -154,3 +154,3 @@

sendLogItem(this.transport, 'info', randomString(1056));
self.transport.end();
self.transport.close();
});

@@ -189,3 +189,3 @@ });

this.transport.end();
this.transport.close();
});

@@ -192,0 +192,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