@types/node 8.5.5 → 8.5.9

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.
File without changes
@@ -5,10 +5,10 @@
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/types/node
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: Wed, 03 Jan 2018 21:04:58 GMT
11
+ * Last updated: Wed, 17 Jan 2018 22:17:28 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
 
@@ -19,12 +19,6 @@
19
19
  // Alberto Schiabel <https://github.com/jkomyno>
20
20
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
21
21
 
22
- /************************************************
23
- * *
24
- * Node.js v8.5.x API *
25
- * *
26
- ************************************************/
27
-
28
22
  /** inspector module types */
29
23
  /// <reference path="./inspector.d.ts" />
30
24
 
@@ -145,6 +139,7 @@ interface NodeModule {
145
139
  loaded: boolean;
146
140
  parent: NodeModule | null;
147
141
  children: NodeModule[];
142
+ paths: string[];
148
143
  }
149
144
 
150
145
  declare var module: NodeModule;
@@ -1723,7 +1718,7 @@ declare module "os" {
1723
1718
  export function arch(): string;
1724
1719
  export function platform(): NodeJS.Platform;
1725
1720
  export function tmpdir(): string;
1726
- export var EOL: string;
1721
+ export const EOL: string;
1727
1722
  export function endianness(): "BE" | "LE";
1728
1723
  }
1729
1724
 
@@ -1746,6 +1741,7 @@ declare module "https" {
1746
1741
  rejectUnauthorized?: boolean;
1747
1742
  NPNProtocols?: any;
1748
1743
  SNICallback?: (servername: string, cb: (err: Error | null, ctx: tls.SecureContext) => void) => void;
1744
+ secureProtocol?: string;
1749
1745
  }
1750
1746
 
1751
1747
  export interface RequestOptions extends http.RequestOptions {
@@ -4579,7 +4575,6 @@ declare module "path" {
4579
4575
  */
4580
4576
  name: string;
4581
4577
  }
4582
-
4583
4578
  export interface FormatInputPathObject {
4584
4579
  /**
4585
4580
  * The root of the path such as '/' or 'c:\'
@@ -4626,7 +4621,7 @@ declare module "path" {
4626
4621
  *
4627
4622
  * @param pathSegments string paths to join. Non-string arguments are ignored.
4628
4623
  */
4629
- export function resolve(...pathSegments: any[]): string;
4624
+ export function resolve(...pathSegments: string[]): string;
4630
4625
  /**
4631
4626
  * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
4632
4627
  *
@@ -4692,7 +4687,7 @@ declare module "path" {
4692
4687
  export var sep: string;
4693
4688
  export var delimiter: string;
4694
4689
  export function parse(p: string): ParsedPath;
4695
- export function format(pP: ParsedPath): string;
4690
+ export function format(pP: FormatInputPathObject): string;
4696
4691
  }
4697
4692
 
4698
4693
  export module win32 {
@@ -4707,7 +4702,7 @@ declare module "path" {
4707
4702
  export var sep: string;
4708
4703
  export var delimiter: string;
4709
4704
  export function parse(p: string): ParsedPath;
4710
- export function format(pP: ParsedPath): string;
4705
+ export function format(pP: FormatInputPathObject): string;
4711
4706
  }
4712
4707
  }
4713
4708
 
@@ -5941,6 +5936,7 @@ declare module "process" {
5941
5936
  export = process;
5942
5937
  }
5943
5938
 
5939
+ // tslint:disable-next-line:no-declare-current-package
5944
5940
  declare module "v8" {
5945
5941
  interface HeapSpaceInfo {
5946
5942
  space_name: string;
File without changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "8.5.5",
3
+ "version": "8.5.9",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -95,6 +95,6 @@
95
95
  },
96
96
  "scripts": {},
97
97
  "dependencies": {},
98
- "typesPublisherContentHash": "1c865b7a6c38886a57f476034a2ae40df59e9c50921d822777c0efe168b0edce",
98
+ "typesPublisherContentHash": "6609190e866fb6835d0ff0ca871ebad022c9b8dfe3bccc8bccd1fca32ae7ab7e",
99
99
  "typeScriptVersion": "2.0"
100
100
  }