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

egg-logrotator

Package Overview
Dependencies
Maintainers
6
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-logrotator - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

6

app/lib/day_rotator.js

@@ -77,3 +77,7 @@ 'use strict';

if (!files.has(srcPath)) {
const targetPath = srcPath + moment().subtract(1, 'days').format('.YYYY-MM-DD');
// allow 2 minutes deviation
const targetPath = srcPath + moment()
.subtract(23, 'hours')
.subtract(58, 'minutes')
.format('.YYYY-MM-DD');
debug('set file %s => %s', srcPath, targetPath);

@@ -80,0 +84,0 @@ files.set(srcPath, { srcPath, targetPath });

2.3.3 / 2018-12-05
==================
**fixes**
* [[`5b4ac09`](http://github.com/eggjs/egg-logrotator/commit/5b4ac09d8a8e30a8412a85cb35066584d1ab0721)] - fix: allow 2 minutes deviation on schedule cron (#23) (fengmk2 <<fengmk2@gmail.com>>)
2.3.2 / 2018-05-09

@@ -3,0 +9,0 @@ ==================

2

package.json
{
"name": "egg-logrotator",
"version": "2.3.2",
"version": "2.3.3",
"description": "logrotator for egg",

@@ -5,0 +5,0 @@ "eggPlugin": {

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