@purescraps/purehtml 0.8.0 → 0.9.0

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.
@@ -28,9 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  mod
29
29
  ));
30
30
 
31
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/code.js
31
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js
32
32
  var require_code = __commonJS({
33
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
33
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
34
34
  "use strict";
35
35
  Object.defineProperty(exports2, "__esModule", { value: true });
36
36
  exports2.regexpCode = exports2.getEsmExportName = exports2.getProperty = exports2.safeStringify = exports2.stringify = exports2.strConcat = exports2.addCodeArg = exports2.str = exports2._ = exports2.nil = exports2._Code = exports2.Name = exports2.IDENTIFIER = exports2._CodeOrName = void 0;
@@ -182,9 +182,9 @@ var require_code = __commonJS({
182
182
  }
183
183
  });
184
184
 
185
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/scope.js
185
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js
186
186
  var require_scope = __commonJS({
187
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
187
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
188
188
  "use strict";
189
189
  Object.defineProperty(exports2, "__esModule", { value: true });
190
190
  exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = void 0;
@@ -327,9 +327,9 @@ var require_scope = __commonJS({
327
327
  }
328
328
  });
329
329
 
330
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/index.js
330
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js
331
331
  var require_codegen = __commonJS({
332
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
332
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
333
333
  "use strict";
334
334
  Object.defineProperty(exports2, "__esModule", { value: true });
335
335
  exports2.or = exports2.and = exports2.not = exports2.CodeGen = exports2.operators = exports2.varKinds = exports2.ValueScopeName = exports2.ValueScope = exports2.Scope = exports2.Name = exports2.regexpCode = exports2.stringify = exports2.getProperty = exports2.nil = exports2.strConcat = exports2.str = exports2._ = void 0;
@@ -1047,9 +1047,9 @@ var require_codegen = __commonJS({
1047
1047
  }
1048
1048
  });
1049
1049
 
1050
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/util.js
1050
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js
1051
1051
  var require_util = __commonJS({
1052
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/util.js"(exports2) {
1052
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js"(exports2) {
1053
1053
  "use strict";
1054
1054
  Object.defineProperty(exports2, "__esModule", { value: true });
1055
1055
  exports2.checkStrictMode = exports2.getErrorPath = exports2.Type = exports2.useFunc = exports2.setEvaluated = exports2.evaluatedPropsToName = exports2.mergeEvaluated = exports2.eachItem = exports2.unescapeJsonPointer = exports2.escapeJsonPointer = exports2.escapeFragment = exports2.unescapeFragment = exports2.schemaRefOrVal = exports2.schemaHasRulesButRef = exports2.schemaHasRules = exports2.checkUnknownRules = exports2.alwaysValidSchema = exports2.toHash = void 0;
@@ -1214,9 +1214,9 @@ var require_util = __commonJS({
1214
1214
  }
1215
1215
  });
1216
1216
 
1217
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/names.js
1217
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js
1218
1218
  var require_names = __commonJS({
1219
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/names.js"(exports2) {
1219
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js"(exports2) {
1220
1220
  "use strict";
1221
1221
  Object.defineProperty(exports2, "__esModule", { value: true });
1222
1222
  var codegen_1 = require_codegen();
@@ -1253,9 +1253,9 @@ var require_names = __commonJS({
1253
1253
  }
1254
1254
  });
1255
1255
 
1256
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/errors.js
1256
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js
1257
1257
  var require_errors = __commonJS({
1258
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/errors.js"(exports2) {
1258
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js"(exports2) {
1259
1259
  "use strict";
1260
1260
  Object.defineProperty(exports2, "__esModule", { value: true });
1261
1261
  exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = void 0;
@@ -1375,9 +1375,9 @@ var require_errors = __commonJS({
1375
1375
  }
1376
1376
  });
1377
1377
 
1378
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/boolSchema.js
1378
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js
1379
1379
  var require_boolSchema = __commonJS({
1380
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
1380
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
1381
1381
  "use strict";
1382
1382
  Object.defineProperty(exports2, "__esModule", { value: true });
1383
1383
  exports2.boolOrEmptySchema = exports2.topBoolOrEmptySchema = void 0;
@@ -1426,9 +1426,9 @@ var require_boolSchema = __commonJS({
1426
1426
  }
1427
1427
  });
1428
1428
 
1429
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/rules.js
1429
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js
1430
1430
  var require_rules = __commonJS({
1431
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/rules.js"(exports2) {
1431
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js"(exports2) {
1432
1432
  "use strict";
1433
1433
  Object.defineProperty(exports2, "__esModule", { value: true });
1434
1434
  exports2.getRules = exports2.isJSONType = void 0;
@@ -1457,9 +1457,9 @@ var require_rules = __commonJS({
1457
1457
  }
1458
1458
  });
1459
1459
 
1460
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/applicability.js
1460
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js
1461
1461
  var require_applicability = __commonJS({
1462
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
1462
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
1463
1463
  "use strict";
1464
1464
  Object.defineProperty(exports2, "__esModule", { value: true });
1465
1465
  exports2.shouldUseRule = exports2.shouldUseGroup = exports2.schemaHasRulesForType = void 0;
@@ -1480,9 +1480,9 @@ var require_applicability = __commonJS({
1480
1480
  }
1481
1481
  });
1482
1482
 
1483
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/dataType.js
1483
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js
1484
1484
  var require_dataType = __commonJS({
1485
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
1485
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
1486
1486
  "use strict";
1487
1487
  Object.defineProperty(exports2, "__esModule", { value: true });
1488
1488
  exports2.reportTypeError = exports2.checkDataTypes = exports2.checkDataType = exports2.coerceAndCheckDataType = exports2.getJSONTypes = exports2.getSchemaTypes = exports2.DataType = void 0;
@@ -1664,9 +1664,9 @@ var require_dataType = __commonJS({
1664
1664
  }
1665
1665
  });
1666
1666
 
1667
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/defaults.js
1667
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js
1668
1668
  var require_defaults = __commonJS({
1669
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
1669
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
1670
1670
  "use strict";
1671
1671
  Object.defineProperty(exports2, "__esModule", { value: true });
1672
1672
  exports2.assignDefaults = void 0;
@@ -1701,9 +1701,9 @@ var require_defaults = __commonJS({
1701
1701
  }
1702
1702
  });
1703
1703
 
1704
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/code.js
1704
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js
1705
1705
  var require_code2 = __commonJS({
1706
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/code.js"(exports2) {
1706
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js"(exports2) {
1707
1707
  "use strict";
1708
1708
  Object.defineProperty(exports2, "__esModule", { value: true });
1709
1709
  exports2.validateUnion = exports2.validateArray = exports2.usePattern = exports2.callValidateCode = exports2.schemaProperties = exports2.allSchemaProperties = exports2.noPropertyInData = exports2.propertyInData = exports2.isOwnProperty = exports2.hasPropFunc = exports2.reportMissingProp = exports2.checkMissingProp = exports2.checkReportMissingProp = void 0;
@@ -1834,9 +1834,9 @@ var require_code2 = __commonJS({
1834
1834
  }
1835
1835
  });
1836
1836
 
1837
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/keyword.js
1837
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js
1838
1838
  var require_keyword = __commonJS({
1839
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
1839
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
1840
1840
  "use strict";
1841
1841
  Object.defineProperty(exports2, "__esModule", { value: true });
1842
1842
  exports2.validateKeywordUsage = exports2.validSchemaType = exports2.funcKeywordCode = exports2.macroKeywordCode = void 0;
@@ -1952,9 +1952,9 @@ var require_keyword = __commonJS({
1952
1952
  }
1953
1953
  });
1954
1954
 
1955
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/subschema.js
1955
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js
1956
1956
  var require_subschema = __commonJS({
1957
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
1957
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
1958
1958
  "use strict";
1959
1959
  Object.defineProperty(exports2, "__esModule", { value: true });
1960
1960
  exports2.extendSubschemaMode = exports2.extendSubschemaData = exports2.getSubschema = void 0;
@@ -2158,9 +2158,9 @@ var require_json_schema_traverse = __commonJS({
2158
2158
  }
2159
2159
  });
2160
2160
 
2161
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/resolve.js
2161
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js
2162
2162
  var require_resolve = __commonJS({
2163
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/resolve.js"(exports2) {
2163
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js"(exports2) {
2164
2164
  "use strict";
2165
2165
  Object.defineProperty(exports2, "__esModule", { value: true });
2166
2166
  exports2.getSchemaRefs = exports2.resolveUrl = exports2.normalizeId = exports2._getFullPath = exports2.getFullPath = exports2.inlineRef = void 0;
@@ -2314,9 +2314,9 @@ var require_resolve = __commonJS({
2314
2314
  }
2315
2315
  });
2316
2316
 
2317
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/index.js
2317
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js
2318
2318
  var require_validate = __commonJS({
2319
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/index.js"(exports2) {
2319
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js"(exports2) {
2320
2320
  "use strict";
2321
2321
  Object.defineProperty(exports2, "__esModule", { value: true });
2322
2322
  exports2.getData = exports2.KeywordCxt = exports2.validateFunctionCode = void 0;
@@ -2822,9 +2822,9 @@ var require_validate = __commonJS({
2822
2822
  }
2823
2823
  });
2824
2824
 
2825
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/validation_error.js
2825
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js
2826
2826
  var require_validation_error = __commonJS({
2827
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
2827
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
2828
2828
  "use strict";
2829
2829
  Object.defineProperty(exports2, "__esModule", { value: true });
2830
2830
  var ValidationError = class extends Error {
@@ -2838,9 +2838,9 @@ var require_validation_error = __commonJS({
2838
2838
  }
2839
2839
  });
2840
2840
 
2841
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/ref_error.js
2841
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js
2842
2842
  var require_ref_error = __commonJS({
2843
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/ref_error.js"(exports2) {
2843
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js"(exports2) {
2844
2844
  "use strict";
2845
2845
  Object.defineProperty(exports2, "__esModule", { value: true });
2846
2846
  var resolve_1 = require_resolve();
@@ -2855,9 +2855,9 @@ var require_ref_error = __commonJS({
2855
2855
  }
2856
2856
  });
2857
2857
 
2858
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/index.js
2858
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js
2859
2859
  var require_compile = __commonJS({
2860
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/index.js"(exports2) {
2860
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js"(exports2) {
2861
2861
  "use strict";
2862
2862
  Object.defineProperty(exports2, "__esModule", { value: true });
2863
2863
  exports2.resolveSchema = exports2.getCompilingSchema = exports2.resolveRef = exports2.compileSchema = exports2.SchemaEnv = void 0;
@@ -3079,9 +3079,9 @@ var require_compile = __commonJS({
3079
3079
  }
3080
3080
  });
3081
3081
 
3082
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/refs/data.json
3082
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json
3083
3083
  var require_data = __commonJS({
3084
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/refs/data.json"(exports2, module2) {
3084
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json"(exports2, module2) {
3085
3085
  module2.exports = {
3086
3086
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
3087
3087
  description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
@@ -3765,9 +3765,9 @@ var require_fast_uri = __commonJS({
3765
3765
  }
3766
3766
  });
3767
3767
 
3768
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/uri.js
3768
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js
3769
3769
  var require_uri = __commonJS({
3770
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/uri.js"(exports2) {
3770
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js"(exports2) {
3771
3771
  "use strict";
3772
3772
  Object.defineProperty(exports2, "__esModule", { value: true });
3773
3773
  var uri = require_fast_uri();
@@ -3776,9 +3776,9 @@ var require_uri = __commonJS({
3776
3776
  }
3777
3777
  });
3778
3778
 
3779
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/core.js
3779
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js
3780
3780
  var require_core = __commonJS({
3781
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/core.js"(exports2) {
3781
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js"(exports2) {
3782
3782
  "use strict";
3783
3783
  Object.defineProperty(exports2, "__esModule", { value: true });
3784
3784
  exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = void 0;
@@ -3888,7 +3888,7 @@ var require_core = __commonJS({
3888
3888
  constructor(opts = {}) {
3889
3889
  this.schemas = {};
3890
3890
  this.refs = {};
3891
- this.formats = {};
3891
+ this.formats = /* @__PURE__ */ Object.create(null);
3892
3892
  this._compilations = /* @__PURE__ */ new Set();
3893
3893
  this._loading = {};
3894
3894
  this._cache = /* @__PURE__ */ new Map();
@@ -4387,9 +4387,9 @@ var require_core = __commonJS({
4387
4387
  }
4388
4388
  });
4389
4389
 
4390
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/id.js
4390
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js
4391
4391
  var require_id = __commonJS({
4392
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
4392
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
4393
4393
  "use strict";
4394
4394
  Object.defineProperty(exports2, "__esModule", { value: true });
4395
4395
  var def = {
@@ -4402,9 +4402,9 @@ var require_id = __commonJS({
4402
4402
  }
4403
4403
  });
4404
4404
 
4405
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/ref.js
4405
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js
4406
4406
  var require_ref = __commonJS({
4407
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
4407
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
4408
4408
  "use strict";
4409
4409
  Object.defineProperty(exports2, "__esModule", { value: true });
4410
4410
  exports2.callRef = exports2.getValidate = void 0;
@@ -4524,9 +4524,9 @@ var require_ref = __commonJS({
4524
4524
  }
4525
4525
  });
4526
4526
 
4527
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/index.js
4527
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js
4528
4528
  var require_core2 = __commonJS({
4529
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
4529
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
4530
4530
  "use strict";
4531
4531
  Object.defineProperty(exports2, "__esModule", { value: true });
4532
4532
  var id_1 = require_id();
@@ -4545,9 +4545,9 @@ var require_core2 = __commonJS({
4545
4545
  }
4546
4546
  });
4547
4547
 
4548
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4548
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4549
4549
  var require_limitNumber = __commonJS({
4550
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
4550
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
4551
4551
  "use strict";
4552
4552
  Object.defineProperty(exports2, "__esModule", { value: true });
4553
4553
  var codegen_1 = require_codegen();
@@ -4577,9 +4577,9 @@ var require_limitNumber = __commonJS({
4577
4577
  }
4578
4578
  });
4579
4579
 
4580
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4580
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4581
4581
  var require_multipleOf = __commonJS({
4582
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
4582
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
4583
4583
  "use strict";
4584
4584
  Object.defineProperty(exports2, "__esModule", { value: true });
4585
4585
  var codegen_1 = require_codegen();
@@ -4605,9 +4605,9 @@ var require_multipleOf = __commonJS({
4605
4605
  }
4606
4606
  });
4607
4607
 
4608
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/ucs2length.js
4608
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js
4609
4609
  var require_ucs2length = __commonJS({
4610
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
4610
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
4611
4611
  "use strict";
4612
4612
  Object.defineProperty(exports2, "__esModule", { value: true });
4613
4613
  function ucs2length(str) {
@@ -4631,9 +4631,9 @@ var require_ucs2length = __commonJS({
4631
4631
  }
4632
4632
  });
4633
4633
 
4634
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitLength.js
4634
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
4635
4635
  var require_limitLength = __commonJS({
4636
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
4636
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
4637
4637
  "use strict";
4638
4638
  Object.defineProperty(exports2, "__esModule", { value: true });
4639
4639
  var codegen_1 = require_codegen();
@@ -4663,12 +4663,13 @@ var require_limitLength = __commonJS({
4663
4663
  }
4664
4664
  });
4665
4665
 
4666
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/pattern.js
4666
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
4667
4667
  var require_pattern = __commonJS({
4668
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
4668
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
4669
4669
  "use strict";
4670
4670
  Object.defineProperty(exports2, "__esModule", { value: true });
4671
4671
  var code_1 = require_code2();
4672
+ var util_1 = require_util();
4672
4673
  var codegen_1 = require_codegen();
4673
4674
  var error = {
4674
4675
  message: ({ schemaCode }) => (0, codegen_1.str)`must match pattern "${schemaCode}"`,
@@ -4681,19 +4682,27 @@ var require_pattern = __commonJS({
4681
4682
  $data: true,
4682
4683
  error,
4683
4684
  code(cxt) {
4684
- const { data, $data, schema, schemaCode, it } = cxt;
4685
+ const { gen, data, $data, schema, schemaCode, it } = cxt;
4685
4686
  const u = it.opts.unicodeRegExp ? "u" : "";
4686
- const regExp = $data ? (0, codegen_1._)`(new RegExp(${schemaCode}, ${u}))` : (0, code_1.usePattern)(cxt, schema);
4687
- cxt.fail$data((0, codegen_1._)`!${regExp}.test(${data})`);
4687
+ if ($data) {
4688
+ const { regExp } = it.opts.code;
4689
+ const regExpCode = regExp.code === "new RegExp" ? (0, codegen_1._)`new RegExp` : (0, util_1.useFunc)(gen, regExp);
4690
+ const valid = gen.let("valid");
4691
+ gen.try(() => gen.assign(valid, (0, codegen_1._)`${regExpCode}(${schemaCode}, ${u}).test(${data})`), () => gen.assign(valid, false));
4692
+ cxt.fail$data((0, codegen_1._)`!${valid}`);
4693
+ } else {
4694
+ const regExp = (0, code_1.usePattern)(cxt, schema);
4695
+ cxt.fail$data((0, codegen_1._)`!${regExp}.test(${data})`);
4696
+ }
4688
4697
  }
4689
4698
  };
4690
4699
  exports2.default = def;
4691
4700
  }
4692
4701
  });
4693
4702
 
4694
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4703
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4695
4704
  var require_limitProperties = __commonJS({
4696
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
4705
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
4697
4706
  "use strict";
4698
4707
  Object.defineProperty(exports2, "__esModule", { value: true });
4699
4708
  var codegen_1 = require_codegen();
@@ -4720,9 +4729,9 @@ var require_limitProperties = __commonJS({
4720
4729
  }
4721
4730
  });
4722
4731
 
4723
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/required.js
4732
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js
4724
4733
  var require_required = __commonJS({
4725
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
4734
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
4726
4735
  "use strict";
4727
4736
  Object.defineProperty(exports2, "__esModule", { value: true });
4728
4737
  var code_1 = require_code2();
@@ -4802,9 +4811,9 @@ var require_required = __commonJS({
4802
4811
  }
4803
4812
  });
4804
4813
 
4805
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitItems.js
4814
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
4806
4815
  var require_limitItems = __commonJS({
4807
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
4816
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
4808
4817
  "use strict";
4809
4818
  Object.defineProperty(exports2, "__esModule", { value: true });
4810
4819
  var codegen_1 = require_codegen();
@@ -4831,9 +4840,9 @@ var require_limitItems = __commonJS({
4831
4840
  }
4832
4841
  });
4833
4842
 
4834
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/equal.js
4843
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js
4835
4844
  var require_equal = __commonJS({
4836
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/equal.js"(exports2) {
4845
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js"(exports2) {
4837
4846
  "use strict";
4838
4847
  Object.defineProperty(exports2, "__esModule", { value: true });
4839
4848
  var equal = require_fast_deep_equal();
@@ -4842,9 +4851,9 @@ var require_equal = __commonJS({
4842
4851
  }
4843
4852
  });
4844
4853
 
4845
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
4854
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
4846
4855
  var require_uniqueItems = __commonJS({
4847
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
4856
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
4848
4857
  "use strict";
4849
4858
  Object.defineProperty(exports2, "__esModule", { value: true });
4850
4859
  var dataType_1 = require_dataType();
@@ -4909,9 +4918,9 @@ var require_uniqueItems = __commonJS({
4909
4918
  }
4910
4919
  });
4911
4920
 
4912
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/const.js
4921
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js
4913
4922
  var require_const = __commonJS({
4914
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
4923
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
4915
4924
  "use strict";
4916
4925
  Object.defineProperty(exports2, "__esModule", { value: true });
4917
4926
  var codegen_1 = require_codegen();
@@ -4938,9 +4947,9 @@ var require_const = __commonJS({
4938
4947
  }
4939
4948
  });
4940
4949
 
4941
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/enum.js
4950
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js
4942
4951
  var require_enum = __commonJS({
4943
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
4952
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
4944
4953
  "use strict";
4945
4954
  Object.defineProperty(exports2, "__esModule", { value: true });
4946
4955
  var codegen_1 = require_codegen();
@@ -4987,9 +4996,9 @@ var require_enum = __commonJS({
4987
4996
  }
4988
4997
  });
4989
4998
 
4990
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/index.js
4999
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js
4991
5000
  var require_validation = __commonJS({
4992
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
5001
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
4993
5002
  "use strict";
4994
5003
  Object.defineProperty(exports2, "__esModule", { value: true });
4995
5004
  var limitNumber_1 = require_limitNumber();
@@ -5025,9 +5034,9 @@ var require_validation = __commonJS({
5025
5034
  }
5026
5035
  });
5027
5036
 
5028
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
5037
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
5029
5038
  var require_additionalItems = __commonJS({
5030
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
5039
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
5031
5040
  "use strict";
5032
5041
  Object.defineProperty(exports2, "__esModule", { value: true });
5033
5042
  exports2.validateAdditionalItems = void 0;
@@ -5078,9 +5087,9 @@ var require_additionalItems = __commonJS({
5078
5087
  }
5079
5088
  });
5080
5089
 
5081
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items.js
5090
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js
5082
5091
  var require_items = __commonJS({
5083
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
5092
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
5084
5093
  "use strict";
5085
5094
  Object.defineProperty(exports2, "__esModule", { value: true });
5086
5095
  exports2.validateTuple = void 0;
@@ -5135,9 +5144,9 @@ var require_items = __commonJS({
5135
5144
  }
5136
5145
  });
5137
5146
 
5138
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5147
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5139
5148
  var require_prefixItems = __commonJS({
5140
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
5149
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
5141
5150
  "use strict";
5142
5151
  Object.defineProperty(exports2, "__esModule", { value: true });
5143
5152
  var items_1 = require_items();
@@ -5152,9 +5161,9 @@ var require_prefixItems = __commonJS({
5152
5161
  }
5153
5162
  });
5154
5163
 
5155
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items2020.js
5164
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
5156
5165
  var require_items2020 = __commonJS({
5157
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
5166
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
5158
5167
  "use strict";
5159
5168
  Object.defineProperty(exports2, "__esModule", { value: true });
5160
5169
  var codegen_1 = require_codegen();
@@ -5187,9 +5196,9 @@ var require_items2020 = __commonJS({
5187
5196
  }
5188
5197
  });
5189
5198
 
5190
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/contains.js
5199
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
5191
5200
  var require_contains = __commonJS({
5192
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
5201
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
5193
5202
  "use strict";
5194
5203
  Object.defineProperty(exports2, "__esModule", { value: true });
5195
5204
  var codegen_1 = require_codegen();
@@ -5281,9 +5290,9 @@ var require_contains = __commonJS({
5281
5290
  }
5282
5291
  });
5283
5292
 
5284
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5293
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5285
5294
  var require_dependencies = __commonJS({
5286
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
5295
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
5287
5296
  "use strict";
5288
5297
  Object.defineProperty(exports2, "__esModule", { value: true });
5289
5298
  exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = void 0;
@@ -5375,9 +5384,9 @@ var require_dependencies = __commonJS({
5375
5384
  }
5376
5385
  });
5377
5386
 
5378
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5387
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5379
5388
  var require_propertyNames = __commonJS({
5380
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
5389
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
5381
5390
  "use strict";
5382
5391
  Object.defineProperty(exports2, "__esModule", { value: true });
5383
5392
  var codegen_1 = require_codegen();
@@ -5418,9 +5427,9 @@ var require_propertyNames = __commonJS({
5418
5427
  }
5419
5428
  });
5420
5429
 
5421
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5430
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5422
5431
  var require_additionalProperties = __commonJS({
5423
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
5432
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
5424
5433
  "use strict";
5425
5434
  Object.defineProperty(exports2, "__esModule", { value: true });
5426
5435
  var code_1 = require_code2();
@@ -5524,9 +5533,9 @@ var require_additionalProperties = __commonJS({
5524
5533
  }
5525
5534
  });
5526
5535
 
5527
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/properties.js
5536
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
5528
5537
  var require_properties = __commonJS({
5529
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
5538
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
5530
5539
  "use strict";
5531
5540
  Object.defineProperty(exports2, "__esModule", { value: true });
5532
5541
  var validate_1 = require_validate();
@@ -5582,9 +5591,9 @@ var require_properties = __commonJS({
5582
5591
  }
5583
5592
  });
5584
5593
 
5585
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5594
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5586
5595
  var require_patternProperties = __commonJS({
5587
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
5596
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
5588
5597
  "use strict";
5589
5598
  Object.defineProperty(exports2, "__esModule", { value: true });
5590
5599
  var code_1 = require_code2();
@@ -5656,9 +5665,9 @@ var require_patternProperties = __commonJS({
5656
5665
  }
5657
5666
  });
5658
5667
 
5659
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/not.js
5668
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js
5660
5669
  var require_not = __commonJS({
5661
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
5670
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
5662
5671
  "use strict";
5663
5672
  Object.defineProperty(exports2, "__esModule", { value: true });
5664
5673
  var util_1 = require_util();
@@ -5687,9 +5696,9 @@ var require_not = __commonJS({
5687
5696
  }
5688
5697
  });
5689
5698
 
5690
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5699
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5691
5700
  var require_anyOf = __commonJS({
5692
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
5701
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
5693
5702
  "use strict";
5694
5703
  Object.defineProperty(exports2, "__esModule", { value: true });
5695
5704
  var code_1 = require_code2();
@@ -5704,9 +5713,9 @@ var require_anyOf = __commonJS({
5704
5713
  }
5705
5714
  });
5706
5715
 
5707
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5716
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5708
5717
  var require_oneOf = __commonJS({
5709
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
5718
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
5710
5719
  "use strict";
5711
5720
  Object.defineProperty(exports2, "__esModule", { value: true });
5712
5721
  var codegen_1 = require_codegen();
@@ -5762,9 +5771,9 @@ var require_oneOf = __commonJS({
5762
5771
  }
5763
5772
  });
5764
5773
 
5765
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/allOf.js
5774
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
5766
5775
  var require_allOf = __commonJS({
5767
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
5776
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
5768
5777
  "use strict";
5769
5778
  Object.defineProperty(exports2, "__esModule", { value: true });
5770
5779
  var util_1 = require_util();
@@ -5789,9 +5798,9 @@ var require_allOf = __commonJS({
5789
5798
  }
5790
5799
  });
5791
5800
 
5792
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/if.js
5801
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js
5793
5802
  var require_if = __commonJS({
5794
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
5803
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
5795
5804
  "use strict";
5796
5805
  Object.defineProperty(exports2, "__esModule", { value: true });
5797
5806
  var codegen_1 = require_codegen();
@@ -5858,9 +5867,9 @@ var require_if = __commonJS({
5858
5867
  }
5859
5868
  });
5860
5869
 
5861
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
5870
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
5862
5871
  var require_thenElse = __commonJS({
5863
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
5872
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
5864
5873
  "use strict";
5865
5874
  Object.defineProperty(exports2, "__esModule", { value: true });
5866
5875
  var util_1 = require_util();
@@ -5876,9 +5885,9 @@ var require_thenElse = __commonJS({
5876
5885
  }
5877
5886
  });
5878
5887
 
5879
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/index.js
5888
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js
5880
5889
  var require_applicator = __commonJS({
5881
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
5890
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
5882
5891
  "use strict";
5883
5892
  Object.defineProperty(exports2, "__esModule", { value: true });
5884
5893
  var additionalItems_1 = require_additionalItems();
@@ -5924,9 +5933,9 @@ var require_applicator = __commonJS({
5924
5933
  }
5925
5934
  });
5926
5935
 
5927
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/format.js
5936
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js
5928
5937
  var require_format = __commonJS({
5929
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
5938
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
5930
5939
  "use strict";
5931
5940
  Object.defineProperty(exports2, "__esModule", { value: true });
5932
5941
  var codegen_1 = require_codegen();
@@ -6014,9 +6023,9 @@ var require_format = __commonJS({
6014
6023
  }
6015
6024
  });
6016
6025
 
6017
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/index.js
6026
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js
6018
6027
  var require_format2 = __commonJS({
6019
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
6028
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
6020
6029
  "use strict";
6021
6030
  Object.defineProperty(exports2, "__esModule", { value: true });
6022
6031
  var format_1 = require_format();
@@ -6025,9 +6034,9 @@ var require_format2 = __commonJS({
6025
6034
  }
6026
6035
  });
6027
6036
 
6028
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/metadata.js
6037
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js
6029
6038
  var require_metadata = __commonJS({
6030
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
6039
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
6031
6040
  "use strict";
6032
6041
  Object.defineProperty(exports2, "__esModule", { value: true });
6033
6042
  exports2.contentVocabulary = exports2.metadataVocabulary = void 0;
@@ -6048,9 +6057,9 @@ var require_metadata = __commonJS({
6048
6057
  }
6049
6058
  });
6050
6059
 
6051
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/draft7.js
6060
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js
6052
6061
  var require_draft7 = __commonJS({
6053
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
6062
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
6054
6063
  "use strict";
6055
6064
  Object.defineProperty(exports2, "__esModule", { value: true });
6056
6065
  var core_1 = require_core2();
@@ -6070,9 +6079,9 @@ var require_draft7 = __commonJS({
6070
6079
  }
6071
6080
  });
6072
6081
 
6073
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/types.js
6082
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
6074
6083
  var require_types = __commonJS({
6075
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
6084
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
6076
6085
  "use strict";
6077
6086
  Object.defineProperty(exports2, "__esModule", { value: true });
6078
6087
  exports2.DiscrError = void 0;
@@ -6084,9 +6093,9 @@ var require_types = __commonJS({
6084
6093
  }
6085
6094
  });
6086
6095
 
6087
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/index.js
6096
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
6088
6097
  var require_discriminator = __commonJS({
6089
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
6098
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
6090
6099
  "use strict";
6091
6100
  Object.defineProperty(exports2, "__esModule", { value: true });
6092
6101
  var codegen_1 = require_codegen();
@@ -6189,9 +6198,9 @@ var require_discriminator = __commonJS({
6189
6198
  }
6190
6199
  });
6191
6200
 
6192
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/refs/json-schema-draft-07.json
6201
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
6193
6202
  var require_json_schema_draft_07 = __commonJS({
6194
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
6203
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
6195
6204
  module2.exports = {
6196
6205
  $schema: "http://json-schema.org/draft-07/schema#",
6197
6206
  $id: "http://json-schema.org/draft-07/schema#",
@@ -6346,9 +6355,9 @@ var require_json_schema_draft_07 = __commonJS({
6346
6355
  }
6347
6356
  });
6348
6357
 
6349
- // node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/ajv.js
6358
+ // node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/ajv.js
6350
6359
  var require_ajv = __commonJS({
6351
- "node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/ajv.js"(exports2, module2) {
6360
+ "node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/ajv.js"(exports2, module2) {
6352
6361
  "use strict";
6353
6362
  Object.defineProperty(exports2, "__esModule", { value: true });
6354
6363
  exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = void 0;
@@ -6649,6 +6658,65 @@ var AttributeTransformer = class _AttributeTransformer extends Transformer {
6649
6658
  }
6650
6659
  };
6651
6660
 
6661
+ // src/transformers/boolean.ts
6662
+ var BooleanTransformer = class extends Transformer {
6663
+ static getName() {
6664
+ return "boolean";
6665
+ }
6666
+ inputType() {
6667
+ return BOOLEAN;
6668
+ }
6669
+ outputType() {
6670
+ return BOOLEAN;
6671
+ }
6672
+ transform({ val }) {
6673
+ if (Array.isArray(val)) {
6674
+ return val.length > 0;
6675
+ }
6676
+ if (val !== null && typeof val === "object") {
6677
+ return Object.keys(val).length > 0;
6678
+ }
6679
+ return Boolean(val);
6680
+ }
6681
+ };
6682
+
6683
+ // src/errors/invalid-parse-input-error.ts
6684
+ var InvalidParseInputError = class extends Error {
6685
+ constructor(property, message) {
6686
+ super(message);
6687
+ this.property = property;
6688
+ }
6689
+ };
6690
+
6691
+ // src/transformers/capitalize.ts
6692
+ var CapitalizeTransformer = class extends Transformer {
6693
+ static getName() {
6694
+ return "capitalize";
6695
+ }
6696
+ inputType() {
6697
+ return STRING;
6698
+ }
6699
+ outputType() {
6700
+ return STRING;
6701
+ }
6702
+ transform({ property, val }) {
6703
+ if (val === null) {
6704
+ return null;
6705
+ }
6706
+ if (typeof val !== "string") {
6707
+ throw new InvalidParseInputError(
6708
+ property,
6709
+ `CapitalizeTransformer.transform: invalid value type: ${typeof val}`
6710
+ );
6711
+ }
6712
+ if (val.length === 0) {
6713
+ return val;
6714
+ }
6715
+ const lower = val.toLowerCase();
6716
+ return lower.charAt(0).toUpperCase() + lower.slice(1);
6717
+ }
6718
+ };
6719
+
6652
6720
  // src/transformers/exists.ts
6653
6721
  var Exists = class extends Transformer {
6654
6722
  static getName() {
@@ -6681,6 +6749,40 @@ var HTMLTransformer = class extends Transformer {
6681
6749
  }
6682
6750
  };
6683
6751
 
6752
+ // src/core/complex-types.ts
6753
+ var OBJECT = Symbol("OBJECT");
6754
+ var ARRAY = Symbol("ARRAY");
6755
+
6756
+ // src/transformers/join.ts
6757
+ var JoinTransformer = class extends Transformer {
6758
+ constructor(args) {
6759
+ super();
6760
+ this.args = args;
6761
+ }
6762
+ static getName() {
6763
+ return "join";
6764
+ }
6765
+ inputType() {
6766
+ return ARRAY;
6767
+ }
6768
+ outputType() {
6769
+ return STRING;
6770
+ }
6771
+ transform({ property, val }) {
6772
+ if (val === null) {
6773
+ return null;
6774
+ }
6775
+ if (!Array.isArray(val)) {
6776
+ throw new InvalidParseInputError(
6777
+ property,
6778
+ `JoinTransformer.transform: invalid value type: ${typeof val}`
6779
+ );
6780
+ }
6781
+ const [delimiter = ""] = this.args;
6782
+ return val.map((item) => String(item)).join(delimiter);
6783
+ }
6784
+ };
6785
+
6684
6786
  // src/transformers/json.ts
6685
6787
  var JSONTransformer = class extends Transformer {
6686
6788
  static getName() {
@@ -6700,14 +6802,6 @@ var JSONTransformer = class extends Transformer {
6700
6802
  }
6701
6803
  };
6702
6804
 
6703
- // src/errors/invalid-parse-input-error.ts
6704
- var InvalidParseInputError = class extends Error {
6705
- constructor(property, message) {
6706
- super(message);
6707
- this.property = property;
6708
- }
6709
- };
6710
-
6711
6805
  // src/transformers/length.ts
6712
6806
  var Length = class extends Transformer {
6713
6807
  static getName() {
@@ -6730,6 +6824,31 @@ var Length = class extends Transformer {
6730
6824
  }
6731
6825
  };
6732
6826
 
6827
+ // src/transformers/lower.ts
6828
+ var LowerTransformer = class extends Transformer {
6829
+ static getName() {
6830
+ return "lower";
6831
+ }
6832
+ inputType() {
6833
+ return STRING;
6834
+ }
6835
+ outputType() {
6836
+ return STRING;
6837
+ }
6838
+ transform({ property, val }) {
6839
+ if (val === null) {
6840
+ return null;
6841
+ }
6842
+ if (typeof val === "string") {
6843
+ return val.toLowerCase();
6844
+ }
6845
+ throw new InvalidParseInputError(
6846
+ property,
6847
+ `LowerTransformer.transform: invalid value type: ${typeof val}`
6848
+ );
6849
+ }
6850
+ };
6851
+
6733
6852
  // src/transformers/number.ts
6734
6853
  var NumberTransformer = class extends Transformer {
6735
6854
  static getName() {
@@ -6828,6 +6947,41 @@ var RemoveUrlQueryParam = class _RemoveUrlQueryParam extends Transformer {
6828
6947
  }
6829
6948
  };
6830
6949
 
6950
+ // src/transformers/replace.ts
6951
+ var ReplaceTransformer = class extends Transformer {
6952
+ constructor(args) {
6953
+ super();
6954
+ this.args = args;
6955
+ }
6956
+ static getName() {
6957
+ return "replace";
6958
+ }
6959
+ inputType() {
6960
+ return STRING;
6961
+ }
6962
+ outputType() {
6963
+ return STRING;
6964
+ }
6965
+ transform({ property, val }) {
6966
+ if (val === null) {
6967
+ return null;
6968
+ }
6969
+ if (typeof val !== "string") {
6970
+ throw new InvalidParseInputError(
6971
+ property,
6972
+ `ReplaceTransformer.transform: invalid value type: ${typeof val}`
6973
+ );
6974
+ }
6975
+ const [pattern, replacement] = this.args;
6976
+ if (pattern === void 0 || replacement === void 0) {
6977
+ throw new Error(
6978
+ 'replace: requires a pattern and a replacement, e.g. replace("\\s+", " ")'
6979
+ );
6980
+ }
6981
+ return val.replace(new RegExp(pattern, "g"), replacement);
6982
+ }
6983
+ };
6984
+
6831
6985
  // src/transformers/resolve.ts
6832
6986
  var ResolveTransformer = class extends Transformer {
6833
6987
  static getName() {
@@ -6850,6 +7004,40 @@ var ResolveTransformer = class extends Transformer {
6850
7004
  }
6851
7005
  };
6852
7006
 
7007
+ // src/transformers/split.ts
7008
+ var SplitTransformer = class extends Transformer {
7009
+ constructor(args) {
7010
+ super();
7011
+ this.args = args;
7012
+ }
7013
+ static getName() {
7014
+ return "split";
7015
+ }
7016
+ inputType() {
7017
+ return STRING;
7018
+ }
7019
+ outputType() {
7020
+ return ARRAY;
7021
+ }
7022
+ transform({ property, val }) {
7023
+ if (val === null) {
7024
+ return null;
7025
+ }
7026
+ if (typeof val !== "string") {
7027
+ throw new InvalidParseInputError(
7028
+ property,
7029
+ `SplitTransformer.transform: invalid value type: ${typeof val}`
7030
+ );
7031
+ }
7032
+ const [delimiter] = this.args;
7033
+ if (delimiter === void 0) {
7034
+ const trimmed = val.trim();
7035
+ return trimmed === "" ? [] : trimmed.split(/\s+/);
7036
+ }
7037
+ return val.split(delimiter);
7038
+ }
7039
+ };
7040
+
6853
7041
  // src/transformers/trim.ts
6854
7042
  var Trim = class extends Transformer {
6855
7043
  static getName() {
@@ -6875,6 +7063,31 @@ var Trim = class extends Transformer {
6875
7063
  }
6876
7064
  };
6877
7065
 
7066
+ // src/transformers/upper.ts
7067
+ var UpperTransformer = class extends Transformer {
7068
+ static getName() {
7069
+ return "upper";
7070
+ }
7071
+ inputType() {
7072
+ return STRING;
7073
+ }
7074
+ outputType() {
7075
+ return STRING;
7076
+ }
7077
+ transform({ property, val }) {
7078
+ if (val === null) {
7079
+ return null;
7080
+ }
7081
+ if (typeof val === "string") {
7082
+ return val.toUpperCase();
7083
+ }
7084
+ throw new InvalidParseInputError(
7085
+ property,
7086
+ `UpperTransformer.transform: invalid value type: ${typeof val}`
7087
+ );
7088
+ }
7089
+ };
7090
+
6878
7091
  // src/transformers/url-query-param.ts
6879
7092
  var UrlQueryParamTransformer = class _UrlQueryParamTransformer extends Transformer {
6880
7093
  constructor(args) {
@@ -6922,15 +7135,22 @@ var UrlQueryParamTransformer = class _UrlQueryParamTransformer extends Transform
6922
7135
  var Transformers = class _Transformers {
6923
7136
  static transformers = [
6924
7137
  AttributeTransformer,
7138
+ BooleanTransformer,
7139
+ CapitalizeTransformer,
6925
7140
  Exists,
6926
7141
  HTMLTransformer,
7142
+ JoinTransformer,
6927
7143
  JSONTransformer,
6928
7144
  Length,
7145
+ LowerTransformer,
6929
7146
  NumberTransformer,
6930
7147
  RemoveLastPathSection,
6931
7148
  RemoveUrlQueryParam,
7149
+ ReplaceTransformer,
6932
7150
  ResolveTransformer,
7151
+ SplitTransformer,
6933
7152
  Trim,
7153
+ UpperTransformer,
6934
7154
  UrlQueryParamTransformer
6935
7155
  ];
6936
7156
  static getByName(name) {
@@ -6939,9 +7159,9 @@ var Transformers = class _Transformers {
6939
7159
  };
6940
7160
 
6941
7161
  // src/transformers/factory.ts
7162
+ var ARG_PATTERN = /(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|[\w-]+)/.source;
7163
+ var TRANSFORMER_DEFINITION_REGEX = `^[\\w-]+(\\((\\s*${ARG_PATTERN}\\s*(,\\s*${ARG_PATTERN}\\s*)*)?\\))?$`;
6942
7164
  var TRANSFORMER_NAME_REGEX = /^([\w-]+[^(])/;
6943
- var TRANSFORMER_ARGUMENT_PARANTHESIS_REGEX = /\(([\w-]+\s*,?\s*)*\)/;
6944
- var TRANSFORMER_ARGUMENT_NAME_REGEX = /[\w-]+/g;
6945
7165
  var TransformerFactory = class _TransformerFactory {
6946
7166
  static create(transform) {
6947
7167
  const transformerName = _TransformerFactory.extractTransformerName(transform);
@@ -6960,19 +7180,74 @@ var TransformerFactory = class _TransformerFactory {
6960
7180
  return matches[0];
6961
7181
  }
6962
7182
  static extractTransformerArgs(def) {
6963
- const argsParanthesisMatch = def.match(
6964
- TRANSFORMER_ARGUMENT_PARANTHESIS_REGEX
6965
- );
6966
- if (argsParanthesisMatch === null) {
7183
+ const openIndex = def.indexOf("(");
7184
+ if (openIndex === -1) {
6967
7185
  return [];
6968
7186
  }
6969
- const argMatches = argsParanthesisMatch[0].match(
6970
- TRANSFORMER_ARGUMENT_NAME_REGEX
6971
- );
6972
- if (argMatches === null) {
7187
+ const closeIndex = def.lastIndexOf(")");
7188
+ if (closeIndex === -1 || closeIndex < openIndex) {
6973
7189
  return [];
6974
7190
  }
6975
- return argMatches;
7191
+ return _TransformerFactory.parseArgList(
7192
+ def.slice(openIndex + 1, closeIndex)
7193
+ );
7194
+ }
7195
+ /**
7196
+ * Parses a comma-separated argument list, honoring single- and
7197
+ * double-quoted arguments so that delimiters, regex patterns, and
7198
+ * replacement strings can contain commas, spaces, and other characters
7199
+ * that would otherwise conflict with the comma separator, e.g.
7200
+ * replace("\s+", " ") or split(", "). Inside a quoted argument, a
7201
+ * backslash escapes the matching quote character or another backslash
7202
+ * (\" or \\); any other backslash (e.g. the \s above) is left untouched
7203
+ * so regex patterns pass through unchanged. Bare (unquoted) arguments are
7204
+ * trimmed of surrounding whitespace but otherwise taken verbatim.
7205
+ */
7206
+ static parseArgList(argsStr) {
7207
+ const args = [];
7208
+ let i = 0;
7209
+ const n = argsStr.length;
7210
+ const isSpace = (ch) => ch === " " || ch === " " || ch === "\n";
7211
+ while (i < n) {
7212
+ while (i < n && isSpace(argsStr.charAt(i))) {
7213
+ i += 1;
7214
+ }
7215
+ if (i >= n) {
7216
+ break;
7217
+ }
7218
+ const ch = argsStr.charAt(i);
7219
+ if (ch === '"' || ch === "'") {
7220
+ const quote = ch;
7221
+ i += 1;
7222
+ let value = "";
7223
+ while (i < n && argsStr.charAt(i) !== quote) {
7224
+ const c = argsStr.charAt(i);
7225
+ const next = argsStr.charAt(i + 1);
7226
+ if (c === "\\" && i + 1 < n && (next === quote || next === "\\")) {
7227
+ value += next;
7228
+ i += 2;
7229
+ } else {
7230
+ value += c;
7231
+ i += 1;
7232
+ }
7233
+ }
7234
+ i += 1;
7235
+ args.push(value);
7236
+ } else {
7237
+ const start = i;
7238
+ while (i < n && argsStr.charAt(i) !== ",") {
7239
+ i += 1;
7240
+ }
7241
+ args.push(argsStr.slice(start, i).trim());
7242
+ }
7243
+ while (i < n && isSpace(argsStr.charAt(i))) {
7244
+ i += 1;
7245
+ }
7246
+ if (i < n && argsStr.charAt(i) === ",") {
7247
+ i += 1;
7248
+ }
7249
+ }
7250
+ return args;
6976
7251
  }
6977
7252
  };
6978
7253
 
@@ -7149,13 +7424,13 @@ var oneOf = [
7149
7424
  oneOf: [
7150
7425
  {
7151
7426
  type: "string",
7152
- pattern: "^[\\w-]+(\\(([\\w-]+|(([\\w-]+\\s*,\\s*)*[\\w-]+))?\\))?$"
7427
+ pattern: `^[\\w-]+(\\((\\s*(?:"(?:[^"\\\\]|\\\\.)*"|'(?:[^'\\\\]|\\\\.)*'|[\\w-]+)\\s*(,\\s*(?:"(?:[^"\\\\]|\\\\.)*"|'(?:[^'\\\\]|\\\\.)*'|[\\w-]+)\\s*)*)?\\))?$`
7153
7428
  },
7154
7429
  {
7155
7430
  type: "array",
7156
7431
  items: {
7157
7432
  type: "string",
7158
- pattern: "^[\\w-]+(\\(([\\w-]+|(([\\w-]+\\s*,\\s*)*[\\w-]+))?\\))?$"
7433
+ pattern: `^[\\w-]+(\\((\\s*(?:"(?:[^"\\\\]|\\\\.)*"|'(?:[^'\\\\]|\\\\.)*'|[\\w-]+)\\s*(,\\s*(?:"(?:[^"\\\\]|\\\\.)*"|'(?:[^'\\\\]|\\\\.)*'|[\\w-]+)\\s*)*)?\\))?$`
7159
7434
  },
7160
7435
  minItems: 1
7161
7436
  }