@cdk8s/awscdk-resolver 0.0.657 → 0.0.658
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/resolve.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +23 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +23 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +9 -8
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +4 -4
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +19 -19
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +3 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -4
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/package.json +3 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +4 -12
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -13
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +5 -9
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +9 -9
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +9 -9
- package/node_modules/@smithy/signature-v4/package.json +4 -12
- package/node_modules/@smithy/types/package.json +2 -10
- package/package.json +1 -1
|
@@ -17,27 +17,27 @@ export class HeaderFormatter {
|
|
|
17
17
|
formatHeaderValue(header) {
|
|
18
18
|
switch (header.type) {
|
|
19
19
|
case "boolean":
|
|
20
|
-
return Uint8Array.from([header.value ?
|
|
20
|
+
return Uint8Array.from([header.value ? 0 : 1]);
|
|
21
21
|
case "byte":
|
|
22
|
-
return Uint8Array.from([
|
|
22
|
+
return Uint8Array.from([2, header.value]);
|
|
23
23
|
case "short":
|
|
24
24
|
const shortView = new DataView(new ArrayBuffer(3));
|
|
25
|
-
shortView.setUint8(0,
|
|
25
|
+
shortView.setUint8(0, 3);
|
|
26
26
|
shortView.setInt16(1, header.value, false);
|
|
27
27
|
return new Uint8Array(shortView.buffer);
|
|
28
28
|
case "integer":
|
|
29
29
|
const intView = new DataView(new ArrayBuffer(5));
|
|
30
|
-
intView.setUint8(0,
|
|
30
|
+
intView.setUint8(0, 4);
|
|
31
31
|
intView.setInt32(1, header.value, false);
|
|
32
32
|
return new Uint8Array(intView.buffer);
|
|
33
33
|
case "long":
|
|
34
34
|
const longBytes = new Uint8Array(9);
|
|
35
|
-
longBytes[0] =
|
|
35
|
+
longBytes[0] = 5;
|
|
36
36
|
longBytes.set(header.value.bytes, 1);
|
|
37
37
|
return longBytes;
|
|
38
38
|
case "binary":
|
|
39
39
|
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
40
|
-
binView.setUint8(0,
|
|
40
|
+
binView.setUint8(0, 6);
|
|
41
41
|
binView.setUint16(1, header.value.byteLength, false);
|
|
42
42
|
const binBytes = new Uint8Array(binView.buffer);
|
|
43
43
|
binBytes.set(header.value, 3);
|
|
@@ -45,14 +45,14 @@ export class HeaderFormatter {
|
|
|
45
45
|
case "string":
|
|
46
46
|
const utf8Bytes = fromUtf8(header.value);
|
|
47
47
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
48
|
-
strView.setUint8(0,
|
|
48
|
+
strView.setUint8(0, 7);
|
|
49
49
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
50
50
|
const strBytes = new Uint8Array(strView.buffer);
|
|
51
51
|
strBytes.set(utf8Bytes, 3);
|
|
52
52
|
return strBytes;
|
|
53
53
|
case "timestamp":
|
|
54
54
|
const tsBytes = new Uint8Array(9);
|
|
55
|
-
tsBytes[0] =
|
|
55
|
+
tsBytes[0] = 8;
|
|
56
56
|
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
57
57
|
return tsBytes;
|
|
58
58
|
case "uuid":
|
|
@@ -60,7 +60,7 @@ export class HeaderFormatter {
|
|
|
60
60
|
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
61
61
|
}
|
|
62
62
|
const uuidBytes = new Uint8Array(17);
|
|
63
|
-
uuidBytes[0] =
|
|
63
|
+
uuidBytes[0] = 9;
|
|
64
64
|
uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
|
|
65
65
|
return uuidBytes;
|
|
66
66
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.2",
|
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/signature-v4",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,9 +27,6 @@
|
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"publishConfig": {
|
|
31
|
-
"directory": ".release/package"
|
|
32
|
-
},
|
|
33
30
|
"scripts": {
|
|
34
31
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
35
32
|
"build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
|
|
@@ -37,23 +34,18 @@
|
|
|
37
34
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
38
35
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
39
36
|
"extract:docs": "api-extractor run --local",
|
|
40
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
41
37
|
"test": "yarn g:vitest run",
|
|
42
38
|
"test:watch": "yarn g:vitest watch"
|
|
43
39
|
},
|
|
44
40
|
"dependencies": {
|
|
45
|
-
"@smithy/core": "^3.
|
|
46
|
-
"@smithy/types": "^4.17.
|
|
41
|
+
"@smithy/core": "^3.33.2",
|
|
42
|
+
"@smithy/types": "^4.17.2",
|
|
47
43
|
"tslib": "^2.6.2"
|
|
48
44
|
},
|
|
49
45
|
"devDependencies": {
|
|
50
46
|
"concurrently": "7.0.0",
|
|
51
47
|
"downlevel-dts": "0.10.1",
|
|
52
|
-
"premove": "4.0.0"
|
|
53
|
-
"typedoc": "0.23.23"
|
|
54
|
-
},
|
|
55
|
-
"typedoc": {
|
|
56
|
-
"entryPoint": "src/index.ts"
|
|
48
|
+
"premove": "4.0.0"
|
|
57
49
|
},
|
|
58
50
|
"engines": {
|
|
59
51
|
"node": ">=18.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/types",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.2",
|
|
4
4
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -27,9 +27,6 @@
|
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"publishConfig": {
|
|
31
|
-
"directory": ".release/package"
|
|
32
|
-
},
|
|
33
30
|
"scripts": {
|
|
34
31
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
35
32
|
"build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
|
|
@@ -37,7 +34,6 @@
|
|
|
37
34
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4 && node scripts/downlevel",
|
|
38
35
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
39
36
|
"extract:docs": "api-extractor run --local",
|
|
40
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
41
37
|
"test": "yarn g:tsc -p tsconfig.test.json"
|
|
42
38
|
},
|
|
43
39
|
"dependencies": {
|
|
@@ -46,11 +42,7 @@
|
|
|
46
42
|
"devDependencies": {
|
|
47
43
|
"concurrently": "7.0.0",
|
|
48
44
|
"downlevel-dts": "0.10.1",
|
|
49
|
-
"premove": "4.0.0"
|
|
50
|
-
"typedoc": "0.23.23"
|
|
51
|
-
},
|
|
52
|
-
"typedoc": {
|
|
53
|
-
"entryPoint": "src/index.ts"
|
|
45
|
+
"premove": "4.0.0"
|
|
54
46
|
},
|
|
55
47
|
"engines": {
|
|
56
48
|
"node": ">=18.0.0"
|