@types/node 18.19.59 → 18.19.61
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 v18.19/README.md +1 -1
- node v18.19/crypto.d.ts +0 -5
- node v18.19/package.json +2 -2
- node v18.19/util.d.ts +15 -7
node v18.19/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/v18.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 29 Oct 2024 17:02:26 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v18.19/crypto.d.ts
CHANGED
|
@@ -610,11 +610,6 @@ declare module "crypto" {
|
|
|
610
610
|
* @since v11.6.0
|
|
611
611
|
*/
|
|
612
612
|
asymmetricKeyType?: KeyType | undefined;
|
|
613
|
-
/**
|
|
614
|
-
* For asymmetric keys, this property represents the size of the embedded key in
|
|
615
|
-
* bytes. This property is `undefined` for symmetric keys.
|
|
616
|
-
*/
|
|
617
|
-
asymmetricKeySize?: number | undefined;
|
|
618
613
|
/**
|
|
619
614
|
* This property exists only on asymmetric keys. Depending on the type of the key,
|
|
620
615
|
* this object contains information about the key. None of the information obtained
|
node v18.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.19.
|
|
3
|
+
"version": "18.19.61",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -225,6 +225,6 @@
|
|
|
225
225
|
"undici-types": "~5.26.4"
|
|
226
226
|
},
|
|
227
227
|
"peerDependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
228
|
+
"typesPublisherContentHash": "a4c065daaabcebafd1f1bbd2d13d4776b5b37c22b9d9c1b2b75868ad66562baa",
|
|
229
229
|
"typeScriptVersion": "4.8"
|
|
230
230
|
}
|
node v18.19/util.d.ts
CHANGED
|
@@ -1393,15 +1393,23 @@ declare module "util" {
|
|
|
1393
1393
|
string | boolean
|
|
1394
1394
|
>;
|
|
1395
1395
|
|
|
1396
|
+
type ApplyOptionalModifiers<O extends ParseArgsOptionsConfig, V extends Record<keyof O, unknown>> = (
|
|
1397
|
+
& { -readonly [LongOption in keyof O]?: V[LongOption] }
|
|
1398
|
+
& { [LongOption in keyof O as O[LongOption]["default"] extends {} ? LongOption : never]: V[LongOption] }
|
|
1399
|
+
) extends infer P ? { [K in keyof P]: P[K] } : never; // resolve intersection to object
|
|
1400
|
+
|
|
1396
1401
|
type ParsedValues<T extends ParseArgsConfig> =
|
|
1397
1402
|
& IfDefaultsTrue<T["strict"], unknown, { [longOption: string]: undefined | string | boolean }>
|
|
1398
|
-
& (T["options"] extends ParseArgsOptionsConfig ?
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1403
|
+
& (T["options"] extends ParseArgsOptionsConfig ? ApplyOptionalModifiers<
|
|
1404
|
+
T["options"],
|
|
1405
|
+
{
|
|
1406
|
+
[LongOption in keyof T["options"]]: IfDefaultsFalse<
|
|
1407
|
+
T["options"][LongOption]["multiple"],
|
|
1408
|
+
Array<ExtractOptionValue<T, T["options"][LongOption]>>,
|
|
1409
|
+
ExtractOptionValue<T, T["options"][LongOption]>
|
|
1410
|
+
>;
|
|
1411
|
+
}
|
|
1412
|
+
>
|
|
1405
1413
|
: {});
|
|
1406
1414
|
|
|
1407
1415
|
type ParsedPositionals<T extends ParseArgsConfig> = IfDefaultsTrue<
|