@types/node 16.18.2 → 16.18.4

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.js (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: Wed, 26 Oct 2022 20:33:00 GMT
11
+ * Last updated: Wed, 30 Nov 2022 20:33:22 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node v16.18/crypto.d.ts CHANGED
@@ -1799,7 +1799,7 @@ declare module 'crypto' {
1799
1799
  * Return a random integer `n` such that `min <= n < max`. This
1800
1800
  * implementation avoids [modulo bias](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Modulo_bias).
1801
1801
  *
1802
- * The range (`max - min`) must be less than 248. `min` and `max` must
1802
+ * The range (`max - min`) must be less than `2**48`. `min` and `max` must
1803
1803
  * be [safe integers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger).
1804
1804
  *
1805
1805
  * If the `callback` function is not provided, the random integer is
@@ -3345,7 +3345,7 @@ declare module 'crypto' {
3345
3345
  interface CheckPrimeOptions {
3346
3346
  /**
3347
3347
  * The number of Miller-Rabin probabilistic primality iterations to perform.
3348
- * When the value is 0 (zero), a number of checks is used that yields a false positive rate of at most 2-64 for random input.
3348
+ * When the value is 0 (zero), a number of checks is used that yields a false positive rate of at most `2**-64` for random input.
3349
3349
  * Care must be used when selecting a number of checks.
3350
3350
  * Refer to the OpenSSL documentation for the BN_is_prime_ex function nchecks options for more details.
3351
3351
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.18.2",
3
+ "version": "16.18.4",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -214,7 +214,7 @@
214
214
  "main": "",
215
215
  "types": "index.d.ts",
216
216
  "typesVersions": {
217
- "<4.9.0-0": {
217
+ "<=4.8": {
218
218
  "*": [
219
219
  "ts4.8/*"
220
220
  ]
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "740a4a91bf04398bb328215daeb7952aa1691cfe329a2d9c03a157445fe86c16",
231
- "typeScriptVersion": "4.1"
230
+ "typesPublisherContentHash": "62a926424ba80ccb70834efca4fc5b1a5b7913bd9b837f5245784cc95cd859c3",
231
+ "typeScriptVersion": "4.2"
232
232
  }
@@ -1799,7 +1799,7 @@ declare module 'crypto' {
1799
1799
  * Return a random integer `n` such that `min <= n < max`. This
1800
1800
  * implementation avoids [modulo bias](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle#Modulo_bias).
1801
1801
  *
1802
- * The range (`max - min`) must be less than 248. `min` and `max` must
1802
+ * The range (`max - min`) must be less than `2**48`. `min` and `max` must
1803
1803
  * be [safe integers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger).
1804
1804
  *
1805
1805
  * If the `callback` function is not provided, the random integer is
@@ -3345,7 +3345,7 @@ declare module 'crypto' {
3345
3345
  interface CheckPrimeOptions {
3346
3346
  /**
3347
3347
  * The number of Miller-Rabin probabilistic primality iterations to perform.
3348
- * When the value is 0 (zero), a number of checks is used that yields a false positive rate of at most 2-64 for random input.
3348
+ * When the value is 0 (zero), a number of checks is used that yields a false positive rate of at most `2**-64` for random input.
3349
3349
  * Care must be used when selecting a number of checks.
3350
3350
  * Refer to the OpenSSL documentation for the BN_is_prime_ex function nchecks options for more details.
3351
3351
  *