Socket
Socket
Sign inDemoInstall

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 1.7.1 to 1.7.2

7

index.js

@@ -369,3 +369,3 @@ 'use strict';

function push(log) {
if (options.rows && results.length >= options.rows) {
if (options.rows && results.length >= options.rows && options.order !== 'desc') {
if (stream.readable) {

@@ -385,2 +385,7 @@ stream.destroy();

if (options.order === 'desc') {
if (results.length >= options.rows) {
results.shift();
}
}
results.push(log);

@@ -387,0 +392,0 @@ }

2

package.json
{
"name": "winston-daily-rotate-file",
"version": "1.7.1",
"version": "1.7.2",
"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