@types/node 20.11.18 → 20.11.19

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.
Files changed (4) hide show
  1. node/README.md +1 -1
  2. node/net.d.ts +5 -0
  3. node/package.json +2 -2
  4. node/ts4.8/net.d.ts +5 -0
node/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.
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/net.d.ts CHANGED
@@ -736,6 +736,11 @@ declare module "net" {
736
736
  */
737
737
  check(address: SocketAddress): boolean;
738
738
  check(address: string, type?: IPVersion): boolean;
739
+ /**
740
+ * The list of rules added to the blocklist.
741
+ * @since v15.0.0, v14.18.0
742
+ */
743
+ rules: readonly string[];
739
744
  }
740
745
  interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
741
746
  timeout?: number | undefined;
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.11.18",
3
+ "version": "20.11.19",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -224,6 +224,6 @@
224
224
  "dependencies": {
225
225
  "undici-types": "~5.26.4"
226
226
  },
227
- "typesPublisherContentHash": "ebbb1659628d08ed4cd9663790fc53fdf85f7c7e2eb5d733010a94b3c7104873",
227
+ "typesPublisherContentHash": "e5351494b040e4613bdef02794923b8199853018b6e70876b889958da925d350",
228
228
  "typeScriptVersion": "4.6"
229
229
  }
node/ts4.8/net.d.ts CHANGED
@@ -736,6 +736,11 @@ declare module "net" {
736
736
  */
737
737
  check(address: SocketAddress): boolean;
738
738
  check(address: string, type?: IPVersion): boolean;
739
+ /**
740
+ * The list of rules added to the blocklist.
741
+ * @since v15.0.0, v14.18.0
742
+ */
743
+ rules: readonly string[];
739
744
  }
740
745
  interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
741
746
  timeout?: number | undefined;