@types/node 20.11.7 → 20.11.9
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 +8 -0
- node/package.json +2 -2
- node/ts4.8/crypto.d.ts +4 -0
- 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 10:06:50 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node/crypto.d.ts
CHANGED
|
@@ -4473,6 +4473,14 @@ declare module "crypto" {
|
|
|
4473
4473
|
): Promise<ArrayBuffer>;
|
|
4474
4474
|
}
|
|
4475
4475
|
}
|
|
4476
|
+
|
|
4477
|
+
global {
|
|
4478
|
+
var crypto: typeof globalThis extends {
|
|
4479
|
+
crypto: infer T;
|
|
4480
|
+
onmessage: any;
|
|
4481
|
+
} ? T
|
|
4482
|
+
: webcrypto.Crypto;
|
|
4483
|
+
}
|
|
4476
4484
|
}
|
|
4477
4485
|
declare module "node:crypto" {
|
|
4478
4486
|
export * from "crypto";
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.11.
|
|
3
|
+
"version": "20.11.9",
|
|
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": "ae90334defa60009929084d72ec3be253eb68e78ea7e53f2e188d16721f7a420",
|
|
228
228
|
"typeScriptVersion": "4.6",
|
|
229
229
|
"nonNpm": true
|
|
230
230
|
}
|
node/ts4.8/crypto.d.ts
CHANGED
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
|
* ```
|