@types/node 8.10.52 → 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 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/v8
9
9
 
10
10
  Additional Details
11
- * Last updated: Tue, 20 Aug 2019 18:16:33 GMT
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
 
node v8/base.d.ts CHANGED
@@ -5229,6 +5229,7 @@ declare module "tls" {
5229
5229
  }
5230
5230
 
5231
5231
  declare module "crypto" {
5232
+ import * as stream from "stream";
5232
5233
  export interface Certificate {
5233
5234
  exportChallenge(spkac: string | Buffer): Buffer;
5234
5235
  exportPublicKey(spkac: string | Buffer): Buffer;
@@ -5261,13 +5262,13 @@ declare module "crypto" {
5261
5262
  type HexBase64BinaryEncoding = "binary" | "base64" | "hex";
5262
5263
  type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid";
5263
5264
 
5264
- export interface Hash extends NodeJS.ReadWriteStream {
5265
+ export interface Hash extends stream.Transform {
5265
5266
  update(data: string | Buffer | DataView): Hash;
5266
5267
  update(data: string | Buffer | DataView, input_encoding: Utf8AsciiLatin1Encoding): Hash;
5267
5268
  digest(): Buffer;
5268
5269
  digest(encoding: HexBase64Latin1Encoding): string;
5269
5270
  }
5270
- export interface Hmac extends NodeJS.ReadWriteStream {
5271
+ export interface Hmac extends stream.Transform {
5271
5272
  update(data: string | Buffer | DataView): Hmac;
5272
5273
  update(data: string | Buffer | DataView, input_encoding: Utf8AsciiLatin1Encoding): Hmac;
5273
5274
  digest(): Buffer;
@@ -5275,7 +5276,7 @@ declare module "crypto" {
5275
5276
  }
5276
5277
  export function createCipher(algorithm: string, password: any): Cipher;
5277
5278
  export function createCipheriv(algorithm: string, key: any, iv: any): Cipher;
5278
- export interface Cipher extends NodeJS.ReadWriteStream {
5279
+ export interface Cipher extends stream.Transform {
5279
5280
  update(data: Buffer | DataView): Buffer;
5280
5281
  update(data: string, input_encoding: Utf8AsciiBinaryEncoding): Buffer;
5281
5282
  update(data: Buffer | DataView, input_encoding: any, output_encoding: HexBase64BinaryEncoding): string;
@@ -5288,7 +5289,7 @@ declare module "crypto" {
5288
5289
  }
5289
5290
  export function createDecipher(algorithm: string, password: any): Decipher;
5290
5291
  export function createDecipheriv(algorithm: string, key: any, iv: any): Decipher;
5291
- export interface Decipher extends NodeJS.ReadWriteStream {
5292
+ export interface Decipher extends stream.Transform {
5292
5293
  update(data: Buffer | DataView): Buffer;
5293
5294
  update(data: string, input_encoding: HexBase64BinaryEncoding): Buffer;
5294
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.52",
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": "d2a82bcd0f2d148ed3936b04f3df3c4091f1eb53cd2805cb5b7f5c98c13d2504",
144
+ "typesPublisherContentHash": "a22f1d855a0c5e7381c72ff02a2f45cd32558c1aae7a204731fce341502ff398",
145
145
  "typeScriptVersion": "2.1"
146
146
  }