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

@jalik/logger

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jalik/logger - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

3

CHANGELOG.md
# Changelog
## v2.1.4
- Fixes compatibility error `'log' called on an object that does not implement interface Console`
## v2.1.3

@@ -4,0 +7,0 @@ - Updates dependencies

28

dist/logger.js

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

// eslint-disable-next-line no-console
console.debug = console.log;
console.debug = console.log.bind(console);
} // eslint-disable-next-line no-console

@@ -64,3 +64,3 @@

// eslint-disable-next-line no-console
console.error = console.log;
console.error = console.log.bind(console);
} // eslint-disable-next-line no-console

@@ -71,3 +71,3 @@

// eslint-disable-next-line no-console
console.info = console.log;
console.info = console.log.bind(console);
} // eslint-disable-next-line no-console

@@ -78,3 +78,3 @@

// eslint-disable-next-line no-console
console.warn = console.log;
console.warn = console.log.bind(console);
}

@@ -205,4 +205,6 @@ } // Check logger name

if (this.options.console.debug === true) {
var _console;
// eslint-disable-next-line no-console
console.log.apply(this, args);
(_console = console).log.apply(_console, args);
}

@@ -214,4 +216,6 @@

if (this.options.console.error === true) {
var _console2;
// eslint-disable-next-line no-console
console.error.apply(this, args);
(_console2 = console).error.apply(_console2, args);
}

@@ -223,4 +227,6 @@

if (this.options.console.info === true) {
var _console3;
// eslint-disable-next-line no-console
console.info.apply(this, args);
(_console3 = console).info.apply(_console3, args);
}

@@ -232,4 +238,6 @@

if (this.options.console.warning === true) {
var _console4;
// eslint-disable-next-line no-console
console.warn.apply(this, args);
(_console4 = console).warn.apply(_console4, args);
}

@@ -241,4 +249,6 @@

if (typeof this.options.console[type] === 'boolean' && this.options.console[type] === true || typeof this.options.console[type] !== 'boolean' && this.options.console.other === true) {
var _console5;
// eslint-disable-next-line no-console
console.log.apply(this, args);
(_console5 = console).log.apply(_console5, args);
}

@@ -245,0 +255,0 @@

{
"name": "@jalik/logger",
"version": "2.1.3",
"version": "2.1.4",
"description": "A logging utility to log messages to anywhere.",

@@ -5,0 +5,0 @@ "license": "MIT",

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