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

@smallstack/core-common

Package Overview
Dependencies
Maintainers
1
Versions
1262
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smallstack/core-common - npm Package Compare versions

Comparing version 1.125.0-rc.2 to 1.125.0-rc.4

2

package.json
{
"name": "@smallstack/core-common",
"version": "1.125.0-rc.2",
"version": "1.125.0-rc.4",
"sideEffects": false,

@@ -5,0 +5,0 @@ "dependencies": {

@@ -17,3 +17,2 @@ export type LoggerLevel = "info" | "debug" | "error" | "warn";

static setLoggerMaxLength(maxLength: number): void;
debugMode: boolean;
loggerDebugModules: string[];

@@ -20,0 +19,0 @@ loggerMaxLength: number;

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

constructor() {
this.debugMode = false;
this.loggerDebugModules = [];

@@ -79,3 +78,3 @@ this.loggerMaxLength = 10;

}
const consoleLevel = level === "debug" ? "log" : level;
const consoleLevel = level; //=== "debug" ? "log" : level;
if (typeof console !== "undefined" && typeof console[consoleLevel] === "function") {

@@ -102,4 +101,2 @@ if (stacktrace)

loggingModule(level, moduleName) {
if (this.debugMode)
return true;
if (level === "debug" && this.getDebugModules().indexOf(moduleName) === -1)

@@ -106,0 +103,0 @@ return false;

Sorry, the diff of this file is not supported yet

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