@types/node 8.10.49 → 8.10.53
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 +3 -3
- node v8/base.d.ts +8 -5
- node v8/package.json +2 -2
node v8/README.md
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
> `npm install --save @types/node`
|
|
3
3
|
|
|
4
4
|
# Summary
|
|
5
|
-
This package contains type definitions for Node.js (
|
|
5
|
+
This package contains type definitions for Node.js (http://nodejs.org/).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v8
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 30 Aug 2019 05:19:15 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
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Parambir Singh <https://github.com/parambirs>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, Chigozirim C. <https://github.com/smac89>, Flarna <https://github.com/Flarna>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, wwwy3y3 <https://github.com/wwwy3y3>, Deividas Bakanas <https://github.com/DeividasBakanas>, Kelvin Jin <https://github.com/kjin>, Alvis HT Tang <https://github.com/alvis>, Sebastian Silbermann <https://github.com/eps1lon>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Alberto Schiabel <https://github.com/jkomyno>, Huw <https://github.com/hoo29>, Nicolas Even <https://github.com/n-e>, Bruno Scheufler <https://github.com/brunoscheufler>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Lishude <https://github.com/islishude>, Andrew Makarov <https://github.com/r3nya>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, Thanik Bhongbhibhat <https://github.com/bhongy>.
|
|
16
|
+
These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Parambir Singh <https://github.com/parambirs>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, Chigozirim C. <https://github.com/smac89>, Flarna <https://github.com/Flarna>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, wwwy3y3 <https://github.com/wwwy3y3>, Deividas Bakanas <https://github.com/DeividasBakanas>, Kelvin Jin <https://github.com/kjin>, Alvis HT Tang <https://github.com/alvis>, Sebastian Silbermann <https://github.com/eps1lon>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Alberto Schiabel <https://github.com/jkomyno>, Huw <https://github.com/hoo29>, Nicolas Even <https://github.com/n-e>, Bruno Scheufler <https://github.com/brunoscheufler>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Lishude <https://github.com/islishude>, Andrew Makarov <https://github.com/r3nya>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, and Thanik Bhongbhibhat <https://github.com/bhongy>.
|
node v8/base.d.ts
CHANGED
|
@@ -492,7 +492,7 @@ declare namespace NodeJS {
|
|
|
492
492
|
type ExitListener = (code: number) => void;
|
|
493
493
|
type RejectionHandledListener = (promise: Promise<any>) => void;
|
|
494
494
|
type UncaughtExceptionListener = (error: Error) => void;
|
|
495
|
-
type UnhandledRejectionListener = (reason:
|
|
495
|
+
type UnhandledRejectionListener = (reason: {} | null | undefined, promise: Promise<any>) => void;
|
|
496
496
|
type WarningListener = (warning: Error) => void;
|
|
497
497
|
type MessageListener = (message: any, sendHandle: any) => void;
|
|
498
498
|
type SignalsListener = () => void;
|
|
@@ -2146,6 +2146,7 @@ declare module "child_process" {
|
|
|
2146
2146
|
gid?: number;
|
|
2147
2147
|
windowsHide?: boolean;
|
|
2148
2148
|
windowsVerbatimArguments?: boolean;
|
|
2149
|
+
shell?: boolean | string;
|
|
2149
2150
|
}
|
|
2150
2151
|
export interface ExecFileOptionsWithStringEncoding extends ExecFileOptions {
|
|
2151
2152
|
encoding: BufferEncoding;
|
|
@@ -4606,6 +4607,7 @@ declare module "fs" {
|
|
|
4606
4607
|
mode?: number;
|
|
4607
4608
|
autoClose?: boolean;
|
|
4608
4609
|
start?: number;
|
|
4610
|
+
highWaterMark?: number;
|
|
4609
4611
|
}): WriteStream;
|
|
4610
4612
|
|
|
4611
4613
|
/**
|
|
@@ -5227,6 +5229,7 @@ declare module "tls" {
|
|
|
5227
5229
|
}
|
|
5228
5230
|
|
|
5229
5231
|
declare module "crypto" {
|
|
5232
|
+
import * as stream from "stream";
|
|
5230
5233
|
export interface Certificate {
|
|
5231
5234
|
exportChallenge(spkac: string | Buffer): Buffer;
|
|
5232
5235
|
exportPublicKey(spkac: string | Buffer): Buffer;
|
|
@@ -5259,13 +5262,13 @@ declare module "crypto" {
|
|
|
5259
5262
|
type HexBase64BinaryEncoding = "binary" | "base64" | "hex";
|
|
5260
5263
|
type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid";
|
|
5261
5264
|
|
|
5262
|
-
export interface Hash extends
|
|
5265
|
+
export interface Hash extends stream.Transform {
|
|
5263
5266
|
update(data: string | Buffer | DataView): Hash;
|
|
5264
5267
|
update(data: string | Buffer | DataView, input_encoding: Utf8AsciiLatin1Encoding): Hash;
|
|
5265
5268
|
digest(): Buffer;
|
|
5266
5269
|
digest(encoding: HexBase64Latin1Encoding): string;
|
|
5267
5270
|
}
|
|
5268
|
-
export interface Hmac extends
|
|
5271
|
+
export interface Hmac extends stream.Transform {
|
|
5269
5272
|
update(data: string | Buffer | DataView): Hmac;
|
|
5270
5273
|
update(data: string | Buffer | DataView, input_encoding: Utf8AsciiLatin1Encoding): Hmac;
|
|
5271
5274
|
digest(): Buffer;
|
|
@@ -5273,7 +5276,7 @@ declare module "crypto" {
|
|
|
5273
5276
|
}
|
|
5274
5277
|
export function createCipher(algorithm: string, password: any): Cipher;
|
|
5275
5278
|
export function createCipheriv(algorithm: string, key: any, iv: any): Cipher;
|
|
5276
|
-
export interface Cipher extends
|
|
5279
|
+
export interface Cipher extends stream.Transform {
|
|
5277
5280
|
update(data: Buffer | DataView): Buffer;
|
|
5278
5281
|
update(data: string, input_encoding: Utf8AsciiBinaryEncoding): Buffer;
|
|
5279
5282
|
update(data: Buffer | DataView, input_encoding: any, output_encoding: HexBase64BinaryEncoding): string;
|
|
@@ -5286,7 +5289,7 @@ declare module "crypto" {
|
|
|
5286
5289
|
}
|
|
5287
5290
|
export function createDecipher(algorithm: string, password: any): Decipher;
|
|
5288
5291
|
export function createDecipheriv(algorithm: string, key: any, iv: any): Decipher;
|
|
5289
|
-
export interface Decipher extends
|
|
5292
|
+
export interface Decipher extends stream.Transform {
|
|
5290
5293
|
update(data: Buffer | DataView): Buffer;
|
|
5291
5294
|
update(data: string, input_encoding: HexBase64BinaryEncoding): Buffer;
|
|
5292
5295
|
update(data: Buffer | DataView, input_encoding: any, output_encoding: Utf8AsciiBinaryEncoding): string;
|
node v8/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.53",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -141,6 +141,6 @@
|
|
|
141
141
|
},
|
|
142
142
|
"scripts": {},
|
|
143
143
|
"dependencies": {},
|
|
144
|
-
"typesPublisherContentHash": "
|
|
144
|
+
"typesPublisherContentHash": "a22f1d855a0c5e7381c72ff02a2f45cd32558c1aae7a204731fce341502ff398",
|
|
145
145
|
"typeScriptVersion": "2.1"
|
|
146
146
|
}
|