@types/node 16.18.100 → 16.18.102
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 v16.18/README.md +1 -1
- node v16.18/child_process.d.ts +2 -2
- node v16.18/crypto.d.ts +5 -4
- node v16.18/package.json +3 -3
node v16.18/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 16 Jul 2024 20:07:33 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v16.18/child_process.d.ts
CHANGED
|
@@ -1383,8 +1383,8 @@ declare module "child_process" {
|
|
|
1383
1383
|
* @param modulePath The module to run in the child.
|
|
1384
1384
|
* @param args List of string arguments.
|
|
1385
1385
|
*/
|
|
1386
|
-
function fork(modulePath: string, options?: ForkOptions): ChildProcess;
|
|
1387
|
-
function fork(modulePath: string, args?: readonly string[], options?: ForkOptions): ChildProcess;
|
|
1386
|
+
function fork(modulePath: string | URL, options?: ForkOptions): ChildProcess;
|
|
1387
|
+
function fork(modulePath: string | URL, args?: readonly string[], options?: ForkOptions): ChildProcess;
|
|
1388
1388
|
interface SpawnSyncOptions extends CommonSpawnOptions {
|
|
1389
1389
|
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
1390
1390
|
maxBuffer?: number | undefined;
|
node v16.18/crypto.d.ts
CHANGED
|
@@ -1318,6 +1318,7 @@ declare module "crypto" {
|
|
|
1318
1318
|
interface SignKeyObjectInput extends SigningOptions {
|
|
1319
1319
|
key: KeyObject;
|
|
1320
1320
|
}
|
|
1321
|
+
interface SignJsonWebKeyInput extends JsonWebKeyInput, SigningOptions {}
|
|
1321
1322
|
interface VerifyPublicKeyInput extends PublicKeyInput, SigningOptions {}
|
|
1322
1323
|
interface VerifyKeyObjectInput extends SigningOptions {
|
|
1323
1324
|
key: KeyObject;
|
|
@@ -1413,9 +1414,9 @@ declare module "crypto" {
|
|
|
1413
1414
|
* called. Multiple calls to `sign.sign()` will result in an error being thrown.
|
|
1414
1415
|
* @since v0.1.92
|
|
1415
1416
|
*/
|
|
1416
|
-
sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput): Buffer;
|
|
1417
|
+
sign(privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput | SignJsonWebKeyInput): Buffer;
|
|
1417
1418
|
sign(
|
|
1418
|
-
privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput,
|
|
1419
|
+
privateKey: KeyLike | SignKeyObjectInput | SignPrivateKeyInput | SignJsonWebKeyInput,
|
|
1419
1420
|
outputFormat: BinaryToTextEncoding,
|
|
1420
1421
|
): string;
|
|
1421
1422
|
}
|
|
@@ -3297,12 +3298,12 @@ declare module "crypto" {
|
|
|
3297
3298
|
function sign(
|
|
3298
3299
|
algorithm: string | null | undefined,
|
|
3299
3300
|
data: NodeJS.ArrayBufferView,
|
|
3300
|
-
key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput,
|
|
3301
|
+
key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput | SignJsonWebKeyInput,
|
|
3301
3302
|
): Buffer;
|
|
3302
3303
|
function sign(
|
|
3303
3304
|
algorithm: string | null | undefined,
|
|
3304
3305
|
data: NodeJS.ArrayBufferView,
|
|
3305
|
-
key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput,
|
|
3306
|
+
key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput | SignJsonWebKeyInput,
|
|
3306
3307
|
callback: (error: Error | null, data: Buffer) => void,
|
|
3307
3308
|
): void;
|
|
3308
3309
|
/**
|
node v16.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.18.
|
|
3
|
+
"version": "16.18.102",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -210,6 +210,6 @@
|
|
|
210
210
|
},
|
|
211
211
|
"scripts": {},
|
|
212
212
|
"dependencies": {},
|
|
213
|
-
"typesPublisherContentHash": "
|
|
214
|
-
"typeScriptVersion": "4.
|
|
213
|
+
"typesPublisherContentHash": "a27ff62c2cecf5a12bb841df4f1a3c2a6fe58740d28d73d02e914cabd80e3e00",
|
|
214
|
+
"typeScriptVersion": "4.8"
|
|
215
215
|
}
|