@types/node 18.7.5 → 18.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 +2 -2
  3. node/package.json +2 -2
node/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://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: Mon, 15 Aug 2022 18:32:42 GMT
11
+ * Last updated: Tue, 16 Aug 2022 14:02:31 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
node/crypto.d.ts CHANGED
@@ -2309,11 +2309,11 @@ declare module 'crypto' {
2309
2309
  * If `encoding` is specified, a string is returned; otherwise a `Buffer` is
2310
2310
  * returned.
2311
2311
  * @since v0.11.14
2312
- * @param encoding The `encoding` of the return value.
2312
+ * @param [encoding] The `encoding` of the return value.
2313
2313
  * @param [format='uncompressed']
2314
2314
  * @return The EC Diffie-Hellman public key in the specified `encoding` and `format`.
2315
2315
  */
2316
- getPublicKey(): Buffer;
2316
+ getPublicKey(encoding?: null, format?: ECDHKeyFormat): Buffer;
2317
2317
  getPublicKey(encoding: BinaryToTextEncoding, format?: ECDHKeyFormat): string;
2318
2318
  /**
2319
2319
  * Sets the EC Diffie-Hellman private key.
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.7.5",
3
+ "version": "18.7.6",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -220,6 +220,6 @@
220
220
  },
221
221
  "scripts": {},
222
222
  "dependencies": {},
223
- "typesPublisherContentHash": "b3d2ce548d64952af2585c97148879dfa054b7a7ea087a095c93ddd158dbb37b",
223
+ "typesPublisherContentHash": "cd432c68b37a5e2bdfd29e94c83191aa3220708137ac9cad45a6d88d2f8f9b17",
224
224
  "typeScriptVersion": "4.0"
225
225
  }