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

@nexeraid/logger

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexeraid/logger - npm Package Compare versions

Comparing version 2.3.25 to 2.3.39-dev

14

dist/declarations/src/index.d.ts

@@ -8,8 +8,8 @@ /**

*/
export type LoggerLevel = "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent";
export declare const loggerLevels: readonly ["fatal", "error", "warn", "info", "debug", "trace", "silent"];
export declare const LOGGER_LEVELS: readonly ["fatal", "error", "warn", "info", "debug", "trace", "silent"];
export type LoggerLevel = (typeof LOGGER_LEVELS)[number];
type LogFn = {
<T extends object>(obj: T, msg?: string, ...args: any[]): void;
(obj: unknown, msg?: string, ...args: any[]): void;
(msg: string, ...args: any[]): void;
<T extends object>(obj: T, msg?: string, ...args: unknown[]): void;
(obj: unknown, msg?: string, ...args: unknown[]): void;
(msg: string, ...args: unknown[]): void;
};

@@ -24,3 +24,3 @@ export type Logger = {

silent: LogFn;
child: (bindings: Record<string, any>, options?: {
child: (bindings: Record<string, unknown>, options?: {
level?: LoggerLevel;

@@ -30,3 +30,3 @@ redact?: string[];

}) => Logger;
setBindings: (bindings: Record<string, any>) => void;
setBindings: (bindings: Record<string, unknown>) => void;
};

@@ -33,0 +33,0 @@ export declare const createLogger: (config: {

@@ -20,3 +20,3 @@ 'use strict';

var loggerLevels = ["fatal", "error", "warn", "info", "debug", "trace", "silent"];
var LOGGER_LEVELS = ["fatal", "error", "warn", "info", "debug", "trace", "silent"];
var createLogger = function createLogger(config) {

@@ -57,4 +57,4 @@ var _config$level;

exports.LOGGER_LEVELS = LOGGER_LEVELS;
exports.createLogTimer = createLogTimer;
exports.createLogger = createLogger;
exports.loggerLevels = loggerLevels;

@@ -20,3 +20,3 @@ 'use strict';

var loggerLevels = ["fatal", "error", "warn", "info", "debug", "trace", "silent"];
var LOGGER_LEVELS = ["fatal", "error", "warn", "info", "debug", "trace", "silent"];
var createLogger = function createLogger(config) {

@@ -57,4 +57,4 @@ var _config$level;

exports.LOGGER_LEVELS = LOGGER_LEVELS;
exports.createLogTimer = createLogTimer;
exports.createLogger = createLogger;
exports.loggerLevels = loggerLevels;

@@ -12,3 +12,3 @@ import pino from 'pino';

var loggerLevels = ["fatal", "error", "warn", "info", "debug", "trace", "silent"];
var LOGGER_LEVELS = ["fatal", "error", "warn", "info", "debug", "trace", "silent"];
var createLogger = function createLogger(config) {

@@ -49,2 +49,2 @@ var _config$level;

export { createLogTimer, createLogger, loggerLevels };
export { LOGGER_LEVELS, createLogTimer, createLogger };
{
"name": "@nexeraid/logger",
"version": "2.3.25",
"version": "2.3.39",
"description": "Unblokt Technology Logger for node and browser",

@@ -49,3 +49,3 @@ "keywords": [],

"browserify": "^17.0.1",
"pino": "^9.4.0",
"pino": "^9.5.0",
"pino-std-serializers": "^7.0.0",

@@ -52,0 +52,0 @@ "zod": "^3.23.8"

{
"name": "@nexeraid/logger",
"version": "2.3.25",
"version": "2.3.39-dev",
"description": "Unblokt Technology Logger for node and browser",

@@ -35,3 +35,3 @@ "keywords": [],

"browserify": "^17.0.1",
"pino": "^9.4.0",
"pino": "^9.5.0",
"pino-std-serializers": "^7.0.0",

@@ -38,0 +38,0 @@ "zod": "^3.23.8"

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