@loglayer/shared
Advanced tools
+8
-2
@@ -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 |
+8
-2
@@ -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 @@ }, |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
65181
1.09%868
0.7%