@rio-cloud/cdk-v2-constructs 7.14.0 → 7.14.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/.jsii +7 -7
- package/lib/contributions/team-transport-two/datadog-synthetics/datadog-synthetics-test-custom-resource/handler.cjs +344 -272
- package/lib/datadogv2/secret-locator-custom-resource/on-create.cjs +356 -284
- package/lib/datadogv2/service-catalog-custom-resource/on-create.cjs +344 -272
- package/lib/fargate/codedeploy-custom-resources/create-deployment-is-complete.cjs +344 -272
- package/lib/fargate/codedeploy-custom-resources/create-deployment-on-create.cjs +344 -272
- package/lib/fargate/codedeploy-custom-resources/run-monitoring-test-suite-runner.cjs +344 -272
- package/node_modules/@aws-sdk/client-cloudformation/package.json +12 -12
- package/node_modules/@aws-sdk/client-codedeploy/package.json +12 -12
- package/node_modules/@aws-sdk/client-ecs/package.json +12 -12
- package/node_modules/@aws-sdk/client-organizations/package.json +12 -12
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +12 -12
- package/node_modules/@aws-sdk/client-ssm/package.json +12 -12
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +54 -21
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +54 -21
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +24 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +6 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +6 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +6 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +4 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +9 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +6 -1
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- 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 +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts +29 -49
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlText.d.ts +6 -11
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-attribute.d.ts +1 -6
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-element.d.ts +1 -6
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +3 -12
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/stringable.d.ts +3 -6
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts +1 -9
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -4
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +12 -0
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +5 -0
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +5 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +2 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +1 -1
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -3
- package/node_modules/fast-xml-parser/CHANGELOG.md +7 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +20 -12
- package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/pem.d.cts +148 -0
- package/node_modules/fast-xml-parser/package.json +3 -3
- package/node_modules/fast-xml-parser/src/fxp.d.ts +13 -11
- package/node_modules/fast-xml-parser/src/pem.d.ts +135 -0
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +26 -17
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +6 -6
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +22 -16
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +2 -2
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +10 -11
- package/node_modules/path-expression-matcher/README.md +98 -13
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +188 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
- package/node_modules/path-expression-matcher/package.json +2 -2
- package/node_modules/path-expression-matcher/src/Matcher.js +84 -0
- package/node_modules/path-expression-matcher/src/index.d.ts +152 -0
- package/package.json +7 -7
- package/version.json +1 -1
|
@@ -10408,6 +10408,7 @@ var init_ProtocolLib = __esm({
|
|
|
10408
10408
|
import_smithy_client = __toESM(require_dist_cjs25());
|
|
10409
10409
|
ProtocolLib = class {
|
|
10410
10410
|
queryCompat;
|
|
10411
|
+
errorRegistry;
|
|
10411
10412
|
constructor(queryCompat = false) {
|
|
10412
10413
|
this.queryCompat = queryCompat;
|
|
10413
10414
|
}
|
|
@@ -10439,30 +10440,46 @@ var init_ProtocolLib = __esm({
|
|
|
10439
10440
|
}
|
|
10440
10441
|
}
|
|
10441
10442
|
async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) {
|
|
10442
|
-
let namespace = defaultNamespace;
|
|
10443
10443
|
let errorName = errorIdentifier;
|
|
10444
10444
|
if (errorIdentifier.includes("#")) {
|
|
10445
|
-
[
|
|
10445
|
+
[, errorName] = errorIdentifier.split("#");
|
|
10446
10446
|
}
|
|
10447
10447
|
const errorMetadata = {
|
|
10448
10448
|
$metadata: metadata,
|
|
10449
10449
|
$fault: response.statusCode < 500 ? "client" : "server"
|
|
10450
10450
|
};
|
|
10451
|
-
|
|
10451
|
+
if (!this.errorRegistry) {
|
|
10452
|
+
throw new Error("@aws-sdk/core/protocols - error handler not initialized.");
|
|
10453
|
+
}
|
|
10452
10454
|
try {
|
|
10453
|
-
const errorSchema = getErrorSchema?.(
|
|
10455
|
+
const errorSchema = getErrorSchema?.(this.errorRegistry, errorName) ?? this.errorRegistry.getSchema(errorIdentifier);
|
|
10454
10456
|
return { errorSchema, errorMetadata };
|
|
10455
10457
|
} catch (e5) {
|
|
10456
10458
|
dataObject.message = dataObject.message ?? dataObject.Message ?? "UnknownError";
|
|
10457
|
-
const synthetic =
|
|
10459
|
+
const synthetic = this.errorRegistry;
|
|
10458
10460
|
const baseExceptionSchema = synthetic.getBaseException();
|
|
10459
10461
|
if (baseExceptionSchema) {
|
|
10460
10462
|
const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;
|
|
10461
10463
|
throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject);
|
|
10462
10464
|
}
|
|
10463
|
-
|
|
10465
|
+
const d5 = dataObject;
|
|
10466
|
+
const message = d5?.message ?? d5?.Message ?? d5?.Error?.Message ?? d5?.Error?.message;
|
|
10467
|
+
throw this.decorateServiceException(Object.assign(new Error(message), {
|
|
10468
|
+
name: errorName
|
|
10469
|
+
}, errorMetadata), dataObject);
|
|
10464
10470
|
}
|
|
10465
10471
|
}
|
|
10472
|
+
compose(composite, errorIdentifier, defaultNamespace) {
|
|
10473
|
+
let namespace = defaultNamespace;
|
|
10474
|
+
if (errorIdentifier.includes("#")) {
|
|
10475
|
+
[namespace] = errorIdentifier.split("#");
|
|
10476
|
+
}
|
|
10477
|
+
const staticRegistry = TypeRegistry.for(namespace);
|
|
10478
|
+
const defaultSyntheticRegistry = TypeRegistry.for("smithy.ts.sdk.synthetic." + defaultNamespace);
|
|
10479
|
+
composite.copyFrom(staticRegistry);
|
|
10480
|
+
composite.copyFrom(defaultSyntheticRegistry);
|
|
10481
|
+
this.errorRegistry = composite;
|
|
10482
|
+
}
|
|
10466
10483
|
decorateServiceException(exception, additions = {}) {
|
|
10467
10484
|
if (this.queryCompat) {
|
|
10468
10485
|
const msg = exception.Message ?? additions.Message;
|
|
@@ -10534,8 +10551,8 @@ var init_AwsSmithyRpcV2CborProtocol = __esm({
|
|
|
10534
10551
|
AwsSmithyRpcV2CborProtocol = class extends SmithyRpcV2CborProtocol {
|
|
10535
10552
|
awsQueryCompatible;
|
|
10536
10553
|
mixin;
|
|
10537
|
-
constructor({ defaultNamespace, awsQueryCompatible }) {
|
|
10538
|
-
super({ defaultNamespace });
|
|
10554
|
+
constructor({ defaultNamespace, errorTypeRegistries: errorTypeRegistries5, awsQueryCompatible }) {
|
|
10555
|
+
super({ defaultNamespace, errorTypeRegistries: errorTypeRegistries5 });
|
|
10539
10556
|
this.awsQueryCompatible = !!awsQueryCompatible;
|
|
10540
10557
|
this.mixin = new ProtocolLib(this.awsQueryCompatible);
|
|
10541
10558
|
}
|
|
@@ -10557,10 +10574,11 @@ var init_AwsSmithyRpcV2CborProtocol = __esm({
|
|
|
10557
10574
|
}
|
|
10558
10575
|
return loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
|
|
10559
10576
|
})();
|
|
10577
|
+
this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace);
|
|
10560
10578
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : void 0);
|
|
10561
10579
|
const ns = NormalizedSchema.of(errorSchema);
|
|
10562
|
-
const message = dataObject.message ?? dataObject.Message ?? "
|
|
10563
|
-
const ErrorCtor =
|
|
10580
|
+
const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
|
|
10581
|
+
const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
|
|
10564
10582
|
const exception = new ErrorCtor(message);
|
|
10565
10583
|
const output = {};
|
|
10566
10584
|
for (const [name, member2] of ns.structIterator()) {
|
|
@@ -11216,9 +11234,10 @@ var init_AwsJsonRpcProtocol = __esm({
|
|
|
11216
11234
|
codec;
|
|
11217
11235
|
mixin;
|
|
11218
11236
|
awsQueryCompatible;
|
|
11219
|
-
constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec }) {
|
|
11237
|
+
constructor({ defaultNamespace, errorTypeRegistries: errorTypeRegistries5, serviceTarget, awsQueryCompatible, jsonCodec }) {
|
|
11220
11238
|
super({
|
|
11221
|
-
defaultNamespace
|
|
11239
|
+
defaultNamespace,
|
|
11240
|
+
errorTypeRegistries: errorTypeRegistries5
|
|
11222
11241
|
});
|
|
11223
11242
|
this.serviceTarget = serviceTarget;
|
|
11224
11243
|
this.codec = jsonCodec ?? new JsonCodec({
|
|
@@ -11258,10 +11277,11 @@ var init_AwsJsonRpcProtocol = __esm({
|
|
|
11258
11277
|
this.mixin.setQueryCompatError(dataObject, response);
|
|
11259
11278
|
}
|
|
11260
11279
|
const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
|
|
11280
|
+
this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
|
|
11261
11281
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : void 0);
|
|
11262
11282
|
const ns = NormalizedSchema.of(errorSchema);
|
|
11263
|
-
const message = dataObject.message ?? dataObject.Message ?? "
|
|
11264
|
-
const ErrorCtor =
|
|
11283
|
+
const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
|
|
11284
|
+
const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
|
|
11265
11285
|
const exception = new ErrorCtor(message);
|
|
11266
11286
|
const output = {};
|
|
11267
11287
|
for (const [name, member2] of ns.structIterator()) {
|
|
@@ -11288,9 +11308,10 @@ var init_AwsJson1_0Protocol = __esm({
|
|
|
11288
11308
|
"use strict";
|
|
11289
11309
|
init_AwsJsonRpcProtocol();
|
|
11290
11310
|
AwsJson1_0Protocol = class extends AwsJsonRpcProtocol {
|
|
11291
|
-
constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec }) {
|
|
11311
|
+
constructor({ defaultNamespace, errorTypeRegistries: errorTypeRegistries5, serviceTarget, awsQueryCompatible, jsonCodec }) {
|
|
11292
11312
|
super({
|
|
11293
11313
|
defaultNamespace,
|
|
11314
|
+
errorTypeRegistries: errorTypeRegistries5,
|
|
11294
11315
|
serviceTarget,
|
|
11295
11316
|
awsQueryCompatible,
|
|
11296
11317
|
jsonCodec
|
|
@@ -11316,9 +11337,10 @@ var init_AwsJson1_1Protocol = __esm({
|
|
|
11316
11337
|
"use strict";
|
|
11317
11338
|
init_AwsJsonRpcProtocol();
|
|
11318
11339
|
AwsJson1_1Protocol = class extends AwsJsonRpcProtocol {
|
|
11319
|
-
constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec }) {
|
|
11340
|
+
constructor({ defaultNamespace, errorTypeRegistries: errorTypeRegistries5, serviceTarget, awsQueryCompatible, jsonCodec }) {
|
|
11320
11341
|
super({
|
|
11321
11342
|
defaultNamespace,
|
|
11343
|
+
errorTypeRegistries: errorTypeRegistries5,
|
|
11322
11344
|
serviceTarget,
|
|
11323
11345
|
awsQueryCompatible,
|
|
11324
11346
|
jsonCodec
|
|
@@ -11352,9 +11374,10 @@ var init_AwsRestJsonProtocol = __esm({
|
|
|
11352
11374
|
deserializer;
|
|
11353
11375
|
codec;
|
|
11354
11376
|
mixin = new ProtocolLib();
|
|
11355
|
-
constructor({ defaultNamespace }) {
|
|
11377
|
+
constructor({ defaultNamespace, errorTypeRegistries: errorTypeRegistries5 }) {
|
|
11356
11378
|
super({
|
|
11357
|
-
defaultNamespace
|
|
11379
|
+
defaultNamespace,
|
|
11380
|
+
errorTypeRegistries: errorTypeRegistries5
|
|
11358
11381
|
});
|
|
11359
11382
|
const settings = {
|
|
11360
11383
|
timestampFormat: {
|
|
@@ -11404,10 +11427,11 @@ var init_AwsRestJsonProtocol = __esm({
|
|
|
11404
11427
|
}
|
|
11405
11428
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
11406
11429
|
const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? "Unknown";
|
|
11430
|
+
this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
|
|
11407
11431
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
11408
11432
|
const ns = NormalizedSchema.of(errorSchema);
|
|
11409
|
-
const message = dataObject.message ?? dataObject.Message ?? "
|
|
11410
|
-
const ErrorCtor =
|
|
11433
|
+
const message = dataObject.message ?? dataObject.Message ?? "UnknownError";
|
|
11434
|
+
const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
|
|
11411
11435
|
const exception = new ErrorCtor(message);
|
|
11412
11436
|
await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
|
|
11413
11437
|
const output = {};
|
|
@@ -11456,7 +11480,7 @@ var require_fxp = __commonJS({
|
|
|
11456
11480
|
}, o: (t6, e6) => Object.prototype.hasOwnProperty.call(t6, e6), r: (t6) => {
|
|
11457
11481
|
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t6, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t6, "__esModule", { value: true });
|
|
11458
11482
|
} }, e5 = {};
|
|
11459
|
-
t5.r(e5), t5.d(e5, { XMLBuilder: () =>
|
|
11483
|
+
t5.r(e5), t5.d(e5, { XMLBuilder: () => $t, XMLParser: () => gt, XMLValidator: () => It });
|
|
11460
11484
|
const i5 = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", n5 = new RegExp("^[" + i5 + "][" + i5 + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");
|
|
11461
11485
|
function s5(t6, e6) {
|
|
11462
11486
|
const i6 = [];
|
|
@@ -11653,15 +11677,15 @@ var require_fxp = __commonJS({
|
|
|
11653
11677
|
if (a5.some((t7) => i6 === t7.toLowerCase())) throw new Error(`[SECURITY] Invalid ${e6}: "${t6}" is a reserved JavaScript keyword that could cause prototype pollution`);
|
|
11654
11678
|
}
|
|
11655
11679
|
function A2(t6) {
|
|
11656
|
-
return "boolean" == typeof t6 ? { enabled: t6, maxEntitySize: 1e4, maxExpansionDepth: 10, maxTotalExpansions: 1e3, maxExpandedLength: 1e5, maxEntityCount: 100, allowedTags: null, tagFilter: null } : "object" == typeof t6 && null !== t6 ? { enabled: false !== t6.enabled, maxEntitySize: t6.maxEntitySize ?? 1e4, maxExpansionDepth: t6.maxExpansionDepth ?? 10, maxTotalExpansions: t6.maxTotalExpansions ?? 1e3, maxExpandedLength: t6.maxExpandedLength ?? 1e5, maxEntityCount: t6.maxEntityCount ?? 100, allowedTags: t6.allowedTags ?? null, tagFilter: t6.tagFilter ?? null } : A2(true);
|
|
11680
|
+
return "boolean" == typeof t6 ? { enabled: t6, maxEntitySize: 1e4, maxExpansionDepth: 10, maxTotalExpansions: 1e3, maxExpandedLength: 1e5, maxEntityCount: 100, allowedTags: null, tagFilter: null } : "object" == typeof t6 && null !== t6 ? { enabled: false !== t6.enabled, maxEntitySize: Math.max(1, t6.maxEntitySize ?? 1e4), maxExpansionDepth: Math.max(1, t6.maxExpansionDepth ?? 10), maxTotalExpansions: Math.max(1, t6.maxTotalExpansions ?? 1e3), maxExpandedLength: Math.max(1, t6.maxExpandedLength ?? 1e5), maxEntityCount: Math.max(1, t6.maxEntityCount ?? 100), allowedTags: t6.allowedTags ?? null, tagFilter: t6.tagFilter ?? null } : A2(true);
|
|
11657
11681
|
}
|
|
11658
|
-
const
|
|
11682
|
+
const O = function(t6) {
|
|
11659
11683
|
const e6 = Object.assign({}, P, t6), i6 = [{ value: e6.attributeNamePrefix, name: "attributeNamePrefix" }, { value: e6.attributesGroupName, name: "attributesGroupName" }, { value: e6.textNodeName, name: "textNodeName" }, { value: e6.cdataPropName, name: "cdataPropName" }, { value: e6.commentPropName, name: "commentPropName" }];
|
|
11660
11684
|
for (const { value: t7, name: e7 } of i6) t7 && S(t7, e7);
|
|
11661
11685
|
return null === e6.onDangerousProperty && (e6.onDangerousProperty = T), e6.processEntities = A2(e6.processEntities), e6.stopNodes && Array.isArray(e6.stopNodes) && (e6.stopNodes = e6.stopNodes.map((t7) => "string" == typeof t7 && t7.startsWith("*.") ? ".." + t7.substring(2) : t7)), e6;
|
|
11662
11686
|
};
|
|
11663
|
-
let
|
|
11664
|
-
|
|
11687
|
+
let C2;
|
|
11688
|
+
C2 = "function" != typeof Symbol ? "@@xmlMetadata" : Symbol("XML Node Metadata");
|
|
11665
11689
|
class $ {
|
|
11666
11690
|
constructor(t6) {
|
|
11667
11691
|
this.tagname = t6, this.child = [], this[":@"] = /* @__PURE__ */ Object.create(null);
|
|
@@ -11670,10 +11694,10 @@ var require_fxp = __commonJS({
|
|
|
11670
11694
|
"__proto__" === t6 && (t6 = "#__proto__"), this.child.push({ [t6]: e6 });
|
|
11671
11695
|
}
|
|
11672
11696
|
addChild(t6, e6) {
|
|
11673
|
-
"__proto__" === t6.tagname && (t6.tagname = "#__proto__"), t6[":@"] && Object.keys(t6[":@"]).length > 0 ? this.child.push({ [t6.tagname]: t6.child, ":@": t6[":@"] }) : this.child.push({ [t6.tagname]: t6.child }), void 0 !== e6 && (this.child[this.child.length - 1][
|
|
11697
|
+
"__proto__" === t6.tagname && (t6.tagname = "#__proto__"), t6[":@"] && Object.keys(t6[":@"]).length > 0 ? this.child.push({ [t6.tagname]: t6.child, ":@": t6[":@"] }) : this.child.push({ [t6.tagname]: t6.child }), void 0 !== e6 && (this.child[this.child.length - 1][C2] = { startIndex: e6 });
|
|
11674
11698
|
}
|
|
11675
11699
|
static getMetaDataSymbol() {
|
|
11676
|
-
return
|
|
11700
|
+
return C2;
|
|
11677
11701
|
}
|
|
11678
11702
|
}
|
|
11679
11703
|
class I2 {
|
|
@@ -11691,24 +11715,24 @@ var require_fxp = __commonJS({
|
|
|
11691
11715
|
if (o6 ? "-" === t6[e6 - 1] && "-" === t6[e6 - 2] && (o6 = false, s6--) : s6--, 0 === s6) break;
|
|
11692
11716
|
} else "[" === t6[e6] ? r6 = true : a6 += t6[e6];
|
|
11693
11717
|
else {
|
|
11694
|
-
if (r6 &&
|
|
11718
|
+
if (r6 && M(t6, "!ENTITY", e6)) {
|
|
11695
11719
|
let s7, r7;
|
|
11696
11720
|
if (e6 += 7, [s7, r7, e6] = this.readEntityExp(t6, e6 + 1, this.suppressValidationErr), -1 === r7.indexOf("&")) {
|
|
11697
|
-
if (false !== this.options.enabled && this.options.maxEntityCount && n6 >= this.options.maxEntityCount) throw new Error(`Entity count (${n6 + 1}) exceeds maximum allowed (${this.options.maxEntityCount})`);
|
|
11721
|
+
if (false !== this.options.enabled && null != this.options.maxEntityCount && n6 >= this.options.maxEntityCount) throw new Error(`Entity count (${n6 + 1}) exceeds maximum allowed (${this.options.maxEntityCount})`);
|
|
11698
11722
|
const t7 = s7.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
11699
11723
|
i6[s7] = { regx: RegExp(`&${t7};`, "g"), val: r7 }, n6++;
|
|
11700
11724
|
}
|
|
11701
|
-
} else if (r6 &&
|
|
11725
|
+
} else if (r6 && M(t6, "!ELEMENT", e6)) {
|
|
11702
11726
|
e6 += 8;
|
|
11703
11727
|
const { index: i7 } = this.readElementExp(t6, e6 + 1);
|
|
11704
11728
|
e6 = i7;
|
|
11705
|
-
} else if (r6 &&
|
|
11706
|
-
else if (r6 &&
|
|
11729
|
+
} else if (r6 && M(t6, "!ATTLIST", e6)) e6 += 8;
|
|
11730
|
+
else if (r6 && M(t6, "!NOTATION", e6)) {
|
|
11707
11731
|
e6 += 9;
|
|
11708
11732
|
const { index: i7 } = this.readNotationExp(t6, e6 + 1, this.suppressValidationErr);
|
|
11709
11733
|
e6 = i7;
|
|
11710
11734
|
} else {
|
|
11711
|
-
if (!
|
|
11735
|
+
if (!M(t6, "!--", e6)) throw new Error("Invalid DOCTYPE");
|
|
11712
11736
|
o6 = true;
|
|
11713
11737
|
}
|
|
11714
11738
|
s6++, a6 = "";
|
|
@@ -11718,99 +11742,103 @@ var require_fxp = __commonJS({
|
|
|
11718
11742
|
return { entities: i6, i: e6 };
|
|
11719
11743
|
}
|
|
11720
11744
|
readEntityExp(t6, e6) {
|
|
11721
|
-
e6 = j5(t6, e6);
|
|
11722
|
-
|
|
11723
|
-
|
|
11724
|
-
if (
|
|
11745
|
+
const i6 = e6 = j5(t6, e6);
|
|
11746
|
+
for (; e6 < t6.length && !/\s/.test(t6[e6]) && '"' !== t6[e6] && "'" !== t6[e6]; ) e6++;
|
|
11747
|
+
let n6 = t6.substring(i6, e6);
|
|
11748
|
+
if (_(n6), e6 = j5(t6, e6), !this.suppressValidationErr) {
|
|
11725
11749
|
if ("SYSTEM" === t6.substring(e6, e6 + 6).toUpperCase()) throw new Error("External entities are not supported");
|
|
11726
11750
|
if ("%" === t6[e6]) throw new Error("Parameter entities are not supported");
|
|
11727
11751
|
}
|
|
11728
|
-
let
|
|
11729
|
-
if ([e6,
|
|
11730
|
-
return [
|
|
11752
|
+
let s6 = "";
|
|
11753
|
+
if ([e6, s6] = this.readIdentifierVal(t6, e6, "entity"), false !== this.options.enabled && null != this.options.maxEntitySize && s6.length > this.options.maxEntitySize) throw new Error(`Entity "${n6}" size (${s6.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);
|
|
11754
|
+
return [n6, s6, --e6];
|
|
11731
11755
|
}
|
|
11732
11756
|
readNotationExp(t6, e6) {
|
|
11733
|
-
e6 = j5(t6, e6);
|
|
11734
|
-
|
|
11735
|
-
|
|
11736
|
-
!this.suppressValidationErr &&
|
|
11737
|
-
const
|
|
11738
|
-
if (!this.suppressValidationErr && "SYSTEM" !==
|
|
11739
|
-
e6 +=
|
|
11740
|
-
let
|
|
11741
|
-
if ("PUBLIC" ===
|
|
11742
|
-
else if ("SYSTEM" ===
|
|
11743
|
-
return { notationName:
|
|
11757
|
+
const i6 = e6 = j5(t6, e6);
|
|
11758
|
+
for (; e6 < t6.length && !/\s/.test(t6[e6]); ) e6++;
|
|
11759
|
+
let n6 = t6.substring(i6, e6);
|
|
11760
|
+
!this.suppressValidationErr && _(n6), e6 = j5(t6, e6);
|
|
11761
|
+
const s6 = t6.substring(e6, e6 + 6).toUpperCase();
|
|
11762
|
+
if (!this.suppressValidationErr && "SYSTEM" !== s6 && "PUBLIC" !== s6) throw new Error(`Expected SYSTEM or PUBLIC, found "${s6}"`);
|
|
11763
|
+
e6 += s6.length, e6 = j5(t6, e6);
|
|
11764
|
+
let r6 = null, o6 = null;
|
|
11765
|
+
if ("PUBLIC" === s6) [e6, r6] = this.readIdentifierVal(t6, e6, "publicIdentifier"), '"' !== t6[e6 = j5(t6, e6)] && "'" !== t6[e6] || ([e6, o6] = this.readIdentifierVal(t6, e6, "systemIdentifier"));
|
|
11766
|
+
else if ("SYSTEM" === s6 && ([e6, o6] = this.readIdentifierVal(t6, e6, "systemIdentifier"), !this.suppressValidationErr && !o6)) throw new Error("Missing mandatory system identifier for SYSTEM notation");
|
|
11767
|
+
return { notationName: n6, publicIdentifier: r6, systemIdentifier: o6, index: --e6 };
|
|
11744
11768
|
}
|
|
11745
11769
|
readIdentifierVal(t6, e6, i6) {
|
|
11746
11770
|
let n6 = "";
|
|
11747
11771
|
const s6 = t6[e6];
|
|
11748
11772
|
if ('"' !== s6 && "'" !== s6) throw new Error(`Expected quoted string, found "${s6}"`);
|
|
11749
|
-
|
|
11750
|
-
|
|
11773
|
+
const r6 = ++e6;
|
|
11774
|
+
for (; e6 < t6.length && t6[e6] !== s6; ) e6++;
|
|
11775
|
+
if (n6 = t6.substring(r6, e6), t6[e6] !== s6) throw new Error(`Unterminated ${i6} value`);
|
|
11751
11776
|
return [++e6, n6];
|
|
11752
11777
|
}
|
|
11753
11778
|
readElementExp(t6, e6) {
|
|
11754
|
-
e6 = j5(t6, e6);
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
if (!this.suppressValidationErr && !r5(
|
|
11758
|
-
let
|
|
11759
|
-
if ("E" === t6[e6 = j5(t6, e6)] &&
|
|
11760
|
-
else if ("A" === t6[e6] &&
|
|
11779
|
+
const i6 = e6 = j5(t6, e6);
|
|
11780
|
+
for (; e6 < t6.length && !/\s/.test(t6[e6]); ) e6++;
|
|
11781
|
+
let n6 = t6.substring(i6, e6);
|
|
11782
|
+
if (!this.suppressValidationErr && !r5(n6)) throw new Error(`Invalid element name: "${n6}"`);
|
|
11783
|
+
let s6 = "";
|
|
11784
|
+
if ("E" === t6[e6 = j5(t6, e6)] && M(t6, "MPTY", e6)) e6 += 4;
|
|
11785
|
+
else if ("A" === t6[e6] && M(t6, "NY", e6)) e6 += 2;
|
|
11761
11786
|
else if ("(" === t6[e6]) {
|
|
11762
|
-
|
|
11763
|
-
|
|
11787
|
+
const i7 = ++e6;
|
|
11788
|
+
for (; e6 < t6.length && ")" !== t6[e6]; ) e6++;
|
|
11789
|
+
if (s6 = t6.substring(i7, e6), ")" !== t6[e6]) throw new Error("Unterminated content model");
|
|
11764
11790
|
} else if (!this.suppressValidationErr) throw new Error(`Invalid Element Expression, found "${t6[e6]}"`);
|
|
11765
|
-
return { elementName:
|
|
11791
|
+
return { elementName: n6, contentModel: s6.trim(), index: e6 };
|
|
11766
11792
|
}
|
|
11767
11793
|
readAttlistExp(t6, e6) {
|
|
11794
|
+
let i6 = e6 = j5(t6, e6);
|
|
11795
|
+
for (; e6 < t6.length && !/\s/.test(t6[e6]); ) e6++;
|
|
11796
|
+
let n6 = t6.substring(i6, e6);
|
|
11797
|
+
for (_(n6), i6 = e6 = j5(t6, e6); e6 < t6.length && !/\s/.test(t6[e6]); ) e6++;
|
|
11798
|
+
let s6 = t6.substring(i6, e6);
|
|
11799
|
+
if (!_(s6)) throw new Error(`Invalid attribute name: "${s6}"`);
|
|
11768
11800
|
e6 = j5(t6, e6);
|
|
11769
|
-
let
|
|
11770
|
-
for (; e6 < t6.length && !/\s/.test(t6[e6]); ) i6 += t6[e6], e6++;
|
|
11771
|
-
D2(i6), e6 = j5(t6, e6);
|
|
11772
|
-
let n6 = "";
|
|
11773
|
-
for (; e6 < t6.length && !/\s/.test(t6[e6]); ) n6 += t6[e6], e6++;
|
|
11774
|
-
if (!D2(n6)) throw new Error(`Invalid attribute name: "${n6}"`);
|
|
11775
|
-
e6 = j5(t6, e6);
|
|
11776
|
-
let s6 = "";
|
|
11801
|
+
let r6 = "";
|
|
11777
11802
|
if ("NOTATION" === t6.substring(e6, e6 + 8).toUpperCase()) {
|
|
11778
|
-
if (
|
|
11803
|
+
if (r6 = "NOTATION", "(" !== t6[e6 = j5(t6, e6 += 8)]) throw new Error(`Expected '(', found "${t6[e6]}"`);
|
|
11779
11804
|
e6++;
|
|
11780
11805
|
let i7 = [];
|
|
11781
11806
|
for (; e6 < t6.length && ")" !== t6[e6]; ) {
|
|
11782
|
-
|
|
11783
|
-
for (; e6 < t6.length && "|" !== t6[e6] && ")" !== t6[e6]; )
|
|
11784
|
-
|
|
11785
|
-
|
|
11807
|
+
const n7 = e6;
|
|
11808
|
+
for (; e6 < t6.length && "|" !== t6[e6] && ")" !== t6[e6]; ) e6++;
|
|
11809
|
+
let s7 = t6.substring(n7, e6);
|
|
11810
|
+
if (s7 = s7.trim(), !_(s7)) throw new Error(`Invalid notation name: "${s7}"`);
|
|
11811
|
+
i7.push(s7), "|" === t6[e6] && (e6++, e6 = j5(t6, e6));
|
|
11786
11812
|
}
|
|
11787
11813
|
if (")" !== t6[e6]) throw new Error("Unterminated list of notations");
|
|
11788
|
-
e6++,
|
|
11814
|
+
e6++, r6 += " (" + i7.join("|") + ")";
|
|
11789
11815
|
} else {
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11816
|
+
const i7 = e6;
|
|
11817
|
+
for (; e6 < t6.length && !/\s/.test(t6[e6]); ) e6++;
|
|
11818
|
+
r6 += t6.substring(i7, e6);
|
|
11819
|
+
const n7 = ["CDATA", "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", "NMTOKENS"];
|
|
11820
|
+
if (!this.suppressValidationErr && !n7.includes(r6.toUpperCase())) throw new Error(`Invalid attribute type: "${r6}"`);
|
|
11793
11821
|
}
|
|
11794
11822
|
e6 = j5(t6, e6);
|
|
11795
|
-
let
|
|
11796
|
-
return "#REQUIRED" === t6.substring(e6, e6 + 8).toUpperCase() ? (
|
|
11823
|
+
let o6 = "";
|
|
11824
|
+
return "#REQUIRED" === t6.substring(e6, e6 + 8).toUpperCase() ? (o6 = "#REQUIRED", e6 += 8) : "#IMPLIED" === t6.substring(e6, e6 + 7).toUpperCase() ? (o6 = "#IMPLIED", e6 += 7) : [e6, o6] = this.readIdentifierVal(t6, e6, "ATTLIST"), { elementName: n6, attributeName: s6, attributeType: r6, defaultValue: o6, index: e6 };
|
|
11797
11825
|
}
|
|
11798
11826
|
}
|
|
11799
11827
|
const j5 = (t6, e6) => {
|
|
11800
11828
|
for (; e6 < t6.length && /\s/.test(t6[e6]); ) e6++;
|
|
11801
11829
|
return e6;
|
|
11802
11830
|
};
|
|
11803
|
-
function
|
|
11831
|
+
function M(t6, e6, i6) {
|
|
11804
11832
|
for (let n6 = 0; n6 < e6.length; n6++) if (e6[n6] !== t6[i6 + n6 + 1]) return false;
|
|
11805
11833
|
return true;
|
|
11806
11834
|
}
|
|
11807
|
-
function
|
|
11835
|
+
function _(t6) {
|
|
11808
11836
|
if (r5(t6)) return t6;
|
|
11809
11837
|
throw new Error(`Invalid entity name ${t6}`);
|
|
11810
11838
|
}
|
|
11811
|
-
const
|
|
11812
|
-
const
|
|
11813
|
-
class
|
|
11839
|
+
const D2 = /^[-+]?0x[a-fA-F0-9]+$/, V = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, k5 = { hex: true, leadingZeros: true, decimalPoint: ".", eNotation: true, infinity: "original" };
|
|
11840
|
+
const F2 = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/, L = /* @__PURE__ */ new Set(["push", "pop", "reset", "updateCurrent", "restore"]);
|
|
11841
|
+
class G2 {
|
|
11814
11842
|
constructor(t6 = {}) {
|
|
11815
11843
|
this.separator = t6.separator || ".", this.path = [], this.siblingStacks = [];
|
|
11816
11844
|
}
|
|
@@ -11937,8 +11965,21 @@ var require_fxp = __commonJS({
|
|
|
11937
11965
|
restore(t6) {
|
|
11938
11966
|
this.path = t6.path.map((t7) => ({ ...t7 })), this.siblingStacks = t6.siblingStacks.map((t7) => new Map(t7));
|
|
11939
11967
|
}
|
|
11968
|
+
readOnly() {
|
|
11969
|
+
return new Proxy(this, { get(t6, e6, i6) {
|
|
11970
|
+
if (L.has(e6)) return () => {
|
|
11971
|
+
throw new TypeError(`Cannot call '${e6}' on a read-only Matcher. Obtain a writable instance to mutate state.`);
|
|
11972
|
+
};
|
|
11973
|
+
const n6 = Reflect.get(t6, e6, i6);
|
|
11974
|
+
return "path" === e6 || "siblingStacks" === e6 ? Object.freeze(Array.isArray(n6) ? n6.map((t7) => t7 instanceof Map ? Object.freeze(new Map(t7)) : Object.freeze({ ...t7 })) : n6) : "function" == typeof n6 ? n6.bind(t6) : n6;
|
|
11975
|
+
}, set(t6, e6) {
|
|
11976
|
+
throw new TypeError(`Cannot set property '${String(e6)}' on a read-only Matcher.`);
|
|
11977
|
+
}, deleteProperty(t6, e6) {
|
|
11978
|
+
throw new TypeError(`Cannot delete property '${String(e6)}' from a read-only Matcher.`);
|
|
11979
|
+
} });
|
|
11980
|
+
}
|
|
11940
11981
|
}
|
|
11941
|
-
class
|
|
11982
|
+
class R {
|
|
11942
11983
|
constructor(t6, e6 = {}) {
|
|
11943
11984
|
this.pattern = t6, this.separator = e6.separator || ".", this.segments = this._parse(t6), this._hasDeepWildcard = this.segments.some((t7) => "deep-wildcard" === t7.type), this._hasAttributeCondition = this.segments.some((t7) => void 0 !== t7.attrName), this._hasPositionSelector = this.segments.some((t7) => void 0 !== t7.position);
|
|
11944
11985
|
}
|
|
@@ -11993,7 +12034,7 @@ var require_fxp = __commonJS({
|
|
|
11993
12034
|
return this.pattern;
|
|
11994
12035
|
}
|
|
11995
12036
|
}
|
|
11996
|
-
function
|
|
12037
|
+
function U(t6, e6) {
|
|
11997
12038
|
if (!t6) return {};
|
|
11998
12039
|
const i6 = e6.attributesGroupName ? t6[e6.attributesGroupName] : t6;
|
|
11999
12040
|
if (!i6) return {};
|
|
@@ -12001,7 +12042,7 @@ var require_fxp = __commonJS({
|
|
|
12001
12042
|
for (const t7 in i6) t7.startsWith(e6.attributeNamePrefix) ? n6[t7.substring(e6.attributeNamePrefix.length)] = i6[t7] : n6[t7] = i6[t7];
|
|
12002
12043
|
return n6;
|
|
12003
12044
|
}
|
|
12004
|
-
function
|
|
12045
|
+
function B2(t6) {
|
|
12005
12046
|
if (!t6 || "string" != typeof t6) return;
|
|
12006
12047
|
const e6 = t6.indexOf(":");
|
|
12007
12048
|
if (-1 !== e6 && e6 > 0) {
|
|
@@ -12009,35 +12050,35 @@ var require_fxp = __commonJS({
|
|
|
12009
12050
|
if ("xmlns" !== i6) return i6;
|
|
12010
12051
|
}
|
|
12011
12052
|
}
|
|
12012
|
-
class
|
|
12053
|
+
class W {
|
|
12013
12054
|
constructor(t6) {
|
|
12014
12055
|
var e6;
|
|
12015
|
-
if (this.options = t6, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: "'" }, gt: { regex: /&(gt|#62|#x3E);/g, val: ">" }, lt: { regex: /&(lt|#60|#x3C);/g, val: "<" }, quot: { regex: /&(quot|#34|#x22);/g, val: '"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: " " }, cent: { regex: /&(cent|#162);/g, val: "\xA2" }, pound: { regex: /&(pound|#163);/g, val: "\xA3" }, yen: { regex: /&(yen|#165);/g, val: "\xA5" }, euro: { regex: /&(euro|#8364);/g, val: "\u20AC" }, copyright: { regex: /&(copy|#169);/g, val: "\xA9" }, reg: { regex: /&(reg|#174);/g, val: "\xAE" }, inr: { regex: /&(inr|#8377);/g, val: "\u20B9" }, num_dec: { regex: /&#([0-9]{1,7});/g, val: (t7, e7) =>
|
|
12056
|
+
if (this.options = t6, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: "'" }, gt: { regex: /&(gt|#62|#x3E);/g, val: ">" }, lt: { regex: /&(lt|#60|#x3C);/g, val: "<" }, quot: { regex: /&(quot|#34|#x22);/g, val: '"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: " " }, cent: { regex: /&(cent|#162);/g, val: "\xA2" }, pound: { regex: /&(pound|#163);/g, val: "\xA3" }, yen: { regex: /&(yen|#165);/g, val: "\xA5" }, euro: { regex: /&(euro|#8364);/g, val: "\u20AC" }, copyright: { regex: /&(copy|#169);/g, val: "\xA9" }, reg: { regex: /&(reg|#174);/g, val: "\xAE" }, inr: { regex: /&(inr|#8377);/g, val: "\u20B9" }, num_dec: { regex: /&#([0-9]{1,7});/g, val: (t7, e7) => rt(e7, 10, "&#") }, num_hex: { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (t7, e7) => rt(e7, 16, "&#x") } }, this.addExternalEntities = Y, this.parseXml = J2, this.parseTextData = z2, this.resolveNameSpace = X, this.buildAttributesMap = Z, this.isItStopNode = tt, this.replaceEntitiesValue = Q, this.readStopNodeData = nt, this.saveTextToParentTag = H2, this.addChild = K, this.ignoreAttributesFn = "function" == typeof (e6 = this.options.ignoreAttributes) ? e6 : Array.isArray(e6) ? (t7) => {
|
|
12016
12057
|
for (const i6 of e6) {
|
|
12017
12058
|
if ("string" == typeof i6 && t7 === i6) return true;
|
|
12018
12059
|
if (i6 instanceof RegExp && i6.test(t7)) return true;
|
|
12019
12060
|
}
|
|
12020
|
-
} : () => false, this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.matcher = new
|
|
12061
|
+
} : () => false, this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.matcher = new G2(), this.readonlyMatcher = this.matcher.readOnly(), this.isCurrentNodeStopNode = false, this.options.stopNodes && this.options.stopNodes.length > 0) {
|
|
12021
12062
|
this.stopNodeExpressions = [];
|
|
12022
12063
|
for (let t7 = 0; t7 < this.options.stopNodes.length; t7++) {
|
|
12023
12064
|
const e7 = this.options.stopNodes[t7];
|
|
12024
|
-
"string" == typeof e7 ? this.stopNodeExpressions.push(new
|
|
12065
|
+
"string" == typeof e7 ? this.stopNodeExpressions.push(new R(e7)) : e7 instanceof R && this.stopNodeExpressions.push(e7);
|
|
12025
12066
|
}
|
|
12026
12067
|
}
|
|
12027
12068
|
}
|
|
12028
12069
|
}
|
|
12029
|
-
function
|
|
12070
|
+
function Y(t6) {
|
|
12030
12071
|
const e6 = Object.keys(t6);
|
|
12031
12072
|
for (let i6 = 0; i6 < e6.length; i6++) {
|
|
12032
12073
|
const n6 = e6[i6], s6 = n6.replace(/[.\-+*:]/g, "\\.");
|
|
12033
12074
|
this.lastEntities[n6] = { regex: new RegExp("&" + s6 + ";", "g"), val: t6[n6] };
|
|
12034
12075
|
}
|
|
12035
12076
|
}
|
|
12036
|
-
function
|
|
12077
|
+
function z2(t6, e6, i6, n6, s6, r6, o6) {
|
|
12037
12078
|
if (void 0 !== t6 && (this.options.trimValues && !n6 && (t6 = t6.trim()), t6.length > 0)) {
|
|
12038
12079
|
o6 || (t6 = this.replaceEntitiesValue(t6, e6, i6));
|
|
12039
12080
|
const n7 = this.options.jPath ? i6.toString() : i6, a6 = this.options.tagValueProcessor(e6, t6, n7, s6, r6);
|
|
12040
|
-
return null == a6 ? t6 : typeof a6 != typeof t6 || a6 !== t6 ? a6 : this.options.trimValues || t6.trim() === t6 ?
|
|
12081
|
+
return null == a6 ? t6 : typeof a6 != typeof t6 || a6 !== t6 ? a6 : this.options.trimValues || t6.trim() === t6 ? st(t6, this.options.parseTagValue, this.options.numberParseOptions) : t6;
|
|
12041
12082
|
}
|
|
12042
12083
|
}
|
|
12043
12084
|
function X(t6) {
|
|
@@ -12048,26 +12089,26 @@ var require_fxp = __commonJS({
|
|
|
12048
12089
|
}
|
|
12049
12090
|
return t6;
|
|
12050
12091
|
}
|
|
12051
|
-
const
|
|
12052
|
-
function
|
|
12092
|
+
const q5 = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
|
|
12093
|
+
function Z(t6, e6, i6) {
|
|
12053
12094
|
if (true !== this.options.ignoreAttributes && "string" == typeof t6) {
|
|
12054
|
-
const n6 = s5(t6,
|
|
12095
|
+
const n6 = s5(t6, q5), r6 = n6.length, o6 = {}, a6 = {};
|
|
12055
12096
|
for (let t7 = 0; t7 < r6; t7++) {
|
|
12056
|
-
const
|
|
12057
|
-
if (
|
|
12058
|
-
let t8 =
|
|
12059
|
-
this.options.trimValues && (t8 = t8.trim()), t8 = this.replaceEntitiesValue(t8, i6,
|
|
12097
|
+
const e7 = this.resolveNameSpace(n6[t7][1]), s6 = n6[t7][4];
|
|
12098
|
+
if (e7.length && void 0 !== s6) {
|
|
12099
|
+
let t8 = s6;
|
|
12100
|
+
this.options.trimValues && (t8 = t8.trim()), t8 = this.replaceEntitiesValue(t8, i6, this.readonlyMatcher), a6[e7] = t8;
|
|
12060
12101
|
}
|
|
12061
12102
|
}
|
|
12062
12103
|
Object.keys(a6).length > 0 && "object" == typeof e6 && e6.updateCurrent && e6.updateCurrent(a6);
|
|
12063
12104
|
for (let t7 = 0; t7 < r6; t7++) {
|
|
12064
|
-
const s6 = this.resolveNameSpace(n6[t7][1]), r7 = this.options.jPath ? e6.toString() :
|
|
12105
|
+
const s6 = this.resolveNameSpace(n6[t7][1]), r7 = this.options.jPath ? e6.toString() : this.readonlyMatcher;
|
|
12065
12106
|
if (this.ignoreAttributesFn(s6, r7)) continue;
|
|
12066
12107
|
let a7 = n6[t7][4], h6 = this.options.attributeNamePrefix + s6;
|
|
12067
|
-
if (s6.length) if (this.options.transformAttributeName && (h6 = this.options.transformAttributeName(h6)), h6 =
|
|
12068
|
-
this.options.trimValues && (a7 = a7.trim()), a7 = this.replaceEntitiesValue(a7, i6,
|
|
12069
|
-
const t8 = this.options.jPath ? e6.toString() :
|
|
12070
|
-
o6[h6] = null == n7 ? a7 : typeof n7 != typeof a7 || n7 !== a7 ? n7 :
|
|
12108
|
+
if (s6.length) if (this.options.transformAttributeName && (h6 = this.options.transformAttributeName(h6)), h6 = at(h6, this.options), void 0 !== a7) {
|
|
12109
|
+
this.options.trimValues && (a7 = a7.trim()), a7 = this.replaceEntitiesValue(a7, i6, this.readonlyMatcher);
|
|
12110
|
+
const t8 = this.options.jPath ? e6.toString() : this.readonlyMatcher, n7 = this.options.attributeValueProcessor(s6, a7, t8);
|
|
12111
|
+
o6[h6] = null == n7 ? a7 : typeof n7 != typeof a7 || n7 !== a7 ? n7 : st(a7, this.options.parseAttributeValue, this.options.numberParseOptions);
|
|
12071
12112
|
} else this.options.allowBooleanAttributes && (o6[h6] = true);
|
|
12072
12113
|
}
|
|
12073
12114
|
if (!Object.keys(o6).length) return;
|
|
@@ -12078,49 +12119,49 @@ var require_fxp = __commonJS({
|
|
|
12078
12119
|
return o6;
|
|
12079
12120
|
}
|
|
12080
12121
|
}
|
|
12081
|
-
const
|
|
12122
|
+
const J2 = function(t6) {
|
|
12082
12123
|
t6 = t6.replace(/\r\n?/g, "\n");
|
|
12083
12124
|
const e6 = new $("!xml");
|
|
12084
12125
|
let i6 = e6, n6 = "";
|
|
12085
12126
|
this.matcher.reset(), this.entityExpansionCount = 0, this.currentExpandedLength = 0;
|
|
12086
12127
|
const s6 = new I2(this.options.processEntities);
|
|
12087
12128
|
for (let r6 = 0; r6 < t6.length; r6++) if ("<" === t6[r6]) if ("/" === t6[r6 + 1]) {
|
|
12088
|
-
const e7 =
|
|
12129
|
+
const e7 = et(t6, ">", r6, "Closing Tag is not closed.");
|
|
12089
12130
|
let s7 = t6.substring(r6 + 2, e7).trim();
|
|
12090
12131
|
if (this.options.removeNSPrefix) {
|
|
12091
12132
|
const t7 = s7.indexOf(":");
|
|
12092
12133
|
-1 !== t7 && (s7 = s7.substr(t7 + 1));
|
|
12093
12134
|
}
|
|
12094
|
-
s7 =
|
|
12135
|
+
s7 = ot(this.options.transformTagName, s7, "", this.options).tagName, i6 && (n6 = this.saveTextToParentTag(n6, i6, this.readonlyMatcher));
|
|
12095
12136
|
const o6 = this.matcher.getCurrentTag();
|
|
12096
12137
|
if (s7 && -1 !== this.options.unpairedTags.indexOf(s7)) throw new Error(`Unpaired tag can not be used as closing tag: </${s7}>`);
|
|
12097
12138
|
o6 && -1 !== this.options.unpairedTags.indexOf(o6) && (this.matcher.pop(), this.tagsNodeStack.pop()), this.matcher.pop(), this.isCurrentNodeStopNode = false, i6 = this.tagsNodeStack.pop(), n6 = "", r6 = e7;
|
|
12098
12139
|
} else if ("?" === t6[r6 + 1]) {
|
|
12099
|
-
let e7 =
|
|
12140
|
+
let e7 = it(t6, r6, false, "?>");
|
|
12100
12141
|
if (!e7) throw new Error("Pi Tag is not closed.");
|
|
12101
|
-
if (n6 = this.saveTextToParentTag(n6, i6, this.
|
|
12142
|
+
if (n6 = this.saveTextToParentTag(n6, i6, this.readonlyMatcher), this.options.ignoreDeclaration && "?xml" === e7.tagName || this.options.ignorePiTags) ;
|
|
12102
12143
|
else {
|
|
12103
12144
|
const t7 = new $(e7.tagName);
|
|
12104
|
-
t7.add(this.options.textNodeName, ""), e7.tagName !== e7.tagExp && e7.attrExpPresent && (t7[":@"] = this.buildAttributesMap(e7.tagExp, this.matcher, e7.tagName)), this.addChild(i6, t7, this.
|
|
12145
|
+
t7.add(this.options.textNodeName, ""), e7.tagName !== e7.tagExp && e7.attrExpPresent && (t7[":@"] = this.buildAttributesMap(e7.tagExp, this.matcher, e7.tagName)), this.addChild(i6, t7, this.readonlyMatcher, r6);
|
|
12105
12146
|
}
|
|
12106
12147
|
r6 = e7.closeIndex + 1;
|
|
12107
12148
|
} else if ("!--" === t6.substr(r6 + 1, 3)) {
|
|
12108
|
-
const e7 =
|
|
12149
|
+
const e7 = et(t6, "-->", r6 + 4, "Comment is not closed.");
|
|
12109
12150
|
if (this.options.commentPropName) {
|
|
12110
12151
|
const s7 = t6.substring(r6 + 4, e7 - 2);
|
|
12111
|
-
n6 = this.saveTextToParentTag(n6, i6, this.
|
|
12152
|
+
n6 = this.saveTextToParentTag(n6, i6, this.readonlyMatcher), i6.add(this.options.commentPropName, [{ [this.options.textNodeName]: s7 }]);
|
|
12112
12153
|
}
|
|
12113
12154
|
r6 = e7;
|
|
12114
12155
|
} else if ("!D" === t6.substr(r6 + 1, 2)) {
|
|
12115
12156
|
const e7 = s6.readDocType(t6, r6);
|
|
12116
12157
|
this.docTypeEntities = e7.entities, r6 = e7.i;
|
|
12117
12158
|
} else if ("![" === t6.substr(r6 + 1, 2)) {
|
|
12118
|
-
const e7 =
|
|
12119
|
-
n6 = this.saveTextToParentTag(n6, i6, this.
|
|
12120
|
-
let o6 = this.parseTextData(s7, i6.tagname, this.
|
|
12159
|
+
const e7 = et(t6, "]]>", r6, "CDATA is not closed.") - 2, s7 = t6.substring(r6 + 9, e7);
|
|
12160
|
+
n6 = this.saveTextToParentTag(n6, i6, this.readonlyMatcher);
|
|
12161
|
+
let o6 = this.parseTextData(s7, i6.tagname, this.readonlyMatcher, true, false, true, true);
|
|
12121
12162
|
null == o6 && (o6 = ""), this.options.cdataPropName ? i6.add(this.options.cdataPropName, [{ [this.options.textNodeName]: s7 }]) : i6.add(this.options.textNodeName, o6), r6 = e7 + 2;
|
|
12122
12163
|
} else {
|
|
12123
|
-
let s7 =
|
|
12164
|
+
let s7 = it(t6, r6, this.options.removeNSPrefix);
|
|
12124
12165
|
if (!s7) {
|
|
12125
12166
|
const e7 = t6.substring(Math.max(0, r6 - 50), Math.min(t6.length, r6 + 50));
|
|
12126
12167
|
throw new Error(`readTagExp returned undefined at position ${r6}. Context: "${e7}"`);
|
|
@@ -12128,14 +12169,14 @@ var require_fxp = __commonJS({
|
|
|
12128
12169
|
let o6 = s7.tagName;
|
|
12129
12170
|
const a6 = s7.rawTagName;
|
|
12130
12171
|
let h6 = s7.tagExp, l6 = s7.attrExpPresent, p6 = s7.closeIndex;
|
|
12131
|
-
if ({ tagName: o6, tagExp: h6 } =
|
|
12132
|
-
i6 && n6 && "!xml" !== i6.tagname && (n6 = this.saveTextToParentTag(n6, i6, this.
|
|
12172
|
+
if ({ tagName: o6, tagExp: h6 } = ot(this.options.transformTagName, o6, h6, this.options), this.options.strictReservedNames && (o6 === this.options.commentPropName || o6 === this.options.cdataPropName || o6 === this.options.textNodeName || o6 === this.options.attributesGroupName)) throw new Error(`Invalid tag name: ${o6}`);
|
|
12173
|
+
i6 && n6 && "!xml" !== i6.tagname && (n6 = this.saveTextToParentTag(n6, i6, this.readonlyMatcher, false));
|
|
12133
12174
|
const u6 = i6;
|
|
12134
12175
|
u6 && -1 !== this.options.unpairedTags.indexOf(u6.tagname) && (i6 = this.tagsNodeStack.pop(), this.matcher.pop());
|
|
12135
12176
|
let c6 = false;
|
|
12136
12177
|
h6.length > 0 && h6.lastIndexOf("/") === h6.length - 1 && (c6 = true, "/" === o6[o6.length - 1] ? (o6 = o6.substr(0, o6.length - 1), h6 = o6) : h6 = h6.substr(0, h6.length - 1), l6 = o6 !== h6);
|
|
12137
12178
|
let d6, f6 = null, g6 = {};
|
|
12138
|
-
d6 =
|
|
12179
|
+
d6 = B2(a6), o6 !== e6.tagname && this.matcher.push(o6, {}, d6), o6 !== h6 && l6 && (f6 = this.buildAttributesMap(h6, this.matcher, o6), f6 && (g6 = U(f6, this.options))), o6 !== e6.tagname && (this.isCurrentNodeStopNode = this.isItStopNode(this.stopNodeExpressions, this.matcher));
|
|
12139
12180
|
const m6 = r6;
|
|
12140
12181
|
if (this.isCurrentNodeStopNode) {
|
|
12141
12182
|
let e7 = "";
|
|
@@ -12147,22 +12188,22 @@ var require_fxp = __commonJS({
|
|
|
12147
12188
|
r6 = i7.i, e7 = i7.tagContent;
|
|
12148
12189
|
}
|
|
12149
12190
|
const n7 = new $(o6);
|
|
12150
|
-
f6 && (n7[":@"] = f6), n7.add(this.options.textNodeName, e7), this.matcher.pop(), this.isCurrentNodeStopNode = false, this.addChild(i6, n7, this.
|
|
12191
|
+
f6 && (n7[":@"] = f6), n7.add(this.options.textNodeName, e7), this.matcher.pop(), this.isCurrentNodeStopNode = false, this.addChild(i6, n7, this.readonlyMatcher, m6);
|
|
12151
12192
|
} else {
|
|
12152
12193
|
if (c6) {
|
|
12153
|
-
({ tagName: o6, tagExp: h6 } =
|
|
12194
|
+
({ tagName: o6, tagExp: h6 } = ot(this.options.transformTagName, o6, h6, this.options));
|
|
12154
12195
|
const t7 = new $(o6);
|
|
12155
|
-
f6 && (t7[":@"] = f6), this.addChild(i6, t7, this.
|
|
12196
|
+
f6 && (t7[":@"] = f6), this.addChild(i6, t7, this.readonlyMatcher, m6), this.matcher.pop(), this.isCurrentNodeStopNode = false;
|
|
12156
12197
|
} else {
|
|
12157
12198
|
if (-1 !== this.options.unpairedTags.indexOf(o6)) {
|
|
12158
12199
|
const t7 = new $(o6);
|
|
12159
|
-
f6 && (t7[":@"] = f6), this.addChild(i6, t7, this.
|
|
12200
|
+
f6 && (t7[":@"] = f6), this.addChild(i6, t7, this.readonlyMatcher, m6), this.matcher.pop(), this.isCurrentNodeStopNode = false, r6 = s7.closeIndex;
|
|
12160
12201
|
continue;
|
|
12161
12202
|
}
|
|
12162
12203
|
{
|
|
12163
12204
|
const t7 = new $(o6);
|
|
12164
12205
|
if (this.tagsNodeStack.length > this.options.maxNestedTags) throw new Error("Maximum nested tags exceeded");
|
|
12165
|
-
this.tagsNodeStack.push(i6), f6 && (t7[":@"] = f6), this.addChild(i6, t7, this.
|
|
12206
|
+
this.tagsNodeStack.push(i6), f6 && (t7[":@"] = f6), this.addChild(i6, t7, this.readonlyMatcher, m6), i6 = t7;
|
|
12166
12207
|
}
|
|
12167
12208
|
}
|
|
12168
12209
|
n6 = "", r6 = p6;
|
|
@@ -12171,12 +12212,12 @@ var require_fxp = __commonJS({
|
|
|
12171
12212
|
else n6 += t6[r6];
|
|
12172
12213
|
return e6.child;
|
|
12173
12214
|
};
|
|
12174
|
-
function
|
|
12215
|
+
function K(t6, e6, i6, n6) {
|
|
12175
12216
|
this.options.captureMetaData || (n6 = void 0);
|
|
12176
12217
|
const s6 = this.options.jPath ? i6.toString() : i6, r6 = this.options.updateTag(e6.tagname, s6, e6[":@"]);
|
|
12177
12218
|
false === r6 || ("string" == typeof r6 ? (e6.tagname = r6, t6.addChild(e6, n6)) : t6.addChild(e6, n6));
|
|
12178
12219
|
}
|
|
12179
|
-
function
|
|
12220
|
+
function Q(t6, e6, i6) {
|
|
12180
12221
|
const n6 = this.options.processEntities;
|
|
12181
12222
|
if (!n6 || !n6.enabled) return t6;
|
|
12182
12223
|
if (n6.allowedTags) {
|
|
@@ -12208,20 +12249,20 @@ var require_fxp = __commonJS({
|
|
|
12208
12249
|
}
|
|
12209
12250
|
return t6.replace(this.ampEntity.regex, this.ampEntity.val);
|
|
12210
12251
|
}
|
|
12211
|
-
function
|
|
12252
|
+
function H2(t6, e6, i6, n6) {
|
|
12212
12253
|
return t6 && (void 0 === n6 && (n6 = 0 === e6.child.length), void 0 !== (t6 = this.parseTextData(t6, e6.tagname, i6, false, !!e6[":@"] && 0 !== Object.keys(e6[":@"]).length, n6)) && "" !== t6 && e6.add(this.options.textNodeName, t6), t6 = ""), t6;
|
|
12213
12254
|
}
|
|
12214
|
-
function
|
|
12255
|
+
function tt(t6, e6) {
|
|
12215
12256
|
if (!t6 || 0 === t6.length) return false;
|
|
12216
12257
|
for (let i6 = 0; i6 < t6.length; i6++) if (e6.matches(t6[i6])) return true;
|
|
12217
12258
|
return false;
|
|
12218
12259
|
}
|
|
12219
|
-
function
|
|
12260
|
+
function et(t6, e6, i6, n6) {
|
|
12220
12261
|
const s6 = t6.indexOf(e6, i6);
|
|
12221
12262
|
if (-1 === s6) throw new Error(n6);
|
|
12222
12263
|
return s6 + e6.length - 1;
|
|
12223
12264
|
}
|
|
12224
|
-
function
|
|
12265
|
+
function it(t6, e6, i6, n6 = ">") {
|
|
12225
12266
|
const s6 = function(t7, e7, i7 = ">") {
|
|
12226
12267
|
let n7, s7 = "";
|
|
12227
12268
|
for (let r7 = e7; r7 < t7.length; r7++) {
|
|
@@ -12247,128 +12288,143 @@ var require_fxp = __commonJS({
|
|
|
12247
12288
|
}
|
|
12248
12289
|
return { tagName: h6, tagExp: r6, closeIndex: o6, attrExpPresent: l6, rawTagName: p6 };
|
|
12249
12290
|
}
|
|
12250
|
-
function
|
|
12291
|
+
function nt(t6, e6, i6) {
|
|
12251
12292
|
const n6 = i6;
|
|
12252
12293
|
let s6 = 1;
|
|
12253
12294
|
for (; i6 < t6.length; i6++) if ("<" === t6[i6]) if ("/" === t6[i6 + 1]) {
|
|
12254
|
-
const r6 =
|
|
12295
|
+
const r6 = et(t6, ">", i6, `${e6} is not closed`);
|
|
12255
12296
|
if (t6.substring(i6 + 2, r6).trim() === e6 && (s6--, 0 === s6)) return { tagContent: t6.substring(n6, i6), i: r6 };
|
|
12256
12297
|
i6 = r6;
|
|
12257
|
-
} else if ("?" === t6[i6 + 1]) i6 =
|
|
12258
|
-
else if ("!--" === t6.substr(i6 + 1, 3)) i6 =
|
|
12259
|
-
else if ("![" === t6.substr(i6 + 1, 2)) i6 =
|
|
12298
|
+
} else if ("?" === t6[i6 + 1]) i6 = et(t6, "?>", i6 + 1, "StopNode is not closed.");
|
|
12299
|
+
else if ("!--" === t6.substr(i6 + 1, 3)) i6 = et(t6, "-->", i6 + 3, "StopNode is not closed.");
|
|
12300
|
+
else if ("![" === t6.substr(i6 + 1, 2)) i6 = et(t6, "]]>", i6, "StopNode is not closed.") - 2;
|
|
12260
12301
|
else {
|
|
12261
|
-
const n7 =
|
|
12302
|
+
const n7 = it(t6, i6, ">");
|
|
12262
12303
|
n7 && ((n7 && n7.tagName) === e6 && "/" !== n7.tagExp[n7.tagExp.length - 1] && s6++, i6 = n7.closeIndex);
|
|
12263
12304
|
}
|
|
12264
12305
|
}
|
|
12265
|
-
function
|
|
12306
|
+
function st(t6, e6, i6) {
|
|
12266
12307
|
if (e6 && "string" == typeof t6) {
|
|
12267
12308
|
const e7 = t6.trim();
|
|
12268
12309
|
return "true" === e7 || "false" !== e7 && function(t7, e8 = {}) {
|
|
12269
|
-
if (e8 = Object.assign({},
|
|
12310
|
+
if (e8 = Object.assign({}, k5, e8), !t7 || "string" != typeof t7) return t7;
|
|
12270
12311
|
let i7 = t7.trim();
|
|
12271
12312
|
if (void 0 !== e8.skipLike && e8.skipLike.test(i7)) return t7;
|
|
12272
12313
|
if ("0" === t7) return 0;
|
|
12273
|
-
if (e8.hex &&
|
|
12314
|
+
if (e8.hex && D2.test(i7)) return function(t8) {
|
|
12274
12315
|
if (parseInt) return parseInt(t8, 16);
|
|
12275
12316
|
if (Number.parseInt) return Number.parseInt(t8, 16);
|
|
12276
12317
|
if (window && window.parseInt) return window.parseInt(t8, 16);
|
|
12277
12318
|
throw new Error("parseInt, Number.parseInt, window.parseInt are not supported");
|
|
12278
12319
|
}(i7);
|
|
12279
|
-
if (
|
|
12280
|
-
if (
|
|
12281
|
-
|
|
12282
|
-
|
|
12283
|
-
|
|
12284
|
-
|
|
12285
|
-
|
|
12286
|
-
|
|
12287
|
-
return t8;
|
|
12288
|
-
}(t7, i7, e8);
|
|
12289
|
-
{
|
|
12290
|
-
const s6 = k5.exec(i7);
|
|
12291
|
-
if (s6) {
|
|
12292
|
-
const r6 = s6[1] || "", o6 = s6[2];
|
|
12293
|
-
let a6 = (n6 = s6[3]) && -1 !== n6.indexOf(".") ? ("." === (n6 = n6.replace(/0+$/, "")) ? n6 = "0" : "." === n6[0] ? n6 = "0" + n6 : "." === n6[n6.length - 1] && (n6 = n6.substring(0, n6.length - 1)), n6) : n6;
|
|
12294
|
-
const h6 = r6 ? "." === t7[o6.length + 1] : "." === t7[o6.length];
|
|
12295
|
-
if (!e8.leadingZeros && (o6.length > 1 || 1 === o6.length && !h6)) return t7;
|
|
12296
|
-
{
|
|
12297
|
-
const n7 = Number(i7), s7 = String(n7);
|
|
12298
|
-
if (0 === n7) return n7;
|
|
12299
|
-
if (-1 !== s7.search(/[eE]/)) return e8.eNotation ? n7 : t7;
|
|
12300
|
-
if (-1 !== i7.indexOf(".")) return "0" === s7 || s7 === a6 || s7 === `${r6}${a6}` ? n7 : t7;
|
|
12301
|
-
let h7 = o6 ? a6 : i7;
|
|
12302
|
-
return o6 ? h7 === s7 || r6 + h7 === s7 ? n7 : t7 : h7 === s7 || h7 === r6 + s7 ? n7 : t7;
|
|
12320
|
+
if (isFinite(i7)) {
|
|
12321
|
+
if (i7.includes("e") || i7.includes("E")) return function(t8, e9, i8) {
|
|
12322
|
+
if (!i8.eNotation) return t8;
|
|
12323
|
+
const n7 = e9.match(F2);
|
|
12324
|
+
if (n7) {
|
|
12325
|
+
let s6 = n7[1] || "";
|
|
12326
|
+
const r6 = -1 === n7[3].indexOf("e") ? "E" : "e", o6 = n7[2], a6 = s6 ? t8[o6.length + 1] === r6 : t8[o6.length] === r6;
|
|
12327
|
+
return o6.length > 1 && a6 ? t8 : (1 !== o6.length || !n7[3].startsWith(`.${r6}`) && n7[3][0] !== r6) && o6.length > 0 ? i8.leadingZeros && !a6 ? (e9 = (n7[1] || "") + n7[3], Number(e9)) : t8 : Number(e9);
|
|
12303
12328
|
}
|
|
12329
|
+
return t8;
|
|
12330
|
+
}(t7, i7, e8);
|
|
12331
|
+
{
|
|
12332
|
+
const s6 = V.exec(i7);
|
|
12333
|
+
if (s6) {
|
|
12334
|
+
const r6 = s6[1] || "", o6 = s6[2];
|
|
12335
|
+
let a6 = (n6 = s6[3]) && -1 !== n6.indexOf(".") ? ("." === (n6 = n6.replace(/0+$/, "")) ? n6 = "0" : "." === n6[0] ? n6 = "0" + n6 : "." === n6[n6.length - 1] && (n6 = n6.substring(0, n6.length - 1)), n6) : n6;
|
|
12336
|
+
const h6 = r6 ? "." === t7[o6.length + 1] : "." === t7[o6.length];
|
|
12337
|
+
if (!e8.leadingZeros && (o6.length > 1 || 1 === o6.length && !h6)) return t7;
|
|
12338
|
+
{
|
|
12339
|
+
const n7 = Number(i7), s7 = String(n7);
|
|
12340
|
+
if (0 === n7) return n7;
|
|
12341
|
+
if (-1 !== s7.search(/[eE]/)) return e8.eNotation ? n7 : t7;
|
|
12342
|
+
if (-1 !== i7.indexOf(".")) return "0" === s7 || s7 === a6 || s7 === `${r6}${a6}` ? n7 : t7;
|
|
12343
|
+
let h7 = o6 ? a6 : i7;
|
|
12344
|
+
return o6 ? h7 === s7 || r6 + h7 === s7 ? n7 : t7 : h7 === s7 || h7 === r6 + s7 ? n7 : t7;
|
|
12345
|
+
}
|
|
12346
|
+
}
|
|
12347
|
+
return t7;
|
|
12304
12348
|
}
|
|
12305
|
-
return t7;
|
|
12306
12349
|
}
|
|
12307
12350
|
var n6;
|
|
12351
|
+
return function(t8, e9, i8) {
|
|
12352
|
+
const n7 = e9 === 1 / 0;
|
|
12353
|
+
switch (i8.infinity.toLowerCase()) {
|
|
12354
|
+
case "null":
|
|
12355
|
+
return null;
|
|
12356
|
+
case "infinity":
|
|
12357
|
+
return e9;
|
|
12358
|
+
case "string":
|
|
12359
|
+
return n7 ? "Infinity" : "-Infinity";
|
|
12360
|
+
default:
|
|
12361
|
+
return t8;
|
|
12362
|
+
}
|
|
12363
|
+
}(t7, Number(i7), e8);
|
|
12308
12364
|
}(t6, i6);
|
|
12309
12365
|
}
|
|
12310
12366
|
return void 0 !== t6 ? t6 : "";
|
|
12311
12367
|
}
|
|
12312
|
-
function
|
|
12368
|
+
function rt(t6, e6, i6) {
|
|
12313
12369
|
const n6 = Number.parseInt(t6, e6);
|
|
12314
12370
|
return n6 >= 0 && n6 <= 1114111 ? String.fromCodePoint(n6) : i6 + t6 + ";";
|
|
12315
12371
|
}
|
|
12316
|
-
function
|
|
12372
|
+
function ot(t6, e6, i6, n6) {
|
|
12317
12373
|
if (t6) {
|
|
12318
12374
|
const n7 = t6(e6);
|
|
12319
12375
|
i6 === e6 && (i6 = n7), e6 = n7;
|
|
12320
12376
|
}
|
|
12321
|
-
return { tagName: e6 =
|
|
12377
|
+
return { tagName: e6 = at(e6, n6), tagExp: i6 };
|
|
12322
12378
|
}
|
|
12323
|
-
function
|
|
12379
|
+
function at(t6, e6) {
|
|
12324
12380
|
if (a5.includes(t6)) throw new Error(`[SECURITY] Invalid name: "${t6}" is a reserved JavaScript keyword that could cause prototype pollution`);
|
|
12325
12381
|
return o5.includes(t6) ? e6.onDangerousProperty(t6) : t6;
|
|
12326
12382
|
}
|
|
12327
|
-
const
|
|
12328
|
-
function
|
|
12383
|
+
const ht = $.getMetaDataSymbol();
|
|
12384
|
+
function lt(t6, e6) {
|
|
12329
12385
|
if (!t6 || "object" != typeof t6) return {};
|
|
12330
12386
|
if (!e6) return t6;
|
|
12331
12387
|
const i6 = {};
|
|
12332
12388
|
for (const n6 in t6) n6.startsWith(e6) ? i6[n6.substring(e6.length)] = t6[n6] : i6[n6] = t6[n6];
|
|
12333
12389
|
return i6;
|
|
12334
12390
|
}
|
|
12335
|
-
function
|
|
12336
|
-
return
|
|
12391
|
+
function pt(t6, e6, i6, n6) {
|
|
12392
|
+
return ut(t6, e6, i6, n6);
|
|
12337
12393
|
}
|
|
12338
|
-
function
|
|
12339
|
-
let
|
|
12340
|
-
const
|
|
12341
|
-
for (let
|
|
12342
|
-
const
|
|
12343
|
-
if (void 0 !==
|
|
12344
|
-
const t7 =
|
|
12345
|
-
i6.push(
|
|
12394
|
+
function ut(t6, e6, i6, n6) {
|
|
12395
|
+
let s6;
|
|
12396
|
+
const r6 = {};
|
|
12397
|
+
for (let o6 = 0; o6 < t6.length; o6++) {
|
|
12398
|
+
const a6 = t6[o6], h6 = ct(a6);
|
|
12399
|
+
if (void 0 !== h6 && h6 !== e6.textNodeName) {
|
|
12400
|
+
const t7 = lt(a6[":@"] || {}, e6.attributeNamePrefix);
|
|
12401
|
+
i6.push(h6, t7);
|
|
12346
12402
|
}
|
|
12347
|
-
if (
|
|
12403
|
+
if (h6 === e6.textNodeName) void 0 === s6 ? s6 = a6[h6] : s6 += "" + a6[h6];
|
|
12348
12404
|
else {
|
|
12349
|
-
if (void 0 ===
|
|
12350
|
-
if (
|
|
12351
|
-
let t7 =
|
|
12352
|
-
const
|
|
12353
|
-
if (
|
|
12405
|
+
if (void 0 === h6) continue;
|
|
12406
|
+
if (a6[h6]) {
|
|
12407
|
+
let t7 = ut(a6[h6], e6, i6, n6);
|
|
12408
|
+
const s7 = ft(t7, e6);
|
|
12409
|
+
if (a6[":@"] ? dt(t7, a6[":@"], n6, e6) : 1 !== Object.keys(t7).length || void 0 === t7[e6.textNodeName] || e6.alwaysCreateTextNode ? 0 === Object.keys(t7).length && (e6.alwaysCreateTextNode ? t7[e6.textNodeName] = "" : t7 = "") : t7 = t7[e6.textNodeName], void 0 !== a6[ht] && "object" == typeof t7 && null !== t7 && (t7[ht] = a6[ht]), void 0 !== r6[h6] && Object.prototype.hasOwnProperty.call(r6, h6)) Array.isArray(r6[h6]) || (r6[h6] = [r6[h6]]), r6[h6].push(t7);
|
|
12354
12410
|
else {
|
|
12355
|
-
const
|
|
12356
|
-
e6.isArray(
|
|
12411
|
+
const i7 = e6.jPath ? n6.toString() : n6;
|
|
12412
|
+
e6.isArray(h6, i7, s7) ? r6[h6] = [t7] : r6[h6] = t7;
|
|
12357
12413
|
}
|
|
12358
|
-
void 0 !==
|
|
12414
|
+
void 0 !== h6 && h6 !== e6.textNodeName && i6.pop();
|
|
12359
12415
|
}
|
|
12360
12416
|
}
|
|
12361
12417
|
}
|
|
12362
|
-
return "string" == typeof
|
|
12418
|
+
return "string" == typeof s6 ? s6.length > 0 && (r6[e6.textNodeName] = s6) : void 0 !== s6 && (r6[e6.textNodeName] = s6), r6;
|
|
12363
12419
|
}
|
|
12364
|
-
function
|
|
12420
|
+
function ct(t6) {
|
|
12365
12421
|
const e6 = Object.keys(t6);
|
|
12366
12422
|
for (let t7 = 0; t7 < e6.length; t7++) {
|
|
12367
12423
|
const i6 = e6[t7];
|
|
12368
12424
|
if (":@" !== i6) return i6;
|
|
12369
12425
|
}
|
|
12370
12426
|
}
|
|
12371
|
-
function
|
|
12427
|
+
function dt(t6, e6, i6, n6) {
|
|
12372
12428
|
if (e6) {
|
|
12373
12429
|
const s6 = Object.keys(e6), r6 = s6.length;
|
|
12374
12430
|
for (let o6 = 0; o6 < r6; o6++) {
|
|
@@ -12377,13 +12433,13 @@ var require_fxp = __commonJS({
|
|
|
12377
12433
|
}
|
|
12378
12434
|
}
|
|
12379
12435
|
}
|
|
12380
|
-
function
|
|
12436
|
+
function ft(t6, e6) {
|
|
12381
12437
|
const { textNodeName: i6 } = e6, n6 = Object.keys(t6).length;
|
|
12382
12438
|
return 0 === n6 || !(1 !== n6 || !t6[i6] && "boolean" != typeof t6[i6] && 0 !== t6[i6]);
|
|
12383
12439
|
}
|
|
12384
|
-
class
|
|
12440
|
+
class gt {
|
|
12385
12441
|
constructor(t6) {
|
|
12386
|
-
this.externalEntities = {}, this.options =
|
|
12442
|
+
this.externalEntities = {}, this.options = O(t6);
|
|
12387
12443
|
}
|
|
12388
12444
|
parse(t6, e6) {
|
|
12389
12445
|
if ("string" != typeof t6 && t6.toString) t6 = t6.toString();
|
|
@@ -12393,10 +12449,10 @@ var require_fxp = __commonJS({
|
|
|
12393
12449
|
const i7 = l5(t6, e6);
|
|
12394
12450
|
if (true !== i7) throw Error(`${i7.err.msg}:${i7.err.line}:${i7.err.col}`);
|
|
12395
12451
|
}
|
|
12396
|
-
const i6 = new
|
|
12452
|
+
const i6 = new W(this.options);
|
|
12397
12453
|
i6.addExternalEntities(this.externalEntities);
|
|
12398
12454
|
const n6 = i6.parseXml(t6);
|
|
12399
|
-
return this.options.preserveOrder || void 0 === n6 ? n6 :
|
|
12455
|
+
return this.options.preserveOrder || void 0 === n6 ? n6 : pt(n6, this.options, i6.matcher, i6.readonlyMatcher);
|
|
12400
12456
|
}
|
|
12401
12457
|
addEntity(t6, e6) {
|
|
12402
12458
|
if (-1 !== e6.indexOf("&")) throw new Error("Entity value can't have '&'");
|
|
@@ -12408,35 +12464,35 @@ var require_fxp = __commonJS({
|
|
|
12408
12464
|
return $.getMetaDataSymbol();
|
|
12409
12465
|
}
|
|
12410
12466
|
}
|
|
12411
|
-
function
|
|
12467
|
+
function mt(t6, e6) {
|
|
12412
12468
|
let i6 = "";
|
|
12413
12469
|
e6.format && e6.indentBy.length > 0 && (i6 = "\n");
|
|
12414
12470
|
const n6 = [];
|
|
12415
12471
|
if (e6.stopNodes && Array.isArray(e6.stopNodes)) for (let t7 = 0; t7 < e6.stopNodes.length; t7++) {
|
|
12416
12472
|
const i7 = e6.stopNodes[t7];
|
|
12417
|
-
"string" == typeof i7 ? n6.push(new
|
|
12473
|
+
"string" == typeof i7 ? n6.push(new R(i7)) : i7 instanceof R && n6.push(i7);
|
|
12418
12474
|
}
|
|
12419
|
-
return
|
|
12475
|
+
return xt(t6, e6, i6, new G2(), n6);
|
|
12420
12476
|
}
|
|
12421
|
-
function
|
|
12477
|
+
function xt(t6, e6, i6, n6, s6) {
|
|
12422
12478
|
let r6 = "", o6 = false;
|
|
12423
12479
|
if (e6.maxNestedTags && n6.getDepth() > e6.maxNestedTags) throw new Error("Maximum nested tags exceeded");
|
|
12424
12480
|
if (!Array.isArray(t6)) {
|
|
12425
12481
|
if (null != t6) {
|
|
12426
12482
|
let i7 = t6.toString();
|
|
12427
|
-
return i7 =
|
|
12483
|
+
return i7 = Tt(i7, e6), i7;
|
|
12428
12484
|
}
|
|
12429
12485
|
return "";
|
|
12430
12486
|
}
|
|
12431
12487
|
for (let a6 = 0; a6 < t6.length; a6++) {
|
|
12432
|
-
const h6 = t6[a6], l6 =
|
|
12488
|
+
const h6 = t6[a6], l6 = yt(h6);
|
|
12433
12489
|
if (void 0 === l6) continue;
|
|
12434
|
-
const p6 =
|
|
12490
|
+
const p6 = Nt(h6[":@"], e6);
|
|
12435
12491
|
n6.push(l6, p6);
|
|
12436
|
-
const u6 =
|
|
12492
|
+
const u6 = vt(n6, s6);
|
|
12437
12493
|
if (l6 === e6.textNodeName) {
|
|
12438
12494
|
let t7 = h6[l6];
|
|
12439
|
-
u6 || (t7 = e6.tagValueProcessor(l6, t7), t7 =
|
|
12495
|
+
u6 || (t7 = e6.tagValueProcessor(l6, t7), t7 = Tt(t7, e6)), o6 && (r6 += i6), r6 += t7, o6 = false, n6.pop();
|
|
12440
12496
|
continue;
|
|
12441
12497
|
}
|
|
12442
12498
|
if (l6 === e6.cdataPropName) {
|
|
@@ -12448,45 +12504,45 @@ var require_fxp = __commonJS({
|
|
|
12448
12504
|
continue;
|
|
12449
12505
|
}
|
|
12450
12506
|
if ("?" === l6[0]) {
|
|
12451
|
-
const t7 =
|
|
12507
|
+
const t7 = wt(h6[":@"], e6, u6), s7 = "?xml" === l6 ? "" : i6;
|
|
12452
12508
|
let a7 = h6[l6][0][e6.textNodeName];
|
|
12453
12509
|
a7 = 0 !== a7.length ? " " + a7 : "", r6 += s7 + `<${l6}${a7}${t7}?>`, o6 = true, n6.pop();
|
|
12454
12510
|
continue;
|
|
12455
12511
|
}
|
|
12456
12512
|
let c6 = i6;
|
|
12457
12513
|
"" !== c6 && (c6 += e6.indentBy);
|
|
12458
|
-
const d6 = i6 + `<${l6}${
|
|
12514
|
+
const d6 = i6 + `<${l6}${wt(h6[":@"], e6, u6)}`;
|
|
12459
12515
|
let f6;
|
|
12460
|
-
f6 = u6 ?
|
|
12516
|
+
f6 = u6 ? bt(h6[l6], e6) : xt(h6[l6], e6, c6, n6, s6), -1 !== e6.unpairedTags.indexOf(l6) ? e6.suppressUnpairedNode ? r6 += d6 + ">" : r6 += d6 + "/>" : f6 && 0 !== f6.length || !e6.suppressEmptyNode ? f6 && f6.endsWith(">") ? r6 += d6 + `>${f6}${i6}</${l6}>` : (r6 += d6 + ">", f6 && "" !== i6 && (f6.includes("/>") || f6.includes("</")) ? r6 += i6 + e6.indentBy + f6 + i6 : r6 += f6, r6 += `</${l6}>`) : r6 += d6 + "/>", o6 = true, n6.pop();
|
|
12461
12517
|
}
|
|
12462
12518
|
return r6;
|
|
12463
12519
|
}
|
|
12464
|
-
function
|
|
12520
|
+
function Nt(t6, e6) {
|
|
12465
12521
|
if (!t6 || e6.ignoreAttributes) return null;
|
|
12466
12522
|
const i6 = {};
|
|
12467
12523
|
let n6 = false;
|
|
12468
12524
|
for (let s6 in t6) Object.prototype.hasOwnProperty.call(t6, s6) && (i6[s6.startsWith(e6.attributeNamePrefix) ? s6.substr(e6.attributeNamePrefix.length) : s6] = t6[s6], n6 = true);
|
|
12469
12525
|
return n6 ? i6 : null;
|
|
12470
12526
|
}
|
|
12471
|
-
function
|
|
12527
|
+
function bt(t6, e6) {
|
|
12472
12528
|
if (!Array.isArray(t6)) return null != t6 ? t6.toString() : "";
|
|
12473
12529
|
let i6 = "";
|
|
12474
12530
|
for (let n6 = 0; n6 < t6.length; n6++) {
|
|
12475
|
-
const s6 = t6[n6], r6 =
|
|
12531
|
+
const s6 = t6[n6], r6 = yt(s6);
|
|
12476
12532
|
if (r6 === e6.textNodeName) i6 += s6[r6];
|
|
12477
12533
|
else if (r6 === e6.cdataPropName) i6 += s6[r6][0][e6.textNodeName];
|
|
12478
12534
|
else if (r6 === e6.commentPropName) i6 += s6[r6][0][e6.textNodeName];
|
|
12479
12535
|
else {
|
|
12480
12536
|
if (r6 && "?" === r6[0]) continue;
|
|
12481
12537
|
if (r6) {
|
|
12482
|
-
const t7 =
|
|
12538
|
+
const t7 = Et(s6[":@"], e6), n7 = bt(s6[r6], e6);
|
|
12483
12539
|
n7 && 0 !== n7.length ? i6 += `<${r6}${t7}>${n7}</${r6}>` : i6 += `<${r6}${t7}/>`;
|
|
12484
12540
|
}
|
|
12485
12541
|
}
|
|
12486
12542
|
}
|
|
12487
12543
|
return i6;
|
|
12488
12544
|
}
|
|
12489
|
-
function
|
|
12545
|
+
function Et(t6, e6) {
|
|
12490
12546
|
let i6 = "";
|
|
12491
12547
|
if (t6 && !e6.ignoreAttributes) for (let n6 in t6) {
|
|
12492
12548
|
if (!Object.prototype.hasOwnProperty.call(t6, n6)) continue;
|
|
@@ -12495,43 +12551,43 @@ var require_fxp = __commonJS({
|
|
|
12495
12551
|
}
|
|
12496
12552
|
return i6;
|
|
12497
12553
|
}
|
|
12498
|
-
function
|
|
12554
|
+
function yt(t6) {
|
|
12499
12555
|
const e6 = Object.keys(t6);
|
|
12500
12556
|
for (let i6 = 0; i6 < e6.length; i6++) {
|
|
12501
12557
|
const n6 = e6[i6];
|
|
12502
12558
|
if (Object.prototype.hasOwnProperty.call(t6, n6) && ":@" !== n6) return n6;
|
|
12503
12559
|
}
|
|
12504
12560
|
}
|
|
12505
|
-
function
|
|
12561
|
+
function wt(t6, e6, i6) {
|
|
12506
12562
|
let n6 = "";
|
|
12507
12563
|
if (t6 && !e6.ignoreAttributes) for (let s6 in t6) {
|
|
12508
12564
|
if (!Object.prototype.hasOwnProperty.call(t6, s6)) continue;
|
|
12509
12565
|
let r6;
|
|
12510
|
-
i6 ? r6 = t6[s6] : (r6 = e6.attributeValueProcessor(s6, t6[s6]), r6 =
|
|
12566
|
+
i6 ? r6 = t6[s6] : (r6 = e6.attributeValueProcessor(s6, t6[s6]), r6 = Tt(r6, e6)), true === r6 && e6.suppressBooleanAttributes ? n6 += ` ${s6.substr(e6.attributeNamePrefix.length)}` : n6 += ` ${s6.substr(e6.attributeNamePrefix.length)}="${r6}"`;
|
|
12511
12567
|
}
|
|
12512
12568
|
return n6;
|
|
12513
12569
|
}
|
|
12514
|
-
function
|
|
12570
|
+
function vt(t6, e6) {
|
|
12515
12571
|
if (!e6 || 0 === e6.length) return false;
|
|
12516
12572
|
for (let i6 = 0; i6 < e6.length; i6++) if (t6.matches(e6[i6])) return true;
|
|
12517
12573
|
return false;
|
|
12518
12574
|
}
|
|
12519
|
-
function
|
|
12575
|
+
function Tt(t6, e6) {
|
|
12520
12576
|
if (t6 && t6.length > 0 && e6.processEntities) for (let i6 = 0; i6 < e6.entities.length; i6++) {
|
|
12521
12577
|
const n6 = e6.entities[i6];
|
|
12522
12578
|
t6 = t6.replace(n6.regex, n6.val);
|
|
12523
12579
|
}
|
|
12524
12580
|
return t6;
|
|
12525
12581
|
}
|
|
12526
|
-
const
|
|
12582
|
+
const Pt = { attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, cdataPropName: false, format: false, indentBy: " ", suppressEmptyNode: false, suppressUnpairedNode: true, suppressBooleanAttributes: true, tagValueProcessor: function(t6, e6) {
|
|
12527
12583
|
return e6;
|
|
12528
12584
|
}, attributeValueProcessor: function(t6, e6) {
|
|
12529
12585
|
return e6;
|
|
12530
12586
|
}, preserveOrder: false, commentPropName: false, unpairedTags: [], entities: [{ regex: new RegExp("&", "g"), val: "&" }, { regex: new RegExp(">", "g"), val: ">" }, { regex: new RegExp("<", "g"), val: "<" }, { regex: new RegExp("'", "g"), val: "'" }, { regex: new RegExp('"', "g"), val: """ }], processEntities: true, stopNodes: [], oneListGroup: false, maxNestedTags: 100, jPath: true };
|
|
12531
|
-
function
|
|
12532
|
-
if (this.options = Object.assign({},
|
|
12587
|
+
function St(t6) {
|
|
12588
|
+
if (this.options = Object.assign({}, Pt, t6), this.options.stopNodes && Array.isArray(this.options.stopNodes) && (this.options.stopNodes = this.options.stopNodes.map((t7) => "string" == typeof t7 && t7.startsWith("*.") ? ".." + t7.substring(2) : t7)), this.stopNodeExpressions = [], this.options.stopNodes && Array.isArray(this.options.stopNodes)) for (let t7 = 0; t7 < this.options.stopNodes.length; t7++) {
|
|
12533
12589
|
const e7 = this.options.stopNodes[t7];
|
|
12534
|
-
"string" == typeof e7 ? this.stopNodeExpressions.push(new
|
|
12590
|
+
"string" == typeof e7 ? this.stopNodeExpressions.push(new R(e7)) : e7 instanceof R && this.stopNodeExpressions.push(e7);
|
|
12535
12591
|
}
|
|
12536
12592
|
var e6;
|
|
12537
12593
|
true === this.options.ignoreAttributes || this.options.attributesGroupName ? this.isAttribute = function() {
|
|
@@ -12541,11 +12597,11 @@ var require_fxp = __commonJS({
|
|
|
12541
12597
|
if ("string" == typeof i6 && t7 === i6) return true;
|
|
12542
12598
|
if (i6 instanceof RegExp && i6.test(t7)) return true;
|
|
12543
12599
|
}
|
|
12544
|
-
} : () => false, this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = Ct), this.processTextOrObjNode =
|
|
12600
|
+
} : () => false, this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = Ct), this.processTextOrObjNode = At, this.options.format ? (this.indentate = Ot, this.tagEndChar = ">\n", this.newLine = "\n") : (this.indentate = function() {
|
|
12545
12601
|
return "";
|
|
12546
12602
|
}, this.tagEndChar = ">", this.newLine = "");
|
|
12547
12603
|
}
|
|
12548
|
-
function
|
|
12604
|
+
function At(t6, e6, i6, n6) {
|
|
12549
12605
|
const s6 = this.extractAttributes(t6);
|
|
12550
12606
|
if (n6.push(e6, s6), this.checkStopNode(n6)) {
|
|
12551
12607
|
const s7 = this.buildRawContent(t6), r7 = this.buildAttributesForStopNode(t6);
|
|
@@ -12554,20 +12610,20 @@ var require_fxp = __commonJS({
|
|
|
12554
12610
|
const r6 = this.j2x(t6, i6 + 1, n6);
|
|
12555
12611
|
return n6.pop(), void 0 !== t6[this.options.textNodeName] && 1 === Object.keys(t6).length ? this.buildTextValNode(t6[this.options.textNodeName], e6, r6.attrStr, i6, n6) : this.buildObjectNode(r6.val, e6, r6.attrStr, i6);
|
|
12556
12612
|
}
|
|
12557
|
-
function
|
|
12613
|
+
function Ot(t6) {
|
|
12558
12614
|
return this.options.indentBy.repeat(t6);
|
|
12559
12615
|
}
|
|
12560
12616
|
function Ct(t6) {
|
|
12561
12617
|
return !(!t6.startsWith(this.options.attributeNamePrefix) || t6 === this.options.textNodeName) && t6.substr(this.attrPrefixLen);
|
|
12562
12618
|
}
|
|
12563
|
-
|
|
12564
|
-
if (this.options.preserveOrder) return
|
|
12619
|
+
St.prototype.build = function(t6) {
|
|
12620
|
+
if (this.options.preserveOrder) return mt(t6, this.options);
|
|
12565
12621
|
{
|
|
12566
12622
|
Array.isArray(t6) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (t6 = { [this.options.arrayNodeName]: t6 });
|
|
12567
|
-
const e6 = new
|
|
12623
|
+
const e6 = new G2();
|
|
12568
12624
|
return this.j2x(t6, 0, e6).val;
|
|
12569
12625
|
}
|
|
12570
|
-
},
|
|
12626
|
+
}, St.prototype.j2x = function(t6, e6, i6) {
|
|
12571
12627
|
let n6 = "", s6 = "";
|
|
12572
12628
|
if (this.options.maxNestedTags && i6.getDepth() >= this.options.maxNestedTags) throw new Error("Maximum nested tags exceeded");
|
|
12573
12629
|
const r6 = this.options.jPath ? i6.toString() : i6, o6 = this.checkStopNode(i6);
|
|
@@ -12618,9 +12674,9 @@ var require_fxp = __commonJS({
|
|
|
12618
12674
|
for (let s7 = 0; s7 < i7; s7++) n6 += this.buildAttrPairStr(e7[s7], "" + t6[a6][e7[s7]], o6);
|
|
12619
12675
|
} else s6 += this.processTextOrObjNode(t6[a6], a6, e6, i6);
|
|
12620
12676
|
return { attrStr: n6, val: s6 };
|
|
12621
|
-
},
|
|
12677
|
+
}, St.prototype.buildAttrPairStr = function(t6, e6, i6) {
|
|
12622
12678
|
return i6 || (e6 = this.options.attributeValueProcessor(t6, "" + e6), e6 = this.replaceEntitiesValue(e6)), this.options.suppressBooleanAttributes && "true" === e6 ? " " + t6 : " " + t6 + '="' + e6 + '"';
|
|
12623
|
-
},
|
|
12679
|
+
}, St.prototype.extractAttributes = function(t6) {
|
|
12624
12680
|
if (!t6 || "object" != typeof t6) return null;
|
|
12625
12681
|
const e6 = {};
|
|
12626
12682
|
let i6 = false;
|
|
@@ -12633,7 +12689,7 @@ var require_fxp = __commonJS({
|
|
|
12633
12689
|
s6 && (e6[s6] = t6[n6], i6 = true);
|
|
12634
12690
|
}
|
|
12635
12691
|
return i6 ? e6 : null;
|
|
12636
|
-
},
|
|
12692
|
+
}, St.prototype.buildRawContent = function(t6) {
|
|
12637
12693
|
if ("string" == typeof t6) return t6;
|
|
12638
12694
|
if ("object" != typeof t6 || null === t6) return String(t6);
|
|
12639
12695
|
if (void 0 !== t6[this.options.textNodeName]) return t6[this.options.textNodeName];
|
|
@@ -12656,7 +12712,7 @@ var require_fxp = __commonJS({
|
|
|
12656
12712
|
} else e6 += `<${i6}>${n6}</${i6}>`;
|
|
12657
12713
|
}
|
|
12658
12714
|
return e6;
|
|
12659
|
-
},
|
|
12715
|
+
}, St.prototype.buildAttributesForStopNode = function(t6) {
|
|
12660
12716
|
if (!t6 || "object" != typeof t6) return "";
|
|
12661
12717
|
let e6 = "";
|
|
12662
12718
|
if (this.options.attributesGroupName && t6[this.options.attributesGroupName]) {
|
|
@@ -12675,20 +12731,20 @@ var require_fxp = __commonJS({
|
|
|
12675
12731
|
}
|
|
12676
12732
|
}
|
|
12677
12733
|
return e6;
|
|
12678
|
-
},
|
|
12734
|
+
}, St.prototype.buildObjectNode = function(t6, e6, i6, n6) {
|
|
12679
12735
|
if ("" === t6) return "?" === e6[0] ? this.indentate(n6) + "<" + e6 + i6 + "?" + this.tagEndChar : this.indentate(n6) + "<" + e6 + i6 + this.closeTag(e6) + this.tagEndChar;
|
|
12680
12736
|
{
|
|
12681
12737
|
let s6 = "</" + e6 + this.tagEndChar, r6 = "";
|
|
12682
12738
|
return "?" === e6[0] && (r6 = "?", s6 = ""), !i6 && "" !== i6 || -1 !== t6.indexOf("<") ? false !== this.options.commentPropName && e6 === this.options.commentPropName && 0 === r6.length ? this.indentate(n6) + `<!--${t6}-->` + this.newLine : this.indentate(n6) + "<" + e6 + i6 + r6 + this.tagEndChar + t6 + this.indentate(n6) + s6 : this.indentate(n6) + "<" + e6 + i6 + r6 + ">" + t6 + s6;
|
|
12683
12739
|
}
|
|
12684
|
-
},
|
|
12740
|
+
}, St.prototype.closeTag = function(t6) {
|
|
12685
12741
|
let e6 = "";
|
|
12686
12742
|
return -1 !== this.options.unpairedTags.indexOf(t6) ? this.options.suppressUnpairedNode || (e6 = "/") : e6 = this.options.suppressEmptyNode ? "/" : `></${t6}`, e6;
|
|
12687
|
-
},
|
|
12743
|
+
}, St.prototype.checkStopNode = function(t6) {
|
|
12688
12744
|
if (!this.stopNodeExpressions || 0 === this.stopNodeExpressions.length) return false;
|
|
12689
12745
|
for (let e6 = 0; e6 < this.stopNodeExpressions.length; e6++) if (t6.matches(this.stopNodeExpressions[e6])) return true;
|
|
12690
12746
|
return false;
|
|
12691
|
-
},
|
|
12747
|
+
}, St.prototype.buildTextValNode = function(t6, e6, i6, n6, s6) {
|
|
12692
12748
|
if (false !== this.options.cdataPropName && e6 === this.options.cdataPropName) return this.indentate(n6) + `<![CDATA[${t6}]]>` + this.newLine;
|
|
12693
12749
|
if (false !== this.options.commentPropName && e6 === this.options.commentPropName) return this.indentate(n6) + `<!--${t6}-->` + this.newLine;
|
|
12694
12750
|
if ("?" === e6[0]) return this.indentate(n6) + "<" + e6 + i6 + "?" + this.tagEndChar;
|
|
@@ -12696,14 +12752,14 @@ var require_fxp = __commonJS({
|
|
|
12696
12752
|
let s7 = this.options.tagValueProcessor(e6, t6);
|
|
12697
12753
|
return s7 = this.replaceEntitiesValue(s7), "" === s7 ? this.indentate(n6) + "<" + e6 + i6 + this.closeTag(e6) + this.tagEndChar : this.indentate(n6) + "<" + e6 + i6 + ">" + s7 + "</" + e6 + this.tagEndChar;
|
|
12698
12754
|
}
|
|
12699
|
-
},
|
|
12755
|
+
}, St.prototype.replaceEntitiesValue = function(t6) {
|
|
12700
12756
|
if (t6 && t6.length > 0 && this.options.processEntities) for (let e6 = 0; e6 < this.options.entities.length; e6++) {
|
|
12701
12757
|
const i6 = this.options.entities[e6];
|
|
12702
12758
|
t6 = t6.replace(i6.regex, i6.val);
|
|
12703
12759
|
}
|
|
12704
12760
|
return t6;
|
|
12705
12761
|
};
|
|
12706
|
-
const
|
|
12762
|
+
const $t = St, It = { validate: l5 };
|
|
12707
12763
|
module2.exports = e5;
|
|
12708
12764
|
})();
|
|
12709
12765
|
}
|
|
@@ -13221,7 +13277,8 @@ var init_AwsQueryProtocol = __esm({
|
|
|
13221
13277
|
mixin = new ProtocolLib();
|
|
13222
13278
|
constructor(options) {
|
|
13223
13279
|
super({
|
|
13224
|
-
defaultNamespace: options.defaultNamespace
|
|
13280
|
+
defaultNamespace: options.defaultNamespace,
|
|
13281
|
+
errorTypeRegistries: options.errorTypeRegistries
|
|
13225
13282
|
});
|
|
13226
13283
|
this.options = options;
|
|
13227
13284
|
const settings = {
|
|
@@ -13298,6 +13355,7 @@ var init_AwsQueryProtocol = __esm({
|
|
|
13298
13355
|
}
|
|
13299
13356
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
13300
13357
|
const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? "Unknown";
|
|
13358
|
+
this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
|
|
13301
13359
|
const errorData = this.loadQueryError(dataObject) ?? {};
|
|
13302
13360
|
const message = this.loadQueryErrorMessage(dataObject);
|
|
13303
13361
|
errorData.message = message;
|
|
@@ -13308,7 +13366,7 @@ var init_AwsQueryProtocol = __esm({
|
|
|
13308
13366
|
};
|
|
13309
13367
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError);
|
|
13310
13368
|
const ns = NormalizedSchema.of(errorSchema);
|
|
13311
|
-
const ErrorCtor =
|
|
13369
|
+
const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
|
|
13312
13370
|
const exception = new ErrorCtor(message);
|
|
13313
13371
|
const output = {
|
|
13314
13372
|
Type: errorData.Error.Type,
|
|
@@ -13772,6 +13830,7 @@ var init_AwsRestXmlProtocol = __esm({
|
|
|
13772
13830
|
this.codec = new XmlCodec(settings);
|
|
13773
13831
|
this.serializer = new HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);
|
|
13774
13832
|
this.deserializer = new HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);
|
|
13833
|
+
this.compositeErrorRegistry;
|
|
13775
13834
|
}
|
|
13776
13835
|
getPayloadCodec() {
|
|
13777
13836
|
return this.codec;
|
|
@@ -13798,6 +13857,7 @@ var init_AwsRestXmlProtocol = __esm({
|
|
|
13798
13857
|
}
|
|
13799
13858
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
13800
13859
|
const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
|
|
13860
|
+
this.mixin.compose(this.compositeErrorRegistry, errorIdentifier, this.options.defaultNamespace);
|
|
13801
13861
|
if (dataObject.Error && typeof dataObject.Error === "object") {
|
|
13802
13862
|
for (const key of Object.keys(dataObject.Error)) {
|
|
13803
13863
|
dataObject[key] = dataObject.Error[key];
|
|
@@ -13811,8 +13871,8 @@ var init_AwsRestXmlProtocol = __esm({
|
|
|
13811
13871
|
}
|
|
13812
13872
|
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);
|
|
13813
13873
|
const ns = NormalizedSchema.of(errorSchema);
|
|
13814
|
-
const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "
|
|
13815
|
-
const ErrorCtor =
|
|
13874
|
+
const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? "UnknownError";
|
|
13875
|
+
const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
|
|
13816
13876
|
const exception = new ErrorCtor(message);
|
|
13817
13877
|
await this.deserializeHttpMessage(errorSchema, context, response, dataObject);
|
|
13818
13878
|
const output = {};
|
|
@@ -14515,6 +14575,11 @@ var require_dist_cjs31 = __commonJS({
|
|
|
14515
14575
|
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
14516
14576
|
default: false
|
|
14517
14577
|
};
|
|
14578
|
+
var nodeDualstackConfigSelectors = {
|
|
14579
|
+
environmentVariableSelector: (env2) => utilConfigProvider.booleanSelector(env2, ENV_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.ENV),
|
|
14580
|
+
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
14581
|
+
default: void 0
|
|
14582
|
+
};
|
|
14518
14583
|
var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
|
|
14519
14584
|
var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
|
|
14520
14585
|
var DEFAULT_USE_FIPS_ENDPOINT = false;
|
|
@@ -14523,6 +14588,11 @@ var require_dist_cjs31 = __commonJS({
|
|
|
14523
14588
|
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
14524
14589
|
default: false
|
|
14525
14590
|
};
|
|
14591
|
+
var nodeFipsConfigSelectors = {
|
|
14592
|
+
environmentVariableSelector: (env2) => utilConfigProvider.booleanSelector(env2, ENV_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.ENV),
|
|
14593
|
+
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
14594
|
+
default: void 0
|
|
14595
|
+
};
|
|
14526
14596
|
var resolveCustomEndpointsConfig = (input) => {
|
|
14527
14597
|
const { tls, endpoint, urlParser, useDualstackEndpoint } = input;
|
|
14528
14598
|
return Object.assign(input, {
|
|
@@ -14656,6 +14726,8 @@ var require_dist_cjs31 = __commonJS({
|
|
|
14656
14726
|
exports2.REGION_ENV_NAME = REGION_ENV_NAME;
|
|
14657
14727
|
exports2.REGION_INI_NAME = REGION_INI_NAME;
|
|
14658
14728
|
exports2.getRegionInfo = getRegionInfo;
|
|
14729
|
+
exports2.nodeDualstackConfigSelectors = nodeDualstackConfigSelectors;
|
|
14730
|
+
exports2.nodeFipsConfigSelectors = nodeFipsConfigSelectors;
|
|
14659
14731
|
exports2.resolveCustomEndpointsConfig = resolveCustomEndpointsConfig;
|
|
14660
14732
|
exports2.resolveEndpointsConfig = resolveEndpointsConfig;
|
|
14661
14733
|
exports2.resolveRegionConfig = resolveRegionConfig5;
|
|
@@ -16105,7 +16177,7 @@ var require_package = __commonJS({
|
|
|
16105
16177
|
module2.exports = {
|
|
16106
16178
|
name: "@aws-sdk/client-secrets-manager",
|
|
16107
16179
|
description: "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
|
|
16108
|
-
version: "3.
|
|
16180
|
+
version: "3.1015.0",
|
|
16109
16181
|
scripts: {
|
|
16110
16182
|
build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
16111
16183
|
"build:cjs": "node ../../scripts/compilation/inline client-secrets-manager",
|
|
@@ -16129,38 +16201,38 @@ var require_package = __commonJS({
|
|
|
16129
16201
|
dependencies: {
|
|
16130
16202
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
16131
16203
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
16132
|
-
"@aws-sdk/core": "^3.973.
|
|
16133
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
16204
|
+
"@aws-sdk/core": "^3.973.24",
|
|
16205
|
+
"@aws-sdk/credential-provider-node": "^3.972.25",
|
|
16134
16206
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
16135
16207
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
16136
16208
|
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
16137
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
16138
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
16209
|
+
"@aws-sdk/middleware-user-agent": "^3.972.25",
|
|
16210
|
+
"@aws-sdk/region-config-resolver": "^3.972.9",
|
|
16139
16211
|
"@aws-sdk/types": "^3.973.6",
|
|
16140
16212
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
16141
16213
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
16142
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
16143
|
-
"@smithy/config-resolver": "^4.4.
|
|
16214
|
+
"@aws-sdk/util-user-agent-node": "^3.973.11",
|
|
16215
|
+
"@smithy/config-resolver": "^4.4.13",
|
|
16144
16216
|
"@smithy/core": "^3.23.12",
|
|
16145
16217
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
16146
16218
|
"@smithy/hash-node": "^4.2.12",
|
|
16147
16219
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
16148
16220
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
16149
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
16150
|
-
"@smithy/middleware-retry": "^4.4.
|
|
16221
|
+
"@smithy/middleware-endpoint": "^4.4.27",
|
|
16222
|
+
"@smithy/middleware-retry": "^4.4.44",
|
|
16151
16223
|
"@smithy/middleware-serde": "^4.2.15",
|
|
16152
16224
|
"@smithy/middleware-stack": "^4.2.12",
|
|
16153
16225
|
"@smithy/node-config-provider": "^4.3.12",
|
|
16154
16226
|
"@smithy/node-http-handler": "^4.5.0",
|
|
16155
16227
|
"@smithy/protocol-http": "^5.3.12",
|
|
16156
|
-
"@smithy/smithy-client": "^4.12.
|
|
16228
|
+
"@smithy/smithy-client": "^4.12.7",
|
|
16157
16229
|
"@smithy/types": "^4.13.1",
|
|
16158
16230
|
"@smithy/url-parser": "^4.2.12",
|
|
16159
16231
|
"@smithy/util-base64": "^4.3.2",
|
|
16160
16232
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
16161
16233
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
16162
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
16163
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
16234
|
+
"@smithy/util-defaults-mode-browser": "^4.3.43",
|
|
16235
|
+
"@smithy/util-defaults-mode-node": "^4.2.47",
|
|
16164
16236
|
"@smithy/util-endpoints": "^3.3.3",
|
|
16165
16237
|
"@smithy/util-middleware": "^4.2.12",
|
|
16166
16238
|
"@smithy/util-retry": "^4.2.12",
|
|
@@ -16886,7 +16958,7 @@ var init_package = __esm({
|
|
|
16886
16958
|
"node_modules/@aws-sdk/nested-clients/package.json"() {
|
|
16887
16959
|
package_default = {
|
|
16888
16960
|
name: "@aws-sdk/nested-clients",
|
|
16889
|
-
version: "3.996.
|
|
16961
|
+
version: "3.996.14",
|
|
16890
16962
|
description: "Nested clients for AWS SDK packages.",
|
|
16891
16963
|
main: "./dist-cjs/index.js",
|
|
16892
16964
|
module: "./dist-es/index.js",
|
|
@@ -16915,37 +16987,37 @@ var init_package = __esm({
|
|
|
16915
16987
|
dependencies: {
|
|
16916
16988
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
16917
16989
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
16918
|
-
"@aws-sdk/core": "^3.973.
|
|
16990
|
+
"@aws-sdk/core": "^3.973.24",
|
|
16919
16991
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
16920
16992
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
16921
16993
|
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
16922
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
16923
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
16994
|
+
"@aws-sdk/middleware-user-agent": "^3.972.25",
|
|
16995
|
+
"@aws-sdk/region-config-resolver": "^3.972.9",
|
|
16924
16996
|
"@aws-sdk/types": "^3.973.6",
|
|
16925
16997
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
16926
16998
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
16927
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
16928
|
-
"@smithy/config-resolver": "^4.4.
|
|
16999
|
+
"@aws-sdk/util-user-agent-node": "^3.973.11",
|
|
17000
|
+
"@smithy/config-resolver": "^4.4.13",
|
|
16929
17001
|
"@smithy/core": "^3.23.12",
|
|
16930
17002
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
16931
17003
|
"@smithy/hash-node": "^4.2.12",
|
|
16932
17004
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
16933
17005
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
16934
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
16935
|
-
"@smithy/middleware-retry": "^4.4.
|
|
17006
|
+
"@smithy/middleware-endpoint": "^4.4.27",
|
|
17007
|
+
"@smithy/middleware-retry": "^4.4.44",
|
|
16936
17008
|
"@smithy/middleware-serde": "^4.2.15",
|
|
16937
17009
|
"@smithy/middleware-stack": "^4.2.12",
|
|
16938
17010
|
"@smithy/node-config-provider": "^4.3.12",
|
|
16939
17011
|
"@smithy/node-http-handler": "^4.5.0",
|
|
16940
17012
|
"@smithy/protocol-http": "^5.3.12",
|
|
16941
|
-
"@smithy/smithy-client": "^4.12.
|
|
17013
|
+
"@smithy/smithy-client": "^4.12.7",
|
|
16942
17014
|
"@smithy/types": "^4.13.1",
|
|
16943
17015
|
"@smithy/url-parser": "^4.2.12",
|
|
16944
17016
|
"@smithy/util-base64": "^4.3.2",
|
|
16945
17017
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
16946
17018
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
16947
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
16948
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
17019
|
+
"@smithy/util-defaults-mode-browser": "^4.3.43",
|
|
17020
|
+
"@smithy/util-defaults-mode-node": "^4.2.47",
|
|
16949
17021
|
"@smithy/util-endpoints": "^3.3.3",
|
|
16950
17022
|
"@smithy/util-middleware": "^4.2.12",
|
|
16951
17023
|
"@smithy/util-retry": "^4.2.12",
|