cdk-common 2.0.130 → 2.0.133
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/changelog.md +1 -1
- package/lib/main.js +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/async_hooks.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/crypto.d.ts +28 -4
- package/node_modules/@types/concat-stream/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/globals.d.ts +12 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/http2.d.ts +1 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/form-data/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/form-data/node_modules/@types/node/async_hooks.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/crypto.d.ts +28 -4
- package/node_modules/@types/form-data/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/globals.d.ts +12 -2
- package/node_modules/@types/form-data/node_modules/@types/node/http2.d.ts +1 -0
- package/node_modules/@types/form-data/node_modules/@types/node/package.json +2 -2
- package/package.json +2 -2
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
package/.jsii
CHANGED
|
@@ -8743,6 +8743,6 @@
|
|
|
8743
8743
|
"symbolId": "src/main:LambdaArmFunctionProps"
|
|
8744
8744
|
}
|
|
8745
8745
|
},
|
|
8746
|
-
"version": "2.0.
|
|
8747
|
-
"fingerprint": "
|
|
8746
|
+
"version": "2.0.133",
|
|
8747
|
+
"fingerprint": "652yKv66nRChrfGCsMWq2YcKijEMRb60B3DZYjuRNuQ="
|
|
8748
8748
|
}
|
package/changelog.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
### [2.0.
|
|
2
|
+
### [2.0.133](https://github.com/neilkuan/cdk-common/compare/v2.0.132...v2.0.133) (2022-04-27)
|
package/lib/main.js
CHANGED
|
@@ -41,5 +41,5 @@ class LambdaArmFunction extends constructs_1.Construct {
|
|
|
41
41
|
}
|
|
42
42
|
exports.LambdaArmFunction = LambdaArmFunction;
|
|
43
43
|
_a = JSII_RTTI_SYMBOL_1;
|
|
44
|
-
LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.
|
|
44
|
+
LambdaArmFunction[_a] = { fqn: "cdk-common.LambdaArmFunction", version: "2.0.133" };
|
|
45
45
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsbUNBQW1DO0FBQ25DLGlEQUFpRDtBQUNqRCwyQ0FBdUM7QUFLdkMsTUFBYSxpQkFBa0IsU0FBUSxzQkFBUztJQUU5QyxZQUFZLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQTRCO1FBQ3BFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsSUFBSSxLQUFLLENBQUMsT0FBTyxLQUFLLE1BQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFO1lBQ2hELEdBQUcsQ0FBQyxXQUFXLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxDQUFDLFVBQVUsQ0FBQyxtQ0FBbUMsQ0FBQyxDQUFDO1NBQzFFO2FBQU0sSUFBSSxLQUFLLENBQUMsT0FBTyxLQUFLLE1BQU0sQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFO1lBQ3ZELEdBQUcsQ0FBQyxXQUFXLENBQUMsRUFBRSxDQUFDLElBQUksQ0FBQyxDQUFDLFVBQVUsQ0FBQyxtQ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ykuYWRkV2FybmluZygnWW91IGFyZSB1c2luZyBKYXZhIDExIGF0IEFSTScpO1xuICAgIH0gZWxzZSBpZiAocHJvcHMucnVudGltZSA9PT0gbGFtYmRhLlJ1bnRpbWUuRE9UTkVUX0NPUkVfM18xKSB7XG4gICAgICBjZGsuQW5ub3RhdGlvbnMub2YodGhpcykuYWRkV2FybmluZygnWW91IGFyZSB1c2luZyBET1RORVQgQ09SRSAzLjEgYXQgQVJNJyk7XG4gICAgfSBlbHNlIGlmIChwcm9wcy5ydW50aW1lID09PSBsYW1iZGEuUnVudGltZS5SVUJZXzJfNykge1xuICAgICAgY2RrLkFubm90YXRpb25zLm9mKHRoaXMpLmFkZFdhcm5pbmcoJ1lvdSBhcmUgdXNpbmcgUlVCWSAyLjcgYXQgQVJNJyk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgSW52YWxpZCBSdW50aW1lICR7cHJvcHMucnVudGltZX0gYXQgQVJNLCBTZWUgaHR0cHM6Ly9kb2NzLmF3cy5hbWF6b24uY29tL2xhbWJkYS9sYXRlc3QvZGcvZm91bmRhdGlvbi1hcmNoLmh0bWw/aWNtcGlkPWRvY3NfbGFtYmRhX3Jzc2ApO1xuICAgIH1cblxuICAgIHRoaXMubGFtYmRhRnVuY3Rpb24gPSBuZXcgbGFtYmRhLkZ1bmN0aW9uKHRoaXMsICdMYW1iZGFGdW5jdGlvbicsIHsgYXJjaGl0ZWN0dXJlOiBsYW1iZGEuQXJjaGl0ZWN0dXJlLkFSTV82NCwgLi4ucHJvcHMgfSk7XG4gIH1cbn0iXX0=
|
|
@@ -8,9 +8,9 @@ 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:
|
|
11
|
+
* Last updated: Tue, 26 Apr 2022 21:01:46 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
|
-
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
13
|
+
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
16
|
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
|
|
@@ -258,7 +258,7 @@ declare module 'async_hooks' {
|
|
|
258
258
|
* @param type The type of async event.
|
|
259
259
|
* @param triggerAsyncId The ID of the execution context that created
|
|
260
260
|
* this async event (default: `executionAsyncId()`), or an
|
|
261
|
-
* AsyncResourceOptions object (since
|
|
261
|
+
* AsyncResourceOptions object (since v9.3.0)
|
|
262
262
|
*/
|
|
263
263
|
constructor(type: string, triggerAsyncId?: number | AsyncResourceOptions);
|
|
264
264
|
/**
|
|
@@ -646,6 +646,7 @@ declare module 'crypto' {
|
|
|
646
646
|
}
|
|
647
647
|
type CipherCCMTypes = 'aes-128-ccm' | 'aes-192-ccm' | 'aes-256-ccm' | 'chacha20-poly1305';
|
|
648
648
|
type CipherGCMTypes = 'aes-128-gcm' | 'aes-192-gcm' | 'aes-256-gcm';
|
|
649
|
+
type CipherOCBTypes = 'aes-128-ocb' | 'aes-192-ocb' | 'aes-256-ocb';
|
|
649
650
|
type BinaryLike = string | NodeJS.ArrayBufferView;
|
|
650
651
|
type CipherKey = BinaryLike | KeyObject;
|
|
651
652
|
interface CipherCCMOptions extends stream.TransformOptions {
|
|
@@ -654,6 +655,9 @@ declare module 'crypto' {
|
|
|
654
655
|
interface CipherGCMOptions extends stream.TransformOptions {
|
|
655
656
|
authTagLength?: number | undefined;
|
|
656
657
|
}
|
|
658
|
+
interface CipherOCBOptions extends stream.TransformOptions {
|
|
659
|
+
authTagLength: number;
|
|
660
|
+
}
|
|
657
661
|
/**
|
|
658
662
|
* Creates and returns a `Cipher` object that uses the given `algorithm` and`password`.
|
|
659
663
|
*
|
|
@@ -720,8 +724,9 @@ declare module 'crypto' {
|
|
|
720
724
|
* @since v0.1.94
|
|
721
725
|
* @param options `stream.transform` options
|
|
722
726
|
*/
|
|
723
|
-
function createCipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike
|
|
724
|
-
function createCipheriv(algorithm:
|
|
727
|
+
function createCipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike, options: CipherCCMOptions): CipherCCM;
|
|
728
|
+
function createCipheriv(algorithm: CipherOCBTypes, key: CipherKey, iv: BinaryLike, options: CipherOCBOptions): CipherOCB;
|
|
729
|
+
function createCipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions): CipherGCM;
|
|
725
730
|
function createCipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Cipher;
|
|
726
731
|
/**
|
|
727
732
|
* Instances of the `Cipher` class are used to encrypt data. The class can be
|
|
@@ -907,6 +912,15 @@ declare module 'crypto' {
|
|
|
907
912
|
): this;
|
|
908
913
|
getAuthTag(): Buffer;
|
|
909
914
|
}
|
|
915
|
+
interface CipherOCB extends Cipher {
|
|
916
|
+
setAAD(
|
|
917
|
+
buffer: NodeJS.ArrayBufferView,
|
|
918
|
+
options?: {
|
|
919
|
+
plaintextLength: number;
|
|
920
|
+
}
|
|
921
|
+
): this;
|
|
922
|
+
getAuthTag(): Buffer;
|
|
923
|
+
}
|
|
910
924
|
/**
|
|
911
925
|
* Creates and returns a `Decipher` object that uses the given `algorithm` and`password` (key).
|
|
912
926
|
*
|
|
@@ -961,8 +975,9 @@ declare module 'crypto' {
|
|
|
961
975
|
* @since v0.1.94
|
|
962
976
|
* @param options `stream.transform` options
|
|
963
977
|
*/
|
|
964
|
-
function createDecipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike
|
|
965
|
-
function createDecipheriv(algorithm:
|
|
978
|
+
function createDecipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike, options: CipherCCMOptions): DecipherCCM;
|
|
979
|
+
function createDecipheriv(algorithm: CipherOCBTypes, key: CipherKey, iv: BinaryLike, options: CipherOCBOptions): DecipherOCB;
|
|
980
|
+
function createDecipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions): DecipherGCM;
|
|
966
981
|
function createDecipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Decipher;
|
|
967
982
|
/**
|
|
968
983
|
* Instances of the `Decipher` class are used to decrypt data. The class can be
|
|
@@ -1133,6 +1148,15 @@ declare module 'crypto' {
|
|
|
1133
1148
|
}
|
|
1134
1149
|
): this;
|
|
1135
1150
|
}
|
|
1151
|
+
interface DecipherOCB extends Decipher {
|
|
1152
|
+
setAuthTag(buffer: NodeJS.ArrayBufferView): this;
|
|
1153
|
+
setAAD(
|
|
1154
|
+
buffer: NodeJS.ArrayBufferView,
|
|
1155
|
+
options?: {
|
|
1156
|
+
plaintextLength: number;
|
|
1157
|
+
}
|
|
1158
|
+
): this;
|
|
1159
|
+
}
|
|
1136
1160
|
interface PrivateKeyInput {
|
|
1137
1161
|
key: string | Buffer;
|
|
1138
1162
|
format?: KeyFormat | undefined;
|
|
@@ -57,7 +57,7 @@ declare module 'diagnostics_channel' {
|
|
|
57
57
|
* @return The named channel object
|
|
58
58
|
*/
|
|
59
59
|
function channel(name: string): Channel;
|
|
60
|
-
type ChannelListener = (
|
|
60
|
+
type ChannelListener = (message: unknown, name: string) => void;
|
|
61
61
|
/**
|
|
62
62
|
* The class `Channel` represents an individual named channel within the data
|
|
63
63
|
* pipeline. It is use to track subscribers and to publish messages when there
|
|
@@ -100,6 +100,16 @@ interface BigInt64Array extends RelativeIndexable<bigint> {}
|
|
|
100
100
|
interface BigUint64Array extends RelativeIndexable<bigint> {}
|
|
101
101
|
//#endregion ArrayLike.at() end
|
|
102
102
|
|
|
103
|
+
/**
|
|
104
|
+
* @since v17.0.0
|
|
105
|
+
*
|
|
106
|
+
* Creates a deep clone of an object.
|
|
107
|
+
*/
|
|
108
|
+
declare function structuredClone<T>(
|
|
109
|
+
value: T,
|
|
110
|
+
transfer?: { transfer: ReadonlyArray<import('worker_threads').TransferListItem> },
|
|
111
|
+
): T;
|
|
112
|
+
|
|
103
113
|
/*----------------------------------------------*
|
|
104
114
|
* *
|
|
105
115
|
* GLOBAL INTERFACES *
|
|
@@ -262,11 +272,11 @@ declare namespace NodeJS {
|
|
|
262
272
|
id: string;
|
|
263
273
|
filename: string;
|
|
264
274
|
loaded: boolean;
|
|
265
|
-
/** @deprecated since
|
|
275
|
+
/** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */
|
|
266
276
|
parent: Module | null | undefined;
|
|
267
277
|
children: Module[];
|
|
268
278
|
/**
|
|
269
|
-
* @since
|
|
279
|
+
* @since v11.14.0
|
|
270
280
|
*
|
|
271
281
|
* The directory name of the module. This is usually the same as the path.dirname() of the module.id.
|
|
272
282
|
*/
|
|
@@ -580,6 +580,7 @@ declare module 'http2' {
|
|
|
580
580
|
parent?: number | undefined;
|
|
581
581
|
weight?: number | undefined;
|
|
582
582
|
waitForTrailers?: boolean | undefined;
|
|
583
|
+
signal?: AbortSignal | undefined;
|
|
583
584
|
}
|
|
584
585
|
export interface SessionState {
|
|
585
586
|
effectiveLocalWindowSize?: number | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.29",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -215,6 +215,6 @@
|
|
|
215
215
|
},
|
|
216
216
|
"scripts": {},
|
|
217
217
|
"dependencies": {},
|
|
218
|
-
"typesPublisherContentHash": "
|
|
218
|
+
"typesPublisherContentHash": "074b7b1a5263f62b111cfdb78616eca98b537c87c8c9771401a1292e9a52fb20",
|
|
219
219
|
"typeScriptVersion": "3.9"
|
|
220
220
|
}
|
|
@@ -8,9 +8,9 @@ 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:
|
|
11
|
+
* Last updated: Tue, 26 Apr 2022 21:01:46 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
|
-
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
13
|
+
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
16
|
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
|
|
@@ -258,7 +258,7 @@ declare module 'async_hooks' {
|
|
|
258
258
|
* @param type The type of async event.
|
|
259
259
|
* @param triggerAsyncId The ID of the execution context that created
|
|
260
260
|
* this async event (default: `executionAsyncId()`), or an
|
|
261
|
-
* AsyncResourceOptions object (since
|
|
261
|
+
* AsyncResourceOptions object (since v9.3.0)
|
|
262
262
|
*/
|
|
263
263
|
constructor(type: string, triggerAsyncId?: number | AsyncResourceOptions);
|
|
264
264
|
/**
|
|
@@ -646,6 +646,7 @@ declare module 'crypto' {
|
|
|
646
646
|
}
|
|
647
647
|
type CipherCCMTypes = 'aes-128-ccm' | 'aes-192-ccm' | 'aes-256-ccm' | 'chacha20-poly1305';
|
|
648
648
|
type CipherGCMTypes = 'aes-128-gcm' | 'aes-192-gcm' | 'aes-256-gcm';
|
|
649
|
+
type CipherOCBTypes = 'aes-128-ocb' | 'aes-192-ocb' | 'aes-256-ocb';
|
|
649
650
|
type BinaryLike = string | NodeJS.ArrayBufferView;
|
|
650
651
|
type CipherKey = BinaryLike | KeyObject;
|
|
651
652
|
interface CipherCCMOptions extends stream.TransformOptions {
|
|
@@ -654,6 +655,9 @@ declare module 'crypto' {
|
|
|
654
655
|
interface CipherGCMOptions extends stream.TransformOptions {
|
|
655
656
|
authTagLength?: number | undefined;
|
|
656
657
|
}
|
|
658
|
+
interface CipherOCBOptions extends stream.TransformOptions {
|
|
659
|
+
authTagLength: number;
|
|
660
|
+
}
|
|
657
661
|
/**
|
|
658
662
|
* Creates and returns a `Cipher` object that uses the given `algorithm` and`password`.
|
|
659
663
|
*
|
|
@@ -720,8 +724,9 @@ declare module 'crypto' {
|
|
|
720
724
|
* @since v0.1.94
|
|
721
725
|
* @param options `stream.transform` options
|
|
722
726
|
*/
|
|
723
|
-
function createCipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike
|
|
724
|
-
function createCipheriv(algorithm:
|
|
727
|
+
function createCipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike, options: CipherCCMOptions): CipherCCM;
|
|
728
|
+
function createCipheriv(algorithm: CipherOCBTypes, key: CipherKey, iv: BinaryLike, options: CipherOCBOptions): CipherOCB;
|
|
729
|
+
function createCipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions): CipherGCM;
|
|
725
730
|
function createCipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Cipher;
|
|
726
731
|
/**
|
|
727
732
|
* Instances of the `Cipher` class are used to encrypt data. The class can be
|
|
@@ -907,6 +912,15 @@ declare module 'crypto' {
|
|
|
907
912
|
): this;
|
|
908
913
|
getAuthTag(): Buffer;
|
|
909
914
|
}
|
|
915
|
+
interface CipherOCB extends Cipher {
|
|
916
|
+
setAAD(
|
|
917
|
+
buffer: NodeJS.ArrayBufferView,
|
|
918
|
+
options?: {
|
|
919
|
+
plaintextLength: number;
|
|
920
|
+
}
|
|
921
|
+
): this;
|
|
922
|
+
getAuthTag(): Buffer;
|
|
923
|
+
}
|
|
910
924
|
/**
|
|
911
925
|
* Creates and returns a `Decipher` object that uses the given `algorithm` and`password` (key).
|
|
912
926
|
*
|
|
@@ -961,8 +975,9 @@ declare module 'crypto' {
|
|
|
961
975
|
* @since v0.1.94
|
|
962
976
|
* @param options `stream.transform` options
|
|
963
977
|
*/
|
|
964
|
-
function createDecipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike
|
|
965
|
-
function createDecipheriv(algorithm:
|
|
978
|
+
function createDecipheriv(algorithm: CipherCCMTypes, key: CipherKey, iv: BinaryLike, options: CipherCCMOptions): DecipherCCM;
|
|
979
|
+
function createDecipheriv(algorithm: CipherOCBTypes, key: CipherKey, iv: BinaryLike, options: CipherOCBOptions): DecipherOCB;
|
|
980
|
+
function createDecipheriv(algorithm: CipherGCMTypes, key: CipherKey, iv: BinaryLike, options?: CipherGCMOptions): DecipherGCM;
|
|
966
981
|
function createDecipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Decipher;
|
|
967
982
|
/**
|
|
968
983
|
* Instances of the `Decipher` class are used to decrypt data. The class can be
|
|
@@ -1133,6 +1148,15 @@ declare module 'crypto' {
|
|
|
1133
1148
|
}
|
|
1134
1149
|
): this;
|
|
1135
1150
|
}
|
|
1151
|
+
interface DecipherOCB extends Decipher {
|
|
1152
|
+
setAuthTag(buffer: NodeJS.ArrayBufferView): this;
|
|
1153
|
+
setAAD(
|
|
1154
|
+
buffer: NodeJS.ArrayBufferView,
|
|
1155
|
+
options?: {
|
|
1156
|
+
plaintextLength: number;
|
|
1157
|
+
}
|
|
1158
|
+
): this;
|
|
1159
|
+
}
|
|
1136
1160
|
interface PrivateKeyInput {
|
|
1137
1161
|
key: string | Buffer;
|
|
1138
1162
|
format?: KeyFormat | undefined;
|
|
@@ -57,7 +57,7 @@ declare module 'diagnostics_channel' {
|
|
|
57
57
|
* @return The named channel object
|
|
58
58
|
*/
|
|
59
59
|
function channel(name: string): Channel;
|
|
60
|
-
type ChannelListener = (
|
|
60
|
+
type ChannelListener = (message: unknown, name: string) => void;
|
|
61
61
|
/**
|
|
62
62
|
* The class `Channel` represents an individual named channel within the data
|
|
63
63
|
* pipeline. It is use to track subscribers and to publish messages when there
|
|
@@ -100,6 +100,16 @@ interface BigInt64Array extends RelativeIndexable<bigint> {}
|
|
|
100
100
|
interface BigUint64Array extends RelativeIndexable<bigint> {}
|
|
101
101
|
//#endregion ArrayLike.at() end
|
|
102
102
|
|
|
103
|
+
/**
|
|
104
|
+
* @since v17.0.0
|
|
105
|
+
*
|
|
106
|
+
* Creates a deep clone of an object.
|
|
107
|
+
*/
|
|
108
|
+
declare function structuredClone<T>(
|
|
109
|
+
value: T,
|
|
110
|
+
transfer?: { transfer: ReadonlyArray<import('worker_threads').TransferListItem> },
|
|
111
|
+
): T;
|
|
112
|
+
|
|
103
113
|
/*----------------------------------------------*
|
|
104
114
|
* *
|
|
105
115
|
* GLOBAL INTERFACES *
|
|
@@ -262,11 +272,11 @@ declare namespace NodeJS {
|
|
|
262
272
|
id: string;
|
|
263
273
|
filename: string;
|
|
264
274
|
loaded: boolean;
|
|
265
|
-
/** @deprecated since
|
|
275
|
+
/** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */
|
|
266
276
|
parent: Module | null | undefined;
|
|
267
277
|
children: Module[];
|
|
268
278
|
/**
|
|
269
|
-
* @since
|
|
279
|
+
* @since v11.14.0
|
|
270
280
|
*
|
|
271
281
|
* The directory name of the module. This is usually the same as the path.dirname() of the module.id.
|
|
272
282
|
*/
|
|
@@ -580,6 +580,7 @@ declare module 'http2' {
|
|
|
580
580
|
parent?: number | undefined;
|
|
581
581
|
weight?: number | undefined;
|
|
582
582
|
waitForTrailers?: boolean | undefined;
|
|
583
|
+
signal?: AbortSignal | undefined;
|
|
583
584
|
}
|
|
584
585
|
export interface SessionState {
|
|
585
586
|
effectiveLocalWindowSize?: number | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.29",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -215,6 +215,6 @@
|
|
|
215
215
|
},
|
|
216
216
|
"scripts": {},
|
|
217
217
|
"dependencies": {},
|
|
218
|
-
"typesPublisherContentHash": "
|
|
218
|
+
"typesPublisherContentHash": "074b7b1a5263f62b111cfdb78616eca98b537c87c8c9771401a1292e9a52fb20",
|
|
219
219
|
"typeScriptVersion": "3.9"
|
|
220
220
|
}
|
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"jsii-pacmak": "^1.57.0",
|
|
57
57
|
"json-schema": "^0.4.0",
|
|
58
58
|
"npm-check-updates": "^12",
|
|
59
|
-
"projen": "0.54.
|
|
59
|
+
"projen": "0.54.47",
|
|
60
60
|
"standard-version": "^9",
|
|
61
61
|
"ts-jest": "^27.1.4",
|
|
62
62
|
"typescript": "^4.6.3"
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
],
|
|
85
85
|
"main": "lib/index.js",
|
|
86
86
|
"license": "Apache-2.0",
|
|
87
|
-
"version": "2.0.
|
|
87
|
+
"version": "2.0.133",
|
|
88
88
|
"jest": {
|
|
89
89
|
"testMatch": [
|
|
90
90
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
package/releasetag.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v2.0.
|
|
1
|
+
v2.0.133
|
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.0.
|
|
1
|
+
2.0.133
|