@cdklabs/cdk-ecs-codedeploy 0.0.452 → 0.0.453
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/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-sdk/client-codedeploy/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +38 -38
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +37 -37
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/package.json +6 -6
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -4
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +67 -69
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +71 -73
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +72 -74
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- 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 +17 -13
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +0 -10
- 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-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
- 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/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -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/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -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 -11
- 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-cjs/index.js +9 -2
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +9 -2
- 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 -13
- 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/dist-types/schema/sentinels.d.ts +14 -14
- package/node_modules/@smithy/types/package.json +29 -39
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.2",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -31,33 +31,25 @@
|
|
|
31
31
|
]
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"publishConfig": {
|
|
35
|
-
"directory": ".release/package"
|
|
36
|
-
},
|
|
37
34
|
"scripts": {
|
|
38
35
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
39
36
|
"build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
|
|
40
37
|
"build:types": "premove dist-types && yarn g:tsc -p tsconfig.types.json",
|
|
41
38
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
42
39
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
43
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
44
40
|
"test": "yarn g:vitest run",
|
|
45
41
|
"test:watch": "yarn g:vitest watch"
|
|
46
42
|
},
|
|
47
43
|
"dependencies": {
|
|
48
|
-
"@smithy/core": "^3.
|
|
49
|
-
"@smithy/types": "^4.
|
|
44
|
+
"@smithy/core": "^3.33.2",
|
|
45
|
+
"@smithy/types": "^4.17.2",
|
|
50
46
|
"tslib": "^2.6.2"
|
|
51
47
|
},
|
|
52
48
|
"devDependencies": {
|
|
53
49
|
"@types/node": "^18.11.9",
|
|
54
50
|
"concurrently": "7.0.0",
|
|
55
51
|
"downlevel-dts": "0.10.1",
|
|
56
|
-
"premove": "4.0.0"
|
|
57
|
-
"typedoc": "0.23.23"
|
|
58
|
-
},
|
|
59
|
-
"typedoc": {
|
|
60
|
-
"entryPoint": "src/index.ts"
|
|
52
|
+
"premove": "4.0.0"
|
|
61
53
|
},
|
|
62
54
|
"engines": {
|
|
63
55
|
"node": ">=18.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.2",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/fetch-http-handler",
|
|
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,26 +34,21 @@
|
|
|
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 && yarn test:browser",
|
|
42
38
|
"test:watch": "yarn g:vitest watch",
|
|
43
39
|
"test:browser": "yarn g:vitest run -c vitest.config.browser.mts",
|
|
44
40
|
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts"
|
|
45
41
|
},
|
|
46
42
|
"dependencies": {
|
|
47
|
-
"@smithy/core": "^3.
|
|
48
|
-
"@smithy/types": "^4.
|
|
43
|
+
"@smithy/core": "^3.33.2",
|
|
44
|
+
"@smithy/types": "^4.17.2",
|
|
49
45
|
"tslib": "^2.6.2"
|
|
50
46
|
},
|
|
51
47
|
"devDependencies": {
|
|
52
|
-
"@smithy/abort-controller": "^4.
|
|
48
|
+
"@smithy/abort-controller": "^4.4.2",
|
|
53
49
|
"concurrently": "7.0.0",
|
|
54
50
|
"downlevel-dts": "0.10.1",
|
|
55
|
-
"premove": "4.0.0"
|
|
56
|
-
"typedoc": "0.23.23"
|
|
57
|
-
},
|
|
58
|
-
"typedoc": {
|
|
59
|
-
"entryPoint": "src/index.ts"
|
|
51
|
+
"premove": "4.0.0"
|
|
60
52
|
},
|
|
61
53
|
"engines": {
|
|
62
54
|
"node": ">=18.0.0"
|
|
@@ -266,6 +266,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
266
266
|
this.config = await this.configProvider;
|
|
267
267
|
}
|
|
268
268
|
const config = this.config;
|
|
269
|
+
const logger = config.logger;
|
|
269
270
|
const isSSL = request.protocol === "https:";
|
|
270
271
|
if (!isSSL && !this.config.httpAgent) {
|
|
271
272
|
this.config.httpAgent = await this.config.httpAgentProvider();
|
|
@@ -309,7 +310,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
309
310
|
});
|
|
310
311
|
}
|
|
311
312
|
socketWarningTimeoutId = timing.setTimeout(() => {
|
|
312
|
-
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp,
|
|
313
|
+
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);
|
|
313
314
|
}, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
|
|
314
315
|
const queryString = request.query ? buildQueryString(request.query) : "";
|
|
315
316
|
let auth = undefined;
|
|
@@ -376,7 +377,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
376
377
|
}
|
|
377
378
|
const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
|
|
378
379
|
connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);
|
|
379
|
-
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout,
|
|
380
|
+
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);
|
|
380
381
|
socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);
|
|
381
382
|
const httpAgent = nodeHttpsOptions.agent;
|
|
382
383
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
@@ -394,6 +395,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
394
395
|
updateHttpClientConfig(key, value) {
|
|
395
396
|
this.config = undefined;
|
|
396
397
|
this.configProvider = this.configProvider.then((config) => {
|
|
398
|
+
if (key === Symbol.for("logger")) {
|
|
399
|
+
return {
|
|
400
|
+
...config,
|
|
401
|
+
logger: config.logger ?? value,
|
|
402
|
+
};
|
|
403
|
+
}
|
|
397
404
|
return {
|
|
398
405
|
...config,
|
|
399
406
|
[key]: value,
|
|
@@ -70,6 +70,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
70
70
|
this.config = await this.configProvider;
|
|
71
71
|
}
|
|
72
72
|
const config = this.config;
|
|
73
|
+
const logger = config.logger;
|
|
73
74
|
const isSSL = request.protocol === "https:";
|
|
74
75
|
if (!isSSL && !this.config.httpAgent) {
|
|
75
76
|
this.config.httpAgent = await this.config.httpAgentProvider();
|
|
@@ -113,7 +114,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
113
114
|
});
|
|
114
115
|
}
|
|
115
116
|
socketWarningTimeoutId = timing.setTimeout(() => {
|
|
116
|
-
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp,
|
|
117
|
+
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger);
|
|
117
118
|
}, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
|
|
118
119
|
const queryString = request.query ? buildQueryString(request.query) : "";
|
|
119
120
|
let auth = undefined;
|
|
@@ -180,7 +181,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
180
181
|
}
|
|
181
182
|
const effectiveRequestTimeout = requestTimeout ?? config.requestTimeout;
|
|
182
183
|
connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout);
|
|
183
|
-
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout,
|
|
184
|
+
requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console);
|
|
184
185
|
socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout);
|
|
185
186
|
const httpAgent = nodeHttpsOptions.agent;
|
|
186
187
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
@@ -198,6 +199,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
198
199
|
updateHttpClientConfig(key, value) {
|
|
199
200
|
this.config = undefined;
|
|
200
201
|
this.configProvider = this.configProvider.then((config) => {
|
|
202
|
+
if (key === Symbol.for("logger")) {
|
|
203
|
+
return {
|
|
204
|
+
...config,
|
|
205
|
+
logger: config.logger ?? value,
|
|
206
|
+
};
|
|
207
|
+
}
|
|
201
208
|
return {
|
|
202
209
|
...config,
|
|
203
210
|
[key]: value,
|
|
@@ -64,7 +64,7 @@ export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOpt
|
|
|
64
64
|
* @returns the input if it is an HttpHandler of any class,
|
|
65
65
|
* or instantiates a new instance of this handler.
|
|
66
66
|
*/
|
|
67
|
-
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): HttpHandler<any
|
|
67
|
+
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): NodeHttp2Handler | HttpHandler<any>;
|
|
68
68
|
constructor(options?: NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>);
|
|
69
69
|
destroy(): void;
|
|
70
70
|
handle(request: HttpRequest, { abortSignal, requestTimeout, isEventStream }?: HttpHandlerOptions & EventStreamSignal): Promise<{
|
|
@@ -64,7 +64,7 @@ export declare class NodeHttp2Handler implements HttpHandler<NodeHttp2HandlerOpt
|
|
|
64
64
|
* @returns the input if it is an HttpHandler of any class,
|
|
65
65
|
* or instantiates a new instance of this handler.
|
|
66
66
|
*/
|
|
67
|
-
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): HttpHandler<any
|
|
67
|
+
static create(instanceOrOptions?: HttpHandler<any> | NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>): NodeHttp2Handler | HttpHandler<any>;
|
|
68
68
|
constructor(options?: NodeHttp2HandlerOptions | Provider<NodeHttp2HandlerOptions | void>);
|
|
69
69
|
destroy(): void;
|
|
70
70
|
handle(request: HttpRequest, { abortSignal, requestTimeout, isEventStream }?: HttpHandlerOptions & EventStreamSignal): Promise<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.2",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -28,9 +28,6 @@
|
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"publishConfig": {
|
|
32
|
-
"directory": ".release/package"
|
|
33
|
-
},
|
|
34
31
|
"scripts": {
|
|
35
32
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
36
33
|
"build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
|
|
@@ -38,25 +35,20 @@
|
|
|
38
35
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
39
36
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
40
37
|
"extract:docs": "api-extractor run --local",
|
|
41
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
42
38
|
"test": "yarn g:vitest run",
|
|
43
39
|
"test:watch": "yarn g:vitest watch"
|
|
44
40
|
},
|
|
45
41
|
"dependencies": {
|
|
46
|
-
"@smithy/core": "^3.
|
|
47
|
-
"@smithy/types": "^4.
|
|
42
|
+
"@smithy/core": "^3.33.2",
|
|
43
|
+
"@smithy/types": "^4.17.2",
|
|
48
44
|
"tslib": "^2.6.2"
|
|
49
45
|
},
|
|
50
46
|
"devDependencies": {
|
|
51
|
-
"@smithy/abort-controller": "^4.
|
|
47
|
+
"@smithy/abort-controller": "^4.4.2",
|
|
52
48
|
"@types/node": "^18.11.9",
|
|
53
49
|
"concurrently": "7.0.0",
|
|
54
50
|
"downlevel-dts": "0.10.1",
|
|
55
|
-
"premove": "4.0.0"
|
|
56
|
-
"typedoc": "0.23.23"
|
|
57
|
-
},
|
|
58
|
-
"typedoc": {
|
|
59
|
-
"entryPoint": "src/index.ts"
|
|
51
|
+
"premove": "4.0.0"
|
|
60
52
|
},
|
|
61
53
|
"engines": {
|
|
62
54
|
"node": ">=18.0.0"
|
|
@@ -20,27 +20,27 @@ class HeaderFormatter {
|
|
|
20
20
|
formatHeaderValue(header) {
|
|
21
21
|
switch (header.type) {
|
|
22
22
|
case "boolean":
|
|
23
|
-
return Uint8Array.from([header.value ?
|
|
23
|
+
return Uint8Array.from([header.value ? 0 : 1]);
|
|
24
24
|
case "byte":
|
|
25
|
-
return Uint8Array.from([
|
|
25
|
+
return Uint8Array.from([2, header.value]);
|
|
26
26
|
case "short":
|
|
27
27
|
const shortView = new DataView(new ArrayBuffer(3));
|
|
28
|
-
shortView.setUint8(0,
|
|
28
|
+
shortView.setUint8(0, 3);
|
|
29
29
|
shortView.setInt16(1, header.value, false);
|
|
30
30
|
return new Uint8Array(shortView.buffer);
|
|
31
31
|
case "integer":
|
|
32
32
|
const intView = new DataView(new ArrayBuffer(5));
|
|
33
|
-
intView.setUint8(0,
|
|
33
|
+
intView.setUint8(0, 4);
|
|
34
34
|
intView.setInt32(1, header.value, false);
|
|
35
35
|
return new Uint8Array(intView.buffer);
|
|
36
36
|
case "long":
|
|
37
37
|
const longBytes = new Uint8Array(9);
|
|
38
|
-
longBytes[0] =
|
|
38
|
+
longBytes[0] = 5;
|
|
39
39
|
longBytes.set(header.value.bytes, 1);
|
|
40
40
|
return longBytes;
|
|
41
41
|
case "binary":
|
|
42
42
|
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
43
|
-
binView.setUint8(0,
|
|
43
|
+
binView.setUint8(0, 6);
|
|
44
44
|
binView.setUint16(1, header.value.byteLength, false);
|
|
45
45
|
const binBytes = new Uint8Array(binView.buffer);
|
|
46
46
|
binBytes.set(header.value, 3);
|
|
@@ -48,14 +48,14 @@ class HeaderFormatter {
|
|
|
48
48
|
case "string":
|
|
49
49
|
const utf8Bytes = fromUtf8(header.value);
|
|
50
50
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
51
|
-
strView.setUint8(0,
|
|
51
|
+
strView.setUint8(0, 7);
|
|
52
52
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
53
53
|
const strBytes = new Uint8Array(strView.buffer);
|
|
54
54
|
strBytes.set(utf8Bytes, 3);
|
|
55
55
|
return strBytes;
|
|
56
56
|
case "timestamp":
|
|
57
57
|
const tsBytes = new Uint8Array(9);
|
|
58
|
-
tsBytes[0] =
|
|
58
|
+
tsBytes[0] = 8;
|
|
59
59
|
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
60
60
|
return tsBytes;
|
|
61
61
|
case "uuid":
|
|
@@ -63,7 +63,7 @@ class HeaderFormatter {
|
|
|
63
63
|
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
64
64
|
}
|
|
65
65
|
const uuidBytes = new Uint8Array(17);
|
|
66
|
-
uuidBytes[0] =
|
|
66
|
+
uuidBytes[0] = 9;
|
|
67
67
|
uuidBytes.set(fromHex(header.value.replace(/-/g, "")), 1);
|
|
68
68
|
return uuidBytes;
|
|
69
69
|
}
|
|
@@ -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.
|
|
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.
|
|
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"
|
|
@@ -3,63 +3,63 @@
|
|
|
3
3
|
* such as Buffer, string, or Readable(Stream) depending on circumstances.
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
export type BlobSchema =
|
|
6
|
+
export type BlobSchema = 0b0001_0101;
|
|
7
7
|
/**
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
export type StreamingBlobSchema =
|
|
10
|
+
export type StreamingBlobSchema = 0b0010_1010;
|
|
11
11
|
/**
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
export type BooleanSchema =
|
|
14
|
+
export type BooleanSchema = 0b0000_0010;
|
|
15
15
|
/**
|
|
16
16
|
* Includes string and enum Smithy types.
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
export type StringSchema =
|
|
19
|
+
export type StringSchema = 0b0000_0000;
|
|
20
20
|
/**
|
|
21
21
|
* Includes all numeric Smithy types except bigInteger and bigDecimal.
|
|
22
22
|
* byte, short, integer, long, float, double, intEnum.
|
|
23
23
|
*
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
26
|
-
export type NumericSchema =
|
|
26
|
+
export type NumericSchema = 0b0000_0001;
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
|
-
export type BigIntegerSchema =
|
|
30
|
+
export type BigIntegerSchema = 0b0001_0001;
|
|
31
31
|
/**
|
|
32
32
|
* @public
|
|
33
33
|
*/
|
|
34
|
-
export type BigDecimalSchema =
|
|
34
|
+
export type BigDecimalSchema = 0b0001_0011;
|
|
35
35
|
/**
|
|
36
36
|
* @public
|
|
37
37
|
*/
|
|
38
|
-
export type DocumentSchema =
|
|
38
|
+
export type DocumentSchema = 0b0000_1111;
|
|
39
39
|
/**
|
|
40
40
|
* Smithy type timestamp, in JS as native Date object.
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
|
-
export type TimestampDefaultSchema =
|
|
43
|
+
export type TimestampDefaultSchema = 0b0000_0100;
|
|
44
44
|
/**
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
|
-
export type TimestampDateTimeSchema =
|
|
47
|
+
export type TimestampDateTimeSchema = 0b0000_0101;
|
|
48
48
|
/**
|
|
49
49
|
* @public
|
|
50
50
|
*/
|
|
51
|
-
export type TimestampHttpDateSchema =
|
|
51
|
+
export type TimestampHttpDateSchema = 0b0000_0110;
|
|
52
52
|
/**
|
|
53
53
|
* @public
|
|
54
54
|
*/
|
|
55
|
-
export type TimestampEpochSecondsSchema =
|
|
55
|
+
export type TimestampEpochSecondsSchema = 0b0000_0111;
|
|
56
56
|
/**
|
|
57
57
|
* Additional bit indicating the type is a list.
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
|
-
export type ListSchemaModifier =
|
|
60
|
+
export type ListSchemaModifier = 0b0100_0000;
|
|
61
61
|
/**
|
|
62
62
|
* Additional bit indicating the type is a map.
|
|
63
63
|
* @public
|
|
64
64
|
*/
|
|
65
|
-
export type MapSchemaModifier =
|
|
65
|
+
export type MapSchemaModifier = 0b1000_0000;
|
|
@@ -1,60 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/types",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.17.2",
|
|
4
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "AWS Smithy Team",
|
|
8
|
+
"email": "",
|
|
9
|
+
"url": "https://smithy.io"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
14
|
+
"directory": "packages/types"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"types": "./dist-types/index.d.ts",
|
|
23
|
+
"typesVersions": {
|
|
24
|
+
"<=4.5": {
|
|
25
|
+
"dist-types/*": [
|
|
26
|
+
"dist-types/ts3.4/*"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
4
30
|
"scripts": {
|
|
5
31
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
6
|
-
"build:es:cjs": "
|
|
32
|
+
"build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
|
|
7
33
|
"build:types": "premove dist-types && yarn g:tsc -p tsconfig.types.json",
|
|
8
34
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4 && node scripts/downlevel",
|
|
9
35
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
10
36
|
"extract:docs": "api-extractor run --local",
|
|
11
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
12
|
-
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
14
37
|
"test": "yarn g:tsc -p tsconfig.test.json"
|
|
15
38
|
},
|
|
16
|
-
"main": "./dist-cjs/index.js",
|
|
17
|
-
"module": "./dist-es/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"author": {
|
|
20
|
-
"name": "AWS Smithy Team",
|
|
21
|
-
"email": "",
|
|
22
|
-
"url": "https://smithy.io"
|
|
23
|
-
},
|
|
24
|
-
"license": "Apache-2.0",
|
|
25
|
-
"sideEffects": false,
|
|
26
39
|
"dependencies": {
|
|
27
40
|
"tslib": "^2.6.2"
|
|
28
41
|
},
|
|
29
42
|
"devDependencies": {
|
|
30
43
|
"concurrently": "7.0.0",
|
|
31
44
|
"downlevel-dts": "0.10.1",
|
|
32
|
-
"premove": "4.0.0"
|
|
33
|
-
"typedoc": "0.23.23"
|
|
45
|
+
"premove": "4.0.0"
|
|
34
46
|
},
|
|
35
47
|
"engines": {
|
|
36
48
|
"node": ">=18.0.0"
|
|
37
|
-
},
|
|
38
|
-
"typesVersions": {
|
|
39
|
-
"<=4.5": {
|
|
40
|
-
"dist-types/*": [
|
|
41
|
-
"dist-types/ts3.4/*"
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"files": [
|
|
46
|
-
"dist-*/**"
|
|
47
|
-
],
|
|
48
|
-
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types",
|
|
49
|
-
"repository": {
|
|
50
|
-
"type": "git",
|
|
51
|
-
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
52
|
-
"directory": "packages/types"
|
|
53
|
-
},
|
|
54
|
-
"typedoc": {
|
|
55
|
-
"entryPoint": "src/index.ts"
|
|
56
|
-
},
|
|
57
|
-
"publishConfig": {
|
|
58
|
-
"directory": ".release/package"
|
|
59
49
|
}
|
|
60
50
|
}
|
package/package.json
CHANGED
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"constructs": "^10.0.5"
|
|
111
111
|
},
|
|
112
112
|
"dependencies": {
|
|
113
|
-
"@aws-sdk/client-codedeploy": "^3.
|
|
113
|
+
"@aws-sdk/client-codedeploy": "^3.1111.0",
|
|
114
114
|
"jmespath": "^0.16.0"
|
|
115
115
|
},
|
|
116
116
|
"bundledDependencies": [
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"publishConfig": {
|
|
129
129
|
"access": "public"
|
|
130
130
|
},
|
|
131
|
-
"version": "0.0.
|
|
131
|
+
"version": "0.0.453",
|
|
132
132
|
"jest": {
|
|
133
133
|
"coverageProvider": "v8",
|
|
134
134
|
"testMatch": [
|