@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 +1 -1
- node v10/child_process.d.ts +1 -0
- node v10/http2.d.ts +2 -4
- node v10/index.d.ts +4 -0
- node v10/package.json +2 -2
- node v10/ts3.2/util.d.ts +5 -0
- node v10/util.d.ts +2 -1
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:
|
|
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
|
|
node v10/child_process.d.ts
CHANGED
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
node v10/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "10.14.
|
|
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": "
|
|
199
|
+
"typesPublisherContentHash": "c8fceade63ae6a80f82d8f55d0c8cd1fa69fb8725edc586c0c2de1bda3dada8d",
|
|
200
200
|
"typeScriptVersion": "2.0"
|
|
201
201
|
}
|
node v10/ts3.2/util.d.ts
CHANGED
|
@@ -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;
|