@types/node
Advanced tools
@@ -300,3 +300,8 @@ /** | ||
| */ | ||
| runStores(): void; | ||
| runStores<ThisArg = any, Args extends any[] = any[], Result = any>( | ||
| context: ContextType, | ||
| fn: (this: ThisArg, ...args: Args) => Result, | ||
| thisArg?: ThisArg, | ||
| ...args: Args | ||
| ): Result; | ||
| } | ||
@@ -445,8 +450,8 @@ interface TracingChannelSubscribers<ContextType extends object> { | ||
| */ | ||
| traceSync<ThisArg = any, Args extends any[] = any[]>( | ||
| fn: (this: ThisArg, ...args: Args) => any, | ||
| traceSync<ThisArg = any, Args extends any[] = any[], Result = any>( | ||
| fn: (this: ThisArg, ...args: Args) => Result, | ||
| context?: ContextType, | ||
| thisArg?: ThisArg, | ||
| ...args: Args | ||
| ): void; | ||
| ): Result; | ||
| /** | ||
@@ -481,8 +486,8 @@ * Trace a promise-returning function call. This will always produce a `start event` and `end event` around the synchronous portion of the | ||
| */ | ||
| tracePromise<ThisArg = any, Args extends any[] = any[]>( | ||
| fn: (this: ThisArg, ...args: Args) => Promise<any>, | ||
| tracePromise<ThisArg = any, Args extends any[] = any[], Result = any>( | ||
| fn: (this: ThisArg, ...args: Args) => Promise<Result>, | ||
| context?: ContextType, | ||
| thisArg?: ThisArg, | ||
| ...args: Args | ||
| ): void; | ||
| ): Promise<Result>; | ||
| /** | ||
@@ -546,9 +551,9 @@ * Trace a callback-receiving function call. This will always produce a `start event` and `end event` around the synchronous portion of the | ||
| */ | ||
| traceCallback<Fn extends (this: any, ...args: any) => any>( | ||
| fn: Fn, | ||
| position: number | undefined, | ||
| context: ContextType | undefined, | ||
| thisArg: any, | ||
| ...args: Parameters<Fn> | ||
| ): void; | ||
| traceCallback<ThisArg = any, Args extends any[] = any[], Result = any>( | ||
| fn: (this: ThisArg, ...args: Args) => Result, | ||
| position?: number, | ||
| context?: ContextType, | ||
| thisArg?: ThisArg, | ||
| ...args: Args | ||
| ): Result; | ||
| /** | ||
@@ -555,0 +560,0 @@ * `true` if any of the individual channels has a subscriber, `false` if not. |
| { | ||
| "name": "@types/node", | ||
| "version": "20.17.56", | ||
| "version": "20.17.57", | ||
| "description": "TypeScript definitions for node", | ||
@@ -218,4 +218,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "ddf7418b1f0caba5f31ee191d962a78ad585fe35743479485c976575872c2305", | ||
| "typesPublisherContentHash": "de4afaeeebba1c817d4b710b6b8ff1fd26e64feb91d812e75ee363af457f244a", | ||
| "typeScriptVersion": "5.1" | ||
| } |
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Fri, 30 May 2025 15:02:22 GMT | ||
| * Last updated: Fri, 30 May 2025 18:40:02 GMT | ||
| * Dependencies: [undici-types](https://npmjs.com/package/undici-types) | ||
@@ -14,0 +14,0 @@ |
Network access
Supply chain riskThis module accesses the network.
Found 9 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 11 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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 6 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances 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
Network access
Supply chain riskThis module accesses the network.
Found 9 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 11 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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 6 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances 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
2239169
0.01%49662
0.01%