@osdk/cli 0.26.0-beta.5 → 0.26.0-beta.6

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.
Files changed (77) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/esm/acorn-LQZJTRX7.js +30 -30
  3. package/build/esm/acorn-LQZJTRX7.js.map +1 -1
  4. package/build/esm/angular-VWUX447C.js +8 -8
  5. package/build/esm/angular-VWUX447C.js.map +1 -1
  6. package/build/esm/babel-7BWEVLBS.js +64 -64
  7. package/build/esm/babel-7BWEVLBS.js.map +1 -1
  8. package/build/esm/chunk-DMUWBIYY.js.map +1 -1
  9. package/build/esm/chunk-GVZBRYRL.js.map +1 -1
  10. package/build/esm/chunk-HCWMXOMI.js.map +1 -1
  11. package/build/esm/chunk-KHVWTBWA.js.map +1 -1
  12. package/build/esm/chunk-KXNCVDQG.js +2 -2
  13. package/build/esm/chunk-KXNCVDQG.js.map +1 -1
  14. package/build/esm/chunk-LR3YBME3.js +3 -3
  15. package/build/esm/chunk-LR3YBME3.js.map +1 -1
  16. package/build/esm/chunk-PXU2ECCD.js +6 -6
  17. package/build/esm/chunk-PXU2ECCD.js.map +1 -1
  18. package/build/esm/chunk-SAOPV5FF.js.map +1 -1
  19. package/build/esm/{chunk-TAVP2OOG.js → chunk-TYCMYZ74.js} +4 -4
  20. package/build/esm/chunk-TYCMYZ74.js.map +1 -0
  21. package/build/esm/estree-PI6JMQNR.js +99 -99
  22. package/build/esm/estree-PI6JMQNR.js.map +1 -1
  23. package/build/esm/flow-AP4DEOL5.js +14 -14
  24. package/build/esm/flow-AP4DEOL5.js.map +1 -1
  25. package/build/esm/glimmer-LM2ZFC5U.js +50 -50
  26. package/build/esm/glimmer-LM2ZFC5U.js.map +1 -1
  27. package/build/esm/graphql-U5CPDQKQ.js +18 -18
  28. package/build/esm/graphql-U5CPDQKQ.js.map +1 -1
  29. package/build/esm/{handleGenerate-XE3AXVFJ.js → handleGenerate-KB4B5KME.js} +265 -265
  30. package/build/esm/handleGenerate-KB4B5KME.js.map +1 -0
  31. package/build/esm/html-FNGHE355.js +34 -34
  32. package/build/esm/html-FNGHE355.js.map +1 -1
  33. package/build/esm/index.js +17 -17
  34. package/build/esm/index.js.map +1 -1
  35. package/build/esm/markdown-HUHOYR5Q.js +45 -45
  36. package/build/esm/markdown-HUHOYR5Q.js.map +1 -1
  37. package/build/esm/meriyah-WP7UQXC7.js +34 -34
  38. package/build/esm/meriyah-WP7UQXC7.js.map +1 -1
  39. package/build/esm/postcss-JMNG34CL.js +75 -75
  40. package/build/esm/postcss-JMNG34CL.js.map +1 -1
  41. package/build/esm/{siteDeployCommand-MHW4DE2N.js → siteDeployCommand-FKDPDR4P.js} +4 -4
  42. package/build/esm/siteDeployCommand-FKDPDR4P.js.map +1 -0
  43. package/build/esm/typescript-A4QI3FB6.js +664 -664
  44. package/build/esm/typescript-A4QI3FB6.js.map +1 -1
  45. package/build/esm/{versionDeleteCommand-2HTL2AKX.js → versionDeleteCommand-3WAXOD3K.js} +3 -3
  46. package/build/esm/versionDeleteCommand-3WAXOD3K.js.map +1 -0
  47. package/build/esm/{versionDeleteCommand-OH3DBVWK.js → versionDeleteCommand-YDDZMNZR.js} +3 -3
  48. package/build/esm/versionDeleteCommand-YDDZMNZR.js.map +1 -0
  49. package/build/esm/{versionGetCommand-OJ7OWM4W.js → versionGetCommand-D5UKJRW7.js} +3 -3
  50. package/build/esm/versionGetCommand-D5UKJRW7.js.map +1 -0
  51. package/build/esm/{versionInfoCommand-VSSWQ7XO.js → versionInfoCommand-KAW7DOIN.js} +3 -3
  52. package/build/esm/versionInfoCommand-KAW7DOIN.js.map +1 -0
  53. package/build/esm/{versionListCommand-YNYRIF6K.js → versionListCommand-LI6TPANH.js} +3 -3
  54. package/build/esm/versionListCommand-LI6TPANH.js.map +1 -0
  55. package/build/esm/{versionListCommand-AMJ24BZS.js → versionListCommand-VYQCZPIZ.js} +3 -3
  56. package/build/esm/versionListCommand-VYQCZPIZ.js.map +1 -0
  57. package/build/esm/{versionSetCommand-GFLHAZE6.js → versionSetCommand-MR343G7W.js} +3 -3
  58. package/build/esm/versionSetCommand-MR343G7W.js.map +1 -0
  59. package/build/esm/{versionUnsetCommand-5R33WWJ5.js → versionUnsetCommand-HDH44EUP.js} +3 -3
  60. package/build/esm/versionUnsetCommand-HDH44EUP.js.map +1 -0
  61. package/build/esm/{widgetSetDeployCommand-7DA2ZFNW.js → widgetSetDeployCommand-YVAIPCBY.js} +3 -3
  62. package/build/esm/widgetSetDeployCommand-YVAIPCBY.js.map +1 -0
  63. package/build/esm/yaml-IT3UOTAK.js +46 -46
  64. package/build/esm/yaml-IT3UOTAK.js.map +1 -1
  65. package/package.json +6 -6
  66. package/build/esm/chunk-TAVP2OOG.js.map +0 -1
  67. package/build/esm/handleGenerate-XE3AXVFJ.js.map +0 -1
  68. package/build/esm/siteDeployCommand-MHW4DE2N.js.map +0 -1
  69. package/build/esm/versionDeleteCommand-2HTL2AKX.js.map +0 -1
  70. package/build/esm/versionDeleteCommand-OH3DBVWK.js.map +0 -1
  71. package/build/esm/versionGetCommand-OJ7OWM4W.js.map +0 -1
  72. package/build/esm/versionInfoCommand-VSSWQ7XO.js.map +0 -1
  73. package/build/esm/versionListCommand-AMJ24BZS.js.map +0 -1
  74. package/build/esm/versionListCommand-YNYRIF6K.js.map +0 -1
  75. package/build/esm/versionSetCommand-GFLHAZE6.js.map +0 -1
  76. package/build/esm/versionUnsetCommand-5R33WWJ5.js.map +0 -1
  77. package/build/esm/widgetSetDeployCommand-7DA2ZFNW.js.map +0 -1
@@ -110,9 +110,9 @@ var UnknownError = class extends PalantirApiError2 {
110
110
  // ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.3.0/node_modules/@osdk/shared.net.platformapi/build/esm/foundryPlatformFetch.js
111
111
  async function foundryPlatformFetch(client, [httpMethodNum, origPath, flags, contentType, responseContentType], ...args) {
112
112
  const path21 = origPath.replace(/\{([^}]+)\}/g, () => encodeURIComponent(args.shift()));
113
- const body = flags & 1 ? args.shift() : undefined;
114
- const queryArgs = flags & 2 ? args.shift() : undefined;
115
- const headerArgs = flags & 4 ? args.shift() : undefined;
113
+ const body = flags & 1 ? args.shift() : void 0;
114
+ const queryArgs = flags & 2 ? args.shift() : void 0;
115
+ const headerArgs = flags & 4 ? args.shift() : void 0;
116
116
  const method = ["GET", "POST", "PUT", "DELETE", "PATCH"][httpMethodNum];
117
117
  return await apiFetch(client[symbolClientContext2] ?? client[symbolClientContext] ?? client, method, path21, body, queryArgs, headerArgs, contentType, responseContentType);
118
118
  }
@@ -284,7 +284,7 @@ var EnhancedBase = class extends AbstractImportable {
284
284
  };
285
285
  function extractNamespace(fqApiName) {
286
286
  const last = fqApiName.lastIndexOf(".");
287
- if (last === -1) return [undefined, fqApiName];
287
+ if (last === -1) return [void 0, fqApiName];
288
288
  return [fqApiName.slice(0, last), fqApiName.slice(last + 1)];
289
289
  }
290
290
 
