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

@homeofthings/nestjs-logger

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@homeofthings/nestjs-logger - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

1

CHANGELOG.md

@@ -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 |

18

package.json
{
"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

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