@types/node 8.9.3 → 8.9.4
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 +1 -1
- node v8/index.d.ts +6 -6
- node v8/package.json +2 -2
node v8/README.md
CHANGED
|
@@ -8,7 +8,7 @@ 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:
|
|
11
|
+
* Last updated: Tue, 13 Feb 2018 20:54:40 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
|
|
node v8/index.d.ts
CHANGED
|
@@ -1735,7 +1735,7 @@ declare module "https" {
|
|
|
1735
1735
|
import * as http from "http";
|
|
1736
1736
|
import { URL } from "url";
|
|
1737
1737
|
|
|
1738
|
-
export type ServerOptions = tls.SecureContextOptions & tls.
|
|
1738
|
+
export type ServerOptions = tls.SecureContextOptions & tls.TlsOptions;
|
|
1739
1739
|
|
|
1740
1740
|
// see https://nodejs.org/docs/latest-v8.x/api/https.html#https_https_request_options_callback
|
|
1741
1741
|
type extendedRequestKeys = "pfx" |
|
|
@@ -4937,7 +4937,7 @@ declare module "tls" {
|
|
|
4937
4937
|
prependOnceListener(event: "secureConnect", listener: () => void): this;
|
|
4938
4938
|
}
|
|
4939
4939
|
|
|
4940
|
-
export interface
|
|
4940
|
+
export interface TlsOptions extends SecureContextOptions {
|
|
4941
4941
|
handshakeTimeout?: number;
|
|
4942
4942
|
requestCert?: boolean;
|
|
4943
4943
|
rejectUnauthorized?: boolean;
|
|
@@ -5072,7 +5072,7 @@ declare module "tls" {
|
|
|
5072
5072
|
* Returns Error object, populating it with the reason, host and cert on failure. On success, returns undefined.
|
|
5073
5073
|
*/
|
|
5074
5074
|
export function checkServerIdentity(host: string, cert: PeerCertificate): Error | undefined;
|
|
5075
|
-
export function createServer(options:
|
|
5075
|
+
export function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server;
|
|
5076
5076
|
export function connect(options: ConnectionOptions, secureConnectionListener?: () => void): TLSSocket;
|
|
5077
5077
|
export function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
|
|
5078
5078
|
export function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
|
|
@@ -5599,12 +5599,12 @@ declare module "tty" {
|
|
|
5599
5599
|
import * as net from "net";
|
|
5600
5600
|
|
|
5601
5601
|
export function isatty(fd: number): boolean;
|
|
5602
|
-
export
|
|
5602
|
+
export class ReadStream extends net.Socket {
|
|
5603
5603
|
isRaw: boolean;
|
|
5604
5604
|
setRawMode(mode: boolean): void;
|
|
5605
5605
|
isTTY: boolean;
|
|
5606
5606
|
}
|
|
5607
|
-
export
|
|
5607
|
+
export class WriteStream extends net.Socket {
|
|
5608
5608
|
columns: number;
|
|
5609
5609
|
rows: number;
|
|
5610
5610
|
isTTY: boolean;
|
|
@@ -6466,7 +6466,7 @@ declare module "http2" {
|
|
|
6466
6466
|
export type ServerSessionOptions = SessionOptions;
|
|
6467
6467
|
|
|
6468
6468
|
export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { }
|
|
6469
|
-
export interface SecureServerSessionOptions extends ServerSessionOptions, tls.
|
|
6469
|
+
export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions { }
|
|
6470
6470
|
|
|
6471
6471
|
export interface ServerOptions extends ServerSessionOptions {
|
|
6472
6472
|
allowHTTP1?: boolean;
|
node v8/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "8.9.
|
|
3
|
+
"version": "8.9.4",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -100,6 +100,6 @@
|
|
|
100
100
|
},
|
|
101
101
|
"scripts": {},
|
|
102
102
|
"dependencies": {},
|
|
103
|
-
"typesPublisherContentHash": "
|
|
103
|
+
"typesPublisherContentHash": "c57e8e80888027a0dcee1e3158dc571f6a16b8488c41d19cb72f78e3d52ddb45",
|
|
104
104
|
"typeScriptVersion": "2.1"
|
|
105
105
|
}
|