@types/node 6.0.58 → 6.0.62
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.
|
@@ -5,12 +5,11 @@
|
|
|
5
5
|
This package contains type definitions for Node.js (http://nodejs.org/).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
|
-
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/node
|
|
8
|
+
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/node/v6
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
12
|
-
*
|
|
13
|
-
* Module Dependencies: child_process, crypto, events, http, net, readline, stream, tls
|
|
11
|
+
* Last updated: Wed, 25 Jan 2017 20:02:31 GMT
|
|
12
|
+
* Dependencies: events, net, stream, child_process, tls, http, readline, crypto
|
|
14
13
|
* Global values: Buffer, NodeJS, SlowBuffer, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
15
14
|
|
|
16
15
|
# Credits
|
|
@@ -347,6 +347,15 @@ declare namespace NodeJS {
|
|
|
347
347
|
openssl: string;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
+
type Platform = 'aix'
|
|
351
|
+
| 'android'
|
|
352
|
+
| 'darwin'
|
|
353
|
+
| 'freebsd'
|
|
354
|
+
| 'linux'
|
|
355
|
+
| 'openbsd'
|
|
356
|
+
| 'sunos'
|
|
357
|
+
| 'win32';
|
|
358
|
+
|
|
350
359
|
export interface Process extends EventEmitter {
|
|
351
360
|
stdout: WritableStream;
|
|
352
361
|
stderr: WritableStream;
|
|
@@ -399,7 +408,7 @@ declare namespace NodeJS {
|
|
|
399
408
|
pid: number;
|
|
400
409
|
title: string;
|
|
401
410
|
arch: string;
|
|
402
|
-
platform:
|
|
411
|
+
platform: Platform;
|
|
403
412
|
mainModule?: NodeModule;
|
|
404
413
|
memoryUsage(): MemoryUsage;
|
|
405
414
|
cpuUsage(previousValue?: CpuUsage): CpuUsage;
|
|
@@ -1262,7 +1271,7 @@ declare module "os" {
|
|
|
1262
1271
|
},
|
|
1263
1272
|
};
|
|
1264
1273
|
export function arch(): string;
|
|
1265
|
-
export function platform():
|
|
1274
|
+
export function platform(): NodeJS.Platform;
|
|
1266
1275
|
export function tmpdir(): string;
|
|
1267
1276
|
export var EOL: string;
|
|
1268
1277
|
export function endianness(): "BE" | "LE";
|
|
@@ -1498,7 +1507,7 @@ declare module "readline" {
|
|
|
1498
1507
|
export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer, terminal?: boolean): ReadLine;
|
|
1499
1508
|
export function createInterface(options: ReadLineOptions): ReadLine;
|
|
1500
1509
|
|
|
1501
|
-
export function cursorTo(stream: NodeJS.WritableStream, x: number, y
|
|
1510
|
+
export function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number): void;
|
|
1502
1511
|
export function moveCursor(stream: NodeJS.WritableStream, dx: number | string, dy: number | string): void;
|
|
1503
1512
|
export function clearLine(stream: NodeJS.WritableStream, dir: number): void;
|
|
1504
1513
|
export function clearScreenDown(stream: NodeJS.WritableStream): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.62",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>",
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
"scripts": {},
|
|
13
13
|
"dependencies": {},
|
|
14
14
|
"peerDependencies": {},
|
|
15
|
-
"typesPublisherContentHash": "
|
|
15
|
+
"typesPublisherContentHash": "8912fc6032c7f9a551f91698c6bd8341814f44b3c9193f713296d7889e37a097",
|
|
16
16
|
"typeScriptVersion": "2.0"
|
|
17
17
|
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "node",
|
|
3
|
+
"libraryName": "Node.js",
|
|
4
|
+
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
|
|
5
|
+
"data": {
|
|
6
|
+
"authors": "Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"events": "*",
|
|
9
|
+
"net": "*",
|
|
10
|
+
"stream": "*",
|
|
11
|
+
"child_process": "*",
|
|
12
|
+
"tls": "*",
|
|
13
|
+
"http": "*",
|
|
14
|
+
"readline": "*",
|
|
15
|
+
"crypto": "*"
|
|
16
|
+
},
|
|
17
|
+
"pathMappings": {},
|
|
18
|
+
"libraryMajorVersion": 6,
|
|
19
|
+
"libraryMinorVersion": 0,
|
|
20
|
+
"typeScriptVersion": "2.0",
|
|
21
|
+
"libraryName": "Node.js",
|
|
22
|
+
"typingsPackageName": "node",
|
|
23
|
+
"projectName": "http://nodejs.org/",
|
|
24
|
+
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
|
|
25
|
+
"globals": [
|
|
26
|
+
"Buffer",
|
|
27
|
+
"NodeJS",
|
|
28
|
+
"SlowBuffer",
|
|
29
|
+
"__dirname",
|
|
30
|
+
"__filename",
|
|
31
|
+
"clearImmediate",
|
|
32
|
+
"clearInterval",
|
|
33
|
+
"clearTimeout",
|
|
34
|
+
"console",
|
|
35
|
+
"exports",
|
|
36
|
+
"global",
|
|
37
|
+
"module",
|
|
38
|
+
"process",
|
|
39
|
+
"require",
|
|
40
|
+
"setImmediate",
|
|
41
|
+
"setInterval",
|
|
42
|
+
"setTimeout"
|
|
43
|
+
],
|
|
44
|
+
"declaredModules": [
|
|
45
|
+
"buffer",
|
|
46
|
+
"querystring",
|
|
47
|
+
"events",
|
|
48
|
+
"http",
|
|
49
|
+
"cluster",
|
|
50
|
+
"zlib",
|
|
51
|
+
"os",
|
|
52
|
+
"https",
|
|
53
|
+
"punycode",
|
|
54
|
+
"repl",
|
|
55
|
+
"readline",
|
|
56
|
+
"vm",
|
|
57
|
+
"child_process",
|
|
58
|
+
"url",
|
|
59
|
+
"dns",
|
|
60
|
+
"net",
|
|
61
|
+
"dgram",
|
|
62
|
+
"fs",
|
|
63
|
+
"path",
|
|
64
|
+
"string_decoder",
|
|
65
|
+
"tls",
|
|
66
|
+
"crypto",
|
|
67
|
+
"stream",
|
|
68
|
+
"util",
|
|
69
|
+
"assert",
|
|
70
|
+
"tty",
|
|
71
|
+
"domain",
|
|
72
|
+
"constants",
|
|
73
|
+
"process",
|
|
74
|
+
"v8",
|
|
75
|
+
"timers",
|
|
76
|
+
"console",
|
|
77
|
+
"_debugger"
|
|
78
|
+
],
|
|
79
|
+
"files": [
|
|
80
|
+
"index.d.ts"
|
|
81
|
+
],
|
|
82
|
+
"hasPackageJson": false,
|
|
83
|
+
"contentHash": "8912fc6032c7f9a551f91698c6bd8341814f44b3c9193f713296d7889e37a097"
|
|
84
|
+
},
|
|
85
|
+
"isLatest": false
|
|
86
|
+
}
|
node/types-metadata.json
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"authors": "Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>",
|
|
3
|
-
"libraryDependencies": [],
|
|
4
|
-
"moduleDependencies": [
|
|
5
|
-
"child_process",
|
|
6
|
-
"crypto",
|
|
7
|
-
"events",
|
|
8
|
-
"http",
|
|
9
|
-
"net",
|
|
10
|
-
"readline",
|
|
11
|
-
"stream",
|
|
12
|
-
"tls"
|
|
13
|
-
],
|
|
14
|
-
"libraryMajorVersion": 6,
|
|
15
|
-
"libraryMinorVersion": 0,
|
|
16
|
-
"typeScriptVersion": "2.0",
|
|
17
|
-
"libraryName": "Node.js",
|
|
18
|
-
"typingsPackageName": "node",
|
|
19
|
-
"projectName": "http://nodejs.org/",
|
|
20
|
-
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
|
|
21
|
-
"sourceBranch": "master",
|
|
22
|
-
"globals": [
|
|
23
|
-
"Buffer",
|
|
24
|
-
"NodeJS",
|
|
25
|
-
"SlowBuffer",
|
|
26
|
-
"__dirname",
|
|
27
|
-
"__filename",
|
|
28
|
-
"clearImmediate",
|
|
29
|
-
"clearInterval",
|
|
30
|
-
"clearTimeout",
|
|
31
|
-
"console",
|
|
32
|
-
"exports",
|
|
33
|
-
"global",
|
|
34
|
-
"module",
|
|
35
|
-
"process",
|
|
36
|
-
"require",
|
|
37
|
-
"setImmediate",
|
|
38
|
-
"setInterval",
|
|
39
|
-
"setTimeout"
|
|
40
|
-
],
|
|
41
|
-
"declaredModules": [
|
|
42
|
-
"buffer",
|
|
43
|
-
"querystring",
|
|
44
|
-
"events",
|
|
45
|
-
"http",
|
|
46
|
-
"cluster",
|
|
47
|
-
"zlib",
|
|
48
|
-
"os",
|
|
49
|
-
"https",
|
|
50
|
-
"punycode",
|
|
51
|
-
"repl",
|
|
52
|
-
"readline",
|
|
53
|
-
"vm",
|
|
54
|
-
"child_process",
|
|
55
|
-
"url",
|
|
56
|
-
"dns",
|
|
57
|
-
"net",
|
|
58
|
-
"dgram",
|
|
59
|
-
"fs",
|
|
60
|
-
"path",
|
|
61
|
-
"string_decoder",
|
|
62
|
-
"tls",
|
|
63
|
-
"crypto",
|
|
64
|
-
"stream",
|
|
65
|
-
"util",
|
|
66
|
-
"assert",
|
|
67
|
-
"tty",
|
|
68
|
-
"domain",
|
|
69
|
-
"constants",
|
|
70
|
-
"process",
|
|
71
|
-
"v8",
|
|
72
|
-
"timers",
|
|
73
|
-
"console",
|
|
74
|
-
"_debugger"
|
|
75
|
-
],
|
|
76
|
-
"files": [
|
|
77
|
-
"index.d.ts"
|
|
78
|
-
],
|
|
79
|
-
"hasPackageJson": false,
|
|
80
|
-
"contentHash": "9594ab58c66715bbfaed7ef0fc87042d17a4fe5eadafcec98bb3cbbcbb4f7efa"
|
|
81
|
-
}
|