@loglayer/shared
Advanced tools
+9
-0
@@ -305,2 +305,7 @@ //#region src/common.types.d.ts | ||
| * Interface for implementing a context manager instance. | ||
| * | ||
| * If your context manager needs to clean up resources (like file handles, memory, or external connections), | ||
| * you can optionally implement the {@link https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html#using-declarations-and-explicit-resource-management | Disposable} interface. | ||
| * LogLayer will automatically call the dispose method when the context manager is replaced using `withContextManager()`. | ||
| * | ||
| * @see {@link https://loglayer.dev/context-managers/creating-context-managers.html | Creating Context Managers Docs} | ||
@@ -361,2 +366,6 @@ */ | ||
| * | ||
| * If your log level manager needs to clean up resources (like parent-child references, memory, or external connections), | ||
| * you can optionally implement the {@link https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html#using-declarations-and-explicit-resource-management | Disposable} interface. | ||
| * LogLayer will automatically call the dispose method when the log level manager is replaced using `withLogLevelManager()`. | ||
| * | ||
| * @see {@link https://loglayer.dev/log-level-managers/creating-log-level-managers.html | Creating Log Level Managers Docs} | ||
@@ -363,0 +372,0 @@ */ |
+9
-0
@@ -305,2 +305,7 @@ //#region src/common.types.d.ts | ||
| * Interface for implementing a context manager instance. | ||
| * | ||
| * If your context manager needs to clean up resources (like file handles, memory, or external connections), | ||
| * you can optionally implement the {@link https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html#using-declarations-and-explicit-resource-management | Disposable} interface. | ||
| * LogLayer will automatically call the dispose method when the context manager is replaced using `withContextManager()`. | ||
| * | ||
| * @see {@link https://loglayer.dev/context-managers/creating-context-managers.html | Creating Context Managers Docs} | ||
@@ -361,2 +366,6 @@ */ | ||
| * | ||
| * If your log level manager needs to clean up resources (like parent-child references, memory, or external connections), | ||
| * you can optionally implement the {@link https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html#using-declarations-and-explicit-resource-management | Disposable} interface. | ||
| * LogLayer will automatically call the dispose method when the log level manager is replaced using `withLogLevelManager()`. | ||
| * | ||
| * @see {@link https://loglayer.dev/log-level-managers/creating-log-level-managers.html | Creating Log Level Managers Docs} | ||
@@ -363,0 +372,0 @@ */ |
+1
-1
| { | ||
| "name": "@loglayer/shared", | ||
| "description": "Shared utilities and types for loglayer packages.", | ||
| "version": "3.0.0", | ||
| "version": "3.0.1", | ||
| "type": "module", | ||
@@ -6,0 +6,0 @@ "main": "./dist/index.cjs", |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
59642
3.06%801
1.14%