@types/node 7.0.64 → 7.0.68

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 v7/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.git/tree/master/types/node/v7
8
+ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v7
9
9
 
10
10
  Additional Details
11
- * Last updated: Tue, 08 May 2018 16:46:27 GMT
11
+ * Last updated: Wed, 01 Aug 2018 01:30:09 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>, Sebastian Silbermann <https://github.com/eps1lon>, Hoàng Văn Khải <https://github.com/KSXGitHub>.
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>, Sebastian Silbermann <https://github.com/eps1lon>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Sander Koenders <https://github.com/Archcry>.
node v7/index.d.ts CHANGED
@@ -7,6 +7,7 @@
7
7
  // Wilco Bakker <https://github.com/WilcoBakker>
8
8
  // Sebastian Silbermann <https://github.com/eps1lon>
9
9
  // Hoàng Văn Khải <https://github.com/KSXGitHub>
10
+ // Sander Koenders <https://github.com/Archcry>
10
11
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
11
12
 
12
13
  /************************************************
@@ -456,6 +457,10 @@ declare namespace NodeJS {
456
457
  isTTY?: true;
457
458
  }
458
459
 
460
+ export interface ProcessEnv {
461
+ [key: string]: string | undefined;
462
+ }
463
+
459
464
  export interface WriteStream extends Socket {
460
465
  columns?: number;
461
466
  rows?: number;
@@ -477,8 +482,9 @@ declare namespace NodeJS {
477
482
  abort(): void;
478
483
  chdir(directory: string): void;
479
484
  cwd(): string;
485
+ debugPort: number;
480
486
  emitWarning(warning: string | Error, name?: string, ctor?: Function): void;
481
- env: any;
487
+ env: ProcessEnv;
482
488
  exit(code?: number): never;
483
489
  exitCode: number;
484
490
  getgid(): number;
@@ -920,6 +926,7 @@ declare module "http" {
920
926
  }
921
927
 
922
928
  export class Agent {
929
+ maxFreeSockets: number;
923
930
  maxSockets: number;
924
931
  sockets: any;
925
932
  requests: any;
@@ -2038,7 +2045,7 @@ declare module "url" {
2038
2045
  append(name: string, value: string): void;
2039
2046
  delete(name: string): void;
2040
2047
  entries(): Iterator<string[]>;
2041
- forEach(callback: (value: string, name: string) => void): void;
2048
+ forEach(callback: (value: string, name: string, searchParams: this) => void): void;
2042
2049
  get(name: string): string | null;
2043
2050
  getAll(name: string): string[];
2044
2051
  has(name: string): boolean;
@@ -2099,6 +2106,8 @@ declare module "dns" {
2099
2106
  export function lookup(hostname: string, options: LookupOptions, callback: (err: NodeJS.ErrnoException, address: string | LookupAddress[], family: number) => void): void;
2100
2107
  export function lookup(hostname: string, callback: (err: NodeJS.ErrnoException, address: string, family: number) => void): void;
2101
2108
 
2109
+ export function lookupService(address: string, port: number, callback: (err: NodeJS.ErrnoException, hostname: string, service: string) => void): void;
2110
+
2102
2111
  export interface ResolveOptions {
2103
2112
  ttl: boolean;
2104
2113
  }
node v7/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "7.0.64",
3
+ "version": "7.0.68",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -36,15 +36,20 @@
36
36
  "name": "Hoàng Văn Khải",
37
37
  "url": "https://github.com/KSXGitHub",
38
38
  "githubUsername": "KSXGitHub"
39
+ },
40
+ {
41
+ "name": "Sander Koenders",
42
+ "url": "https://github.com/Archcry",
43
+ "githubUsername": "Archcry"
39
44
  }
40
45
  ],
41
46
  "main": "",
42
47
  "repository": {
43
48
  "type": "git",
44
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git.git"
49
+ "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
45
50
  },
46
51
  "scripts": {},
47
52
  "dependencies": {},
48
- "typesPublisherContentHash": "e5ee13350985026fa97b2b4ef3b99fef2e8b3eb61cd4c8a98419529deca50706",
53
+ "typesPublisherContentHash": "10ae104e8392d7d5690e0745107a881bea17ff16fa229935a030ca70b4afd0f7",
49
54
  "typeScriptVersion": "2.0"
50
55
  }