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

@josecarlosrz/logger

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@josecarlosrz/logger - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

12

index.js

@@ -9,3 +9,3 @@ const nodeConsole = require('console');

module.exports = {
const Logger = {

@@ -90,13 +90,15 @@ logger: function(message, ...args) {

if (process.env.NODE_ENV === 'development')
this.logger(message, ...args);
Logger.logger(message, ...args);
},
devSleep: function(seconds) {
devSleep: async function(seconds) {
if (process.env.NODE_ENV === 'development')
this.sleep(seconds);
await Logger.sleep(seconds);
},
};
};
module.exports = Logger;
{
"name": "@josecarlosrz/logger",
"version": "1.0.11",
"version": "1.0.12",
"description": "Function to log each component of our application",

@@ -5,0 +5,0 @@ "main": "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