@types/node 12.7.11 → 12.7.12

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 (3) hide show
  1. node/README.md +1 -1
  2. node/package.json +2 -2
  3. node/vm.d.ts +15 -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, 03 Oct 2019 20:33:32 GMT
11
+ * Last updated: Tue, 08 Oct 2019 20:17:21 GMT
12
12
  * Dependencies: none
13
13
  * Global values: Buffer, NodeJS, 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": "12.7.11",
3
+ "version": "12.7.12",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -211,6 +211,6 @@
211
211
  },
212
212
  "scripts": {},
213
213
  "dependencies": {},
214
- "typesPublisherContentHash": "2ad0572bebbded00c170200439c2078a7151ff0bf2970c6cd3bd91cdc0cbd5dc",
214
+ "typesPublisherContentHash": "fa0c2ca489bab10e8ffcfbc718f5d7e830d16a4a5052f710937529af9ff3b897",
215
215
  "typeScriptVersion": "2.0"
216
216
  }
node/vm.d.ts CHANGED
@@ -26,8 +26,23 @@ declare module "vm" {
26
26
  produceCachedData?: boolean;
27
27
  }
28
28
  interface RunningScriptOptions extends BaseOptions {
29
+ /**
30
+ * When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace.
31
+ * Default: `true`.
32
+ */
29
33
  displayErrors?: boolean;
34
+ /**
35
+ * Specifies the number of milliseconds to execute code before terminating execution.
36
+ * If execution is terminated, an `Error` will be thrown. This value must be a strictly positive integer.
37
+ */
30
38
  timeout?: number;
39
+ /**
40
+ * If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received.
41
+ * Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that.
42
+ * If execution is terminated, an `Error` will be thrown.
43
+ * Default: `false`.
44
+ */
45
+ breakOnSigint?: boolean;
31
46
  }
32
47
  interface CompileFunctionOptions extends BaseOptions {
33
48
  /**