@types/node 13.7.5 → 13.7.6

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/crypto.d.ts +4 -4
  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: Tue, 25 Feb 2020 19:08:56 GMT
11
+ * Last updated: Wed, 26 Feb 2020 00:51:03 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node/crypto.d.ts CHANGED
@@ -118,7 +118,7 @@ declare module "crypto" {
118
118
  const fips: boolean;
119
119
 
120
120
  function createHash(algorithm: string, options?: HashOptions): Hash;
121
- function createHmac(algorithm: string, key: BinaryLike, options?: stream.TransformOptions): Hmac;
121
+ function createHmac(algorithm: string, key: BinaryLike | KeyObject, options?: stream.TransformOptions): Hmac;
122
122
 
123
123
  type Utf8AsciiLatin1Encoding = "utf8" | "ascii" | "latin1";
124
124
  type HexBase64Latin1Encoding = "latin1" | "hex" | "base64";
@@ -230,17 +230,17 @@ declare module "crypto" {
230
230
 
231
231
  function createDecipheriv(
232
232
  algorithm: CipherCCMTypes,
233
- key: BinaryLike,
233
+ key: CipherKey,
234
234
  iv: BinaryLike | null,
235
235
  options: CipherCCMOptions,
236
236
  ): DecipherCCM;
237
237
  function createDecipheriv(
238
238
  algorithm: CipherGCMTypes,
239
- key: BinaryLike,
239
+ key: CipherKey,
240
240
  iv: BinaryLike | null,
241
241
  options?: CipherGCMOptions,
242
242
  ): DecipherGCM;
243
- function createDecipheriv(algorithm: string, key: BinaryLike, iv: BinaryLike | null, options?: stream.TransformOptions): Decipher;
243
+ function createDecipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Decipher;
244
244
 
245
245
  class Decipher extends stream.Transform {
246
246
  private constructor();
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "13.7.5",
3
+ "version": "13.7.6",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -241,6 +241,6 @@
241
241
  },
242
242
  "scripts": {},
243
243
  "dependencies": {},
244
- "typesPublisherContentHash": "e78e8b87af5fa20557bee38f9a7786e67fa91de7eb1237c859f4c55ec7c427ab",
244
+ "typesPublisherContentHash": "bb38a150674fd521c03cf5319f1e01492d6763d5abbcae4390ac853ddcc6a4ac",
245
245
  "typeScriptVersion": "2.8"
246
246
  }