New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.20 to 1.0.21

26

index.js

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

isLoggerDisabled: () => {
isLoggerDisabled: function() {

@@ -23,3 +23,3 @@ return (

isSleepDisabled: () => {
isSleepDisabled: function() {

@@ -33,3 +33,3 @@ return (

isDev: () => {
isDev: function() {

@@ -94,3 +94,3 @@ return (

if (!LoggerChecker.isLoggerDisabled())
if (!Logger.isLoggerDisabled())
TmpLogger.logger(message, ...args);

@@ -102,3 +102,3 @@

if (!LoggerChecker.isSleepDisabled())
if (!Logger.isSleepDisabled())
await TmpLogger.sleep(seconds);

@@ -110,3 +110,3 @@

if (!LoggerChecker.isLoggerDisabled() && LoggerChecker.isDev())
if (!Logger.isLoggerDisabled() && Logger.isDev())
TmpLogger.logger(message, ...args);

@@ -118,3 +118,3 @@

if (!LoggerChecker.isSleepDisabled() && LoggerChecker.isDev())
if (!Logger.isSleepDisabled() && Logger.isDev())
await TmpLogger.sleep(seconds);

@@ -124,4 +124,16 @@

isLoggerDisabled: function() {
return LoggerChecker.isLoggerDisabled();
},
isSleepDisabled: function() {
return LoggerChecker.isSleepDisabled();
},
isDev: function() {
return LoggerChecker.isDev();
},
};
module.exports = Logger;
{
"name": "@josecarlosrz/logger",
"version": "1.0.20",
"version": "1.0.21",
"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