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 3.0.4 to 3.0.5

6

app/lib/day_rotator.js

@@ -79,3 +79,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);

@@ -82,0 +86,0 @@ files.set(srcPath, { srcPath, targetPath });

3.0.5 / 2018-12-04
==================
**fixes**
* [[`3371e60`](http://github.com/eggjs/egg-logrotator/commit/3371e609c29385ef73093abb9cbdcccc88e8f9b0)] - fix: allow 2 minutes deviation on schedule cron (#22) (fengmk2 <<fengmk2@gmail.com>>)
3.0.4 / 2018-10-24

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

2

package.json
{
"name": "egg-logrotator",
"version": "3.0.4",
"version": "3.0.5",
"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