@types/node
Advanced tools
+21
-2
@@ -111,5 +111,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; | ||
@@ -354,3 +359,2 @@ /** | ||
| * @since v0.1.90 | ||
| * @param [encoding='utf8'] Only used when data is `string`. | ||
| * @param callback Optional callback for when the socket is finished. | ||
@@ -360,3 +364,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; | ||
@@ -363,0 +382,0 @@ /** |
| { | ||
| "name": "@types/node", | ||
| "version": "22.19.16", | ||
| "version": "22.19.17", | ||
| "description": "TypeScript definitions for node", | ||
@@ -143,4 +143,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "736f0175b429fadecae744cc3716068071696315adfb11c8a79d63649c0581c3", | ||
| "typesPublisherContentHash": "3ff369a303a30a35cbff13aa6763f9465d48e5b0ee79675ae060a4eecfb0d9e3", | ||
| "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 7 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 7 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
2424923
0.09%53568
0.08%