New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nestjs-pino

Package Overview
Dependencies
Maintainers
1
Versions
1337
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-pino - npm Package Compare versions

Comparing version 2.0.2-alpha.777642 to 2.0.2-alpha.26bbb9

2

InjectPinoLogger.js

@@ -10,3 +10,3 @@ "use strict";

decoratedLoggers.add(context);
return common_1.Inject(getLoggerToken(context));
return (0, common_1.Inject)(getLoggerToken(context));
}

@@ -13,0 +13,0 @@ exports.InjectPinoLogger = InjectPinoLogger;

@@ -63,4 +63,4 @@ "use strict";

Logger = __decorate([
common_1.Injectable(),
__param(1, common_1.Inject(params_1.PARAMS_PROVIDER_TOKEN)),
(0, common_1.Injectable)(),
__param(1, (0, common_1.Inject)(params_1.PARAMS_PROVIDER_TOKEN)),
__metadata("design:paramtypes", [PinoLogger_1.PinoLogger, Object])

@@ -67,0 +67,0 @@ ], Logger);

@@ -34,3 +34,3 @@ "use strict";

};
const decorated = InjectPinoLogger_1.createProvidersForDecorated();
const decorated = (0, InjectPinoLogger_1.createProvidersForDecorated)();
return {

@@ -48,3 +48,3 @@ module: LoggerModule_1,

};
const decorated = InjectPinoLogger_1.createProvidersForDecorated();
const decorated = (0, InjectPinoLogger_1.createProvidersForDecorated)();
const providers = [

@@ -79,5 +79,5 @@ Logger_1.Logger,

LoggerModule = LoggerModule_1 = __decorate([
common_1.Global(),
common_1.Module({ providers: [Logger_1.Logger], exports: [Logger_1.Logger] }),
__param(0, common_1.Inject(params_1.PARAMS_PROVIDER_TOKEN)),
(0, common_1.Global)(),
(0, common_1.Module)({ providers: [Logger_1.Logger], exports: [Logger_1.Logger] }),
__param(0, (0, common_1.Inject)(params_1.PARAMS_PROVIDER_TOKEN)),
__metadata("design:paramtypes", [Object])

@@ -84,0 +84,0 @@ ], LoggerModule);

{
"name": "nestjs-pino",
"version": "2.0.2-alpha.777642",
"version": "2.0.2-alpha.26bbb9",
"description": "Pino logger for NestJS",

@@ -58,3 +58,3 @@ "main": "index.js",

"eslint-plugin-prettier": "^3.4.1",
"jest": "27.0.6",
"jest": "27.1.0",
"memorystream": "^0.3.1",

@@ -61,0 +61,0 @@ "pino-http": "^5.6.0",

@@ -33,3 +33,3 @@ "use strict";

}
else if (params_1.isPassedLogger(pinoHttp)) {
else if ((0, params_1.isPassedLogger)(pinoHttp)) {
outOfContext = pinoHttp.logger;

@@ -101,4 +101,4 @@ }

PinoLogger = __decorate([
common_1.Injectable({ scope: common_1.Scope.TRANSIENT }),
__param(0, common_1.Inject(params_1.PARAMS_PROVIDER_TOKEN)),
(0, common_1.Injectable)({ scope: common_1.Scope.TRANSIENT }),
__param(0, (0, common_1.Inject)(params_1.PARAMS_PROVIDER_TOKEN)),
__metadata("design:paramtypes", [Object])

@@ -105,0 +105,0 @@ ], PinoLogger);

@@ -11,3 +11,3 @@ <p align="center">

</a>
<img alt="GitHub branch checks state" src="https://img.shields.io/github/checks-status/iamolegga/nestjs-pino/master">
<img alt="GitHub branch checks state" src="https://badgen.net/github/checks/iamolegga/nestjs-pino">
<a href="https://codeclimate.com/github/iamolegga/nestjs-pino/test_coverage">

@@ -14,0 +14,0 @@ <img src="https://api.codeclimate.com/v1/badges/2821150bb93506cb66fc/test_coverage" />

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