@types/node 16.18.81 → 16.18.82

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 v16.18/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/v16.
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: none
13
13
 
14
14
  # Credits
node v16.18/net.d.ts CHANGED
@@ -683,6 +683,11 @@ declare module "net" {
683
683
  */
684
684
  check(address: SocketAddress): boolean;
685
685
  check(address: string, type?: IPVersion): boolean;
686
+ /**
687
+ * The list of rules added to the blocklist.
688
+ * @since v15.0.0, v14.18.0
689
+ */
690
+ rules: readonly string[];
686
691
  }
687
692
  interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
688
693
  timeout?: number | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.18.81",
3
+ "version": "16.18.82",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -222,6 +222,6 @@
222
222
  },
223
223
  "scripts": {},
224
224
  "dependencies": {},
225
- "typesPublisherContentHash": "ae03b227c3d602f42dd30296514410e0f03c04128303e667d569752dad86921f",
225
+ "typesPublisherContentHash": "03653f6721d8622948205aecc8c9ea0a0d7971cd6e4c6cbce373b1edafd75cb0",
226
226
  "typeScriptVersion": "4.6"
227
227
  }
@@ -683,6 +683,11 @@ declare module "net" {
683
683
  */
684
684
  check(address: SocketAddress): boolean;
685
685
  check(address: string, type?: IPVersion): boolean;
686
+ /**
687
+ * The list of rules added to the blocklist.
688
+ * @since v15.0.0, v14.18.0
689
+ */
690
+ rules: readonly string[];
686
691
  }
687
692
  interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
688
693
  timeout?: number | undefined;