@types/node 20.11.9 → 20.11.11

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/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: Sun, 28 Jan 2024 10:06:50 GMT
11
+ * Last updated: Tue, 30 Jan 2024 19:07:04 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/crypto.d.ts CHANGED
@@ -1920,7 +1920,7 @@ declare module "crypto" {
1920
1920
  * Return a random integer `n` such that `min <= n < max`. This
1921
1921
  * implementation avoids [modulo bias](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Modulo_bias).
1922
1922
  *
1923
- * The range (`max - min`) must be less than 248. `min` and `max` must
1923
+ * The range (`max - min`) must be less than 2**48. `min` and `max` must
1924
1924
  * be [safe integers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger).
1925
1925
  *
1926
1926
  * If the `callback` function is not provided, the random integer is
node/net.d.ts CHANGED
@@ -628,7 +628,7 @@ declare module "net" {
628
628
  * Indicates whether or not the server is listening for connections.
629
629
  * @since v5.7.0
630
630
  */
631
- listening: boolean;
631
+ readonly listening: boolean;
632
632
  /**
633
633
  * events.EventEmitter
634
634
  * 1. close
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.11.9",
3
+ "version": "20.11.11",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -224,7 +224,7 @@
224
224
  "dependencies": {
225
225
  "undici-types": "~5.26.4"
226
226
  },
227
- "typesPublisherContentHash": "ae90334defa60009929084d72ec3be253eb68e78ea7e53f2e188d16721f7a420",
227
+ "typesPublisherContentHash": "c76b1d6e6ddcd9173771e2715dd52ab36743a1a7bd8f4e68d92685803e6dfb69",
228
228
  "typeScriptVersion": "4.6",
229
229
  "nonNpm": true
230
230
  }
node/ts4.8/crypto.d.ts CHANGED
@@ -1920,7 +1920,7 @@ declare module "crypto" {
1920
1920
  * Return a random integer `n` such that `min <= n < max`. This
1921
1921
  * implementation avoids [modulo bias](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Modulo_bias).
1922
1922
  *
1923
- * The range (`max - min`) must be less than 248. `min` and `max` must
1923
+ * The range (`max - min`) must be less than 2**48. `min` and `max` must
1924
1924
  * be [safe integers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger).
1925
1925
  *
1926
1926
  * If the `callback` function is not provided, the random integer is
node/ts4.8/net.d.ts CHANGED
@@ -628,7 +628,7 @@ declare module "net" {
628
628
  * Indicates whether or not the server is listening for connections.
629
629
  * @since v5.7.0
630
630
  */
631
- listening: boolean;
631
+ readonly listening: boolean;
632
632
  /**
633
633
  * events.EventEmitter
634
634
  * 1. close