@cdklabs/cdk-ecs-codedeploy 0.0.431 → 0.0.433
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/.jsii.tabl.json +1 -1
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +2 -2
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +2 -2
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +1 -1
- package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/README.md +26 -46
- package/node_modules/@aws-sdk/client-codedeploy/package.json +39 -39
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +11 -15
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +11 -15
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-login/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +9 -9
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +9 -9
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +4 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -8
- package/node_modules/@aws-sdk/nested-clients/package.json +39 -37
- package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/package.json +8 -8
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +87 -14
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +59 -8
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts +10 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -6
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +23 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +15 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +3 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +16 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +1 -26
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +87 -87
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +10 -10
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +17 -17
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +22 -22
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +85 -85
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +34 -34
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -284
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +2 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +27 -5
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -21
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +38 -34
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +10 -10
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/config-resolver/package.json +7 -7
- package/node_modules/@smithy/core/dist-cjs/index.js +1 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +9 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +11 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +42 -5
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +31 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
- package/node_modules/@smithy/core/endpoints.d.ts +7 -0
- package/node_modules/@smithy/core/endpoints.js +6 -0
- package/node_modules/@smithy/core/package.json +21 -12
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -4
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +21 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +7 -7
- package/node_modules/@smithy/hash-node/package.json +5 -5
- package/node_modules/@smithy/invalid-dependency/package.json +3 -3
- package/node_modules/@smithy/is-array-buffer/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +4 -4
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +17 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
- package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
- package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
- package/node_modules/@smithy/middleware-serde/package.json +5 -4
- package/node_modules/@smithy/middleware-stack/package.json +3 -3
- package/node_modules/@smithy/node-config-provider/package.json +5 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +68 -45
- package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +41 -35
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -5
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +6 -6
- package/node_modules/@smithy/property-provider/package.json +3 -3
- package/node_modules/@smithy/protocol-http/package.json +3 -3
- package/node_modules/@smithy/querystring-builder/package.json +4 -4
- package/node_modules/@smithy/querystring-parser/package.json +3 -3
- package/node_modules/@smithy/service-error-classification/package.json +3 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
- package/node_modules/@smithy/signature-v4/package.json +9 -9
- package/node_modules/@smithy/smithy-client/package.json +8 -8
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +4 -4
- package/node_modules/@smithy/util-base64/package.json +4 -4
- package/node_modules/@smithy/util-body-length-browser/package.json +2 -2
- package/node_modules/@smithy/util-body-length-node/package.json +2 -2
- package/node_modules/@smithy/util-buffer-from/package.json +3 -3
- package/node_modules/@smithy/util-config-provider/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
- package/node_modules/@smithy/util-endpoints/package.json +4 -4
- package/node_modules/@smithy/util-hex-encoding/package.json +2 -2
- package/node_modules/@smithy/util-middleware/package.json +3 -3
- package/node_modules/@smithy/util-retry/package.json +4 -4
- package/node_modules/@smithy/util-stream/package.json +9 -9
- package/node_modules/@smithy/util-uri-escape/package.json +2 -2
- package/node_modules/@smithy/util-utf8/package.json +3 -3
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/util-waiter/dist-es/poller.js +1 -1
- package/node_modules/@smithy/util-waiter/package.json +4 -4
- package/node_modules/@smithy/uuid/package.json +2 -2
- package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
- package/node_modules/fast-xml-builder/LICENSE +21 -0
- package/node_modules/fast-xml-builder/README.md +23 -0
- package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +180 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
- package/node_modules/fast-xml-builder/package.json +80 -0
- package/node_modules/fast-xml-builder/src/fxb.d.ts +180 -0
- package/node_modules/fast-xml-builder/src/fxb.js +529 -0
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +292 -0
- package/node_modules/path-expression-matcher/LICENSE +21 -0
- package/node_modules/path-expression-matcher/README.md +635 -0
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
- package/node_modules/path-expression-matcher/lib/pem.d.cts +335 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
- package/node_modules/path-expression-matcher/package.json +78 -0
- package/node_modules/path-expression-matcher/src/Expression.js +232 -0
- package/node_modules/path-expression-matcher/src/Matcher.js +414 -0
- package/node_modules/path-expression-matcher/src/index.d.ts +366 -0
- package/node_modules/path-expression-matcher/src/index.js +28 -0
- package/package.json +6 -6
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPath.js +0 -14
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptPackageJsonPath.d.ts +0 -9
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPath.d.ts +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +0 -134
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/prettifyJs2Xml.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.8",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-host-header",
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "^3.973.
|
|
29
|
-
"@smithy/protocol-http": "^5.3.
|
|
30
|
-
"@smithy/types": "^4.13.
|
|
28
|
+
"@aws-sdk/types": "^3.973.6",
|
|
29
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
30
|
+
"@smithy/types": "^4.13.1",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=20.0.0"
|
|
35
35
|
},
|
|
36
36
|
"typesVersions": {
|
|
37
|
-
"<4.
|
|
37
|
+
"<4.5": {
|
|
38
38
|
"dist-types/*": [
|
|
39
39
|
"dist-types/ts3.4/*"
|
|
40
40
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.8",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-logger",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "^3.973.
|
|
29
|
-
"@smithy/types": "^4.13.
|
|
28
|
+
"@aws-sdk/types": "^3.973.6",
|
|
29
|
+
"@smithy/types": "^4.13.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"node": ">=20.0.0"
|
|
42
42
|
},
|
|
43
43
|
"typesVersions": {
|
|
44
|
-
"<4.
|
|
44
|
+
"<4.5": {
|
|
45
45
|
"dist-types/*": [
|
|
46
46
|
"dist-types/ts3.4/*"
|
|
47
47
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.8",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "^3.973.
|
|
27
|
+
"@aws-sdk/types": "^3.973.6",
|
|
28
28
|
"@aws/lambda-invoke-store": "^0.2.2",
|
|
29
|
-
"@smithy/protocol-http": "^5.3.
|
|
30
|
-
"@smithy/types": "^4.13.
|
|
29
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
30
|
+
"@smithy/types": "^4.13.1",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=20.0.0"
|
|
35
35
|
},
|
|
36
36
|
"typesVersions": {
|
|
37
|
-
"<4.
|
|
37
|
+
"<4.5": {
|
|
38
38
|
"dist-types/*": [
|
|
39
39
|
"dist-types/ts3.4/*"
|
|
40
40
|
]
|
|
@@ -4,6 +4,7 @@ var core = require('@smithy/core');
|
|
|
4
4
|
var utilEndpoints = require('@aws-sdk/util-endpoints');
|
|
5
5
|
var protocolHttp = require('@smithy/protocol-http');
|
|
6
6
|
var core$1 = require('@aws-sdk/core');
|
|
7
|
+
var utilRetry = require('@smithy/util-retry');
|
|
7
8
|
|
|
8
9
|
const DEFAULT_UA_APP_ID = undefined;
|
|
9
10
|
function isValidUserAgentAppId(appId) {
|
|
@@ -41,16 +42,15 @@ async function checkFeatures(context, config, args) {
|
|
|
41
42
|
}
|
|
42
43
|
if (typeof config.retryStrategy === "function") {
|
|
43
44
|
const retryStrategy = await config.retryStrategy();
|
|
44
|
-
if (typeof retryStrategy.
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
if (typeof retryStrategy.mode === "string") {
|
|
46
|
+
switch (retryStrategy.mode) {
|
|
47
|
+
case utilRetry.RETRY_MODES.ADAPTIVE:
|
|
48
|
+
core$1.setFeature(context, "RETRY_MODE_ADAPTIVE", "F");
|
|
49
|
+
break;
|
|
50
|
+
case utilRetry.RETRY_MODES.STANDARD:
|
|
51
|
+
core$1.setFeature(context, "RETRY_MODE_STANDARD", "E");
|
|
52
|
+
break;
|
|
47
53
|
}
|
|
48
|
-
else {
|
|
49
|
-
core$1.setFeature(context, "RETRY_MODE_STANDARD", "E");
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
core$1.setFeature(context, "RETRY_MODE_LEGACY", "D");
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
if (typeof config.accountIdEndpointMode === "function") {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { setFeature } from "@aws-sdk/core";
|
|
2
|
+
import { RETRY_MODES } from "@smithy/util-retry";
|
|
2
3
|
const ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
3
4
|
export async function checkFeatures(context, config, args) {
|
|
4
5
|
const request = args.request;
|
|
@@ -7,16 +8,15 @@ export async function checkFeatures(context, config, args) {
|
|
|
7
8
|
}
|
|
8
9
|
if (typeof config.retryStrategy === "function") {
|
|
9
10
|
const retryStrategy = await config.retryStrategy();
|
|
10
|
-
if (typeof retryStrategy.
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
if (typeof retryStrategy.mode === "string") {
|
|
12
|
+
switch (retryStrategy.mode) {
|
|
13
|
+
case RETRY_MODES.ADAPTIVE:
|
|
14
|
+
setFeature(context, "RETRY_MODE_ADAPTIVE", "F");
|
|
15
|
+
break;
|
|
16
|
+
case RETRY_MODES.STANDARD:
|
|
17
|
+
setFeature(context, "RETRY_MODE_STANDARD", "E");
|
|
18
|
+
break;
|
|
13
19
|
}
|
|
14
|
-
else {
|
|
15
|
-
setFeature(context, "RETRY_MODE_STANDARD", "E");
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
setFeature(context, "RETRY_MODE_LEGACY", "D");
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
if (typeof config.accountIdEndpointMode === "function") {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import type { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint";
|
|
2
2
|
import type { AwsHandlerExecutionContext } from "@aws-sdk/types";
|
|
3
|
-
import type { AwsCredentialIdentityProvider, BuildHandlerArguments, Provider
|
|
3
|
+
import type { AwsCredentialIdentityProvider, BuildHandlerArguments, Provider } from "@smithy/types";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
type PreviouslyResolved = Partial<{
|
|
8
8
|
credentials?: AwsCredentialIdentityProvider;
|
|
9
9
|
accountIdEndpointMode?: Provider<AccountIdEndpointMode>;
|
|
10
|
-
retryStrategy?: Provider<
|
|
10
|
+
retryStrategy?: Provider<{
|
|
11
|
+
mode?: string;
|
|
12
|
+
}>;
|
|
11
13
|
}>;
|
|
12
14
|
/**
|
|
13
15
|
* @internal
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
AwsCredentialIdentityProvider,
|
|
5
5
|
BuildHandlerArguments,
|
|
6
6
|
Provider,
|
|
7
|
-
RetryStrategy,
|
|
8
|
-
RetryStrategyV2,
|
|
9
7
|
} from "@smithy/types";
|
|
10
8
|
type PreviouslyResolved = Partial<{
|
|
11
9
|
credentials?: AwsCredentialIdentityProvider;
|
|
12
10
|
accountIdEndpointMode?: Provider<AccountIdEndpointMode>;
|
|
13
|
-
retryStrategy?: Provider<
|
|
11
|
+
retryStrategy?: Provider<{
|
|
12
|
+
mode?: string;
|
|
13
|
+
}>;
|
|
14
14
|
}>;
|
|
15
15
|
export declare function checkFeatures(
|
|
16
16
|
context: AwsHandlerExecutionContext,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.21",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -25,12 +25,13 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "^3.973.
|
|
29
|
-
"@aws-sdk/types": "^3.973.
|
|
30
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
31
|
-
"@smithy/core": "^3.23.
|
|
32
|
-
"@smithy/protocol-http": "^5.3.
|
|
33
|
-
"@smithy/types": "^4.13.
|
|
28
|
+
"@aws-sdk/core": "^3.973.20",
|
|
29
|
+
"@aws-sdk/types": "^3.973.6",
|
|
30
|
+
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
31
|
+
"@smithy/core": "^3.23.11",
|
|
32
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
33
|
+
"@smithy/types": "^4.13.1",
|
|
34
|
+
"@smithy/util-retry": "^4.2.12",
|
|
34
35
|
"tslib": "^2.6.2"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
"node": ">=20.0.0"
|
|
45
46
|
},
|
|
46
47
|
"typesVersions": {
|
|
47
|
-
"<4.
|
|
48
|
+
"<4.5": {
|
|
48
49
|
"dist-types/*": [
|
|
49
50
|
"dist-types/ts3.4/*"
|
|
50
51
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.10",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,41 +29,41 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
|
-
"@aws-sdk/core": "^3.973.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
34
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
37
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
38
|
-
"@aws-sdk/types": "^3.973.
|
|
39
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
40
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
41
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
42
|
-
"@smithy/config-resolver": "^4.4.
|
|
43
|
-
"@smithy/core": "^3.23.
|
|
44
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
45
|
-
"@smithy/hash-node": "^4.2.
|
|
46
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
47
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
48
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
49
|
-
"@smithy/middleware-retry": "^4.4.
|
|
50
|
-
"@smithy/middleware-serde": "^4.2.
|
|
51
|
-
"@smithy/middleware-stack": "^4.2.
|
|
52
|
-
"@smithy/node-config-provider": "^4.3.
|
|
53
|
-
"@smithy/node-http-handler": "^4.4.
|
|
54
|
-
"@smithy/protocol-http": "^5.3.
|
|
55
|
-
"@smithy/smithy-client": "^4.12.
|
|
56
|
-
"@smithy/types": "^4.13.
|
|
57
|
-
"@smithy/url-parser": "^4.2.
|
|
58
|
-
"@smithy/util-base64": "^4.3.
|
|
59
|
-
"@smithy/util-body-length-browser": "^4.2.
|
|
60
|
-
"@smithy/util-body-length-node": "^4.2.
|
|
61
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
63
|
-
"@smithy/util-endpoints": "^3.3.
|
|
64
|
-
"@smithy/util-middleware": "^4.2.
|
|
65
|
-
"@smithy/util-retry": "^4.2.
|
|
66
|
-
"@smithy/util-utf8": "^4.2.
|
|
32
|
+
"@aws-sdk/core": "^3.973.20",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
34
|
+
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "^3.972.21",
|
|
37
|
+
"@aws-sdk/region-config-resolver": "^3.972.8",
|
|
38
|
+
"@aws-sdk/types": "^3.973.6",
|
|
39
|
+
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
40
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "^3.973.7",
|
|
42
|
+
"@smithy/config-resolver": "^4.4.11",
|
|
43
|
+
"@smithy/core": "^3.23.11",
|
|
44
|
+
"@smithy/fetch-http-handler": "^5.3.15",
|
|
45
|
+
"@smithy/hash-node": "^4.2.12",
|
|
46
|
+
"@smithy/invalid-dependency": "^4.2.12",
|
|
47
|
+
"@smithy/middleware-content-length": "^4.2.12",
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.4.25",
|
|
49
|
+
"@smithy/middleware-retry": "^4.4.42",
|
|
50
|
+
"@smithy/middleware-serde": "^4.2.14",
|
|
51
|
+
"@smithy/middleware-stack": "^4.2.12",
|
|
52
|
+
"@smithy/node-config-provider": "^4.3.12",
|
|
53
|
+
"@smithy/node-http-handler": "^4.4.16",
|
|
54
|
+
"@smithy/protocol-http": "^5.3.12",
|
|
55
|
+
"@smithy/smithy-client": "^4.12.5",
|
|
56
|
+
"@smithy/types": "^4.13.1",
|
|
57
|
+
"@smithy/url-parser": "^4.2.12",
|
|
58
|
+
"@smithy/util-base64": "^4.3.2",
|
|
59
|
+
"@smithy/util-body-length-browser": "^4.2.2",
|
|
60
|
+
"@smithy/util-body-length-node": "^4.2.3",
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.3.41",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.2.44",
|
|
63
|
+
"@smithy/util-endpoints": "^3.3.3",
|
|
64
|
+
"@smithy/util-middleware": "^4.2.12",
|
|
65
|
+
"@smithy/util-retry": "^4.2.12",
|
|
66
|
+
"@smithy/util-utf8": "^4.2.2",
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"typescript": "~5.8.3"
|
|
74
74
|
},
|
|
75
75
|
"typesVersions": {
|
|
76
|
-
"<4.
|
|
76
|
+
"<4.5": {
|
|
77
77
|
"dist-types/*": [
|
|
78
78
|
"dist-types/ts3.4/*"
|
|
79
79
|
]
|
|
@@ -93,8 +93,10 @@
|
|
|
93
93
|
"dist-*/**"
|
|
94
94
|
],
|
|
95
95
|
"browser": {
|
|
96
|
+
"./dist-es/submodules/cognito-identity/runtimeConfig": "./dist-es/submodules/cognito-identity/runtimeConfig.browser",
|
|
96
97
|
"./dist-es/submodules/signin/runtimeConfig": "./dist-es/submodules/signin/runtimeConfig.browser",
|
|
97
98
|
"./dist-es/submodules/sso-oidc/runtimeConfig": "./dist-es/submodules/sso-oidc/runtimeConfig.browser",
|
|
99
|
+
"./dist-es/submodules/sso/runtimeConfig": "./dist-es/submodules/sso/runtimeConfig.browser",
|
|
98
100
|
"./dist-es/submodules/sts/runtimeConfig": "./dist-es/submodules/sts/runtimeConfig.browser"
|
|
99
101
|
},
|
|
100
102
|
"react-native": {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.8",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "^3.973.
|
|
27
|
-
"@smithy/config-resolver": "^4.4.
|
|
28
|
-
"@smithy/node-config-provider": "^4.3.
|
|
29
|
-
"@smithy/types": "^4.13.
|
|
26
|
+
"@aws-sdk/types": "^3.973.6",
|
|
27
|
+
"@smithy/config-resolver": "^4.4.11",
|
|
28
|
+
"@smithy/node-config-provider": "^4.3.12",
|
|
29
|
+
"@smithy/types": "^4.13.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"node": ">=20.0.0"
|
|
41
41
|
},
|
|
42
42
|
"typesVersions": {
|
|
43
|
-
"<4.
|
|
43
|
+
"<4.5": {
|
|
44
44
|
"dist-types/*": [
|
|
45
45
|
"dist-types/ts3.4/*"
|
|
46
46
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1009.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/core": "^3.973.
|
|
33
|
-
"@aws-sdk/nested-clients": "^3.996.
|
|
34
|
-
"@aws-sdk/types": "^3.973.
|
|
35
|
-
"@smithy/property-provider": "^4.2.
|
|
36
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
37
|
-
"@smithy/types": "^4.13.
|
|
32
|
+
"@aws-sdk/core": "^3.973.20",
|
|
33
|
+
"@aws-sdk/nested-clients": "^3.996.10",
|
|
34
|
+
"@aws-sdk/types": "^3.973.6",
|
|
35
|
+
"@smithy/property-provider": "^4.2.12",
|
|
36
|
+
"@smithy/shared-ini-file-loader": "^4.4.7",
|
|
37
|
+
"@smithy/types": "^4.13.1",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"node": ">=20.0.0"
|
|
51
51
|
},
|
|
52
52
|
"typesVersions": {
|
|
53
|
-
"<4.
|
|
53
|
+
"<4.5": {
|
|
54
54
|
"dist-types/*": [
|
|
55
55
|
"dist-types/ts3.4/*"
|
|
56
56
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.6",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"node": ">=20.0.0"
|
|
27
27
|
},
|
|
28
28
|
"typesVersions": {
|
|
29
|
-
"<4.
|
|
29
|
+
"<4.5": {
|
|
30
30
|
"dist-types/*": [
|
|
31
31
|
"dist-types/ts3.4/*"
|
|
32
32
|
]
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"directory": "packages-internal/types"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@smithy/types": "^4.13.
|
|
45
|
+
"@smithy/types": "^4.13.1",
|
|
46
46
|
"tslib": "^2.6.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.5",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "^3.973.
|
|
29
|
-
"@smithy/types": "^4.13.
|
|
30
|
-
"@smithy/url-parser": "^4.2.
|
|
31
|
-
"@smithy/util-endpoints": "^3.3.
|
|
28
|
+
"@aws-sdk/types": "^3.973.6",
|
|
29
|
+
"@smithy/types": "^4.13.1",
|
|
30
|
+
"@smithy/url-parser": "^4.2.12",
|
|
31
|
+
"@smithy/util-endpoints": "^3.3.3",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": ">=20.0.0"
|
|
36
36
|
},
|
|
37
37
|
"typesVersions": {
|
|
38
|
-
"<4.
|
|
38
|
+
"<4.5": {
|
|
39
39
|
"dist-types/*": [
|
|
40
40
|
"dist-types/ts3.4/*"
|
|
41
41
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-locate-window",
|
|
3
|
-
"version": "3.965.
|
|
3
|
+
"version": "3.965.5",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-locate-window",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"node": ">=20.0.0"
|
|
37
37
|
},
|
|
38
38
|
"typesVersions": {
|
|
39
|
-
"<4.
|
|
39
|
+
"<4.5": {
|
|
40
40
|
"dist-types/*": [
|
|
41
41
|
"dist-types/ts3.4/*"
|
|
42
42
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.8",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"react-native": "dist-es/index.native.js",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "^3.973.
|
|
28
|
-
"@smithy/types": "^4.13.
|
|
27
|
+
"@aws-sdk/types": "^3.973.6",
|
|
28
|
+
"@smithy/types": "^4.13.1",
|
|
29
29
|
"bowser": "^2.11.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"typescript": "~5.8.3"
|
|
38
38
|
},
|
|
39
39
|
"typesVersions": {
|
|
40
|
-
"<4.
|
|
40
|
+
"<4.5": {
|
|
41
41
|
"dist-types/*": [
|
|
42
42
|
"dist-types/ts3.4/*"
|
|
43
43
|
]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var node_os = require('node:os');
|
|
4
4
|
var node_process = require('node:process');
|
|
5
|
+
var utilConfigProvider = require('@smithy/util-config-provider');
|
|
5
6
|
var promises = require('node:fs/promises');
|
|
6
7
|
var node_path = require('node:path');
|
|
7
8
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
@@ -16,21 +17,47 @@ const getRuntimeUserAgentPair = () => {
|
|
|
16
17
|
return ["md/nodejs", node_process.versions.node];
|
|
17
18
|
};
|
|
18
19
|
|
|
19
|
-
const
|
|
20
|
-
|
|
20
|
+
const getNodeModulesParentDirs = (dirname) => {
|
|
21
|
+
const cwd = process.cwd();
|
|
22
|
+
if (!dirname) {
|
|
23
|
+
return [cwd];
|
|
24
|
+
}
|
|
21
25
|
const normalizedPath = node_path.normalize(dirname);
|
|
22
26
|
const parts = normalizedPath.split(node_path.sep);
|
|
23
27
|
const nodeModulesIndex = parts.indexOf("node_modules");
|
|
24
|
-
|
|
25
|
-
|
|
28
|
+
const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(node_path.sep) : normalizedPath;
|
|
29
|
+
if (cwd === parentDir) {
|
|
30
|
+
return [cwd];
|
|
26
31
|
}
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
return [parentDir, cwd];
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/;
|
|
36
|
+
const getSanitizedTypeScriptVersion = (version = "") => {
|
|
37
|
+
const match = version.match(SEMVER_REGEX);
|
|
38
|
+
if (!match) {
|
|
39
|
+
return undefined;
|
|
29
40
|
}
|
|
30
|
-
|
|
41
|
+
const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]];
|
|
42
|
+
return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const ALLOWED_PREFIXES = ["^", "~", ">=", "<=", ">", "<"];
|
|
46
|
+
const ALLOWED_DIST_TAGS = ["latest", "beta", "dev", "rc", "insiders", "next"];
|
|
47
|
+
const getSanitizedDevTypeScriptVersion = (version = "") => {
|
|
48
|
+
if (ALLOWED_DIST_TAGS.includes(version)) {
|
|
49
|
+
return version;
|
|
50
|
+
}
|
|
51
|
+
const prefix = ALLOWED_PREFIXES.find((p) => version.startsWith(p)) ?? "";
|
|
52
|
+
const sanitizedTypeScriptVersion = getSanitizedTypeScriptVersion(version.slice(prefix.length));
|
|
53
|
+
if (!sanitizedTypeScriptVersion) {
|
|
54
|
+
return undefined;
|
|
55
|
+
}
|
|
56
|
+
return `${prefix}${sanitizedTypeScriptVersion}`;
|
|
31
57
|
};
|
|
32
58
|
|
|
33
59
|
let tscVersion;
|
|
60
|
+
const TS_PACKAGE_JSON = node_path.join("node_modules", "typescript", "package.json");
|
|
34
61
|
const getTypeScriptUserAgentPair = async () => {
|
|
35
62
|
if (tscVersion === null) {
|
|
36
63
|
return undefined;
|
|
@@ -38,19 +65,65 @@ const getTypeScriptUserAgentPair = async () => {
|
|
|
38
65
|
else if (typeof tscVersion === "string") {
|
|
39
66
|
return ["md/tsc", tscVersion];
|
|
40
67
|
}
|
|
68
|
+
let isTypeScriptDetectionDisabled = false;
|
|
41
69
|
try {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
70
|
+
isTypeScriptDetectionDisabled =
|
|
71
|
+
utilConfigProvider.booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", utilConfigProvider.SelectorType.ENV) || false;
|
|
72
|
+
}
|
|
73
|
+
catch { }
|
|
74
|
+
if (isTypeScriptDetectionDisabled) {
|
|
75
|
+
tscVersion = null;
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
const dirname = typeof __dirname !== "undefined" ? __dirname : undefined;
|
|
79
|
+
const nodeModulesParentDirs = getNodeModulesParentDirs(dirname);
|
|
80
|
+
let versionFromApp;
|
|
81
|
+
for (const nodeModulesParentDir of nodeModulesParentDirs) {
|
|
82
|
+
try {
|
|
83
|
+
const appPackageJsonPath = node_path.join(nodeModulesParentDir, "package.json");
|
|
84
|
+
const packageJson = await promises.readFile(appPackageJsonPath, "utf-8");
|
|
85
|
+
const { dependencies, devDependencies } = JSON.parse(packageJson);
|
|
86
|
+
const version = devDependencies?.typescript ?? dependencies?.typescript;
|
|
87
|
+
if (typeof version !== "string") {
|
|
88
|
+
continue;
|
|
89
|
+
}
|
|
90
|
+
versionFromApp = version;
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
catch {
|
|
47
94
|
}
|
|
48
|
-
|
|
95
|
+
}
|
|
96
|
+
if (!versionFromApp) {
|
|
97
|
+
tscVersion = null;
|
|
98
|
+
return undefined;
|
|
99
|
+
}
|
|
100
|
+
let versionFromNodeModules;
|
|
101
|
+
for (const nodeModulesParentDir of nodeModulesParentDirs) {
|
|
102
|
+
try {
|
|
103
|
+
const tsPackageJsonPath = node_path.join(nodeModulesParentDir, TS_PACKAGE_JSON);
|
|
104
|
+
const packageJson = await promises.readFile(tsPackageJsonPath, "utf-8");
|
|
105
|
+
const { version } = JSON.parse(packageJson);
|
|
106
|
+
const sanitizedVersion = getSanitizedTypeScriptVersion(version);
|
|
107
|
+
if (typeof sanitizedVersion !== "string") {
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
versionFromNodeModules = sanitizedVersion;
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
catch {
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
if (versionFromNodeModules) {
|
|
117
|
+
tscVersion = versionFromNodeModules;
|
|
49
118
|
return ["md/tsc", tscVersion];
|
|
50
119
|
}
|
|
51
|
-
|
|
120
|
+
const sanitizedVersion = getSanitizedDevTypeScriptVersion(versionFromApp);
|
|
121
|
+
if (typeof sanitizedVersion !== "string") {
|
|
52
122
|
tscVersion = null;
|
|
123
|
+
return undefined;
|
|
53
124
|
}
|
|
125
|
+
tscVersion = `dev_${sanitizedVersion}`;
|
|
126
|
+
return ["md/tsc", tscVersion];
|
|
54
127
|
};
|
|
55
128
|
|
|
56
129
|
const crtAvailability = {
|