@types/node 18.19.16 → 18.19.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
node v18.19/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v18.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 15 Feb 2024 10:07:24 GMT
11
+ * Last updated: Thu, 15 Feb 2024 16:36:06 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node v18.19/net.d.ts CHANGED
@@ -723,6 +723,11 @@ declare module "net" {
723
723
  */
724
724
  check(address: SocketAddress): boolean;
725
725
  check(address: string, type?: IPVersion): boolean;
726
+ /**
727
+ * The list of rules added to the blocklist.
728
+ * @since v15.0.0, v14.18.0
729
+ */
730
+ rules: readonly string[];
726
731
  }
727
732
  interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
728
733
  timeout?: number | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.19.16",
3
+ "version": "18.19.17",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -229,6 +229,6 @@
229
229
  "dependencies": {
230
230
  "undici-types": "~5.26.4"
231
231
  },
232
- "typesPublisherContentHash": "fc779caf4c4851e599ce7c1f13b85e3f32d200cafac091a78d5f58ff82591bee",
232
+ "typesPublisherContentHash": "1812e1487dd1f55811539aa7936a73c6ae7ec1c06a9644e242e13cdcddde6976",
233
233
  "typeScriptVersion": "4.6"
234
234
  }
@@ -723,6 +723,11 @@ declare module "net" {
723
723
  */
724
724
  check(address: SocketAddress): boolean;
725
725
  check(address: string, type?: IPVersion): boolean;
726
+ /**
727
+ * The list of rules added to the blocklist.
728
+ * @since v15.0.0, v14.18.0
729
+ */
730
+ rules: readonly string[];
726
731
  }
727
732
  interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
728
733
  timeout?: number | undefined;