@types/node 8.10.2 → 8.10.6

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 CHANGED
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (http://nodejs.org/).
8
8
  Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v8
9
9
 
10
10
  Additional Details
11
- * Last updated: Tue, 03 Apr 2018 20:01:19 GMT
11
+ * Last updated: Tue, 10 Apr 2018 17:32:37 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>, Oliver Joseph Ash <https://github.com/OliverJAsh>, 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>.
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>, Oliver Joseph Ash <https://github.com/OliverJAsh>, 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>, Hoàng Văn Khải <https://github.com/KSXGitHub>.
node v8/index.d.ts CHANGED
@@ -19,6 +19,7 @@
19
19
  // Alberto Schiabel <https://github.com/jkomyno>
20
20
  // Huw <https://github.com/hoo29>
21
21
  // Nicolas Even <https://github.com/n-e>
22
+ // Hoàng Văn Khải <https://github.com/KSXGitHub>
22
23
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
23
24
  // TypeScript Version: 2.1
24
25
 
@@ -943,6 +944,7 @@ declare module "http" {
943
944
  'access-control-allow-headers'?: string;
944
945
  'accept-patch'?: string;
945
946
  'accept-ranges'?: string;
947
+ 'authorization'?: string;
946
948
  'age'?: string;
947
949
  'allow'?: string;
948
950
  'alt-svc'?: string;
@@ -1990,10 +1992,10 @@ declare module "vm" {
1990
1992
  }
1991
1993
  export function createContext(sandbox?: Context): Context;
1992
1994
  export function isContext(sandbox: Context): boolean;
1993
- export function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions): any;
1995
+ export function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions | string): any;
1994
1996
  export function runInDebugContext(code: string): any;
1995
- export function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions): any;
1996
- export function runInThisContext(code: string, options?: RunningScriptOptions): any;
1997
+ export function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions | string): any;
1998
+ export function runInThisContext(code: string, options?: RunningScriptOptions | string): any;
1997
1999
  }
1998
2000
 
1999
2001
  declare module "child_process" {
@@ -4661,11 +4663,11 @@ declare module "path" {
4661
4663
  /**
4662
4664
  * The platform-specific file separator. '\\' or '/'.
4663
4665
  */
4664
- export var sep: string;
4666
+ export var sep: '\\' | '/';
4665
4667
  /**
4666
4668
  * The platform-specific file delimiter. ';' or ':'.
4667
4669
  */
4668
- export var delimiter: string;
4670
+ export var delimiter: ';' | ':';
4669
4671
  /**
4670
4672
  * Returns an object from a path string - the opposite of format().
4671
4673
  *
@@ -5155,9 +5157,9 @@ declare module "crypto" {
5155
5157
  update(data: string, input_encoding: Utf8AsciiBinaryEncoding, output_encoding: HexBase64BinaryEncoding): string;
5156
5158
  final(): Buffer;
5157
5159
  final(output_encoding: string): string;
5158
- setAutoPadding(auto_padding?: boolean): void;
5160
+ setAutoPadding(auto_padding?: boolean): this;
5159
5161
  getAuthTag(): Buffer;
5160
- setAAD(buffer: Buffer): void;
5162
+ setAAD(buffer: Buffer): this;
5161
5163
  }
5162
5164
  export function createDecipher(algorithm: string, password: any): Decipher;
5163
5165
  export function createDecipheriv(algorithm: string, key: any, iv: any): Decipher;
@@ -5168,9 +5170,9 @@ declare module "crypto" {
5168
5170
  update(data: string, input_encoding: HexBase64BinaryEncoding, output_encoding: Utf8AsciiBinaryEncoding): string;
5169
5171
  final(): Buffer;
5170
5172
  final(output_encoding: string): string;
5171
- setAutoPadding(auto_padding?: boolean): void;
5172
- setAuthTag(tag: Buffer): void;
5173
- setAAD(buffer: Buffer): void;
5173
+ setAutoPadding(auto_padding?: boolean): this;
5174
+ setAuthTag(tag: Buffer): this;
5175
+ setAAD(buffer: Buffer): this;
5174
5176
  }
5175
5177
  export function createSign(algorithm: string): Signer;
5176
5178
  export interface Signer extends NodeJS.WritableStream {
node v8/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "8.10.2",
3
+ "version": "8.10.6",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -96,6 +96,11 @@
96
96
  "name": "Nicolas Even",
97
97
  "url": "https://github.com/n-e",
98
98
  "githubUsername": "n-e"
99
+ },
100
+ {
101
+ "name": "Hoàng Văn Khải",
102
+ "url": "https://github.com/KSXGitHub",
103
+ "githubUsername": "KSXGitHub"
99
104
  }
100
105
  ],
101
106
  "main": "",
@@ -105,6 +110,6 @@
105
110
  },
106
111
  "scripts": {},
107
112
  "dependencies": {},
108
- "typesPublisherContentHash": "7e48270886d712987b350fc4217f993a466851030ea79785af9f7444fd3b0b5a",
113
+ "typesPublisherContentHash": "af19437943163eed0efc36bb3e942ebc887d4a521ef933615af19cb16919fc1d",
109
114
  "typeScriptVersion": "2.1"
110
115
  }