@types/node 12.11.1 → 12.11.2
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/globals.d.ts +6 -1
- node/package.json +2 -2
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: Mon, 21 Oct 2019 16:05:07 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/globals.d.ts
CHANGED
|
@@ -1132,7 +1132,12 @@ declare namespace NodeJS {
|
|
|
1132
1132
|
class Module {
|
|
1133
1133
|
static runMain(): void;
|
|
1134
1134
|
static wrap(code: string): string;
|
|
1135
|
-
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* @deprecated Deprecated since: v12.2.0. Please use createRequire() instead.
|
|
1138
|
+
*/
|
|
1139
|
+
static createRequireFromPath(path: string): NodeRequireFunction;
|
|
1140
|
+
static createRequire(path: string): NodeRequireFunction;
|
|
1136
1141
|
static builtinModules: string[];
|
|
1137
1142
|
|
|
1138
1143
|
static Module: typeof Module;
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "12.11.
|
|
3
|
+
"version": "12.11.2",
|
|
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": "
|
|
214
|
+
"typesPublisherContentHash": "c6de2ae0653f4c081ddafb7fda2e0869e04fac2cc87908f2f0cbb976b81b5a62",
|
|
215
215
|
"typeScriptVersion": "2.0"
|
|
216
216
|
}
|