@@ -1,2 +0,2 @@ | ||
| import type { Logger, MessageContext, MessageEventHandler } from '../types'; | ||
| export declare const createLogger: (onMessage: MessageEventHandler, parentContext?: MessageContext) => Logger; | ||
| import type { Logger, MessageEventHandler } from '../types'; | ||
| export declare const createLogger: (onMessage: MessageEventHandler, parentContext?: import("../types").JsonObject | undefined) => Logger; |
@@ -50,3 +50,3 @@ "use strict"; | ||
| else { | ||
| context = parentContext || defaultContext; | ||
| context = parentContext !== null && parentContext !== void 0 ? parentContext : defaultContext; | ||
| } | ||
@@ -103,3 +103,3 @@ } | ||
| ...getAsyncLocalContext(), | ||
| ...parentContext || defaultContext, | ||
| ...parentContext !== null && parentContext !== void 0 ? parentContext : defaultContext, | ||
| }; | ||
@@ -106,0 +106,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
| import type { Logger, MessageContext, MessageEventHandler } from '../types'; | ||
| export declare const createMockLogger: (onMessage: MessageEventHandler, parentContext?: MessageContext) => Logger; | ||
| import type { Logger, MessageEventHandler } from '../types'; | ||
| export declare const createMockLogger: (onMessage: MessageEventHandler, parentContext?: import("../types").JsonObject | undefined) => Logger; |
| /// <reference types="node" /> | ||
| import type { AsyncLocalStorage } from 'async_hooks'; | ||
| export declare type JsonObject = { | ||
| [key: string]: JsonValue; | ||
| }; | ||
| export declare type JsonValue = JsonObject | JsonValue[] | boolean | number | string | null; | ||
| export declare type LogWriter = (message: string) => void; | ||
| export declare type MessageContext = any; | ||
| export declare type MessageContext = JsonObject; | ||
| export declare type RoarrGlobalState = { | ||
@@ -6,0 +10,0 @@ asyncLocalStorage?: AsyncLocalStorage<MessageContext>; |
+1
-1
@@ -76,3 +76,3 @@ { | ||
| "typings": "./dist/src/Roarr.d.ts", | ||
| "version": "7.4.2" | ||
| "version": "7.5.0" | ||
| } |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
75743
0.39%1511
0.27%