diff --git a/THIRD-PARTY b/THIRD-PARTY index 01a8477..2a34b25 100644 --- a/THIRD-PARTY +++ b/THIRD-PARTY @@ -222,7 +222,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The following npm package may be included in this product: - - @aws-sdk/client-sts@3.1086.0 + - @aws-sdk/client-sts@3.1091.0 This package contains the following license: @@ -432,7 +432,7 @@ Apache License The following npm packages may be included in this product: - - @aws-sdk/signature-v4-multi-region@3.996.39 + - @aws-sdk/signature-v4-multi-region@3.996.41 - @smithy/core@3.29.6 - @smithy/types@4.16.1 @@ -1043,13 +1043,13 @@ Apache License The following npm packages may be included in this product: - @aws-sdk/credential-provider-env@3.972.59 - - @aws-sdk/credential-provider-ini@3.973.1 - - @aws-sdk/credential-provider-node@3.972.67 - - @aws-sdk/token-providers@3.1083.0 + - @aws-sdk/credential-provider-ini@3.973.4 + - @aws-sdk/credential-provider-node@3.972.70 + - @aws-sdk/token-providers@3.1088.0 - @aws-sdk/types@3.974.2 - @aws-sdk/xml-builder@3.972.36 - - @smithy/credential-provider-imds@4.4.8 - - @smithy/fetch-http-handler@5.6.5 + - @smithy/credential-provider-imds@4.4.11 + - @smithy/fetch-http-handler@5.6.8 - @smithy/node-http-handler@4.9.8 - @smithy/signature-v4@5.6.7 @@ -1261,9 +1261,9 @@ Apache License The following npm packages may be included in this product: - - @aws-sdk/credential-provider-process@3.972.57 - - @aws-sdk/credential-provider-sso@3.973.1 - - @aws-sdk/credential-provider-web-identity@3.972.63 + - @aws-sdk/credential-provider-process@3.972.59 + - @aws-sdk/credential-provider-sso@3.973.3 + - @aws-sdk/credential-provider-web-identity@3.972.65 These packages each contain the following license: @@ -1473,9 +1473,9 @@ Apache License The following npm packages may be included in this product: - - @aws-sdk/credential-provider-http@3.972.59 - - @aws-sdk/credential-provider-login@3.972.63 - - @aws-sdk/nested-clients@3.997.31 + - @aws-sdk/credential-provider-http@3.972.61 + - @aws-sdk/credential-provider-login@3.972.66 + - @aws-sdk/nested-clients@3.997.33 These packages each contain the following license: diff --git a/dist/index.js b/dist/index.js index c69a83d..c3c1c32 100644 --- a/dist/index.js +++ b/dist/index.js @@ -21674,7 +21674,7 @@ var init_parse_utils = __esm({ return expectByte(value); }; stackTraceWarning = (message) => { - return String(new TypeError(message).stack || message).split("\n").slice(0, 5).filter((s) => !s.includes("stackTraceWarning")).join("\n"); + return String(new TypeError(message).stack || message).split("\n").slice(0, 5).filter((s2) => !s2.includes("stackTraceWarning")).join("\n"); }; logger = { warn: console.warn @@ -25095,9 +25095,9 @@ function merge(buffers, mode, chunk) { function flush(buffers, mode) { switch (mode) { case 0: - const s = buffers[0]; + const s2 = buffers[0]; buffers[0] = ""; - return s; + return s2; case 1: case 2: return buffers[mode].flush(); @@ -25891,9 +25891,9 @@ function compress(state2, block) { const tmp = d5; d5 = c5; c5 = b6; - const s = S[(i5 >> 4) * 4 + (i5 & 3)]; + const s2 = S[(i5 >> 4) * 4 + (i5 & 3)]; const sum = (a5 + f5 & M) + (x + T[i5] & M) & M; - b6 = b6 + ((sum << s | sum >>> 32 - s) >>> 0) & M; + b6 = b6 + ((sum << s2 | sum >>> 32 - s2) >>> 0) & M; a5 = tmp; } state2[0] = state2[0] + a5 & M; @@ -31175,16 +31175,16 @@ var require_es5 = __commonJS({ return e7.split(".").length; }, e6.compareVersions = function(t2, r6, i6) { void 0 === i6 && (i6 = false); - var n5 = e6.getVersionPrecision(t2), a5 = e6.getVersionPrecision(r6), o3 = Math.max(n5, a5), s = 0, u = e6.map([t2, r6], (function(t3) { + var n5 = e6.getVersionPrecision(t2), a5 = e6.getVersionPrecision(r6), o3 = Math.max(n5, a5), s2 = 0, u = e6.map([t2, r6], (function(t3) { var r7 = o3 - e6.getVersionPrecision(t3), i7 = t3 + new Array(r7 + 1).join(".0"); return e6.map(i7.split("."), (function(e7) { return new Array(20 - e7.length).join("0") + e7; })).reverse(); })); - for (i6 && (s = o3 - Math.min(n5, a5)), o3 -= 1; o3 >= s; ) { + for (i6 && (s2 = o3 - Math.min(n5, a5)), o3 -= 1; o3 >= s2; ) { if (u[0][o3] > u[1][o3]) return 1; if (u[0][o3] === u[1][o3]) { - if (o3 === s) return 0; + if (o3 === s2) return 0; o3 -= 1; } else if (u[0][o3] < u[1][o3]) return -1; } @@ -31203,13 +31203,13 @@ var require_es5 = __commonJS({ }, e6.assign = function(e7) { for (var t2, r6, i6 = e7, n5 = arguments.length, a5 = new Array(n5 > 1 ? n5 - 1 : 0), o3 = 1; o3 < n5; o3++) a5[o3 - 1] = arguments[o3]; if (Object.assign) return Object.assign.apply(Object, [e7].concat(a5)); - var s = function() { + var s2 = function() { var e8 = a5[t2]; "object" == typeof e8 && null !== e8 && Object.keys(e8).forEach((function(t3) { i6[t3] = e8[t3]; })); }; - for (t2 = 0, r6 = a5.length; t2 < r6; t2 += 1) s(); + for (t2 = 0, r6 = a5.length; t2 < r6; t2 += 1) s2(); return e7; }, e6.getBrowserAlias = function(e7) { return i5.BROWSER_ALIASES_MAP[e7]; @@ -31236,7 +31236,7 @@ var require_es5 = __commonJS({ i6.enumerable = i6.enumerable || false, i6.configurable = true, "value" in i6 && (i6.writable = true), Object.defineProperty(e6, i6.key, i6); } } - var s = (function() { + var s2 = (function() { function e6() { } var t2, r6, i6; @@ -31255,11 +31255,11 @@ var require_es5 = __commonJS({ return a5.PLATFORMS_MAP; } }], (r6 = null) && o3(t2.prototype, r6), i6 && o3(t2, i6), e6; })(); - t.default = s, e5.exports = t.default; + t.default = s2, e5.exports = t.default; }, 91: function(e5, t, r5) { "use strict"; t.__esModule = true, t.default = void 0; - var i5 = u(r5(92)), n4 = u(r5(93)), a5 = u(r5(94)), o3 = u(r5(95)), s = u(r5(17)); + var i5 = u(r5(92)), n4 = u(r5(93)), a5 = u(r5(94)), o3 = u(r5(95)), s2 = u(r5(17)); function u(e6) { return e6 && e6.__esModule ? e6 : { default: e6 }; } @@ -31293,7 +31293,7 @@ var require_es5 = __commonJS({ }, t2.parseBrowser = function() { var e7 = this; this.parsedResult.browser = {}; - var t3 = s.default.find(i5.default, (function(t4) { + var t3 = s2.default.find(i5.default, (function(t4) { if ("function" == typeof t4.test) return t4.test(e7); if (Array.isArray(t4.test)) return t4.test.some((function(t5) { return e7.test(t5); @@ -31312,7 +31312,7 @@ var require_es5 = __commonJS({ }, t2.parseOS = function() { var e7 = this; this.parsedResult.os = {}; - var t3 = s.default.find(n4.default, (function(t4) { + var t3 = s2.default.find(n4.default, (function(t4) { if ("function" == typeof t4.test) return t4.test(e7); if (Array.isArray(t4.test)) return t4.test.some((function(t5) { return e7.test(t5); @@ -31334,7 +31334,7 @@ var require_es5 = __commonJS({ }, t2.parsePlatform = function() { var e7 = this; this.parsedResult.platform = {}; - var t3 = s.default.find(a5.default, (function(t4) { + var t3 = s2.default.find(a5.default, (function(t4) { if ("function" == typeof t4.test) return t4.test(e7); if (Array.isArray(t4.test)) return t4.test.some((function(t5) { return e7.test(t5); @@ -31349,7 +31349,7 @@ var require_es5 = __commonJS({ }, t2.parseEngine = function() { var e7 = this; this.parsedResult.engine = {}; - var t3 = s.default.find(o3.default, (function(t4) { + var t3 = s2.default.find(o3.default, (function(t4) { if ("function" == typeof t4.test) return t4.test(e7); if (Array.isArray(t4.test)) return t4.test.some((function(t5) { return e7.test(t5); @@ -31360,21 +31360,21 @@ var require_es5 = __commonJS({ }, t2.parse = function() { return this.parseBrowser(), this.parseOS(), this.parsePlatform(), this.parseEngine(), this; }, t2.getResult = function() { - return s.default.assign({}, this.parsedResult); + return s2.default.assign({}, this.parsedResult); }, t2.satisfies = function(e7) { var t3 = this, r6 = {}, i6 = 0, n5 = {}, a6 = 0; if (Object.keys(e7).forEach((function(t4) { var o5 = e7[t4]; "string" == typeof o5 ? (n5[t4] = o5, a6 += 1) : "object" == typeof o5 && (r6[t4] = o5, i6 += 1); })), i6 > 0) { - var o4 = Object.keys(r6), u2 = s.default.find(o4, (function(e8) { + var o4 = Object.keys(r6), u2 = s2.default.find(o4, (function(e8) { return t3.isOS(e8); })); if (u2) { var d6 = this.satisfies(r6[u2]); if (void 0 !== d6) return d6; } - var c5 = s.default.find(o4, (function(e8) { + var c5 = s2.default.find(o4, (function(e8) { return t3.isPlatform(e8); })); if (c5) { @@ -31383,18 +31383,18 @@ var require_es5 = __commonJS({ } } if (a6 > 0) { - var l3 = Object.keys(n5), b6 = s.default.find(l3, (function(e8) { + var l3 = Object.keys(n5), b6 = s2.default.find(l3, (function(e8) { return t3.isBrowser(e8, true); })); if (void 0 !== b6) return this.compareVersion(n5[b6]); } }, t2.isBrowser = function(e7, t3) { void 0 === t3 && (t3 = false); - var r6 = this.getBrowserName().toLowerCase(), i6 = e7.toLowerCase(), n5 = s.default.getBrowserTypeByAlias(i6); + var r6 = this.getBrowserName().toLowerCase(), i6 = e7.toLowerCase(), n5 = s2.default.getBrowserTypeByAlias(i6); return t3 && n5 && (i6 = n5.toLowerCase()), i6 === r6; }, t2.compareVersion = function(e7) { var t3 = [0], r6 = e7, i6 = false, n5 = this.getBrowserVersion(); - if ("string" == typeof n5) return ">" === e7[0] || "<" === e7[0] ? (r6 = e7.substr(1), "=" === e7[1] ? (i6 = true, r6 = e7.substr(2)) : t3 = [], ">" === e7[0] ? t3.push(1) : t3.push(-1)) : "=" === e7[0] ? r6 = e7.substr(1) : "~" === e7[0] && (i6 = true, r6 = e7.substr(1)), t3.indexOf(s.default.compareVersions(n5, r6, i6)) > -1; + if ("string" == typeof n5) return ">" === e7[0] || "<" === e7[0] ? (r6 = e7.substr(1), "=" === e7[1] ? (i6 = true, r6 = e7.substr(2)) : t3 = [], ">" === e7[0] ? t3.push(1) : t3.push(-1)) : "=" === e7[0] ? r6 = e7.substr(1) : "~" === e7[0] && (i6 = true, r6 = e7.substr(1)), t3.indexOf(s2.default.compareVersions(n5, r6, i6)) > -1; }, t2.isOS = function(e7) { return this.getOSName(true) === String(e7).toLowerCase(); }, t2.isPlatform = function(e7) { @@ -34644,10 +34644,12 @@ var init_httpAuthSchemeProvider = __esm({ defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => { const options = []; switch (authParameters.operation) { - case "CreateToken": { - options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); - break; - } + case "CreateToken": + { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + ; default: { options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); } @@ -34689,55 +34691,18 @@ var init_package = __esm({ "node_modules/@aws-sdk/nested-clients/package.json"() { package_default = { name: "@aws-sdk/nested-clients", - version: "3.997.31", + version: "3.997.33", description: "Nested clients for AWS SDK packages.", - main: "./dist-cjs/index.js", - module: "./dist-es/index.js", - types: "./dist-types/index.d.ts", - scripts: { - build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline", - "build:es": "premove dist-es && tsc -p tsconfig.es.json", - "build:include:deps": 'yarn g:turbo run build -F="$npm_package_name"', - "build:types": "premove dist-types && tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - clean: "premove dist-cjs dist-es dist-types", - lint: "node ../../scripts/validation/submodules-linter.js", - prebuild: "yarn lint", - test: "yarn g:vitest run", - "test:watch": "yarn g:vitest watch" - }, - engines: { - node: ">=20.0.0" - }, - sideEffects: false, + homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients", + license: "Apache-2.0", author: { name: "AWS SDK for JavaScript Team", url: "https://aws.amazon.com/sdk-for-javascript/" }, - license: "Apache-2.0", - dependencies: { - "@aws-sdk/core": "^3.975.1", - "@aws-sdk/signature-v4-multi-region": "^3.996.39", - "@aws-sdk/types": "^3.974.0", - "@smithy/core": "^3.29.2", - "@smithy/fetch-http-handler": "^5.6.4", - "@smithy/node-http-handler": "^4.9.4", - "@smithy/types": "^4.16.0", - tslib: "^2.6.2" - }, - devDependencies: { - concurrently: "7.0.0", - "downlevel-dts": "0.10.1", - premove: "4.0.0", - typescript: "~5.8.3" - }, - typesVersions: { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } + repository: { + type: "git", + url: "https://github.com/aws/aws-sdk-js-v3.git", + directory: "packages/nested-clients" }, files: [ "./cognito-identity.d.ts", @@ -34752,6 +34717,9 @@ var init_package = __esm({ "./sts.js", "dist-*/**" ], + sideEffects: false, + main: "./dist-cjs/index.js", + module: "./dist-es/index.js", browser: { "./dist-es/submodules/cognito-identity/runtimeConfig": "./dist-es/submodules/cognito-identity/runtimeConfig.browser", "./dist-es/submodules/signin/runtimeConfig": "./dist-es/submodules/signin/runtimeConfig.browser", @@ -34759,13 +34727,18 @@ var init_package = __esm({ "./dist-es/submodules/sso/runtimeConfig": "./dist-es/submodules/sso/runtimeConfig.browser", "./dist-es/submodules/sts/runtimeConfig": "./dist-es/submodules/sts/runtimeConfig.browser" }, - "react-native": {}, - homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients", - repository: { - type: "git", - url: "https://github.com/aws/aws-sdk-js-v3.git", - directory: "packages/nested-clients" + types: "./dist-types/index.d.ts", + typesVersions: { + "<4.5": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ], + "*": [ + "dist-types/ts3.4/submodules/*/index.d.ts" + ] + } }, + "react-native": {}, exports: { "./package.json": "./package.json", "./sso-oidc": { @@ -34803,6 +34776,38 @@ var init_package = __esm({ import: "./dist-es/submodules/sso/index.js", require: "./dist-cjs/submodules/sso/index.js" } + }, + scripts: { + build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", + "build:cjs": "node ../../scripts/compilation/inline", + "build:es": "premove dist-es && tsc -p tsconfig.es.json", + "build:include:deps": 'yarn g:turbo run build -F="$npm_package_name"', + "build:types": "premove dist-types && tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + clean: "premove dist-cjs dist-es dist-types", + lint: "node ../../scripts/validation/submodules-linter.js", + prebuild: "yarn lint", + test: "yarn g:vitest run", + "test:watch": "yarn g:vitest watch" + }, + dependencies: { + "@aws-sdk/core": "^3.975.3", + "@aws-sdk/signature-v4-multi-region": "^3.996.41", + "@aws-sdk/types": "^3.974.2", + "@smithy/core": "^3.29.4", + "@smithy/fetch-http-handler": "^5.6.6", + "@smithy/node-http-handler": "^4.9.6", + "@smithy/types": "^4.16.1", + tslib: "^2.6.2" + }, + devDependencies: { + concurrently: "7.0.0", + "downlevel-dts": "0.10.1", + premove: "4.0.0", + typescript: "~5.8.3" + }, + engines: { + node: ">=20.0.0" } }; } @@ -36587,9 +36592,9 @@ var init_jsonReplacer = __esm({ return v; } if (typeof value === "bigint") { - const s = value.toString(); - const v = `${NUMERIC_CONTROL_CHAR + "b" + this.counter++}_` + s; - this.values.set(`"${v}"`, s); + const s2 = value.toString(); + const v = `${NUMERIC_CONTROL_CHAR + "b" + this.counter++}_` + s2; + this.values.set(`"${v}"`, s2); return v; } return value; @@ -37236,12 +37241,12 @@ var require_dist_cjs8 = __commonJS({ } throw new Error("@aws-sdk XML parse error: no root element."); } - isNext(s, caseSensitive = true) { + isNext(s2, caseSensitive = true) { const p3 = this; if (caseSensitive) { - return p3.x.startsWith(s, p3.i); + return p3.x.startsWith(s2, p3.i); } - return p3.x.toLowerCase().startsWith(s.toLowerCase(), p3.i); + return p3.x.toLowerCase().startsWith(s2.toLowerCase(), p3.i); } readTo(stop) { const p3 = this; @@ -37407,8 +37412,8 @@ var require_dist_cjs8 = __commonJS({ } throw new Error("@aws-sdk XML parse error: unclosed DOCTYPE."); } - decodeEntities(s) { - return s.replace(/&(?:#x([0-9a-fA-F]{1,6})|#(\d{1,7})|([a-zA-Z][a-zA-Z0-9]{0,30}));/g, (_, hex, dec, named) => { + decodeEntities(s2) { + return s2.replace(/&(?:#x([0-9a-fA-F]{1,6})|#(\d{1,7})|([a-zA-Z][a-zA-Z0-9]{0,30}));/g, (_, hex, dec, named) => { if (hex) { return String.fromCharCode(parseInt(hex, 16)); } @@ -39458,10 +39463,12 @@ var init_httpAuthSchemeProvider2 = __esm({ defaultSSOHttpAuthSchemeProvider = (authParameters) => { const options = []; switch (authParameters.operation) { - case "GetRoleCredentials": { - options.push(createSmithyApiNoAuthHttpAuthOption2(authParameters)); - break; - } + case "GetRoleCredentials": + { + options.push(createSmithyApiNoAuthHttpAuthOption2(authParameters)); + break; + } + ; default: { options.push(createAwsAuthSigv4HttpAuthOption2(authParameters)); } @@ -40565,8 +40572,8 @@ var init_httpAuthSchemeProvider3 = __esm({ let schemeId; if (name === "sigv4a") { schemeId = "aws.auth#sigv4a"; - const sigv4Present = authSchemes.find((s) => { - const name2 = s.name.toLowerCase(); + const sigv4Present = authSchemes.find((s2) => { + const name2 = s2.name.toLowerCase(); return name2 !== "sigv4a" && name2.startsWith("sigv4"); }); if (import_signature_v4_multi_region.SignatureV4MultiRegion.sigv4aDependency() === "none" && sigv4Present) { @@ -41543,10 +41550,12 @@ var init_httpAuthSchemeProvider4 = __esm({ defaultSigninHttpAuthSchemeProvider = (authParameters) => { const options = []; switch (authParameters.operation) { - case "CreateOAuth2Token": { - options.push(createSmithyApiNoAuthHttpAuthOption4(authParameters)); - break; - } + case "CreateOAuth2Token": + { + options.push(createSmithyApiNoAuthHttpAuthOption4(authParameters)); + break; + } + ; default: { options.push(createAwsAuthSigv4HttpAuthOption4(authParameters)); } @@ -41583,72 +41592,77 @@ var init_EndpointParameters4 = __esm({ }); // node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js -var p2, a4, b4, c4, d4, e4, f4, g4, h4, i4, j4, k4, l2, m2, n2, o2, _data4, root4, r4, nodes4, bdd4; +var s, a4, b4, c4, d4, e4, f4, g4, h4, i4, j4, k4, l2, m2, n2, o2, p2, q2, _data4, root4, r4, nodes4, bdd4; var init_bdd4 = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js"() { init_endpoints(); - p2 = "ref"; + s = "ref"; a4 = -1; - b4 = true; - c4 = "isSet"; - d4 = "booleanEquals"; - e4 = "PartitionResult"; - f4 = "stringEquals"; - g4 = "getAttr"; - h4 = "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}"; - i4 = { [p2]: "Endpoint" }; - j4 = { "fn": g4, "argv": [{ [p2]: e4 }, "name"] }; - k4 = { [p2]: e4 }; - l2 = { [p2]: "Region" }; - m2 = { "authSchemes": [{ "name": "sigv4", "signingName": "signin", "signingRegion": "{Region}" }] }; - n2 = {}; - o2 = [l2]; + b4 = false; + c4 = true; + d4 = "isSet"; + e4 = "booleanEquals"; + f4 = "coalesce"; + g4 = "PartitionResult"; + h4 = "stringEquals"; + i4 = "getAttr"; + j4 = "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}"; + k4 = { [s]: "Endpoint" }; + l2 = { "fn": i4, "argv": [{ [s]: g4 }, "name"] }; + m2 = { [s]: "Region" }; + n2 = { [s]: g4 }; + o2 = { "authSchemes": [{ "name": "sigv4", "signingName": "signin", "signingRegion": "{Region}" }] }; + p2 = {}; + q2 = [m2]; _data4 = { conditions: [ - [c4, o2], - [d4, [{ fn: "coalesce", argv: [{ [p2]: "IsControlPlane" }, false] }, b4]], - [c4, [i4]], - ["aws.partition", o2, e4], - [d4, [{ [p2]: "UseFIPS" }, b4]], - [d4, [{ [p2]: "UseDualStack" }, b4]], - [f4, [j4, "aws"]], - [f4, [j4, "aws-cn"]], - [d4, [{ fn: g4, argv: [k4, "supportsDualStack"] }, b4]], - [f4, [l2, "us-gov-west-1"]], - [f4, [j4, "aws-us-gov"]], - [d4, [{ fn: g4, argv: [k4, "supportsFIPS"] }, b4]], - [f4, [j4, "aws-iso"]], - [f4, [j4, "aws-iso-b"]], - [f4, [j4, "aws-iso-f"]], - [f4, [j4, "aws-iso-e"]], - [f4, [j4, "aws-eusc"]] + [d4, q2], + [e4, [{ fn: f4, argv: [{ [s]: "IsControlPlane" }, b4] }, c4]], + [d4, [k4]], + ["aws.partition", q2, g4], + [e4, [{ [s]: "UseFIPS" }, c4]], + [h4, [l2, "aws"]], + [e4, [{ fn: f4, argv: [{ [s]: "IsOAuthEndpoint" }, b4] }, c4]], + [e4, [{ [s]: "UseDualStack" }, c4]], + [h4, [l2, "aws-cn"]], + [h4, [m2, "us-gov-west-1"]], + [h4, [l2, "aws-us-gov"]], + [e4, [{ fn: i4, argv: [n2, "supportsFIPS"] }, c4]], + [h4, [l2, "aws-iso"]], + [h4, [l2, "aws-iso-b"]], + [h4, [l2, "aws-iso-f"]], + [h4, [l2, "aws-iso-e"]], + [h4, [l2, "aws-eusc"]], + [e4, [{ fn: i4, argv: [n2, "supportsDualStack"] }, c4]] ], results: [ [a4], - ["https://signin.{Region}.api.aws", m2], - ["https://signin.{Region}.api.amazonwebservices.com.cn", m2], - [h4, m2], - ["https://{Region}.signin.aws.amazon.com", n2], - ["https://{Region}.signin.amazonaws.cn", n2], - ["https://{Region}.signin.amazonaws-us-gov.com", n2], - ["https://{Region}.signin.c2shome.ic.gov", n2], - ["https://{Region}.signin.sc2shome.sgov.gov", n2], - ["https://{Region}.signin.csphome.hci.ic.gov", n2], - ["https://{Region}.signin.csphome.adc-e.uk", n2], - ["https://{Region}.signin.amazonaws-eusc.eu", n2], - ["https://signin-fips.amazonaws-us-gov.com", n2], - ["https://{Region}.signin-fips.amazonaws-us-gov.com", n2], - ["https://{Region}.signin.{PartitionResult#dnsSuffix}", n2], + ["https://signin.{Region}.api.aws", o2], + ["https://signin.{Region}.api.amazonwebservices.com.cn", o2], + [j4, o2], + [a4, "FIPS endpoints are not supported for OAuth operations. Disable FIPS or use a non-OAuth operation."], + ["https://{Region}.oauth.signin.aws", o2], + ["https://{Region}.signin.aws.amazon.com", p2], + ["https://{Region}.signin.amazonaws.cn", p2], + ["https://{Region}.signin.amazonaws-us-gov.com", p2], + ["https://{Region}.signin.c2shome.ic.gov", p2], + ["https://{Region}.signin.sc2shome.sgov.gov", p2], + ["https://{Region}.signin.csphome.hci.ic.gov", p2], + ["https://{Region}.signin.csphome.adc-e.uk", p2], + ["https://{Region}.signin.amazonaws-eusc.eu", p2], + ["https://signin-fips.amazonaws-us-gov.com", p2], + ["https://{Region}.signin-fips.amazonaws-us-gov.com", p2], + ["https://{Region}.signin.{PartitionResult#dnsSuffix}", p2], [a4, "Invalid Configuration: FIPS and custom endpoint are not supported"], [a4, "Invalid Configuration: Dualstack and custom endpoint are not supported"], - [i4, n2], - ["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", n2], + [k4, p2], + ["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", p2], [a4, "FIPS and DualStack are enabled, but this partition does not support one or both"], - ["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", n2], + ["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", p2], [a4, "FIPS is enabled but this partition does not support FIPS"], - [h4, n2], + [j4, p2], [a4, "DualStack is enabled but this partition does not support DualStack"], - ["https://signin.{Region}.{PartitionResult#dnsSuffix}", n2], + ["https://signin.{Region}.{PartitionResult#dnsSuffix}", p2], [a4, "Invalid Configuration: Missing Region"] ] }; @@ -41659,99 +41673,120 @@ var init_bdd4 = __esm({ 1, -1, 0, - 4, - 3, - 2, - 30, - r4 + 25, - 1, - 24, - 5, - 2, - 30, 6, 3, - 7, - 26, + 2, + 36, + 4, 4, - 18, - 8, 5, - 17, - 9, + r4 + 27, 6, r4 + 4, - 10, + r4 + 27, + 1, + 29, 7, - r4 + 5, - 11, + 2, + 36, + 8, + 3, + 9, + 31, + 4, + 22, 10, - r4 + 6, - 12, + 5, + 19, + 11, + 7, + 21, 12, + 8, r4 + 7, 13, - 13, + 10, r4 + 8, 14, - 14, + 12, r4 + 9, 15, - 15, + 13, r4 + 10, 16, - 16, + 14, r4 + 11, + 17, + 15, + r4 + 12, + 18, + 16, + r4 + 13, + r4 + 16, + 6, + r4 + 5, + 20, + 7, + 21, + r4 + 6, + 17, + r4 + 24, + r4 + 25, + 6, + r4 + 4, + 23, + 7, + 27, + 24, + 9, r4 + 14, - 8, + 25, + 10, + r4 + 15, + 26, + 11, r4 + 22, r4 + 23, - 5, - 22, - 19, - 9, - r4 + 12, - 20, - 10, - r4 + 13, - 21, 11, + 28, + r4 + 21, + 17, r4 + 20, r4 + 21, - 8, - 23, - r4 + 19, - 11, - r4 + 18, - r4 + 19, 2, - 29, - 25, - 3, - 32, - 26, - 4, - 27, - r4 + 25, - 5, - r4 + 25, - 28, - 9, - r4 + 12, - r4 + 25, - 3, - 32, + 35, 30, - 4, - r4 + 15, + 3, + 39, 31, - 5, - r4 + 16, - r4 + 17, + 4, + 32, + r4 + 27, 6, - r4 + 1, + r4 + 4, 33, 7, + r4 + 27, + 34, + 9, + r4 + 14, + r4 + 27, + 3, + 39, + 36, + 4, + 38, + 37, + 7, + r4 + 18, + r4 + 19, + 6, + r4 + 4, + r4 + 17, + 5, + r4 + 1, + 40, + 8, r4 + 2, r4 + 3 ]); @@ -41768,7 +41803,7 @@ var init_endpointResolver4 = __esm({ init_bdd4(); cache4 = new EndpointCache({ size: 50, - params: ["Endpoint", "IsControlPlane", "Region", "UseDualStack", "UseFIPS"] + params: ["Endpoint", "IsControlPlane", "IsOAuthEndpoint", "Region", "UseDualStack", "UseFIPS"] }); defaultEndpointResolver4 = (endpointParams, context = {}) => { return cache4.get(endpointParams, () => decideEndpoint(bdd4, { @@ -41859,7 +41894,7 @@ var init_errors4 = __esm({ }); // node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js -var _ADE2, _AT2, _COAT, _COATR, _COATRB, _COATRBr, _COATRr, _ISE2, _RT2, _TMRE2, _VE, _aKI2, _aT3, _c4, _cI2, _cV2, _co2, _e4, _eI2, _gT2, _h3, _hE4, _iT2, _jN, _m3, _rT2, _rU2, _s4, _sAK2, _sT2, _se2, _tI, _tO, _tT2, n04, _s_registry4, SigninServiceException$, n0_registry4, AccessDeniedException$2, InternalServerException$2, TooManyRequestsError$, ValidationException$, errorTypeRegistries4, RefreshToken2, AccessToken$, CreateOAuth2TokenRequest$, CreateOAuth2TokenRequestBody$, CreateOAuth2TokenResponse$, CreateOAuth2TokenResponseBody$, CreateOAuth2Token$; +var _ADE2, _AT2, _COAT, _COATR, _COATRB, _COATRBr, _COATRr, _COATWIAM, _COATWIAMR, _COATWIAMRr, _ISE2, _OAAT, _RT2, _TMRE2, _VE, _aKI2, _aT3, _at, _c4, _cI2, _cV2, _co2, _e4, _eI2, _ei, _gT2, _gt, _h3, _hE4, _iT2, _jN, _m3, _r2, _rT2, _rU2, _s4, _sAK2, _sT2, _se2, _tI, _tO, _tT2, _tt, n04, _s_registry4, SigninServiceException$, n0_registry4, AccessDeniedException$2, InternalServerException$2, TooManyRequestsError$, ValidationException$, errorTypeRegistries4, OAuthAccessToken, RefreshToken2, AccessToken$, CreateOAuth2TokenRequest$, CreateOAuth2TokenRequestBody$, CreateOAuth2TokenResponse$, CreateOAuth2TokenResponseBody$, CreateOAuth2TokenWithIAMRequest$, CreateOAuth2TokenWithIAMResponse$, CreateOAuth2Token$, CreateOAuth2TokenWithIAM$; var init_schemas_04 = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js"() { init_schema(); @@ -41872,24 +41907,32 @@ var init_schemas_04 = __esm({ _COATRB = "CreateOAuth2TokenRequestBody"; _COATRBr = "CreateOAuth2TokenResponseBody"; _COATRr = "CreateOAuth2TokenResponse"; + _COATWIAM = "CreateOAuth2TokenWithIAM"; + _COATWIAMR = "CreateOAuth2TokenWithIAMRequest"; + _COATWIAMRr = "CreateOAuth2TokenWithIAMResponse"; _ISE2 = "InternalServerException"; + _OAAT = "OAuthAccessToken"; _RT2 = "RefreshToken"; _TMRE2 = "TooManyRequestsError"; _VE = "ValidationException"; _aKI2 = "accessKeyId"; _aT3 = "accessToken"; + _at = "access_token"; _c4 = "client"; _cI2 = "clientId"; _cV2 = "codeVerifier"; _co2 = "code"; _e4 = "error"; _eI2 = "expiresIn"; + _ei = "expires_in"; _gT2 = "grantType"; + _gt = "grant_type"; _h3 = "http"; _hE4 = "httpError"; _iT2 = "idToken"; _jN = "jsonName"; _m3 = "message"; + _r2 = "resource"; _rT2 = "refreshToken"; _rU2 = "redirectUri"; _s4 = "smithy.ts.sdk.synthetic.com.amazonaws.signin"; @@ -41899,6 +41942,7 @@ var init_schemas_04 = __esm({ _tI = "tokenInput"; _tO = "tokenOutput"; _tT2 = "tokenType"; + _tt = "token_type"; n04 = "com.amazonaws.signin"; _s_registry4 = TypeRegistry.for(_s4); SigninServiceException$ = [-3, _s4, "SigninServiceException", 0, [], []]; @@ -41948,6 +41992,7 @@ var init_schemas_04 = __esm({ _s_registry4, n0_registry4 ]; + OAuthAccessToken = [0, n04, _OAAT, 8, 0]; RefreshToken2 = [0, n04, _RT2, 8, 0]; AccessToken$ = [ 3, @@ -41994,6 +42039,24 @@ var init_schemas_04 = __esm({ [[() => AccessToken$, { [_jN]: _aT3 }], [0, { [_jN]: _tT2 }], [1, { [_jN]: _eI2 }], [() => RefreshToken2, { [_jN]: _rT2 }], [0, { [_jN]: _iT2 }]], 4 ]; + CreateOAuth2TokenWithIAMRequest$ = [ + 3, + n04, + _COATWIAMR, + 0, + [_gT2, _r2], + [[0, { [_jN]: _gt }], 0], + 2 + ]; + CreateOAuth2TokenWithIAMResponse$ = [ + 3, + n04, + _COATWIAMRr, + 0, + [_aT3, _tT2, _eI2], + [[() => OAuthAccessToken, { [_jN]: _at }], [0, { [_jN]: _tt }], [1, { [_jN]: _ei }]], + 3 + ]; CreateOAuth2Token$ = [ 9, n04, @@ -42002,6 +42065,14 @@ var init_schemas_04 = __esm({ () => CreateOAuth2TokenRequest$, () => CreateOAuth2TokenResponse$ ]; + CreateOAuth2TokenWithIAM$ = [ + 9, + n04, + _COATWIAM, + { [_h3]: ["POST", "/v1/token?x-amz-client-auth-method=iam", 200] }, + () => CreateOAuth2TokenWithIAMRequest$, + () => CreateOAuth2TokenWithIAMResponse$ + ]; } }); @@ -42219,7 +42290,7 @@ var init_SigninClient = __esm({ }); // node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js -var command4, _ep04, _mw04; +var command4, _ep04, _ep1, _mw04; var init_commandBuilder4 = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js"() { init_client2(); @@ -42229,6 +42300,9 @@ var init_commandBuilder4 = __esm({ _ep04 = { IsControlPlane: { type: "staticContextParams", value: false } }; + _ep1 = { + IsOAuthEndpoint: { type: "staticContextParams", value: true } + }; _mw04 = (Command3, cs, config, o3) => []; } }); @@ -42244,15 +42318,28 @@ var init_CreateOAuth2TokenCommand = __esm({ } }); +// node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.js +var CreateOAuth2TokenWithIAMCommand; +var init_CreateOAuth2TokenWithIAMCommand = __esm({ + "node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.js"() { + init_commandBuilder4(); + init_schemas_04(); + CreateOAuth2TokenWithIAMCommand = class extends command4(_ep1, _mw04, "CreateOAuth2TokenWithIAM", CreateOAuth2TokenWithIAM$) { + }; + } +}); + // node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js var commands4, Signin; var init_Signin = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js"() { init_client2(); init_CreateOAuth2TokenCommand(); + init_CreateOAuth2TokenWithIAMCommand(); init_SigninClient(); commands4 = { - CreateOAuth2TokenCommand + CreateOAuth2TokenCommand, + CreateOAuth2TokenWithIAMCommand }; Signin = class extends SigninClient { }; @@ -42264,6 +42351,7 @@ var init_Signin = __esm({ var init_commands4 = __esm({ "node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/index.js"() { init_CreateOAuth2TokenCommand(); + init_CreateOAuth2TokenWithIAMCommand(); } }); @@ -42304,6 +42392,10 @@ __export(signin_exports, { CreateOAuth2TokenRequestBody$: () => CreateOAuth2TokenRequestBody$, CreateOAuth2TokenResponse$: () => CreateOAuth2TokenResponse$, CreateOAuth2TokenResponseBody$: () => CreateOAuth2TokenResponseBody$, + CreateOAuth2TokenWithIAM$: () => CreateOAuth2TokenWithIAM$, + CreateOAuth2TokenWithIAMCommand: () => CreateOAuth2TokenWithIAMCommand, + CreateOAuth2TokenWithIAMRequest$: () => CreateOAuth2TokenWithIAMRequest$, + CreateOAuth2TokenWithIAMResponse$: () => CreateOAuth2TokenWithIAMResponse$, InternalServerException: () => InternalServerException2, InternalServerException$: () => InternalServerException$2, OAuth2ErrorCode: () => OAuth2ErrorCode, @@ -42516,11 +42608,11 @@ var require_dist_cjs11 = __commonJS({ } offset++; const sLength = derSignature[offset++]; - let s = derSignature.subarray(offset, offset + sLength); + let s2 = derSignature.subarray(offset, offset + sLength); r5 = r5[0] === 0 ? r5.subarray(1) : r5; - s = s[0] === 0 ? s.subarray(1) : s; + s2 = s2[0] === 0 ? s2.subarray(1) : s2; const rPadded = Buffer.concat([Buffer.alloc(32 - r5.length), r5]); - const sPadded = Buffer.concat([Buffer.alloc(32 - s.length), s]); + const sPadded = Buffer.concat([Buffer.alloc(32 - s2.length), s2]); return Buffer.concat([rPadded, sPadded]); } createDPoPInterceptor(middlewareStack) { @@ -43116,7 +43208,7 @@ var require_dist_cjs16 = __commonJS({ var { streamCollector: streamCollector7, NodeHttpHandler: NodeHttpHandler2 } = require_dist_cjs6(); var { AwsQueryProtocol: AwsQueryProtocol2 } = (init_protocols2(), __toCommonJS(protocols_exports2)); var { Sha256 } = (init_checksum2(), __toCommonJS(checksum_exports)); - var q2 = "ref"; + var q3 = "ref"; var a5 = -1; var b6 = true; var c5 = "isSet"; @@ -43128,9 +43220,9 @@ var require_dist_cjs16 = __commonJS({ var i5 = "sigv4"; var j5 = "sts"; var k5 = "https://sts.{Region}.{PartitionResult#dnsSuffix}"; - var l3 = { [q2]: "Endpoint" }; - var m3 = { [q2]: "Region" }; - var n4 = { [q2]: d5 }; + var l3 = { [q3]: "Endpoint" }; + var m3 = { [q3]: "Region" }; + var n4 = { [q3]: d5 }; var o3 = {}; var p3 = [m3]; var _data5 = { @@ -43138,10 +43230,10 @@ var require_dist_cjs16 = __commonJS({ [c5, [l3]], [c5, p3], ["aws.partition", p3, d5], - [e5, [{ [q2]: "UseFIPS" }, b6]], - [e5, [{ [q2]: "UseDualStack" }, b6]], + [e5, [{ [q3]: "UseFIPS" }, b6]], + [e5, [{ [q3]: "UseDualStack" }, b6]], [f5, [m3, "aws-global"]], - [e5, [{ [q2]: "UseGlobalEndpoint" }, b6]], + [e5, [{ [q3]: "UseGlobalEndpoint" }, b6]], [f5, [m3, "eu-central-1"]], [e5, [{ fn: g5, argv: [n4, "supportsDualStack"] }, b6]], [e5, [{ fn: g5, argv: [n4, "supportsFIPS"] }, b6]], @@ -43361,8 +43453,8 @@ var require_dist_cjs16 = __commonJS({ let schemeId; if (name === "sigv4a") { schemeId = "aws.auth#sigv4a"; - const sigv4Present = authSchemes.find((s) => { - const name2 = s.name.toLowerCase(); + const sigv4Present = authSchemes.find((s2) => { + const name2 = s2.name.toLowerCase(); return name2 !== "sigv4a" && name2.startsWith("sigv4"); }); if (SignatureV4MultiRegion3.sigv4aDependency() === "none" && sigv4Present) { @@ -43433,7 +43525,7 @@ var require_dist_cjs16 = __commonJS({ Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } }; - var version = "3.1085.0"; + var version = "3.1090.0"; var packageInfo = { version }; @@ -44713,8 +44805,8 @@ var init_dist = __esm({ // node_modules/ms/index.js var require_ms = __commonJS({ "node_modules/ms/index.js"(exports2, module2) { - var s = 1e3; - var m3 = s * 60; + var s2 = 1e3; + var m3 = s2 * 60; var h5 = m3 * 60; var d5 = h5 * 24; var w = d5 * 7; @@ -44776,7 +44868,7 @@ var require_ms = __commonJS({ case "secs": case "sec": case "s": - return n4 * s; + return n4 * s2; case "milliseconds": case "millisecond": case "msecs": @@ -44798,8 +44890,8 @@ var require_ms = __commonJS({ if (msAbs >= m3) { return Math.round(ms / m3) + "m"; } - if (msAbs >= s) { - return Math.round(ms / s) + "s"; + if (msAbs >= s2) { + return Math.round(ms / s2) + "s"; } return ms + "ms"; } @@ -44814,8 +44906,8 @@ var require_ms = __commonJS({ if (msAbs >= m3) { return plural(ms, msAbs, m3, "minute"); } - if (msAbs >= s) { - return plural(ms, msAbs, s, "second"); + if (msAbs >= s2) { + return plural(ms, msAbs, s2, "second"); } return ms + " ms"; } @@ -45836,11 +45928,11 @@ var init_dist4 = __esm({ socket.destroy(); const fakeSocket = new net3.Socket({ writable: false }); fakeSocket.readable = true; - req.once("socket", (s) => { + req.once("socket", (s2) => { debug4("Replaying proxy buffer for failed request"); - (0, import_assert.default)(s.listenerCount("data") > 0); - s.push(buffered); - s.push(null); + (0, import_assert.default)(s2.listenerCount("data") > 0); + s2.push(buffered); + s2.push(null); }); return fakeSocket; } @@ -47894,14 +47986,14 @@ var require_helpers = __commonJS({ exports2.spanAll = spanAll; exports2.spanLeadingZeroes = spanLeadingZeroes; exports2.simpleGroup = simpleGroup; - function escapeHtml(s) { - return s.replace(/&/g, "&").replace(//g, ">").replace(/"/g, """).replace(/'/g, "'"); + function escapeHtml(s2) { + return s2.replace(/&/g, "&").replace(//g, ">").replace(/"/g, """).replace(/'/g, "'"); } - function spanAllZeroes(s) { - return escapeHtml(s).replace(/(0+)/g, '$1'); + function spanAllZeroes(s2) { + return escapeHtml(s2).replace(/(0+)/g, '$1'); } - function spanAll(s, offset = 0) { - const letters = s.split(""); + function spanAll(s2, offset = 0) { + const letters = s2.split(""); return letters.map((n4, i5) => `${spanAllZeroes(n4)}`).join(""); } function spanLeadingZeroesSimple(group4) { @@ -54030,8 +54122,8 @@ var require_util10 = __commonJS({ var obj = /* @__PURE__ */ Object.create(null); return !("__proto__" in obj); })(); - function identity(s) { - return s; + function identity(s2) { + return s2; } function toSetString(aStr) { if (isProtoString(aStr)) { @@ -54047,19 +54139,19 @@ var require_util10 = __commonJS({ return aStr; } exports2.fromSetString = supportsNullProto ? identity : fromSetString; - function isProtoString(s) { - if (!s) { + function isProtoString(s2) { + if (!s2) { return false; } - var length = s.length; + var length = s2.length; if (length < 9) { return false; } - if (s.charCodeAt(length - 1) !== 95 || s.charCodeAt(length - 2) !== 95 || s.charCodeAt(length - 3) !== 111 || s.charCodeAt(length - 4) !== 116 || s.charCodeAt(length - 5) !== 111 || s.charCodeAt(length - 6) !== 114 || s.charCodeAt(length - 7) !== 112 || s.charCodeAt(length - 8) !== 95 || s.charCodeAt(length - 9) !== 95) { + if (s2.charCodeAt(length - 1) !== 95 || s2.charCodeAt(length - 2) !== 95 || s2.charCodeAt(length - 3) !== 111 || s2.charCodeAt(length - 4) !== 116 || s2.charCodeAt(length - 5) !== 111 || s2.charCodeAt(length - 6) !== 114 || s2.charCodeAt(length - 7) !== 112 || s2.charCodeAt(length - 8) !== 95 || s2.charCodeAt(length - 9) !== 95) { return false; } for (var i5 = length - 10; i5 >= 0; i5--) { - if (s.charCodeAt(i5) !== 36) { + if (s2.charCodeAt(i5) !== 36) { return false; } } @@ -54648,9 +54740,9 @@ var require_quick_sort = __commonJS({ } } swap(ary, i5 + 1, j5); - var q2 = i5 + 1; - doQuickSort(ary, comparator, p3, q2 - 1); - doQuickSort(ary, comparator, q2 + 1, r5); + var q3 = i5 + 1; + doQuickSort(ary, comparator, p3, q3 - 1); + doQuickSort(ary, comparator, q3 + 1, r5); } } exports2.quickSort = function(ary, comparator) { @@ -54809,8 +54901,8 @@ var require_source_map_consumer = __commonJS({ }); this._names = ArraySet.fromArray(names.map(String), true); this._sources = ArraySet.fromArray(sources, true); - this._absoluteSources = this._sources.toArray().map(function(s) { - return util.computeSourceURL(sourceRoot, s, aSourceMapURL); + this._absoluteSources = this._sources.toArray().map(function(s2) { + return util.computeSourceURL(sourceRoot, s2, aSourceMapURL); }); this.sourceRoot = sourceRoot; this.sourcesContent = sourcesContent; @@ -54847,8 +54939,8 @@ var require_source_map_consumer = __commonJS({ ); smc.file = aSourceMap._file; smc._sourceMapURL = aSourceMapURL; - smc._absoluteSources = smc._sources.toArray().map(function(s) { - return util.computeSourceURL(smc.sourceRoot, s, aSourceMapURL); + smc._absoluteSources = smc._sources.toArray().map(function(s2) { + return util.computeSourceURL(smc.sourceRoot, s2, aSourceMapURL); }); var generatedMappings = aSourceMap._mappings.toArray().slice(); var destGeneratedMappings = smc.__generatedMappings = []; @@ -55115,11 +55207,11 @@ var require_source_map_consumer = __commonJS({ line: -1, column: 0 }; - this._sections = sections.map(function(s) { - if (s.url) { + this._sections = sections.map(function(s2) { + if (s2.url) { throw new Error("Support for url field in sections not implemented."); } - var offset = util.getArg(s, "offset"); + var offset = util.getArg(s2, "offset"); var offsetLine = util.getArg(offset, "line"); var offsetColumn = util.getArg(offset, "column"); if (offsetLine < lastOffset.line || offsetLine === lastOffset.line && offsetColumn < lastOffset.column) { @@ -55133,7 +55225,7 @@ var require_source_map_consumer = __commonJS({ generatedLine: offsetLine + 1, generatedColumn: offsetColumn + 1 }, - consumer: new SourceMapConsumer(util.getArg(s, "map"), aSourceMapURL) + consumer: new SourceMapConsumer(util.getArg(s2, "map"), aSourceMapURL) }; }); } @@ -55183,8 +55275,8 @@ var require_source_map_consumer = __commonJS({ }); }; IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = function IndexedSourceMapConsumer_hasContentsOfAllSources() { - return this._sections.every(function(s) { - return s.consumer.hasContentsOfAllSources(); + return this._sections.every(function(s2) { + return s2.consumer.hasContentsOfAllSources(); }); }; IndexedSourceMapConsumer.prototype.sourceContentFor = function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { @@ -63968,14 +64060,14 @@ function __extends(d5, b6) { } d5.prototype = b6 === null ? Object.create(b6) : (__.prototype = b6.prototype, new __()); } -function __rest(s, e5) { +function __rest(s2, e5) { var t = {}; - for (var p3 in s) if (Object.prototype.hasOwnProperty.call(s, p3) && e5.indexOf(p3) < 0) - t[p3] = s[p3]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i5 = 0, p3 = Object.getOwnPropertySymbols(s); i5 < p3.length; i5++) { - if (e5.indexOf(p3[i5]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p3[i5])) - t[p3[i5]] = s[p3[i5]]; + for (var p3 in s2) if (Object.prototype.hasOwnProperty.call(s2, p3) && e5.indexOf(p3) < 0) + t[p3] = s2[p3]; + if (s2 != null && typeof Object.getOwnPropertySymbols === "function") + for (var i5 = 0, p3 = Object.getOwnPropertySymbols(s2); i5 < p3.length; i5++) { + if (e5.indexOf(p3[i5]) < 0 && Object.prototype.propertyIsEnumerable.call(s2, p3[i5])) + t[p3[i5]] = s2[p3[i5]]; } return t; } @@ -64139,7 +64231,7 @@ function __exportStar(m3, o3) { for (var p3 in m3) if (p3 !== "default" && !Object.prototype.hasOwnProperty.call(o3, p3)) __createBinding(o3, m3, p3); } function __values(o3) { - var s = typeof Symbol === "function" && Symbol.iterator, m3 = s && o3[s], i5 = 0; + var s2 = typeof Symbol === "function" && Symbol.iterator, m3 = s2 && o3[s2], i5 = 0; if (m3) return m3.call(o3); if (o3 && typeof o3.length === "number") return { next: function() { @@ -64147,7 +64239,7 @@ function __values(o3) { return { value: o3 && o3[i5++], done: !o3 }; } }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + throw new TypeError(s2 ? "Object is not iterable." : "Symbol.iterator is not defined."); } function __read(o3, n4) { var m3 = typeof Symbol === "function" && o3[Symbol.iterator]; @@ -64172,8 +64264,8 @@ function __spread() { return ar; } function __spreadArrays() { - for (var s = 0, i5 = 0, il = arguments.length; i5 < il; i5++) s += arguments[i5].length; - for (var r5 = Array(s), k5 = 0, i5 = 0; i5 < il; i5++) + for (var s2 = 0, i5 = 0, il = arguments.length; i5 < il; i5++) s2 += arguments[i5].length; + for (var r5 = Array(s2), k5 = 0, i5 = 0; i5 < il; i5++) for (var a5 = arguments[i5], j5 = 0, jl = a5.length; j5 < jl; j5++, k5++) r5[k5] = a5[j5]; return r5; @@ -64192,7 +64284,7 @@ function __await(v) { } function __asyncGenerator(thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g5 = generator.apply(thisArg, _arguments || []), i5, q2 = []; + var g5 = generator.apply(thisArg, _arguments || []), i5, q3 = []; return i5 = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i5[Symbol.asyncIterator] = function() { return this; }, i5; @@ -64205,7 +64297,7 @@ function __asyncGenerator(thisArg, _arguments, generator) { if (g5[n4]) { i5[n4] = function(v) { return new Promise(function(a5, b6) { - q2.push([n4, v, a5, b6]) > 1 || resume3(n4, v); + q3.push([n4, v, a5, b6]) > 1 || resume3(n4, v); }); }; if (f5) i5[n4] = f5(i5[n4]); @@ -64215,11 +64307,11 @@ function __asyncGenerator(thisArg, _arguments, generator) { try { step(g5[n4](v)); } catch (e5) { - settle(q2[0][3], e5); + settle(q3[0][3], e5); } } function step(r5) { - r5.value instanceof __await ? Promise.resolve(r5.value.v).then(fulfill, reject) : settle(q2[0][2], r5); + r5.value instanceof __await ? Promise.resolve(r5.value.v).then(fulfill, reject) : settle(q3[0][2], r5); } function fulfill(value) { resume3("next", value); @@ -64228,7 +64320,7 @@ function __asyncGenerator(thisArg, _arguments, generator) { resume3("throw", value); } function settle(f5, v) { - if (f5(v), q2.shift(), q2.length) resume3(q2[0][0], q2[0][1]); + if (f5(v), q3.shift(), q3.length) resume3(q3[0][0], q3[0][1]); } } function __asyncDelegator(o3) { @@ -64330,23 +64422,23 @@ function __disposeResources(env2) { env2.error = env2.hasError ? new _SuppressedError(e5, env2.error, "An error was suppressed during disposal.") : e5; env2.hasError = true; } - var r5, s = 0; + var r5, s2 = 0; function next() { while (r5 = env2.stack.pop()) { try { - if (!r5.async && s === 1) return s = 0, env2.stack.push(r5), Promise.resolve().then(next); + if (!r5.async && s2 === 1) return s2 = 0, env2.stack.push(r5), Promise.resolve().then(next); if (r5.dispose) { var result = r5.dispose.call(r5.value); - if (r5.async) return s |= 2, Promise.resolve(result).then(next, function(e5) { + if (r5.async) return s2 |= 2, Promise.resolve(result).then(next, function(e5) { fail(e5); return next(); }); - } else s |= 1; + } else s2 |= 1; } catch (e5) { fail(e5); } } - if (s === 1) return env2.hasError ? Promise.reject(env2.error) : Promise.resolve(); + if (s2 === 1) return env2.hasError ? Promise.reject(env2.error) : Promise.resolve(); if (env2.hasError) throw env2.error; } return next(); @@ -64372,9 +64464,9 @@ var init_tslib_es6 = __esm({ }; __assign = function() { __assign = Object.assign || function __assign2(t) { - for (var s, i5 = 1, n4 = arguments.length; i5 < n4; i5++) { - s = arguments[i5]; - for (var p3 in s) if (Object.prototype.hasOwnProperty.call(s, p3)) t[p3] = s[p3]; + for (var s2, i5 = 1, n4 = arguments.length; i5 < n4; i5++) { + s2 = arguments[i5]; + for (var p3 in s2) if (Object.prototype.hasOwnProperty.call(s2, p3)) t[p3] = s2[p3]; } return t; }; @@ -67862,30 +67954,30 @@ var require_netmask4 = __commonJS({ var chr0 = "0".charCodeAt(0); var chra = "a".charCodeAt(0); var chrA = "A".charCodeAt(0); - function parseNum(s) { + function parseNum(s2) { let n4 = 0; let base = 10; let dmax = "9"; let i5 = 0; - if (s.length > 1 && s[i5] === "0") { - if (s[i5 + 1] === "x" || s[i5 + 1] === "X") { + if (s2.length > 1 && s2[i5] === "0") { + if (s2[i5 + 1] === "x" || s2[i5 + 1] === "X") { i5 += 2; base = 16; - } else if ("0" <= s[i5 + 1] && s[i5 + 1] <= "9") { + } else if ("0" <= s2[i5 + 1] && s2[i5 + 1] <= "9") { i5++; base = 8; dmax = "7"; } } const start = i5; - while (i5 < s.length) { - if ("0" <= s[i5] && s[i5] <= dmax) { - n4 = n4 * base + (s.charCodeAt(i5) - chr0) >>> 0; + while (i5 < s2.length) { + if ("0" <= s2[i5] && s2[i5] <= dmax) { + n4 = n4 * base + (s2.charCodeAt(i5) - chr0) >>> 0; } else if (base === 16) { - if ("a" <= s[i5] && s[i5] <= "f") { - n4 = n4 * base + (10 + s.charCodeAt(i5) - chra) >>> 0; - } else if ("A" <= s[i5] && s[i5] <= "F") { - n4 = n4 * base + (10 + s.charCodeAt(i5) - chrA) >>> 0; + if ("a" <= s2[i5] && s2[i5] <= "f") { + n4 = n4 * base + (10 + s2.charCodeAt(i5) - chra) >>> 0; + } else if ("A" <= s2[i5] && s2[i5] <= "F") { + n4 = n4 * base + (10 + s2.charCodeAt(i5) - chrA) >>> 0; } else { break; } @@ -68990,23 +69082,23 @@ var init_dist10 = __esm({ env2.error = env2.hasError ? new SuppressedError2(e5, env2.error, "An error was suppressed during disposal.") : e5; env2.hasError = true; } - var r5, s = 0; + var r5, s2 = 0; function next() { while (r5 = env2.stack.pop()) { try { - if (!r5.async && s === 1) return s = 0, env2.stack.push(r5), Promise.resolve().then(next); + if (!r5.async && s2 === 1) return s2 = 0, env2.stack.push(r5), Promise.resolve().then(next); if (r5.dispose) { var result = r5.dispose.call(r5.value); - if (r5.async) return s |= 2, Promise.resolve(result).then(next, function(e5) { + if (r5.async) return s2 |= 2, Promise.resolve(result).then(next, function(e5) { fail(e5); return next(); }); - } else s |= 1; + } else s2 |= 1; } catch (e5) { fail(e5); } } - if (s === 1) return env2.hasError ? Promise.reject(env2.error) : Promise.resolve(); + if (s2 === 1) return env2.hasError ? Promise.reject(env2.error) : Promise.resolve(); if (env2.hasError) throw env2.error; } return next(); @@ -71151,11 +71243,11 @@ var init_dist12 = __esm({ socket.destroy(); const fakeSocket = new net8.Socket({ writable: false }); fakeSocket.readable = true; - req.once("socket", (s) => { + req.once("socket", (s2) => { debug13("Replaying proxy buffer for failed request"); - (0, import_assert2.default)(s.listenerCount("data") > 0); - s.push(buffered); - s.push(null); + (0, import_assert2.default)(s2.listenerCount("data") > 0); + s2.push(buffered); + s2.push(null); }); return fakeSocket; } @@ -71483,12 +71575,12 @@ var init_dist14 = __esm({ return socket; } if (agent) { - const s = await agent.connect(req, opts); - if (!(s instanceof net10.Socket)) { + const s2 = await agent.connect(req, opts); + if (!(s2 instanceof net10.Socket)) { throw new Error("Expected a `net.Socket` to be returned from agent"); } - req.emit("proxy", { proxy, socket: s }); - return s; + req.emit("proxy", { proxy, socket: s2 }); + return s2; } throw new Error(`Could not determine proxy type for: ${proxy}`); } catch (err) { @@ -71580,11 +71672,11 @@ var Command = class { return cmdStr; } }; -function escapeData(s) { - return toCommandValue(s).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A"); +function escapeData(s2) { + return toCommandValue(s2).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A"); } -function escapeProperty(s) { - return toCommandValue(s).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A").replace(/:/g, "%3A").replace(/,/g, "%2C"); +function escapeProperty(s2) { + return toCommandValue(s2).replace(/%/g, "%25").replace(/\r/g, "%0D").replace(/\n/g, "%0A").replace(/:/g, "%3A").replace(/,/g, "%2C"); } // node_modules/@actions/core/lib/file-command.js @@ -73234,7 +73326,7 @@ async function assumeRoleWithCredentials(params, client) { } catch (error3) { if (error3 instanceof import_client_sts2.PackedPolicyTooLargeException) { info("Session tag size is too large; dropping droppable tags and retrying."); - const droppableKeys = new Set(DROPPABLE_TAG_SOURCES.map((s) => s.key)); + const droppableKeys = new Set(DROPPABLE_TAG_SOURCES.map((s2) => s2.key)); params.Tags = params.Tags?.filter((tag2) => !droppableKeys.has(tag2.Key ?? "")); const creds = await client.send(new import_client_sts2.AssumeRoleCommand({ ...params })); return creds; @@ -73265,8 +73357,8 @@ var DROPPABLE_TAG_SOURCES = [ ]; var PROTECTED_TAG_KEYS = /* @__PURE__ */ new Set([ "GitHub", - ...NON_DROPPABLE_TAG_SOURCES.map((s) => s.key), - ...DROPPABLE_TAG_SOURCES.map((s) => s.key) + ...NON_DROPPABLE_TAG_SOURCES.map((s2) => s2.key), + ...DROPPABLE_TAG_SOURCES.map((s2) => s2.key) ]); function parseAndValidateCustomTags(customTags, existingTags) { let parsed; @@ -74844,7 +74936,7 @@ async function run() { const specialCharacterWorkaround = getBooleanInput("special-characters-workaround", { required: false }); const useExistingCredentials = getInput("use-existing-credentials", { required: false }); let maxRetries = Number.parseInt(getInput("retry-max-attempts", { required: false })) || 12; - const expectedAccountIds = getInput("allowed-account-ids", { required: false }).split(",").map((s) => s.trim()); + const expectedAccountIds = getInput("allowed-account-ids", { required: false }).split(",").map((s2) => s2.trim()); const forceSkipOidc = getBooleanInput("force-skip-oidc", { required: false }); const noProxy = getInput("no-proxy", { required: false }); const stsEndpoint = getInput("sts-endpoint", { required: false });