@types/node 0.0.0 → 0.0.1
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/index.d.ts +4 -4
- node/package.json +2 -3
- node/types-metadata.json +1 -2
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js v6.x (http://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/node
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 29 Nov 2016 21:52:28 GMT
|
|
12
12
|
* File structure: ModuleAugmentation
|
|
13
13
|
* Library Dependencies: none
|
|
14
14
|
* Module Dependencies: child_process, crypto, events, http, net, readline, stream, tls
|
node/index.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ interface NodeRequire extends NodeRequireFunction {
|
|
|
67
67
|
resolve(id: string): string;
|
|
68
68
|
cache: any;
|
|
69
69
|
extensions: any;
|
|
70
|
-
main: NodeModule;
|
|
70
|
+
main: NodeModule | undefined;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
declare var require: NodeRequire;
|
|
@@ -78,7 +78,7 @@ interface NodeModule {
|
|
|
78
78
|
id: string;
|
|
79
79
|
filename: string;
|
|
80
80
|
loaded: boolean;
|
|
81
|
-
parent: NodeModule;
|
|
81
|
+
parent: NodeModule | null;
|
|
82
82
|
children: NodeModule[];
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -301,8 +301,8 @@ declare namespace NodeJS {
|
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
export interface ReadWriteStream extends ReadableStream, WritableStream {
|
|
304
|
-
|
|
305
|
-
|
|
304
|
+
pause(): ReadWriteStream;
|
|
305
|
+
resume(): ReadWriteStream;
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
export interface Events extends EventEmitter { }
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"description": "TypeScript definitions for Node.js v6.x",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>",
|
|
@@ -12,6 +12,5 @@
|
|
|
12
12
|
"scripts": {},
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {},
|
|
15
|
-
"
|
|
16
|
-
"typesPublisherContentHash": "b588c7f177dbe17014b45b5eafd77a20f840c5e9562baa6900f1eb44f15053e5"
|
|
15
|
+
"typesPublisherContentHash": "5c015dd891af3af9ec08f549ea53ac12691e743f33b35864450efe32551d7459"
|
|
17
16
|
}
|
node/types-metadata.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"authors": "Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>",
|
|
3
|
-
"definitionFilename": "index.d.ts",
|
|
4
3
|
"libraryDependencies": [],
|
|
5
4
|
"moduleDependencies": [
|
|
6
5
|
"child_process",
|
|
@@ -77,5 +76,5 @@
|
|
|
77
76
|
"index.d.ts"
|
|
78
77
|
],
|
|
79
78
|
"hasPackageJson": false,
|
|
80
|
-
"contentHash": "
|
|
79
|
+
"contentHash": "5c015dd891af3af9ec08f549ea53ac12691e743f33b35864450efe32551d7459"
|
|
81
80
|
}
|