@types/node
Advanced tools
+12
-6
@@ -383,3 +383,3 @@ /** | ||
| event: "connectionAttemptFailed", | ||
| listener: (ip: string, port: number, family: number) => void, | ||
| listener: (ip: string, port: number, family: number, error: Error) => void, | ||
| ): this; | ||
@@ -404,3 +404,3 @@ addListener( | ||
| emit(event: "connectionAttempt", ip: string, port: number, family: number): boolean; | ||
| emit(event: "connectionAttemptFailed", ip: string, port: number, family: number): boolean; | ||
| emit(event: "connectionAttemptFailed", ip: string, port: number, family: number, error: Error): boolean; | ||
| emit(event: "connectionAttemptTimeout", ip: string, port: number, family: number): boolean; | ||
@@ -418,3 +418,6 @@ emit(event: "data", data: Buffer): boolean; | ||
| on(event: "connectionAttempt", listener: (ip: string, port: number, family: number) => void): this; | ||
| on(event: "connectionAttemptFailed", listener: (ip: string, port: number, family: number) => void): this; | ||
| on( | ||
| event: "connectionAttemptFailed", | ||
| listener: (ip: string, port: number, family: number, error: Error) => void, | ||
| ): this; | ||
| on(event: "connectionAttemptTimeout", listener: (ip: string, port: number, family: number) => void): this; | ||
@@ -434,3 +437,6 @@ on(event: "data", listener: (data: Buffer) => void): this; | ||
| once(event: "connectionAttempt", listener: (ip: string, port: number, family: number) => void): this; | ||
| once(event: "connectionAttemptFailed", listener: (ip: string, port: number, family: number) => void): this; | ||
| once( | ||
| event: "connectionAttemptFailed", | ||
| listener: (ip: string, port: number, family: number, error: Error) => void, | ||
| ): this; | ||
| once(event: "connectionAttemptTimeout", listener: (ip: string, port: number, family: number) => void): this; | ||
@@ -454,3 +460,3 @@ once(event: "connect", listener: () => void): this; | ||
| event: "connectionAttemptFailed", | ||
| listener: (ip: string, port: number, family: number) => void, | ||
| listener: (ip: string, port: number, family: number, error: Error) => void, | ||
| ): this; | ||
@@ -480,3 +486,3 @@ prependListener( | ||
| event: "connectionAttemptFailed", | ||
| listener: (ip: string, port: number, family: number) => void, | ||
| listener: (ip: string, port: number, family: number, error: Error) => void, | ||
| ): this; | ||
@@ -483,0 +489,0 @@ prependOnceListener( |
| { | ||
| "name": "@types/node", | ||
| "version": "20.17.41", | ||
| "version": "20.17.42", | ||
| "description": "TypeScript definitions for node", | ||
@@ -218,4 +218,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "24279a289e020b8b96026edda2c1646e549388e0c1ab01ec9d6fff3817312aa9", | ||
| "typesPublisherContentHash": "4b285156875e55406a8bd30813f87bc69c2a709af083ecf6c356453c4f4200da", | ||
| "typeScriptVersion": "5.1" | ||
| } |
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Tue, 06 May 2025 06:03:40 GMT | ||
| * Last updated: Tue, 06 May 2025 17:02:31 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
2235674
0.01%49561
0.01%