@types/node 13.9.4 → 13.9.5
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/package.json +2 -2
- node/worker_threads.d.ts +2 -0
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://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: Fri, 27 Mar 2020 16:47:31 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "13.9.
|
|
3
|
+
"version": "13.9.5",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -241,6 +241,6 @@
|
|
|
241
241
|
},
|
|
242
242
|
"scripts": {},
|
|
243
243
|
"dependencies": {},
|
|
244
|
-
"typesPublisherContentHash": "
|
|
244
|
+
"typesPublisherContentHash": "9ed5f85eadcb83205d46c14fe467bff74e275854fe9f3070ea6cc9b0a0ddea0f",
|
|
245
245
|
"typeScriptVersion": "2.8"
|
|
246
246
|
}
|
node/worker_threads.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ declare module "worker_threads" {
|
|
|
5
5
|
|
|
6
6
|
const isMainThread: boolean;
|
|
7
7
|
const parentPort: null | MessagePort;
|
|
8
|
+
const SHARE_ENV: unique symbol;
|
|
8
9
|
const threadId: number;
|
|
9
10
|
const workerData: any;
|
|
10
11
|
|
|
@@ -61,6 +62,7 @@ declare module "worker_threads" {
|
|
|
61
62
|
* were passed as CLI options to the script.
|
|
62
63
|
*/
|
|
63
64
|
argv?: any[];
|
|
65
|
+
env?: NodeJS.ProcessEnv | typeof SHARE_ENV;
|
|
64
66
|
eval?: boolean;
|
|
65
67
|
workerData?: any;
|
|
66
68
|
stdin?: boolean;
|