@cdk8s/awscdk-resolver 0.0.119 → 0.0.120
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/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +3 -3
- package/node_modules/@aws-sdk/client-sts/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +1 -1
- package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +7 -4
- package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +7 -4
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
- package/node_modules/@smithy/abort-controller/package.json +3 -3
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/package.json +9 -9
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +13 -3
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +11 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
- package/node_modules/@smithy/hash-node/package.json +3 -3
- package/node_modules/@smithy/invalid-dependency/package.json +3 -3
- package/node_modules/@smithy/middleware-content-length/package.json +5 -5
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/package.json +4 -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 +36 -15
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +19 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +7 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -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 +3 -3
- 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 +5 -5
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-cjs/abort-handler.js +1 -0
- package/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
- package/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/abort.d.ts +4 -3
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +4 -3
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +2 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/waiter.d.ts +3 -3
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +4 -4
- 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-middleware/package.json +3 -3
- package/node_modules/@smithy/util-retry/package.json +4 -4
- package/node_modules/@smithy/util-stream/package.json +6 -6
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +6 -1
- package/node_modules/@smithy/util-waiter/dist-es/createWaiter.js +7 -1
- package/node_modules/@smithy/util-waiter/package.json +4 -4
- package/package.json +3 -3
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,11 +1,11 @@
|
|
1
|
+
import type { AbortHandler } from "./abort-handler";
|
1
2
|
/**
|
2
3
|
* @public
|
3
4
|
*/
|
4
|
-
export
|
5
|
-
(this: AbortSignal, ev: any): any;
|
6
|
-
}
|
5
|
+
export { AbortHandler };
|
7
6
|
/**
|
8
7
|
* @public
|
8
|
+
* @deprecated use platform (global) type for AbortSignal.
|
9
9
|
*
|
10
10
|
* Holders of an AbortSignal object may query if the associated operation has
|
11
11
|
* been aborted and register an onabort handler.
|
@@ -25,6 +25,7 @@ export interface AbortSignal {
|
|
25
25
|
}
|
26
26
|
/**
|
27
27
|
* @public
|
28
|
+
* @deprecated use platform (global) type for AbortController.
|
28
29
|
*
|
29
30
|
* The AWS SDK uses a Controller/Signal model to allow for cooperative
|
30
31
|
* cancellation of asynchronous operations. When initiating such an operation,
|
@@ -2,6 +2,7 @@
|
|
2
2
|
/// <reference types="node" />
|
3
3
|
import type { Agent as hAgent, AgentOptions as hAgentOptions } from "http";
|
4
4
|
import type { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https";
|
5
|
+
import { Logger } from "../logger";
|
5
6
|
/**
|
6
7
|
*
|
7
8
|
* This type represents an alternate client constructor option for the entry
|
@@ -55,6 +56,10 @@ export interface NodeHttpHandlerOptions {
|
|
55
56
|
* You can pass https.Agent or its constructor options.
|
56
57
|
*/
|
57
58
|
httpsAgent?: hsAgent | hsAgentOptions;
|
59
|
+
/**
|
60
|
+
* Optional logger.
|
61
|
+
*/
|
62
|
+
logger?: Logger;
|
58
63
|
}
|
59
64
|
/**
|
60
65
|
* Represents the http options that can be passed to a browser http client.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AbortSignal } from "./abort";
|
1
|
+
import { AbortSignal as DeprecatedAbortSignal } from "./abort";
|
2
2
|
import { URI } from "./uri";
|
3
3
|
/**
|
4
4
|
* @public
|
@@ -96,7 +96,7 @@ export interface HttpMessage {
|
|
96
96
|
* Represents the options that may be passed to an Http Handler.
|
97
97
|
*/
|
98
98
|
export interface HttpHandlerOptions {
|
99
|
-
abortSignal?: AbortSignal;
|
99
|
+
abortSignal?: AbortSignal | DeprecatedAbortSignal;
|
100
100
|
/**
|
101
101
|
* The maximum time in milliseconds that the connection phase of a request
|
102
102
|
* may take before the connection attempt is abandoned.
|
@@ -1,11 +1,11 @@
|
|
1
|
+
import { AbortHandler } from "./abort-handler";
|
1
2
|
/**
|
2
3
|
* @public
|
3
4
|
*/
|
4
|
-
export
|
5
|
-
(this: AbortSignal, ev: any): any;
|
6
|
-
}
|
5
|
+
export { AbortHandler };
|
7
6
|
/**
|
8
7
|
* @public
|
8
|
+
* @deprecated use platform (global) type for AbortSignal.
|
9
9
|
*
|
10
10
|
* Holders of an AbortSignal object may query if the associated operation has
|
11
11
|
* been aborted and register an onabort handler.
|
@@ -25,6 +25,7 @@ export interface AbortSignal {
|
|
25
25
|
}
|
26
26
|
/**
|
27
27
|
* @public
|
28
|
+
* @deprecated use platform (global) type for AbortController.
|
28
29
|
*
|
29
30
|
* The AWS SDK uses a Controller/Signal model to allow for cooperative
|
30
31
|
* cancellation of asynchronous operations. When initiating such an operation,
|
@@ -1,6 +1,7 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
import { Agent as hAgent, AgentOptions as hAgentOptions } from "http";
|
3
3
|
import { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https";
|
4
|
+
import { Logger } from "../logger";
|
4
5
|
/**
|
5
6
|
*
|
6
7
|
* This type represents an alternate client constructor option for the entry
|
@@ -54,6 +55,10 @@ export interface NodeHttpHandlerOptions {
|
|
54
55
|
* You can pass https.Agent or its constructor options.
|
55
56
|
*/
|
56
57
|
httpsAgent?: hsAgent | hsAgentOptions;
|
58
|
+
/**
|
59
|
+
* Optional logger.
|
60
|
+
*/
|
61
|
+
logger?: Logger;
|
57
62
|
}
|
58
63
|
/**
|
59
64
|
* Represents the http options that can be passed to a browser http client.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AbortSignal } from "./abort";
|
1
|
+
import { AbortSignal as DeprecatedAbortSignal } from "./abort";
|
2
2
|
import { URI } from "./uri";
|
3
3
|
/**
|
4
4
|
* @public
|
@@ -96,7 +96,7 @@ export interface HttpMessage {
|
|
96
96
|
* Represents the options that may be passed to an Http Handler.
|
97
97
|
*/
|
98
98
|
export interface HttpHandlerOptions {
|
99
|
-
abortSignal?: AbortSignal;
|
99
|
+
abortSignal?: AbortSignal | DeprecatedAbortSignal;
|
100
100
|
/**
|
101
101
|
* The maximum time in milliseconds that the connection phase of a request
|
102
102
|
* may take before the connection attempt is abandoned.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AbortController } from "./abort";
|
1
|
+
import { AbortController as DeprecatedAbortController } from "./abort";
|
2
2
|
/**
|
3
3
|
* @public
|
4
4
|
*/
|
@@ -15,11 +15,11 @@ export interface WaiterConfiguration<Client> {
|
|
15
15
|
* @deprecated Use abortSignal
|
16
16
|
* Abort controller. Used for ending the waiter early.
|
17
17
|
*/
|
18
|
-
abortController?: AbortController;
|
18
|
+
abortController?: AbortController | DeprecatedAbortController;
|
19
19
|
/**
|
20
20
|
* Abort Signal. Used for ending the waiter early.
|
21
21
|
*/
|
22
|
-
abortSignal?: AbortController["signal"];
|
22
|
+
abortSignal?: AbortController["signal"] | DeprecatedAbortController["signal"];
|
23
23
|
/**
|
24
24
|
* The minimum amount of time to delay between retries in seconds. This is the
|
25
25
|
* floor of the exponential backoff. This value defaults to service default
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AbortController } from "./abort";
|
1
|
+
import { AbortController as DeprecatedAbortController } from "./abort";
|
2
2
|
/**
|
3
3
|
* @public
|
4
4
|
*/
|
@@ -15,11 +15,11 @@ export interface WaiterConfiguration<Client> {
|
|
15
15
|
* @deprecated Use abortSignal
|
16
16
|
* Abort controller. Used for ending the waiter early.
|
17
17
|
*/
|
18
|
-
abortController?: AbortController;
|
18
|
+
abortController?: AbortController | DeprecatedAbortController;
|
19
19
|
/**
|
20
20
|
* Abort Signal. Used for ending the waiter early.
|
21
21
|
*/
|
22
|
-
abortSignal?: AbortController["signal"];
|
22
|
+
abortSignal?: AbortController["signal"] | DeprecatedAbortController["signal"];
|
23
23
|
/**
|
24
24
|
* The minimum amount of time to delay between retries in seconds. This is the
|
25
25
|
* floor of the exponential backoff. This value defaults to service default
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/url-parser",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.2",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline url-parser",
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
9
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -22,8 +22,8 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/querystring-parser": "^3.0.
|
26
|
-
"@smithy/types": "^3.
|
25
|
+
"@smithy/querystring-parser": "^3.0.2",
|
26
|
+
"@smithy/types": "^3.2.0",
|
27
27
|
"tslib": "^2.6.2"
|
28
28
|
},
|
29
29
|
"typesVersions": {
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.6",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
9
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -22,9 +22,9 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/property-provider": "^3.1.
|
26
|
-
"@smithy/smithy-client": "^3.1.
|
27
|
-
"@smithy/types": "^3.
|
25
|
+
"@smithy/property-provider": "^3.1.2",
|
26
|
+
"@smithy/smithy-client": "^3.1.4",
|
27
|
+
"@smithy/types": "^3.2.0",
|
28
28
|
"bowser": "^2.11.0",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.6",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
9
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -22,12 +22,12 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/config-resolver": "^3.0.
|
26
|
-
"@smithy/credential-provider-imds": "^3.1.
|
27
|
-
"@smithy/node-config-provider": "^3.1.
|
28
|
-
"@smithy/property-provider": "^3.1.
|
29
|
-
"@smithy/smithy-client": "^3.1.
|
30
|
-
"@smithy/types": "^3.
|
25
|
+
"@smithy/config-resolver": "^3.0.3",
|
26
|
+
"@smithy/credential-provider-imds": "^3.1.2",
|
27
|
+
"@smithy/node-config-provider": "^3.1.2",
|
28
|
+
"@smithy/property-provider": "^3.1.2",
|
29
|
+
"@smithy/smithy-client": "^3.1.4",
|
30
|
+
"@smithy/types": "^3.2.0",
|
31
31
|
"tslib": "^2.6.2"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-endpoints",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.3",
|
4
4
|
"description": "Utilities to help with endpoint resolution.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"build:cjs": "node ../../scripts/inline util-endpoints",
|
10
10
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
11
11
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
12
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
12
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
13
13
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -26,8 +26,8 @@
|
|
26
26
|
},
|
27
27
|
"license": "Apache-2.0",
|
28
28
|
"dependencies": {
|
29
|
-
"@smithy/node-config-provider": "^3.1.
|
30
|
-
"@smithy/types": "^3.
|
29
|
+
"@smithy/node-config-provider": "^3.1.2",
|
30
|
+
"@smithy/types": "^3.2.0",
|
31
31
|
"tslib": "^2.6.2"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-middleware",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.2",
|
4
4
|
"description": "Shared utilities for to be used in middleware packages.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"build:cjs": "node ../../scripts/inline util-middleware",
|
10
10
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
11
11
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
12
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
12
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
13
13
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
},
|
27
27
|
"license": "Apache-2.0",
|
28
28
|
"dependencies": {
|
29
|
-
"@smithy/types": "^3.
|
29
|
+
"@smithy/types": "^3.2.0",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-retry",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.2",
|
4
4
|
"description": "Shared retry utilities to be used in middleware packages.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"build:cjs": "node ../../scripts/inline util-retry",
|
10
10
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
11
11
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
12
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
12
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
13
13
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -27,8 +27,8 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@smithy/service-error-classification": "^3.0.
|
31
|
-
"@smithy/types": "^3.
|
30
|
+
"@smithy/service-error-classification": "^3.0.2",
|
31
|
+
"@smithy/types": "^3.2.0",
|
32
32
|
"tslib": "^2.6.2"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-stream",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.4",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline util-stream",
|
7
7
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
8
8
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
9
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
9
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/fetch-http-handler": "^3.0
|
28
|
-
"@smithy/node-http-handler": "^3.0
|
29
|
-
"@smithy/types": "^3.
|
27
|
+
"@smithy/fetch-http-handler": "^3.1.0",
|
28
|
+
"@smithy/node-http-handler": "^3.1.0",
|
29
|
+
"@smithy/types": "^3.2.0",
|
30
30
|
"@smithy/util-base64": "^3.0.0",
|
31
31
|
"@smithy/util-buffer-from": "^3.0.0",
|
32
32
|
"@smithy/util-hex-encoding": "^3.0.0",
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"tslib": "^2.6.2"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
|
-
"@smithy/util-test": "^0.2.
|
37
|
+
"@smithy/util-test": "^0.2.3",
|
38
38
|
"@types/node": "^16.18.96",
|
39
39
|
"concurrently": "7.0.0",
|
40
40
|
"downlevel-dts": "0.10.1",
|
@@ -126,7 +126,12 @@ var validateWaiterOptions = /* @__PURE__ */ __name((options) => {
|
|
126
126
|
// src/createWaiter.ts
|
127
127
|
var abortTimeout = /* @__PURE__ */ __name(async (abortSignal) => {
|
128
128
|
return new Promise((resolve) => {
|
129
|
-
|
129
|
+
const onAbort = /* @__PURE__ */ __name(() => resolve({ state: "ABORTED" /* ABORTED */ }), "onAbort");
|
130
|
+
if (typeof abortSignal.addEventListener === "function") {
|
131
|
+
abortSignal.addEventListener("abort", onAbort);
|
132
|
+
} else {
|
133
|
+
abortSignal.onabort = onAbort;
|
134
|
+
}
|
130
135
|
});
|
131
136
|
}, "abortTimeout");
|
132
137
|
var createWaiter = /* @__PURE__ */ __name(async (options, input, acceptorChecks) => {
|
@@ -3,7 +3,13 @@ import { validateWaiterOptions } from "./utils";
|
|
3
3
|
import { waiterServiceDefaults, WaiterState } from "./waiter";
|
4
4
|
const abortTimeout = async (abortSignal) => {
|
5
5
|
return new Promise((resolve) => {
|
6
|
-
|
6
|
+
const onAbort = () => resolve({ state: WaiterState.ABORTED });
|
7
|
+
if (typeof abortSignal.addEventListener === "function") {
|
8
|
+
abortSignal.addEventListener("abort", onAbort);
|
9
|
+
}
|
10
|
+
else {
|
11
|
+
abortSignal.onabort = onAbort;
|
12
|
+
}
|
7
13
|
});
|
8
14
|
};
|
9
15
|
export const createWaiter = async (options, input, acceptorChecks) => {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-waiter",
|
3
|
-
"version": "3.0
|
3
|
+
"version": "3.1.0",
|
4
4
|
"description": "Shared utilities for client waiters for the AWS SDK",
|
5
5
|
"dependencies": {
|
6
|
-
"@smithy/abort-controller": "^3.0
|
7
|
-
"@smithy/types": "^3.
|
6
|
+
"@smithy/abort-controller": "^3.1.0",
|
7
|
+
"@smithy/types": "^3.2.0",
|
8
8
|
"tslib": "^2.6.2"
|
9
9
|
},
|
10
10
|
"scripts": {
|
@@ -12,7 +12,7 @@
|
|
12
12
|
"build:cjs": "node ../../scripts/inline util-waiter",
|
13
13
|
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
14
14
|
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
15
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
15
|
+
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
16
16
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
17
17
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
18
18
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
package/package.json
CHANGED
@@ -51,7 +51,7 @@
|
|
51
51
|
"aws-cdk": "^2.146.0",
|
52
52
|
"aws-cdk-lib": "2.109.0",
|
53
53
|
"cdk8s": "2.68.4",
|
54
|
-
"cdk8s-cli": "^2.198.
|
54
|
+
"cdk8s-cli": "^2.198.148",
|
55
55
|
"constructs": "10.3.0",
|
56
56
|
"eslint": "^8",
|
57
57
|
"eslint-import-resolver-typescript": "^3.6.1",
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"constructs": "^10.3.0"
|
77
77
|
},
|
78
78
|
"dependencies": {
|
79
|
-
"@aws-sdk/client-cloudformation": "^3.
|
79
|
+
"@aws-sdk/client-cloudformation": "^3.600.0"
|
80
80
|
},
|
81
81
|
"bundledDependencies": [
|
82
82
|
"@aws-sdk/client-cloudformation"
|
@@ -92,7 +92,7 @@
|
|
92
92
|
"publishConfig": {
|
93
93
|
"access": "public"
|
94
94
|
},
|
95
|
-
"version": "0.0.
|
95
|
+
"version": "0.0.120",
|
96
96
|
"jest": {
|
97
97
|
"coverageProvider": "v8",
|
98
98
|
"testMatch": [
|