@homeofthings/nestjs-logger
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -5,4 +5,5 @@ # CHANGELOG for @homeofthings/nestjs-logger | ||
| ------- | ---------------------- | | ||
| 1.0.5 | maintenance release | | ||
| 1.0.4 | feature: global module | | ||
| 1.0.1-3 | maintenance release | | ||
| 1.0.0 | first version | |
{ | ||
"name": "@homeofthings/nestjs-logger", | ||
"description": "HomeOfThings - NestJs Logger: a logger for NestJs based on Winston", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"keywords": [ | ||
@@ -30,12 +30,12 @@ "nestjs", | ||
"typings": "./src/index.d.ts", | ||
"dependencies": { | ||
"@homeofthings/nestjs-utils": "1.0.4", | ||
"winston": "^3.3.3", | ||
"dependencies": {}, | ||
"peerDependencies": { | ||
"@nestjs/common": "^8.4.4", | ||
"@homeofthings/nestjs-utils": "1.0.5", | ||
"rxjs": "~7.5.5", | ||
"winston": "^3.7.2", | ||
"chalk": "^4.1.2", | ||
"supports-color": "^8.1.1" | ||
}, | ||
"peerDependencies": { | ||
"@nestjs/common": "^8.0.6", | ||
"rxjs": "^7.3.0" | ||
"supports-color": "^8.1.1", | ||
"tslib": "^2.3.1" | ||
} | ||
} |
@@ -9,3 +9,3 @@ "use strict"; | ||
const nestjs_utils_1 = require("@homeofthings/nestjs-utils"); | ||
let LoggerModule = class LoggerModule extends nestjs_utils_1.createDynamicRootModule(model_1.LOGGER_MODULE_OPTIONS_TOKEN, { | ||
let LoggerModule = class LoggerModule extends (0, nestjs_utils_1.createDynamicRootModule)(model_1.LOGGER_MODULE_OPTIONS_TOKEN, { | ||
global: true, | ||
@@ -20,5 +20,5 @@ providers: [logger_service_1.LoggerService], | ||
LoggerModule = tslib_1.__decorate([ | ||
common_1.Module({}) | ||
(0, common_1.Module)({}) | ||
], LoggerModule); | ||
exports.LoggerModule = LoggerModule; | ||
//# sourceMappingURL=logger.module.js.map |
@@ -74,4 +74,4 @@ "use strict"; | ||
LoggerService = LoggerService_1 = tslib_1.__decorate([ | ||
common_1.Injectable(), | ||
tslib_1.__param(0, common_1.Inject(model_1.LOGGER_MODULE_OPTIONS_TOKEN)), | ||
(0, common_1.Injectable)(), | ||
tslib_1.__param(0, (0, common_1.Inject)(model_1.LOGGER_MODULE_OPTIONS_TOKEN)), | ||
tslib_1.__metadata("design:paramtypes", [Object]) | ||
@@ -78,0 +78,0 @@ ], LoggerService); |
@@ -16,3 +16,3 @@ "use strict"; | ||
// "5.x Roadmap" (2018-12) https://github.com/visionmedia/debug/issues/656 | ||
const debug = debug_1.default('nestjs-logger'); | ||
const debug = (0, debug_1.default)('nestjs-logger'); | ||
debug('Module "winston" imported'); | ||
@@ -83,3 +83,3 @@ class WinstonLogger { | ||
if (options.fileLogFileName) { | ||
mkdirp_1.default(path.dirname(options.fileLogFileName)); | ||
(0, mkdirp_1.default)(path.dirname(options.fileLogFileName)); | ||
this._fileTransport = new winston.transports.File({ | ||
@@ -86,0 +86,0 @@ silent: options.fileLogSilent, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36640
7
+ Added@homeofthings/nestjs-utils@1.0.5(transitive)
+ Addedrxjs@7.5.7(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@homeofthings/nestjs-utils@1.0.4
- Removedchalk@^4.1.2
- Removedsupports-color@^8.1.1
- Removedwinston@^3.3.3
- Removed@homeofthings/nestjs-utils@1.0.4(transitive)
- Removedrxjs@7.8.1(transitive)