You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@types/node

Package Overview
Dependencies
Maintainers
1
Versions
2315
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/node - npm Package Compare versions

Comparing version
22.15.10
to
22.15.11
+1
-1
node/cluster.d.ts

@@ -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"
}

@@ -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 @@