@types/node 10.14.0 → 10.14.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 v10/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/v10
9
9
 
10
10
  Additional Details
11
- * Last updated: Tue, 12 Mar 2019 18:08:25 GMT
11
+ * Last updated: Mon, 25 Mar 2019 20:44:51 GMT
12
12
  * Dependencies: none
13
13
  * Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
14
14
 
@@ -258,6 +258,7 @@ declare module "child_process" {
258
258
  execArgv?: string[];
259
259
  silent?: boolean;
260
260
  stdio?: StdioOptions;
261
+ detached?: boolean;
261
262
  windowsVerbatimArguments?: boolean;
262
263
  uid?: number;
263
264
  gid?: number;
node v10/http2.d.ts CHANGED
@@ -415,7 +415,7 @@ declare module "http2" {
415
415
  peerMaxConcurrentStreams?: number;
416
416
  selectPadding?: (frameLen: number, maxFrameLen: number) => number;
417
417
  settings?: Settings;
418
- createConnection?: (option: SessionOptions) => stream.Duplex;
418
+ createConnection?: (authority: url.URL, option: SessionOptions) => stream.Duplex;
419
419
  }
420
420
 
421
421
  export type ClientSessionOptions = SessionOptions;
@@ -424,9 +424,7 @@ declare module "http2" {
424
424
  export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { }
425
425
  export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions { }
426
426
 
427
- export interface ServerOptions extends ServerSessionOptions {
428
- allowHTTP1?: boolean;
429
- }
427
+ export interface ServerOptions extends ServerSessionOptions { }
430
428
 
431
429
  export interface SecureServerOptions extends SecureServerSessionOptions {
432
430
  allowHTTP1?: boolean;
node v10/index.d.ts CHANGED
@@ -84,4 +84,8 @@ declare module "util" {
84
84
  namespace promisify {
85
85
  const custom: symbol;
86
86
  }
87
+ namespace types {
88
+ function isBigInt64Array(value: any): boolean;
89
+ function isBigUint64Array(value: any): boolean;
90
+ }
87
91
  }
node v10/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "10.14.0",
3
+ "version": "10.14.4",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -196,6 +196,6 @@
196
196
  },
197
197
  "scripts": {},
198
198
  "dependencies": {},
199
- "typesPublisherContentHash": "8e60e8bf9e07e4312fc6fe763a6d536f736429328cda633882235de2001cbf8e",
199
+ "typesPublisherContentHash": "c8fceade63ae6a80f82d8f55d0c8cd1fa69fb8725edc586c0c2de1bda3dada8d",
200
200
  "typeScriptVersion": "2.0"
201
201
  }
@@ -1,5 +1,6 @@
1
1
  // tslint:disable-next-line:no-bad-reference
2
2
  /// <reference path="../util.d.ts" />
3
+
3
4
  declare module "util" {
4
5
  namespace inspect {
5
6
  const custom: unique symbol;
@@ -7,4 +8,8 @@ declare module "util" {
7
8
  namespace promisify {
8
9
  const custom: unique symbol;
9
10
  }
11
+ namespace types {
12
+ function isBigInt64Array(value: any): value is BigInt64Array;
13
+ function isBigUint64Array(value: any): value is BigUint64Array;
14
+ }
10
15
  }
node v10/util.d.ts CHANGED
@@ -114,7 +114,7 @@ declare module "util" {
114
114
  function isArrayBuffer(object: any): object is ArrayBuffer;
115
115
  function isAsyncFunction(object: any): boolean;
116
116
  function isBooleanObject(object: any): object is Boolean;
117
- function isBoxedPrimitive(object: any): object is (Number | Boolean | String | Symbol /* BigInt */);
117
+ function isBoxedPrimitive(object: any): object is (Number | Boolean | String | Symbol /* | Object(BigInt) | Object(Symbol) */);
118
118
  function isDataView(object: any): object is DataView;
119
119
  function isDate(object: any): object is Date;
120
120
  function isExternal(object: any): boolean;
@@ -127,6 +127,7 @@ declare module "util" {
127
127
  function isInt32Array(object: any): object is Int32Array;
128
128
  function isMap(object: any): boolean;
129
129
  function isMapIterator(object: any): boolean;
130
+ function isModuleNamespaceObject(value: any): boolean;
130
131
  function isNativeError(object: any): object is Error;
131
132
  function isNumberObject(object: any): object is Number;
132
133
  function isPromise(object: any): boolean;