@cdk8s/awscdk-resolver 0.0.612 → 0.0.614
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 +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +3710 -15
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
- package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
- package/node_modules/@aws-sdk/core/client.d.ts +1 -3
- package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
- package/node_modules/@aws-sdk/core/package.json +8 -14
- package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
- package/node_modules/@aws-sdk/core/util.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +172 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +58 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -8
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +7 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/nested-clients/signin.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sso.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sts.d.ts +1 -3
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -3
- package/node_modules/@aws-sdk/xml-builder/package.json +3 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +358 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +462 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +358 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +108 -63
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +11 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +30 -36
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +54 -110
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +30 -36
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +30 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +24 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js +92 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +3 -56
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/EventStreamCodec.js +5 -3
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/splitMessage.js +7 -6
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +4 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/constants.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
- package/node_modules/@smithy/core/package.json +4 -4
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -55
- package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
- package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +2 -3
- package/package.json +5 -5
- package/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -100
- package/node_modules/@aws-crypto/crc32/LICENSE +0 -201
- package/node_modules/@aws-crypto/crc32/README.md +0 -16
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +0 -31
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/main/index.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/main/index.js +0 -108
- package/node_modules/@aws-crypto/crc32/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js +0 -28
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/module/index.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/module/index.js +0 -103
- package/node_modules/@aws-crypto/crc32/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/package.json +0 -32
- package/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
- package/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
- package/node_modules/@aws-crypto/crc32/tsconfig.json +0 -9
- package/node_modules/@aws-crypto/crc32/tsconfig.module.json +0 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/bdd.js +0 -49
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/CloudFormationServiceException.js +0 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/errors.js +0 -407
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.browser.js +0 -32
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +0 -45
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.native.js +0 -12
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +0 -39
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/schemas/schemas_0.js +0 -3022
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -869
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -862
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +0 -42
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +0 -27
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +0 -71
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +0 -49
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +0 -13
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +0 -29
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +0 -25
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -57
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -234
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -53
- package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Checksum, SourceData } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* SHA-256 using the Web Crypto API (crypto.subtle) when available,
|
|
4
|
+
* falling back to the pure JS implementation.
|
|
5
|
+
*
|
|
6
|
+
* Caution: this implementation is forced to buffer the data entirely.
|
|
7
|
+
* Use the pure-JS or Sha256Node implementations for large streaming data.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare class Sha256WebCrypto implements Checksum {
|
|
11
|
+
readonly digestLength: 32;
|
|
12
|
+
private readonly secret?;
|
|
13
|
+
private pending;
|
|
14
|
+
private pendingBytes;
|
|
15
|
+
private fallback?;
|
|
16
|
+
private finished;
|
|
17
|
+
constructor(secret?: SourceData);
|
|
18
|
+
update(data: Uint8Array): void;
|
|
19
|
+
digest(): Promise<Uint8Array>;
|
|
20
|
+
reset(): void;
|
|
21
|
+
private switchToFallback;
|
|
22
|
+
}
|
|
@@ -22,3 +22,15 @@ export declare const DEFAULTS_MODE_OPTIONS: string[];
|
|
|
22
22
|
* @internal
|
|
23
23
|
*/
|
|
24
24
|
export declare const IMDS_REGION_PATH = "/latest/meta-data/placement/region";
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
export declare const IMDS_TOKEN_PATH = "/latest/api/token";
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
export declare const X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token";
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
export declare const X_AWS_EC2_METADATA_TOKEN_TTL = "x-aws-ec2-metadata-token-ttl-seconds";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This deliberately avoids differentiating to Buffer.concat in Node.js in favor of being isomorphic.
|
|
3
|
+
* This implementation pattern is highly recognizable/optimizable by JS engines.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare function concatBytes(arrays: Uint8Array[], length?: number): Uint8Array;
|
|
@@ -16,6 +16,7 @@ export { toBase64, fromBase64 };
|
|
|
16
16
|
export { calculateBodyLength } from "./util-body-length/calculateBodyLength.browser";
|
|
17
17
|
export { toUint8Array } from "./util-utf8/toUint8Array.browser";
|
|
18
18
|
export { toUtf8, fromUtf8 };
|
|
19
|
+
export { concatBytes } from "./concatBytes";
|
|
19
20
|
export { type StringEncoding } from "./util-buffer-from/buffer-from";
|
|
20
21
|
export declare const fromArrayBuffer: symbol;
|
|
21
22
|
export declare const fromString: symbol;
|
|
@@ -35,5 +36,6 @@ export { headStream } from "./util-stream/headStream.browser";
|
|
|
35
36
|
export { sdkStreamMixin } from "./util-stream/sdk-stream-mixin.browser";
|
|
36
37
|
export { splitStream } from "./util-stream/splitStream.browser";
|
|
37
38
|
export { isReadableStream, isBlob } from "./util-stream/stream-type-check";
|
|
39
|
+
export { streamCollector } from "./util-stream/stream-collector.browser";
|
|
38
40
|
export declare const v4: () => string;
|
|
39
41
|
export declare const generateIdempotencyToken: () => string;
|
|
@@ -16,6 +16,7 @@ export { toBase64, fromBase64 };
|
|
|
16
16
|
export { calculateBodyLength } from "./util-body-length/calculateBodyLength";
|
|
17
17
|
export { toUint8Array } from "./util-utf8/toUint8Array";
|
|
18
18
|
export { toUtf8, fromUtf8 };
|
|
19
|
+
export { concatBytes } from "./concatBytes";
|
|
19
20
|
export { fromArrayBuffer, fromString, type StringEncoding } from "./util-buffer-from/buffer-from";
|
|
20
21
|
export { isArrayBuffer } from "./is-array-buffer/is-array-buffer";
|
|
21
22
|
export { deserializerMiddleware } from "./middleware-serde/deserializerMiddleware";
|
|
@@ -33,5 +34,6 @@ export { headStream } from "./util-stream/headStream";
|
|
|
33
34
|
export { sdkStreamMixin } from "./util-stream/sdk-stream-mixin";
|
|
34
35
|
export { splitStream } from "./util-stream/splitStream";
|
|
35
36
|
export { isReadableStream, isBlob } from "./util-stream/stream-type-check";
|
|
37
|
+
export { streamCollector } from "./util-stream/stream-collector";
|
|
36
38
|
export declare const v4: () => string;
|
|
37
39
|
export declare const generateIdempotencyToken: () => string;
|
|
@@ -14,6 +14,7 @@ export { calculateBodyLength } from "./util-body-length/calculateBodyLength.brow
|
|
|
14
14
|
export { fromUtf8 } from "./util-utf8/fromUtf8.browser";
|
|
15
15
|
export { toUint8Array } from "./util-utf8/toUint8Array.browser";
|
|
16
16
|
export { toUtf8 } from "./util-utf8/toUtf8.browser";
|
|
17
|
+
export { concatBytes } from "./concatBytes";
|
|
17
18
|
export { type StringEncoding } from "./util-buffer-from/buffer-from";
|
|
18
19
|
export declare const fromArrayBuffer: symbol;
|
|
19
20
|
export declare const fromString: symbol;
|
|
@@ -33,5 +34,6 @@ export { headStream } from "./util-stream/headStream.browser";
|
|
|
33
34
|
export { sdkStreamMixin } from "./util-stream/sdk-stream-mixin.browser";
|
|
34
35
|
export { splitStream } from "./util-stream/splitStream.browser";
|
|
35
36
|
export { isReadableStream, isBlob } from "./util-stream/stream-type-check";
|
|
37
|
+
export { streamCollector } from "./util-stream/stream-collector.browser";
|
|
36
38
|
export declare const v4: () => string;
|
|
37
39
|
export declare const generateIdempotencyToken: () => string;
|
|
@@ -57,4 +57,13 @@ export declare class ChecksumStream extends Duplex {
|
|
|
57
57
|
* @internal
|
|
58
58
|
*/
|
|
59
59
|
_final(callback: (err?: Error) => void): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* Destroy the upstream source for cleanup so it is not left dangling, then
|
|
62
|
+
* complete this stream's destruction. The error is intentionally not forwarded
|
|
63
|
+
* to the source as the source is typically internal and without an error listener
|
|
64
|
+
* The error still surfaces on this stream via the callback.
|
|
65
|
+
* Do not call this directly.
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
_destroy(error: Error | null, callback: (error?: Error | null | undefined) => void): void;
|
|
60
69
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Inlined from @smithy/fetch-http-handler streamCollector.
|
|
3
|
-
*
|
|
4
2
|
* @internal
|
|
5
3
|
*/
|
|
6
4
|
export declare const streamCollector: (stream: Blob | ReadableStream) => Promise<Uint8Array>;
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare function collectBlob(blob: Blob): Promise<Uint8Array>;
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export declare function collectReadableStream(stream: ReadableStream): Promise<Uint8Array>;
|
package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { type Readable } from "node:stream";
|
|
2
2
|
import type { ReadableStream as IReadableStream } from "node:stream/web";
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const streamCollector: (stream: Readable | IReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.0",
|
|
4
4
|
"scripts": {
|
|
5
|
+
"benchmark:cbor": "node ./scripts/cbor-perf.mjs",
|
|
6
|
+
"benchmark:checksum": "node ./scripts/checksum-perf.mjs",
|
|
5
7
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
6
8
|
"build:es:cjs": "premove dist-es && yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline",
|
|
7
9
|
"build:types": "premove dist-types && yarn g:tsc -p tsconfig.types.json",
|
|
@@ -15,8 +17,7 @@
|
|
|
15
17
|
"test": "yarn g:vitest run",
|
|
16
18
|
"test:watch": "yarn g:vitest watch",
|
|
17
19
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
18
|
-
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
19
|
-
"test:cbor:perf": "node ./scripts/cbor-perf.mjs"
|
|
20
|
+
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
20
21
|
},
|
|
21
22
|
"main": "./dist-cjs/index.js",
|
|
22
23
|
"module": "./dist-es/index.js",
|
|
@@ -169,7 +170,6 @@
|
|
|
169
170
|
"license": "Apache-2.0",
|
|
170
171
|
"sideEffects": false,
|
|
171
172
|
"dependencies": {
|
|
172
|
-
"@aws-crypto/crc32": "5.2.0",
|
|
173
173
|
"@smithy/types": "^4.15.0",
|
|
174
174
|
"tslib": "^2.6.2"
|
|
175
175
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.4",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/core": "^3.
|
|
30
|
+
"@smithy/core": "^3.28.0",
|
|
31
31
|
"@smithy/types": "^4.15.0",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const { buildQueryString, HttpResponse } = require("@smithy/core/protocols");
|
|
2
|
-
const {
|
|
2
|
+
const { streamCollector } = require("@smithy/core/serde");
|
|
3
|
+
exports.streamCollector = streamCollector;
|
|
3
4
|
|
|
4
5
|
function createRequest(url, requestOptions) {
|
|
5
6
|
return new Request(url, requestOptions);
|
|
@@ -172,59 +173,5 @@ function buildAbortError(abortSignal) {
|
|
|
172
173
|
return abortError;
|
|
173
174
|
}
|
|
174
175
|
|
|
175
|
-
const streamCollector = async (stream) => {
|
|
176
|
-
if ((typeof Blob === "function" && stream instanceof Blob) || stream.constructor?.name === "Blob") {
|
|
177
|
-
if (Blob.prototype.arrayBuffer !== undefined) {
|
|
178
|
-
return new Uint8Array(await stream.arrayBuffer());
|
|
179
|
-
}
|
|
180
|
-
return collectBlob(stream);
|
|
181
|
-
}
|
|
182
|
-
return collectStream(stream);
|
|
183
|
-
};
|
|
184
|
-
async function collectBlob(blob) {
|
|
185
|
-
const base64 = await readToBase64(blob);
|
|
186
|
-
const arrayBuffer = fromBase64(base64);
|
|
187
|
-
return new Uint8Array(arrayBuffer);
|
|
188
|
-
}
|
|
189
|
-
async function collectStream(stream) {
|
|
190
|
-
const chunks = [];
|
|
191
|
-
const reader = stream.getReader();
|
|
192
|
-
let isDone = false;
|
|
193
|
-
let length = 0;
|
|
194
|
-
while (!isDone) {
|
|
195
|
-
const { done, value } = await reader.read();
|
|
196
|
-
if (value) {
|
|
197
|
-
chunks.push(value);
|
|
198
|
-
length += value.length;
|
|
199
|
-
}
|
|
200
|
-
isDone = done;
|
|
201
|
-
}
|
|
202
|
-
const collected = new Uint8Array(length);
|
|
203
|
-
let offset = 0;
|
|
204
|
-
for (const chunk of chunks) {
|
|
205
|
-
collected.set(chunk, offset);
|
|
206
|
-
offset += chunk.length;
|
|
207
|
-
}
|
|
208
|
-
return collected;
|
|
209
|
-
}
|
|
210
|
-
function readToBase64(blob) {
|
|
211
|
-
return new Promise((resolve, reject) => {
|
|
212
|
-
const reader = new FileReader();
|
|
213
|
-
reader.onloadend = () => {
|
|
214
|
-
if (reader.readyState !== 2) {
|
|
215
|
-
return reject(new Error("Reader aborted too early"));
|
|
216
|
-
}
|
|
217
|
-
const result = (reader.result ?? "");
|
|
218
|
-
const commaIndex = result.indexOf(",");
|
|
219
|
-
const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length;
|
|
220
|
-
resolve(result.substring(dataOffset));
|
|
221
|
-
};
|
|
222
|
-
reader.onabort = () => reject(new Error("Read aborted"));
|
|
223
|
-
reader.onerror = () => reject(reader.error);
|
|
224
|
-
reader.readAsDataURL(blob);
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
|
-
|
|
228
176
|
exports.FetchHttpHandler = FetchHttpHandler;
|
|
229
177
|
exports.keepAliveSupport = keepAliveSupport;
|
|
230
|
-
exports.streamCollector = streamCollector;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { FetchHttpHandler, keepAliveSupport, } from "./fetch-http-handler";
|
|
2
|
+
export { streamCollector } from "@smithy/core/serde";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { type AdditionalRequestParameters, FetchHttpHandler, type FetchHttpHandlerOptions, keepAliveSupport, } from "./fetch-http-handler";
|
|
2
|
+
export { streamCollector } from "@smithy/core/serde";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.1",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"module": "./dist-es/index.js",
|
|
28
28
|
"types": "./dist-types/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/core": "^3.
|
|
30
|
+
"@smithy/core": "^3.28.0",
|
|
31
31
|
"@smithy/types": "^4.15.0",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
const { buildQueryString, HttpResponse } = require("@smithy/core/protocols");
|
|
2
2
|
const node_https = require("node:https");
|
|
3
|
-
const { Readable
|
|
3
|
+
const { Readable } = require("node:stream");
|
|
4
4
|
const http2 = require("node:http2");
|
|
5
|
+
const { streamCollector } = require("@smithy/core/serde");
|
|
6
|
+
exports.streamCollector = streamCollector;
|
|
5
7
|
|
|
6
8
|
function buildAbortError(abortSignal) {
|
|
7
9
|
const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal
|
|
@@ -833,56 +835,6 @@ class NodeHttp2Handler {
|
|
|
833
835
|
}
|
|
834
836
|
}
|
|
835
837
|
|
|
836
|
-
class Collector extends Writable {
|
|
837
|
-
bufferedBytes = [];
|
|
838
|
-
_write(chunk, encoding, callback) {
|
|
839
|
-
this.bufferedBytes.push(chunk);
|
|
840
|
-
callback();
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
const streamCollector = (stream) => {
|
|
845
|
-
if (isReadableStreamInstance(stream)) {
|
|
846
|
-
return collectReadableStream(stream);
|
|
847
|
-
}
|
|
848
|
-
return new Promise((resolve, reject) => {
|
|
849
|
-
const collector = new Collector();
|
|
850
|
-
stream.pipe(collector);
|
|
851
|
-
stream.on("error", (err) => {
|
|
852
|
-
collector.end();
|
|
853
|
-
reject(err);
|
|
854
|
-
});
|
|
855
|
-
collector.on("error", reject);
|
|
856
|
-
collector.on("finish", function () {
|
|
857
|
-
const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes));
|
|
858
|
-
resolve(bytes);
|
|
859
|
-
});
|
|
860
|
-
});
|
|
861
|
-
};
|
|
862
|
-
const isReadableStreamInstance = (stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream;
|
|
863
|
-
async function collectReadableStream(stream) {
|
|
864
|
-
const chunks = [];
|
|
865
|
-
const reader = stream.getReader();
|
|
866
|
-
let isDone = false;
|
|
867
|
-
let length = 0;
|
|
868
|
-
while (!isDone) {
|
|
869
|
-
const { done, value } = await reader.read();
|
|
870
|
-
if (value) {
|
|
871
|
-
chunks.push(value);
|
|
872
|
-
length += value.length;
|
|
873
|
-
}
|
|
874
|
-
isDone = done;
|
|
875
|
-
}
|
|
876
|
-
const collected = new Uint8Array(length);
|
|
877
|
-
let offset = 0;
|
|
878
|
-
for (const chunk of chunks) {
|
|
879
|
-
collected.set(chunk, offset);
|
|
880
|
-
offset += chunk.length;
|
|
881
|
-
}
|
|
882
|
-
return collected;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
838
|
exports.DEFAULT_REQUEST_TIMEOUT = DEFAULT_REQUEST_TIMEOUT;
|
|
886
839
|
exports.NodeHttp2Handler = NodeHttp2Handler;
|
|
887
840
|
exports.NodeHttpHandler = NodeHttpHandler;
|
|
888
|
-
exports.streamCollector = streamCollector;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { DEFAULT_REQUEST_TIMEOUT, NodeHttpHandler } from "./node-http-handler";
|
|
2
|
+
export { NodeHttp2Handler } from "./node-http2-handler";
|
|
3
|
+
export { streamCollector } from "@smithy/core/serde";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { DEFAULT_REQUEST_TIMEOUT, NodeHttpHandler, type NodeHttpHandlerOptions } from "./node-http-handler";
|
|
2
|
+
export { NodeHttp2Handler, type NodeHttp2HandlerOptions } from "./node-http2-handler";
|
|
3
|
+
export { streamCollector } from "@smithy/core/serde";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.9.1",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"module": "./dist-es/index.js",
|
|
27
27
|
"types": "./dist-types/index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/core": "^3.
|
|
29
|
+
"@smithy/core": "^3.28.0",
|
|
30
30
|
"@smithy/types": "^4.15.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.0",
|
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,12 +25,11 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.
|
|
28
|
+
"@smithy/core": "^3.28.0",
|
|
29
29
|
"@smithy/types": "^4.15.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@aws-crypto/sha256-js": "5.2.0",
|
|
34
33
|
"concurrently": "7.0.0",
|
|
35
34
|
"downlevel-dts": "0.10.1",
|
|
36
35
|
"premove": "4.0.0",
|
package/package.json
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"organization": false
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@cdk8s/projen-common": "0.1.
|
|
45
|
+
"@cdk8s/projen-common": "0.1.1",
|
|
46
46
|
"@stylistic/eslint-plugin": "^2",
|
|
47
47
|
"@types/fs-extra": "^11.0.4",
|
|
48
48
|
"@types/jest": "^27",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"aws-cdk": "^2.1128.1",
|
|
53
53
|
"aws-cdk-lib": "2.195.0",
|
|
54
54
|
"cdk8s": "2.68.91",
|
|
55
|
-
"cdk8s-cli": "^2.207.
|
|
55
|
+
"cdk8s-cli": "^2.207.32",
|
|
56
56
|
"commit-and-tag-version": "^12",
|
|
57
57
|
"constructs": "10.3.0",
|
|
58
58
|
"eslint": "^9",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"jsii-docgen": "^10.5.0",
|
|
67
67
|
"jsii-pacmak": "^1.137.0",
|
|
68
68
|
"jsii-rosetta": "^5",
|
|
69
|
-
"projen": "^0.
|
|
69
|
+
"projen": "^0.101.0",
|
|
70
70
|
"ts-jest": "^27",
|
|
71
71
|
"ts-node": "^10.9.2",
|
|
72
72
|
"typescript": "^5.9.3"
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"constructs": "^10.3.0"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
80
|
+
"@aws-sdk/client-cloudformation": "^3.1076.0"
|
|
81
81
|
},
|
|
82
82
|
"bundledDependencies": [
|
|
83
83
|
"@aws-sdk/client-cloudformation"
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"publishConfig": {
|
|
95
95
|
"access": "public"
|
|
96
96
|
},
|
|
97
|
-
"version": "0.0.
|
|
97
|
+
"version": "0.0.614",
|
|
98
98
|
"jest": {
|
|
99
99
|
"coverageProvider": "v8",
|
|
100
100
|
"testMatch": [
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
# [5.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.1.0...v5.2.0) (2023-10-16)
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
- support ESM artifacts in all packages ([#752](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/752)) ([e930ffb](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e930ffba5cfef66dd242049e7d514ced232c1e3b))
|
|
11
|
-
|
|
12
|
-
# [5.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v5.0.0...v5.1.0) (2023-09-22)
|
|
13
|
-
|
|
14
|
-
### Bug Fixes
|
|
15
|
-
|
|
16
|
-
- Update tsc to 2.x ([#735](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/735)) ([782e0de](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/782e0de9f5fef41f694130580a69d940894b6b8c))
|
|
17
|
-
|
|
18
|
-
### Features
|
|
19
|
-
|
|
20
|
-
- Use @smithy/util-utf8 ([#730](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/730)) ([00fb851](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/00fb851ca3559d5a1f370f9256814de1210826b8)), closes [#699](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/699)
|
|
21
|
-
|
|
22
|
-
# [5.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v4.0.1...v5.0.0) (2023-07-13)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @aws-crypto/crc32
|
|
25
|
-
|
|
26
|
-
# [4.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v3.0.0...v4.0.0) (2023-02-20)
|
|
27
|
-
|
|
28
|
-
**Note:** Version bump only for package @aws-crypto/crc32
|
|
29
|
-
|
|
30
|
-
# [3.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.2...v3.0.0) (2023-01-12)
|
|
31
|
-
|
|
32
|
-
- feat!: replace Hash implementations with Checksum interface (#492) ([da43dc0](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/da43dc0fdf669d9ebb5bfb1b1f7c79e46c4aaae1)), closes [#492](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/492)
|
|
33
|
-
|
|
34
|
-
### BREAKING CHANGES
|
|
35
|
-
|
|
36
|
-
- All classes that implemented `Hash` now implement `Checksum`.
|
|
37
|
-
|
|
38
|
-
## [2.0.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.1...v2.0.2) (2022-09-07)
|
|
39
|
-
|
|
40
|
-
### Bug Fixes
|
|
41
|
-
|
|
42
|
-
- **#337:** update @aws-sdk/types ([#373](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/373)) ([b26a811](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/b26a811a392f5209c7ec7e57251500d4d78f97ff)), closes [#337](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/337)
|
|
43
|
-
|
|
44
|
-
## [2.0.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v2.0.0...v2.0.1) (2021-12-09)
|
|
45
|
-
|
|
46
|
-
**Note:** Version bump only for package @aws-crypto/crc32
|
|
47
|
-
|
|
48
|
-
# [2.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.2...v2.0.0) (2021-10-25)
|
|
49
|
-
|
|
50
|
-
**Note:** Version bump only for package @aws-crypto/crc32
|
|
51
|
-
|
|
52
|
-
## [1.2.2](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.1...v1.2.2) (2021-10-12)
|
|
53
|
-
|
|
54
|
-
### Bug Fixes
|
|
55
|
-
|
|
56
|
-
- **crc32c:** ie11 does not support Array.from ([#221](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/221)) ([5f49547](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/5f495472ab8988cf203e0f2a70a51f7e1fcd7e60))
|
|
57
|
-
|
|
58
|
-
## [1.2.1](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.2.0...v1.2.1) (2021-09-17)
|
|
59
|
-
|
|
60
|
-
**Note:** Version bump only for package @aws-crypto/crc32
|
|
61
|
-
|
|
62
|
-
# [1.2.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/v1.1.1...v1.2.0) (2021-09-17)
|
|
63
|
-
|
|
64
|
-
### Features
|
|
65
|
-
|
|
66
|
-
- Add AwsCrc32 Hash ([f5d7e81](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/f5d7e815fcbe0f8da1edb855fea3bd33eb1edc15))
|
|
67
|
-
|
|
68
|
-
# [1.1.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@1.0.0...@aws-crypto/crc32@1.1.0) (2021-08-11)
|
|
69
|
-
|
|
70
|
-
### Features
|
|
71
|
-
|
|
72
|
-
- Create CRC-32C implementation ([#201](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/201)) ([e43c7ec](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/e43c7ecd30d6499fa696f5839ecc30502a34b8b6))
|
|
73
|
-
|
|
74
|
-
# [1.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@1.0.0-alpha.0...@aws-crypto/crc32@1.0.0) (2020-10-22)
|
|
75
|
-
|
|
76
|
-
**Note:** Version bump only for package @aws-crypto/crc32
|
|
77
|
-
|
|
78
|
-
# [1.0.0-alpha.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.4...@aws-crypto/crc32@1.0.0-alpha.0) (2020-02-07)
|
|
79
|
-
|
|
80
|
-
**Note:** Version bump only for package @aws-crypto/crc32
|
|
81
|
-
|
|
82
|
-
# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.2...@aws-crypto/crc32@0.1.0-preview.4) (2020-01-16)
|
|
83
|
-
|
|
84
|
-
### Bug Fixes
|
|
85
|
-
|
|
86
|
-
- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8)
|
|
87
|
-
- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13)
|
|
88
|
-
|
|
89
|
-
# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.2...@aws-crypto/crc32@0.1.0-preview.3) (2019-11-15)
|
|
90
|
-
|
|
91
|
-
### Bug Fixes
|
|
92
|
-
|
|
93
|
-
- Changed package.json files to point to the right Git repo ([#9](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/9)) ([028245d](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/028245d72e642ca98d82226afb300eb154503c4a)), closes [#8](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/8)
|
|
94
|
-
- lerna version maintains package-lock ([#14](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/14)) ([2ef29e1](https://github.com/aws/aws-sdk-js-crypto-helpers/commit/2ef29e13779703a5c9b32e93d18918fcb33b7272)), closes [#13](https://github.com/aws/aws-sdk-js-crypto-helpers/issues/13)
|
|
95
|
-
|
|
96
|
-
# [0.1.0-preview.2](https://github.com/aws/aws-javascript-crypto-helpers/compare/@aws-crypto/crc32@0.1.0-preview.1...@aws-crypto/crc32@0.1.0-preview.2) (2019-10-30)
|
|
97
|
-
|
|
98
|
-
### Bug Fixes
|
|
99
|
-
|
|
100
|
-
- remove /src/ from .npmignore (for sourcemaps) ([#5](https://github.com/aws/aws-javascript-crypto-helpers/issues/5)) ([ec52056](https://github.com/aws/aws-javascript-crypto-helpers/commit/ec52056))
|