@@ -328,7 +328,7 @@ init_esm_shims();
328
328
  function wirePropertyV2ToSdkPropertyDefinition(input, isNullable = true, log) {
329
329
  const sdkPropDefinition = objectPropertyTypeToSdkPropertyDefinition(input.dataType, log);
330
330
  if (sdkPropDefinition == null) {
331
- return undefined;
331
+ return void 0;
332
332
  }
333
333
  switch (input.dataType.type) {
334
334
  case "integer":
@@ -369,12 +369,12 @@ function wirePropertyV2ToSdkPropertyDefinition(input, isNullable = true, log) {
369
369
  case "cipherText":
370
370
  case "vector": {
371
371
  log?.info(`${JSON.stringify(input.dataType.type)} is not a supported dataType`);
372
- return undefined;
372
+ return void 0;
373
373
  }
374
374
  default:
375
375
  input.dataType;
376
376
  log?.info(`${JSON.stringify(input.dataType)} is not a supported dataType`);
377
- return undefined;
377
+ return void 0;
378
378
  }
379
379
  }
380
380
  function objectPropertyTypeToSdkPropertyDefinition(propertyType, log) {
@@ -415,11 +415,11 @@ function objectPropertyTypeToSdkPropertyDefinition(propertyType, log) {
415
415
  case "cipherText":
416
416
  case "vector": {
417
417
  log?.info(`${JSON.stringify(propertyType.type)} is not a supported propertyType`);
418
- return undefined;
418
+ return void 0;
419
419
  }
420
420
  default: {
421
421
  log?.info(`${JSON.stringify(propertyType)} is not a supported propertyType`);
422
- return undefined;
422
+ return void 0;
423
423
  }
424
424
  }
425
425
  }
@@ -432,8 +432,8 @@ function __UNSTABLE_wireInterfaceTypeV2ToSdkObjectDefinition(interfaceType, v2,
432
432
  apiName: interfaceType.apiName,
433
433
  displayName: interfaceType.displayName,
434
434
  description: interfaceType.description,
435
- implements: interfaceType.extendsInterfaces,
436
- properties: Object.fromEntries(Object.entries(interfaceType.properties).map(([key2, value]) => {
435
+ implements: interfaceType.allExtendsInterfaces ?? interfaceType.extendsInterfaces,
436
+ properties: Object.fromEntries(Object.entries(interfaceType.allProperties ?? interfaceType.properties).map(([key2, value]) => {
437
437
  return [key2, wirePropertyV2ToSdkPropertyDefinition(value, true, log)];
438
438
  }).filter(([key2, value]) => value != null)),
439
439
  links: {},
@@ -596,7 +596,7 @@ function wirePropertyV2ToSdkPrimaryKeyTypeDefinition(input) {
596
596
 
597
597
  // ../generator-converters/build/esm/wireObjectTypeFullMetadataToSdkObjectMetadata.js
598
598
  function wireObjectTypeFullMetadataToSdkObjectMetadata(objectTypeWithLink, v2, log) {
599
- if (objectTypeWithLink.objectType.properties[objectTypeWithLink.objectType.primaryKey] === undefined) {
599
+ if (objectTypeWithLink.objectType.properties[objectTypeWithLink.objectType.primaryKey] === void 0) {
600
600
  throw new Error(`Primary key ${objectTypeWithLink.objectType.primaryKey} not found in ${objectTypeWithLink.objectType.apiName}`);
601
601
  }
602
602
  if (objectTypeWithLink.implementsInterfaces2 == null && objectTypeWithLink.implementsInterfaces != null) {
@@ -619,7 +619,7 @@ function wireObjectTypeFullMetadataToSdkObjectMetadata(objectTypeWithLink, v2, l
619
619
  implements: objectTypeWithLink.implementsInterfaces,
620
620
  interfaceMap,
621
621
  inverseInterfaceMap: Object.fromEntries(Object.entries(interfaceMap).map(([interfaceApiName, props]) => [interfaceApiName, invertProps(props)])),
622
- icon: supportedIconTypes.includes(objectTypeWithLink.objectType.icon.type) ? objectTypeWithLink.objectType.icon : undefined,
622
+ icon: supportedIconTypes.includes(objectTypeWithLink.objectType.icon.type) ? objectTypeWithLink.objectType.icon : void 0,
623
623
  titleProperty: objectTypeWithLink.objectType.titleProperty,
624
624
  displayName: objectTypeWithLink.objectType.displayName,
625
625
  pluralDisplayName: objectTypeWithLink.objectType.pluralDisplayName,
@@ -629,7 +629,7 @@ function wireObjectTypeFullMetadataToSdkObjectMetadata(objectTypeWithLink, v2, l
629
629
  };
630
630
  }
631
631
  function invertProps(a) {
632
- return a ? Object.fromEntries(Object.entries(a).map(([k, v]) => [v, k])) : undefined;
632
+ return a ? Object.fromEntries(Object.entries(a).map(([k, v]) => [v, k])) : void 0;
633
633
  }
634
634
  var supportedIconTypes = ["blueprint"];
635
635
 
@@ -794,7 +794,7 @@ function wireQueryParameterV2ToQueryParameterDefinition(parameter) {
794
794
  // ../generator/build/esm/util/deleteUndefineds.js
795
795
  init_esm_shims();
796
796
  function deleteUndefineds(obj) {
797
- return Object.fromEntries(Object.entries(obj).filter(([, value]) => value !== undefined));
797
+ return Object.fromEntries(Object.entries(obj).filter(([, value]) => value !== void 0));
798
798
  }
799
799
 
800
800
  // ../generator/build/esm/GenerateContext/EnhancedInterfaceType.js
@@ -1086,7 +1086,7 @@ function traverseDoc(doc, onEnter, onExit, shouldTraverseConditionalGroups) {
1086
1086
  if (!docType) {
1087
1087
  throw new invalid_doc_error_default(doc2);
1088
1088
  }
1089
- if ((onEnter == null ? undefined : onEnter(doc2)) === false) {
1089
+ if ((onEnter == null ? void 0 : onEnter(doc2)) === false) {
1090
1090
  continue;
1091
1091
  }
1092
1092
  switch (docType) {
@@ -1261,7 +1261,7 @@ function label(label2, contents) {
1261
1261
  } : contents;
1262
1262
  }
1263
1263
  var at = (isOptionalObject, object, index) => {
1264
- if (isOptionalObject && (object === undefined || object === null)) {
1264
+ if (isOptionalObject && (object === void 0 || object === null)) {
1265
1265
  return;
1266
1266
  }
1267
1267
  if (Array.isArray(object) || typeof object === "string") {
@@ -1271,7 +1271,7 @@ var at = (isOptionalObject, object, index) => {
1271
1271
  };
1272
1272
  var at_default = at;
1273
1273
  var stringReplaceAll = (isOptionalObject, original, pattern, replacement) => {
1274
- if (isOptionalObject && (original === undefined || original === null)) {
1274
+ if (isOptionalObject && (original === void 0 || original === null)) {
1275
1275
  return;
1276
1276
  }
1277
1277
  if (original.replaceAll) {
@@ -1410,7 +1410,7 @@ function findInDoc(doc, fn, defaultValue) {
1410
1410
  return false;
1411
1411
  }
1412
1412
  const maybeResult = fn(doc2);
1413
- if (maybeResult !== undefined) {
1413
+ if (maybeResult !== void 0) {
1414
1414
  shouldSkipFurtherProcessing = true;
1415
1415
  result = maybeResult;
1416
1416
  }
@@ -2304,7 +2304,7 @@ var __privateMethod = (obj, member, method) => {
2304
2304
  };
2305
2305
  var require_array = __commonJS2({ "node_modules/fast-glob/out/utils/array.js"(exports) {
2306
2306
  Object.defineProperty(exports, "__esModule", { value: true });
2307
- exports.splitWhen = exports.flatten = undefined;
2307
+ exports.splitWhen = exports.flatten = void 0;
2308
2308
  function flatten(items) {
2309
2309
  return items.reduce((collection, item) => [].concat(collection, item), []);
2310
2310
  }
@@ -2326,7 +2326,7 @@ var require_array = __commonJS2({ "node_modules/fast-glob/out/utils/array.js"(ex
2326
2326
  } });
2327
2327
  var require_errno = __commonJS2({ "node_modules/fast-glob/out/utils/errno.js"(exports) {
2328
2328
  Object.defineProperty(exports, "__esModule", { value: true });
2329
- exports.isEnoentCodeError = undefined;
2329
+ exports.isEnoentCodeError = void 0;
2330
2330
  function isEnoentCodeError(error) {
2331
2331
  return error.code === "ENOENT";
2332
2332
  }
@@ -2334,7 +2334,7 @@ var require_errno = __commonJS2({ "node_modules/fast-glob/out/utils/errno.js"(ex
2334
2334
  } });
2335
2335
  var require_fs = __commonJS2({ "node_modules/fast-glob/out/utils/fs.js"(exports) {
2336
2336
  Object.defineProperty(exports, "__esModule", { value: true });
2337
- exports.createDirentFromStats = undefined;
2337
+ exports.createDirentFromStats = void 0;
2338
2338
  var DirentFromStats = class {
2339
2339
  constructor(name, stats) {
2340
2340
  this.name = name;
@@ -2354,7 +2354,7 @@ var require_fs = __commonJS2({ "node_modules/fast-glob/out/utils/fs.js"(exports)
2354
2354
  } });
2355
2355
  var require_path = __commonJS2({ "node_modules/fast-glob/out/utils/path.js"(exports) {
2356
2356
  Object.defineProperty(exports, "__esModule", { value: true });
2357
- exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = undefined;
2357
+ exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
2358
2358
  var os2 = __require("os");
2359
2359
  var path132 = __require("path");
2360
2360
  var IS_WINDOWS_PLATFORM = os2.platform() === "win32";
@@ -2627,7 +2627,7 @@ var require_utils = __commonJS2({ "node_modules/braces/lib/utils.js"(exports) {
2627
2627
  const flat = (arr) => {
2628
2628
  for (let i2 = 0; i2 < arr.length; i2++) {
2629
2629
  let ele = arr[i2];
2630
- Array.isArray(ele) ? flat(ele) : ele !== undefined && result.push(ele);
2630
+ Array.isArray(ele) ? flat(ele) : ele !== void 0 && result.push(ele);
2631
2631
  }
2632
2632
  return result;
2633
2633
  };
@@ -2678,7 +2678,7 @@ var require_to_regex_range = __commonJS2({ "node_modules/to-regex-range/index.js
2678
2678
  if (isNumber(min) === false) {
2679
2679
  throw new TypeError("toRegexRange: expected the first argument to be a number");
2680
2680
  }
2681
- if (max === undefined || min === max) {
2681
+ if (max === void 0 || min === max) {
2682
2682
  return String(min);
2683
2683
  }
2684
2684
  if (isNumber(max) === false) {
@@ -2736,9 +2736,9 @@ var require_to_regex_range = __commonJS2({ "node_modules/to-regex-range/index.js
2736
2736
  return state.result;
2737
2737
  };
2738
2738
  function collatePatterns(neg, pos2, options8) {
2739
- let onlyNegative = filterPatterns(neg, pos2, "-", false);
2740
- let onlyPositive = filterPatterns(pos2, neg, "", false);
2741
- let intersected = filterPatterns(neg, pos2, "-?", true);
2739
+ let onlyNegative = filterPatterns(neg, pos2, "-", false) || [];
2740
+ let onlyPositive = filterPatterns(pos2, neg, "", false) || [];
2741
+ let intersected = filterPatterns(neg, pos2, "-?", true) || [];
2742
2742
  let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive);
2743
2743
  return subpatterns.join("|");
2744
2744
  }
@@ -3140,7 +3140,7 @@ var require_expand = __commonJS2({ "node_modules/braces/lib/expand.js"(exports,
3140
3140
  return utils2.flatten(result);
3141
3141
  };
3142
3142
  var expand = (ast, options8 = {}) => {
3143
- let rangeLimit = options8.rangeLimit === undefined ? 1e3 : options8.rangeLimit;
3143
+ let rangeLimit = options8.rangeLimit === void 0 ? 1e3 : options8.rangeLimit;
3144
3144
  let walk = (node, parent = {}) => {
3145
3145
  node.queue = [];
3146
3146
  let p = parent;
@@ -4648,7 +4648,7 @@ var require_parse2 = __commonJS2({ "node_modules/picomatch/lib/parse.js"(exports
4648
4648
  continue;
4649
4649
  }
4650
4650
  if (prior.type === "slash" && prior.prev.type !== "bos" && rest[0] === "/") {
4651
- const end = rest[1] !== undefined ? "|$" : "";
4651
+ const end = rest[1] !== void 0 ? "|$" : "";
4652
4652
  state.output = state.output.slice(0, -(prior.output + prev.output).length);
4653
4653
  prior.output = `(?:${prior.output}`;
4654
4654
  prev.type = "globstar";
@@ -5061,7 +5061,7 @@ var require_micromatch = __commonJS2({ "node_modules/micromatch/index.js"(export
5061
5061
  let regex = picomatch.makeRe(String(glob), { ...options8, capture: true });
5062
5062
  let match = regex.exec(posix ? utils2.toPosixSlashes(input) : input);
5063
5063
  if (match) {
5064
- return match.slice(1).map((v) => v === undefined ? "" : v);
5064
+ return match.slice(1).map((v) => v === void 0 ? "" : v);
5065
5065
  }
5066
5066
  };
5067
5067
  micromatch2.makeRe = (...args) => picomatch.makeRe(...args);
@@ -5090,7 +5090,7 @@ var require_micromatch = __commonJS2({ "node_modules/micromatch/index.js"(export
5090
5090
  } });
5091
5091
  var require_pattern = __commonJS2({ "node_modules/fast-glob/out/utils/pattern.js"(exports) {
5092
5092
  Object.defineProperty(exports, "__esModule", { value: true });
5093
- exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = undefined;
5093
+ exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
5094
5094
  var path132 = __require("path");
5095
5095
  var globParent = require_glob_parent();
5096
5096
  var micromatch2 = require_micromatch();
@@ -5347,7 +5347,7 @@ var require_merge2 = __commonJS2({ "node_modules/merge2/index.js"(exports, modul
5347
5347
  } });
5348
5348
  var require_stream = __commonJS2({ "node_modules/fast-glob/out/utils/stream.js"(exports) {
5349
5349
  Object.defineProperty(exports, "__esModule", { value: true });
5350
- exports.merge = undefined;
5350
+ exports.merge = void 0;
5351
5351
  var merge2 = require_merge2();
5352
5352
  function merge3(streams) {
5353
5353
  const mergedStream = merge2(streams);
@@ -5365,7 +5365,7 @@ var require_stream = __commonJS2({ "node_modules/fast-glob/out/utils/stream.js"(
5365
5365
  } });
5366
5366
  var require_string = __commonJS2({ "node_modules/fast-glob/out/utils/string.js"(exports) {
5367
5367
  Object.defineProperty(exports, "__esModule", { value: true });
5368
- exports.isEmpty = exports.isString = undefined;
5368
+ exports.isEmpty = exports.isString = void 0;
5369
5369
  function isString(input) {
5370
5370
  return typeof input === "string";
5371
5371
  }
@@ -5377,7 +5377,7 @@ var require_string = __commonJS2({ "node_modules/fast-glob/out/utils/string.js"(
5377
5377
  } });
5378
5378
  var require_utils3 = __commonJS2({ "node_modules/fast-glob/out/utils/index.js"(exports) {
5379
5379
  Object.defineProperty(exports, "__esModule", { value: true });
5380
- exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = undefined;
5380
+ exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
5381
5381
  var array2 = require_array();
5382
5382
  exports.array = array2;
5383
5383
  var errno = require_errno();
@@ -5395,7 +5395,7 @@ var require_utils3 = __commonJS2({ "node_modules/fast-glob/out/utils/index.js"(e
5395
5395
  } });
5396
5396
  var require_tasks = __commonJS2({ "node_modules/fast-glob/out/managers/tasks.js"(exports) {
5397
5397
  Object.defineProperty(exports, "__esModule", { value: true });
5398
- exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = undefined;
5398
+ exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
5399
5399
  var utils2 = require_utils3();
5400
5400
  function generate(input, settings) {
5401
5401
  const patterns = processPatterns(input, settings);
@@ -5480,7 +5480,7 @@ var require_tasks = __commonJS2({ "node_modules/fast-glob/out/managers/tasks.js"
5480
5480
  } });
5481
5481
  var require_async = __commonJS2({ "node_modules/@nodelib/fs.stat/out/providers/async.js"(exports) {
5482
5482
  Object.defineProperty(exports, "__esModule", { value: true });
5483
- exports.read = undefined;
5483
+ exports.read = void 0;
5484
5484
  function read3(path132, settings, callback) {
5485
5485
  settings.fs.lstat(path132, (lstatError, lstat) => {
5486
5486
  if (lstatError !== null) {
@@ -5517,7 +5517,7 @@ var require_async = __commonJS2({ "node_modules/@nodelib/fs.stat/out/providers/a
5517
5517
  } });
5518
5518
  var require_sync = __commonJS2({ "node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports) {
5519
5519
  Object.defineProperty(exports, "__esModule", { value: true });
5520
- exports.read = undefined;
5520
+ exports.read = void 0;
5521
5521
  function read3(path132, settings) {
5522
5522
  const lstat = settings.fs.lstatSync(path132);
5523
5523
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
@@ -5540,11 +5540,11 @@ var require_sync = __commonJS2({ "node_modules/@nodelib/fs.stat/out/providers/sy
5540
5540
  } });
5541
5541
  var require_fs2 = __commonJS2({ "node_modules/@nodelib/fs.stat/out/adapters/fs.js"(exports) {
5542
5542
  Object.defineProperty(exports, "__esModule", { value: true });
5543
- exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = undefined;
5543
+ exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
5544
5544
  var fs72 = __require("fs");
5545
5545
  exports.FILE_SYSTEM_ADAPTER = { lstat: fs72.lstat, stat: fs72.stat, lstatSync: fs72.lstatSync, statSync: fs72.statSync };
5546
5546
  function createFileSystemAdapter(fsMethods) {
5547
- if (fsMethods === undefined) {
5547
+ if (fsMethods === void 0) {
5548
5548
  return exports.FILE_SYSTEM_ADAPTER;
5549
5549
  }
5550
5550
  return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);
@@ -5563,14 +5563,14 @@ var require_settings = __commonJS2({ "node_modules/@nodelib/fs.stat/out/settings
5563
5563
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
5564
5564
  }
5565
5565
  _getValue(option, value) {
5566
- return option !== null && option !== undefined ? option : value;
5566
+ return option !== null && option !== void 0 ? option : value;
5567
5567
  }
5568
5568
  };
5569
5569
  exports.default = Settings;
5570
5570
  } });
5571
5571
  var require_out = __commonJS2({ "node_modules/@nodelib/fs.stat/out/index.js"(exports) {
5572
5572
  Object.defineProperty(exports, "__esModule", { value: true });
5573
- exports.statSync = exports.stat = exports.Settings = undefined;
5573
+ exports.statSync = exports.stat = exports.Settings = void 0;
5574
5574
  var async = require_async();
5575
5575
  var sync = require_sync();
5576
5576
  var settings_1 = require_settings();
@@ -5649,9 +5649,9 @@ var require_run_parallel = __commonJS2({ "node_modules/run-parallel/index.js"(ex
5649
5649
  } });
5650
5650
  var require_constants3 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/constants.js"(exports) {
5651
5651
  Object.defineProperty(exports, "__esModule", { value: true });
5652
- exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = undefined;
5652
+ exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
5653
5653
  var NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
5654
- if (NODE_PROCESS_VERSION_PARTS[0] === undefined || NODE_PROCESS_VERSION_PARTS[1] === undefined) {
5654
+ if (NODE_PROCESS_VERSION_PARTS[0] === void 0 || NODE_PROCESS_VERSION_PARTS[1] === void 0) {
5655
5655
  throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
5656
5656
  }
5657
5657
  var MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);
@@ -5664,7 +5664,7 @@ var require_constants3 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/con
5664
5664
  } });
5665
5665
  var require_fs3 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports) {
5666
5666
  Object.defineProperty(exports, "__esModule", { value: true });
5667
- exports.createDirentFromStats = undefined;
5667
+ exports.createDirentFromStats = void 0;
5668
5668
  var DirentFromStats = class {
5669
5669
  constructor(name, stats) {
5670
5670
  this.name = name;
@@ -5684,13 +5684,13 @@ var require_fs3 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/utils/fs.j
5684
5684
  } });
5685
5685
  var require_utils4 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports) {
5686
5686
  Object.defineProperty(exports, "__esModule", { value: true });
5687
- exports.fs = undefined;
5687
+ exports.fs = void 0;
5688
5688
  var fs72 = require_fs3();
5689
5689
  exports.fs = fs72;
5690
5690
  } });
5691
5691
  var require_common = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports) {
5692
5692
  Object.defineProperty(exports, "__esModule", { value: true });
5693
- exports.joinPathSegments = undefined;
5693
+ exports.joinPathSegments = void 0;
5694
5694
  function joinPathSegments(a, b, separator) {
5695
5695
  if (a.endsWith(separator)) {
5696
5696
  return a + b;
@@ -5701,7 +5701,7 @@ var require_common = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/provide
5701
5701
  } });
5702
5702
  var require_async2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/providers/async.js"(exports) {
5703
5703
  Object.defineProperty(exports, "__esModule", { value: true });
5704
- exports.readdir = exports.readdirWithFileTypes = exports.read = undefined;
5704
+ exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
5705
5705
  var fsStat = require_out();
5706
5706
  var rpl = require_run_parallel();
5707
5707
  var constants_1 = require_constants3();
@@ -5798,7 +5798,7 @@ var require_async2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/provide
5798
5798
  } });
5799
5799
  var require_sync2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/providers/sync.js"(exports) {
5800
5800
  Object.defineProperty(exports, "__esModule", { value: true });
5801
- exports.readdir = exports.readdirWithFileTypes = exports.read = undefined;
5801
+ exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
5802
5802
  var fsStat = require_out();
5803
5803
  var constants_1 = require_constants3();
5804
5804
  var utils2 = require_utils4();
@@ -5844,11 +5844,11 @@ var require_sync2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/provider
5844
5844
  } });
5845
5845
  var require_fs4 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(exports) {
5846
5846
  Object.defineProperty(exports, "__esModule", { value: true });
5847
- exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = undefined;
5847
+ exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
5848
5848
  var fs72 = __require("fs");
5849
5849
  exports.FILE_SYSTEM_ADAPTER = { lstat: fs72.lstat, stat: fs72.stat, lstatSync: fs72.lstatSync, statSync: fs72.statSync, readdir: fs72.readdir, readdirSync: fs72.readdirSync };
5850
5850
  function createFileSystemAdapter(fsMethods) {
5851
- if (fsMethods === undefined) {
5851
+ if (fsMethods === void 0) {
5852
5852
  return exports.FILE_SYSTEM_ADAPTER;
5853
5853
  }
5854
5854
  return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);
@@ -5871,14 +5871,14 @@ var require_settings2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/sett
5871
5871
  this.fsStatSettings = new fsStat.Settings({ followSymbolicLink: this.followSymbolicLinks, fs: this.fs, throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink });
5872
5872
  }
5873
5873
  _getValue(option, value) {
5874
- return option !== null && option !== undefined ? option : value;
5874
+ return option !== null && option !== void 0 ? option : value;
5875
5875
  }
5876
5876
  };
5877
5877
  exports.default = Settings;
5878
5878
  } });
5879
5879
  var require_out2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/index.js"(exports) {
5880
5880
  Object.defineProperty(exports, "__esModule", { value: true });
5881
- exports.Settings = exports.scandirSync = exports.scandir = undefined;
5881
+ exports.Settings = exports.scandirSync = exports.scandir = void 0;
5882
5882
  var async = require_async2();
5883
5883
  var sync = require_sync2();
5884
5884
  var settings_1 = require_settings2();
@@ -6146,7 +6146,7 @@ var require_queue = __commonJS2({ "node_modules/fastq/queue.js"(exports, module)
6146
6146
  } });
6147
6147
  var require_common2 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/readers/common.js"(exports) {
6148
6148
  Object.defineProperty(exports, "__esModule", { value: true });
6149
- exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = undefined;
6149
+ exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
6150
6150
  function isFatalError(settings, error) {
6151
6151
  if (settings.errorFilter === null) {
6152
6152
  return true;
@@ -6245,13 +6245,13 @@ var require_async3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/readers/as
6245
6245
  _worker(item, done) {
6246
6246
  this._scandir(item.directory, this._settings.fsScandirSettings, (error, entries) => {
6247
6247
  if (error !== null) {
6248
- done(error, undefined);
6248
+ done(error, void 0);
6249
6249
  return;
6250
6250
  }
6251
6251
  for (const entry of entries) {
6252
6252
  this._handleEntry(entry, item.base);
6253
6253
  }
6254
- done(null, undefined);
6254
+ done(null, void 0);
6255
6255
  });
6256
6256
  }
6257
6257
  _handleError(error) {
@@ -6267,14 +6267,14 @@ var require_async3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/readers/as
6267
6267
  return;
6268
6268
  }
6269
6269
  const fullpath = entry.path;
6270
- if (base !== undefined) {
6270
+ if (base !== void 0) {
6271
6271
  entry.path = common2.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);
6272
6272
  }
6273
6273
  if (common2.isAppliedFilter(this._settings.entryFilter, entry)) {
6274
6274
  this._emitEntry(entry);
6275
6275
  }
6276
6276
  if (entry.dirent.isDirectory() && common2.isAppliedFilter(this._settings.deepFilter, entry)) {
6277
- this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);
6277
+ this._pushToQueue(fullpath, base === void 0 ? void 0 : entry.path);
6278
6278
  }
6279
6279
  }
6280
6280
  _emitEntry(entry) {
@@ -6389,14 +6389,14 @@ var require_sync3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/readers/syn
6389
6389
  }
6390
6390
  _handleEntry(entry, base) {
6391
6391
  const fullpath = entry.path;
6392
- if (base !== undefined) {
6392
+ if (base !== void 0) {
6393
6393
  entry.path = common2.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);
6394
6394
  }
6395
6395
  if (common2.isAppliedFilter(this._settings.entryFilter, entry)) {
6396
6396
  this._pushToStorage(entry);
6397
6397
  }
6398
6398
  if (entry.dirent.isDirectory() && common2.isAppliedFilter(this._settings.deepFilter, entry)) {
6399
- this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);
6399
+ this._pushToQueue(fullpath, base === void 0 ? void 0 : entry.path);
6400
6400
  }
6401
6401
  }
6402
6402
  _pushToStorage(entry) {
@@ -6427,7 +6427,7 @@ var require_settings3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/setting
6427
6427
  var Settings = class {
6428
6428
  constructor(_options = {}) {
6429
6429
  this._options = _options;
6430
- this.basePath = this._getValue(this._options.basePath, undefined);
6430
+ this.basePath = this._getValue(this._options.basePath, void 0);
6431
6431
  this.concurrency = this._getValue(this._options.concurrency, Number.POSITIVE_INFINITY);
6432
6432
  this.deepFilter = this._getValue(this._options.deepFilter, null);
6433
6433
  this.entryFilter = this._getValue(this._options.entryFilter, null);
@@ -6436,14 +6436,14 @@ var require_settings3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/setting
6436
6436
  this.fsScandirSettings = new fsScandir.Settings({ followSymbolicLinks: this._options.followSymbolicLinks, fs: this._options.fs, pathSegmentSeparator: this._options.pathSegmentSeparator, stats: this._options.stats, throwErrorOnBrokenSymbolicLink: this._options.throwErrorOnBrokenSymbolicLink });
6437
6437
  }
6438
6438
  _getValue(option, value) {
6439
- return option !== null && option !== undefined ? option : value;
6439
+ return option !== null && option !== void 0 ? option : value;
6440
6440
  }
6441
6441
  };
6442
6442
  exports.default = Settings;
6443
6443
  } });
6444
6444
  var require_out3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/index.js"(exports) {
6445
6445
  Object.defineProperty(exports, "__esModule", { value: true });
6446
- exports.Settings = exports.walkStream = exports.walkSync = exports.walk = undefined;
6446
+ exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
6447
6447
  var async_1 = require_async4();
6448
6448
  var stream_1 = require_stream2();
6449
6449
  var sync_1 = require_sync4();
@@ -6750,7 +6750,7 @@ var require_entry = __commonJS2({ "node_modules/fast-glob/out/providers/filters/
6750
6750
  return this.index.has(filepath);
6751
6751
  }
6752
6752
  _createIndexRecord(filepath) {
6753
- this.index.set(filepath, undefined);
6753
+ this.index.set(filepath, void 0);
6754
6754
  }
6755
6755
  _onlyFileFilter(entry) {
6756
6756
  return this._settings.onlyFiles && !entry.dirent.isFile();
@@ -6968,7 +6968,7 @@ var require_sync6 = __commonJS2({ "node_modules/fast-glob/out/providers/sync.js"
6968
6968
  } });
6969
6969
  var require_settings4 = __commonJS2({ "node_modules/fast-glob/out/settings.js"(exports) {
6970
6970
  Object.defineProperty(exports, "__esModule", { value: true });
6971
- exports.DEFAULT_FILE_SYSTEM_ADAPTER = undefined;
6971
+ exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
6972
6972
  var fs72 = __require("fs");
6973
6973
  var os2 = __require("os");
6974
6974
  var CPU_COUNT = Math.max(os2.cpus().length, 1);
@@ -7006,7 +7006,7 @@ var require_settings4 = __commonJS2({ "node_modules/fast-glob/out/settings.js"(e
7006
7006
  this.ignore = [].concat(this.ignore);
7007
7007
  }
7008
7008
  _getValue(option, value) {
7009
- return option === undefined ? value : option;
7009
+ return option === void 0 ? value : option;
7010
7010
  }
7011
7011
  _getFileSystemMethods(methods = {}) {
7012
7012
  return Object.assign(Object.assign({}, exports.DEFAULT_FILE_SYSTEM_ADAPTER), methods);
@@ -7091,7 +7091,7 @@ var require_out4 = __commonJS2({ "node_modules/fast-glob/out/index.js"(exports,
7091
7091
  }
7092
7092
  win322.convertPathToPattern = convertPathToPattern2;
7093
7093
  })(FastGlob2.win32 || (FastGlob2.win32 = {}));
7094
- })(FastGlob);
7094
+ })(FastGlob || (FastGlob = {}));
7095
7095
  function getWorks(source2, _Provider, options8) {
7096
7096
  const patterns = [].concat(source2);
7097
7097
  const settings = new settings_1.default(options8);
@@ -7146,8 +7146,8 @@ var require_re = __commonJS2({ "node_modules/semver/internal/re.js"(exports, mod
7146
7146
  debug(name, index, value);
7147
7147
  t[name] = index;
7148
7148
  src[index] = value;
7149
- re[index] = new RegExp(value, isGlobal ? "g" : undefined);
7150
- safeRe[index] = new RegExp(safe, isGlobal ? "g" : undefined);
7149
+ re[index] = new RegExp(value, isGlobal ? "g" : void 0);
7150
+ safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
7151
7151
  };
7152
7152
  createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
7153
7153
  createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
@@ -7324,11 +7324,11 @@ var require_semver = __commonJS2({ "node_modules/semver/classes/semver.js"(expor
7324
7324
  const a = this.prerelease[i2];
7325
7325
  const b = other.prerelease[i2];
7326
7326
  debug("prerelease compare", i2, a, b);
7327
- if (a === undefined && b === undefined) {
7327
+ if (a === void 0 && b === void 0) {
7328
7328
  return 0;
7329
- } else if (b === undefined) {
7329
+ } else if (b === void 0) {
7330
7330
  return 1;
7331
- } else if (a === undefined) {
7331
+ } else if (a === void 0) {
7332
7332
  return -1;
7333
7333
  } else if (a === b) {
7334
7334
  continue;
@@ -7346,11 +7346,11 @@ var require_semver = __commonJS2({ "node_modules/semver/classes/semver.js"(expor
7346
7346
  const a = this.build[i2];
7347
7347
  const b = other.build[i2];
7348
7348
  debug("prerelease compare", i2, a, b);
7349
- if (a === undefined && b === undefined) {
7349
+ if (a === void 0 && b === void 0) {
7350
7350
  return 0;
7351
- } else if (b === undefined) {
7351
+ } else if (b === void 0) {
7352
7352
  return 1;
7353
- } else if (a === undefined) {
7353
+ } else if (a === void 0) {
7354
7354
  return -1;
7355
7355
  } else if (a === b) {
7356
7356
  continue;
@@ -7648,7 +7648,7 @@ var require_yallist = __commonJS2({ "node_modules/editorconfig/node_modules/yall
7648
7648
  };
7649
7649
  Yallist.prototype.pop = function() {
7650
7650
  if (!this.tail) {
7651
- return undefined;
7651
+ return void 0;
7652
7652
  }
7653
7653
  var res = this.tail.value;
7654
7654
  this.tail = this.tail.prev;
@@ -7662,7 +7662,7 @@ var require_yallist = __commonJS2({ "node_modules/editorconfig/node_modules/yall
7662
7662
  };
7663
7663
  Yallist.prototype.shift = function() {
7664
7664
  if (!this.head) {
7665
- return undefined;
7665
+ return void 0;
7666
7666
  }
7667
7667
  var res = this.head.value;
7668
7668
  this.head = this.head.next;
@@ -7983,7 +7983,7 @@ var require_lru_cache = __commonJS2({ "node_modules/editorconfig/node_modules/lr
7983
7983
  if (isStale(self, hit)) {
7984
7984
  del(self, node);
7985
7985
  if (!self[ALLOW_STALE]) {
7986
- hit = undefined;
7986
+ hit = void 0;
7987
7987
  }
7988
7988
  }
7989
7989
  if (hit) {
@@ -8182,7 +8182,7 @@ var require_lru_cache = __commonJS2({ "node_modules/editorconfig/node_modules/lr
8182
8182
  var hit = node.value;
8183
8183
  if (isStale(self, hit)) {
8184
8184
  del(self, node);
8185
- if (!self[ALLOW_STALE]) hit = undefined;
8185
+ if (!self[ALLOW_STALE]) hit = void 0;
8186
8186
  } else {
8187
8187
  if (doUse) {
8188
8188
  self[LRU_LIST].unshiftNode(node);
@@ -8922,7 +8922,7 @@ var require_ini = __commonJS2({ "node_modules/editorconfig/src/lib/ini.js"(expor
8922
8922
  f = t = 0;
8923
8923
  }
8924
8924
  if (op[0] & 5) throw op[1];
8925
- return { value: op[0] ? op[1] : undefined, done: true };
8925
+ return { value: op[0] ? op[1] : void 0, done: true };
8926
8926
  }
8927
8927
  };
8928
8928
  var __importStar = exports && exports.__importStar || function(mod) {
@@ -8938,7 +8938,7 @@ var require_ini = __commonJS2({ "node_modules/editorconfig/src/lib/ini.js"(expor
8938
8938
  var fs72 = __importStar(__require("fs"));
8939
8939
  var regex = { section: /^\s*\[(([^#;]|\\#|\\;)+)\]\s*([#;].*)?$/, param: /^\s*([\w\.\-\_]+)\s*[=:]\s*(.*?)\s*([#;].*)?$/, comment: /^\s*[#;].*$/ };
8940
8940
  function parse6(file) {
8941
- return __awaiter(this, undefined, undefined, function() {
8941
+ return __awaiter(this, void 0, void 0, function() {
8942
8942
  return __generator(this, function(_a) {
8943
8943
  return [2, new Promise(function(resolve3, reject) {
8944
8944
  fs72.readFile(file, "utf8", function(err, data) {
@@ -9075,7 +9075,7 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9075
9075
  f = t = 0;
9076
9076
  }
9077
9077
  if (op[0] & 5) throw op[1];
9078
- return { value: op[0] ? op[1] : undefined, done: true };
9078
+ return { value: op[0] ? op[1] : void 0, done: true };
9079
9079
  }
9080
9080
  };
9081
9081
  var __importStar = exports && exports.__importStar || function(mod) {
@@ -9125,7 +9125,7 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9125
9125
  return matches;
9126
9126
  }
9127
9127
  function processOptions(options8, filepath) {
9128
- if (options8 === undefined) {
9128
+ if (options8 === void 0) {
9129
9129
  options8 = {};
9130
9130
  }
9131
9131
  return { config: options8.config || ".editorconfig", version: options8.version || package_json_1.default.version, root: path132.resolve(options8.root || path132.parse(filepath).root) };
@@ -9142,10 +9142,10 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9142
9142
  return path132.join(pathPrefix, glob);
9143
9143
  }
9144
9144
  function extendProps(props, options8) {
9145
- if (props === undefined) {
9145
+ if (props === void 0) {
9146
9146
  props = {};
9147
9147
  }
9148
- if (options8 === undefined) {
9148
+ if (options8 === void 0) {
9149
9149
  options8 = {};
9150
9150
  }
9151
9151
  for (var key2 in options8) {
@@ -9201,7 +9201,7 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9201
9201
  return configs;
9202
9202
  }
9203
9203
  function readConfigFiles(filepaths) {
9204
- return __awaiter(this, undefined, undefined, function() {
9204
+ return __awaiter(this, void 0, void 0, function() {
9205
9205
  return __generator(this, function(_a) {
9206
9206
  return [2, Promise.all(filepaths.map(function(name) {
9207
9207
  return new Promise(function(resolve3) {
@@ -9227,17 +9227,17 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9227
9227
  return files;
9228
9228
  }
9229
9229
  function opts(filepath, options8) {
9230
- if (options8 === undefined) {
9230
+ if (options8 === void 0) {
9231
9231
  options8 = {};
9232
9232
  }
9233
9233
  var resolvedFilePath = path132.resolve(filepath);
9234
9234
  return [resolvedFilePath, processOptions(options8, resolvedFilePath)];
9235
9235
  }
9236
9236
  function parseFromFiles(filepath, files, options8) {
9237
- if (options8 === undefined) {
9237
+ if (options8 === void 0) {
9238
9238
  options8 = {};
9239
9239
  }
9240
- return __awaiter(this, undefined, undefined, function() {
9240
+ return __awaiter(this, void 0, void 0, function() {
9241
9241
  var _a, resolvedFilePath, processedOptions;
9242
9242
  return __generator(this, function(_b) {
9243
9243
  _a = opts(filepath, options8), resolvedFilePath = _a[0], processedOptions = _a[1];
@@ -9249,7 +9249,7 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9249
9249
  }
9250
9250
  exports.parseFromFiles = parseFromFiles;
9251
9251
  function parseFromFilesSync(filepath, files, options8) {
9252
- if (options8 === undefined) {
9252
+ if (options8 === void 0) {
9253
9253
  options8 = {};
9254
9254
  }
9255
9255
  var _a = opts(filepath, options8), resolvedFilePath = _a[0], processedOptions = _a[1];
@@ -9257,10 +9257,10 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9257
9257
  }
9258
9258
  exports.parseFromFilesSync = parseFromFilesSync;
9259
9259
  function parse6(_filepath, _options) {
9260
- if (_options === undefined) {
9260
+ if (_options === void 0) {
9261
9261
  _options = {};
9262
9262
  }
9263
- return __awaiter(this, undefined, undefined, function() {
9263
+ return __awaiter(this, void 0, void 0, function() {
9264
9264
  var _a, resolvedFilePath, processedOptions, filepaths;
9265
9265
  return __generator(this, function(_b) {
9266
9266
  _a = opts(_filepath, _options), resolvedFilePath = _a[0], processedOptions = _a[1];
@@ -9273,7 +9273,7 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9273
9273
  }
9274
9274
  exports.parse = parse6;
9275
9275
  function parseSync(_filepath, _options) {
9276
- if (_options === undefined) {
9276
+ if (_options === void 0) {
9277
9277
  _options = {};
9278
9278
  }
9279
9279
  var _a = opts(_filepath, _options), resolvedFilePath = _a[0], processedOptions = _a[1];
@@ -9442,7 +9442,7 @@ var require_parser = __commonJS2({ "node_modules/@iarna/toml/lib/parser.js"(expo
9442
9442
  }
9443
9443
  return(value) {
9444
9444
  if (this.stack.length === 0) throw this.error(new ParserError("Stack underflow"));
9445
- if (value === undefined) value = this.state.buf;
9445
+ if (value === void 0) value = this.state.buf;
9446
9446
  this.state = this.stack.pop();
9447
9447
  this.state.returned = value;
9448
9448
  }
@@ -9642,7 +9642,7 @@ var require_toml_parser = __commonJS2({ "node_modules/@iarna/toml/lib/toml-parse
9642
9642
  var _declared = Symbol("declared");
9643
9643
  var hasOwnProperty3 = Object.prototype.hasOwnProperty;
9644
9644
  var defineProperty = Object.defineProperty;
9645
- var descriptor = { configurable: true, enumerable: true, writable: true, value: undefined };
9645
+ var descriptor = { configurable: true, enumerable: true, writable: true, value: void 0 };
9646
9646
  function hasKey(obj, key2) {
9647
9647
  if (hasOwnProperty3.call(obj, key2)) return true;
9648
9648
  if (key2 === "__proto__") defineProperty(obj, "__proto__", descriptor);
@@ -10894,7 +10894,7 @@ var require_js_tokens = __commonJS2({ "node_modules/js-tokens/index.js"(exports)
10894
10894
  Object.defineProperty(exports, "__esModule", { value: true });
10895
10895
  exports.default = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;
10896
10896
  exports.matchToToken = function(match) {
10897
- var token2 = { type: "invalid", value: match[0], closed: undefined };
10897
+ var token2 = { type: "invalid", value: match[0], closed: void 0 };
10898
10898
  if (match[1]) token2.type = "string", token2.closed = !!(match[3] || match[4]);
10899
10899
  else if (match[5]) token2.type = "comment";
10900
10900
  else if (match[6]) token2.type = "comment", token2.closed = !!match[7];
@@ -11798,7 +11798,7 @@ var require_color_convert = __commonJS2({ "node_modules/color-convert/index.js"(
11798
11798
  var models = Object.keys(conversions);
11799
11799
  function wrapRaw(fn) {
11800
11800
  var wrappedFn = function(args) {
11801
- if (args === undefined || args === null) {
11801
+ if (args === void 0 || args === null) {
11802
11802
  return args;
11803
11803
  }
11804
11804
  if (arguments.length > 1) {
@@ -11813,7 +11813,7 @@ var require_color_convert = __commonJS2({ "node_modules/color-convert/index.js"(
11813
11813
  }
11814
11814
  function wrapRounded(fn) {
11815
11815
  var wrappedFn = function(args) {
11816
- if (args === undefined || args === null) {
11816
+ if (args === void 0 || args === null) {
11817
11817
  return args;
11818
11818
  }
11819
11819
  if (arguments.length > 1) {
@@ -12153,7 +12153,7 @@ var require_chalk = __commonJS2({ "node_modules/@babel/code-frame/node_modules/c
12153
12153
  function applyOptions2(obj, options8) {
12154
12154
  options8 = options8 || {};
12155
12155
  const scLevel = stdoutColor2 ? stdoutColor2.level : 0;
12156
- obj.level = options8.level === undefined ? scLevel : options8.level;
12156
+ obj.level = options8.level === void 0 ? scLevel : options8.level;
12157
12157
  obj.enabled = "enabled" in options8 ? options8.enabled : obj.level > 0;
12158
12158
  }
12159
12159
  function Chalk(options8) {
@@ -12356,7 +12356,7 @@ var require_lib2 = __commonJS2({ "node_modules/@babel/highlight/lib/index.js"(ex
12356
12356
  function shouldHighlight(options8) {
12357
12357
  return _chalk.default.level > 0 || options8.forceColor;
12358
12358
  }
12359
- var chalkWithForcedColor = undefined;
12359
+ var chalkWithForcedColor = void 0;
12360
12360
  function getChalk(forceColor) {
12361
12361
  if (forceColor) {
12362
12362
  var _chalkWithForcedColor;
@@ -12401,7 +12401,7 @@ var require_lib3 = __commonJS2({ "node_modules/@babel/code-frame/lib/index.js"(e
12401
12401
  }
12402
12402
  return n.default = e, t && t.set(e, n), n;
12403
12403
  }
12404
- var chalkWithForcedColor = undefined;
12404
+ var chalkWithForcedColor = void 0;
12405
12405
  function getChalk(forceColor) {
12406
12406
  if (forceColor) {
12407
12407
  var _chalkWithForcedColor;
@@ -12901,7 +12901,7 @@ var require_readlines = __commonJS2({ "node_modules/n-readlines/readlines.js"(ex
12901
12901
  line3 = buffer2.slice(lastNewLineBufferPosition, bufferPosition);
12902
12902
  lines.push(line3);
12903
12903
  lastNewLineBufferPosition = bufferPosition;
12904
- } else if (bufferPositionValue === undefined) {
12904
+ } else if (bufferPositionValue === void 0) {
12905
12905
  break;
12906
12906
  }
12907
12907
  }
@@ -12975,7 +12975,7 @@ var require_base = __commonJS2({ "node_modules/diff/lib/diff/base.js"(exports) {
12975
12975
  /*istanbul ignore start*/
12976
12976
  /*istanbul ignore end*/
12977
12977
  diff: function diff(oldString, newString) {
12978
- var options8 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
12978
+ var options8 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
12979
12979
  var callback = options8.callback;
12980
12980
  if (typeof options8 === "function") {
12981
12981
  callback = options8;
@@ -12986,7 +12986,7 @@ var require_base = __commonJS2({ "node_modules/diff/lib/diff/base.js"(exports) {
12986
12986
  function done(value) {
12987
12987
  if (callback) {
12988
12988
  setTimeout(function() {
12989
- callback(undefined, value);
12989
+ callback(void 0, value);
12990
12990
  }, 0);
12991
12991
  return true;
12992
12992
  } else {
@@ -13012,24 +13012,24 @@ var require_base = __commonJS2({ "node_modules/diff/lib/diff/base.js"(exports) {
13012
13012
  for (var diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) {
13013
13013
  var basePath = (
13014
13014
  /*istanbul ignore start*/
13015
- undefined
13015
+ void 0
13016
13016
  );
13017
13017
  var addPath = bestPath[diagonalPath - 1], removePath = bestPath[diagonalPath + 1], _oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;
13018
13018
  if (addPath) {
13019
- bestPath[diagonalPath - 1] = undefined;
13019
+ bestPath[diagonalPath - 1] = void 0;
13020
13020
  }
13021
13021
  var canAdd = addPath && addPath.newPos + 1 < newLen, canRemove = removePath && 0 <= _oldPos && _oldPos < oldLen;
13022
13022
  if (!canAdd && !canRemove) {
13023
- bestPath[diagonalPath] = undefined;
13023
+ bestPath[diagonalPath] = void 0;
13024
13024
  continue;
13025
13025
  }
13026
13026
  if (!canAdd || canRemove && addPath.newPos < removePath.newPos) {
13027
13027
  basePath = clonePath(removePath);
13028
- self.pushComponent(basePath.components, undefined, true);
13028
+ self.pushComponent(basePath.components, void 0, true);
13029
13029
  } else {
13030
13030
  basePath = addPath;
13031
13031
  basePath.newPos++;
13032
- self.pushComponent(basePath.components, true, undefined);
13032
+ self.pushComponent(basePath.components, true, void 0);
13033
13033
  }
13034
13034
  _oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath);
13035
13035
  if (basePath.newPos + 1 >= newLen && _oldPos + 1 >= oldLen) {
@@ -13164,7 +13164,7 @@ var require_base = __commonJS2({ "node_modules/diff/lib/diff/base.js"(exports) {
13164
13164
  var require_array2 = __commonJS2({ "node_modules/diff/lib/diff/array.js"(exports) {
13165
13165
  Object.defineProperty(exports, "__esModule", { value: true });
13166
13166
  exports.diffArrays = diffArrays2;
13167
- exports.arrayDiff = undefined;
13167
+ exports.arrayDiff = void 0;
13168
13168
  var _base = _interopRequireDefault(require_base());
13169
13169
  function _interopRequireDefault(obj) {
13170
13170
  return obj && obj.__esModule ? obj : { "default": obj };
@@ -13377,7 +13377,7 @@ function translateLevel(level) {
13377
13377
  }
13378
13378
  function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
13379
13379
  const noFlagForceColor = envForceColor();
13380
- if (noFlagForceColor !== undefined) {
13380
+ if (noFlagForceColor !== void 0) {
13381
13381
  flagForceColor = noFlagForceColor;
13382
13382
  }
13383
13383
  const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
@@ -13395,7 +13395,7 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
13395
13395
  if ("TF_BUILD" in env && "AGENT_NAME" in env) {
13396
13396
  return 1;
13397
13397
  }
13398
- if (haveStream && !streamIsTTY && forceColor === undefined) {
13398
+ if (haveStream && !streamIsTTY && forceColor === void 0) {
13399
13399
  return 0;
13400
13400
  }
13401
13401
  const min = forceColor || 0;
@@ -13494,7 +13494,7 @@ var applyOptions = (object, options8 = {}) => {
13494
13494
  throw new Error("The `level` option should be an integer from 0 to 3");
13495
13495
  }
13496
13496
  const colorLevel = stdoutColor ? stdoutColor.level : 0;
13497
- object.level = options8.level === undefined ? colorLevel : options8.level;
13497
+ object.level = options8.level === void 0 ? colorLevel : options8.level;
13498
13498
  };
13499
13499
  var chalkFactory = (options8) => {
13500
13500
  const chalk2 = (...strings) => strings.join(" ");
@@ -13560,7 +13560,7 @@ var proto = Object.defineProperties(() => {
13560
13560
  var createStyler = (open, close, parent) => {
13561
13561
  let openAll;
13562
13562
  let closeAll;
13563
- if (parent === undefined) {
13563
+ if (parent === void 0) {
13564
13564
  openAll = open;
13565
13565
  closeAll = close;
13566
13566
  } else {
@@ -13582,12 +13582,12 @@ var applyStyle = (self, string) => {
13582
13582
  return self[IS_EMPTY] ? "" : string;
13583
13583
  }
13584
13584
  let styler = self[STYLER];
13585
- if (styler === undefined) {
13585
+ if (styler === void 0) {
13586
13586
  return string;
13587
13587
  }
13588
13588
  const { openAll, closeAll } = styler;
13589
13589
  if (string.includes("\x1B")) {
13590
- while (styler !== undefined) {
13590
+ while (styler !== void 0) {
13591
13591
  string = stringReplaceAll2(string, styler.close, styler.open);
13592
13592
  styler = styler.parent;
13593
13593
  }
@@ -13719,7 +13719,7 @@ var Schema = class {
13719
13719
  this.name = parameters.name;
13720
13720
  }
13721
13721
  default(_utils) {
13722
- return undefined;
13722
+ return void 0;
13723
13723
  }
13724
13724
  // this is actually an abstract method but we need a placeholder to get `function.length`
13725
13725
  /* c8 ignore start */
@@ -13737,10 +13737,10 @@ var Schema = class {
13737
13737
  return false;
13738
13738
  }
13739
13739
  forward(_value, _utils) {
13740
- return undefined;
13740
+ return void 0;
13741
13741
  }
13742
13742
  redirect(_value, _utils) {
13743
- return undefined;
13743
+ return void 0;
13744
13744
  }
13745
13745
  overlap(currentValue, _newValue, _utils) {
13746
13746
  return currentValue;
@@ -13915,14 +13915,14 @@ function normalizeInvalidHandler(invalidHandler) {
13915
13915
  };
13916
13916
  }
13917
13917
  function normalizeDefaultResult(result) {
13918
- return result === undefined ? {} : result;
13918
+ return result === void 0 ? {} : result;
13919
13919
  }
13920
13920
  function normalizeExpectedResult(result) {
13921
13921
  if (typeof result === "string") {
13922
13922
  return { text: result };
13923
13923
  }
13924
13924
  const { text, list: list2 } = result;
13925
- assert((text || list2) !== undefined, "Unexpected `expected` result, there should be at least one field.");
13925
+ assert((text || list2) !== void 0, "Unexpected `expected` result, there should be at least one field.");
13926
13926
  if (!list2) {
13927
13927
  return { text };
13928
13928
  }
@@ -13938,7 +13938,7 @@ function normalizeTransferResult(result, value) {
13938
13938
  return typeof result === "string" || "key" in result ? { from: value, to: result } : "from" in result ? { from: result.from, to: result.to } : { from: value, to: result.to };
13939
13939
  }
13940
13940
  function normalizeForwardResult(result, value) {
13941
- return result === undefined ? [] : Array.isArray(result) ? result.map((transferResult) => normalizeTransferResult(transferResult, value)) : [normalizeTransferResult(result, value)];
13941
+ return result === void 0 ? [] : Array.isArray(result) ? result.map((transferResult) => normalizeTransferResult(transferResult, value)) : [normalizeTransferResult(result, value)];
13942
13942
  }
13943
13943
  function normalizeRedirectResult(result, value) {
13944
13944
  const redirect = normalizeForwardResult(typeof result === "object" && "redirect" in result ? result.redirect : result, value);
@@ -13970,11 +13970,11 @@ var ChoiceSchema = class extends Schema {
13970
13970
  }
13971
13971
  forward(value) {
13972
13972
  const choiceInfo = this._choices.get(value);
13973
- return choiceInfo ? choiceInfo.forward : undefined;
13973
+ return choiceInfo ? choiceInfo.forward : void 0;
13974
13974
  }
13975
13975
  redirect(value) {
13976
13976
  const choiceInfo = this._choices.get(value);
13977
- return choiceInfo ? choiceInfo.redirect : undefined;
13977
+ return choiceInfo ? choiceInfo.redirect : void 0;
13978
13978
  }
13979
13979
  };
13980
13980
  var NumberSchema = class extends Schema {
@@ -14209,7 +14209,7 @@ function partition2(array2, predicate) {
14209
14209
  var partition_default = partition2;
14210
14210
  var import_editorconfig = __toESM2(require_src());
14211
14211
  async function isDirectory(directory, options8) {
14212
- const allowSymlinks = (options8 == null ? undefined : options8.allowSymlinks) ?? true;
14212
+ const allowSymlinks = (options8 == null ? void 0 : options8.allowSymlinks) ?? true;
14213
14213
  let stats;
14214
14214
  try {
14215
14215
  stats = await (allowSymlinks ? fs.stat : fs.lstat)(toPath(directory));
@@ -14249,9 +14249,9 @@ var Searcher = class {
14249
14249
  */
14250
14250
  constructor({ names, filter: filter2, stopDirectory }) {
14251
14251
  __privateAdd(this, _searchInDirectory);
14252
- __privateAdd(this, _names, undefined);
14253
- __privateAdd(this, _filter, undefined);
14254
- __privateAdd(this, _stopDirectory, undefined);
14252
+ __privateAdd(this, _names, void 0);
14253
+ __privateAdd(this, _filter, void 0);
14254
+ __privateAdd(this, _stopDirectory, void 0);
14255
14255
  __privateAdd(this, _cache, /* @__PURE__ */ new Map());
14256
14256
  __privateSet(this, _names, names);
14257
14257
  __privateSet(this, _filter, filter2);
@@ -14304,10 +14304,10 @@ var searchOptions = { names: MARKERS, filter: ({ path: directory }) => is_direct
14304
14304
  async function findProjectRoot(startDirectory, options8) {
14305
14305
  searcher ?? (searcher = new searcher_default(searchOptions));
14306
14306
  const mark = await searcher.search(startDirectory, options8);
14307
- return mark ? path9.dirname(mark) : undefined;
14307
+ return mark ? path9.dirname(mark) : void 0;
14308
14308
  }
14309
14309
  function clearFindProjectRootCache() {
14310
- searcher == null ? undefined : searcher.clearCache();
14310
+ searcher == null ? void 0 : searcher.clearCache();
14311
14311
  }
14312
14312
  function removeUnset(editorConfig) {
14313
14313
  const result = {};
@@ -14340,7 +14340,7 @@ function editorConfigToPrettier(editorConfig) {
14340
14340
  result.tabWidth = editorConfig.tab_width;
14341
14341
  } else if (editorConfig.indent_style === "space" && editorConfig.indent_size && editorConfig.indent_size !== "tab") {
14342
14342
  result.tabWidth = editorConfig.indent_size;
14343
- } else if (editorConfig.tab_width !== undefined) {
14343
+ } else if (editorConfig.tab_width !== void 0) {
14344
14344
  result.tabWidth = editorConfig.tab_width;
14345
14345
  }
14346
14346
  if (editorConfig.max_line_length) {
@@ -14408,10 +14408,10 @@ getStdin.buffer = async () => {
14408
14408
  function writeFormattedFile(file, data) {
14409
14409
  return fs.writeFile(file, data);
14410
14410
  }
14411
- var mockable = { getPrettierConfigSearchStopDirectory: () => undefined, getStdin, isCI: () => import_ci_info.isCI, writeFormattedFile };
14411
+ var mockable = { getPrettierConfigSearchStopDirectory: () => void 0, getStdin, isCI: () => import_ci_info.isCI, writeFormattedFile };
14412
14412
  var mockable_default = mockable;
14413
14413
  async function isFile(file, options8) {
14414
- const allowSymlinks = (options8 == null ? undefined : options8.allowSymlinks) ?? true;
14414
+ const allowSymlinks = (options8 == null ? void 0 : options8.allowSymlinks) ?? true;
14415
14415
  let stats;
14416
14416
  try {
14417
14417
  stats = await (allowSymlinks ? fs.stat : fs.lstat)(toPath(file));
@@ -16194,7 +16194,7 @@ function loadAll$1(input, iterator, options8) {
16194
16194
  function load$1(input, options8) {
16195
16195
  var documents = loadDocuments(input, options8);
16196
16196
  if (documents.length === 0) {
16197
- return undefined;
16197
+ return void 0;
16198
16198
  } else if (documents.length === 1) {
16199
16199
  return documents[0];
16200
16200
  }
@@ -16235,9 +16235,9 @@ var parse2 = function parse3(text, reviver) {
16235
16235
  pos = 0;
16236
16236
  line2 = 1;
16237
16237
  column = 0;
16238
- token = undefined;
16239
- key = undefined;
16240
- root = undefined;
16238
+ token = void 0;
16239
+ key = void 0;
16240
+ root = void 0;
16241
16241
  do {
16242
16242
  token = lex();
16243
16243
  parseStates[parseState]();
@@ -16254,7 +16254,7 @@ function internalize(holder, name, reviver) {
16254
16254
  for (let i2 = 0; i2 < value.length; i2++) {
16255
16255
  const key2 = String(i2);
16256
16256
  const replacement = internalize(value, key2, reviver);
16257
- if (replacement === undefined) {
16257
+ if (replacement === void 0) {
16258
16258
  delete value[key2];
16259
16259
  } else {
16260
16260
  Object.defineProperty(value, key2, { value: replacement, writable: true, enumerable: true, configurable: true });
@@ -16263,7 +16263,7 @@ function internalize(holder, name, reviver) {
16263
16263
  } else {
16264
16264
  for (const key2 in value) {
16265
16265
  const replacement = internalize(value, key2, reviver);
16266
- if (replacement === undefined) {
16266
+ if (replacement === void 0) {
16267
16267
  delete value[key2];
16268
16268
  } else {
16269
16269
  Object.defineProperty(value, key2, { value: replacement, writable: true, enumerable: true, configurable: true });
@@ -16329,7 +16329,7 @@ var lexStates = { default() {
16329
16329
  read();
16330
16330
  lexState = "comment";
16331
16331
  return;
16332
- case undefined:
16332
+ case void 0:
16333
16333
  read();
16334
16334
  return newToken("eof");
16335
16335
  }
@@ -16356,7 +16356,7 @@ var lexStates = { default() {
16356
16356
  read();
16357
16357
  lexState = "multiLineCommentAsterisk";
16358
16358
  return;
16359
- case undefined:
16359
+ case void 0:
16360
16360
  throw invalidChar(read());
16361
16361
  }
16362
16362
  read();
@@ -16369,7 +16369,7 @@ var lexStates = { default() {
16369
16369
  read();
16370
16370
  lexState = "default";
16371
16371
  return;
16372
- case undefined:
16372
+ case void 0:
16373
16373
  throw invalidChar(read());
16374
16374
  }
16375
16375
  read();
@@ -16383,7 +16383,7 @@ var lexStates = { default() {
16383
16383
  read();
16384
16384
  lexState = "default";
16385
16385
  return;
16386
- case undefined:
16386
+ case void 0:
16387
16387
  read();
16388
16388
  return newToken("eof");
16389
16389
  }
@@ -16672,7 +16672,7 @@ var lexStates = { default() {
16672
16672
  case "\u2029":
16673
16673
  separatorChar(c);
16674
16674
  break;
16675
- case undefined:
16675
+ case void 0:
16676
16676
  throw invalidChar(read());
16677
16677
  }
16678
16678
  buffer += read();
@@ -16803,7 +16803,7 @@ function escape() {
16803
16803
  case "8":
16804
16804
  case "9":
16805
16805
  throw invalidChar(read());
16806
- case undefined:
16806
+ case void 0:
16807
16807
  throw invalidChar(read());
16808
16808
  }
16809
16809
  return read();
@@ -16915,7 +16915,7 @@ function push() {
16915
16915
  value = token.value;
16916
16916
  break;
16917
16917
  }
16918
- if (root === undefined) {
16918
+ if (root === void 0) {
16919
16919
  root = value;
16920
16920
  } else {
16921
16921
  const parent = stack[stack.length - 1];
@@ -16955,7 +16955,7 @@ function pop() {
16955
16955
  }
16956
16956
  }
16957
16957
  function invalidChar(c2) {
16958
- if (c2 === undefined) {
16958
+ if (c2 === void 0) {
16959
16959
  return syntaxError(`JSON5: invalid end of input at ${line2}:${column}`);
16960
16960
  }
16961
16961
  return syntaxError(`JSON5: invalid character '${formatChar(c2)}' at ${line2}:${column}`);
@@ -17016,9 +17016,9 @@ var _JSONError = class _JSONError2 extends Error {
17016
17016
  __publicField(this, "fileName");
17017
17017
  __publicField(this, "codeFrame");
17018
17018
  __publicField(this, "rawCodeFrame");
17019
- __privateAdd(this, _message, undefined);
17019
+ __privateAdd(this, _message, void 0);
17020
17020
  __privateSet(this, _message, message);
17021
- (_a = Error.captureStackTrace) == null ? undefined : _a.call(Error, this, _JSONError2);
17021
+ (_a = Error.captureStackTrace) == null ? void 0 : _a.call(Error, this, _JSONError2);
17022
17022
  }
17023
17023
  get message() {
17024
17024
  const { fileName, codeFrame } = this;
@@ -17263,7 +17263,7 @@ codes.ERR_INVALID_MODULE_SPECIFIER = createError(
17263
17263
  * @param {string} reason
17264
17264
  * @param {string} [base]
17265
17265
  */
17266
- (request, reason, base = undefined) => {
17266
+ (request, reason, base = void 0) => {
17267
17267
  return `Invalid module "${request}" ${reason}${base ? ` imported from ${base}` : ""}`;
17268
17268
  },
17269
17269
  TypeError
@@ -17289,7 +17289,7 @@ codes.ERR_INVALID_PACKAGE_TARGET = createError(
17289
17289
  * @param {boolean} [isImport=false]
17290
17290
  * @param {string} [base]
17291
17291
  */
17292
- (pkgPath, key2, target, isImport = false, base = undefined) => {
17292
+ (pkgPath, key2, target, isImport = false, base = void 0) => {
17293
17293
  const relError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./");
17294
17294
  if (key2 === ".") {
17295
17295
  assert2(isImport === false);
@@ -17331,7 +17331,7 @@ codes.ERR_PACKAGE_PATH_NOT_EXPORTED = createError(
17331
17331
  * @param {string} subpath
17332
17332
  * @param {string} [base]
17333
17333
  */
17334
- (pkgPath, subpath, base = undefined) => {
17334
+ (pkgPath, subpath, base = void 0) => {
17335
17335
  if (subpath === ".") return `No "exports" main defined in ${pkgPath}package.json${base ? ` imported from ${base}` : ""}`;
17336
17336
  return `Package subpath '${subpath}' is not defined by "exports" in ${pkgPath}package.json${base ? ` imported from ${base}` : ""}`;
17337
17337
  },
@@ -17407,10 +17407,10 @@ function isErrorStackTraceLimitWritable() {
17407
17407
  } catch {
17408
17408
  }
17409
17409
  const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
17410
- if (desc === undefined) {
17410
+ if (desc === void 0) {
17411
17411
  return Object.isExtensible(Error);
17412
17412
  }
17413
- return own.call(desc, "writable") && desc.writable !== undefined ? desc.writable : desc.set !== undefined;
17413
+ return own.call(desc, "writable") && desc.writable !== void 0 ? desc.writable : desc.set !== void 0;
17414
17414
  }
17415
17415
  function hideStackFrames(fn) {
17416
17416
  const hidden = nodeInternalPrefix + fn.name;
@@ -17436,7 +17436,7 @@ var captureLargerStackTrace = hideStackFrames(
17436
17436
  );
17437
17437
  function getMessage(key2, args, self) {
17438
17438
  const message = messages.get(key2);
17439
- assert2(message !== undefined, "expected `message` to be found");
17439
+ assert2(message !== void 0, "expected `message` to be found");
17440
17440
  if (typeof message === "function") {
17441
17441
  assert2(
17442
17442
  message.length <= args.length,
@@ -17454,7 +17454,7 @@ function getMessage(key2, args, self) {
17454
17454
  return Reflect.apply(format, null, args);
17455
17455
  }
17456
17456
  function determineSpecificType(value) {
17457
- if (value === null || value === undefined) {
17457
+ if (value === null || value === void 0) {
17458
17458
  return String(value);
17459
17459
  }
17460
17460
  if (typeof value === "function" && value.name) {
@@ -17497,14 +17497,14 @@ function read2(jsonPath, { base, specifier }) {
17497
17497
  const result = {
17498
17498
  exists: false,
17499
17499
  pjsonPath: jsonPath,
17500
- main: undefined,
17501
- name: undefined,
17500
+ main: void 0,
17501
+ name: void 0,
17502
17502
  type: "none",
17503
17503
  // Ignore unknown types for forwards compatibility
17504
- exports: undefined,
17505
- imports: undefined
17504
+ exports: void 0,
17505
+ imports: void 0
17506
17506
  };
17507
- if (string !== undefined) {
17507
+ if (string !== void 0) {
17508
17508
  let parsed;
17509
17509
  try {
17510
17510
  parsed = JSON.parse(string);
@@ -17555,7 +17555,7 @@ function getPackageScopeConfig(resolved) {
17555
17555
  }
17556
17556
  }
17557
17557
  const packageJSONPath = fileURLToPath(packageJSONUrl);
17558
- return { pjsonPath: packageJSONPath, exists: false, main: undefined, name: undefined, type: "none", exports: undefined, imports: undefined };
17558
+ return { pjsonPath: packageJSONPath, exists: false, main: void 0, name: void 0, type: "none", exports: void 0, imports: void 0 };
17559
17559
  }
17560
17560
  function getPackageType(url2) {
17561
17561
  const packageConfig = getPackageScopeConfig(url2);
@@ -17624,7 +17624,7 @@ function getFileProtocolModuleFormat(url2, _context, ignoreErrors) {
17624
17624
  const format3 = extensionFormatMap[ext];
17625
17625
  if (format3) return format3;
17626
17626
  if (ignoreErrors) {
17627
- return undefined;
17627
+ return void 0;
17628
17628
  }
17629
17629
  const filepath = fileURLToPath(url2);
17630
17630
  throw new ERR_UNKNOWN_FILE_EXTENSION(ext, filepath);
@@ -17648,7 +17648,7 @@ function getDefaultConditionsSet() {
17648
17648
  return DEFAULT_CONDITIONS_SET;
17649
17649
  }
17650
17650
  function getConditionsSet(conditions) {
17651
- if (conditions !== undefined && conditions !== getDefaultConditions()) {
17651
+ if (conditions !== void 0 && conditions !== getDefaultConditions()) {
17652
17652
  if (!Array.isArray(conditions)) {
17653
17653
  throw new ERR_INVALID_ARG_VALUE("conditions", conditions, "expected an array");
17654
17654
  }
@@ -17700,12 +17700,12 @@ function tryStatSync(path132) {
17700
17700
  }
17701
17701
  function fileExists(url2) {
17702
17702
  const stats = statSync(url2, { throwIfNoEntry: false });
17703
- const isFile2 = stats ? stats.isFile() : undefined;
17704
- return isFile2 === null || isFile2 === undefined ? false : isFile2;
17703
+ const isFile2 = stats ? stats.isFile() : void 0;
17704
+ return isFile2 === null || isFile2 === void 0 ? false : isFile2;
17705
17705
  }
17706
17706
  function legacyMainResolve(packageJsonUrl, packageConfig, base) {
17707
17707
  let guess;
17708
- if (packageConfig.main !== undefined) {
17708
+ if (packageConfig.main !== void 0) {
17709
17709
  guess = new URL$1(packageConfig.main, packageJsonUrl);
17710
17710
  if (fileExists(guess)) return guess;
17711
17711
  const tries2 = [`./${packageConfig.main}.js`, `./${packageConfig.main}.json`, `./${packageConfig.main}.node`, `./${packageConfig.main}/index.js`, `./${packageConfig.main}/index.json`, `./${packageConfig.main}/index.node`];
@@ -17713,7 +17713,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
17713
17713
  while (++i22 < tries2.length) {
17714
17714
  guess = new URL$1(tries2[i22], packageJsonUrl);
17715
17715
  if (fileExists(guess)) break;
17716
- guess = undefined;
17716
+ guess = void 0;
17717
17717
  }
17718
17718
  if (guess) {
17719
17719
  emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main);
@@ -17725,7 +17725,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
17725
17725
  while (++i2 < tries.length) {
17726
17726
  guess = new URL$1(tries[i2], packageJsonUrl);
17727
17727
  if (fileExists(guess)) break;
17728
- guess = undefined;
17728
+ guess = void 0;
17729
17729
  }
17730
17730
  if (guess) {
17731
17731
  emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main);
@@ -17860,14 +17860,14 @@ function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, b
17860
17860
  if (exception2.code === "ERR_INVALID_PACKAGE_TARGET") continue;
17861
17861
  throw error;
17862
17862
  }
17863
- if (resolveResult === undefined) continue;
17863
+ if (resolveResult === void 0) continue;
17864
17864
  if (resolveResult === null) {
17865
17865
  lastException = null;
17866
17866
  continue;
17867
17867
  }
17868
17868
  return resolveResult;
17869
17869
  }
17870
- if (lastException === undefined || lastException === null) {
17870
+ if (lastException === void 0 || lastException === null) {
17871
17871
  return null;
17872
17872
  }
17873
17873
  throw lastException;
@@ -17890,7 +17890,7 @@ function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, b
17890
17890
  target[key2]
17891
17891
  );
17892
17892
  const resolveResult = resolvePackageTarget(packageJsonUrl, conditionalTarget, subpath, packageSubpath, base, pattern, internal, isPathMap, conditions);
17893
- if (resolveResult === undefined) continue;
17893
+ if (resolveResult === void 0) continue;
17894
17894
  return resolveResult;
17895
17895
  }
17896
17896
  }
@@ -17936,7 +17936,7 @@ function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, ba
17936
17936
  if (own2.call(exports, packageSubpath) && !packageSubpath.includes("*") && !packageSubpath.endsWith("/")) {
17937
17937
  const target = exports[packageSubpath];
17938
17938
  const resolveResult = resolvePackageTarget(packageJsonUrl, target, "", packageSubpath, base, false, false, false, conditions);
17939
- if (resolveResult === null || resolveResult === undefined) {
17939
+ if (resolveResult === null || resolveResult === void 0) {
17940
17940
  throw exportsNotFound(packageSubpath, packageJsonUrl, base);
17941
17941
  }
17942
17942
  return resolveResult;
@@ -17965,7 +17965,7 @@ function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, ba
17965
17965
  exports[bestMatch]
17966
17966
  );
17967
17967
  const resolveResult = resolvePackageTarget(packageJsonUrl, target, bestMatchSubpath, bestMatch, base, true, false, packageSubpath.endsWith("/"), conditions);
17968
- if (resolveResult === null || resolveResult === undefined) {
17968
+ if (resolveResult === null || resolveResult === void 0) {
17969
17969
  throw exportsNotFound(packageSubpath, packageJsonUrl, base);
17970
17970
  }
17971
17971
  return resolveResult;
@@ -17998,7 +17998,7 @@ function packageImportsResolve(name, base, conditions) {
17998
17998
  if (imports) {
17999
17999
  if (own2.call(imports, name) && !name.includes("*")) {
18000
18000
  const resolveResult = resolvePackageTarget(packageJsonUrl, imports[name], "", name, base, false, true, false, conditions);
18001
- if (resolveResult !== null && resolveResult !== undefined) {
18001
+ if (resolveResult !== null && resolveResult !== void 0) {
18002
18002
  return resolveResult;
18003
18003
  }
18004
18004
  } else {
@@ -18020,7 +18020,7 @@ function packageImportsResolve(name, base, conditions) {
18020
18020
  if (bestMatch) {
18021
18021
  const target = imports[bestMatch];
18022
18022
  const resolveResult = resolvePackageTarget(packageJsonUrl, target, bestMatchSubpath, bestMatch, base, true, true, false, conditions);
18023
- if (resolveResult !== null && resolveResult !== undefined) {
18023
+ if (resolveResult !== null && resolveResult !== void 0) {
18024
18024
  return resolveResult;
18025
18025
  }
18026
18026
  }
@@ -18059,7 +18059,7 @@ function packageResolve(specifier, base, conditions) {
18059
18059
  const packageConfig = getPackageScopeConfig(base);
18060
18060
  if (packageConfig.exists) {
18061
18061
  const packageJsonUrl2 = pathToFileURL(packageConfig.pjsonPath);
18062
- if (packageConfig.name === packageName && packageConfig.exports !== undefined && packageConfig.exports !== null) {
18062
+ if (packageConfig.name === packageName && packageConfig.exports !== void 0 && packageConfig.exports !== null) {
18063
18063
  return packageExportsResolve(packageJsonUrl2, packageSubpath, packageConfig, base, conditions);
18064
18064
  }
18065
18065
  }
@@ -18075,7 +18075,7 @@ function packageResolve(specifier, base, conditions) {
18075
18075
  continue;
18076
18076
  }
18077
18077
  const packageConfig2 = package_json_reader_default.read(packageJsonPath, { base, specifier });
18078
- if (packageConfig2.exports !== undefined && packageConfig2.exports !== null) {
18078
+ if (packageConfig2.exports !== void 0 && packageConfig2.exports !== null) {
18079
18079
  return packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig2, base, conditions);
18080
18080
  }
18081
18081
  if (packageSubpath === ".") {
@@ -18116,7 +18116,7 @@ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
18116
18116
  }
18117
18117
  }
18118
18118
  }
18119
- assert2(resolved !== undefined, "expected to be defined");
18119
+ assert2(resolved !== void 0, "expected to be defined");
18120
18120
  if (resolved.protocol !== "file:") {
18121
18121
  return resolved;
18122
18122
  }
@@ -18127,11 +18127,11 @@ function checkIfDisallowedImport(specifier, parsed, parsedParentURL) {
18127
18127
  const parentProtocol = parsedParentURL.protocol;
18128
18128
  if (parentProtocol === "http:" || parentProtocol === "https:") {
18129
18129
  if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) {
18130
- const parsedProtocol = parsed == null ? undefined : parsed.protocol;
18130
+ const parsedProtocol = parsed == null ? void 0 : parsed.protocol;
18131
18131
  if (parsedProtocol && parsedProtocol !== "https:" && parsedProtocol !== "http:") {
18132
18132
  throw new ERR_NETWORK_IMPORT_DISALLOWED(specifier, parsedParentURL, "remote imports cannot import from a local location.");
18133
18133
  }
18134
- return { url: (parsed == null ? undefined : parsed.href) || "" };
18134
+ return { url: (parsed == null ? void 0 : parsed.href) || "" };
18135
18135
  }
18136
18136
  if (builtinModules.includes(specifier)) {
18137
18137
  throw new ERR_NETWORK_IMPORT_DISALLOWED(specifier, parsedParentURL, "remote imports cannot import from a local location.");
@@ -18144,7 +18144,7 @@ function isURL(self) {
18144
18144
  return Boolean(self && typeof self === "object" && "href" in self && typeof self.href === "string" && "protocol" in self && typeof self.protocol === "string" && self.href && self.protocol);
18145
18145
  }
18146
18146
  function throwIfInvalidParentURL(parentURL) {
18147
- if (parentURL === undefined) {
18147
+ if (parentURL === void 0) {
18148
18148
  return;
18149
18149
  }
18150
18150
  if (typeof parentURL !== "string" && !isURL(parentURL)) {
@@ -18153,7 +18153,7 @@ function throwIfInvalidParentURL(parentURL) {
18153
18153
  }
18154
18154
  function defaultResolve(specifier, context = {}) {
18155
18155
  const { parentURL } = context;
18156
- assert2(parentURL !== undefined, "expected `parentURL` to be defined");
18156
+ assert2(parentURL !== void 0, "expected `parentURL` to be defined");
18157
18157
  throwIfInvalidParentURL(parentURL);
18158
18158
  let parsedParentURL;
18159
18159
  if (parentURL) {
@@ -18215,7 +18215,7 @@ async function loadExternalConfig(externalConfig, configFile) {
18215
18215
  try {
18216
18216
  return require_from_file_default(externalConfig, configFile);
18217
18217
  } catch (error) {
18218
- if (!requireErrorCodesShouldBeIgnored.has(error == null ? undefined : error.code)) {
18218
+ if (!requireErrorCodesShouldBeIgnored.has(error == null ? void 0 : error.code)) {
18219
18219
  throw error;
18220
18220
  }
18221
18221
  }
@@ -18257,7 +18257,7 @@ function loadPrettierConfig(configFile, { shouldCache }) {
18257
18257
  return loadCache.get(configFile);
18258
18258
  }
18259
18259
  function getSearchFunction(stopDirectory) {
18260
- stopDirectory = stopDirectory ? path9__default.resolve(stopDirectory) : undefined;
18260
+ stopDirectory = stopDirectory ? path9__default.resolve(stopDirectory) : void 0;
18261
18261
  if (!searchCache.has(stopDirectory)) {
18262
18262
  const searcher2 = config_searcher_default(stopDirectory);
18263
18263
  const searchFunction = searcher2.search.bind(searcher2);
@@ -18286,7 +18286,7 @@ async function loadPrettierConfig2(file, options8) {
18286
18286
  const shouldCache = options8.useCache;
18287
18287
  let configFile = options8.config;
18288
18288
  if (!configFile) {
18289
- const directory = file ? path9__default.dirname(path9__default.resolve(file)) : undefined;
18289
+ const directory = file ? path9__default.dirname(path9__default.resolve(file)) : void 0;
18290
18290
  configFile = await searchPrettierConfig(directory, { shouldCache });
18291
18291
  }
18292
18292
  if (!configFile) {
@@ -18309,7 +18309,7 @@ async function resolveConfig(fileUrlOrPath, options8) {
18309
18309
  return merged;
18310
18310
  }
18311
18311
  async function resolveConfigFile(fileUrlOrPath) {
18312
- const directory = fileUrlOrPath ? path9__default.dirname(path9__default.resolve(toPath(fileUrlOrPath))) : undefined;
18312
+ const directory = fileUrlOrPath ? path9__default.dirname(path9__default.resolve(toPath(fileUrlOrPath))) : void 0;
18313
18313
  const result = await searchPrettierConfig(directory, { shouldCache: false });
18314
18314
  return result ?? null;
18315
18315
  }
@@ -18332,7 +18332,7 @@ function pathMatchesGlobs(filePath, patterns, excludedPatterns) {
18332
18332
  return import_micromatch.default.isMatch(filePath, withoutSlashes, { ignore: excludedPatterns, basename: true, dot: true }) || import_micromatch.default.isMatch(filePath, withSlashes, { ignore: excludedPatterns, basename: false, dot: true });
18333
18333
  }
18334
18334
  var stringReplaceAll22 = (isOptionalObject, original, pattern, replacement) => {
18335
- if (isOptionalObject && (original === undefined || original === null)) {
18335
+ if (isOptionalObject && (original === void 0 || original === null)) {
18336
18336
  return;
18337
18337
  }
18338
18338
  if (original.replaceAll) {
@@ -18379,7 +18379,7 @@ async function createSingleIsIgnoredFunction(ignoreFile, withNodeModules) {
18379
18379
  }
18380
18380
  async function createIsIgnoredFunction(ignoreFiles, withNodeModules) {
18381
18381
  if (ignoreFiles.length === 0 && !withNodeModules) {
18382
- ignoreFiles = [undefined];
18382
+ ignoreFiles = [void 0];
18383
18383
  }
18384
18384
  const isIgnoredFunctions = (await Promise.all(ignoreFiles.map((ignoreFile) => createSingleIsIgnoredFunction(ignoreFile, withNodeModules)))).filter(Boolean);
18385
18385
  return (file) => isIgnoredFunctions.some((isIgnored2) => isIgnored2(file));
@@ -18422,13 +18422,13 @@ function getLanguageByFileName(languages2, file) {
18422
18422
  return;
18423
18423
  }
18424
18424
  const basename = getFileBasename(file).toLowerCase();
18425
- return languages2.find(({ filenames }) => filenames == null ? undefined : filenames.some((name) => name.toLowerCase() === basename)) ?? languages2.find(({ extensions }) => extensions == null ? undefined : extensions.some((extension) => basename.endsWith(extension)));
18425
+ return languages2.find(({ filenames }) => filenames == null ? void 0 : filenames.some((name) => name.toLowerCase() === basename)) ?? languages2.find(({ extensions }) => extensions == null ? void 0 : extensions.some((extension) => basename.endsWith(extension)));
18426
18426
  }
18427
18427
  function getLanguageByLanguageName(languages2, languageName) {
18428
18428
  if (!languageName) {
18429
18429
  return;
18430
18430
  }
18431
- return languages2.find(({ name }) => name.toLowerCase() === languageName) ?? languages2.find(({ aliases }) => aliases == null ? undefined : aliases.includes(languageName)) ?? languages2.find(({ extensions }) => extensions == null ? undefined : extensions.includes(`.${languageName}`));
18431
+ return languages2.find(({ name }) => name.toLowerCase() === languageName) ?? languages2.find(({ aliases }) => aliases == null ? void 0 : aliases.includes(languageName)) ?? languages2.find(({ extensions }) => extensions == null ? void 0 : extensions.includes(`.${languageName}`));
18432
18432
  }
18433
18433
  function getLanguageByInterpreter(languages2, file) {
18434
18434
  if (!file || getFileBasename(file).includes(".")) {
@@ -18438,7 +18438,7 @@ function getLanguageByInterpreter(languages2, file) {
18438
18438
  if (!interpreter) {
18439
18439
  return;
18440
18440
  }
18441
- return languages2.find(({ interpreters }) => interpreters == null ? undefined : interpreters.includes(interpreter));
18441
+ return languages2.find(({ interpreters }) => interpreters == null ? void 0 : interpreters.includes(interpreter));
18442
18442
  }
18443
18443
  function inferParser(options8, fileInfo) {
18444
18444
  const languages2 = options8.plugins.flatMap((plugin) => (
@@ -18446,7 +18446,7 @@ function inferParser(options8, fileInfo) {
18446
18446
  plugin.languages ?? []
18447
18447
  ));
18448
18448
  const language = getLanguageByLanguageName(languages2, fileInfo.language) ?? getLanguageByFileName(languages2, fileInfo.physicalFile) ?? getLanguageByFileName(languages2, fileInfo.file) ?? getLanguageByInterpreter(languages2, fileInfo.physicalFile);
18449
- return language == null ? undefined : language.parsers[0];
18449
+ return language == null ? void 0 : language.parsers[0];
18450
18450
  }
18451
18451
  var infer_parser_default = inferParser;
18452
18452
  async function getFileInfo(file, options8) {
@@ -18469,7 +18469,7 @@ async function getParser(file, options8) {
18469
18469
  if (options8.resolveConfig !== false) {
18470
18470
  config = await resolveConfig(file);
18471
18471
  }
18472
- return (config == null ? undefined : config.parser) ?? infer_parser_default(options8, { physicalFile: file });
18472
+ return (config == null ? void 0 : config.parser) ?? infer_parser_default(options8, { physicalFile: file });
18473
18473
  }
18474
18474
  var get_file_info_default = getFileInfo;
18475
18475
  var import_diff = __toESM2(require_array2());
@@ -18591,7 +18591,7 @@ function traverseDoc2(doc2, onEnter, onExit, shouldTraverseConditionalGroups) {
18591
18591
  if (!docType) {
18592
18592
  throw new invalid_doc_error_default2(doc3);
18593
18593
  }
18594
- if ((onEnter == null ? undefined : onEnter(doc3)) === false) {
18594
+ if ((onEnter == null ? void 0 : onEnter(doc3)) === false) {
18595
18595
  continue;
18596
18596
  }
18597
18597
  switch (docType) {
@@ -18686,7 +18686,7 @@ function flattenDoc(doc2) {
18686
18686
  return { ...doc2, breakContents: flattenDoc(doc2.breakContents), flatContents: flattenDoc(doc2.flatContents) };
18687
18687
  }
18688
18688
  if (doc2.type === DOC_TYPE_GROUP2) {
18689
- return { ...doc2, contents: flattenDoc(doc2.contents), expandedStates: (_a = doc2.expandedStates) == null ? undefined : _a.map(flattenDoc) };
18689
+ return { ...doc2, contents: flattenDoc(doc2.contents), expandedStates: (_a = doc2.expandedStates) == null ? void 0 : _a.map(flattenDoc) };
18690
18690
  }
18691
18691
  if (doc2.type === DOC_TYPE_FILL2) {
18692
18692
  return { type: "fill", parts: doc2.parts.map(flattenDoc) };
@@ -18710,7 +18710,7 @@ function printDocToDebug(doc2) {
18710
18710
  return printed.length === 1 ? printed[0] : `[${printed.join(", ")}]`;
18711
18711
  }
18712
18712
  if (doc3.type === DOC_TYPE_LINE2) {
18713
- const withBreakParent = ((_a = parentParts == null ? undefined : parentParts[index + 1]) == null ? undefined : _a.type) === DOC_TYPE_BREAK_PARENT2;
18713
+ const withBreakParent = ((_a = parentParts == null ? void 0 : parentParts[index + 1]) == null ? void 0 : _a.type) === DOC_TYPE_BREAK_PARENT2;
18714
18714
  if (doc3.literal) {
18715
18715
  return withBreakParent ? "literalline" : "literallineWithoutBreakParent";
18716
18716
  }
@@ -18723,8 +18723,8 @@ function printDocToDebug(doc2) {
18723
18723
  return "line";
18724
18724
  }
18725
18725
  if (doc3.type === DOC_TYPE_BREAK_PARENT2) {
18726
- const afterHardline = ((_b = parentParts == null ? undefined : parentParts[index - 1]) == null ? undefined : _b.type) === DOC_TYPE_LINE2 && parentParts[index - 1].hard;
18727
- return afterHardline ? undefined : "breakParent";
18726
+ const afterHardline = ((_b = parentParts == null ? void 0 : parentParts[index - 1]) == null ? void 0 : _b.type) === DOC_TYPE_LINE2 && parentParts[index - 1].hard;
18727
+ return afterHardline ? void 0 : "breakParent";
18728
18728
  }
18729
18729
  if (doc3.type === DOC_TYPE_TRIM2) {
18730
18730
  return "trim";
@@ -18795,7 +18795,7 @@ function printDocToDebug(doc2) {
18795
18795
  }
18796
18796
  }
18797
18797
  var at2 = (isOptionalObject, object, index) => {
18798
- if (isOptionalObject && (object === undefined || object === null)) {
18798
+ if (isOptionalObject && (object === void 0 || object === null)) {
18799
18799
  return;
18800
18800
  }
18801
18801
  if (Array.isArray(object) || typeof object === "string") {
@@ -19717,7 +19717,7 @@ var AstPath = class {
19717
19717
  let name = null;
19718
19718
  let node = this.stack[stackPointer--];
19719
19719
  for (const predicate of predicates) {
19720
- if (node === undefined) {
19720
+ if (node === void 0) {
19721
19721
  return false;
19722
19722
  }
19723
19723
  let number = null;
@@ -19818,7 +19818,7 @@ function* getDescendants(node, options8) {
19818
19818
  }
19819
19819
  function skip(characters) {
19820
19820
  return (text, startIndex, options8) => {
19821
- const backwards = Boolean(options8 == null ? undefined : options8.backwards);
19821
+ const backwards = Boolean(options8 == null ? void 0 : options8.backwards);
19822
19822
  if (startIndex === false) {
19823
19823
  return false;
19824
19824
  }
@@ -19846,7 +19846,7 @@ var skipSpaces = skip(" ");
19846
19846
  var skipToLineEnd = skip(",; ");
19847
19847
  var skipEverythingButNewLine = skip(/[^\n\r]/);
19848
19848
  function skipNewline(text, startIndex, options8) {
19849
- const backwards = Boolean(options8 == null ? undefined : options8.backwards);
19849
+ const backwards = Boolean(options8 == null ? void 0 : options8.backwards);
19850
19850
  if (startIndex === false) {
19851
19851
  return false;
19852
19852
  }
@@ -19926,7 +19926,7 @@ function getSortedChildNodes(node, options8) {
19926
19926
  if (!canAttachComment) {
19927
19927
  return [];
19928
19928
  }
19929
- const childNodes = ((getCommentChildNodes == null ? undefined : getCommentChildNodes(node, options8)) ?? [...getChildren(node, { getVisitorKeys: create_get_visitor_keys_function_default(printerGetVisitorKeys) })]).flatMap((node2) => canAttachComment(node2) ? [node2] : getSortedChildNodes(node2, options8));
19929
+ const childNodes = ((getCommentChildNodes == null ? void 0 : getCommentChildNodes(node, options8)) ?? [...getChildren(node, { getVisitorKeys: create_get_visitor_keys_function_default(printerGetVisitorKeys) })]).flatMap((node2) => canAttachComment(node2) ? [node2] : getSortedChildNodes(node2, options8));
19930
19930
  childNodes.sort((nodeA, nodeB) => locStart(nodeA) - locStart(nodeB) || locEnd(nodeA) - locEnd(nodeB));
19931
19931
  childNodesCache.set(node, childNodes);
19932
19932
  return childNodes;
@@ -19960,7 +19960,7 @@ function decorateComment(node, comment, options8, enclosingNode) {
19960
19960
  }
19961
19961
  throw new Error("Comment location overlaps with node location");
19962
19962
  }
19963
- if ((enclosingNode == null ? undefined : enclosingNode.type) === "TemplateLiteral") {
19963
+ if ((enclosingNode == null ? void 0 : enclosingNode.type) === "TemplateLiteral") {
19964
19964
  const { quasis } = enclosingNode;
19965
19965
  const commentIndex = findExpressionIndexForComment(quasis, comment, options8);
19966
19966
  if (precedingNode && findExpressionIndexForComment(quasis, precedingNode, options8) !== commentIndex) {
@@ -20105,7 +20105,7 @@ function breakTies(tiesToBreak, options8) {
20105
20105
  assert2.strictEqual(currentCommentPrecedingNode, precedingNode);
20106
20106
  assert2.strictEqual(currentCommentFollowingNode, followingNode);
20107
20107
  const gap = options8.originalText.slice(options8.locEnd(comment), gapEndPos);
20108
- if (((_b = (_a = options8.printer).isGap) == null ? undefined : _b.call(_a, gap, options8)) ?? /^[\s(]*$/.test(gap)) {
20108
+ if (((_b = (_a = options8.printer).isGap) == null ? void 0 : _b.call(_a, gap, options8)) ?? /^[\s(]*$/.test(gap)) {
20109
20109
  gapEndPos = options8.locStart(comment);
20110
20110
  } else {
20111
20111
  break;
@@ -20153,7 +20153,7 @@ function printLeadingComment(path132, options8) {
20153
20153
  const comment = path132.node;
20154
20154
  const parts = [printComment(path132, options8)];
20155
20155
  const { printer: printer2, originalText, locStart, locEnd } = options8;
20156
- const isBlock = (_a = printer2.isBlockComment) == null ? undefined : _a.call(printer2, comment);
20156
+ const isBlock = (_a = printer2.isBlockComment) == null ? void 0 : _a.call(printer2, comment);
20157
20157
  if (isBlock) {
20158
20158
  const lineBreak = has_newline_default(originalText, locEnd(comment)) ? has_newline_default(originalText, locStart(comment), { backwards: true }) ? hardline2 : line22 : " ";
20159
20159
  parts.push(lineBreak);
@@ -20171,12 +20171,12 @@ function printTrailingComment(path132, options8, previousComment) {
20171
20171
  const comment = path132.node;
20172
20172
  const printed = printComment(path132, options8);
20173
20173
  const { printer: printer2, originalText, locStart } = options8;
20174
- const isBlock = (_a = printer2.isBlockComment) == null ? undefined : _a.call(printer2, comment);
20175
- if ((previousComment == null ? undefined : previousComment.hasLineSuffix) && !(previousComment == null ? undefined : previousComment.isBlock) || has_newline_default(originalText, locStart(comment), { backwards: true })) {
20174
+ const isBlock = (_a = printer2.isBlockComment) == null ? void 0 : _a.call(printer2, comment);
20175
+ if ((previousComment == null ? void 0 : previousComment.hasLineSuffix) && !(previousComment == null ? void 0 : previousComment.isBlock) || has_newline_default(originalText, locStart(comment), { backwards: true })) {
20176
20176
  const isLineBeforeEmpty = is_previous_line_empty_default(originalText, locStart(comment));
20177
20177
  return { doc: lineSuffix2([hardline2, isLineBeforeEmpty ? hardline2 : "", printed]), isBlock, hasLineSuffix: true };
20178
20178
  }
20179
- if (!isBlock || (previousComment == null ? undefined : previousComment.hasLineSuffix)) {
20179
+ if (!isBlock || (previousComment == null ? void 0 : previousComment.hasLineSuffix)) {
20180
20180
  return { doc: [lineSuffix2([" ", printed]), breakParent2], isBlock, hasLineSuffix: true };
20181
20181
  }
20182
20182
  return { doc: [" ", printed], isBlock, hasLineSuffix: false };
@@ -20196,7 +20196,7 @@ function printCommentsSeparately(path132, options8) {
20196
20196
  let printedTrailingComment;
20197
20197
  path132.each(() => {
20198
20198
  const comment = path132.node;
20199
- if (ignored == null ? undefined : ignored.has(comment)) {
20199
+ if (ignored == null ? void 0 : ignored.has(comment)) {
20200
20200
  return;
20201
20201
  }
20202
20202
  const { leading, trailing } = comment;
@@ -20232,7 +20232,7 @@ function createPrintPreCheckFunction(options8) {
20232
20232
  }
20233
20233
  }
20234
20234
  var create_print_pre_check_function_default = createPrintPreCheckFunction;
20235
- var core_options_evaluate_default = { "cursorOffset": { "category": "Special", "type": "int", "default": -1, "range": { "start": -1, "end": Infinity, "step": 1 }, "description": "Print (to stderr) where a cursor at the given position would move to after formatting.", "cliCategory": "Editor" }, "endOfLine": { "category": "Global", "type": "choice", "default": "lf", "description": "Which end of line characters to apply.", "choices": [{ "value": "lf", "description": "Line Feed only (\\n), common on Linux and macOS as well as inside git repos" }, { "value": "crlf", "description": "Carriage Return + Line Feed characters (\\r\\n), common on Windows" }, { "value": "cr", "description": "Carriage Return character only (\\r), used very rarely" }, { "value": "auto", "description": "Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)" }] }, "filepath": { "category": "Special", "type": "path", "description": "Specify the input filepath. This will be used to do parser inference.", "cliName": "stdin-filepath", "cliCategory": "Other", "cliDescription": "Path to the file to pretend that stdin comes from." }, "insertPragma": { "category": "Special", "type": "boolean", "default": false, "description": "Insert @format pragma into file's first docblock comment.", "cliCategory": "Other" }, "parser": { "category": "Global", "type": "choice", "default": undefined, "description": "Which parser to use.", "exception": (value) => typeof value === "string" || typeof value === "function", "choices": [{ "value": "flow", "description": "Flow" }, { "value": "babel", "description": "JavaScript" }, { "value": "babel-flow", "description": "Flow" }, { "value": "babel-ts", "description": "TypeScript" }, { "value": "typescript", "description": "TypeScript" }, { "value": "acorn", "description": "JavaScript" }, { "value": "espree", "description": "JavaScript" }, { "value": "meriyah", "description": "JavaScript" }, { "value": "css", "description": "CSS" }, { "value": "less", "description": "Less" }, { "value": "scss", "description": "SCSS" }, { "value": "json", "description": "JSON" }, { "value": "json5", "description": "JSON5" }, { "value": "jsonc", "description": "JSON with Comments" }, { "value": "json-stringify", "description": "JSON.stringify" }, { "value": "graphql", "description": "GraphQL" }, { "value": "markdown", "description": "Markdown" }, { "value": "mdx", "description": "MDX" }, { "value": "vue", "description": "Vue" }, { "value": "yaml", "description": "YAML" }, { "value": "glimmer", "description": "Ember / Handlebars" }, { "value": "html", "description": "HTML" }, { "value": "angular", "description": "Angular" }, { "value": "lwc", "description": "Lightning Web Components" }] }, "plugins": { "type": "path", "array": true, "default": [{ "value": [] }], "category": "Global", "description": "Add a plugin. Multiple plugins can be passed as separate `--plugin`s.", "exception": (value) => typeof value === "string" || typeof value === "object", "cliName": "plugin", "cliCategory": "Config" }, "printWidth": { "category": "Global", "type": "int", "default": 80, "description": "The line length where Prettier will try wrap.", "range": { "start": 0, "end": Infinity, "step": 1 } }, "rangeEnd": { "category": "Special", "type": "int", "default": Infinity, "range": { "start": 0, "end": Infinity, "step": 1 }, "description": "Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.", "cliCategory": "Editor" }, "rangeStart": { "category": "Special", "type": "int", "default": 0, "range": { "start": 0, "end": Infinity, "step": 1 }, "description": "Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.", "cliCategory": "Editor" }, "requirePragma": { "category": "Special", "type": "boolean", "default": false, "description": "Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.", "cliCategory": "Other" }, "tabWidth": { "type": "int", "category": "Global", "default": 2, "description": "Number of spaces per indentation level.", "range": { "start": 0, "end": Infinity, "step": 1 } }, "useTabs": { "category": "Global", "type": "boolean", "default": false, "description": "Indent with tabs instead of spaces." }, "embeddedLanguageFormatting": { "category": "Global", "type": "choice", "default": "auto", "description": "Control how Prettier formats quoted code embedded in the file.", "choices": [{ "value": "auto", "description": "Format embedded code if Prettier can automatically identify it." }, { "value": "off", "description": "Never automatically format embedded code." }] } };
20235
+ var core_options_evaluate_default = { "cursorOffset": { "category": "Special", "type": "int", "default": -1, "range": { "start": -1, "end": Infinity, "step": 1 }, "description": "Print (to stderr) where a cursor at the given position would move to after formatting.", "cliCategory": "Editor" }, "endOfLine": { "category": "Global", "type": "choice", "default": "lf", "description": "Which end of line characters to apply.", "choices": [{ "value": "lf", "description": "Line Feed only (\\n), common on Linux and macOS as well as inside git repos" }, { "value": "crlf", "description": "Carriage Return + Line Feed characters (\\r\\n), common on Windows" }, { "value": "cr", "description": "Carriage Return character only (\\r), used very rarely" }, { "value": "auto", "description": "Maintain existing\n(mixed values within one file are normalised by looking at what's used after the first line)" }] }, "filepath": { "category": "Special", "type": "path", "description": "Specify the input filepath. This will be used to do parser inference.", "cliName": "stdin-filepath", "cliCategory": "Other", "cliDescription": "Path to the file to pretend that stdin comes from." }, "insertPragma": { "category": "Special", "type": "boolean", "default": false, "description": "Insert @format pragma into file's first docblock comment.", "cliCategory": "Other" }, "parser": { "category": "Global", "type": "choice", "default": void 0, "description": "Which parser to use.", "exception": (value) => typeof value === "string" || typeof value === "function", "choices": [{ "value": "flow", "description": "Flow" }, { "value": "babel", "description": "JavaScript" }, { "value": "babel-flow", "description": "Flow" }, { "value": "babel-ts", "description": "TypeScript" }, { "value": "typescript", "description": "TypeScript" }, { "value": "acorn", "description": "JavaScript" }, { "value": "espree", "description": "JavaScript" }, { "value": "meriyah", "description": "JavaScript" }, { "value": "css", "description": "CSS" }, { "value": "less", "description": "Less" }, { "value": "scss", "description": "SCSS" }, { "value": "json", "description": "JSON" }, { "value": "json5", "description": "JSON5" }, { "value": "jsonc", "description": "JSON with Comments" }, { "value": "json-stringify", "description": "JSON.stringify" }, { "value": "graphql", "description": "GraphQL" }, { "value": "markdown", "description": "Markdown" }, { "value": "mdx", "description": "MDX" }, { "value": "vue", "description": "Vue" }, { "value": "yaml", "description": "YAML" }, { "value": "glimmer", "description": "Ember / Handlebars" }, { "value": "html", "description": "HTML" }, { "value": "angular", "description": "Angular" }, { "value": "lwc", "description": "Lightning Web Components" }] }, "plugins": { "type": "path", "array": true, "default": [{ "value": [] }], "category": "Global", "description": "Add a plugin. Multiple plugins can be passed as separate `--plugin`s.", "exception": (value) => typeof value === "string" || typeof value === "object", "cliName": "plugin", "cliCategory": "Config" }, "printWidth": { "category": "Global", "type": "int", "default": 80, "description": "The line length where Prettier will try wrap.", "range": { "start": 0, "end": Infinity, "step": 1 } }, "rangeEnd": { "category": "Special", "type": "int", "default": Infinity, "range": { "start": 0, "end": Infinity, "step": 1 }, "description": "Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.", "cliCategory": "Editor" }, "rangeStart": { "category": "Special", "type": "int", "default": 0, "range": { "start": 0, "end": Infinity, "step": 1 }, "description": "Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.", "cliCategory": "Editor" }, "requirePragma": { "category": "Special", "type": "boolean", "default": false, "description": "Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.", "cliCategory": "Other" }, "tabWidth": { "type": "int", "category": "Global", "default": 2, "description": "Number of spaces per indentation level.", "range": { "start": 0, "end": Infinity, "step": 1 } }, "useTabs": { "category": "Global", "type": "boolean", "default": false, "description": "Indent with tabs instead of spaces." }, "embeddedLanguageFormatting": { "category": "Global", "type": "choice", "default": "auto", "description": "Control how Prettier formats quoted code embedded in the file.", "choices": [{ "value": "auto", "description": "Format embedded code if Prettier can automatically identify it." }, { "value": "off", "description": "Never automatically format embedded code." }] } };
20236
20236
  function getSupportInfo({ plugins = [], showDeprecated = false } = {}) {
20237
20237
  const languages2 = plugins.flatMap((plugin) => plugin.languages ?? []);
20238
20238
  const options8 = [];
@@ -20250,7 +20250,7 @@ function getSupportInfo({ plugins = [], showDeprecated = false } = {}) {
20250
20250
  }
20251
20251
  option.pluginDefaults = Object.fromEntries(plugins.filter((plugin) => {
20252
20252
  var _a;
20253
- return ((_a = plugin.defaultOptions) == null ? undefined : _a[option.name]) !== undefined;
20253
+ return ((_a = plugin.defaultOptions) == null ? void 0 : _a[option.name]) !== void 0;
20254
20254
  }).map((plugin) => [plugin.name, plugin.defaultOptions[option.name]]));
20255
20255
  options8.push(option);
20256
20256
  }
@@ -20265,7 +20265,7 @@ function* collectParsersFromLanguages(parserChoices, languages2, plugins) {
20265
20265
  existingParsers.add(parserName);
20266
20266
  const plugin = plugins.find((plugin2) => plugin2.parsers && Object.prototype.hasOwnProperty.call(plugin2.parsers, parserName));
20267
20267
  let description = language.name;
20268
- if (plugin == null ? undefined : plugin.name) {
20268
+ if (plugin == null ? void 0 : plugin.name) {
20269
20269
  description += ` (plugin: ${plugin.name})`;
20270
20270
  }
20271
20271
  yield { value: parserName, description };
@@ -20305,7 +20305,7 @@ function normalizeOptions(options8, optionInfos, { logger = false, isCLI = false
20305
20305
  const unknown = !passThrough ? (key2, value, options9) => {
20306
20306
  const { _, ...schemas2 } = options9.schemas;
20307
20307
  return levenUnknownHandler(key2, value, { ...options9, schemas: schemas2 });
20308
- } : Array.isArray(passThrough) ? (key2, value) => !passThrough.includes(key2) ? undefined : { [key2]: value } : (key2, value) => ({ [key2]: value });
20308
+ } : Array.isArray(passThrough) ? (key2, value) => !passThrough.includes(key2) ? void 0 : { [key2]: value } : (key2, value) => ({ [key2]: value });
20309
20309
  const schemas = optionInfosToSchemas(optionInfos, { isCLI, FlagSchema });
20310
20310
  const normalizer = new Normalizer(schemas, { logger, unknown, descriptor });
20311
20311
  const shouldSuppressDuplicateDeprecationWarnings = logger !== false;
@@ -20352,7 +20352,7 @@ function optionInfoToSchema(optionInfo, { isCLI, optionInfos, FlagSchema }) {
20352
20352
  break;
20353
20353
  case "choice":
20354
20354
  SchemaConstructor = ChoiceSchema;
20355
- parameters.choices = optionInfo.choices.map((choiceInfo) => (choiceInfo == null ? undefined : choiceInfo.redirect) ? { ...choiceInfo, redirect: { to: { key: optionInfo.name, value: choiceInfo.redirect } } } : choiceInfo);
20355
+ parameters.choices = optionInfo.choices.map((choiceInfo) => (choiceInfo == null ? void 0 : choiceInfo.redirect) ? { ...choiceInfo, redirect: { to: { key: optionInfo.name, value: choiceInfo.redirect } } } : choiceInfo);
20356
20356
  break;
20357
20357
  case "boolean":
20358
20358
  SchemaConstructor = BooleanSchema;
@@ -20370,10 +20370,10 @@ function optionInfoToSchema(optionInfo, { isCLI, optionInfos, FlagSchema }) {
20370
20370
  if (optionInfo.exception) {
20371
20371
  parameters.validate = (value, schema2, utils2) => optionInfo.exception(value) || schema2.validate(value, utils2);
20372
20372
  } else {
20373
- parameters.validate = (value, schema2, utils2) => value === undefined || schema2.validate(value, utils2);
20373
+ parameters.validate = (value, schema2, utils2) => value === void 0 || schema2.validate(value, utils2);
20374
20374
  }
20375
20375
  if (optionInfo.redirect) {
20376
- handlers.redirect = (value) => !value ? undefined : { to: { key: optionInfo.redirect.option, value: optionInfo.redirect.value } };
20376
+ handlers.redirect = (value) => !value ? void 0 : { to: { key: optionInfo.redirect.option, value: optionInfo.redirect.value } };
20377
20377
  }
20378
20378
  if (optionInfo.deprecated) {
20379
20379
  handlers.deprecated = true;
@@ -20396,7 +20396,7 @@ function optionInfoToSchema(optionInfo, { isCLI, optionInfos, FlagSchema }) {
20396
20396
  }
20397
20397
  var normalize_options_default = normalizeOptions;
20398
20398
  var arrayFindLast = (isOptionalObject, array2, callback) => {
20399
- if (isOptionalObject && (array2 === undefined || array2 === null)) {
20399
+ if (isOptionalObject && (array2 === void 0 || array2 === null)) {
20400
20400
  return;
20401
20401
  }
20402
20402
  if (array2.findLast) {
@@ -20454,7 +20454,7 @@ function initPrinter(plugin, astFormat) {
20454
20454
  const printerOrPrinterInitFunction = plugin.printers[astFormat];
20455
20455
  return typeof printerOrPrinterInitFunction === "function" ? printerOrPrinterInitFunction() : printerOrPrinterInitFunction;
20456
20456
  }
20457
- var formatOptionsHiddenDefaults = { astFormat: "estree", printer: {}, originalText: undefined, locStart: null, locEnd: null };
20457
+ var formatOptionsHiddenDefaults = { astFormat: "estree", printer: {}, originalText: void 0, locStart: null, locEnd: null };
20458
20458
  async function normalizeFormatOptions(options8, opts = {}) {
20459
20459
  var _a;
20460
20460
  const rawOptions = { ...options8 };
@@ -20469,19 +20469,19 @@ async function normalizeFormatOptions(options8, opts = {}) {
20469
20469
  }
20470
20470
  }
20471
20471
  const supportOptions = getSupportInfo({ plugins: options8.plugins, showDeprecated: true }).options;
20472
- const defaults = { ...formatOptionsHiddenDefaults, ...Object.fromEntries(supportOptions.filter((optionInfo) => optionInfo.default !== undefined).map((option) => [option.name, option.default])) };
20472
+ const defaults = { ...formatOptionsHiddenDefaults, ...Object.fromEntries(supportOptions.filter((optionInfo) => optionInfo.default !== void 0).map((option) => [option.name, option.default])) };
20473
20473
  const parserPlugin = getParserPluginByParserName(rawOptions.plugins, rawOptions.parser);
20474
20474
  const parser = await initParser(parserPlugin, rawOptions.parser);
20475
20475
  rawOptions.astFormat = parser.astFormat;
20476
20476
  rawOptions.locEnd = parser.locEnd;
20477
20477
  rawOptions.locStart = parser.locStart;
20478
- const printerPlugin = ((_a = parserPlugin.printers) == null ? undefined : _a[parser.astFormat]) ? parserPlugin : getPrinterPluginByAstFormat(rawOptions.plugins, parser.astFormat);
20478
+ const printerPlugin = ((_a = parserPlugin.printers) == null ? void 0 : _a[parser.astFormat]) ? parserPlugin : getPrinterPluginByAstFormat(rawOptions.plugins, parser.astFormat);
20479
20479
  const printer2 = await initPrinter(printerPlugin, parser.astFormat);
20480
20480
  rawOptions.printer = printer2;
20481
- const pluginDefaults = printerPlugin.defaultOptions ? Object.fromEntries(Object.entries(printerPlugin.defaultOptions).filter(([, value]) => value !== undefined)) : {};
20481
+ const pluginDefaults = printerPlugin.defaultOptions ? Object.fromEntries(Object.entries(printerPlugin.defaultOptions).filter(([, value]) => value !== void 0)) : {};
20482
20482
  const mixedDefaults = { ...defaults, ...pluginDefaults };
20483
20483
  for (const [k, value] of Object.entries(mixedDefaults)) {
20484
- if (rawOptions[k] === null || rawOptions[k] === undefined) {
20484
+ if (rawOptions[k] === null || rawOptions[k] === void 0) {
20485
20485
  rawOptions[k] = value;
20486
20486
  }
20487
20487
  }
@@ -20599,11 +20599,11 @@ async function printAstToDoc(ast, options8) {
20599
20599
  const ensurePrintingNode = create_print_pre_check_function_default();
20600
20600
  const embeds = /* @__PURE__ */ new Map();
20601
20601
  await printEmbeddedLanguages(path132, mainPrint, options8, printAstToDoc, embeds);
20602
- const doc2 = await callPluginPrintFunction(path132, options8, mainPrint, undefined, embeds);
20602
+ const doc2 = await callPluginPrintFunction(path132, options8, mainPrint, void 0, embeds);
20603
20603
  ensureAllCommentsPrinted(options8);
20604
20604
  return doc2;
20605
20605
  function mainPrint(selector, args) {
20606
- if (selector === undefined || selector === path132) {
20606
+ if (selector === void 0 || selector === path132) {
20607
20607
  return mainPrintInternal(args);
20608
20608
  }
20609
20609
  if (Array.isArray(selector)) {
@@ -20614,10 +20614,10 @@ async function printAstToDoc(ast, options8) {
20614
20614
  function mainPrintInternal(args) {
20615
20615
  ensurePrintingNode(path132);
20616
20616
  const value = path132.node;
20617
- if (value === undefined || value === null) {
20617
+ if (value === void 0 || value === null) {
20618
20618
  return "";
20619
20619
  }
20620
- const shouldCache = value && typeof value === "object" && args === undefined;
20620
+ const shouldCache = value && typeof value === "object" && args === void 0;
20621
20621
  if (shouldCache && cache3.has(value)) {
20622
20622
  return cache3.get(value);
20623
20623
  }
@@ -20633,7 +20633,7 @@ function callPluginPrintFunction(path132, options8, printPath, args, embeds) {
20633
20633
  const { node } = path132;
20634
20634
  const { printer: printer2 } = options8;
20635
20635
  let doc2;
20636
- if ((_a = printer2.hasPrettierIgnore) == null ? undefined : _a.call(printer2, path132)) {
20636
+ if ((_a = printer2.hasPrettierIgnore) == null ? void 0 : _a.call(printer2, path132)) {
20637
20637
  doc2 = print_ignored_default(path132, options8);
20638
20638
  } else if (embeds.has(node)) {
20639
20639
  doc2 = embeds.get(node);
@@ -20714,7 +20714,7 @@ function dropRootParents(parents) {
20714
20714
  let lastParentIndex = parents.length - 1;
20715
20715
  for (; ; ) {
20716
20716
  const parent = parents[lastParentIndex];
20717
- if ((parent == null ? undefined : parent.type) === "Program" || (parent == null ? undefined : parent.type) === "File") {
20717
+ if ((parent == null ? void 0 : parent.type) === "Program" || (parent == null ? void 0 : parent.type) === "File") {
20718
20718
  lastParentIndex--;
20719
20719
  } else {
20720
20720
  break;
@@ -20785,7 +20785,7 @@ function isSourceElement(opts, node, parentNode) {
20785
20785
  case "espree":
20786
20786
  case "meriyah":
20787
20787
  case "__babel_estree":
20788
- return isJsSourceElement(node.type, parentNode == null ? undefined : parentNode.type);
20788
+ return isJsSourceElement(node.type, parentNode == null ? void 0 : parentNode.type);
20789
20789
  case "json":
20790
20790
  case "json5":
20791
20791
  case "jsonc":
@@ -20847,7 +20847,7 @@ async function coreFormat(originalText, opts, addAlignmentSize = 0) {
20847
20847
  const result = printDocToString2(doc2, opts);
20848
20848
  if (addAlignmentSize > 0) {
20849
20849
  const trimmed = result.formatted.trim();
20850
- if (result.cursorNodeStart !== undefined) {
20850
+ if (result.cursorNodeStart !== void 0) {
20851
20851
  result.cursorNodeStart -= result.formatted.indexOf(trimmed);
20852
20852
  }
20853
20853
  result.formatted = trimmed + convertEndOfLineToChars2(opts.endOfLine);
@@ -21046,7 +21046,7 @@ var languages_evaluate_default4 = [{ "linguistLanguageId": 146, "name": "Angular
21046
21046
  var CATEGORY_HTML = "HTML";
21047
21047
  var options3 = { bracketSameLine: common_options_evaluate_default.bracketSameLine, htmlWhitespaceSensitivity: { category: CATEGORY_HTML, type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the default value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "Whitespaces are considered insensitive." }] }, singleAttributePerLine: common_options_evaluate_default.singleAttributePerLine, vueIndentScriptAndStyle: { category: CATEGORY_HTML, type: "boolean", default: false, description: "Indent script and style tags in Vue files." } };
21048
21048
  var options_default3 = options3;
21049
- var languages_evaluate_default5 = [{ "linguistLanguageId": 183, "name": "JavaScript", "type": "programming", "tmScope": "source.js", "aceMode": "javascript", "codemirrorMode": "javascript", "codemirrorMimeType": "text/javascript", "color": "#f1e05a", "aliases": ["js", "node"], "extensions": [".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jslib", ".jsm", ".jspre", ".jss", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib", ".wxs"], "filenames": ["Jakefile"], "interpreters": ["chakra", "d8", "gjs", "js", "node", "nodejs", "qjs", "rhino", "v8", "v8-shell", "zx"], "parsers": ["babel", "acorn", "espree", "meriyah", "babel-flow", "babel-ts", "flow", "typescript"], "vscodeLanguageIds": ["javascript", "mongo"] }, { "linguistLanguageId": 183, "name": "Flow", "type": "programming", "tmScope": "source.js", "aceMode": "javascript", "codemirrorMode": "javascript", "codemirrorMimeType": "text/javascript", "color": "#f1e05a", "aliases": [], "extensions": [".js.flow"], "filenames": [], "interpreters": ["chakra", "d8", "gjs", "js", "node", "nodejs", "qjs", "rhino", "v8", "v8-shell"], "parsers": ["flow", "babel-flow"], "vscodeLanguageIds": ["javascript"] }, { "linguistLanguageId": 183, "name": "JSX", "type": "programming", "tmScope": "source.js.jsx", "aceMode": "javascript", "codemirrorMode": "jsx", "codemirrorMimeType": "text/jsx", "color": undefined, "aliases": undefined, "extensions": [".jsx"], "filenames": undefined, "interpreters": undefined, "parsers": ["babel", "babel-flow", "babel-ts", "flow", "typescript", "espree", "meriyah"], "vscodeLanguageIds": ["javascriptreact"], "group": "JavaScript" }, { "linguistLanguageId": 378, "name": "TypeScript", "type": "programming", "color": "#3178c6", "aliases": ["ts"], "interpreters": ["deno", "ts-node"], "extensions": [".ts", ".cts", ".mts"], "tmScope": "source.ts", "aceMode": "typescript", "codemirrorMode": "javascript", "codemirrorMimeType": "application/typescript", "parsers": ["typescript", "babel-ts"], "vscodeLanguageIds": ["typescript"] }, { "linguistLanguageId": 94901924, "name": "TSX", "type": "programming", "color": "#3178c6", "group": "TypeScript", "extensions": [".tsx"], "tmScope": "source.tsx", "aceMode": "javascript", "codemirrorMode": "jsx", "codemirrorMimeType": "text/jsx", "parsers": ["typescript", "babel-ts"], "vscodeLanguageIds": ["typescriptreact"] }];
21049
+ var languages_evaluate_default5 = [{ "linguistLanguageId": 183, "name": "JavaScript", "type": "programming", "tmScope": "source.js", "aceMode": "javascript", "codemirrorMode": "javascript", "codemirrorMimeType": "text/javascript", "color": "#f1e05a", "aliases": ["js", "node"], "extensions": [".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jslib", ".jsm", ".jspre", ".jss", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib", ".wxs"], "filenames": ["Jakefile"], "interpreters": ["chakra", "d8", "gjs", "js", "node", "nodejs", "qjs", "rhino", "v8", "v8-shell", "zx"], "parsers": ["babel", "acorn", "espree", "meriyah", "babel-flow", "babel-ts", "flow", "typescript"], "vscodeLanguageIds": ["javascript", "mongo"] }, { "linguistLanguageId": 183, "name": "Flow", "type": "programming", "tmScope": "source.js", "aceMode": "javascript", "codemirrorMode": "javascript", "codemirrorMimeType": "text/javascript", "color": "#f1e05a", "aliases": [], "extensions": [".js.flow"], "filenames": [], "interpreters": ["chakra", "d8", "gjs", "js", "node", "nodejs", "qjs", "rhino", "v8", "v8-shell"], "parsers": ["flow", "babel-flow"], "vscodeLanguageIds": ["javascript"] }, { "linguistLanguageId": 183, "name": "JSX", "type": "programming", "tmScope": "source.js.jsx", "aceMode": "javascript", "codemirrorMode": "jsx", "codemirrorMimeType": "text/jsx", "color": void 0, "aliases": void 0, "extensions": [".jsx"], "filenames": void 0, "interpreters": void 0, "parsers": ["babel", "babel-flow", "babel-ts", "flow", "typescript", "espree", "meriyah"], "vscodeLanguageIds": ["javascriptreact"], "group": "JavaScript" }, { "linguistLanguageId": 378, "name": "TypeScript", "type": "programming", "color": "#3178c6", "aliases": ["ts"], "interpreters": ["deno", "ts-node"], "extensions": [".ts", ".cts", ".mts"], "tmScope": "source.ts", "aceMode": "typescript", "codemirrorMode": "javascript", "codemirrorMimeType": "application/typescript", "parsers": ["typescript", "babel-ts"], "vscodeLanguageIds": ["typescript"] }, { "linguistLanguageId": 94901924, "name": "TSX", "type": "programming", "color": "#3178c6", "group": "TypeScript", "extensions": [".tsx"], "tmScope": "source.tsx", "aceMode": "javascript", "codemirrorMode": "jsx", "codemirrorMimeType": "text/jsx", "parsers": ["typescript", "babel-ts"], "vscodeLanguageIds": ["typescriptreact"] }];
21050
21050
  var CATEGORY_JAVASCRIPT = "JavaScript";
21051
21051
  var options4 = { arrowParens: { category: CATEGORY_JAVASCRIPT, type: "choice", default: "always", description: "Include parentheses around a sole arrow function parameter.", choices: [{ value: "always", description: "Always include parens. Example: `(x) => x`" }, { value: "avoid", description: "Omit parens when possible. Example: `x => x`" }] }, bracketSameLine: common_options_evaluate_default.bracketSameLine, bracketSpacing: common_options_evaluate_default.bracketSpacing, jsxBracketSameLine: { category: CATEGORY_JAVASCRIPT, type: "boolean", description: "Put > on the last line instead of at a new line.", deprecated: "2.4.0" }, semi: { category: CATEGORY_JAVASCRIPT, type: "boolean", default: true, description: "Print semicolons.", oppositeDescription: "Do not print semicolons, except at the beginning of lines which may need them." }, experimentalTernaries: { category: CATEGORY_JAVASCRIPT, type: "boolean", default: false, description: "Use curious ternaries, with the question mark after the condition.", oppositeDescription: "Default behavior of ternaries; keep question marks on the same line as the consequent." }, singleQuote: common_options_evaluate_default.singleQuote, jsxSingleQuote: { category: CATEGORY_JAVASCRIPT, type: "boolean", default: false, description: "Use single quotes in JSX." }, quoteProps: { category: CATEGORY_JAVASCRIPT, type: "choice", default: "as-needed", description: "Change when properties in objects are quoted.", choices: [{ value: "as-needed", description: "Only add quotes around object properties where required." }, { value: "consistent", description: "If at least one property in an object requires quotes, quote all properties." }, { value: "preserve", description: "Respect the input use of quotes in object properties." }] }, trailingComma: { category: CATEGORY_JAVASCRIPT, type: "choice", default: "all", description: "Print trailing commas wherever possible when multi-line.", choices: [{ value: "all", description: "Trailing commas wherever possible (including function arguments)." }, { value: "es5", description: "Trailing commas where valid in ES5 (objects, arrays, etc.)" }, { value: "none", description: "No trailing commas." }] }, singleAttributePerLine: common_options_evaluate_default.singleAttributePerLine };
21052
21052
  var options_default4 = options4;
@@ -21430,7 +21430,7 @@ async function generatePerActionDataFiles({
21430
21430
  ${entries.map(([key2, value]) => {
21431
21431
  return `"${key2}": {
21432
21432
  ${stringify(value, {
21433
- description: (value2, d) => value2 ? d(value2) : undefined,
21433
+ description: (value2, d) => value2 ? d(value2) : void 0,
21434
21434
  // trick to remove undefineds
21435
21435
  type: (type2) => {
21436
21436
  if (typeof type2 === "string") {
@@ -21447,7 +21447,7 @@ async function generatePerActionDataFiles({
21447
21447
  } else if (type2.type === "struct") {
21448
21448
  return `ActionMetadata.DataType.Struct<${JSON.stringify(type2.struct)}>`;
21449
21449
  }
21450
- return undefined;
21450
+ return void 0;
21451
21451
  }
21452
21452
  })}
21453
21453
  }`;
@@ -21498,7 +21498,7 @@ async function generatePerActionDataFiles({
21498
21498
  }
21499
21499
  }
21500
21500
  }
21501
- const imports = getObjectImports(referencedObjectDefs, undefined, currentFilePath, true);
21501
+ const imports = getObjectImports(referencedObjectDefs, void 0, currentFilePath, true);
21502
21502
  await fs9.writeFile(path9__default.join(rootOutDir, currentFilePath), await formatTs(`
21503
21503
  import type {
21504
21504
  ActionDefinition,
@@ -21558,12 +21558,12 @@ async function generatePerActionDataFiles({
21558
21558
  signatures: ${action.shortApiName}.Signatures;
21559
21559
  },
21560
21560
  ${stringify(fullActionDef, {
21561
- "description": () => undefined,
21562
- "displayName": () => undefined,
21563
- "modifiedEntities": () => undefined,
21564
- "parameters": () => undefined,
21565
- "rid": () => undefined,
21566
- "status": () => undefined
21561
+ "description": () => void 0,
21562
+ "displayName": () => void 0,
21563
+ "modifiedEntities": () => void 0,
21564
+ "parameters": () => void 0,
21565
+ "rid": () => void 0,
21566
+ "status": () => void 0
21567
21567
  })}
21568
21568
  osdkMetadata: typeof $osdkMetadata;
21569
21569
  }
@@ -21574,12 +21574,12 @@ async function generatePerActionDataFiles({
21574
21574
  return ` export const ${action.shortApiName}: ${action.shortApiName} =
21575
21575
  {
21576
21576
  ${stringify(fullActionDef, {
21577
- "description": () => undefined,
21578
- "displayName": () => undefined,
21579
- "modifiedEntities": () => undefined,
21580
- "parameters": () => undefined,
21581
- "rid": () => undefined,
21582
- "status": () => undefined
21577
+ "description": () => void 0,
21578
+ "displayName": () => void 0,
21579
+ "modifiedEntities": () => void 0,
21580
+ "parameters": () => void 0,
21581
+ "rid": () => void 0,
21582
+ "status": () => void 0
21583
21583
  })},
21584
21584
  osdkMetadata: $osdkMetadata
21585
21585
  }
@@ -21633,7 +21633,7 @@ function extractReferencedObjectsFromActionParameter(actionParameter) {
21633
21633
  case "integer":
21634
21634
  case "long":
21635
21635
  case "timestamp":
21636
- return undefined;
21636
+ return void 0;
21637
21637
  }
21638
21638
  }
21639
21639
 
@@ -21910,9 +21910,9 @@ function __UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst(interfaceDef, ontology,
21910
21910
  }
21911
21911
  for (const apiName of Object.keys(parent.properties)) {
21912
21912
  if (definition.properties[apiName] != null) {
21913
- !(0, import_fast_deep_equal.default)(definition.properties[apiName], parent.properties[apiName]) ? process.env.NODE_ENV !== "production" ? process.env.NODE_ENV !== "production" ? invariant(false, `Interface ${definition.apiName} redefines property '${apiName}' from parent '${parent.apiName}' but the properties do not match`) : invariant() : process.env.NODE_ENV !== "production" ? invariant() : invariant() : undefined;
21913
+ !(0, import_fast_deep_equal.default)(definition.properties[apiName], parent.properties[apiName]) ? process.env.NODE_ENV !== "production" ? process.env.NODE_ENV !== "production" ? invariant(false, `Interface ${definition.apiName} redefines property '${apiName}' from parent '${parent.apiName}' but the properties do not match`) : invariant() : process.env.NODE_ENV !== "production" ? invariant() : invariant() : void 0;
21914
21914
  } else if (mergedProperties[apiName] != null) {
21915
- !(0, import_fast_deep_equal.default)(mergedProperties[apiName], parent.properties[apiName]) ? process.env.NODE_ENV !== "production" ? process.env.NODE_ENV !== "production" ? invariant(false, `Some interface defines a conflicting property '${apiName}' that does not match property from parent '${parent.apiName}'`) : invariant() : process.env.NODE_ENV !== "production" ? invariant() : invariant() : undefined;
21915
+ !(0, import_fast_deep_equal.default)(mergedProperties[apiName], parent.properties[apiName]) ? process.env.NODE_ENV !== "production" ? process.env.NODE_ENV !== "production" ? invariant(false, `Some interface defines a conflicting property '${apiName}' that does not match property from parent '${parent.apiName}'`) : invariant() : process.env.NODE_ENV !== "production" ? invariant() : invariant() : void 0;
21916
21916
  }
21917
21917
  mergedProperties[apiName] = parent.properties[apiName];
21918
21918
  }
@@ -22185,9 +22185,9 @@ async function generateV2QueryFile(fs9, outDir, relOutDir, query, importExt, ont
22185
22185
  signature: ${query.shortApiName}.Signature;
22186
22186
  },
22187
22187
  ${stringify(baseProps, {
22188
- "description": () => undefined,
22189
- "displayName": () => undefined,
22190
- "rid": () => undefined
22188
+ "description": () => void 0,
22189
+ "displayName": () => void 0,
22190
+ "rid": () => void 0
22191
22191
  })},
22192
22192
  osdkMetadata: typeof $osdkMetadata;
22193
22193
  }
@@ -22195,9 +22195,9 @@ async function generateV2QueryFile(fs9, outDir, relOutDir, query, importExt, ont
22195
22195
 
22196
22196
  export const ${query.shortApiName}: ${query.definitionIdentifier} = {
22197
22197
  ${stringify(baseProps, {
22198
- "description": () => undefined,
22199
- "displayName": () => undefined,
22200
- "rid": () => undefined
22198
+ "description": () => void 0,
22199
+ "displayName": () => void 0,
22200
+ "rid": () => void 0
22201
22201
  })},
22202
22202
  osdkMetadata: $osdkMetadata
22203
22203
  };
@@ -22450,7 +22450,7 @@ function getPackageJsonContents(name, version, dependencyVersions) {
22450
22450
  };
22451
22451
  }
22452
22452
  async function writeJson(minimalFs, filePath, body) {
22453
- return void await minimalFs.writeFile(filePath, JSON.stringify(body, undefined, 2) + "\n");
22453
+ return void await minimalFs.writeFile(filePath, JSON.stringify(body, void 0, 2) + "\n");
22454
22454
  }
22455
22455
 
22456
22456
  // ../shared.client.impl/build/esm/index.js
@@ -22485,7 +22485,7 @@ function createSharedClientContext(baseUrl, tokenProvider, userAgent, fetchFn =
22485
22485
 
22486
22486
  // ../cli.cmd.typescript/build/esm/generate/handleGenerate.mjs
22487
22487
  var import_fast_deep_equal2 = __toESM(require_fast_deep_equal(), 1);
22488
- var USER_AGENT = `osdk-cli.cmd.typescript/${"0.26.0-beta.5"}`;
22488
+ var USER_AGENT = `osdk-cli.cmd.typescript/${"0.26.0-beta.6"}`;
22489
22489
  async function handleGenerate(args) {
22490
22490
  let success = false;
22491
22491
  if (args.ontologyPath) {
@@ -22559,7 +22559,7 @@ async function generateFromStack(args) {
22559
22559
  return {
22560
22560
  ...x,
22561
22561
  extendsInterfaces: [...x.extendsInterfaces].sort(),
22562
- properties: sortKeys2(x.properties)
22562
+ properties: sortKeys2(x.allProperties ?? x.properties)
22563
22563
  };
22564
22564
  });
22565
22565
  ontology.queryTypes = sortKeys2(ontology.queryTypes, (x) => {
@@ -22621,7 +22621,7 @@ async function generateClientSdk(ontology, args) {
22621
22621
  }
22622
22622
  return true;
22623
22623
  }
22624
- await generateClientSdkPackage(args.packageName, args.version, args.beta ? "2.0" : "1.1", args.outDir, ontology, minimalFs, await getDependencyVersions(), "0.26.0-beta.5", args.externalObjects, args.externalInterfaces);
22624
+ await generateClientSdkPackage(args.packageName, args.version, args.beta ? "2.0" : "1.1", args.outDir, ontology, minimalFs, await getDependencyVersions(), "0.26.0-beta.6", args.externalObjects, args.externalInterfaces);
22625
22625
  return true;
22626
22626
  } catch (e) {
22627
22627
  consola.error("OSDK generation failed", e.message, e.stack);
@@ -22648,8 +22648,8 @@ async function getDependencyVersions() {
22648
22648
  typescriptVersion,
22649
22649
  tslibVersion,
22650
22650
  areTheTypesWrongVersion,
22651
- osdkApiVersion: `^${"2.2.0-beta.5"}`,
22652
- osdkClientVersion: `^${"2.2.0-beta.5"}`,
22651
+ osdkApiVersion: `^${"2.2.0-beta.6"}`,
22652
+ osdkClientVersion: `^${"2.2.0-beta.6"}`,
22653
22653
  osdkLegacyClientVersion
22654
22654
  };
22655
22655
  }
@@ -22688,5 +22688,5 @@ function createNormalFs() {
22688
22688
  }
22689
22689
 
22690
22690
  export { getDependencyVersions, handleGenerate, updateVersionsIfTheyExist };
22691
- //# sourceMappingURL=handleGenerate-XE3AXVFJ.js.map
22692
- //# sourceMappingURL=handleGenerate-XE3AXVFJ.js.map
22691
+ //# sourceMappingURL=handleGenerate-KB4B5KME.js.map
22692
+ //# sourceMappingURL=handleGenerate-KB4B5KME.js.map