@cdk8s/awscdk-resolver 0.0.368 → 0.0.370
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 +4 -4
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +13 -14
- package/node_modules/@aws-sdk/client-sso/package.json +10 -10
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +15 -38
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +1 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +0 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +0 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +10 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +0 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +0 -2
- package/node_modules/@aws-sdk/core/package.json +3 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +29 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +36 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +15 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +10 -10
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/package.json +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/CHANGELOG.md +0 -274
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/README.md +0 -466
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/bin/uuid +0 -2
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/native.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/rng.js +0 -18
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v35.js +0 -66
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v4.js +0 -29
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/native.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/stringify.js +0 -33
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v35.js +0 -66
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v4.js +0 -29
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/index.js +0 -79
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/md5-browser.js +0 -223
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/md5.js +0 -23
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/native-browser.js +0 -11
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/native.js +0 -15
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/nil.js +0 -8
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/parse.js +0 -45
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/regex.js +0 -8
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/rng-browser.js +0 -25
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/rng.js +0 -24
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/sha1.js +0 -23
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/stringify.js +0 -44
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v1.js +0 -107
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v3.js +0 -16
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v35.js +0 -80
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v4.js +0 -43
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/v5.js +0 -16
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/validate.js +0 -17
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/dist/version.js +0 -21
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/package.json +0 -135
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/uuid/wrapper.mjs +0 -10
- package/node_modules/@types/uuid/LICENSE +0 -21
- package/node_modules/@types/uuid/README.md +0 -15
- package/node_modules/@types/uuid/index.d.mts +0 -12
- package/node_modules/@types/uuid/index.d.ts +0 -86
- package/node_modules/@types/uuid/package.json +0 -54
package/.jsii
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://aws.amazon.com"
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
10
|
+
"@aws-sdk/client-cloudformation": "^3.896.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"aws-cdk-lib": "^2.195.0",
|
|
@@ -3993,7 +3993,7 @@
|
|
|
3993
3993
|
"stability": "stable"
|
|
3994
3994
|
},
|
|
3995
3995
|
"homepage": "https://github.com/cdk8s-team/cdk8s-awscdk-resolver.git",
|
|
3996
|
-
"jsiiVersion": "5.9.
|
|
3996
|
+
"jsiiVersion": "5.9.5 (build ac5f858)",
|
|
3997
3997
|
"license": "Apache-2.0",
|
|
3998
3998
|
"metadata": {
|
|
3999
3999
|
"jsii": {
|
|
@@ -4082,6 +4082,6 @@
|
|
|
4082
4082
|
"symbolId": "src/resolve:AwsCdkResolver"
|
|
4083
4083
|
}
|
|
4084
4084
|
},
|
|
4085
|
-
"version": "0.0.
|
|
4086
|
-
"fingerprint": "
|
|
4085
|
+
"version": "0.0.370",
|
|
4086
|
+
"fingerprint": "rXCFJZDlny1zByEDDlfK/0CtNCs6g4VLdAf86cpEIHc="
|
|
4087
4087
|
}
|
package/lib/resolve.js
CHANGED
|
@@ -61,5 +61,5 @@ class AwsCdkResolver {
|
|
|
61
61
|
}
|
|
62
62
|
exports.AwsCdkResolver = AwsCdkResolver;
|
|
63
63
|
_a = JSII_RTTI_SYMBOL_1;
|
|
64
|
-
AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.
|
|
64
|
+
AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.370" };
|
|
65
65
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUM7WUFDdkMsT0FBTztRQUNULENBQUM7UUFFRCxJQUFJLE9BQU8sT0FBTyxDQUFDLEtBQUssS0FBSyxRQUFRLEVBQUUsQ0FBQztZQUN0QywrREFBK0Q7WUFDL0QsbUJBQW1CO1lBQ25CLE1BQU0sSUFBSSxLQUFLLENBQUMsdUJBQXVCLE9BQU0sQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLHNCQUFzQixDQUFDLENBQUM7UUFDdEYsQ0FBQztRQUVELE1BQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUMsT0FBTyx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04ucGFyc2UoZXhlY0ZpbGVTeW5jKHByb2Nlc3MuZXhlY1BhdGgsIFtcbiAgICAgIHNjcmlwdCxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
|
|
@@ -414,7 +414,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
414
414
|
var import_core2 = require("@aws-sdk/core");
|
|
415
415
|
|
|
416
416
|
|
|
417
|
-
var import_uuid = require("uuid");
|
|
417
|
+
var import_uuid = require("@smithy/uuid");
|
|
418
418
|
|
|
419
419
|
// src/models/CloudFormationServiceException.ts
|
|
420
420
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
|
+
import { v4 as generateIdempotencyToken } from "@smithy/uuid";
|
|
5
5
|
import { CloudFormationServiceException as __BaseException } from "../models/CloudFormationServiceException";
|
|
6
6
|
import { AlreadyExistsException, CFNRegistryException, ChangeSetNotFoundException, ConcurrentResourcesLimitExceededException, CreatedButModifiedException, GeneratedTemplateNotFoundException, HookResultNotFoundException, InsufficientCapabilitiesException, InvalidChangeSetStatusException, InvalidOperationException, LimitExceededException, NameAlreadyExistsException, OperationIdAlreadyExistsException, OperationInProgressException, OperationNotFoundException, ResourceScanInProgressException, ResourceScanNotFoundException, StackInstanceNotFoundException, StackNotFoundException, StackRefactorNotFoundException, StackSetNotEmptyException, StackSetNotFoundException, StaleRequestException, TokenAlreadyExistsException, TypeConfigurationNotFoundException, TypeNotFoundException, } from "../models/models_0";
|
|
7
7
|
import { InvalidStateTransitionException, OperationStatusCheckFailedException, ResourceScanLimitExceededException, } from "../models/models_1";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.896.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudformation",
|
|
@@ -20,46 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.896.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.896.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.896.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.895.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.896.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.12.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
37
37
|
"@smithy/hash-node": "^4.1.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
41
|
-
"@smithy/middleware-retry": "^4.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.2.4",
|
|
41
|
+
"@smithy/middleware-retry": "^4.3.0",
|
|
42
42
|
"@smithy/middleware-serde": "^4.1.1",
|
|
43
43
|
"@smithy/middleware-stack": "^4.1.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.2.2",
|
|
45
45
|
"@smithy/node-http-handler": "^4.2.1",
|
|
46
46
|
"@smithy/protocol-http": "^5.2.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.6.
|
|
47
|
+
"@smithy/smithy-client": "^4.6.4",
|
|
48
48
|
"@smithy/types": "^4.5.0",
|
|
49
49
|
"@smithy/url-parser": "^4.1.1",
|
|
50
50
|
"@smithy/util-base64": "^4.1.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.1.4",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.1.4",
|
|
55
55
|
"@smithy/util-endpoints": "^3.1.2",
|
|
56
56
|
"@smithy/util-middleware": "^4.1.1",
|
|
57
57
|
"@smithy/util-retry": "^4.1.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.1.0",
|
|
59
59
|
"@smithy/util-waiter": "^4.1.1",
|
|
60
|
-
"@
|
|
61
|
-
"tslib": "^2.6.2"
|
|
62
|
-
"uuid": "^9.0.1"
|
|
60
|
+
"@smithy/uuid": "^1.0.0",
|
|
61
|
+
"tslib": "^2.6.2"
|
|
63
62
|
},
|
|
64
63
|
"devDependencies": {
|
|
65
64
|
"@tsconfig/node18": "18.2.4",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.896.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
23
|
+
"@aws-sdk/core": "3.896.0",
|
|
24
24
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
25
25
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.896.0",
|
|
28
28
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
29
29
|
"@aws-sdk/types": "3.893.0",
|
|
30
30
|
"@aws-sdk/util-endpoints": "3.895.0",
|
|
31
31
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.896.0",
|
|
33
33
|
"@smithy/config-resolver": "^4.2.2",
|
|
34
|
-
"@smithy/core": "^3.
|
|
34
|
+
"@smithy/core": "^3.12.0",
|
|
35
35
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
36
36
|
"@smithy/hash-node": "^4.1.1",
|
|
37
37
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
38
38
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
39
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
40
|
-
"@smithy/middleware-retry": "^4.
|
|
39
|
+
"@smithy/middleware-endpoint": "^4.2.4",
|
|
40
|
+
"@smithy/middleware-retry": "^4.3.0",
|
|
41
41
|
"@smithy/middleware-serde": "^4.1.1",
|
|
42
42
|
"@smithy/middleware-stack": "^4.1.1",
|
|
43
43
|
"@smithy/node-config-provider": "^4.2.2",
|
|
44
44
|
"@smithy/node-http-handler": "^4.2.1",
|
|
45
45
|
"@smithy/protocol-http": "^5.2.1",
|
|
46
|
-
"@smithy/smithy-client": "^4.6.
|
|
46
|
+
"@smithy/smithy-client": "^4.6.4",
|
|
47
47
|
"@smithy/types": "^4.5.0",
|
|
48
48
|
"@smithy/url-parser": "^4.1.1",
|
|
49
49
|
"@smithy/util-base64": "^4.1.0",
|
|
50
50
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
51
51
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
52
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
53
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
52
|
+
"@smithy/util-defaults-mode-browser": "^4.1.4",
|
|
53
|
+
"@smithy/util-defaults-mode-node": "^4.1.4",
|
|
54
54
|
"@smithy/util-endpoints": "^3.1.2",
|
|
55
55
|
"@smithy/util-middleware": "^4.1.1",
|
|
56
56
|
"@smithy/util-retry": "^4.1.2",
|
|
@@ -54,22 +54,10 @@ var import_schema2 = require("@smithy/core/schema");
|
|
|
54
54
|
|
|
55
55
|
// src/submodules/protocols/ProtocolLib.ts
|
|
56
56
|
var import_schema = require("@smithy/core/schema");
|
|
57
|
-
var import_util_body_length_browser = require("@smithy/util-body-length-browser");
|
|
58
57
|
var ProtocolLib = class {
|
|
59
58
|
static {
|
|
60
59
|
__name(this, "ProtocolLib");
|
|
61
60
|
}
|
|
62
|
-
/**
|
|
63
|
-
* @param body - to be inspected.
|
|
64
|
-
* @param serdeContext - this is a subset type but in practice is the client.config having a property called bodyLengthChecker.
|
|
65
|
-
*
|
|
66
|
-
* @returns content-length value for the body if possible.
|
|
67
|
-
* @throws Error and should be caught and handled if not possible to determine length.
|
|
68
|
-
*/
|
|
69
|
-
calculateContentLength(body, serdeContext) {
|
|
70
|
-
const bodyLengthCalculator = serdeContext?.bodyLengthChecker ?? import_util_body_length_browser.calculateBodyLength;
|
|
71
|
-
return String(bodyLengthCalculator(body));
|
|
72
|
-
}
|
|
73
61
|
/**
|
|
74
62
|
* This is only for REST protocols.
|
|
75
63
|
*
|
|
@@ -127,9 +115,7 @@ var ProtocolLib = class {
|
|
|
127
115
|
const errorSchema = getErrorSchema?.(registry, errorName) ?? registry.getSchema(errorIdentifier);
|
|
128
116
|
return { errorSchema, errorMetadata };
|
|
129
117
|
} catch (e) {
|
|
130
|
-
|
|
131
|
-
dataObject.message = dataObject.Message;
|
|
132
|
-
}
|
|
118
|
+
dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError";
|
|
133
119
|
const baseExceptionSchema = import_schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
|
|
134
120
|
if (baseExceptionSchema) {
|
|
135
121
|
const ErrorCtor = baseExceptionSchema.ctor;
|
|
@@ -683,7 +669,7 @@ var JsonShapeSerializer = class extends SerdeContextConfig {
|
|
|
683
669
|
return (0, import_serde4.generateIdempotencyToken)();
|
|
684
670
|
}
|
|
685
671
|
const mediaType = ns.getMergedTraits().mediaType;
|
|
686
|
-
if (
|
|
672
|
+
if (value != null && mediaType) {
|
|
687
673
|
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
688
674
|
if (isJson) {
|
|
689
675
|
return import_serde4.LazyJsonString.from(value);
|
|
@@ -776,10 +762,6 @@ var AwsJsonRpcProtocol = class extends import_protocols3.RpcProtocol {
|
|
|
776
762
|
if ((0, import_schema5.deref)(operationSchema.input) === "unit" || !request.body) {
|
|
777
763
|
request.body = "{}";
|
|
778
764
|
}
|
|
779
|
-
try {
|
|
780
|
-
request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
|
|
781
|
-
} catch (e) {
|
|
782
|
-
}
|
|
783
765
|
return request;
|
|
784
766
|
}
|
|
785
767
|
getPayloadCodec() {
|
|
@@ -929,12 +911,6 @@ var AwsRestJsonProtocol = class extends import_protocols4.HttpBindingProtocol {
|
|
|
929
911
|
if (request.headers["content-type"] && !request.body) {
|
|
930
912
|
request.body = "{}";
|
|
931
913
|
}
|
|
932
|
-
if (request.body) {
|
|
933
|
-
try {
|
|
934
|
-
request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
|
|
935
|
-
} catch (e) {
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
914
|
return request;
|
|
939
915
|
}
|
|
940
916
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
@@ -1037,6 +1013,9 @@ var XmlShapeDeserializer = class extends SerdeContextConfig {
|
|
|
1037
1013
|
}
|
|
1038
1014
|
readSchema(_schema, value) {
|
|
1039
1015
|
const ns = import_schema7.NormalizedSchema.of(_schema);
|
|
1016
|
+
if (ns.isUnitSchema()) {
|
|
1017
|
+
return;
|
|
1018
|
+
}
|
|
1040
1019
|
const traits = ns.getMergedTraits();
|
|
1041
1020
|
if (ns.isListSchema() && !Array.isArray(value)) {
|
|
1042
1021
|
return this.readSchema(ns, [value]);
|
|
@@ -1329,10 +1308,6 @@ var AwsQueryProtocol = class extends import_protocols7.RpcProtocol {
|
|
|
1329
1308
|
if (request.body.endsWith("&")) {
|
|
1330
1309
|
request.body = request.body.slice(-1);
|
|
1331
1310
|
}
|
|
1332
|
-
try {
|
|
1333
|
-
request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
|
|
1334
|
-
} catch (e) {
|
|
1335
|
-
}
|
|
1336
1311
|
return request;
|
|
1337
1312
|
}
|
|
1338
1313
|
async deserializeResponse(operationSchema, context, response) {
|
|
@@ -1372,6 +1347,13 @@ var AwsQueryProtocol = class extends import_protocols7.RpcProtocol {
|
|
|
1372
1347
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
1373
1348
|
const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
|
|
1374
1349
|
const errorData = this.loadQueryError(dataObject);
|
|
1350
|
+
const message = this.loadQueryErrorMessage(dataObject);
|
|
1351
|
+
errorData.message = message;
|
|
1352
|
+
errorData.Error = {
|
|
1353
|
+
Type: errorData.Type,
|
|
1354
|
+
Code: errorData.Code,
|
|
1355
|
+
Message: message
|
|
1356
|
+
};
|
|
1375
1357
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(
|
|
1376
1358
|
errorIdentifier,
|
|
1377
1359
|
this.options.defaultNamespace,
|
|
@@ -1383,9 +1365,10 @@ var AwsQueryProtocol = class extends import_protocols7.RpcProtocol {
|
|
|
1383
1365
|
)
|
|
1384
1366
|
);
|
|
1385
1367
|
const ns = import_schema9.NormalizedSchema.of(errorSchema);
|
|
1386
|
-
const message = this.loadQueryErrorMessage(dataObject);
|
|
1387
1368
|
const exception = new errorSchema.ctor(message);
|
|
1388
|
-
const output = {
|
|
1369
|
+
const output = {
|
|
1370
|
+
Error: errorData.Error
|
|
1371
|
+
};
|
|
1389
1372
|
for (const [name, member] of ns.structIterator()) {
|
|
1390
1373
|
const target = member.getMergedTraits().xmlName ?? name;
|
|
1391
1374
|
const value = errorData[target] ?? dataObject[target];
|
|
@@ -1847,12 +1830,6 @@ var AwsRestXmlProtocol = class extends import_protocols9.HttpBindingProtocol {
|
|
|
1847
1830
|
request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
|
|
1848
1831
|
}
|
|
1849
1832
|
}
|
|
1850
|
-
if (request.body) {
|
|
1851
|
-
try {
|
|
1852
|
-
request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
|
|
1853
|
-
} catch (e) {
|
|
1854
|
-
}
|
|
1855
|
-
}
|
|
1856
1833
|
return request;
|
|
1857
1834
|
}
|
|
1858
1835
|
async deserializeResponse(operationSchema, context, response) {
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
3
2
|
export class ProtocolLib {
|
|
4
|
-
calculateContentLength(body, serdeContext) {
|
|
5
|
-
const bodyLengthCalculator = serdeContext?.bodyLengthChecker ?? calculateBodyLength;
|
|
6
|
-
return String(bodyLengthCalculator(body));
|
|
7
|
-
}
|
|
8
3
|
resolveRestContentType(defaultContentType, inputSchema) {
|
|
9
4
|
const members = inputSchema.getMemberSchemas();
|
|
10
5
|
const httpPayloadMember = Object.values(members).find((m) => {
|
|
@@ -53,9 +48,7 @@ export class ProtocolLib {
|
|
|
53
48
|
return { errorSchema, errorMetadata };
|
|
54
49
|
}
|
|
55
50
|
catch (e) {
|
|
56
|
-
|
|
57
|
-
dataObject.message = dataObject.Message;
|
|
58
|
-
}
|
|
51
|
+
dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError";
|
|
59
52
|
const baseExceptionSchema = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace).getBaseException();
|
|
60
53
|
if (baseExceptionSchema) {
|
|
61
54
|
const ErrorCtor = baseExceptionSchema.ctor;
|
|
@@ -41,10 +41,6 @@ export class AwsJsonRpcProtocol extends RpcProtocol {
|
|
|
41
41
|
if (deref(operationSchema.input) === "unit" || !request.body) {
|
|
42
42
|
request.body = "{}";
|
|
43
43
|
}
|
|
44
|
-
try {
|
|
45
|
-
request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
|
|
46
|
-
}
|
|
47
|
-
catch (e) { }
|
|
48
44
|
return request;
|
|
49
45
|
}
|
|
50
46
|
getPayloadCodec() {
|
|
@@ -46,12 +46,6 @@ export class AwsRestJsonProtocol extends HttpBindingProtocol {
|
|
|
46
46
|
if (request.headers["content-type"] && !request.body) {
|
|
47
47
|
request.body = "{}";
|
|
48
48
|
}
|
|
49
|
-
if (request.body) {
|
|
50
|
-
try {
|
|
51
|
-
request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
|
|
52
|
-
}
|
|
53
|
-
catch (e) { }
|
|
54
|
-
}
|
|
55
49
|
return request;
|
|
56
50
|
}
|
|
57
51
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
@@ -104,7 +104,7 @@ export class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
104
104
|
return generateIdempotencyToken();
|
|
105
105
|
}
|
|
106
106
|
const mediaType = ns.getMergedTraits().mediaType;
|
|
107
|
-
if (
|
|
107
|
+
if (value != null && mediaType) {
|
|
108
108
|
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
109
109
|
if (isJson) {
|
|
110
110
|
return LazyJsonString.from(value);
|
|
@@ -52,10 +52,6 @@ export class AwsQueryProtocol extends RpcProtocol {
|
|
|
52
52
|
if (request.body.endsWith("&")) {
|
|
53
53
|
request.body = request.body.slice(-1);
|
|
54
54
|
}
|
|
55
|
-
try {
|
|
56
|
-
request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
|
|
57
|
-
}
|
|
58
|
-
catch (e) { }
|
|
59
55
|
return request;
|
|
60
56
|
}
|
|
61
57
|
async deserializeResponse(operationSchema, context, response) {
|
|
@@ -92,11 +88,19 @@ export class AwsQueryProtocol extends RpcProtocol {
|
|
|
92
88
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
93
89
|
const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
|
|
94
90
|
const errorData = this.loadQueryError(dataObject);
|
|
91
|
+
const message = this.loadQueryErrorMessage(dataObject);
|
|
92
|
+
errorData.message = message;
|
|
93
|
+
errorData.Error = {
|
|
94
|
+
Type: errorData.Type,
|
|
95
|
+
Code: errorData.Code,
|
|
96
|
+
Message: message,
|
|
97
|
+
};
|
|
95
98
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, (registry, errorName) => registry.find((schema) => NormalizedSchema.of(schema).getMergedTraits().awsQueryError?.[0] === errorName));
|
|
96
99
|
const ns = NormalizedSchema.of(errorSchema);
|
|
97
|
-
const message = this.loadQueryErrorMessage(dataObject);
|
|
98
100
|
const exception = new errorSchema.ctor(message);
|
|
99
|
-
const output = {
|
|
101
|
+
const output = {
|
|
102
|
+
Error: errorData.Error,
|
|
103
|
+
};
|
|
100
104
|
for (const [name, member] of ns.structIterator()) {
|
|
101
105
|
const target = member.getMergedTraits().xmlName ?? name;
|
|
102
106
|
const value = errorData[target] ?? dataObject[target];
|
|
@@ -43,12 +43,6 @@ export class AwsRestXmlProtocol extends HttpBindingProtocol {
|
|
|
43
43
|
request.body = '<?xml version="1.0" encoding="UTF-8"?>' + request.body;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
if (request.body) {
|
|
47
|
-
try {
|
|
48
|
-
request.headers["content-length"] = this.mixin.calculateContentLength(request.body, this.serdeContext);
|
|
49
|
-
}
|
|
50
|
-
catch (e) { }
|
|
51
|
-
}
|
|
52
46
|
return request;
|
|
53
47
|
}
|
|
54
48
|
async deserializeResponse(operationSchema, context, response) {
|
|
@@ -42,6 +42,9 @@ export class XmlShapeDeserializer extends SerdeContextConfig {
|
|
|
42
42
|
}
|
|
43
43
|
readSchema(_schema, value) {
|
|
44
44
|
const ns = NormalizedSchema.of(_schema);
|
|
45
|
+
if (ns.isUnitSchema()) {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
45
48
|
const traits = ns.getMergedTraits();
|
|
46
49
|
if (ns.isListSchema() && !Array.isArray(value)) {
|
|
47
50
|
return this.readSchema(ns, [value]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ErrorSchema, NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import type { HttpResponse as IHttpResponse, MetadataBearer, ResponseMetadata
|
|
2
|
+
import type { HttpResponse as IHttpResponse, MetadataBearer, ResponseMetadata } from "@smithy/types";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -13,14 +13,6 @@ type ErrorMetadataBearer = MetadataBearer & {
|
|
|
13
13
|
* @internal
|
|
14
14
|
*/
|
|
15
15
|
export declare class ProtocolLib {
|
|
16
|
-
/**
|
|
17
|
-
* @param body - to be inspected.
|
|
18
|
-
* @param serdeContext - this is a subset type but in practice is the client.config having a property called bodyLengthChecker.
|
|
19
|
-
*
|
|
20
|
-
* @returns content-length value for the body if possible.
|
|
21
|
-
* @throws Error and should be caught and handled if not possible to determine length.
|
|
22
|
-
*/
|
|
23
|
-
calculateContentLength(body: any, serdeContext?: SerdeFunctions): string;
|
|
24
16
|
/**
|
|
25
17
|
* This is only for REST protocols.
|
|
26
18
|
*
|
|
@@ -7,14 +7,12 @@ import {
|
|
|
7
7
|
HttpResponse as IHttpResponse,
|
|
8
8
|
MetadataBearer,
|
|
9
9
|
ResponseMetadata,
|
|
10
|
-
SerdeFunctions,
|
|
11
10
|
} from "@smithy/types";
|
|
12
11
|
type ErrorMetadataBearer = MetadataBearer & {
|
|
13
12
|
$response: IHttpResponse;
|
|
14
13
|
$fault: "client" | "server";
|
|
15
14
|
};
|
|
16
15
|
export declare class ProtocolLib {
|
|
17
|
-
calculateContentLength(body: any, serdeContext?: SerdeFunctions): string;
|
|
18
16
|
resolveRestContentType(
|
|
19
17
|
defaultContentType: string,
|
|
20
18
|
inputSchema: NormalizedSchema
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.896.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -83,15 +83,14 @@
|
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@aws-sdk/types": "3.893.0",
|
|
85
85
|
"@aws-sdk/xml-builder": "3.894.0",
|
|
86
|
-
"@smithy/core": "^3.
|
|
86
|
+
"@smithy/core": "^3.12.0",
|
|
87
87
|
"@smithy/node-config-provider": "^4.2.2",
|
|
88
88
|
"@smithy/property-provider": "^4.1.1",
|
|
89
89
|
"@smithy/protocol-http": "^5.2.1",
|
|
90
90
|
"@smithy/signature-v4": "^5.2.1",
|
|
91
|
-
"@smithy/smithy-client": "^4.6.
|
|
91
|
+
"@smithy/smithy-client": "^4.6.4",
|
|
92
92
|
"@smithy/types": "^4.5.0",
|
|
93
93
|
"@smithy/util-base64": "^4.1.0",
|
|
94
|
-
"@smithy/util-body-length-browser": "^4.1.0",
|
|
95
94
|
"@smithy/util-middleware": "^4.1.1",
|
|
96
95
|
"@smithy/util-utf8": "^4.1.0",
|
|
97
96
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.896.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
29
|
+
"@aws-sdk/core": "3.896.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
31
|
"@smithy/property-provider": "^4.1.1",
|
|
32
32
|
"@smithy/types": "^4.5.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.896.0",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
31
|
+
"@aws-sdk/core": "3.896.0",
|
|
32
32
|
"@aws-sdk/types": "3.893.0",
|
|
33
33
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
34
34
|
"@smithy/node-http-handler": "^4.2.1",
|
|
35
35
|
"@smithy/property-provider": "^4.1.1",
|
|
36
36
|
"@smithy/protocol-http": "^5.2.1",
|
|
37
|
-
"@smithy/smithy-client": "^4.6.
|
|
37
|
+
"@smithy/smithy-client": "^4.6.4",
|
|
38
38
|
"@smithy/types": "^4.5.0",
|
|
39
39
|
"@smithy/util-stream": "^4.3.2",
|
|
40
40
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.896.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
|
31
|
+
"@aws-sdk/core": "3.896.0",
|
|
32
|
+
"@aws-sdk/credential-provider-env": "3.896.0",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "3.896.0",
|
|
34
|
+
"@aws-sdk/credential-provider-process": "3.896.0",
|
|
35
|
+
"@aws-sdk/credential-provider-sso": "3.896.0",
|
|
36
|
+
"@aws-sdk/credential-provider-web-identity": "3.896.0",
|
|
37
|
+
"@aws-sdk/nested-clients": "3.896.0",
|
|
38
38
|
"@aws-sdk/types": "3.893.0",
|
|
39
39
|
"@smithy/credential-provider-imds": "^4.1.2",
|
|
40
40
|
"@smithy/property-provider": "^4.1.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.896.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
},
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
34
|
+
"@aws-sdk/credential-provider-env": "3.896.0",
|
|
35
|
+
"@aws-sdk/credential-provider-http": "3.896.0",
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "3.896.0",
|
|
37
|
+
"@aws-sdk/credential-provider-process": "3.896.0",
|
|
38
|
+
"@aws-sdk/credential-provider-sso": "3.896.0",
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "3.896.0",
|
|
40
40
|
"@aws-sdk/types": "3.893.0",
|
|
41
41
|
"@smithy/credential-provider-imds": "^4.1.2",
|
|
42
42
|
"@smithy/property-provider": "^4.1.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.896.0",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
29
|
+
"@aws-sdk/core": "3.896.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
31
|
"@smithy/property-provider": "^4.1.1",
|
|
32
32
|
"@smithy/shared-ini-file-loader": "^4.2.0",
|