@types/node 8.10.16 → 8.10.20
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 v8/README.md +3 -3
- node v8/index.d.ts +15 -3
- node v8/package.json +8 -8
node v8/README.md
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
This package contains type definitions for Node.js (http://nodejs.org/).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v8
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 13 Jun 2018 19:16:57 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, SlowBuffer, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>, Parambir Singh <https://github.com/parambirs>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, Chigozirim C. <https://github.com/smac89>, Flarna <https://github.com/Flarna>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, wwwy3y3 <https://github.com/wwwy3y3>, Deividas Bakanas <https://github.com/DeividasBakanas>, Kelvin Jin <https://github.com/kjin>, Alvis HT Tang <https://github.com/alvis>,
|
|
16
|
+
These definitions were written by Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>, Parambir Singh <https://github.com/parambirs>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, Chigozirim C. <https://github.com/smac89>, Flarna <https://github.com/Flarna>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, wwwy3y3 <https://github.com/wwwy3y3>, Deividas Bakanas <https://github.com/DeividasBakanas>, Kelvin Jin <https://github.com/kjin>, Alvis HT Tang <https://github.com/alvis>, Sebastian Silbermann <https://github.com/eps1lon>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Alberto Schiabel <https://github.com/jkomyno>, Huw <https://github.com/hoo29>, Nicolas Even <https://github.com/n-e>, Bruno Scheufler <https://github.com/brunoscheufler>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Lishude <https://github.com/islishude>, Andrew Makarov <https://github.com/r3nya>.
|
node v8/index.d.ts
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
// Deividas Bakanas <https://github.com/DeividasBakanas>
|
|
14
14
|
// Kelvin Jin <https://github.com/kjin>
|
|
15
15
|
// Alvis HT Tang <https://github.com/alvis>
|
|
16
|
-
// Oliver Joseph Ash <https://github.com/OliverJAsh>
|
|
17
16
|
// Sebastian Silbermann <https://github.com/eps1lon>
|
|
18
17
|
// Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>
|
|
19
18
|
// Alberto Schiabel <https://github.com/jkomyno>
|
|
@@ -22,6 +21,7 @@
|
|
|
22
21
|
// Bruno Scheufler <https://github.com/brunoscheufler>
|
|
23
22
|
// Hoàng Văn Khải <https://github.com/KSXGitHub>
|
|
24
23
|
// Lishude <https://github.com/islishude>
|
|
24
|
+
// Andrew Makarov <https://github.com/r3nya>
|
|
25
25
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
26
26
|
// TypeScript Version: 2.1
|
|
27
27
|
|
|
@@ -561,6 +561,7 @@ declare namespace NodeJS {
|
|
|
561
561
|
abort(): void;
|
|
562
562
|
chdir(directory: string): void;
|
|
563
563
|
cwd(): string;
|
|
564
|
+
debugPort: number;
|
|
564
565
|
emitWarning(warning: string | Error, name?: string, ctor?: Function): void;
|
|
565
566
|
env: ProcessEnv;
|
|
566
567
|
exit(code?: number): never;
|
|
@@ -1959,6 +1960,9 @@ declare module "readline" {
|
|
|
1959
1960
|
completer?: Completer | AsyncCompleter;
|
|
1960
1961
|
terminal?: boolean;
|
|
1961
1962
|
historySize?: number;
|
|
1963
|
+
prompt?: string;
|
|
1964
|
+
crlfDelay?: number;
|
|
1965
|
+
removeHistoryDuplicates?: boolean;
|
|
1962
1966
|
}
|
|
1963
1967
|
|
|
1964
1968
|
export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): ReadLine;
|
|
@@ -2441,6 +2445,12 @@ declare module "dns" {
|
|
|
2441
2445
|
export function __promisify__(hostname: string, options?: LookupOptions | number): Promise<{ address: string | LookupAddress[], family?: number }>;
|
|
2442
2446
|
}
|
|
2443
2447
|
|
|
2448
|
+
export function lookupService(address: string, port: number, callback: (err: NodeJS.ErrnoException, hostname: string, service: string) => void): void;
|
|
2449
|
+
|
|
2450
|
+
export namespace lookupService {
|
|
2451
|
+
export function __promisify__(address: string, port: number): Promise<{ hostname: string, service: string }>;
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2444
2454
|
export interface ResolveOptions {
|
|
2445
2455
|
ttl: boolean;
|
|
2446
2456
|
}
|
|
@@ -3368,7 +3378,7 @@ declare module "fs" {
|
|
|
3368
3378
|
* @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
|
|
3369
3379
|
* When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
|
|
3370
3380
|
*/
|
|
3371
|
-
export function symlink(target: PathLike, path: PathLike, type:
|
|
3381
|
+
export function symlink(target: PathLike, path: PathLike, type: symlink.Type | undefined | null, callback: (err: NodeJS.ErrnoException) => void): void;
|
|
3372
3382
|
|
|
3373
3383
|
/**
|
|
3374
3384
|
* Asynchronous symlink(2) - Create a new symbolic link to an existing file.
|
|
@@ -3387,6 +3397,8 @@ declare module "fs" {
|
|
|
3387
3397
|
* When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
|
|
3388
3398
|
*/
|
|
3389
3399
|
export function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
|
|
3400
|
+
|
|
3401
|
+
export type Type = "dir" | "file" | "junction";
|
|
3390
3402
|
}
|
|
3391
3403
|
|
|
3392
3404
|
/**
|
|
@@ -3396,7 +3408,7 @@ declare module "fs" {
|
|
|
3396
3408
|
* @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
|
|
3397
3409
|
* When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
|
|
3398
3410
|
*/
|
|
3399
|
-
export function symlinkSync(target: PathLike, path: PathLike, type?:
|
|
3411
|
+
export function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void;
|
|
3400
3412
|
|
|
3401
3413
|
/**
|
|
3402
3414
|
* Asynchronous readlink(2) - read value of a symbolic link.
|
node v8/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.20",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -67,11 +67,6 @@
|
|
|
67
67
|
"url": "https://github.com/alvis",
|
|
68
68
|
"githubUsername": "alvis"
|
|
69
69
|
},
|
|
70
|
-
{
|
|
71
|
-
"name": "Oliver Joseph Ash",
|
|
72
|
-
"url": "https://github.com/OliverJAsh",
|
|
73
|
-
"githubUsername": "OliverJAsh"
|
|
74
|
-
},
|
|
75
70
|
{
|
|
76
71
|
"name": "Sebastian Silbermann",
|
|
77
72
|
"url": "https://github.com/eps1lon",
|
|
@@ -111,15 +106,20 @@
|
|
|
111
106
|
"name": "Lishude",
|
|
112
107
|
"url": "https://github.com/islishude",
|
|
113
108
|
"githubUsername": "islishude"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "Andrew Makarov",
|
|
112
|
+
"url": "https://github.com/r3nya",
|
|
113
|
+
"githubUsername": "r3nya"
|
|
114
114
|
}
|
|
115
115
|
],
|
|
116
116
|
"main": "",
|
|
117
117
|
"repository": {
|
|
118
118
|
"type": "git",
|
|
119
|
-
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git
|
|
119
|
+
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
|
|
120
120
|
},
|
|
121
121
|
"scripts": {},
|
|
122
122
|
"dependencies": {},
|
|
123
|
-
"typesPublisherContentHash": "
|
|
123
|
+
"typesPublisherContentHash": "6a13031b27afb46422a0365300a630dfc5d9e91af591115fa6a7dd6ddafd497e",
|
|
124
124
|
"typeScriptVersion": "2.1"
|
|
125
125
|
}
|