@types/node 10.12.10 → 10.12.11

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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/index.d.ts +11 -1
  3. node/package.json +2 -2
node/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://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node
9
9
 
10
10
  Additional Details
11
- * Last updated: Wed, 21 Nov 2018 16:29:39 GMT
11
+ * Last updated: Thu, 29 Nov 2018 23:46:24 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/index.d.ts CHANGED
@@ -2501,7 +2501,9 @@ declare module "readline" {
2501
2501
  }
2502
2502
 
2503
2503
  declare module "vm" {
2504
- interface Context { }
2504
+ interface Context {
2505
+ [key: string]: any;
2506
+ }
2505
2507
  interface BaseOptions {
2506
2508
  /**
2507
2509
  * Specifies the filename used in stack traces produced by this script.
@@ -6258,6 +6260,13 @@ declare module "tls" {
6258
6260
  * May be used to distinguish TLS sockets from regular ones.
6259
6261
  */
6260
6262
  encrypted: boolean;
6263
+
6264
+ /**
6265
+ * String containing the selected ALPN protocol.
6266
+ * When ALPN has no selected protocol, tlsSocket.alpnProtocol equals false.
6267
+ */
6268
+ alpnProtocol?: string;
6269
+
6261
6270
  /**
6262
6271
  * Returns an object representing the cipher name and the SSL/TLS protocol version of the current connection.
6263
6272
  * @returns Returns an object representing the cipher name
@@ -8303,6 +8312,7 @@ declare module "http2" {
8303
8312
  peerMaxConcurrentStreams?: number;
8304
8313
  selectPadding?: (frameLen: number, maxFrameLen: number) => number;
8305
8314
  settings?: Settings;
8315
+ createConnection?: (option: SessionOptions) => stream.Duplex;
8306
8316
  }
8307
8317
 
8308
8318
  export type ClientSessionOptions = SessionOptions;
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "10.12.10",
3
+ "version": "10.12.11",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -173,6 +173,6 @@
173
173
  },
174
174
  "scripts": {},
175
175
  "dependencies": {},
176
- "typesPublisherContentHash": "5a7030d452b7a6e9103e6bcf49925b7a3c17bcd2a32122d8c959322bff08e868",
176
+ "typesPublisherContentHash": "244eff2ee358f52a731bb4ce787ac591479441629ad7804ae053f1bc0258edbd",
177
177
  "typeScriptVersion": "2.0"
178
178
  }