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

@vladmandic/pilogger

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vladmandic/pilogger - npm Package Compare versions

Comparing version 0.3.3 to 0.3.5

4

package.json
{
"name": "@vladmandic/pilogger",
"version": "0.3.3",
"version": "0.3.5",
"description": "Simple Logger for NodeJS",

@@ -32,4 +32,4 @@ "main": "dist/pilogger.js",

"dayjs": "^1.10.7",
"esbuild": "^0.12.26"
"esbuild": "^0.13.12"
}
}

@@ -16,2 +16,3 @@ const os = require('os');

console: true,
timeStamp: true,
// logFile: null,

@@ -85,3 +86,6 @@ // accessFile: null,

const time = dayjs(Date.now()).format(options.dateFormat);
if (options.console) logger.log(time, ...messages);
if (options.console) {
if (options.timeStamp) logger.log(time, ...messages);
else logger.log(...messages);
}
}

@@ -234,3 +238,3 @@

exports.assert = assert; // log if assertion failed
exports.blank = (...message) => log(...message);
exports.blank = (...message) => log('', ...message);
exports.info = (...message) => log('info', ...message);

@@ -237,0 +241,0 @@ exports.state = (...message) => log('state', ...message);

Sorry, the diff of this file is too big to display

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