@types/node 14.14.28 → 14.14.29
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/vm.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: Thu, 18 Feb 2021 20:45:44 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.14.
|
|
3
|
+
"version": "14.14.29",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -246,6 +246,6 @@
|
|
|
246
246
|
},
|
|
247
247
|
"scripts": {},
|
|
248
248
|
"dependencies": {},
|
|
249
|
-
"typesPublisherContentHash": "
|
|
249
|
+
"typesPublisherContentHash": "3da00520fa4a64adea62cef5c7b8439b39d00ff89871fa5874d6f010891dbcbc",
|
|
250
250
|
"typeScriptVersion": "3.4"
|
|
251
251
|
}
|
node/vm.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare module 'vm' {
|
|
|
25
25
|
displayErrors?: boolean;
|
|
26
26
|
timeout?: number;
|
|
27
27
|
cachedData?: Buffer;
|
|
28
|
+
/** @deprecated in favor of `script.createCachedData()` */
|
|
28
29
|
produceCachedData?: boolean;
|
|
29
30
|
}
|
|
30
31
|
interface RunningScriptOptions extends BaseOptions {
|
|
@@ -123,6 +124,7 @@ declare module 'vm' {
|
|
|
123
124
|
runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any;
|
|
124
125
|
runInThisContext(options?: RunningScriptOptions): any;
|
|
125
126
|
createCachedData(): Buffer;
|
|
127
|
+
cachedDataRejected?: boolean;
|
|
126
128
|
}
|
|
127
129
|
function createContext(sandbox?: Context, options?: CreateContextOptions): Context;
|
|
128
130
|
function isContext(sandbox: Context): boolean;
|