cdk-common 2.0.1290 → 2.0.1292
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.
- package/.jsii +2 -2
- package/lib/main.js +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@types/concat-stream/node_modules/@types/node/crypto.d.ts +117 -7
- package/node_modules/@types/concat-stream/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@types/concat-stream/node_modules/@types/node/fs.d.ts +224 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/http.d.ts +28 -3
- package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/concat-stream/node_modules/@types/node/test.d.ts +2 -23
- package/node_modules/@types/concat-stream/node_modules/@types/node/util.d.ts +5 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/web-globals/events.d.ts +3 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/worker_threads.d.ts +33 -47
- package/node_modules/@types/concat-stream/node_modules/@types/node/zlib.d.ts +6 -0
- package/node_modules/@types/concat-stream/node_modules/undici-types/agent.d.ts +0 -4
- package/node_modules/@types/concat-stream/node_modules/undici-types/client.d.ts +0 -2
- package/node_modules/@types/concat-stream/node_modules/undici-types/dispatcher.d.ts +0 -6
- package/node_modules/@types/concat-stream/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@types/concat-stream/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@types/concat-stream/node_modules/undici-types/mock-interceptor.d.ts +0 -1
- package/node_modules/@types/concat-stream/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/concat-stream/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/assert/strict.d.ts +105 -2
- package/node_modules/@types/form-data/node_modules/@types/node/assert.d.ts +119 -95
- package/node_modules/@types/form-data/node_modules/@types/node/crypto.d.ts +117 -7
- package/node_modules/@types/form-data/node_modules/@types/node/events.d.ts +79 -33
- package/node_modules/@types/form-data/node_modules/@types/node/fs.d.ts +224 -0
- package/node_modules/@types/form-data/node_modules/@types/node/http.d.ts +28 -3
- package/node_modules/@types/form-data/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/form-data/node_modules/@types/node/test.d.ts +2 -23
- package/node_modules/@types/form-data/node_modules/@types/node/util.d.ts +5 -0
- package/node_modules/@types/form-data/node_modules/@types/node/web-globals/events.d.ts +3 -0
- package/node_modules/@types/form-data/node_modules/@types/node/worker_threads.d.ts +33 -47
- package/node_modules/@types/form-data/node_modules/@types/node/zlib.d.ts +6 -0
- package/node_modules/@types/form-data/node_modules/undici-types/agent.d.ts +0 -4
- package/node_modules/@types/form-data/node_modules/undici-types/client.d.ts +0 -2
- package/node_modules/@types/form-data/node_modules/undici-types/dispatcher.d.ts +0 -6
- package/node_modules/@types/form-data/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/@types/form-data/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/@types/form-data/node_modules/undici-types/mock-interceptor.d.ts +0 -1
- package/node_modules/@types/form-data/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/form-data/node_modules/undici-types/snapshot-agent.d.ts +107 -0
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -12420,6 +12420,6 @@
|
|
|
12420
12420
|
"symbolId": "src/main:LambdaArmFunctionProps"
|
|
12421
12421
|
}
|
|
12422
12422
|
},
|
|
12423
|
-
"version": "2.0.
|
|
12424
|
-
"fingerprint": "
|
|
12423
|
+
"version": "2.0.1292",
|
|
12424
|
+
"fingerprint": "zSNEQ+J1PPwujDYK8tyHGoRbdasRhuT2NRgCsqdyVDo="
|
|
12425
12425
|
}
|
package/lib/main.js
CHANGED
|
@@ -38,5 +38,5 @@ class LambdaArmFunction extends constructs_1.Construct {
|
|
|
38
38
|
}
|
|
39
39
|
exports.LambdaArmFunction = LambdaArmFunction;
|
|
40
40
|
_a = JSII_RTTI_SYMBOL_1;
|
|
41
|
-
LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.
|
|
41
|
+
LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.1292" };
|
|
42
42
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbUNBQW1DO0FBQ25DLGlEQUFpRDtBQUNqRCwyQ0FBdUM7QUFLdkMsTUFBYSxpQkFBa0IsU0FBUSxzQkFBUztJQUU5QyxZQUFZLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQTRCO1FBQ3BFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsTUFBTSxlQUFlLEdBQUcsSUFBSSxHQUFHLENBQXlCO1lBQ3RELENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxXQUFXLEVBQUUsbUNBQW1DLENBQUM7WUFDakUsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLFdBQVcsRUFBRSxtQ0FBbUMsQ0FBQztZQUNqRSxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFLG1DQUFtQyxDQUFDO1lBQ2pFLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxXQUFXLEVBQUUsa0NBQWtDLENBQUM7WUFDaEUsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLFdBQVcsRUFBRSxrQ0FBa0MsQ0FBQztZQUNoRSxDQUFDLE1BQU0sQ0FBQyxPQU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bGFtYmRhL2xhdGVzdC9kZy9mb3VuZGF0aW9uLWFyY2guaHRtbD9pY21waWQ9ZG9jc19sYW1iZGFfcnNzYCk7XG4gICAgfVxuXG4gICAgdGhpcy5sYW1iZGFGdW5jdGlvbiA9IG5ldyBsYW1iZGEuRnVuY3Rpb24odGhpcywgJ0xhbWJkYUZ1bmN0aW9uJywge1xuICAgICAgYXJjaGl0ZWN0dXJlOiBwcm9wcy5hcmNoaXRlY3R1cmUgPz8gbGFtYmRhLkFyY2hpdGVjdHVyZS5BUk1fNjQsXG4gICAgICAuLi5wcm9wcyxcbiAgICB9KTtcbiAgfVxufVxuIl19
|
|
@@ -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.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 30 Sep 2025 23:32:16 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -1,8 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* In strict assertion mode, non-strict methods behave like their corresponding
|
|
3
|
+
* strict methods. For example, `assert.deepEqual()` will behave like
|
|
4
|
+
* `assert.deepStrictEqual()`.
|
|
5
|
+
*
|
|
6
|
+
* In strict assertion mode, error messages for objects display a diff. In legacy
|
|
7
|
+
* assertion mode, error messages for objects display the objects, often truncated.
|
|
8
|
+
*
|
|
9
|
+
* To use strict assertion mode:
|
|
10
|
+
*
|
|
11
|
+
* ```js
|
|
12
|
+
* import { strict as assert } from 'node:assert';
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* ```js
|
|
16
|
+
* import assert from 'node:assert/strict';
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* Example error diff:
|
|
20
|
+
*
|
|
21
|
+
* ```js
|
|
22
|
+
* import { strict as assert } from 'node:assert';
|
|
23
|
+
*
|
|
24
|
+
* assert.deepEqual([[[1, 2, 3]], 4, 5], [[[1, 2, '3']], 4, 5]);
|
|
25
|
+
* // AssertionError: Expected inputs to be strictly deep-equal:
|
|
26
|
+
* // + actual - expected ... Lines skipped
|
|
27
|
+
* //
|
|
28
|
+
* // [
|
|
29
|
+
* // [
|
|
30
|
+
* // ...
|
|
31
|
+
* // 2,
|
|
32
|
+
* // + 3
|
|
33
|
+
* // - '3'
|
|
34
|
+
* // ],
|
|
35
|
+
* // ...
|
|
36
|
+
* // 5
|
|
37
|
+
* // ]
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* To deactivate the colors, use the `NO_COLOR` or `NODE_DISABLE_COLORS`
|
|
41
|
+
* environment variables. This will also deactivate the colors in the REPL. For
|
|
42
|
+
* more on color support in terminal environments, read the tty
|
|
43
|
+
* [`getColorDepth()`](https://nodejs.org/docs/latest-v24.x/api/tty.html#writestreamgetcolordepthenv) documentation.
|
|
44
|
+
* @since v15.0.0
|
|
45
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/assert/strict.js)
|
|
46
|
+
*/
|
|
1
47
|
declare module "assert/strict" {
|
|
2
|
-
import {
|
|
48
|
+
import {
|
|
49
|
+
Assert,
|
|
50
|
+
AssertionError,
|
|
51
|
+
AssertionErrorOptions,
|
|
52
|
+
AssertOptions,
|
|
53
|
+
AssertPredicate,
|
|
54
|
+
AssertStrict,
|
|
55
|
+
CallTracker,
|
|
56
|
+
CallTrackerCall,
|
|
57
|
+
CallTrackerReportInformation,
|
|
58
|
+
deepStrictEqual,
|
|
59
|
+
doesNotMatch,
|
|
60
|
+
doesNotReject,
|
|
61
|
+
doesNotThrow,
|
|
62
|
+
fail,
|
|
63
|
+
ifError,
|
|
64
|
+
match,
|
|
65
|
+
notDeepStrictEqual,
|
|
66
|
+
notStrictEqual,
|
|
67
|
+
ok,
|
|
68
|
+
partialDeepStrictEqual,
|
|
69
|
+
rejects,
|
|
70
|
+
strictEqual,
|
|
71
|
+
throws,
|
|
72
|
+
} from "node:assert";
|
|
73
|
+
function strict(value: unknown, message?: string | Error): asserts value;
|
|
74
|
+
namespace strict {
|
|
75
|
+
export {
|
|
76
|
+
Assert,
|
|
77
|
+
AssertionError,
|
|
78
|
+
AssertionErrorOptions,
|
|
79
|
+
AssertOptions,
|
|
80
|
+
AssertPredicate,
|
|
81
|
+
AssertStrict,
|
|
82
|
+
CallTracker,
|
|
83
|
+
CallTrackerCall,
|
|
84
|
+
CallTrackerReportInformation,
|
|
85
|
+
deepStrictEqual,
|
|
86
|
+
deepStrictEqual as deepEqual,
|
|
87
|
+
doesNotMatch,
|
|
88
|
+
doesNotReject,
|
|
89
|
+
doesNotThrow,
|
|
90
|
+
fail,
|
|
91
|
+
ifError,
|
|
92
|
+
match,
|
|
93
|
+
notDeepStrictEqual,
|
|
94
|
+
notDeepStrictEqual as notDeepEqual,
|
|
95
|
+
notStrictEqual,
|
|
96
|
+
notStrictEqual as notEqual,
|
|
97
|
+
ok,
|
|
98
|
+
partialDeepStrictEqual,
|
|
99
|
+
rejects,
|
|
100
|
+
strict,
|
|
101
|
+
strictEqual,
|
|
102
|
+
strictEqual as equal,
|
|
103
|
+
throws,
|
|
104
|
+
};
|
|
105
|
+
}
|
|
3
106
|
export = strict;
|
|
4
107
|
}
|
|
5
108
|
declare module "node:assert/strict" {
|
|
6
|
-
import
|
|
109
|
+
import strict = require("assert/strict");
|
|
7
110
|
export = strict;
|
|
8
111
|
}
|
|
@@ -4,17 +4,128 @@
|
|
|
4
4
|
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/assert.js)
|
|
5
5
|
*/
|
|
6
6
|
declare module "assert" {
|
|
7
|
+
import strict = require("assert/strict");
|
|
7
8
|
/**
|
|
8
|
-
* An alias of {@link ok}.
|
|
9
|
+
* An alias of {@link assert.ok}.
|
|
9
10
|
* @since v0.5.9
|
|
10
11
|
* @param value The input that is checked for being truthy.
|
|
11
12
|
*/
|
|
12
13
|
function assert(value: unknown, message?: string | Error): asserts value;
|
|
14
|
+
const kOptions: unique symbol;
|
|
13
15
|
namespace assert {
|
|
16
|
+
type AssertMethodNames =
|
|
17
|
+
| "deepEqual"
|
|
18
|
+
| "deepStrictEqual"
|
|
19
|
+
| "doesNotMatch"
|
|
20
|
+
| "doesNotReject"
|
|
21
|
+
| "doesNotThrow"
|
|
22
|
+
| "equal"
|
|
23
|
+
| "fail"
|
|
24
|
+
| "ifError"
|
|
25
|
+
| "match"
|
|
26
|
+
| "notDeepEqual"
|
|
27
|
+
| "notDeepStrictEqual"
|
|
28
|
+
| "notEqual"
|
|
29
|
+
| "notStrictEqual"
|
|
30
|
+
| "ok"
|
|
31
|
+
| "partialDeepStrictEqual"
|
|
32
|
+
| "rejects"
|
|
33
|
+
| "strictEqual"
|
|
34
|
+
| "throws";
|
|
35
|
+
interface AssertOptions {
|
|
36
|
+
/**
|
|
37
|
+
* If set to `'full'`, shows the full diff in assertion errors.
|
|
38
|
+
* @default 'simple'
|
|
39
|
+
*/
|
|
40
|
+
diff?: "simple" | "full" | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* If set to `true`, non-strict methods behave like their
|
|
43
|
+
* corresponding strict methods.
|
|
44
|
+
* @default true
|
|
45
|
+
*/
|
|
46
|
+
strict?: boolean | undefined;
|
|
47
|
+
}
|
|
48
|
+
interface Assert extends Pick<typeof assert, AssertMethodNames> {
|
|
49
|
+
readonly [kOptions]: AssertOptions & { strict: false };
|
|
50
|
+
}
|
|
51
|
+
interface AssertStrict extends Pick<typeof strict, AssertMethodNames> {
|
|
52
|
+
readonly [kOptions]: AssertOptions & { strict: true };
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The `Assert` class allows creating independent assertion instances with custom options.
|
|
56
|
+
* @since v24.6.0
|
|
57
|
+
*/
|
|
58
|
+
var Assert: {
|
|
59
|
+
/**
|
|
60
|
+
* Creates a new assertion instance. The `diff` option controls the verbosity of diffs in assertion error messages.
|
|
61
|
+
*
|
|
62
|
+
* ```js
|
|
63
|
+
* const { Assert } = require('node:assert');
|
|
64
|
+
* const assertInstance = new Assert({ diff: 'full' });
|
|
65
|
+
* assertInstance.deepStrictEqual({ a: 1 }, { a: 2 });
|
|
66
|
+
* // Shows a full diff in the error message.
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* **Important**: When destructuring assertion methods from an `Assert` instance,
|
|
70
|
+
* the methods lose their connection to the instance's configuration options (such as `diff` and `strict` settings).
|
|
71
|
+
* The destructured methods will fall back to default behavior instead.
|
|
72
|
+
*
|
|
73
|
+
* ```js
|
|
74
|
+
* const myAssert = new Assert({ diff: 'full' });
|
|
75
|
+
*
|
|
76
|
+
* // This works as expected - uses 'full' diff
|
|
77
|
+
* myAssert.strictEqual({ a: 1 }, { b: { c: 1 } });
|
|
78
|
+
*
|
|
79
|
+
* // This loses the 'full' diff setting - falls back to default 'simple' diff
|
|
80
|
+
* const { strictEqual } = myAssert;
|
|
81
|
+
* strictEqual({ a: 1 }, { b: { c: 1 } });
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* When destructured, methods lose access to the instance's `this` context and revert to default assertion behavior
|
|
85
|
+
* (diff: 'simple', non-strict mode).
|
|
86
|
+
* To maintain custom options when using destructured methods, avoid
|
|
87
|
+
* destructuring and call methods directly on the instance.
|
|
88
|
+
* @since v24.6.0
|
|
89
|
+
*/
|
|
90
|
+
new(
|
|
91
|
+
options?: AssertOptions & { strict?: true },
|
|
92
|
+
): AssertStrict;
|
|
93
|
+
new(
|
|
94
|
+
options: AssertOptions,
|
|
95
|
+
): Assert;
|
|
96
|
+
};
|
|
97
|
+
interface AssertionErrorOptions {
|
|
98
|
+
/**
|
|
99
|
+
* If provided, the error message is set to this value.
|
|
100
|
+
*/
|
|
101
|
+
message?: string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* The `actual` property on the error instance.
|
|
104
|
+
*/
|
|
105
|
+
actual?: unknown;
|
|
106
|
+
/**
|
|
107
|
+
* The `expected` property on the error instance.
|
|
108
|
+
*/
|
|
109
|
+
expected?: unknown;
|
|
110
|
+
/**
|
|
111
|
+
* The `operator` property on the error instance.
|
|
112
|
+
*/
|
|
113
|
+
operator?: string | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* If provided, the generated stack trace omits frames before this function.
|
|
116
|
+
*/
|
|
117
|
+
stackStartFn?: Function | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* If set to `'full'`, shows the full diff in assertion errors.
|
|
120
|
+
* @default 'simple'
|
|
121
|
+
*/
|
|
122
|
+
diff?: "simple" | "full" | undefined;
|
|
123
|
+
}
|
|
14
124
|
/**
|
|
15
125
|
* Indicates the failure of an assertion. All errors thrown by the `node:assert` module will be instances of the `AssertionError` class.
|
|
16
126
|
*/
|
|
17
127
|
class AssertionError extends Error {
|
|
128
|
+
constructor(options: AssertionErrorOptions);
|
|
18
129
|
/**
|
|
19
130
|
* Set to the `actual` argument for methods such as {@link assert.strictEqual()}.
|
|
20
131
|
*/
|
|
@@ -23,10 +134,6 @@ declare module "assert" {
|
|
|
23
134
|
* Set to the `expected` argument for methods such as {@link assert.strictEqual()}.
|
|
24
135
|
*/
|
|
25
136
|
expected: unknown;
|
|
26
|
-
/**
|
|
27
|
-
* Set to the passed in operator value.
|
|
28
|
-
*/
|
|
29
|
-
operator: string;
|
|
30
137
|
/**
|
|
31
138
|
* Indicates if the message was auto-generated (`true`) or not.
|
|
32
139
|
*/
|
|
@@ -35,19 +142,10 @@ declare module "assert" {
|
|
|
35
142
|
* Value is always `ERR_ASSERTION` to show that the error is an assertion error.
|
|
36
143
|
*/
|
|
37
144
|
code: "ERR_ASSERTION";
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
actual?: unknown | undefined;
|
|
43
|
-
/** The `expected` property on the error instance. */
|
|
44
|
-
expected?: unknown | undefined;
|
|
45
|
-
/** The `operator` property on the error instance. */
|
|
46
|
-
operator?: string | undefined;
|
|
47
|
-
/** If provided, the generated stack trace omits frames before this function. */
|
|
48
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
49
|
-
stackStartFn?: Function | undefined;
|
|
50
|
-
});
|
|
145
|
+
/**
|
|
146
|
+
* Set to the passed in operator value.
|
|
147
|
+
*/
|
|
148
|
+
operator: string;
|
|
51
149
|
}
|
|
52
150
|
/**
|
|
53
151
|
* This feature is deprecated and will be removed in a future version.
|
|
@@ -970,83 +1068,9 @@ declare module "assert" {
|
|
|
970
1068
|
* @since v22.13.0
|
|
971
1069
|
*/
|
|
972
1070
|
function partialDeepStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
*
|
|
977
|
-
* In strict assertion mode, error messages for objects display a diff. In legacy assertion mode, error
|
|
978
|
-
* messages for objects display the objects, often truncated.
|
|
979
|
-
*
|
|
980
|
-
* To use strict assertion mode:
|
|
981
|
-
*
|
|
982
|
-
* ```js
|
|
983
|
-
* import { strict as assert } from 'node:assert';
|
|
984
|
-
* import assert from 'node:assert/strict';
|
|
985
|
-
* ```
|
|
986
|
-
*
|
|
987
|
-
* Example error diff:
|
|
988
|
-
*
|
|
989
|
-
* ```js
|
|
990
|
-
* import { strict as assert } from 'node:assert';
|
|
991
|
-
*
|
|
992
|
-
* assert.deepEqual([[[1, 2, 3]], 4, 5], [[[1, 2, '3']], 4, 5]);
|
|
993
|
-
* // AssertionError: Expected inputs to be strictly deep-equal:
|
|
994
|
-
* // + actual - expected ... Lines skipped
|
|
995
|
-
* //
|
|
996
|
-
* // [
|
|
997
|
-
* // [
|
|
998
|
-
* // ...
|
|
999
|
-
* // 2,
|
|
1000
|
-
* // + 3
|
|
1001
|
-
* // - '3'
|
|
1002
|
-
* // ],
|
|
1003
|
-
* // ...
|
|
1004
|
-
* // 5
|
|
1005
|
-
* // ]
|
|
1006
|
-
* ```
|
|
1007
|
-
*
|
|
1008
|
-
* To deactivate the colors, use the `NO_COLOR` or `NODE_DISABLE_COLORS` environment variables. This will also
|
|
1009
|
-
* deactivate the colors in the REPL. For more on color support in terminal environments, read the tty
|
|
1010
|
-
* `getColorDepth()` documentation.
|
|
1011
|
-
*
|
|
1012
|
-
* @since v15.0.0, v13.9.0, v12.16.2, v9.9.0
|
|
1013
|
-
*/
|
|
1014
|
-
namespace strict {
|
|
1015
|
-
type AssertionError = assert.AssertionError;
|
|
1016
|
-
type AssertPredicate = assert.AssertPredicate;
|
|
1017
|
-
type CallTrackerCall = assert.CallTrackerCall;
|
|
1018
|
-
type CallTrackerReportInformation = assert.CallTrackerReportInformation;
|
|
1019
|
-
}
|
|
1020
|
-
const strict:
|
|
1021
|
-
& Omit<
|
|
1022
|
-
typeof assert,
|
|
1023
|
-
| "equal"
|
|
1024
|
-
| "notEqual"
|
|
1025
|
-
| "deepEqual"
|
|
1026
|
-
| "notDeepEqual"
|
|
1027
|
-
| "ok"
|
|
1028
|
-
| "strictEqual"
|
|
1029
|
-
| "deepStrictEqual"
|
|
1030
|
-
| "ifError"
|
|
1031
|
-
| "strict"
|
|
1032
|
-
| "AssertionError"
|
|
1033
|
-
>
|
|
1034
|
-
& {
|
|
1035
|
-
(value: unknown, message?: string | Error): asserts value;
|
|
1036
|
-
equal: typeof strictEqual;
|
|
1037
|
-
notEqual: typeof notStrictEqual;
|
|
1038
|
-
deepEqual: typeof deepStrictEqual;
|
|
1039
|
-
notDeepEqual: typeof notDeepStrictEqual;
|
|
1040
|
-
// Mapped types and assertion functions are incompatible?
|
|
1041
|
-
// TS2775: Assertions require every name in the call target
|
|
1042
|
-
// to be declared with an explicit type annotation.
|
|
1043
|
-
ok: typeof ok;
|
|
1044
|
-
strictEqual: typeof strictEqual;
|
|
1045
|
-
deepStrictEqual: typeof deepStrictEqual;
|
|
1046
|
-
ifError: typeof ifError;
|
|
1047
|
-
strict: typeof strict;
|
|
1048
|
-
AssertionError: typeof AssertionError;
|
|
1049
|
-
};
|
|
1071
|
+
}
|
|
1072
|
+
namespace assert {
|
|
1073
|
+
export { strict };
|
|
1050
1074
|
}
|
|
1051
1075
|
export = assert;
|
|
1052
1076
|
}
|
|
@@ -603,6 +603,9 @@ declare module "crypto" {
|
|
|
603
603
|
* * `'ed25519'` (OID 1.3.101.112)
|
|
604
604
|
* * `'ed448'` (OID 1.3.101.113)
|
|
605
605
|
* * `'dh'` (OID 1.2.840.113549.1.3.1)
|
|
606
|
+
* * `'ml-dsa-44'` (OID 2.16.840.1.101.3.4.3.17)
|
|
607
|
+
* * `'ml-dsa-65'` (OID 2.16.840.1.101.3.4.3.18)
|
|
608
|
+
* * `'ml-dsa-87'` (OID 2.16.840.1.101.3.4.3.19)
|
|
606
609
|
*
|
|
607
610
|
* This property is `undefined` for unrecognized `KeyObject` types and symmetric
|
|
608
611
|
* keys.
|
|
@@ -2456,7 +2459,18 @@ declare module "crypto" {
|
|
|
2456
2459
|
* @since v6.6.0
|
|
2457
2460
|
*/
|
|
2458
2461
|
function timingSafeEqual(a: NodeJS.ArrayBufferView, b: NodeJS.ArrayBufferView): boolean;
|
|
2459
|
-
type KeyType =
|
|
2462
|
+
type KeyType =
|
|
2463
|
+
| "rsa"
|
|
2464
|
+
| "rsa-pss"
|
|
2465
|
+
| "dsa"
|
|
2466
|
+
| "ec"
|
|
2467
|
+
| "ed25519"
|
|
2468
|
+
| "ed448"
|
|
2469
|
+
| "x25519"
|
|
2470
|
+
| "x448"
|
|
2471
|
+
| "ml-dsa-44"
|
|
2472
|
+
| "ml-dsa-65"
|
|
2473
|
+
| "ml-dsa-87";
|
|
2460
2474
|
type KeyFormat = "pem" | "der" | "jwk";
|
|
2461
2475
|
interface BasePrivateKeyEncodingOptions<T extends KeyFormat> {
|
|
2462
2476
|
format: T;
|
|
@@ -2471,6 +2485,7 @@ declare module "crypto" {
|
|
|
2471
2485
|
interface ED448KeyPairKeyObjectOptions {}
|
|
2472
2486
|
interface X25519KeyPairKeyObjectOptions {}
|
|
2473
2487
|
interface X448KeyPairKeyObjectOptions {}
|
|
2488
|
+
interface MLDSAKeyPairKeyObjectOptions {}
|
|
2474
2489
|
interface ECKeyPairKeyObjectOptions {
|
|
2475
2490
|
/**
|
|
2476
2491
|
* Name of the curve to use
|
|
@@ -2635,13 +2650,22 @@ declare module "crypto" {
|
|
|
2635
2650
|
type: "pkcs8";
|
|
2636
2651
|
};
|
|
2637
2652
|
}
|
|
2653
|
+
interface MLDSAKeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
|
|
2654
|
+
publicKeyEncoding: {
|
|
2655
|
+
type: "spki";
|
|
2656
|
+
format: PubF;
|
|
2657
|
+
};
|
|
2658
|
+
privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
|
|
2659
|
+
type: "pkcs8";
|
|
2660
|
+
};
|
|
2661
|
+
}
|
|
2638
2662
|
interface KeyPairSyncResult<T1 extends string | Buffer, T2 extends string | Buffer> {
|
|
2639
2663
|
publicKey: T1;
|
|
2640
2664
|
privateKey: T2;
|
|
2641
2665
|
}
|
|
2642
2666
|
/**
|
|
2643
2667
|
* Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC,
|
|
2644
|
-
* Ed25519, Ed448, X25519, X448, and
|
|
2668
|
+
* Ed25519, Ed448, X25519, X448, DH, and ML-DSA are currently supported.
|
|
2645
2669
|
*
|
|
2646
2670
|
* If a `publicKeyEncoding` or `privateKeyEncoding` was specified, this function
|
|
2647
2671
|
* behaves as if `keyObject.export()` had been called on its result. Otherwise,
|
|
@@ -2678,7 +2702,8 @@ declare module "crypto" {
|
|
|
2678
2702
|
* When PEM encoding was selected, the respective key will be a string, otherwise
|
|
2679
2703
|
* it will be a buffer containing the data encoded as DER.
|
|
2680
2704
|
* @since v10.12.0
|
|
2681
|
-
* @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`,
|
|
2705
|
+
* @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`,
|
|
2706
|
+
* `'ed448'`, `'x25519'`, `'x448'`, `'dh'`, `'ml-dsa-44'`, `'ml-dsa-65'`, or `'ml-dsa-87'`.
|
|
2682
2707
|
*/
|
|
2683
2708
|
function generateKeyPairSync(
|
|
2684
2709
|
type: "rsa",
|
|
@@ -2816,6 +2841,26 @@ declare module "crypto" {
|
|
|
2816
2841
|
options: X448KeyPairOptions<"der", "der">,
|
|
2817
2842
|
): KeyPairSyncResult<Buffer, Buffer>;
|
|
2818
2843
|
function generateKeyPairSync(type: "x448", options?: X448KeyPairKeyObjectOptions): KeyPairKeyObjectResult;
|
|
2844
|
+
function generateKeyPairSync(
|
|
2845
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
2846
|
+
options: MLDSAKeyPairOptions<"pem", "pem">,
|
|
2847
|
+
): KeyPairSyncResult<string, string>;
|
|
2848
|
+
function generateKeyPairSync(
|
|
2849
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
2850
|
+
options: MLDSAKeyPairOptions<"pem", "der">,
|
|
2851
|
+
): KeyPairSyncResult<string, Buffer>;
|
|
2852
|
+
function generateKeyPairSync(
|
|
2853
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
2854
|
+
options: MLDSAKeyPairOptions<"der", "pem">,
|
|
2855
|
+
): KeyPairSyncResult<Buffer, string>;
|
|
2856
|
+
function generateKeyPairSync(
|
|
2857
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
2858
|
+
options: MLDSAKeyPairOptions<"der", "der">,
|
|
2859
|
+
): KeyPairSyncResult<Buffer, Buffer>;
|
|
2860
|
+
function generateKeyPairSync(
|
|
2861
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
2862
|
+
options?: MLDSAKeyPairKeyObjectOptions,
|
|
2863
|
+
): KeyPairKeyObjectResult;
|
|
2819
2864
|
/**
|
|
2820
2865
|
* Generates a new asymmetric key pair of the given `type`. RSA, RSA-PSS, DSA, EC,
|
|
2821
2866
|
* Ed25519, Ed448, X25519, X448, and DH are currently supported.
|
|
@@ -2853,7 +2898,8 @@ declare module "crypto" {
|
|
|
2853
2898
|
* If this method is invoked as its `util.promisify()` ed version, it returns
|
|
2854
2899
|
* a `Promise` for an `Object` with `publicKey` and `privateKey` properties.
|
|
2855
2900
|
* @since v10.12.0
|
|
2856
|
-
* @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`,
|
|
2901
|
+
* @param type Must be `'rsa'`, `'rsa-pss'`, `'dsa'`, `'ec'`, `'ed25519'`,
|
|
2902
|
+
* `'ed448'`, `'x25519'`, `'x448'`, `'dh'`, `'ml-dsa-44'`, `'ml-dsa-65'`, or `'ml-dsa-87'`.
|
|
2857
2903
|
*/
|
|
2858
2904
|
function generateKeyPair(
|
|
2859
2905
|
type: "rsa",
|
|
@@ -3055,6 +3101,31 @@ declare module "crypto" {
|
|
|
3055
3101
|
options: X448KeyPairKeyObjectOptions | undefined,
|
|
3056
3102
|
callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void,
|
|
3057
3103
|
): void;
|
|
3104
|
+
function generateKeyPair(
|
|
3105
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3106
|
+
options: MLDSAKeyPairOptions<"pem", "pem">,
|
|
3107
|
+
callback: (err: Error | null, publicKey: string, privateKey: string) => void,
|
|
3108
|
+
): void;
|
|
3109
|
+
function generateKeyPair(
|
|
3110
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3111
|
+
options: MLDSAKeyPairOptions<"pem", "der">,
|
|
3112
|
+
callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void,
|
|
3113
|
+
): void;
|
|
3114
|
+
function generateKeyPair(
|
|
3115
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3116
|
+
options: MLDSAKeyPairOptions<"der", "pem">,
|
|
3117
|
+
callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void,
|
|
3118
|
+
): void;
|
|
3119
|
+
function generateKeyPair(
|
|
3120
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3121
|
+
options: MLDSAKeyPairOptions<"der", "der">,
|
|
3122
|
+
callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void,
|
|
3123
|
+
): void;
|
|
3124
|
+
function generateKeyPair(
|
|
3125
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3126
|
+
options: MLDSAKeyPairKeyObjectOptions | undefined,
|
|
3127
|
+
callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void,
|
|
3128
|
+
): void;
|
|
3058
3129
|
namespace generateKeyPair {
|
|
3059
3130
|
function __promisify__(
|
|
3060
3131
|
type: "rsa",
|
|
@@ -3297,11 +3368,46 @@ declare module "crypto" {
|
|
|
3297
3368
|
privateKey: Buffer;
|
|
3298
3369
|
}>;
|
|
3299
3370
|
function __promisify__(type: "x448", options?: X448KeyPairKeyObjectOptions): Promise<KeyPairKeyObjectResult>;
|
|
3371
|
+
function __promisify__(
|
|
3372
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3373
|
+
options: MLDSAKeyPairOptions<"pem", "pem">,
|
|
3374
|
+
): Promise<{
|
|
3375
|
+
publicKey: string;
|
|
3376
|
+
privateKey: string;
|
|
3377
|
+
}>;
|
|
3378
|
+
function __promisify__(
|
|
3379
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3380
|
+
options: MLDSAKeyPairOptions<"pem", "der">,
|
|
3381
|
+
): Promise<{
|
|
3382
|
+
publicKey: string;
|
|
3383
|
+
privateKey: Buffer;
|
|
3384
|
+
}>;
|
|
3385
|
+
function __promisify__(
|
|
3386
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3387
|
+
options: MLDSAKeyPairOptions<"der", "pem">,
|
|
3388
|
+
): Promise<{
|
|
3389
|
+
publicKey: Buffer;
|
|
3390
|
+
privateKey: string;
|
|
3391
|
+
}>;
|
|
3392
|
+
function __promisify__(
|
|
3393
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3394
|
+
options: MLDSAKeyPairOptions<"der", "der">,
|
|
3395
|
+
): Promise<{
|
|
3396
|
+
publicKey: Buffer;
|
|
3397
|
+
privateKey: Buffer;
|
|
3398
|
+
}>;
|
|
3399
|
+
function __promisify__(
|
|
3400
|
+
type: "ml-dsa-44" | "ml-dsa-65" | "ml-dsa-87",
|
|
3401
|
+
options?: MLDSAKeyPairKeyObjectOptions,
|
|
3402
|
+
): Promise<KeyPairKeyObjectResult>;
|
|
3300
3403
|
}
|
|
3301
3404
|
/**
|
|
3302
3405
|
* Calculates and returns the signature for `data` using the given private key and
|
|
3303
3406
|
* algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is
|
|
3304
|
-
* dependent upon the key type
|
|
3407
|
+
* dependent upon the key type.
|
|
3408
|
+
*
|
|
3409
|
+
* `algorithm` is required to be `null` or `undefined` for Ed25519, Ed448, and
|
|
3410
|
+
* ML-DSA.
|
|
3305
3411
|
*
|
|
3306
3412
|
* If `key` is not a `KeyObject`, this function behaves as if `key` had been
|
|
3307
3413
|
* passed to {@link createPrivateKey}. If it is an object, the following
|
|
@@ -3322,8 +3428,12 @@ declare module "crypto" {
|
|
|
3322
3428
|
callback: (error: Error | null, data: Buffer) => void,
|
|
3323
3429
|
): void;
|
|
3324
3430
|
/**
|
|
3325
|
-
* Verifies the given signature for `data` using the given key and algorithm. If
|
|
3326
|
-
*
|
|
3431
|
+
* Verifies the given signature for `data` using the given key and algorithm. If
|
|
3432
|
+
* `algorithm` is `null` or `undefined`, then the algorithm is dependent upon the
|
|
3433
|
+
* key type.
|
|
3434
|
+
*
|
|
3435
|
+
* `algorithm` is required to be `null` or `undefined` for Ed25519, Ed448, and
|
|
3436
|
+
* ML-DSA.
|
|
3327
3437
|
*
|
|
3328
3438
|
* If `key` is not a `KeyObject`, this function behaves as if `key` had been
|
|
3329
3439
|
* passed to {@link createPublicKey}. If it is an object, the following
|