@types/node
Advanced tools
| { | ||
| "name": "@types/node", | ||
| "version": "22.18.2", | ||
| "version": "22.18.3", | ||
| "description": "TypeScript definitions for node", | ||
@@ -143,4 +143,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "83198f377c2306e358dd31a54282d4605bac51107db8c082a19ee3a99e936e6c", | ||
| "typesPublisherContentHash": "acbaf201149c3552c80f99f06f03140607c0267963779b7c3a1dac5f5de070b9", | ||
| "typeScriptVersion": "5.2" | ||
| } |
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Fri, 12 Sep 2025 19:32:39 GMT | ||
| * Last updated: Sat, 13 Sep 2025 00:03:47 GMT | ||
| * Dependencies: [undici-types](https://npmjs.com/package/undici-types) | ||
@@ -14,0 +14,0 @@ |
@@ -741,2 +741,20 @@ /** | ||
| function setEnvironmentData(key: Serializable, value?: Serializable): void; | ||
| /** | ||
| * Sends a value to another worker, identified by its thread ID. | ||
| * @param threadId The target thread ID. If the thread ID is invalid, a `ERR_WORKER_MESSAGING_FAILED` error will be thrown. | ||
| * If the target thread ID is the current thread ID, a `ERR_WORKER_MESSAGING_SAME_THREAD` error will be thrown. | ||
| * @param value The value to send. | ||
| * @param transferList If one or more `MessagePort`-like objects are passed in value, a `transferList` is required for those items | ||
| * or `ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST` is thrown. See `port.postMessage()` for more information. | ||
| * @param timeout Time to wait for the message to be delivered in milliseconds. By default it's `undefined`, which means wait forever. | ||
| * If the operation times out, a `ERR_WORKER_MESSAGING_TIMEOUT` error is thrown. | ||
| * @since v22.5.0 | ||
| */ | ||
| function postMessageToThread(threadId: number, value: any, timeout?: number): Promise<void>; | ||
| function postMessageToThread( | ||
| threadId: number, | ||
| value: any, | ||
| transferList: readonly Transferable[], | ||
| timeout?: number, | ||
| ): Promise<void>; | ||
@@ -743,0 +761,0 @@ import { |
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
2396160
0.05%52880
0.03%