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 3.3.3 to 3.3.4

5

daily-rotate-file.js

@@ -99,2 +99,7 @@ 'use strict';

this.logStream.on('rotate', function (oldFile) {
var oldFileExist = fs.existsSync(oldFile);
var gzExist = fs.existsSync(oldFile + '.gz');
if (!oldFileExist || gzExist) {
return;
}
var gzip = zlib.createGzip();

@@ -101,0 +106,0 @@ var inp = fs.createReadStream(oldFile);

2

package.json
{
"name": "winston-daily-rotate-file",
"version": "3.3.3",
"version": "3.3.4",
"description": "A transport for winston which logs to a rotating file each day.",

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

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