Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@loglayer/shared

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loglayer/shared - npm Package Compare versions

Comparing version
3.2.0
to
3.3.0
+8
-2
dist/index.d.cts

@@ -330,2 +330,7 @@ //#region src/common.types.d.ts

/**
* Clears the context data. If keys are provided, only those keys will be removed.
* If no keys are provided, all context data will be cleared.
*/
clearContext(keys?: string | string[]): void;
/**
* Called when a child logger is created. Use to manipulate context data between parent and child.

@@ -594,7 +599,8 @@ */

/**
* Clears the context data.
* Clears the context data. If keys are provided, only those keys will be removed.
* If no keys are provided, all context data will be cleared.
*
* @see {@link https://loglayer.dev/logging-api/context.html | Context Docs}
*/
clearContext(): void;
clearContext(keys?: string | string[]): This;
/**

@@ -601,0 +607,0 @@ * Logs only the error object without a log message

@@ -330,2 +330,7 @@ //#region src/common.types.d.ts

/**
* Clears the context data. If keys are provided, only those keys will be removed.
* If no keys are provided, all context data will be cleared.
*/
clearContext(keys?: string | string[]): void;
/**
* Called when a child logger is created. Use to manipulate context data between parent and child.

@@ -594,7 +599,8 @@ */

/**
* Clears the context data.
* Clears the context data. If keys are provided, only those keys will be removed.
* If no keys are provided, all context data will be cleared.
*
* @see {@link https://loglayer.dev/logging-api/context.html | Context Docs}
*/
clearContext(): void;
clearContext(keys?: string | string[]): This;
/**

@@ -601,0 +607,0 @@ * Logs only the error object without a log message

+4
-4
{
"name": "@loglayer/shared",
"description": "Shared utilities and types for loglayer packages.",
"version": "3.2.0",
"version": "3.3.0",
"type": "module",

@@ -33,6 +33,6 @@ "main": "./dist/index.cjs",

"devDependencies": {
"@types/node": "24.10.2",
"tsdown": "0.17.2",
"@types/node": "25.0.3",
"tsdown": "0.18.2",
"typescript": "5.9.3",
"vitest": "4.0.15",
"vitest": "4.0.16",
"@internal/tsconfig": "2.1.0"

@@ -39,0 +39,0 @@ },