@types/node 14.14.36 → 14.14.37

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.
Files changed (4) hide show
  1. node/README.md +1 -1
  2. node/async_hooks.d.ts +1 -1
  3. node/package.json +2 -2
  4. node/vm.d.ts +4 -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: Thu, 25 Mar 2021 18:01:17 GMT
11
+ * Last updated: Sat, 27 Mar 2021 00:01:17 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node/async_hooks.d.ts CHANGED
@@ -151,7 +151,7 @@ declare module 'async_hooks' {
151
151
  /**
152
152
  * Call AsyncHooks destroy callbacks.
153
153
  */
154
- emitDestroy(): void;
154
+ emitDestroy(): this;
155
155
 
156
156
  /**
157
157
  * @return the unique ID assigned to this AsyncResource instance.
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "14.14.36",
3
+ "version": "14.14.37",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -231,6 +231,6 @@
231
231
  },
232
232
  "scripts": {},
233
233
  "dependencies": {},
234
- "typesPublisherContentHash": "7fc7a1ccd5ac4abb012f999b235b462bc8835d81eed319cb4555a0fba9731e85",
234
+ "typesPublisherContentHash": "f02c816ba8df5df4174feb1c57ce0d4ec89ba3eb1ee63a224ae7143e07aee695",
235
235
  "typeScriptVersion": "3.5"
236
236
  }
node/vm.d.ts CHANGED
@@ -99,6 +99,10 @@ declare module 'vm' {
99
99
  */
100
100
  wasm?: boolean;
101
101
  };
102
+ /**
103
+ * If set to `afterEvaluate`, microtasks will be run immediately after the script has run.
104
+ */
105
+ microtaskMode?: 'afterEvaluate';
102
106
  }
103
107
 
104
108
  type MeasureMemoryMode = 'summary' | 'detailed';