@types/node
Advanced tools
@@ -269,3 +269,3 @@ /** | ||
| */ | ||
| disconnect(): void; | ||
| disconnect(): this; | ||
| /** | ||
@@ -272,0 +272,0 @@ * This function returns `true` if the worker is connected to its primary via its |
@@ -550,2 +550,21 @@ /** | ||
| ): void; | ||
| /** | ||
| * `true` if any of the individual channels has a subscriber, `false` if not. | ||
| * | ||
| * This is a helper method available on a {@link TracingChannel} instance to check | ||
| * if any of the [TracingChannel Channels](https://nodejs.org/api/diagnostics_channel.html#tracingchannel-channels) have subscribers. | ||
| * A `true` is returned if any of them have at least one subscriber, a `false` is returned otherwise. | ||
| * | ||
| * ```js | ||
| * const diagnostics_channel = require('node:diagnostics_channel'); | ||
| * | ||
| * const channels = diagnostics_channel.tracingChannel('my-channel'); | ||
| * | ||
| * if (channels.hasSubscribers) { | ||
| * // Do something | ||
| * } | ||
| * ``` | ||
| * @since v22.0.0, v20.13.0 | ||
| */ | ||
| readonly hasSubscribers: boolean; | ||
| } | ||
@@ -552,0 +571,0 @@ } |
| { | ||
| "name": "@types/node", | ||
| "version": "22.15.10", | ||
| "version": "22.15.11", | ||
| "description": "TypeScript definitions for node", | ||
@@ -223,4 +223,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "bdc90bd0942261f84b89054e1e7e68c9bd68fe861b3efcf23413188a4d918b51", | ||
| "typesPublisherContentHash": "c2cae7f9ca3b55c597d98a0929b8bd669f671a0bb7eab698b0bcd3a51bdb020e", | ||
| "typeScriptVersion": "5.1" | ||
| } |
+1
-1
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Tue, 06 May 2025 01:29:57 GMT | ||
| * Last updated: Tue, 06 May 2025 02:14:23 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 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
2351585
0.04%52075
0.04%