@psnext/slingcli 2.5.20260615-2 → 2.5.20260617-1
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/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -50
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -4
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +21 -22
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +51 -51
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +21 -22
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +19 -21
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +107 -109
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -4
- package/node_modules/@aws-sdk/core/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -6
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +3 -7
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +12 -16
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +16 -21
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +14 -18
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +1 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +2 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +2 -7
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -13
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +47 -41
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +8 -4
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +14 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +31 -33
- package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +16 -18
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +11 -13
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +22 -24
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BGYXHf8s.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +26 -28
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +10 -14
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +3 -27
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js +7 -9
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +3 -5
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-websocket/dist-cjs/index.js +16 -18
- package/node_modules/@aws-sdk/middleware-websocket/package.json +6 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +82 -84
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +158 -119
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +80 -82
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +80 -82
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +99 -101
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +70 -35
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -13
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/package.json +9 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +4 -6
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +7 -8
- package/node_modules/@aws-sdk/types/package.json +4 -4
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -2
- package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +2 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +4 -7
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +2 -5
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +7 -10
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +162 -21
- package/node_modules/@smithy/core/dist-cjs/index.js +13 -15
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +29 -31
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +2 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +7 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +3 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +22 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +10 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +38 -39
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +10 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +14 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +20 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +9 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -13
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +59 -60
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +23 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +25 -26
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +5 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +23 -25
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +2 -4
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/package.json +7 -6
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +23 -24
- package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -8
- package/node_modules/@smithy/fetch-http-handler/package.json +7 -7
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +27 -29
- package/node_modules/@smithy/signature-v4/package.json +6 -6
- package/node_modules/@smithy/types/dist-cjs/index.js +23 -18
- package/node_modules/@smithy/types/package.json +4 -4
- package/node_modules/undici/docs/docs/api/Client.md +3 -0
- package/node_modules/undici/docs/docs/api/Cookies.md +27 -0
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +1 -0
- package/node_modules/undici/lib/core/socks5-client.js +14 -4
- package/node_modules/undici/lib/core/socks5-utils.js +18 -4
- package/node_modules/undici/lib/dispatcher/agent.js +1 -1
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +1 -1
- package/node_modules/undici/lib/dispatcher/client-h1.js +69 -1
- package/node_modules/undici/lib/dispatcher/client.js +3 -2
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +19 -0
- package/node_modules/undici/lib/dispatcher/pool.js +1 -1
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +2 -1
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +45 -34
- package/node_modules/undici/lib/util/cache.js +8 -2
- package/node_modules/undici/lib/web/cookies/parse.js +17 -25
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +13 -31
- package/node_modules/undici/lib/web/websocket/receiver.js +80 -23
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -1
- package/node_modules/undici/lib/web/websocket/websocket.js +8 -1
- package/node_modules/undici/package.json +1 -1
- package/node_modules/undici/types/client.d.ts +16 -0
- package/package.json +2 -2
- package/slingshot/index.js +31 -31
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +0 -8
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var node_stream = require('node:stream');
|
|
6
|
-
var http2 = require('node:http2');
|
|
1
|
+
const { buildQueryString, HttpResponse } = require("@smithy/core/protocols");
|
|
2
|
+
const node_https = require("node:https");
|
|
3
|
+
const { Readable, Writable } = require("node:stream");
|
|
4
|
+
const http2 = require("node:http2");
|
|
7
5
|
|
|
8
6
|
function buildAbortError(abortSignal) {
|
|
9
7
|
const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal
|
|
@@ -175,7 +173,7 @@ async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN
|
|
|
175
173
|
}
|
|
176
174
|
}
|
|
177
175
|
function writeBody(httpRequest, body) {
|
|
178
|
-
if (body instanceof
|
|
176
|
+
if (body instanceof Readable) {
|
|
179
177
|
body.pipe(httpRequest);
|
|
180
178
|
return;
|
|
181
179
|
}
|
|
@@ -311,7 +309,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
311
309
|
socketWarningTimeoutId = timing.setTimeout(() => {
|
|
312
310
|
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger);
|
|
313
311
|
}, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000));
|
|
314
|
-
const queryString = request.query ?
|
|
312
|
+
const queryString = request.query ? buildQueryString(request.query) : "";
|
|
315
313
|
let auth = undefined;
|
|
316
314
|
if (request.username != null || request.password != null) {
|
|
317
315
|
const username = request.username ?? "";
|
|
@@ -343,7 +341,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
343
341
|
};
|
|
344
342
|
const requestFunc = isSSL ? node_https.request : hRequest;
|
|
345
343
|
const req = requestFunc(nodeHttpsOptions, (res) => {
|
|
346
|
-
const httpResponse = new
|
|
344
|
+
const httpResponse = new HttpResponse({
|
|
347
345
|
statusCode: res.statusCode || -1,
|
|
348
346
|
reason: res.statusMessage,
|
|
349
347
|
headers: getTransformedHeaders(res.headers),
|
|
@@ -414,7 +412,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
414
412
|
socketAcquisitionWarningTimeout,
|
|
415
413
|
throwOnRequestTimeout,
|
|
416
414
|
httpAgentProvider: async () => {
|
|
417
|
-
const node_http =
|
|
415
|
+
const node_http = require('node:http');
|
|
418
416
|
const { Agent, request } = node_http.default ?? node_http;
|
|
419
417
|
hRequest = request;
|
|
420
418
|
hAgent = Agent;
|
|
@@ -752,7 +750,7 @@ class NodeHttp2Handler {
|
|
|
752
750
|
fulfilled = true;
|
|
753
751
|
reject(err);
|
|
754
752
|
};
|
|
755
|
-
const queryString = query ?
|
|
753
|
+
const queryString = query ? buildQueryString(query) : "";
|
|
756
754
|
let path = request.path;
|
|
757
755
|
if (queryString) {
|
|
758
756
|
path += `?${queryString}`;
|
|
@@ -796,7 +794,7 @@ class NodeHttp2Handler {
|
|
|
796
794
|
rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${clientHttp2Stream.rstCode}.`));
|
|
797
795
|
});
|
|
798
796
|
clientHttp2Stream.on("response", (headers) => {
|
|
799
|
-
const httpResponse = new
|
|
797
|
+
const httpResponse = new HttpResponse({
|
|
800
798
|
statusCode: headers[":status"] ?? -1,
|
|
801
799
|
headers: getTransformedHeaders(headers),
|
|
802
800
|
body: clientHttp2Stream,
|
|
@@ -835,7 +833,7 @@ class NodeHttp2Handler {
|
|
|
835
833
|
}
|
|
836
834
|
}
|
|
837
835
|
|
|
838
|
-
class Collector extends
|
|
836
|
+
class Collector extends Writable {
|
|
839
837
|
bufferedBytes = [];
|
|
840
838
|
_write(chunk, encoding, callback) {
|
|
841
839
|
this.bufferedBytes.push(chunk);
|
package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
7
|
-
"build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline",
|
|
8
|
-
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
7
|
+
"build:es:cjs": "premove dist-es && yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline",
|
|
8
|
+
"build:types": "premove dist-types && yarn g:tsc -p tsconfig.types.json",
|
|
9
9
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
10
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
10
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
11
11
|
"extract:docs": "api-extractor run --local",
|
|
12
12
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"module": "./dist-es/index.js",
|
|
27
27
|
"types": "./dist-types/index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/core": "^3.
|
|
30
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@smithy/core": "^3.25.0",
|
|
30
|
+
"@smithy/types": "^4.15.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@smithy/abort-controller": "^4.
|
|
34
|
+
"@smithy/abort-controller": "^4.3.0",
|
|
35
35
|
"@types/node": "^18.11.9",
|
|
36
36
|
"concurrently": "7.0.0",
|
|
37
37
|
"downlevel-dts": "0.10.1",
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.997.
|
|
3
|
+
"version": "3.997.21",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
7
7
|
"types": "./dist-types/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"build": "
|
|
9
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
10
10
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
11
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
11
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
12
12
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
13
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
13
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
14
14
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
15
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
16
16
|
"lint": "node ../../scripts/validation/submodules-linter.js",
|
|
17
|
+
"prebuild": "yarn lint",
|
|
17
18
|
"test": "yarn g:vitest run",
|
|
18
19
|
"test:watch": "yarn g:vitest watch"
|
|
19
20
|
},
|
|
@@ -29,9 +30,9 @@
|
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
32
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
|
-
"@aws-sdk/core": "^3.974.
|
|
33
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
34
|
-
"@aws-sdk/types": "^3.973.
|
|
33
|
+
"@aws-sdk/core": "^3.974.21",
|
|
34
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.35",
|
|
35
|
+
"@aws-sdk/types": "^3.973.13",
|
|
35
36
|
"@smithy/core": "^3.24.6",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.4.6",
|
|
37
38
|
"@smithy/node-http-handler": "^4.7.6",
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var signatureV4 = require('@smithy/signature-v4');
|
|
1
|
+
const { SignatureV4, signatureV4aContainer } = require("@smithy/signature-v4");
|
|
4
2
|
|
|
5
3
|
const signatureV4CrtContainer = {
|
|
6
4
|
CrtSignerV4: null,
|
|
@@ -8,7 +6,7 @@ const signatureV4CrtContainer = {
|
|
|
8
6
|
|
|
9
7
|
const SESSION_TOKEN_QUERY_PARAM = "X-Amz-S3session-Token";
|
|
10
8
|
const SESSION_TOKEN_HEADER = SESSION_TOKEN_QUERY_PARAM.toLowerCase();
|
|
11
|
-
class SignatureV4SignWithCredentials extends
|
|
9
|
+
class SignatureV4SignWithCredentials extends SignatureV4 {
|
|
12
10
|
async signWithCredentials(requestToSign, credentials, options) {
|
|
13
11
|
const credentialsWithoutSessionToken = getCredentialsWithoutSessionToken(credentials);
|
|
14
12
|
requestToSign.headers[SESSION_TOKEN_HEADER] = credentials.sessionToken;
|
|
@@ -50,7 +48,7 @@ class SignatureV4MultiRegion {
|
|
|
50
48
|
if (typeof signatureV4CrtContainer.CrtSignerV4 === "function") {
|
|
51
49
|
return "crt";
|
|
52
50
|
}
|
|
53
|
-
else if (typeof
|
|
51
|
+
else if (typeof signatureV4aContainer.SignatureV4a === "function") {
|
|
54
52
|
return "js";
|
|
55
53
|
}
|
|
56
54
|
return "none";
|
|
@@ -108,7 +106,7 @@ class SignatureV4MultiRegion {
|
|
|
108
106
|
getSigv4aSigner() {
|
|
109
107
|
if (!this.sigv4aSigner) {
|
|
110
108
|
const CrtSignerV4 = signatureV4CrtContainer.CrtSignerV4;
|
|
111
|
-
const JsSigV4aSigner =
|
|
109
|
+
const JsSigV4aSigner = signatureV4aContainer.SignatureV4a;
|
|
112
110
|
if (this.signerOptions.runtime === "node") {
|
|
113
111
|
if (!CrtSignerV4 && !JsSigV4aSigner) {
|
|
114
112
|
throw new Error("Neither CRT nor JS SigV4a implementation is available. " +
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.35",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:browser": "node ./test-browser/browser-build/esbuild",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
13
13
|
"test": "yarn g:vitest run",
|
|
14
14
|
"test:watch": "yarn g:vitest watch",
|
|
15
15
|
"test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/types": "^3.973.
|
|
29
|
+
"@aws-sdk/types": "^3.973.13",
|
|
30
30
|
"@smithy/signature-v4": "^5.4.6",
|
|
31
31
|
"@smithy/types": "^4.14.3",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
const { EndpointURLScheme, HttpAuthLocation, RequestHandlerProtocol } = require("@smithy/types");
|
|
2
|
+
exports.EndpointURLScheme = EndpointURLScheme;
|
|
3
|
+
exports.HttpAuthLocation = HttpAuthLocation;
|
|
4
|
+
exports.RequestHandlerProtocol = RequestHandlerProtocol;
|
|
2
5
|
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
exports.HostAddressType = void 0;
|
|
6
|
+
var HostAddressType;
|
|
6
7
|
(function (HostAddressType) {
|
|
7
8
|
HostAddressType["AAAA"] = "AAAA";
|
|
8
9
|
HostAddressType["A"] = "A";
|
|
9
|
-
})(
|
|
10
|
+
})(HostAddressType || (HostAddressType = {}));
|
|
10
11
|
|
|
11
|
-
exports.
|
|
12
|
-
exports.HttpAuthLocation = types.HttpAuthLocation;
|
|
13
|
-
exports.RequestHandlerProtocol = types.RequestHandlerProtocol;
|
|
12
|
+
exports.HostAddressType = HostAddressType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.13",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
10
10
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
11
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
11
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
12
12
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
13
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
13
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
14
14
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
15
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
16
16
|
"extract:docs": "api-extractor run --local",
|
|
17
17
|
"test": "tsc -p tsconfig.test.json"
|
|
18
18
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-locate-window",
|
|
3
|
-
"version": "3.965.
|
|
3
|
+
"version": "3.965.8",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
7
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
7
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
8
8
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
9
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
9
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
10
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
11
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
12
12
|
"test": "yarn g:vitest run",
|
|
13
13
|
"test:watch": "yarn g:vitest watch"
|
|
14
14
|
},
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var xmlParser = require('./xml-parser');
|
|
1
|
+
const { parseXML } = require("./xml-parser");
|
|
2
|
+
exports.parseXML = parseXML;
|
|
4
3
|
|
|
5
4
|
const ATTR_ESCAPE_RE = /[&<>"]/g;
|
|
6
5
|
const ATTR_ESCAPE_MAP = {
|
|
@@ -126,6 +125,5 @@ class XmlNode {
|
|
|
126
125
|
}
|
|
127
126
|
}
|
|
128
127
|
|
|
129
|
-
exports.parseXML = xmlParser.parseXML;
|
|
130
128
|
exports.XmlNode = XmlNode;
|
|
131
129
|
exports.XmlText = XmlText;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EntityDecoderImpl = exports.CURRENCY = exports.COMMON_HTML = exports.XML = void 0;
|
|
4
|
-
exports.XML = {
|
|
1
|
+
const XML = {
|
|
5
2
|
amp: "&",
|
|
6
3
|
apos: "'",
|
|
7
4
|
gt: ">",
|
|
8
5
|
lt: "<",
|
|
9
6
|
quot: '"',
|
|
10
7
|
};
|
|
8
|
+
exports.XML = XML;
|
|
11
9
|
exports.COMMON_HTML = {
|
|
12
10
|
nbsp: "\u00a0",
|
|
13
11
|
copy: "\u00a9",
|
|
@@ -110,7 +108,7 @@ function parseNCRConfig(ncr) {
|
|
|
110
108
|
const clampedNull = Math.max(nullLevel, NCR_LEVEL.remove);
|
|
111
109
|
return { xmlVersion, onLevel, nullLevel: clampedNull };
|
|
112
110
|
}
|
|
113
|
-
|
|
111
|
+
exports.EntityDecoderImpl = class EntityDecoderImpl {
|
|
114
112
|
_limit;
|
|
115
113
|
_maxTotalExpansions;
|
|
116
114
|
_maxExpandedLength;
|
|
@@ -134,7 +132,7 @@ const EntityDecoderImpl = class EntityDecoderImpl {
|
|
|
134
132
|
this._postCheck = typeof options.postCheck === "function" ? options.postCheck : (r) => r;
|
|
135
133
|
this._limitTiers = parseLimitTiers(this._limit.applyLimitsTo ?? LIMIT_TIER_EXTERNAL);
|
|
136
134
|
this._numericAllowed = options.numericAllowed ?? true;
|
|
137
|
-
this._baseMap = mergeEntityMaps(
|
|
135
|
+
this._baseMap = mergeEntityMaps(XML, options.namedEntities || null);
|
|
138
136
|
this._externalMap = Object.create(null);
|
|
139
137
|
this._inputMap = Object.create(null);
|
|
140
138
|
this._totalExpansions = 0;
|
|
@@ -333,4 +331,3 @@ const EntityDecoderImpl = class EntityDecoderImpl {
|
|
|
333
331
|
return this._applyNCRAction(effective, token, cp);
|
|
334
332
|
}
|
|
335
333
|
};
|
|
336
|
-
exports.EntityDecoderImpl = EntityDecoderImpl;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.parseXML = parseXML;
|
|
4
1
|
let parser;
|
|
5
|
-
function parseXML(xmlString) {
|
|
2
|
+
exports.parseXML = function parseXML(xmlString) {
|
|
6
3
|
if (!parser) {
|
|
7
4
|
parser = new DOMParser();
|
|
8
5
|
}
|
|
@@ -57,4 +54,4 @@ function parseXML(xmlString) {
|
|
|
57
54
|
return {
|
|
58
55
|
[xmlDocument.documentElement.nodeName]: xmlToObj(xmlDocument.documentElement),
|
|
59
56
|
};
|
|
60
|
-
}
|
|
57
|
+
};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const nodable_entities_1 = require("./xml-external/nodable_entities");
|
|
6
|
-
const entityDecoder = new nodable_entities_1.EntityDecoderImpl({
|
|
7
|
-
namedEntities: { ...nodable_entities_1.XML, ...nodable_entities_1.COMMON_HTML, ...nodable_entities_1.CURRENCY },
|
|
1
|
+
const { XMLParser } = require("fast-xml-parser");
|
|
2
|
+
const { COMMON_HTML, CURRENCY, EntityDecoderImpl, XML } = require("./xml-external/nodable_entities");
|
|
3
|
+
const entityDecoder = new EntityDecoderImpl({
|
|
4
|
+
namedEntities: { ...XML, ...COMMON_HTML, ...CURRENCY },
|
|
8
5
|
numericAllowed: true,
|
|
9
6
|
limit: {
|
|
10
7
|
maxTotalExpansions: Infinity,
|
|
@@ -13,7 +10,7 @@ const entityDecoder = new nodable_entities_1.EntityDecoderImpl({
|
|
|
13
10
|
xmlVersion: 1.1,
|
|
14
11
|
},
|
|
15
12
|
});
|
|
16
|
-
const parser = new
|
|
13
|
+
const parser = new XMLParser({
|
|
17
14
|
attributeNamePrefix: "",
|
|
18
15
|
processEntities: {
|
|
19
16
|
enabled: true,
|
|
@@ -42,6 +39,6 @@ const parser = new fast_xml_parser_1.XMLParser({
|
|
|
42
39
|
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
43
40
|
maxNestedTags: Infinity,
|
|
44
41
|
});
|
|
45
|
-
function parseXML(xmlString) {
|
|
42
|
+
exports.parseXML = function parseXML(xmlString) {
|
|
46
43
|
return parser.parse(xmlString, true);
|
|
47
|
-
}
|
|
44
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xml-builder",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.30",
|
|
4
4
|
"description": "XML utilities for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@smithy/types": "^4.14.3",
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
12
12
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
13
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
13
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
14
14
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
15
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
15
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
16
16
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
17
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
17
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
18
18
|
"test": "yarn g:vitest run",
|
|
19
19
|
"test:watch": "yarn g:vitest watch"
|
|
20
20
|
},
|