@types/node 16.18.1 → 16.18.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 v16.18/README.md +1 -1
- node v16.18/crypto.d.ts +2 -2
- node v16.18/globals.d.ts +1 -1
- node v16.18/package.json +2 -2
- node v16.18/ts4.8/crypto.d.ts +2 -2
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:
|
|
11
|
+
* Last updated: Sun, 30 Oct 2022 19:33:00 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
|
|
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
|
|
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
|
*
|
node v16.18/globals.d.ts
CHANGED
node v16.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.18.
|
|
3
|
+
"version": "16.18.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": "
|
|
230
|
+
"typesPublisherContentHash": "6cbab5c86cc0eb791a7d4395d3141d9860024277b8ab6c7b6c2368e7db579db7",
|
|
231
231
|
"typeScriptVersion": "4.1"
|
|
232
232
|
}
|
node v16.18/ts4.8/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
|
|
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
|
|
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
|
*
|