Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

fastify-logger

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastify-logger - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+4
-4
lib/FileStream.js

@@ -181,3 +181,3 @@

plusName = `${date.getFullYear()}-${date.getMonth() +
1}-${date.getDate()}${this.options.logrotator.hourDelimiter}${date.getHours()}}`
1}-${date.getDate()}${this.options.logrotator.hourDelimiter}${date.getHours()}`
} else {

@@ -187,3 +187,3 @@ plusName = `${date.getFullYear()}-${date.getMonth() +

}
return plusName;
return `.${plusName}`;
}

@@ -208,4 +208,4 @@

if (targetExists) {
const err = new Error(`targetFile ${targetPath} exists!!!`)
throw err
console.log(`targetFile ${targetPath} exists!!!`)
return
}

@@ -212,0 +212,0 @@ await fileRename(srcPath, targetPath)

{
"name": "fastify-logger",
"version": "1.0.0",
"version": "1.0.1",
"description": "fastify 框架的logger",

@@ -5,0 +5,0 @@ "main": "lib/logger.js",

Sorry, the diff of this file is not supported yet