@types/node
Advanced tools
+21
-2
@@ -114,5 +114,10 @@ /** | ||
| * @since v0.1.90 | ||
| */ | ||
| write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; | ||
| /** | ||
| * Sends data on the socket, with an explicit encoding for string data. | ||
| * @see {@link Socket.write} for full details. | ||
| * @since v0.1.90 | ||
| * @param [encoding='utf8'] Only used when data is `string`. | ||
| */ | ||
| write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; | ||
| write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; | ||
@@ -357,3 +362,2 @@ /** | ||
| * @since v0.1.90 | ||
| * @param [encoding='utf8'] Only used when data is `string`. | ||
| * @param callback Optional callback for when the socket is finished. | ||
@@ -363,3 +367,18 @@ * @return The socket itself. | ||
| end(callback?: () => void): this; | ||
| /** | ||
| * Half-closes the socket, with one final chunk of data. | ||
| * @see {@link Socket.end} for full details. | ||
| * @since v0.1.90 | ||
| * @param callback Optional callback for when the socket is finished. | ||
| * @return The socket itself. | ||
| */ | ||
| end(buffer: Uint8Array | string, callback?: () => void): this; | ||
| /** | ||
| * Half-closes the socket, with one final chunk of data. | ||
| * @see {@link Socket.end} for full details. | ||
| * @since v0.1.90 | ||
| * @param [encoding='utf8'] Only used when data is `string`. | ||
| * @param callback Optional callback for when the socket is finished. | ||
| * @return The socket itself. | ||
| */ | ||
| end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this; | ||
@@ -366,0 +385,0 @@ /** |
| { | ||
| "name": "@types/node", | ||
| "version": "20.19.38", | ||
| "version": "20.19.39", | ||
| "description": "TypeScript definitions for node", | ||
@@ -138,4 +138,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "6e3d67a181dc0915a08aad0eb475d34f39ffdec250fbb907362f7790cc3c9ff2", | ||
| "typesPublisherContentHash": "871323d2249864178e2cf14d45e1136232baed800bb0184748818383371a02fb", | ||
| "typeScriptVersion": "5.3" | ||
| } |
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Fri, 03 Apr 2026 09:18:15 GMT | ||
| * Last updated: Fri, 03 Apr 2026 11:14:41 GMT | ||
| * Dependencies: [undici-types](https://npmjs.com/package/undici-types) | ||
@@ -14,0 +14,0 @@ |
Sorry, the diff of this file is too big to display
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
2286498
0.1%50467
0.08%