@@ -146,11 +146,11 @@ changes:
146
146
* ` timeout ` {integer} Specifies the number of milliseconds to execute ` code `
147
147
before terminating execution. If execution is terminated, an [ ` Error ` ] [ ]
148
148
will be thrown. This value must be a strictly positive integer.
149
- * ` breakOnSigint ` {boolean} If ` true ` , execution is terminated when ` SIGINT `
150
- (<kbd >Ctrl</kbd >+<kbd >C</kbd >) is received. Existing handlers for the
151
- event that have been attached via ` process.on('SIGINT') ` are disabled
152
- during script execution, but continue to work after that. If execution
153
- is terminated, an [ ` Error ` ] [ ] is thrown . ** Default:** ` false ` .
149
+ * ` breakOnSigint ` {boolean} If ` true ` , receiving ` SIGINT `
150
+ (<kbd >Ctrl</kbd >+<kbd >C</kbd >) will terminate execution and throw an
151
+ [ ` Error ` ] [ ] . Existing handlers for the event that have been attached via
152
+ ` process.on('SIGINT') ` are disabled during script execution, but continue to
153
+ work after that . ** Default:** ` false ` .
154
154
* Returns: {any} the result of the very last statement executed in the script.
155
155
156
156
Runs the compiled code contained by the ` vm.Script ` object within the given
@@ -208,11 +208,11 @@ changes:
208
208
* ` timeout ` {integer} Specifies the number of milliseconds to execute ` code `
209
209
before terminating execution. If execution is terminated, an [ ` Error ` ] [ ]
210
210
will be thrown. This value must be a strictly positive integer.
211
- * ` breakOnSigint ` {boolean} If ` true ` , execution is terminated when ` SIGINT `
212
- (<kbd >Ctrl</kbd >+<kbd >C</kbd >) is received. Existing handlers for the
213
- event that have been attached via ` process.on('SIGINT') ` are disabled
214
- during script execution, but continue to work after that. If execution
215
- is terminated, an [ ` Error ` ] [ ] is thrown . ** Default:** ` false ` .
211
+ * ` breakOnSigint ` {boolean} If ` true ` , receiving ` SIGINT `
212
+ (<kbd >Ctrl</kbd >+<kbd >C</kbd >) will terminate execution and throw an
213
+ [ ` Error ` ] [ ] . Existing handlers for the event that have been attached via
214
+ ` process.on('SIGINT') ` are disabled during script execution, but continue to
215
+ work after that . ** Default:** ` false ` .
216
216
* ` contextName ` {string} Human-readable name of the newly created context.
217
217
** Default:** ` 'VM Context i' ` , where ` i ` is an ascending numerical index of
218
218
the created context.
@@ -272,11 +272,11 @@ changes:
272
272
* ` timeout ` {integer} Specifies the number of milliseconds to execute ` code `
273
273
before terminating execution. If execution is terminated, an [ ` Error ` ] [ ]
274
274
will be thrown. This value must be a strictly positive integer.
275
- * ` breakOnSigint ` {boolean} If ` true ` , execution is terminated when ` SIGINT `
276
- (<kbd >Ctrl</kbd >+<kbd >C</kbd >) is received. Existing handlers for the
277
- event that have been attached via ` process.on('SIGINT') ` are disabled
278
- during script execution, but continue to work after that. If execution
279
- is terminated, an [ ` Error ` ] [ ] is thrown . ** Default:** ` false ` .
275
+ * ` breakOnSigint ` {boolean} If ` true ` , receiving ` SIGINT `
276
+ (<kbd >Ctrl</kbd >+<kbd >C</kbd >) will terminate execution and throw an
277
+ [ ` Error ` ] [ ] . Existing handlers for the event that have been attached via
278
+ ` process.on('SIGINT') ` are disabled during script execution, but continue to
279
+ work after that . ** Default:** ` false ` .
280
280
* Returns: {any} the result of the very last statement executed in the script.
281
281
282
282
Runs the compiled code contained by the ` vm.Script ` within the context of the
@@ -511,11 +511,11 @@ in the ECMAScript specification.
511
511
* ` timeout ` {integer} Specifies the number of milliseconds to evaluate
512
512
before terminating execution. If execution is interrupted, an [ ` Error ` ] [ ]
513
513
will be thrown. This value must be a strictly positive integer.
514
- * ` breakOnSigint ` {boolean} If ` true ` , execution is terminated when ` SIGINT `
515
- (<kbd >Ctrl</kbd >+<kbd >C</kbd >) is received. Existing handlers for the
516
- event that have been attached via ` process.on('SIGINT') ` are disabled
517
- during script execution, but continue to work after that. If execution
518
- is interrupted, an [ ` Error ` ] [ ] is thrown . ** Default:** ` false ` .
514
+ * ` breakOnSigint ` {boolean} If ` true ` , receiving ` SIGINT `
515
+ (<kbd >Ctrl</kbd >+<kbd >C</kbd >) will terminate execution and throw an
516
+ [ ` Error ` ] [ ] . Existing handlers for the event that have been attached via
517
+ ` process.on('SIGINT') ` are disabled during script execution, but continue to
518
+ work after that . ** Default:** ` false ` .
519
519
* Returns: {Promise}
520
520
521
521
Evaluate the module.
@@ -959,11 +959,11 @@ changes:
959
959
* `timeout` {integer} Specifies the number of milliseconds to execute `code`
960
960
before terminating execution. If execution is terminated, an [`Error`][]
961
961
will be thrown. This value must be a strictly positive integer.
962
- * `breakOnSigint` {boolean} If `true`, execution is terminated when `SIGINT`
963
- (<kbd>Ctrl</kbd>+<kbd>C</kbd>) is received. Existing handlers for the
964
- event that have been attached via `process.on( ' SIGINT ' )` are disabled
965
- during script execution, but continue to work after that. If execution
966
- is terminated, an [`Error`][] is thrown . **Default:** `false`.
962
+ * `breakOnSigint` {boolean} If `true`, receiving `SIGINT`
963
+ (<kbd>Ctrl</kbd>+<kbd>C</kbd>) will terminate execution and throw an
964
+ [`Error`][]. Existing handlers for the event that have been attached via
965
+ `process.on( ' SIGINT ' )` are disabled during script execution, but continue to
966
+ work after that . **Default:** `false`.
967
967
* `cachedData` {Buffer|TypedArray|DataView} Provides an optional `Buffer` or
968
968
`TypedArray`, or `DataView` with V8' s code cache data for the supplied
969
969
source . When supplied, the ` cachedDataRejected` value will be set to
@@ -1042,11 +1042,11 @@ changes:
1042
1042
* `timeout` {integer} Specifies the number of milliseconds to execute `code`
1043
1043
before terminating execution. If execution is terminated, an [`Error`][]
1044
1044
will be thrown. This value must be a strictly positive integer.
1045
- * `breakOnSigint` {boolean} If `true`, execution is terminated when `SIGINT`
1046
- (<kbd>Ctrl</kbd>+<kbd>C</kbd>) is received. Existing handlers for the
1047
- event that have been attached via `process.on( ' SIGINT ' )` are disabled
1048
- during script execution, but continue to work after that. If execution
1049
- is terminated, an [`Error`][] is thrown . **Default:** `false`.
1045
+ * `breakOnSigint` {boolean} If `true`, receiving `SIGINT`
1046
+ (<kbd>Ctrl</kbd>+<kbd>C</kbd>) will terminate execution and throw an
1047
+ [`Error`][]. Existing handlers for the event that have been attached via
1048
+ `process.on( ' SIGINT ' )` are disabled during script execution, but continue to
1049
+ work after that . **Default:** `false`.
1050
1050
* `contextName` {string} Human-readable name of the newly created context.
1051
1051
**Default:** `' VM Context i' `, where `i` is an ascending numerical index of
1052
1052
the created context.
@@ -1136,11 +1136,11 @@ changes:
1136
1136
* `timeout` {integer} Specifies the number of milliseconds to execute `code`
1137
1137
before terminating execution. If execution is terminated, an [`Error`][]
1138
1138
will be thrown. This value must be a strictly positive integer.
1139
- * `breakOnSigint` {boolean} If `true`, execution is terminated when `SIGINT`
1140
- (<kbd>Ctrl</kbd>+<kbd>C</kbd>) is received. Existing handlers for the
1141
- event that have been attached via `process.on( ' SIGINT ' )` are disabled
1142
- during script execution, but continue to work after that. If execution
1143
- is terminated, an [`Error`][] is thrown . **Default:** `false`.
1139
+ * `breakOnSigint` {boolean} If `true`, receiving `SIGINT`
1140
+ (<kbd>Ctrl</kbd>+<kbd>C</kbd>) will terminate execution and throw an
1141
+ [`Error`][]. Existing handlers for the event that have been attached via
1142
+ `process.on( ' SIGINT ' )` are disabled during script execution, but continue to
1143
+ work after that . **Default:** `false`.
1144
1144
* `cachedData` {Buffer|TypedArray|DataView} Provides an optional `Buffer` or
1145
1145
`TypedArray`, or `DataView` with V8' s code cache data for the supplied
1146
1146
source . When supplied, the ` cachedDataRejected` value will be set to
0 commit comments