@types/node 18.11.1 → 18.11.3

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.js (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: Tue, 18 Oct 2022 21:03:16 GMT
11
+ * Last updated: Thu, 20 Oct 2022 15:33:11 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
node/crypto.d.ts CHANGED
@@ -1830,7 +1830,7 @@ declare module 'crypto' {
1830
1830
  * Return a random integer `n` such that `min <= n < max`. This
1831
1831
  * implementation avoids [modulo bias](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Modulo_bias).
1832
1832
  *
1833
- * The range (`max - min`) must be less than 248. `min` and `max` must
1833
+ * The range (`max - min`) must be less than 2^48. `min` and `max` must
1834
1834
  * be [safe integers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger).
1835
1835
  *
1836
1836
  * If the `callback` function is not provided, the random integer is
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.11.1",
3
+ "version": "18.11.3",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "c8f8691b4f92923bd4e6925433514b26f00e54787c2bdb3dd4e1106075c7be64",
230
+ "typesPublisherContentHash": "1def7217eee83811dbb37996df5c17c6aa82ffd8bb1488a12aa3344fa6db8667",
231
231
  "typeScriptVersion": "4.1"
232
232
  }
node/querystring.d.ts CHANGED
@@ -6,9 +6,9 @@
6
6
  * const querystring = require('querystring');
7
7
  * ```
8
8
  *
9
- * The `querystring` API is considered Legacy. While it is still maintained,
10
- * new code should use the `URLSearchParams` API instead.
11
- * @deprecated Legacy
9
+ * `querystring` is more performant than `URLSearchParams` but is not a
10
+ * standardized API. Use `URLSearchParams` when performance is not critical
11
+ * or when compatibility with browser code is desirable.
12
12
  * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/querystring.js)
13
13
  */
14
14
  declare module 'querystring' {
node/ts4.8/crypto.d.ts CHANGED
@@ -1830,7 +1830,7 @@ declare module 'crypto' {
1830
1830
  * Return a random integer `n` such that `min <= n < max`. This
1831
1831
  * implementation avoids [modulo bias](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Modulo_bias).
1832
1832
  *
1833
- * The range (`max - min`) must be less than 248. `min` and `max` must
1833
+ * The range (`max - min`) must be less than 2^48. `min` and `max` must
1834
1834
  * be [safe integers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger).
1835
1835
  *
1836
1836
  * If the `callback` function is not provided, the random integer is
@@ -6,9 +6,9 @@
6
6
  * const querystring = require('querystring');
7
7
  * ```
8
8
  *
9
- * The `querystring` API is considered Legacy. While it is still maintained,
10
- * new code should use the `URLSearchParams` API instead.
11
- * @deprecated Legacy
9
+ * `querystring` is more performant than `URLSearchParams` but is not a
10
+ * standardized API. Use `URLSearchParams` when performance is not critical
11
+ * or when compatibility with browser code is desirable.
12
12
  * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/querystring.js)
13
13
  */
14
14
  declare module 'querystring' {