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

@r2pos/nodejs-logger

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@r2pos/nodejs-logger - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

lib/index.d.ts

@@ -8,2 +8,2 @@ import pino from "pino";

}
export default function (options: LoggerOptions): pino.Logger<any>;
export default function (options?: LoggerOptions): pino.Logger<any>;

@@ -5,3 +5,2 @@ "use strict";

function default_1(options) {
options = options || {};
var targets = [

@@ -16,10 +15,12 @@ {

];
if (options.file && options.file.enabled) {
targets.push({
level: "debug",
target: "pino/file",
options: {
destination: options.file.destination,
},
});
if (typeof options !== "undefined") {
if (options.file && options.file.enabled) {
targets.push({
level: "debug",
target: "pino/file",
options: {
destination: options.file.destination,
},
});
}
}

@@ -26,0 +27,0 @@ var logger = (0, pino_1.default)({

{
"name": "@r2pos/nodejs-logger",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

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

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