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

@alwaysmeticulous/common

Package Overview
Dependencies
Maintainers
5
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alwaysmeticulous/common - npm Package Compare versions

Comparing version 2.114.0 to 2.115.0

2

dist/index.d.ts
export { defer, Deferred, DeferredStatus } from "./defer";
export { getMeticulousLocalDataDir, setMeticulousLocalDataDir, } from "./local-data/local-data";
export { METICULOUS_LOGGER_NAME } from "./logger/console-logger";
export { METICULOUS_LOGGER_NAME, initLogger, setLogLevel, } from "./logger/console-logger";
export { DebugLogger } from "./logger/debug-logger";

@@ -5,0 +5,0 @@ export type { CreateReplayDebuggerFn, ReplayDebuggerDependencies, ReplayDebuggerOptions, } from "./types/replay-debugger.types";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCommitSha = exports.getMeticulousVersion = exports.COMMON_CHROMIUM_FLAGS = exports.BASE_SNIPPETS_URL = exports.DEFAULT_SCREENSHOTTING_OPTIONS = exports.DEFAULT_EXECUTION_OPTIONS = exports.DebugLogger = exports.METICULOUS_LOGGER_NAME = exports.setMeticulousLocalDataDir = exports.getMeticulousLocalDataDir = exports.defer = void 0;
exports.getCommitSha = exports.getMeticulousVersion = exports.COMMON_CHROMIUM_FLAGS = exports.BASE_SNIPPETS_URL = exports.DEFAULT_SCREENSHOTTING_OPTIONS = exports.DEFAULT_EXECUTION_OPTIONS = exports.DebugLogger = exports.setLogLevel = exports.initLogger = exports.METICULOUS_LOGGER_NAME = exports.setMeticulousLocalDataDir = exports.getMeticulousLocalDataDir = exports.defer = void 0;
var defer_1 = require("./defer");

@@ -11,2 +11,4 @@ Object.defineProperty(exports, "defer", { enumerable: true, get: function () { return defer_1.defer; } });

Object.defineProperty(exports, "METICULOUS_LOGGER_NAME", { enumerable: true, get: function () { return console_logger_1.METICULOUS_LOGGER_NAME; } });
Object.defineProperty(exports, "initLogger", { enumerable: true, get: function () { return console_logger_1.initLogger; } });
Object.defineProperty(exports, "setLogLevel", { enumerable: true, get: function () { return console_logger_1.setLogLevel; } });
var debug_logger_1 = require("./logger/debug-logger");

@@ -13,0 +15,0 @@ Object.defineProperty(exports, "DebugLogger", { enumerable: true, get: function () { return debug_logger_1.DebugLogger; } });

@@ -0,1 +1,4 @@

import log from "loglevel";
export declare const METICULOUS_LOGGER_NAME = "@alwaysmeticulous";
export declare const initLogger: () => log.Logger;
export declare const setLogLevel: (logLevel: string | undefined) => void;
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.METICULOUS_LOGGER_NAME = void 0;
exports.setLogLevel = exports.initLogger = exports.METICULOUS_LOGGER_NAME = void 0;
const loglevel_1 = __importDefault(require("loglevel"));
exports.METICULOUS_LOGGER_NAME = "@alwaysmeticulous";
const initLogger = () => {
const logger = loglevel_1.default.getLogger(exports.METICULOUS_LOGGER_NAME);
logger.setDefaultLevel(loglevel_1.default.levels.INFO);
return logger;
};
exports.initLogger = initLogger;
const setLogLevel = (logLevel) => {
const logger = loglevel_1.default.getLogger(exports.METICULOUS_LOGGER_NAME);
switch ((logLevel || "").toLocaleLowerCase()) {
case "trace":
logger.setLevel(loglevel_1.default.levels.TRACE, false);
break;
case "debug":
logger.setLevel(loglevel_1.default.levels.DEBUG, false);
break;
case "info":
logger.setLevel(loglevel_1.default.levels.INFO, false);
break;
case "warn":
logger.setLevel(loglevel_1.default.levels.WARN, false);
break;
case "error":
logger.setLevel(loglevel_1.default.levels.ERROR, false);
break;
case "silent":
logger.setLevel(loglevel_1.default.levels.SILENT, false);
break;
default:
break;
}
};
exports.setLogLevel = setLogLevel;
//# sourceMappingURL=console-logger.js.map
{
"name": "@alwaysmeticulous/common",
"version": "2.114.0",
"version": "2.115.0",
"description": "Meticulous common utilities",

@@ -47,3 +47,3 @@ "license": "ISC",

},
"gitHead": "ec71e1186c70d923c01f0b0d79c042443e027b06"
"gitHead": "ed7475cf1879dbf2e985622827d5870b1a92bb85"
}

Sorry, the diff of this file is not supported yet

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