@types/node 20.11.8 → 20.11.10
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 +1 -1
- node/crypto.d.ts +2 -1
- node/package.json +2 -2
- node/ts4.8/crypto.d.ts +1 -1
- node/ts4.8/wasi.d.ts +1 -1
- node/wasi.d.ts +1 -1
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:
|
|
11
|
+
* Last updated: Sun, 28 Jan 2024 19:35:24 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
|
|
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
|
|
@@ -4477,6 +4477,7 @@ declare module "crypto" {
|
|
|
4477
4477
|
global {
|
|
4478
4478
|
var crypto: typeof globalThis extends {
|
|
4479
4479
|
crypto: infer T;
|
|
4480
|
+
onmessage: any;
|
|
4480
4481
|
} ? T
|
|
4481
4482
|
: webcrypto.Crypto;
|
|
4482
4483
|
}
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.11.
|
|
3
|
+
"version": "20.11.10",
|
|
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": "
|
|
227
|
+
"typesPublisherContentHash": "897aa7f7b2ef28b325dc21b77e81fb89f7e55a10a0d587e1d8ed0c8128302e0b",
|
|
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
|
|
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/wasi.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ declare module "wasi" {
|
|
|
131
131
|
* Return an import object that can be passed to `WebAssembly.instantiate()` if no other WASM imports are needed beyond those provided by WASI.
|
|
132
132
|
*
|
|
133
133
|
* If version `unstable` was passed into the constructor it will return:
|
|
134
|
-
*
|
|
134
|
+
*
|
|
135
135
|
* ```js
|
|
136
136
|
* { wasi_unstable: wasi.wasiImport }
|
|
137
137
|
* ```
|
node/wasi.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ declare module "wasi" {
|
|
|
131
131
|
* Return an import object that can be passed to `WebAssembly.instantiate()` if no other WASM imports are needed beyond those provided by WASI.
|
|
132
132
|
*
|
|
133
133
|
* If version `unstable` was passed into the constructor it will return:
|
|
134
|
-
*
|
|
134
|
+
*
|
|
135
135
|
* ```js
|
|
136
136
|
* { wasi_unstable: wasi.wasiImport }
|
|
137
137
|
* ```
|