@jjrawlins/cdk-diff-pr-github-action 1.9.1 → 1.9.3
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/cdkdiffprgithubaction/go.mod +1 -1
- package/cdkdiffprgithubaction/jsii/jsii.go +2 -2
- package/cdkdiffprgithubaction/version +1 -1
- package/lib/CdkDiffIamTemplate.js +2 -2
- package/lib/CdkDiffIamTemplateStackSet.js +2 -2
- package/lib/CdkDiffStackWorkflow.js +1 -1
- package/lib/CdkDriftDetectionWorkflow.js +1 -1
- package/lib/CdkDriftIamTemplate.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/package.json +13 -13
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +7 -15
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +7 -15
- 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/xml/XmlShapeDeserializer.js +5 -7
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +12 -12
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +36 -19
- 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/getTypeScriptPackageJsonPaths.js +17 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +17 -12
- 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/getTypeScriptPackageJsonPaths.d.ts +10 -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/dist-types/ts3.4/getTypeScriptPackageJsonPaths.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- 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 +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +6 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -8
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
- package/node_modules/@smithy/core/package.json +11 -11
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +18 -4
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +18 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
- package/node_modules/@smithy/hash-node/package.json +4 -4
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/is-array-buffer/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +21 -8
- package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +16 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +3 -4
- package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +3 -3
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +8 -8
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/url-parser/package.json +3 -3
- 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 +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-hex-encoding/package.json +2 -2
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +8 -8
- 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/package.json +3 -3
- package/node_modules/@smithy/uuid/package.json +2 -2
- 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/builder.cjs +1 -0
- package/node_modules/fast-xml-builder/lib/builder.min.js +2 -0
- package/node_modules/fast-xml-builder/lib/builder.min.js.map +1 -0
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +167 -0
- package/node_modules/fast-xml-builder/package.json +78 -0
- package/node_modules/fast-xml-builder/src/fxb.d.ts +156 -0
- package/node_modules/fast-xml-builder/src/fxb.js +285 -0
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/orderedJs2Xml.js +14 -3
- package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
- package/package.json +2 -2
- 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/prettifyJs2Xml.js → fast-xml-builder/CHANGELOG.md} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-serde",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.12",
|
|
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 middleware-serde",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/protocol-http": "^5.3.
|
|
29
|
+
"@smithy/protocol-http": "^5.3.11",
|
|
30
30
|
"@smithy/types": "^4.13.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"node": ">=18.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": "@smithy/middleware-stack",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.11",
|
|
4
4
|
"description": "Provides a means for composing multiple middleware functions into a single handler",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"node": ">=18.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": "@smithy/node-config-provider",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.11",
|
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"module": "./dist-es/index.js",
|
|
27
27
|
"types": "./dist-types/index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/property-provider": "^4.2.
|
|
30
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
29
|
+
"@smithy/property-provider": "^4.2.11",
|
|
30
|
+
"@smithy/shared-ini-file-loader": "^4.4.6",
|
|
31
31
|
"@smithy/types": "^4.13.0",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"node": ">=18.0.0"
|
|
43
43
|
},
|
|
44
44
|
"typesVersions": {
|
|
45
|
-
"<4.
|
|
45
|
+
"<4.5": {
|
|
46
46
|
"dist-types/*": [
|
|
47
47
|
"dist-types/ts3.4/*"
|
|
48
48
|
]
|
|
@@ -7,6 +7,23 @@ var https = require('https');
|
|
|
7
7
|
var stream = require('stream');
|
|
8
8
|
var http2 = require('http2');
|
|
9
9
|
|
|
10
|
+
function buildAbortError(abortSignal) {
|
|
11
|
+
const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal
|
|
12
|
+
? abortSignal.reason
|
|
13
|
+
: undefined;
|
|
14
|
+
if (reason) {
|
|
15
|
+
if (reason instanceof Error) {
|
|
16
|
+
return reason;
|
|
17
|
+
}
|
|
18
|
+
const abortError = new Error(String(reason));
|
|
19
|
+
abortError.name = "AbortError";
|
|
20
|
+
return abortError;
|
|
21
|
+
}
|
|
22
|
+
const abortError = new Error("Request aborted");
|
|
23
|
+
abortError.name = "AbortError";
|
|
24
|
+
return abortError;
|
|
25
|
+
}
|
|
26
|
+
|
|
10
27
|
const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"];
|
|
11
28
|
|
|
12
29
|
const getTransformedHeaders = (headers) => {
|
|
@@ -287,8 +304,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
287
304
|
_reject(arg);
|
|
288
305
|
};
|
|
289
306
|
if (abortSignal?.aborted) {
|
|
290
|
-
const abortError =
|
|
291
|
-
abortError.name = "AbortError";
|
|
307
|
+
const abortError = buildAbortError(abortSignal);
|
|
292
308
|
reject(abortError);
|
|
293
309
|
return;
|
|
294
310
|
}
|
|
@@ -356,8 +372,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
356
372
|
if (abortSignal) {
|
|
357
373
|
const onAbort = () => {
|
|
358
374
|
req.destroy();
|
|
359
|
-
const abortError =
|
|
360
|
-
abortError.name = "AbortError";
|
|
375
|
+
const abortError = buildAbortError(abortSignal);
|
|
361
376
|
reject(abortError);
|
|
362
377
|
};
|
|
363
378
|
if (typeof abortSignal.addEventListener === "function") {
|
|
@@ -570,8 +585,7 @@ class NodeHttp2Handler {
|
|
|
570
585
|
};
|
|
571
586
|
if (abortSignal?.aborted) {
|
|
572
587
|
fulfilled = true;
|
|
573
|
-
const abortError =
|
|
574
|
-
abortError.name = "AbortError";
|
|
588
|
+
const abortError = buildAbortError(abortSignal);
|
|
575
589
|
reject(abortError);
|
|
576
590
|
return;
|
|
577
591
|
}
|
|
@@ -633,8 +647,7 @@ class NodeHttp2Handler {
|
|
|
633
647
|
if (abortSignal) {
|
|
634
648
|
const onAbort = () => {
|
|
635
649
|
req.close();
|
|
636
|
-
const abortError =
|
|
637
|
-
abortError.name = "AbortError";
|
|
650
|
+
const abortError = buildAbortError(abortSignal);
|
|
638
651
|
rejectWithDestroy(abortError);
|
|
639
652
|
};
|
|
640
653
|
if (typeof abortSignal.addEventListener === "function") {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export function buildAbortError(abortSignal) {
|
|
2
|
+
const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal
|
|
3
|
+
? abortSignal.reason
|
|
4
|
+
: undefined;
|
|
5
|
+
if (reason) {
|
|
6
|
+
if (reason instanceof Error) {
|
|
7
|
+
return reason;
|
|
8
|
+
}
|
|
9
|
+
const abortError = new Error(String(reason));
|
|
10
|
+
abortError.name = "AbortError";
|
|
11
|
+
return abortError;
|
|
12
|
+
}
|
|
13
|
+
const abortError = new Error("Request aborted");
|
|
14
|
+
abortError.name = "AbortError";
|
|
15
|
+
return abortError;
|
|
16
|
+
}
|
|
@@ -2,6 +2,7 @@ import { HttpResponse } from "@smithy/protocol-http";
|
|
|
2
2
|
import { buildQueryString } from "@smithy/querystring-builder";
|
|
3
3
|
import { Agent as hAgent, request as hRequest } from "http";
|
|
4
4
|
import { Agent as hsAgent, request as hsRequest } from "https";
|
|
5
|
+
import { buildAbortError } from "./build-abort-error";
|
|
5
6
|
import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants";
|
|
6
7
|
import { getTransformedHeaders } from "./get-transformed-headers";
|
|
7
8
|
import { setConnectionTimeout } from "./set-connection-timeout";
|
|
@@ -110,8 +111,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
110
111
|
_reject(arg);
|
|
111
112
|
};
|
|
112
113
|
if (abortSignal?.aborted) {
|
|
113
|
-
const abortError =
|
|
114
|
-
abortError.name = "AbortError";
|
|
114
|
+
const abortError = buildAbortError(abortSignal);
|
|
115
115
|
reject(abortError);
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
@@ -179,8 +179,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
179
179
|
if (abortSignal) {
|
|
180
180
|
const onAbort = () => {
|
|
181
181
|
req.destroy();
|
|
182
|
-
const abortError =
|
|
183
|
-
abortError.name = "AbortError";
|
|
182
|
+
const abortError = buildAbortError(abortSignal);
|
|
184
183
|
reject(abortError);
|
|
185
184
|
};
|
|
186
185
|
if (typeof abortSignal.addEventListener === "function") {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { buildQueryString } from "@smithy/querystring-builder";
|
|
3
3
|
import { constants } from "http2";
|
|
4
|
+
import { buildAbortError } from "./build-abort-error";
|
|
4
5
|
import { getTransformedHeaders } from "./get-transformed-headers";
|
|
5
6
|
import { NodeHttp2ConnectionManager } from "./node-http2-connection-manager";
|
|
6
7
|
import { writeRequestBody } from "./write-request-body";
|
|
@@ -55,8 +56,7 @@ export class NodeHttp2Handler {
|
|
|
55
56
|
};
|
|
56
57
|
if (abortSignal?.aborted) {
|
|
57
58
|
fulfilled = true;
|
|
58
|
-
const abortError =
|
|
59
|
-
abortError.name = "AbortError";
|
|
59
|
+
const abortError = buildAbortError(abortSignal);
|
|
60
60
|
reject(abortError);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
@@ -118,8 +118,7 @@ export class NodeHttp2Handler {
|
|
|
118
118
|
if (abortSignal) {
|
|
119
119
|
const onAbort = () => {
|
|
120
120
|
req.close();
|
|
121
|
-
const abortError =
|
|
122
|
-
abortError.name = "AbortError";
|
|
121
|
+
const abortError = buildAbortError(abortSignal);
|
|
123
122
|
rejectWithDestroy(abortError);
|
|
124
123
|
};
|
|
125
124
|
if (typeof abortSignal.addEventListener === "function") {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Builds an abort error, using the AbortSignal's reason if available.
|
|
3
|
+
*
|
|
4
|
+
* @param abortSignal - Optional AbortSignal that may contain a reason.
|
|
5
|
+
* @returns An Error with name "AbortError". If the signal has a reason that's
|
|
6
|
+
* already an Error, returns it directly. Otherwise creates a new Error
|
|
7
|
+
* with the reason as the message, or "Request aborted" if no reason.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildAbortError(abortSignal?: unknown): Error;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Builds an abort error, using the AbortSignal's reason if available.
|
|
3
|
+
*
|
|
4
|
+
* @param abortSignal - Optional AbortSignal that may contain a reason.
|
|
5
|
+
* @returns An Error with name "AbortError". If the signal has a reason that's
|
|
6
|
+
* already an Error, returns it directly. Otherwise creates a new Error
|
|
7
|
+
* with the reason as the message, or "Request aborted" if no reason.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildAbortError(abortSignal?: unknown): Error;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.14",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"module": "./dist-es/index.js",
|
|
28
28
|
"types": "./dist-types/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/abort-controller": "^4.2.
|
|
31
|
-
"@smithy/protocol-http": "^5.3.
|
|
32
|
-
"@smithy/querystring-builder": "^4.2.
|
|
30
|
+
"@smithy/abort-controller": "^4.2.11",
|
|
31
|
+
"@smithy/protocol-http": "^5.3.11",
|
|
32
|
+
"@smithy/querystring-builder": "^4.2.11",
|
|
33
33
|
"@smithy/types": "^4.13.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"node": ">=18.0.0"
|
|
45
45
|
},
|
|
46
46
|
"typesVersions": {
|
|
47
|
-
"<4.
|
|
47
|
+
"<4.5": {
|
|
48
48
|
"dist-types/*": [
|
|
49
49
|
"dist-types/ts3.4/*"
|
|
50
50
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/property-provider",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.11",
|
|
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 property-provider",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"node": ">=18.0.0"
|
|
32
32
|
},
|
|
33
33
|
"typesVersions": {
|
|
34
|
-
"<4.
|
|
34
|
+
"<4.5": {
|
|
35
35
|
"dist-types/*": [
|
|
36
36
|
"dist-types/ts3.4/*"
|
|
37
37
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/protocol-http",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.11",
|
|
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 protocol-http",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"node": ">=18.0.0"
|
|
33
33
|
},
|
|
34
34
|
"typesVersions": {
|
|
35
|
-
"<4.
|
|
35
|
+
"<4.5": {
|
|
36
36
|
"dist-types/*": [
|
|
37
37
|
"dist-types/ts3.4/*"
|
|
38
38
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-builder",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.11",
|
|
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 querystring-builder",
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@smithy/types": "^4.13.0",
|
|
27
|
-
"@smithy/util-uri-escape": "^4.2.
|
|
27
|
+
"@smithy/util-uri-escape": "^4.2.2",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=18.0.0"
|
|
32
32
|
},
|
|
33
33
|
"typesVersions": {
|
|
34
|
-
"<4.
|
|
34
|
+
"<4.5": {
|
|
35
35
|
"dist-types/*": [
|
|
36
36
|
"dist-types/ts3.4/*"
|
|
37
37
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-parser",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.11",
|
|
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 querystring-parser",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"node": ">=18.0.0"
|
|
32
32
|
},
|
|
33
33
|
"typesVersions": {
|
|
34
|
-
"<4.
|
|
34
|
+
"<4.5": {
|
|
35
35
|
"dist-types/*": [
|
|
36
36
|
"dist-types/ts3.4/*"
|
|
37
37
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/service-error-classification",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.11",
|
|
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 service-error-classification",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node": ">=18.0.0"
|
|
34
34
|
},
|
|
35
35
|
"typesVersions": {
|
|
36
|
-
"<4.
|
|
36
|
+
"<4.5": {
|
|
37
37
|
"dist-types/*": [
|
|
38
38
|
"dist-types/ts3.4/*"
|
|
39
39
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/shared-ini-file-loader",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.6",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@smithy/types": "^4.13.0",
|
|
6
6
|
"tslib": "^2.6.2"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"node": ">=18.0.0"
|
|
50
50
|
},
|
|
51
51
|
"typesVersions": {
|
|
52
|
-
"<4.
|
|
52
|
+
"<4.5": {
|
|
53
53
|
"dist-types/*": [
|
|
54
54
|
"dist-types/ts3.4/*"
|
|
55
55
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.11",
|
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/is-array-buffer": "^4.2.
|
|
30
|
-
"@smithy/protocol-http": "^5.3.
|
|
29
|
+
"@smithy/is-array-buffer": "^4.2.2",
|
|
30
|
+
"@smithy/protocol-http": "^5.3.11",
|
|
31
31
|
"@smithy/types": "^4.13.0",
|
|
32
|
-
"@smithy/util-hex-encoding": "^4.2.
|
|
33
|
-
"@smithy/util-middleware": "^4.2.
|
|
34
|
-
"@smithy/util-uri-escape": "^4.2.
|
|
35
|
-
"@smithy/util-utf8": "^4.2.
|
|
32
|
+
"@smithy/util-hex-encoding": "^4.2.2",
|
|
33
|
+
"@smithy/util-middleware": "^4.2.11",
|
|
34
|
+
"@smithy/util-uri-escape": "^4.2.2",
|
|
35
|
+
"@smithy/util-utf8": "^4.2.2",
|
|
36
36
|
"tslib": "^2.6.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"node": ">=18.0.0"
|
|
47
47
|
},
|
|
48
48
|
"typesVersions": {
|
|
49
|
-
"<4.
|
|
49
|
+
"<4.5": {
|
|
50
50
|
"dist-types/*": [
|
|
51
51
|
"dist-types/ts3.4/*"
|
|
52
52
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.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 smithy-client",
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/core": "^3.23.
|
|
31
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
32
|
-
"@smithy/middleware-stack": "^4.2.
|
|
33
|
-
"@smithy/protocol-http": "^5.3.
|
|
30
|
+
"@smithy/core": "^3.23.8",
|
|
31
|
+
"@smithy/middleware-endpoint": "^4.4.22",
|
|
32
|
+
"@smithy/middleware-stack": "^4.2.11",
|
|
33
|
+
"@smithy/protocol-http": "^5.3.11",
|
|
34
34
|
"@smithy/types": "^4.13.0",
|
|
35
|
-
"@smithy/util-stream": "^4.5.
|
|
35
|
+
"@smithy/util-stream": "^4.5.17",
|
|
36
36
|
"tslib": "^2.6.2"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=18.0.0"
|
|
40
40
|
},
|
|
41
41
|
"typesVersions": {
|
|
42
|
-
"<4.
|
|
42
|
+
"<4.5": {
|
|
43
43
|
"dist-types/*": [
|
|
44
44
|
"dist-types/ts3.4/*"
|
|
45
45
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/url-parser",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.11",
|
|
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",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/querystring-parser": "^4.2.
|
|
27
|
+
"@smithy/querystring-parser": "^4.2.11",
|
|
28
28
|
"@smithy/types": "^4.13.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"typesVersions": {
|
|
32
|
-
"<4.
|
|
32
|
+
"<4.5": {
|
|
33
33
|
"dist-types/*": [
|
|
34
34
|
"dist-types/ts3.4/*"
|
|
35
35
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-base64",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"description": "A Base64 <-> UInt8Array converter",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/util-buffer-from": "^4.2.
|
|
28
|
-
"@smithy/util-utf8": "^4.2.
|
|
27
|
+
"@smithy/util-buffer-from": "^4.2.2",
|
|
28
|
+
"@smithy/util-utf8": "^4.2.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"node": ">=18.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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-body-length-browser",
|
|
3
3
|
"description": "Determines the length of a request body in browsers",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.2",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
7
7
|
"build:cjs": "node ../../scripts/inline util-body-length-browser",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"typesVersions": {
|
|
31
|
-
"<4.
|
|
31
|
+
"<4.5": {
|
|
32
32
|
"dist-types/*": [
|
|
33
33
|
"dist-types/ts3.4/*"
|
|
34
34
|
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-body-length-node",
|
|
3
3
|
"description": "Determines the length of a request body in node.js",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.3",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
7
7
|
"build:cjs": "node ../../scripts/inline util-body-length-node",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"node": ">=18.0.0"
|
|
39
39
|
},
|
|
40
40
|
"typesVersions": {
|
|
41
|
-
"<4.
|
|
41
|
+
"<4.5": {
|
|
42
42
|
"dist-types/*": [
|
|
43
43
|
"dist-types/ts3.4/*"
|
|
44
44
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-buffer-from",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.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 util-buffer-from",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@smithy/is-array-buffer": "^4.2.
|
|
24
|
+
"@smithy/is-array-buffer": "^4.2.2",
|
|
25
25
|
"tslib": "^2.6.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"node": ">=18.0.0"
|
|
39
39
|
},
|
|
40
40
|
"typesVersions": {
|
|
41
|
-
"<4.
|
|
41
|
+
"<4.5": {
|
|
42
42
|
"dist-types/*": [
|
|
43
43
|
"dist-types/ts3.4/*"
|
|
44
44
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-config-provider",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"description": "Utilities package for configuration providers",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"node": ">=18.0.0"
|
|
40
40
|
},
|
|
41
41
|
"typesVersions": {
|
|
42
|
-
"<4.
|
|
42
|
+
"<4.5": {
|
|
43
43
|
"dist-types/*": [
|
|
44
44
|
"dist-types/ts3.4/*"
|
|
45
45
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.38",
|
|
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",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/property-provider": "^4.2.
|
|
28
|
-
"@smithy/smithy-client": "^4.12.
|
|
27
|
+
"@smithy/property-provider": "^4.2.11",
|
|
28
|
+
"@smithy/smithy-client": "^4.12.2",
|
|
29
29
|
"@smithy/types": "^4.13.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"node": ">=18.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": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.41",
|
|
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",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/config-resolver": "^4.4.
|
|
28
|
-
"@smithy/credential-provider-imds": "^4.2.
|
|
29
|
-
"@smithy/node-config-provider": "^4.3.
|
|
30
|
-
"@smithy/property-provider": "^4.2.
|
|
31
|
-
"@smithy/smithy-client": "^4.12.
|
|
27
|
+
"@smithy/config-resolver": "^4.4.10",
|
|
28
|
+
"@smithy/credential-provider-imds": "^4.2.11",
|
|
29
|
+
"@smithy/node-config-provider": "^4.3.11",
|
|
30
|
+
"@smithy/property-provider": "^4.2.11",
|
|
31
|
+
"@smithy/smithy-client": "^4.12.2",
|
|
32
32
|
"@smithy/types": "^4.13.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"node": ">=18.0.0"
|
|
44
44
|
},
|
|
45
45
|
"typesVersions": {
|
|
46
|
-
"<4.
|
|
46
|
+
"<4.5": {
|
|
47
47
|
"dist-types/*": [
|
|
48
48
|
"dist-types/ts3.4/*"
|
|
49
49
|
]
|