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

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 (110) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/esm/{acorn-LQZJTRX7.js → acorn-RXMSUCXL.js} +33 -33
  3. package/build/esm/acorn-RXMSUCXL.js.map +1 -0
  4. package/build/esm/{angular-VWUX447C.js → angular-ZXAN5BMN.js} +11 -11
  5. package/build/esm/angular-ZXAN5BMN.js.map +1 -0
  6. package/build/esm/{babel-7BWEVLBS.js → babel-TI7T67T2.js} +67 -67
  7. package/build/esm/babel-TI7T67T2.js.map +1 -0
  8. package/build/esm/{chunk-SAOPV5FF.js → chunk-2U36M44D.js} +3 -3
  9. package/build/esm/chunk-2U36M44D.js.map +1 -0
  10. package/build/esm/{chunk-LR3YBME3.js → chunk-KJFA7LBI.js} +10 -10
  11. package/build/esm/chunk-KJFA7LBI.js.map +1 -0
  12. package/build/esm/{chunk-KHVWTBWA.js → chunk-M2BWWO6L.js} +8 -8
  13. package/build/esm/chunk-M2BWWO6L.js.map +1 -0
  14. package/build/esm/{chunk-GVZBRYRL.js → chunk-ML7ZMS6G.js} +3 -3
  15. package/build/esm/chunk-ML7ZMS6G.js.map +1 -0
  16. package/build/esm/{chunk-KXNCVDQG.js → chunk-MU54JM45.js} +11 -11
  17. package/build/esm/chunk-MU54JM45.js.map +1 -0
  18. package/build/esm/{chunk-HCWMXOMI.js → chunk-N3LXG6II.js} +5 -4
  19. package/build/esm/chunk-N3LXG6II.js.map +1 -0
  20. package/build/esm/{chunk-DMUWBIYY.js → chunk-VHOQB2JW.js} +4 -4
  21. package/build/esm/chunk-VHOQB2JW.js.map +1 -0
  22. package/build/esm/{chunk-PXU2ECCD.js → chunk-Y3AS6B5K.js} +9 -9
  23. package/build/esm/chunk-Y3AS6B5K.js.map +1 -0
  24. package/build/esm/{chunk-TYCMYZ74.js → chunk-ZI5AB4DP.js} +9 -9
  25. package/build/esm/chunk-ZI5AB4DP.js.map +1 -0
  26. package/build/esm/{estree-PI6JMQNR.js → estree-CSIG7D6Y.js} +102 -102
  27. package/build/esm/estree-CSIG7D6Y.js.map +1 -0
  28. package/build/esm/find-up-EKHQCTZM.js +4 -0
  29. package/build/esm/{find-up-QYNPYSRQ.js.map → find-up-EKHQCTZM.js.map} +1 -1
  30. package/build/esm/{flow-AP4DEOL5.js → flow-NUNWZLRW.js} +17 -17
  31. package/build/esm/flow-NUNWZLRW.js.map +1 -0
  32. package/build/esm/{glimmer-LM2ZFC5U.js → glimmer-GYUSOBQY.js} +53 -53
  33. package/build/esm/glimmer-GYUSOBQY.js.map +1 -0
  34. package/build/esm/{graphql-U5CPDQKQ.js → graphql-OALHBC5M.js} +21 -21
  35. package/build/esm/graphql-OALHBC5M.js.map +1 -0
  36. package/build/esm/{handleGenerate-KB4B5KME.js → handleGenerate-YLHDBKBX.js} +319 -314
  37. package/build/esm/handleGenerate-YLHDBKBX.js.map +1 -0
  38. package/build/esm/{html-FNGHE355.js → html-4RLNYFM4.js} +37 -37
  39. package/build/esm/html-4RLNYFM4.js.map +1 -0
  40. package/build/esm/index.js +23 -23
  41. package/build/esm/index.js.map +1 -1
  42. package/build/esm/loginFlow-ETZCNKG3.js +4 -0
  43. package/build/esm/{loginFlow-ESPJDVBX.js.map → loginFlow-ETZCNKG3.js.map} +1 -1
  44. package/build/esm/{markdown-HUHOYR5Q.js → markdown-MRACSGE5.js} +48 -48
  45. package/build/esm/markdown-MRACSGE5.js.map +1 -0
  46. package/build/esm/{meriyah-WP7UQXC7.js → meriyah-LVMHXIGF.js} +37 -37
  47. package/build/esm/meriyah-LVMHXIGF.js.map +1 -0
  48. package/build/esm/{postcss-JMNG34CL.js → postcss-A2ITI5N4.js} +78 -78
  49. package/build/esm/postcss-A2ITI5N4.js.map +1 -0
  50. package/build/esm/{siteDeployCommand-FKDPDR4P.js → siteDeployCommand-FW3TPYIM.js} +12 -12
  51. package/build/esm/siteDeployCommand-FW3TPYIM.js.map +1 -0
  52. package/build/esm/{typescript-A4QI3FB6.js → typescript-BMNHHGAA.js} +667 -667
  53. package/build/esm/typescript-BMNHHGAA.js.map +1 -0
  54. package/build/esm/{versionDeleteCommand-3WAXOD3K.js → versionDeleteCommand-6N7ILT5Q.js} +9 -8
  55. package/build/esm/versionDeleteCommand-6N7ILT5Q.js.map +1 -0
  56. package/build/esm/{versionDeleteCommand-YDDZMNZR.js → versionDeleteCommand-ZJNBSPUN.js} +9 -8
  57. package/build/esm/versionDeleteCommand-ZJNBSPUN.js.map +1 -0
  58. package/build/esm/{versionGetCommand-D5UKJRW7.js → versionGetCommand-C7BL25D4.js} +6 -6
  59. package/build/esm/versionGetCommand-C7BL25D4.js.map +1 -0
  60. package/build/esm/{versionInfoCommand-KAW7DOIN.js → versionInfoCommand-EDWVUCEP.js} +6 -6
  61. package/build/esm/versionInfoCommand-EDWVUCEP.js.map +1 -0
  62. package/build/esm/{versionListCommand-LI6TPANH.js → versionListCommand-IVUMHTEV.js} +6 -6
  63. package/build/esm/versionListCommand-IVUMHTEV.js.map +1 -0
  64. package/build/esm/{versionListCommand-VYQCZPIZ.js → versionListCommand-OXSBNCUO.js} +6 -6
  65. package/build/esm/versionListCommand-OXSBNCUO.js.map +1 -0
  66. package/build/esm/{versionSetCommand-MR343G7W.js → versionSetCommand-FWL456LO.js} +6 -6
  67. package/build/esm/versionSetCommand-FWL456LO.js.map +1 -0
  68. package/build/esm/{versionUnsetCommand-HDH44EUP.js → versionUnsetCommand-4VLL3XWY.js} +9 -8
  69. package/build/esm/versionUnsetCommand-4VLL3XWY.js.map +1 -0
  70. package/build/esm/{widgetSetDeployCommand-YVAIPCBY.js → widgetSetDeployCommand-2ADVNOMA.js} +10 -10
  71. package/build/esm/widgetSetDeployCommand-2ADVNOMA.js.map +1 -0
  72. package/build/esm/{yaml-IT3UOTAK.js → yaml-XQ236J4T.js} +49 -49
  73. package/build/esm/yaml-XQ236J4T.js.map +1 -0
  74. package/build/types/consola/handlePromptCancel.d.ts.map +1 -1
  75. package/package.json +6 -6
  76. package/build/esm/acorn-LQZJTRX7.js.map +0 -1
  77. package/build/esm/angular-VWUX447C.js.map +0 -1
  78. package/build/esm/babel-7BWEVLBS.js.map +0 -1
  79. package/build/esm/chunk-DMUWBIYY.js.map +0 -1
  80. package/build/esm/chunk-GVZBRYRL.js.map +0 -1
  81. package/build/esm/chunk-HCWMXOMI.js.map +0 -1
  82. package/build/esm/chunk-KHVWTBWA.js.map +0 -1
  83. package/build/esm/chunk-KXNCVDQG.js.map +0 -1
  84. package/build/esm/chunk-LR3YBME3.js.map +0 -1
  85. package/build/esm/chunk-PXU2ECCD.js.map +0 -1
  86. package/build/esm/chunk-SAOPV5FF.js.map +0 -1
  87. package/build/esm/chunk-TYCMYZ74.js.map +0 -1
  88. package/build/esm/estree-PI6JMQNR.js.map +0 -1
  89. package/build/esm/find-up-QYNPYSRQ.js +0 -4
  90. package/build/esm/flow-AP4DEOL5.js.map +0 -1
  91. package/build/esm/glimmer-LM2ZFC5U.js.map +0 -1
  92. package/build/esm/graphql-U5CPDQKQ.js.map +0 -1
  93. package/build/esm/handleGenerate-KB4B5KME.js.map +0 -1
  94. package/build/esm/html-FNGHE355.js.map +0 -1
  95. package/build/esm/loginFlow-ESPJDVBX.js +0 -4
  96. package/build/esm/markdown-HUHOYR5Q.js.map +0 -1
  97. package/build/esm/meriyah-WP7UQXC7.js.map +0 -1
  98. package/build/esm/postcss-JMNG34CL.js.map +0 -1
  99. package/build/esm/siteDeployCommand-FKDPDR4P.js.map +0 -1
  100. package/build/esm/typescript-A4QI3FB6.js.map +0 -1
  101. package/build/esm/versionDeleteCommand-3WAXOD3K.js.map +0 -1
  102. package/build/esm/versionDeleteCommand-YDDZMNZR.js.map +0 -1
  103. package/build/esm/versionGetCommand-D5UKJRW7.js.map +0 -1
  104. package/build/esm/versionInfoCommand-KAW7DOIN.js.map +0 -1
  105. package/build/esm/versionListCommand-LI6TPANH.js.map +0 -1
  106. package/build/esm/versionListCommand-VYQCZPIZ.js.map +0 -1
  107. package/build/esm/versionSetCommand-MR343G7W.js.map +0 -1
  108. package/build/esm/versionUnsetCommand-HDH44EUP.js.map +0 -1
  109. package/build/esm/widgetSetDeployCommand-YVAIPCBY.js.map +0 -1
  110. package/build/esm/yaml-IT3UOTAK.js.map +0 -1
@@ -1,10 +1,11 @@
1
- import { createFetchHeaderMutator, createRetryingFetch, createFetchOrThrow, PalantirApiError } from './chunk-PXU2ECCD.js';
2
- import { YargsCheckError, ExitProcessError } from './chunk-SAOPV5FF.js';
3
- import { findUp } from './chunk-LR3YBME3.js';
4
- import { invokeLoginFlow } from './chunk-KHVWTBWA.js';
5
- import { __commonJS, init_esm_shims, __export, __toESM } from './chunk-DMUWBIYY.js';
6
- import * as fs8 from 'fs';
7
- import fs8__default, { realpathSync, statSync, Stats } from 'fs';
1
+ import { createFetchHeaderMutator, createRetryingFetch, createFetchOrThrow, PalantirApiError } from './chunk-Y3AS6B5K.js';
2
+ import { YargsCheckError, ExitProcessError } from './chunk-2U36M44D.js';
3
+ import { findUp } from './chunk-KJFA7LBI.js';
4
+ import { invokeLoginFlow } from './chunk-M2BWWO6L.js';
5
+ import { __commonJS, init_esm_shims, __export, __toESM } from './chunk-VHOQB2JW.js';
6
+ import * as fs8 from 'node:fs';
7
+ import * as path19 from 'node:path';
8
+ import path19__default from 'node:path';
8
9
  import * as path9 from 'path';
9
10
  import path9__default, { dirname } from 'path';
10
11
  import { createRequire, builtinModules } from 'module';
@@ -14,9 +15,11 @@ import os from 'os';
14
15
  import tty from 'tty';
15
16
  import fs from 'fs/promises';
16
17
  import assert2 from 'assert';
18
+ import fs6, { realpathSync, statSync, Stats } from 'fs';
17
19
  import v8 from 'v8';
18
20
  import { format, inspect } from 'util';
19
21
  import consola$1, { consola } from 'consola';
22
+ import { fileURLToPath as fileURLToPath$1 } from 'node:url';
20
23
 
21
24
  // ../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
22
25
  var require_fast_deep_equal = __commonJS({
@@ -54,10 +57,10 @@ var require_fast_deep_equal = __commonJS({
54
57
  // ../cli.cmd.typescript/build/esm/generate/handleGenerate.mjs
55
58
  init_esm_shims();
56
59
 
57
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
60
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/index.js
58
61
  init_esm_shims();
59
62
 
60
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
63
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Action.js
61
64
  init_esm_shims();
62
65
 
63
66
  // ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.3.0/node_modules/@osdk/shared.net.platformapi/build/esm/index.js
@@ -110,9 +113,9 @@ var UnknownError = class extends PalantirApiError2 {
110
113
  // ../../node_modules/.pnpm/@osdk+shared.net.platformapi@1.3.0/node_modules/@osdk/shared.net.platformapi/build/esm/foundryPlatformFetch.js
111
114
  async function foundryPlatformFetch(client, [httpMethodNum, origPath, flags, contentType, responseContentType], ...args) {
112
115
  const path21 = origPath.replace(/\{([^}]+)\}/g, () => encodeURIComponent(args.shift()));
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
+ const body = flags & 1 ? args.shift() : undefined;
117
+ const queryArgs = flags & 2 ? args.shift() : undefined;
118
+ const headerArgs = flags & 4 ? args.shift() : undefined;
116
119
  const method = ["GET", "POST", "PUT", "DELETE", "PATCH"][httpMethodNum];
117
120
  return await apiFetch(client[symbolClientContext2] ?? client[symbolClientContext] ?? client, method, path21, body, queryArgs, headerArgs, contentType, responseContentType);
118
121
  }
@@ -168,34 +171,34 @@ function parseUrl(baseUrl, endpointPath) {
168
171
  return new URL(`api${endpointPath}`, baseUrl);
169
172
  }
170
173
 
171
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
174
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ActionTypeV2.js
172
175
  init_esm_shims();
173
176
 
174
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
177
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Attachment.js
175
178
  init_esm_shims();
176
179
 
177
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
180
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/AttachmentPropertyV2.js
178
181
  init_esm_shims();
179
182
 
180
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
183
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/LinkedObjectV2.js
181
184
  init_esm_shims();
182
185
 
183
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
186
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/MediaReferenceProperty.js
184
187
  init_esm_shims();
185
188
 
186
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
189
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/ObjectTypeV2.js
187
190
  init_esm_shims();
188
191
 
189
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
192
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyInterface.js
190
193
  init_esm_shims();
191
194
 
192
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
195
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectSet.js
193
196
  init_esm_shims();
194
197
 
195
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
198
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyObjectV2.js
196
199
  init_esm_shims();
197
200
 
198
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
201
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/OntologyV2.js
199
202
  var OntologyV2_exports = {};
200
203
  __export(OntologyV2_exports, {
201
204
  get: () => get,
@@ -216,16 +219,16 @@ function getFullMetadata($ctx, ...args) {
216
219
  return foundryPlatformFetch($ctx, _getFullMetadata, ...args);
217
220
  }
218
221
 
219
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
222
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/Query.js
220
223
  init_esm_shims();
221
224
 
222
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
225
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/QueryType.js
223
226
  init_esm_shims();
224
227
 
225
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
228
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesPropertyV2.js
226
229
  init_esm_shims();
227
230
 
228
- // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.13.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
231
+ // ../../node_modules/.pnpm/@osdk+foundry.ontologies@2.15.0/node_modules/@osdk/foundry.ontologies/build/esm/public/TimeSeriesValueBankProperty.js
229
232
  init_esm_shims();
230
233
 
231
234
  // ../generator/build/esm/index.js
@@ -265,7 +268,7 @@ var AbstractImportable = class {
265
268
  }
266
269
  getImportPathRelTo = (filePath) => {
267
270
  if (this.importPath.startsWith(".")) {
268
- const result = path9.relative(path9.dirname(filePath), this.importPath).split(path9.sep).join("/");
271
+ const result = path19.relative(path19.dirname(filePath), this.importPath).split(path19.sep).join("/");
269
272
  if (result.startsWith(".")) {
270
273
  return result;
271
274
  } else {
@@ -284,7 +287,7 @@ var EnhancedBase = class extends AbstractImportable {
284
287
  };
285
288
  function extractNamespace(fqApiName) {
286
289
  const last = fqApiName.lastIndexOf(".");
287
- if (last === -1) return [void 0, fqApiName];
290
+ if (last === -1) return [undefined, fqApiName];
288
291
  return [fqApiName.slice(0, last), fqApiName.slice(last + 1)];
289
292
  }
290
293
 
@@ -328,7 +331,7 @@ init_esm_shims();
328
331
  function wirePropertyV2ToSdkPropertyDefinition(input, isNullable = true, log) {
329
332
  const sdkPropDefinition = objectPropertyTypeToSdkPropertyDefinition(input.dataType, log);
330
333
  if (sdkPropDefinition == null) {
331
- return void 0;
334
+ return undefined;
332
335
  }
333
336
  switch (input.dataType.type) {
334
337
  case "integer":
@@ -369,12 +372,12 @@ function wirePropertyV2ToSdkPropertyDefinition(input, isNullable = true, log) {
369
372
  case "cipherText":
370
373
  case "vector": {
371
374
  log?.info(`${JSON.stringify(input.dataType.type)} is not a supported dataType`);
372
- return void 0;
375
+ return undefined;
373
376
  }
374
377
  default:
375
378
  input.dataType;
376
379
  log?.info(`${JSON.stringify(input.dataType)} is not a supported dataType`);
377
- return void 0;
380
+ return undefined;
378
381
  }
379
382
  }
380
383
  function objectPropertyTypeToSdkPropertyDefinition(propertyType, log) {
@@ -415,11 +418,11 @@ function objectPropertyTypeToSdkPropertyDefinition(propertyType, log) {
415
418
  case "cipherText":
416
419
  case "vector": {
417
420
  log?.info(`${JSON.stringify(propertyType.type)} is not a supported propertyType`);
418
- return void 0;
421
+ return undefined;
419
422
  }
420
423
  default: {
421
424
  log?.info(`${JSON.stringify(propertyType)} is not a supported propertyType`);
422
- return void 0;
425
+ return undefined;
423
426
  }
424
427
  }
425
428
  }
@@ -596,7 +599,7 @@ function wirePropertyV2ToSdkPrimaryKeyTypeDefinition(input) {
596
599
 
597
600
  // ../generator-converters/build/esm/wireObjectTypeFullMetadataToSdkObjectMetadata.js
598
601
  function wireObjectTypeFullMetadataToSdkObjectMetadata(objectTypeWithLink, v2, log) {
599
- if (objectTypeWithLink.objectType.properties[objectTypeWithLink.objectType.primaryKey] === void 0) {
602
+ if (objectTypeWithLink.objectType.properties[objectTypeWithLink.objectType.primaryKey] === undefined) {
600
603
  throw new Error(`Primary key ${objectTypeWithLink.objectType.primaryKey} not found in ${objectTypeWithLink.objectType.apiName}`);
601
604
  }
602
605
  if (objectTypeWithLink.implementsInterfaces2 == null && objectTypeWithLink.implementsInterfaces != null) {
@@ -619,7 +622,7 @@ function wireObjectTypeFullMetadataToSdkObjectMetadata(objectTypeWithLink, v2, l
619
622
  implements: objectTypeWithLink.implementsInterfaces,
620
623
  interfaceMap,
621
624
  inverseInterfaceMap: Object.fromEntries(Object.entries(interfaceMap).map(([interfaceApiName, props]) => [interfaceApiName, invertProps(props)])),
622
- icon: supportedIconTypes.includes(objectTypeWithLink.objectType.icon.type) ? objectTypeWithLink.objectType.icon : void 0,
625
+ icon: supportedIconTypes.includes(objectTypeWithLink.objectType.icon.type) ? objectTypeWithLink.objectType.icon : undefined,
623
626
  titleProperty: objectTypeWithLink.objectType.titleProperty,
624
627
  displayName: objectTypeWithLink.objectType.displayName,
625
628
  pluralDisplayName: objectTypeWithLink.objectType.pluralDisplayName,
@@ -629,7 +632,7 @@ function wireObjectTypeFullMetadataToSdkObjectMetadata(objectTypeWithLink, v2, l
629
632
  };
630
633
  }
631
634
  function invertProps(a) {
632
- return a ? Object.fromEntries(Object.entries(a).map(([k, v]) => [v, k])) : void 0;
635
+ return a ? Object.fromEntries(Object.entries(a).map(([k, v]) => [v, k])) : undefined;
633
636
  }
634
637
  var supportedIconTypes = ["blueprint"];
635
638
 
@@ -727,6 +730,7 @@ function wireQueryDataTypeToQueryDataTypeDefinition(input) {
727
730
  threeDimensionalAggregation: get3DQueryAggregationProps(input),
728
731
  nullable: false
729
732
  };
733
+ case "entrySet":
730
734
  case "null":
731
735
  case "unsupported":
732
736
  throw new Error(`Unable to process query because the server indicated an unsupported QueryDataType.type: ${input.type}. Please check that your query is using supported types.`);
@@ -794,7 +798,7 @@ function wireQueryParameterV2ToQueryParameterDefinition(parameter) {
794
798
  // ../generator/build/esm/util/deleteUndefineds.js
795
799
  init_esm_shims();
796
800
  function deleteUndefineds(obj) {
797
- return Object.fromEntries(Object.entries(obj).filter(([, value]) => value !== void 0));
801
+ return Object.fromEntries(Object.entries(obj).filter(([, value]) => value !== undefined));
798
802
  }
799
803
 
800
804
  // ../generator/build/esm/GenerateContext/EnhancedInterfaceType.js
@@ -1086,7 +1090,7 @@ function traverseDoc(doc, onEnter, onExit, shouldTraverseConditionalGroups) {
1086
1090
  if (!docType) {
1087
1091
  throw new invalid_doc_error_default(doc2);
1088
1092
  }
1089
- if ((onEnter == null ? void 0 : onEnter(doc2)) === false) {
1093
+ if ((onEnter == null ? undefined : onEnter(doc2)) === false) {
1090
1094
  continue;
1091
1095
  }
1092
1096
  switch (docType) {
@@ -1261,7 +1265,7 @@ function label(label2, contents) {
1261
1265
  } : contents;
1262
1266
  }
1263
1267
  var at = (isOptionalObject, object, index) => {
1264
- if (isOptionalObject && (object === void 0 || object === null)) {
1268
+ if (isOptionalObject && (object === undefined || object === null)) {
1265
1269
  return;
1266
1270
  }
1267
1271
  if (Array.isArray(object) || typeof object === "string") {
@@ -1271,7 +1275,7 @@ var at = (isOptionalObject, object, index) => {
1271
1275
  };
1272
1276
  var at_default = at;
1273
1277
  var stringReplaceAll = (isOptionalObject, original, pattern, replacement) => {
1274
- if (isOptionalObject && (original === void 0 || original === null)) {
1278
+ if (isOptionalObject && (original === undefined || original === null)) {
1275
1279
  return;
1276
1280
  }
1277
1281
  if (original.replaceAll) {
@@ -1410,7 +1414,7 @@ function findInDoc(doc, fn, defaultValue) {
1410
1414
  return false;
1411
1415
  }
1412
1416
  const maybeResult = fn(doc2);
1413
- if (maybeResult !== void 0) {
1417
+ if (maybeResult !== undefined) {
1414
1418
  shouldSkipFurtherProcessing = true;
1415
1419
  result = maybeResult;
1416
1420
  }
@@ -2304,7 +2308,7 @@ var __privateMethod = (obj, member, method) => {
2304
2308
  };
2305
2309
  var require_array = __commonJS2({ "node_modules/fast-glob/out/utils/array.js"(exports) {
2306
2310
  Object.defineProperty(exports, "__esModule", { value: true });
2307
- exports.splitWhen = exports.flatten = void 0;
2311
+ exports.splitWhen = exports.flatten = undefined;
2308
2312
  function flatten(items) {
2309
2313
  return items.reduce((collection, item) => [].concat(collection, item), []);
2310
2314
  }
@@ -2326,7 +2330,7 @@ var require_array = __commonJS2({ "node_modules/fast-glob/out/utils/array.js"(ex
2326
2330
  } });
2327
2331
  var require_errno = __commonJS2({ "node_modules/fast-glob/out/utils/errno.js"(exports) {
2328
2332
  Object.defineProperty(exports, "__esModule", { value: true });
2329
- exports.isEnoentCodeError = void 0;
2333
+ exports.isEnoentCodeError = undefined;
2330
2334
  function isEnoentCodeError(error) {
2331
2335
  return error.code === "ENOENT";
2332
2336
  }
@@ -2334,7 +2338,7 @@ var require_errno = __commonJS2({ "node_modules/fast-glob/out/utils/errno.js"(ex
2334
2338
  } });
2335
2339
  var require_fs = __commonJS2({ "node_modules/fast-glob/out/utils/fs.js"(exports) {
2336
2340
  Object.defineProperty(exports, "__esModule", { value: true });
2337
- exports.createDirentFromStats = void 0;
2341
+ exports.createDirentFromStats = undefined;
2338
2342
  var DirentFromStats = class {
2339
2343
  constructor(name, stats) {
2340
2344
  this.name = name;
@@ -2354,7 +2358,7 @@ var require_fs = __commonJS2({ "node_modules/fast-glob/out/utils/fs.js"(exports)
2354
2358
  } });
2355
2359
  var require_path = __commonJS2({ "node_modules/fast-glob/out/utils/path.js"(exports) {
2356
2360
  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 = void 0;
2361
+ exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = undefined;
2358
2362
  var os2 = __require("os");
2359
2363
  var path132 = __require("path");
2360
2364
  var IS_WINDOWS_PLATFORM = os2.platform() === "win32";
@@ -2627,7 +2631,7 @@ var require_utils = __commonJS2({ "node_modules/braces/lib/utils.js"(exports) {
2627
2631
  const flat = (arr) => {
2628
2632
  for (let i2 = 0; i2 < arr.length; i2++) {
2629
2633
  let ele = arr[i2];
2630
- Array.isArray(ele) ? flat(ele) : ele !== void 0 && result.push(ele);
2634
+ Array.isArray(ele) ? flat(ele) : ele !== undefined && result.push(ele);
2631
2635
  }
2632
2636
  return result;
2633
2637
  };
@@ -2678,7 +2682,7 @@ var require_to_regex_range = __commonJS2({ "node_modules/to-regex-range/index.js
2678
2682
  if (isNumber(min) === false) {
2679
2683
  throw new TypeError("toRegexRange: expected the first argument to be a number");
2680
2684
  }
2681
- if (max === void 0 || min === max) {
2685
+ if (max === undefined || min === max) {
2682
2686
  return String(min);
2683
2687
  }
2684
2688
  if (isNumber(max) === false) {
@@ -2736,9 +2740,9 @@ var require_to_regex_range = __commonJS2({ "node_modules/to-regex-range/index.js
2736
2740
  return state.result;
2737
2741
  };
2738
2742
  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) || [];
2743
+ let onlyNegative = filterPatterns(neg, pos2, "-", false);
2744
+ let onlyPositive = filterPatterns(pos2, neg, "", false);
2745
+ let intersected = filterPatterns(neg, pos2, "-?", true);
2742
2746
  let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive);
2743
2747
  return subpatterns.join("|");
2744
2748
  }
@@ -3140,7 +3144,7 @@ var require_expand = __commonJS2({ "node_modules/braces/lib/expand.js"(exports,
3140
3144
  return utils2.flatten(result);
3141
3145
  };
3142
3146
  var expand = (ast, options8 = {}) => {
3143
- let rangeLimit = options8.rangeLimit === void 0 ? 1e3 : options8.rangeLimit;
3147
+ let rangeLimit = options8.rangeLimit === undefined ? 1e3 : options8.rangeLimit;
3144
3148
  let walk = (node, parent = {}) => {
3145
3149
  node.queue = [];
3146
3150
  let p = parent;
@@ -4648,7 +4652,7 @@ var require_parse2 = __commonJS2({ "node_modules/picomatch/lib/parse.js"(exports
4648
4652
  continue;
4649
4653
  }
4650
4654
  if (prior.type === "slash" && prior.prev.type !== "bos" && rest[0] === "/") {
4651
- const end = rest[1] !== void 0 ? "|$" : "";
4655
+ const end = rest[1] !== undefined ? "|$" : "";
4652
4656
  state.output = state.output.slice(0, -(prior.output + prev.output).length);
4653
4657
  prior.output = `(?:${prior.output}`;
4654
4658
  prev.type = "globstar";
@@ -5061,7 +5065,7 @@ var require_micromatch = __commonJS2({ "node_modules/micromatch/index.js"(export
5061
5065
  let regex = picomatch.makeRe(String(glob), { ...options8, capture: true });
5062
5066
  let match = regex.exec(posix ? utils2.toPosixSlashes(input) : input);
5063
5067
  if (match) {
5064
- return match.slice(1).map((v) => v === void 0 ? "" : v);
5068
+ return match.slice(1).map((v) => v === undefined ? "" : v);
5065
5069
  }
5066
5070
  };
5067
5071
  micromatch2.makeRe = (...args) => picomatch.makeRe(...args);
@@ -5090,7 +5094,7 @@ var require_micromatch = __commonJS2({ "node_modules/micromatch/index.js"(export
5090
5094
  } });
5091
5095
  var require_pattern = __commonJS2({ "node_modules/fast-glob/out/utils/pattern.js"(exports) {
5092
5096
  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 = void 0;
5097
+ 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;
5094
5098
  var path132 = __require("path");
5095
5099
  var globParent = require_glob_parent();
5096
5100
  var micromatch2 = require_micromatch();
@@ -5347,7 +5351,7 @@ var require_merge2 = __commonJS2({ "node_modules/merge2/index.js"(exports, modul
5347
5351
  } });
5348
5352
  var require_stream = __commonJS2({ "node_modules/fast-glob/out/utils/stream.js"(exports) {
5349
5353
  Object.defineProperty(exports, "__esModule", { value: true });
5350
- exports.merge = void 0;
5354
+ exports.merge = undefined;
5351
5355
  var merge2 = require_merge2();
5352
5356
  function merge3(streams) {
5353
5357
  const mergedStream = merge2(streams);
@@ -5365,7 +5369,7 @@ var require_stream = __commonJS2({ "node_modules/fast-glob/out/utils/stream.js"(
5365
5369
  } });
5366
5370
  var require_string = __commonJS2({ "node_modules/fast-glob/out/utils/string.js"(exports) {
5367
5371
  Object.defineProperty(exports, "__esModule", { value: true });
5368
- exports.isEmpty = exports.isString = void 0;
5372
+ exports.isEmpty = exports.isString = undefined;
5369
5373
  function isString(input) {
5370
5374
  return typeof input === "string";
5371
5375
  }
@@ -5377,7 +5381,7 @@ var require_string = __commonJS2({ "node_modules/fast-glob/out/utils/string.js"(
5377
5381
  } });
5378
5382
  var require_utils3 = __commonJS2({ "node_modules/fast-glob/out/utils/index.js"(exports) {
5379
5383
  Object.defineProperty(exports, "__esModule", { value: true });
5380
- exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
5384
+ exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = undefined;
5381
5385
  var array2 = require_array();
5382
5386
  exports.array = array2;
5383
5387
  var errno = require_errno();
@@ -5395,7 +5399,7 @@ var require_utils3 = __commonJS2({ "node_modules/fast-glob/out/utils/index.js"(e
5395
5399
  } });
5396
5400
  var require_tasks = __commonJS2({ "node_modules/fast-glob/out/managers/tasks.js"(exports) {
5397
5401
  Object.defineProperty(exports, "__esModule", { value: true });
5398
- exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
5402
+ exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = undefined;
5399
5403
  var utils2 = require_utils3();
5400
5404
  function generate(input, settings) {
5401
5405
  const patterns = processPatterns(input, settings);
@@ -5480,7 +5484,7 @@ var require_tasks = __commonJS2({ "node_modules/fast-glob/out/managers/tasks.js"
5480
5484
  } });
5481
5485
  var require_async = __commonJS2({ "node_modules/@nodelib/fs.stat/out/providers/async.js"(exports) {
5482
5486
  Object.defineProperty(exports, "__esModule", { value: true });
5483
- exports.read = void 0;
5487
+ exports.read = undefined;
5484
5488
  function read3(path132, settings, callback) {
5485
5489
  settings.fs.lstat(path132, (lstatError, lstat) => {
5486
5490
  if (lstatError !== null) {
@@ -5517,7 +5521,7 @@ var require_async = __commonJS2({ "node_modules/@nodelib/fs.stat/out/providers/a
5517
5521
  } });
5518
5522
  var require_sync = __commonJS2({ "node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports) {
5519
5523
  Object.defineProperty(exports, "__esModule", { value: true });
5520
- exports.read = void 0;
5524
+ exports.read = undefined;
5521
5525
  function read3(path132, settings) {
5522
5526
  const lstat = settings.fs.lstatSync(path132);
5523
5527
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
@@ -5540,11 +5544,11 @@ var require_sync = __commonJS2({ "node_modules/@nodelib/fs.stat/out/providers/sy
5540
5544
  } });
5541
5545
  var require_fs2 = __commonJS2({ "node_modules/@nodelib/fs.stat/out/adapters/fs.js"(exports) {
5542
5546
  Object.defineProperty(exports, "__esModule", { value: true });
5543
- exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
5547
+ exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = undefined;
5544
5548
  var fs72 = __require("fs");
5545
5549
  exports.FILE_SYSTEM_ADAPTER = { lstat: fs72.lstat, stat: fs72.stat, lstatSync: fs72.lstatSync, statSync: fs72.statSync };
5546
5550
  function createFileSystemAdapter(fsMethods) {
5547
- if (fsMethods === void 0) {
5551
+ if (fsMethods === undefined) {
5548
5552
  return exports.FILE_SYSTEM_ADAPTER;
5549
5553
  }
5550
5554
  return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);
@@ -5563,14 +5567,14 @@ var require_settings = __commonJS2({ "node_modules/@nodelib/fs.stat/out/settings
5563
5567
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
5564
5568
  }
5565
5569
  _getValue(option, value) {
5566
- return option !== null && option !== void 0 ? option : value;
5570
+ return option !== null && option !== undefined ? option : value;
5567
5571
  }
5568
5572
  };
5569
5573
  exports.default = Settings;
5570
5574
  } });
5571
5575
  var require_out = __commonJS2({ "node_modules/@nodelib/fs.stat/out/index.js"(exports) {
5572
5576
  Object.defineProperty(exports, "__esModule", { value: true });
5573
- exports.statSync = exports.stat = exports.Settings = void 0;
5577
+ exports.statSync = exports.stat = exports.Settings = undefined;
5574
5578
  var async = require_async();
5575
5579
  var sync = require_sync();
5576
5580
  var settings_1 = require_settings();
@@ -5649,9 +5653,9 @@ var require_run_parallel = __commonJS2({ "node_modules/run-parallel/index.js"(ex
5649
5653
  } });
5650
5654
  var require_constants3 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/constants.js"(exports) {
5651
5655
  Object.defineProperty(exports, "__esModule", { value: true });
5652
- exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
5656
+ exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = undefined;
5653
5657
  var NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
5654
- if (NODE_PROCESS_VERSION_PARTS[0] === void 0 || NODE_PROCESS_VERSION_PARTS[1] === void 0) {
5658
+ if (NODE_PROCESS_VERSION_PARTS[0] === undefined || NODE_PROCESS_VERSION_PARTS[1] === undefined) {
5655
5659
  throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
5656
5660
  }
5657
5661
  var MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);
@@ -5664,7 +5668,7 @@ var require_constants3 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/con
5664
5668
  } });
5665
5669
  var require_fs3 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports) {
5666
5670
  Object.defineProperty(exports, "__esModule", { value: true });
5667
- exports.createDirentFromStats = void 0;
5671
+ exports.createDirentFromStats = undefined;
5668
5672
  var DirentFromStats = class {
5669
5673
  constructor(name, stats) {
5670
5674
  this.name = name;
@@ -5684,13 +5688,13 @@ var require_fs3 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/utils/fs.j
5684
5688
  } });
5685
5689
  var require_utils4 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports) {
5686
5690
  Object.defineProperty(exports, "__esModule", { value: true });
5687
- exports.fs = void 0;
5691
+ exports.fs = undefined;
5688
5692
  var fs72 = require_fs3();
5689
5693
  exports.fs = fs72;
5690
5694
  } });
5691
5695
  var require_common = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports) {
5692
5696
  Object.defineProperty(exports, "__esModule", { value: true });
5693
- exports.joinPathSegments = void 0;
5697
+ exports.joinPathSegments = undefined;
5694
5698
  function joinPathSegments(a, b, separator) {
5695
5699
  if (a.endsWith(separator)) {
5696
5700
  return a + b;
@@ -5701,7 +5705,7 @@ var require_common = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/provide
5701
5705
  } });
5702
5706
  var require_async2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/providers/async.js"(exports) {
5703
5707
  Object.defineProperty(exports, "__esModule", { value: true });
5704
- exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
5708
+ exports.readdir = exports.readdirWithFileTypes = exports.read = undefined;
5705
5709
  var fsStat = require_out();
5706
5710
  var rpl = require_run_parallel();
5707
5711
  var constants_1 = require_constants3();
@@ -5798,7 +5802,7 @@ var require_async2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/provide
5798
5802
  } });
5799
5803
  var require_sync2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/providers/sync.js"(exports) {
5800
5804
  Object.defineProperty(exports, "__esModule", { value: true });
5801
- exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
5805
+ exports.readdir = exports.readdirWithFileTypes = exports.read = undefined;
5802
5806
  var fsStat = require_out();
5803
5807
  var constants_1 = require_constants3();
5804
5808
  var utils2 = require_utils4();
@@ -5844,11 +5848,11 @@ var require_sync2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/provider
5844
5848
  } });
5845
5849
  var require_fs4 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(exports) {
5846
5850
  Object.defineProperty(exports, "__esModule", { value: true });
5847
- exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
5851
+ exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = undefined;
5848
5852
  var fs72 = __require("fs");
5849
5853
  exports.FILE_SYSTEM_ADAPTER = { lstat: fs72.lstat, stat: fs72.stat, lstatSync: fs72.lstatSync, statSync: fs72.statSync, readdir: fs72.readdir, readdirSync: fs72.readdirSync };
5850
5854
  function createFileSystemAdapter(fsMethods) {
5851
- if (fsMethods === void 0) {
5855
+ if (fsMethods === undefined) {
5852
5856
  return exports.FILE_SYSTEM_ADAPTER;
5853
5857
  }
5854
5858
  return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);
@@ -5871,14 +5875,14 @@ var require_settings2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/sett
5871
5875
  this.fsStatSettings = new fsStat.Settings({ followSymbolicLink: this.followSymbolicLinks, fs: this.fs, throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink });
5872
5876
  }
5873
5877
  _getValue(option, value) {
5874
- return option !== null && option !== void 0 ? option : value;
5878
+ return option !== null && option !== undefined ? option : value;
5875
5879
  }
5876
5880
  };
5877
5881
  exports.default = Settings;
5878
5882
  } });
5879
5883
  var require_out2 = __commonJS2({ "node_modules/@nodelib/fs.scandir/out/index.js"(exports) {
5880
5884
  Object.defineProperty(exports, "__esModule", { value: true });
5881
- exports.Settings = exports.scandirSync = exports.scandir = void 0;
5885
+ exports.Settings = exports.scandirSync = exports.scandir = undefined;
5882
5886
  var async = require_async2();
5883
5887
  var sync = require_sync2();
5884
5888
  var settings_1 = require_settings2();
@@ -6146,7 +6150,7 @@ var require_queue = __commonJS2({ "node_modules/fastq/queue.js"(exports, module)
6146
6150
  } });
6147
6151
  var require_common2 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/readers/common.js"(exports) {
6148
6152
  Object.defineProperty(exports, "__esModule", { value: true });
6149
- exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
6153
+ exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = undefined;
6150
6154
  function isFatalError(settings, error) {
6151
6155
  if (settings.errorFilter === null) {
6152
6156
  return true;
@@ -6245,13 +6249,13 @@ var require_async3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/readers/as
6245
6249
  _worker(item, done) {
6246
6250
  this._scandir(item.directory, this._settings.fsScandirSettings, (error, entries) => {
6247
6251
  if (error !== null) {
6248
- done(error, void 0);
6252
+ done(error, undefined);
6249
6253
  return;
6250
6254
  }
6251
6255
  for (const entry of entries) {
6252
6256
  this._handleEntry(entry, item.base);
6253
6257
  }
6254
- done(null, void 0);
6258
+ done(null, undefined);
6255
6259
  });
6256
6260
  }
6257
6261
  _handleError(error) {
@@ -6267,14 +6271,14 @@ var require_async3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/readers/as
6267
6271
  return;
6268
6272
  }
6269
6273
  const fullpath = entry.path;
6270
- if (base !== void 0) {
6274
+ if (base !== undefined) {
6271
6275
  entry.path = common2.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);
6272
6276
  }
6273
6277
  if (common2.isAppliedFilter(this._settings.entryFilter, entry)) {
6274
6278
  this._emitEntry(entry);
6275
6279
  }
6276
6280
  if (entry.dirent.isDirectory() && common2.isAppliedFilter(this._settings.deepFilter, entry)) {
6277
- this._pushToQueue(fullpath, base === void 0 ? void 0 : entry.path);
6281
+ this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);
6278
6282
  }
6279
6283
  }
6280
6284
  _emitEntry(entry) {
@@ -6389,14 +6393,14 @@ var require_sync3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/readers/syn
6389
6393
  }
6390
6394
  _handleEntry(entry, base) {
6391
6395
  const fullpath = entry.path;
6392
- if (base !== void 0) {
6396
+ if (base !== undefined) {
6393
6397
  entry.path = common2.joinPathSegments(base, entry.name, this._settings.pathSegmentSeparator);
6394
6398
  }
6395
6399
  if (common2.isAppliedFilter(this._settings.entryFilter, entry)) {
6396
6400
  this._pushToStorage(entry);
6397
6401
  }
6398
6402
  if (entry.dirent.isDirectory() && common2.isAppliedFilter(this._settings.deepFilter, entry)) {
6399
- this._pushToQueue(fullpath, base === void 0 ? void 0 : entry.path);
6403
+ this._pushToQueue(fullpath, base === undefined ? undefined : entry.path);
6400
6404
  }
6401
6405
  }
6402
6406
  _pushToStorage(entry) {
@@ -6427,7 +6431,7 @@ var require_settings3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/setting
6427
6431
  var Settings = class {
6428
6432
  constructor(_options = {}) {
6429
6433
  this._options = _options;
6430
- this.basePath = this._getValue(this._options.basePath, void 0);
6434
+ this.basePath = this._getValue(this._options.basePath, undefined);
6431
6435
  this.concurrency = this._getValue(this._options.concurrency, Number.POSITIVE_INFINITY);
6432
6436
  this.deepFilter = this._getValue(this._options.deepFilter, null);
6433
6437
  this.entryFilter = this._getValue(this._options.entryFilter, null);
@@ -6436,14 +6440,14 @@ var require_settings3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/setting
6436
6440
  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
6441
  }
6438
6442
  _getValue(option, value) {
6439
- return option !== null && option !== void 0 ? option : value;
6443
+ return option !== null && option !== undefined ? option : value;
6440
6444
  }
6441
6445
  };
6442
6446
  exports.default = Settings;
6443
6447
  } });
6444
6448
  var require_out3 = __commonJS2({ "node_modules/@nodelib/fs.walk/out/index.js"(exports) {
6445
6449
  Object.defineProperty(exports, "__esModule", { value: true });
6446
- exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
6450
+ exports.Settings = exports.walkStream = exports.walkSync = exports.walk = undefined;
6447
6451
  var async_1 = require_async4();
6448
6452
  var stream_1 = require_stream2();
6449
6453
  var sync_1 = require_sync4();
@@ -6750,7 +6754,7 @@ var require_entry = __commonJS2({ "node_modules/fast-glob/out/providers/filters/
6750
6754
  return this.index.has(filepath);
6751
6755
  }
6752
6756
  _createIndexRecord(filepath) {
6753
- this.index.set(filepath, void 0);
6757
+ this.index.set(filepath, undefined);
6754
6758
  }
6755
6759
  _onlyFileFilter(entry) {
6756
6760
  return this._settings.onlyFiles && !entry.dirent.isFile();
@@ -6968,7 +6972,7 @@ var require_sync6 = __commonJS2({ "node_modules/fast-glob/out/providers/sync.js"
6968
6972
  } });
6969
6973
  var require_settings4 = __commonJS2({ "node_modules/fast-glob/out/settings.js"(exports) {
6970
6974
  Object.defineProperty(exports, "__esModule", { value: true });
6971
- exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
6975
+ exports.DEFAULT_FILE_SYSTEM_ADAPTER = undefined;
6972
6976
  var fs72 = __require("fs");
6973
6977
  var os2 = __require("os");
6974
6978
  var CPU_COUNT = Math.max(os2.cpus().length, 1);
@@ -7006,7 +7010,7 @@ var require_settings4 = __commonJS2({ "node_modules/fast-glob/out/settings.js"(e
7006
7010
  this.ignore = [].concat(this.ignore);
7007
7011
  }
7008
7012
  _getValue(option, value) {
7009
- return option === void 0 ? value : option;
7013
+ return option === undefined ? value : option;
7010
7014
  }
7011
7015
  _getFileSystemMethods(methods = {}) {
7012
7016
  return Object.assign(Object.assign({}, exports.DEFAULT_FILE_SYSTEM_ADAPTER), methods);
@@ -7091,7 +7095,7 @@ var require_out4 = __commonJS2({ "node_modules/fast-glob/out/index.js"(exports,
7091
7095
  }
7092
7096
  win322.convertPathToPattern = convertPathToPattern2;
7093
7097
  })(FastGlob2.win32 || (FastGlob2.win32 = {}));
7094
- })(FastGlob || (FastGlob = {}));
7098
+ })(FastGlob);
7095
7099
  function getWorks(source2, _Provider, options8) {
7096
7100
  const patterns = [].concat(source2);
7097
7101
  const settings = new settings_1.default(options8);
@@ -7146,8 +7150,8 @@ var require_re = __commonJS2({ "node_modules/semver/internal/re.js"(exports, mod
7146
7150
  debug(name, index, value);
7147
7151
  t[name] = index;
7148
7152
  src[index] = value;
7149
- re[index] = new RegExp(value, isGlobal ? "g" : void 0);
7150
- safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
7153
+ re[index] = new RegExp(value, isGlobal ? "g" : undefined);
7154
+ safeRe[index] = new RegExp(safe, isGlobal ? "g" : undefined);
7151
7155
  };
7152
7156
  createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
7153
7157
  createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
@@ -7324,11 +7328,11 @@ var require_semver = __commonJS2({ "node_modules/semver/classes/semver.js"(expor
7324
7328
  const a = this.prerelease[i2];
7325
7329
  const b = other.prerelease[i2];
7326
7330
  debug("prerelease compare", i2, a, b);
7327
- if (a === void 0 && b === void 0) {
7331
+ if (a === undefined && b === undefined) {
7328
7332
  return 0;
7329
- } else if (b === void 0) {
7333
+ } else if (b === undefined) {
7330
7334
  return 1;
7331
- } else if (a === void 0) {
7335
+ } else if (a === undefined) {
7332
7336
  return -1;
7333
7337
  } else if (a === b) {
7334
7338
  continue;
@@ -7346,11 +7350,11 @@ var require_semver = __commonJS2({ "node_modules/semver/classes/semver.js"(expor
7346
7350
  const a = this.build[i2];
7347
7351
  const b = other.build[i2];
7348
7352
  debug("prerelease compare", i2, a, b);
7349
- if (a === void 0 && b === void 0) {
7353
+ if (a === undefined && b === undefined) {
7350
7354
  return 0;
7351
- } else if (b === void 0) {
7355
+ } else if (b === undefined) {
7352
7356
  return 1;
7353
- } else if (a === void 0) {
7357
+ } else if (a === undefined) {
7354
7358
  return -1;
7355
7359
  } else if (a === b) {
7356
7360
  continue;
@@ -7648,7 +7652,7 @@ var require_yallist = __commonJS2({ "node_modules/editorconfig/node_modules/yall
7648
7652
  };
7649
7653
  Yallist.prototype.pop = function() {
7650
7654
  if (!this.tail) {
7651
- return void 0;
7655
+ return undefined;
7652
7656
  }
7653
7657
  var res = this.tail.value;
7654
7658
  this.tail = this.tail.prev;
@@ -7662,7 +7666,7 @@ var require_yallist = __commonJS2({ "node_modules/editorconfig/node_modules/yall
7662
7666
  };
7663
7667
  Yallist.prototype.shift = function() {
7664
7668
  if (!this.head) {
7665
- return void 0;
7669
+ return undefined;
7666
7670
  }
7667
7671
  var res = this.head.value;
7668
7672
  this.head = this.head.next;
@@ -7983,7 +7987,7 @@ var require_lru_cache = __commonJS2({ "node_modules/editorconfig/node_modules/lr
7983
7987
  if (isStale(self, hit)) {
7984
7988
  del(self, node);
7985
7989
  if (!self[ALLOW_STALE]) {
7986
- hit = void 0;
7990
+ hit = undefined;
7987
7991
  }
7988
7992
  }
7989
7993
  if (hit) {
@@ -8182,7 +8186,7 @@ var require_lru_cache = __commonJS2({ "node_modules/editorconfig/node_modules/lr
8182
8186
  var hit = node.value;
8183
8187
  if (isStale(self, hit)) {
8184
8188
  del(self, node);
8185
- if (!self[ALLOW_STALE]) hit = void 0;
8189
+ if (!self[ALLOW_STALE]) hit = undefined;
8186
8190
  } else {
8187
8191
  if (doUse) {
8188
8192
  self[LRU_LIST].unshiftNode(node);
@@ -8922,7 +8926,7 @@ var require_ini = __commonJS2({ "node_modules/editorconfig/src/lib/ini.js"(expor
8922
8926
  f = t = 0;
8923
8927
  }
8924
8928
  if (op[0] & 5) throw op[1];
8925
- return { value: op[0] ? op[1] : void 0, done: true };
8929
+ return { value: op[0] ? op[1] : undefined, done: true };
8926
8930
  }
8927
8931
  };
8928
8932
  var __importStar = exports && exports.__importStar || function(mod) {
@@ -8938,7 +8942,7 @@ var require_ini = __commonJS2({ "node_modules/editorconfig/src/lib/ini.js"(expor
8938
8942
  var fs72 = __importStar(__require("fs"));
8939
8943
  var regex = { section: /^\s*\[(([^#;]|\\#|\\;)+)\]\s*([#;].*)?$/, param: /^\s*([\w\.\-\_]+)\s*[=:]\s*(.*?)\s*([#;].*)?$/, comment: /^\s*[#;].*$/ };
8940
8944
  function parse6(file) {
8941
- return __awaiter(this, void 0, void 0, function() {
8945
+ return __awaiter(this, undefined, undefined, function() {
8942
8946
  return __generator(this, function(_a) {
8943
8947
  return [2, new Promise(function(resolve3, reject) {
8944
8948
  fs72.readFile(file, "utf8", function(err, data) {
@@ -9075,7 +9079,7 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9075
9079
  f = t = 0;
9076
9080
  }
9077
9081
  if (op[0] & 5) throw op[1];
9078
- return { value: op[0] ? op[1] : void 0, done: true };
9082
+ return { value: op[0] ? op[1] : undefined, done: true };
9079
9083
  }
9080
9084
  };
9081
9085
  var __importStar = exports && exports.__importStar || function(mod) {
@@ -9125,7 +9129,7 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9125
9129
  return matches;
9126
9130
  }
9127
9131
  function processOptions(options8, filepath) {
9128
- if (options8 === void 0) {
9132
+ if (options8 === undefined) {
9129
9133
  options8 = {};
9130
9134
  }
9131
9135
  return { config: options8.config || ".editorconfig", version: options8.version || package_json_1.default.version, root: path132.resolve(options8.root || path132.parse(filepath).root) };
@@ -9142,10 +9146,10 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9142
9146
  return path132.join(pathPrefix, glob);
9143
9147
  }
9144
9148
  function extendProps(props, options8) {
9145
- if (props === void 0) {
9149
+ if (props === undefined) {
9146
9150
  props = {};
9147
9151
  }
9148
- if (options8 === void 0) {
9152
+ if (options8 === undefined) {
9149
9153
  options8 = {};
9150
9154
  }
9151
9155
  for (var key2 in options8) {
@@ -9201,7 +9205,7 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9201
9205
  return configs;
9202
9206
  }
9203
9207
  function readConfigFiles(filepaths) {
9204
- return __awaiter(this, void 0, void 0, function() {
9208
+ return __awaiter(this, undefined, undefined, function() {
9205
9209
  return __generator(this, function(_a) {
9206
9210
  return [2, Promise.all(filepaths.map(function(name) {
9207
9211
  return new Promise(function(resolve3) {
@@ -9227,17 +9231,17 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9227
9231
  return files;
9228
9232
  }
9229
9233
  function opts(filepath, options8) {
9230
- if (options8 === void 0) {
9234
+ if (options8 === undefined) {
9231
9235
  options8 = {};
9232
9236
  }
9233
9237
  var resolvedFilePath = path132.resolve(filepath);
9234
9238
  return [resolvedFilePath, processOptions(options8, resolvedFilePath)];
9235
9239
  }
9236
9240
  function parseFromFiles(filepath, files, options8) {
9237
- if (options8 === void 0) {
9241
+ if (options8 === undefined) {
9238
9242
  options8 = {};
9239
9243
  }
9240
- return __awaiter(this, void 0, void 0, function() {
9244
+ return __awaiter(this, undefined, undefined, function() {
9241
9245
  var _a, resolvedFilePath, processedOptions;
9242
9246
  return __generator(this, function(_b) {
9243
9247
  _a = opts(filepath, options8), resolvedFilePath = _a[0], processedOptions = _a[1];
@@ -9249,7 +9253,7 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9249
9253
  }
9250
9254
  exports.parseFromFiles = parseFromFiles;
9251
9255
  function parseFromFilesSync(filepath, files, options8) {
9252
- if (options8 === void 0) {
9256
+ if (options8 === undefined) {
9253
9257
  options8 = {};
9254
9258
  }
9255
9259
  var _a = opts(filepath, options8), resolvedFilePath = _a[0], processedOptions = _a[1];
@@ -9257,10 +9261,10 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9257
9261
  }
9258
9262
  exports.parseFromFilesSync = parseFromFilesSync;
9259
9263
  function parse6(_filepath, _options) {
9260
- if (_options === void 0) {
9264
+ if (_options === undefined) {
9261
9265
  _options = {};
9262
9266
  }
9263
- return __awaiter(this, void 0, void 0, function() {
9267
+ return __awaiter(this, undefined, undefined, function() {
9264
9268
  var _a, resolvedFilePath, processedOptions, filepaths;
9265
9269
  return __generator(this, function(_b) {
9266
9270
  _a = opts(_filepath, _options), resolvedFilePath = _a[0], processedOptions = _a[1];
@@ -9273,7 +9277,7 @@ var require_src = __commonJS2({ "node_modules/editorconfig/src/index.js"(exports
9273
9277
  }
9274
9278
  exports.parse = parse6;
9275
9279
  function parseSync(_filepath, _options) {
9276
- if (_options === void 0) {
9280
+ if (_options === undefined) {
9277
9281
  _options = {};
9278
9282
  }
9279
9283
  var _a = opts(_filepath, _options), resolvedFilePath = _a[0], processedOptions = _a[1];
@@ -9442,7 +9446,7 @@ var require_parser = __commonJS2({ "node_modules/@iarna/toml/lib/parser.js"(expo
9442
9446
  }
9443
9447
  return(value) {
9444
9448
  if (this.stack.length === 0) throw this.error(new ParserError("Stack underflow"));
9445
- if (value === void 0) value = this.state.buf;
9449
+ if (value === undefined) value = this.state.buf;
9446
9450
  this.state = this.stack.pop();
9447
9451
  this.state.returned = value;
9448
9452
  }
@@ -9642,7 +9646,7 @@ var require_toml_parser = __commonJS2({ "node_modules/@iarna/toml/lib/toml-parse
9642
9646
  var _declared = Symbol("declared");
9643
9647
  var hasOwnProperty3 = Object.prototype.hasOwnProperty;
9644
9648
  var defineProperty = Object.defineProperty;
9645
- var descriptor = { configurable: true, enumerable: true, writable: true, value: void 0 };
9649
+ var descriptor = { configurable: true, enumerable: true, writable: true, value: undefined };
9646
9650
  function hasKey(obj, key2) {
9647
9651
  if (hasOwnProperty3.call(obj, key2)) return true;
9648
9652
  if (key2 === "__proto__") defineProperty(obj, "__proto__", descriptor);
@@ -10894,7 +10898,7 @@ var require_js_tokens = __commonJS2({ "node_modules/js-tokens/index.js"(exports)
10894
10898
  Object.defineProperty(exports, "__esModule", { value: true });
10895
10899
  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
10900
  exports.matchToToken = function(match) {
10897
- var token2 = { type: "invalid", value: match[0], closed: void 0 };
10901
+ var token2 = { type: "invalid", value: match[0], closed: undefined };
10898
10902
  if (match[1]) token2.type = "string", token2.closed = !!(match[3] || match[4]);
10899
10903
  else if (match[5]) token2.type = "comment";
10900
10904
  else if (match[6]) token2.type = "comment", token2.closed = !!match[7];
@@ -11798,7 +11802,7 @@ var require_color_convert = __commonJS2({ "node_modules/color-convert/index.js"(
11798
11802
  var models = Object.keys(conversions);
11799
11803
  function wrapRaw(fn) {
11800
11804
  var wrappedFn = function(args) {
11801
- if (args === void 0 || args === null) {
11805
+ if (args === undefined || args === null) {
11802
11806
  return args;
11803
11807
  }
11804
11808
  if (arguments.length > 1) {
@@ -11813,7 +11817,7 @@ var require_color_convert = __commonJS2({ "node_modules/color-convert/index.js"(
11813
11817
  }
11814
11818
  function wrapRounded(fn) {
11815
11819
  var wrappedFn = function(args) {
11816
- if (args === void 0 || args === null) {
11820
+ if (args === undefined || args === null) {
11817
11821
  return args;
11818
11822
  }
11819
11823
  if (arguments.length > 1) {
@@ -12153,7 +12157,7 @@ var require_chalk = __commonJS2({ "node_modules/@babel/code-frame/node_modules/c
12153
12157
  function applyOptions2(obj, options8) {
12154
12158
  options8 = options8 || {};
12155
12159
  const scLevel = stdoutColor2 ? stdoutColor2.level : 0;
12156
- obj.level = options8.level === void 0 ? scLevel : options8.level;
12160
+ obj.level = options8.level === undefined ? scLevel : options8.level;
12157
12161
  obj.enabled = "enabled" in options8 ? options8.enabled : obj.level > 0;
12158
12162
  }
12159
12163
  function Chalk(options8) {
@@ -12356,7 +12360,7 @@ var require_lib2 = __commonJS2({ "node_modules/@babel/highlight/lib/index.js"(ex
12356
12360
  function shouldHighlight(options8) {
12357
12361
  return _chalk.default.level > 0 || options8.forceColor;
12358
12362
  }
12359
- var chalkWithForcedColor = void 0;
12363
+ var chalkWithForcedColor = undefined;
12360
12364
  function getChalk(forceColor) {
12361
12365
  if (forceColor) {
12362
12366
  var _chalkWithForcedColor;
@@ -12401,7 +12405,7 @@ var require_lib3 = __commonJS2({ "node_modules/@babel/code-frame/lib/index.js"(e
12401
12405
  }
12402
12406
  return n.default = e, t && t.set(e, n), n;
12403
12407
  }
12404
- var chalkWithForcedColor = void 0;
12408
+ var chalkWithForcedColor = undefined;
12405
12409
  function getChalk(forceColor) {
12406
12410
  if (forceColor) {
12407
12411
  var _chalkWithForcedColor;
@@ -12901,7 +12905,7 @@ var require_readlines = __commonJS2({ "node_modules/n-readlines/readlines.js"(ex
12901
12905
  line3 = buffer2.slice(lastNewLineBufferPosition, bufferPosition);
12902
12906
  lines.push(line3);
12903
12907
  lastNewLineBufferPosition = bufferPosition;
12904
- } else if (bufferPositionValue === void 0) {
12908
+ } else if (bufferPositionValue === undefined) {
12905
12909
  break;
12906
12910
  }
12907
12911
  }
@@ -12975,7 +12979,7 @@ var require_base = __commonJS2({ "node_modules/diff/lib/diff/base.js"(exports) {
12975
12979
  /*istanbul ignore start*/
12976
12980
  /*istanbul ignore end*/
12977
12981
  diff: function diff(oldString, newString) {
12978
- var options8 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
12982
+ var options8 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
12979
12983
  var callback = options8.callback;
12980
12984
  if (typeof options8 === "function") {
12981
12985
  callback = options8;
@@ -12986,7 +12990,7 @@ var require_base = __commonJS2({ "node_modules/diff/lib/diff/base.js"(exports) {
12986
12990
  function done(value) {
12987
12991
  if (callback) {
12988
12992
  setTimeout(function() {
12989
- callback(void 0, value);
12993
+ callback(undefined, value);
12990
12994
  }, 0);
12991
12995
  return true;
12992
12996
  } else {
@@ -13012,24 +13016,24 @@ var require_base = __commonJS2({ "node_modules/diff/lib/diff/base.js"(exports) {
13012
13016
  for (var diagonalPath = -1 * editLength; diagonalPath <= editLength; diagonalPath += 2) {
13013
13017
  var basePath = (
13014
13018
  /*istanbul ignore start*/
13015
- void 0
13019
+ undefined
13016
13020
  );
13017
13021
  var addPath = bestPath[diagonalPath - 1], removePath = bestPath[diagonalPath + 1], _oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;
13018
13022
  if (addPath) {
13019
- bestPath[diagonalPath - 1] = void 0;
13023
+ bestPath[diagonalPath - 1] = undefined;
13020
13024
  }
13021
13025
  var canAdd = addPath && addPath.newPos + 1 < newLen, canRemove = removePath && 0 <= _oldPos && _oldPos < oldLen;
13022
13026
  if (!canAdd && !canRemove) {
13023
- bestPath[diagonalPath] = void 0;
13027
+ bestPath[diagonalPath] = undefined;
13024
13028
  continue;
13025
13029
  }
13026
13030
  if (!canAdd || canRemove && addPath.newPos < removePath.newPos) {
13027
13031
  basePath = clonePath(removePath);
13028
- self.pushComponent(basePath.components, void 0, true);
13032
+ self.pushComponent(basePath.components, undefined, true);
13029
13033
  } else {
13030
13034
  basePath = addPath;
13031
13035
  basePath.newPos++;
13032
- self.pushComponent(basePath.components, true, void 0);
13036
+ self.pushComponent(basePath.components, true, undefined);
13033
13037
  }
13034
13038
  _oldPos = self.extractCommon(basePath, newString, oldString, diagonalPath);
13035
13039
  if (basePath.newPos + 1 >= newLen && _oldPos + 1 >= oldLen) {
@@ -13164,7 +13168,7 @@ var require_base = __commonJS2({ "node_modules/diff/lib/diff/base.js"(exports) {
13164
13168
  var require_array2 = __commonJS2({ "node_modules/diff/lib/diff/array.js"(exports) {
13165
13169
  Object.defineProperty(exports, "__esModule", { value: true });
13166
13170
  exports.diffArrays = diffArrays2;
13167
- exports.arrayDiff = void 0;
13171
+ exports.arrayDiff = undefined;
13168
13172
  var _base = _interopRequireDefault(require_base());
13169
13173
  function _interopRequireDefault(obj) {
13170
13174
  return obj && obj.__esModule ? obj : { "default": obj };
@@ -13377,7 +13381,7 @@ function translateLevel(level) {
13377
13381
  }
13378
13382
  function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
13379
13383
  const noFlagForceColor = envForceColor();
13380
- if (noFlagForceColor !== void 0) {
13384
+ if (noFlagForceColor !== undefined) {
13381
13385
  flagForceColor = noFlagForceColor;
13382
13386
  }
13383
13387
  const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
@@ -13395,7 +13399,7 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
13395
13399
  if ("TF_BUILD" in env && "AGENT_NAME" in env) {
13396
13400
  return 1;
13397
13401
  }
13398
- if (haveStream && !streamIsTTY && forceColor === void 0) {
13402
+ if (haveStream && !streamIsTTY && forceColor === undefined) {
13399
13403
  return 0;
13400
13404
  }
13401
13405
  const min = forceColor || 0;
@@ -13494,7 +13498,7 @@ var applyOptions = (object, options8 = {}) => {
13494
13498
  throw new Error("The `level` option should be an integer from 0 to 3");
13495
13499
  }
13496
13500
  const colorLevel = stdoutColor ? stdoutColor.level : 0;
13497
- object.level = options8.level === void 0 ? colorLevel : options8.level;
13501
+ object.level = options8.level === undefined ? colorLevel : options8.level;
13498
13502
  };
13499
13503
  var chalkFactory = (options8) => {
13500
13504
  const chalk2 = (...strings) => strings.join(" ");
@@ -13560,7 +13564,7 @@ var proto = Object.defineProperties(() => {
13560
13564
  var createStyler = (open, close, parent) => {
13561
13565
  let openAll;
13562
13566
  let closeAll;
13563
- if (parent === void 0) {
13567
+ if (parent === undefined) {
13564
13568
  openAll = open;
13565
13569
  closeAll = close;
13566
13570
  } else {
@@ -13582,12 +13586,12 @@ var applyStyle = (self, string) => {
13582
13586
  return self[IS_EMPTY] ? "" : string;
13583
13587
  }
13584
13588
  let styler = self[STYLER];
13585
- if (styler === void 0) {
13589
+ if (styler === undefined) {
13586
13590
  return string;
13587
13591
  }
13588
13592
  const { openAll, closeAll } = styler;
13589
13593
  if (string.includes("\x1B")) {
13590
- while (styler !== void 0) {
13594
+ while (styler !== undefined) {
13591
13595
  string = stringReplaceAll2(string, styler.close, styler.open);
13592
13596
  styler = styler.parent;
13593
13597
  }
@@ -13719,7 +13723,7 @@ var Schema = class {
13719
13723
  this.name = parameters.name;
13720
13724
  }
13721
13725
  default(_utils) {
13722
- return void 0;
13726
+ return undefined;
13723
13727
  }
13724
13728
  // this is actually an abstract method but we need a placeholder to get `function.length`
13725
13729
  /* c8 ignore start */
@@ -13737,10 +13741,10 @@ var Schema = class {
13737
13741
  return false;
13738
13742
  }
13739
13743
  forward(_value, _utils) {
13740
- return void 0;
13744
+ return undefined;
13741
13745
  }
13742
13746
  redirect(_value, _utils) {
13743
- return void 0;
13747
+ return undefined;
13744
13748
  }
13745
13749
  overlap(currentValue, _newValue, _utils) {
13746
13750
  return currentValue;
@@ -13915,14 +13919,14 @@ function normalizeInvalidHandler(invalidHandler) {
13915
13919
  };
13916
13920
  }
13917
13921
  function normalizeDefaultResult(result) {
13918
- return result === void 0 ? {} : result;
13922
+ return result === undefined ? {} : result;
13919
13923
  }
13920
13924
  function normalizeExpectedResult(result) {
13921
13925
  if (typeof result === "string") {
13922
13926
  return { text: result };
13923
13927
  }
13924
13928
  const { text, list: list2 } = result;
13925
- assert((text || list2) !== void 0, "Unexpected `expected` result, there should be at least one field.");
13929
+ assert((text || list2) !== undefined, "Unexpected `expected` result, there should be at least one field.");
13926
13930
  if (!list2) {
13927
13931
  return { text };
13928
13932
  }
@@ -13938,7 +13942,7 @@ function normalizeTransferResult(result, value) {
13938
13942
  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
13943
  }
13940
13944
  function normalizeForwardResult(result, value) {
13941
- return result === void 0 ? [] : Array.isArray(result) ? result.map((transferResult) => normalizeTransferResult(transferResult, value)) : [normalizeTransferResult(result, value)];
13945
+ return result === undefined ? [] : Array.isArray(result) ? result.map((transferResult) => normalizeTransferResult(transferResult, value)) : [normalizeTransferResult(result, value)];
13942
13946
  }
13943
13947
  function normalizeRedirectResult(result, value) {
13944
13948
  const redirect = normalizeForwardResult(typeof result === "object" && "redirect" in result ? result.redirect : result, value);
@@ -13970,11 +13974,11 @@ var ChoiceSchema = class extends Schema {
13970
13974
  }
13971
13975
  forward(value) {
13972
13976
  const choiceInfo = this._choices.get(value);
13973
- return choiceInfo ? choiceInfo.forward : void 0;
13977
+ return choiceInfo ? choiceInfo.forward : undefined;
13974
13978
  }
13975
13979
  redirect(value) {
13976
13980
  const choiceInfo = this._choices.get(value);
13977
- return choiceInfo ? choiceInfo.redirect : void 0;
13981
+ return choiceInfo ? choiceInfo.redirect : undefined;
13978
13982
  }
13979
13983
  };
13980
13984
  var NumberSchema = class extends Schema {
@@ -14209,7 +14213,7 @@ function partition2(array2, predicate) {
14209
14213
  var partition_default = partition2;
14210
14214
  var import_editorconfig = __toESM2(require_src());
14211
14215
  async function isDirectory(directory, options8) {
14212
- const allowSymlinks = (options8 == null ? void 0 : options8.allowSymlinks) ?? true;
14216
+ const allowSymlinks = (options8 == null ? undefined : options8.allowSymlinks) ?? true;
14213
14217
  let stats;
14214
14218
  try {
14215
14219
  stats = await (allowSymlinks ? fs.stat : fs.lstat)(toPath(directory));
@@ -14249,9 +14253,9 @@ var Searcher = class {
14249
14253
  */
14250
14254
  constructor({ names, filter: filter2, stopDirectory }) {
14251
14255
  __privateAdd(this, _searchInDirectory);
14252
- __privateAdd(this, _names, void 0);
14253
- __privateAdd(this, _filter, void 0);
14254
- __privateAdd(this, _stopDirectory, void 0);
14256
+ __privateAdd(this, _names, undefined);
14257
+ __privateAdd(this, _filter, undefined);
14258
+ __privateAdd(this, _stopDirectory, undefined);
14255
14259
  __privateAdd(this, _cache, /* @__PURE__ */ new Map());
14256
14260
  __privateSet(this, _names, names);
14257
14261
  __privateSet(this, _filter, filter2);
@@ -14304,10 +14308,10 @@ var searchOptions = { names: MARKERS, filter: ({ path: directory }) => is_direct
14304
14308
  async function findProjectRoot(startDirectory, options8) {
14305
14309
  searcher ?? (searcher = new searcher_default(searchOptions));
14306
14310
  const mark = await searcher.search(startDirectory, options8);
14307
- return mark ? path9.dirname(mark) : void 0;
14311
+ return mark ? path9.dirname(mark) : undefined;
14308
14312
  }
14309
14313
  function clearFindProjectRootCache() {
14310
- searcher == null ? void 0 : searcher.clearCache();
14314
+ searcher == null ? undefined : searcher.clearCache();
14311
14315
  }
14312
14316
  function removeUnset(editorConfig) {
14313
14317
  const result = {};
@@ -14340,7 +14344,7 @@ function editorConfigToPrettier(editorConfig) {
14340
14344
  result.tabWidth = editorConfig.tab_width;
14341
14345
  } else if (editorConfig.indent_style === "space" && editorConfig.indent_size && editorConfig.indent_size !== "tab") {
14342
14346
  result.tabWidth = editorConfig.indent_size;
14343
- } else if (editorConfig.tab_width !== void 0) {
14347
+ } else if (editorConfig.tab_width !== undefined) {
14344
14348
  result.tabWidth = editorConfig.tab_width;
14345
14349
  }
14346
14350
  if (editorConfig.max_line_length) {
@@ -14408,10 +14412,10 @@ getStdin.buffer = async () => {
14408
14412
  function writeFormattedFile(file, data) {
14409
14413
  return fs.writeFile(file, data);
14410
14414
  }
14411
- var mockable = { getPrettierConfigSearchStopDirectory: () => void 0, getStdin, isCI: () => import_ci_info.isCI, writeFormattedFile };
14415
+ var mockable = { getPrettierConfigSearchStopDirectory: () => undefined, getStdin, isCI: () => import_ci_info.isCI, writeFormattedFile };
14412
14416
  var mockable_default = mockable;
14413
14417
  async function isFile(file, options8) {
14414
- const allowSymlinks = (options8 == null ? void 0 : options8.allowSymlinks) ?? true;
14418
+ const allowSymlinks = (options8 == null ? undefined : options8.allowSymlinks) ?? true;
14415
14419
  let stats;
14416
14420
  try {
14417
14421
  stats = await (allowSymlinks ? fs.stat : fs.lstat)(toPath(file));
@@ -16194,7 +16198,7 @@ function loadAll$1(input, iterator, options8) {
16194
16198
  function load$1(input, options8) {
16195
16199
  var documents = loadDocuments(input, options8);
16196
16200
  if (documents.length === 0) {
16197
- return void 0;
16201
+ return undefined;
16198
16202
  } else if (documents.length === 1) {
16199
16203
  return documents[0];
16200
16204
  }
@@ -16235,9 +16239,9 @@ var parse2 = function parse3(text, reviver) {
16235
16239
  pos = 0;
16236
16240
  line2 = 1;
16237
16241
  column = 0;
16238
- token = void 0;
16239
- key = void 0;
16240
- root = void 0;
16242
+ token = undefined;
16243
+ key = undefined;
16244
+ root = undefined;
16241
16245
  do {
16242
16246
  token = lex();
16243
16247
  parseStates[parseState]();
@@ -16254,7 +16258,7 @@ function internalize(holder, name, reviver) {
16254
16258
  for (let i2 = 0; i2 < value.length; i2++) {
16255
16259
  const key2 = String(i2);
16256
16260
  const replacement = internalize(value, key2, reviver);
16257
- if (replacement === void 0) {
16261
+ if (replacement === undefined) {
16258
16262
  delete value[key2];
16259
16263
  } else {
16260
16264
  Object.defineProperty(value, key2, { value: replacement, writable: true, enumerable: true, configurable: true });
@@ -16263,7 +16267,7 @@ function internalize(holder, name, reviver) {
16263
16267
  } else {
16264
16268
  for (const key2 in value) {
16265
16269
  const replacement = internalize(value, key2, reviver);
16266
- if (replacement === void 0) {
16270
+ if (replacement === undefined) {
16267
16271
  delete value[key2];
16268
16272
  } else {
16269
16273
  Object.defineProperty(value, key2, { value: replacement, writable: true, enumerable: true, configurable: true });
@@ -16329,7 +16333,7 @@ var lexStates = { default() {
16329
16333
  read();
16330
16334
  lexState = "comment";
16331
16335
  return;
16332
- case void 0:
16336
+ case undefined:
16333
16337
  read();
16334
16338
  return newToken("eof");
16335
16339
  }
@@ -16356,7 +16360,7 @@ var lexStates = { default() {
16356
16360
  read();
16357
16361
  lexState = "multiLineCommentAsterisk";
16358
16362
  return;
16359
- case void 0:
16363
+ case undefined:
16360
16364
  throw invalidChar(read());
16361
16365
  }
16362
16366
  read();
@@ -16369,7 +16373,7 @@ var lexStates = { default() {
16369
16373
  read();
16370
16374
  lexState = "default";
16371
16375
  return;
16372
- case void 0:
16376
+ case undefined:
16373
16377
  throw invalidChar(read());
16374
16378
  }
16375
16379
  read();
@@ -16383,7 +16387,7 @@ var lexStates = { default() {
16383
16387
  read();
16384
16388
  lexState = "default";
16385
16389
  return;
16386
- case void 0:
16390
+ case undefined:
16387
16391
  read();
16388
16392
  return newToken("eof");
16389
16393
  }
@@ -16672,7 +16676,7 @@ var lexStates = { default() {
16672
16676
  case "\u2029":
16673
16677
  separatorChar(c);
16674
16678
  break;
16675
- case void 0:
16679
+ case undefined:
16676
16680
  throw invalidChar(read());
16677
16681
  }
16678
16682
  buffer += read();
@@ -16803,7 +16807,7 @@ function escape() {
16803
16807
  case "8":
16804
16808
  case "9":
16805
16809
  throw invalidChar(read());
16806
- case void 0:
16810
+ case undefined:
16807
16811
  throw invalidChar(read());
16808
16812
  }
16809
16813
  return read();
@@ -16915,7 +16919,7 @@ function push() {
16915
16919
  value = token.value;
16916
16920
  break;
16917
16921
  }
16918
- if (root === void 0) {
16922
+ if (root === undefined) {
16919
16923
  root = value;
16920
16924
  } else {
16921
16925
  const parent = stack[stack.length - 1];
@@ -16955,7 +16959,7 @@ function pop() {
16955
16959
  }
16956
16960
  }
16957
16961
  function invalidChar(c2) {
16958
- if (c2 === void 0) {
16962
+ if (c2 === undefined) {
16959
16963
  return syntaxError(`JSON5: invalid end of input at ${line2}:${column}`);
16960
16964
  }
16961
16965
  return syntaxError(`JSON5: invalid character '${formatChar(c2)}' at ${line2}:${column}`);
@@ -17016,9 +17020,9 @@ var _JSONError = class _JSONError2 extends Error {
17016
17020
  __publicField(this, "fileName");
17017
17021
  __publicField(this, "codeFrame");
17018
17022
  __publicField(this, "rawCodeFrame");
17019
- __privateAdd(this, _message, void 0);
17023
+ __privateAdd(this, _message, undefined);
17020
17024
  __privateSet(this, _message, message);
17021
- (_a = Error.captureStackTrace) == null ? void 0 : _a.call(Error, this, _JSONError2);
17025
+ (_a = Error.captureStackTrace) == null ? undefined : _a.call(Error, this, _JSONError2);
17022
17026
  }
17023
17027
  get message() {
17024
17028
  const { fileName, codeFrame } = this;
@@ -17263,7 +17267,7 @@ codes.ERR_INVALID_MODULE_SPECIFIER = createError(
17263
17267
  * @param {string} reason
17264
17268
  * @param {string} [base]
17265
17269
  */
17266
- (request, reason, base = void 0) => {
17270
+ (request, reason, base = undefined) => {
17267
17271
  return `Invalid module "${request}" ${reason}${base ? ` imported from ${base}` : ""}`;
17268
17272
  },
17269
17273
  TypeError
@@ -17289,7 +17293,7 @@ codes.ERR_INVALID_PACKAGE_TARGET = createError(
17289
17293
  * @param {boolean} [isImport=false]
17290
17294
  * @param {string} [base]
17291
17295
  */
17292
- (pkgPath, key2, target, isImport = false, base = void 0) => {
17296
+ (pkgPath, key2, target, isImport = false, base = undefined) => {
17293
17297
  const relError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./");
17294
17298
  if (key2 === ".") {
17295
17299
  assert2(isImport === false);
@@ -17331,7 +17335,7 @@ codes.ERR_PACKAGE_PATH_NOT_EXPORTED = createError(
17331
17335
  * @param {string} subpath
17332
17336
  * @param {string} [base]
17333
17337
  */
17334
- (pkgPath, subpath, base = void 0) => {
17338
+ (pkgPath, subpath, base = undefined) => {
17335
17339
  if (subpath === ".") return `No "exports" main defined in ${pkgPath}package.json${base ? ` imported from ${base}` : ""}`;
17336
17340
  return `Package subpath '${subpath}' is not defined by "exports" in ${pkgPath}package.json${base ? ` imported from ${base}` : ""}`;
17337
17341
  },
@@ -17407,10 +17411,10 @@ function isErrorStackTraceLimitWritable() {
17407
17411
  } catch {
17408
17412
  }
17409
17413
  const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
17410
- if (desc === void 0) {
17414
+ if (desc === undefined) {
17411
17415
  return Object.isExtensible(Error);
17412
17416
  }
17413
- return own.call(desc, "writable") && desc.writable !== void 0 ? desc.writable : desc.set !== void 0;
17417
+ return own.call(desc, "writable") && desc.writable !== undefined ? desc.writable : desc.set !== undefined;
17414
17418
  }
17415
17419
  function hideStackFrames(fn) {
17416
17420
  const hidden = nodeInternalPrefix + fn.name;
@@ -17436,7 +17440,7 @@ var captureLargerStackTrace = hideStackFrames(
17436
17440
  );
17437
17441
  function getMessage(key2, args, self) {
17438
17442
  const message = messages.get(key2);
17439
- assert2(message !== void 0, "expected `message` to be found");
17443
+ assert2(message !== undefined, "expected `message` to be found");
17440
17444
  if (typeof message === "function") {
17441
17445
  assert2(
17442
17446
  message.length <= args.length,
@@ -17454,7 +17458,7 @@ function getMessage(key2, args, self) {
17454
17458
  return Reflect.apply(format, null, args);
17455
17459
  }
17456
17460
  function determineSpecificType(value) {
17457
- if (value === null || value === void 0) {
17461
+ if (value === null || value === undefined) {
17458
17462
  return String(value);
17459
17463
  }
17460
17464
  if (typeof value === "function" && value.name) {
@@ -17484,7 +17488,7 @@ function read2(jsonPath, { base, specifier }) {
17484
17488
  }
17485
17489
  let string;
17486
17490
  try {
17487
- string = fs8__default.readFileSync(path9__default.toNamespacedPath(jsonPath), "utf8");
17491
+ string = fs6.readFileSync(path9__default.toNamespacedPath(jsonPath), "utf8");
17488
17492
  } catch (error) {
17489
17493
  const exception2 = (
17490
17494
  /** @type {ErrnoException} */
@@ -17497,14 +17501,14 @@ function read2(jsonPath, { base, specifier }) {
17497
17501
  const result = {
17498
17502
  exists: false,
17499
17503
  pjsonPath: jsonPath,
17500
- main: void 0,
17501
- name: void 0,
17504
+ main: undefined,
17505
+ name: undefined,
17502
17506
  type: "none",
17503
17507
  // Ignore unknown types for forwards compatibility
17504
- exports: void 0,
17505
- imports: void 0
17508
+ exports: undefined,
17509
+ imports: undefined
17506
17510
  };
17507
- if (string !== void 0) {
17511
+ if (string !== undefined) {
17508
17512
  let parsed;
17509
17513
  try {
17510
17514
  parsed = JSON.parse(string);
@@ -17555,7 +17559,7 @@ function getPackageScopeConfig(resolved) {
17555
17559
  }
17556
17560
  }
17557
17561
  const packageJSONPath = fileURLToPath(packageJSONUrl);
17558
- return { pjsonPath: packageJSONPath, exists: false, main: void 0, name: void 0, type: "none", exports: void 0, imports: void 0 };
17562
+ return { pjsonPath: packageJSONPath, exists: false, main: undefined, name: undefined, type: "none", exports: undefined, imports: undefined };
17559
17563
  }
17560
17564
  function getPackageType(url2) {
17561
17565
  const packageConfig = getPackageScopeConfig(url2);
@@ -17624,7 +17628,7 @@ function getFileProtocolModuleFormat(url2, _context, ignoreErrors) {
17624
17628
  const format3 = extensionFormatMap[ext];
17625
17629
  if (format3) return format3;
17626
17630
  if (ignoreErrors) {
17627
- return void 0;
17631
+ return undefined;
17628
17632
  }
17629
17633
  const filepath = fileURLToPath(url2);
17630
17634
  throw new ERR_UNKNOWN_FILE_EXTENSION(ext, filepath);
@@ -17648,7 +17652,7 @@ function getDefaultConditionsSet() {
17648
17652
  return DEFAULT_CONDITIONS_SET;
17649
17653
  }
17650
17654
  function getConditionsSet(conditions) {
17651
- if (conditions !== void 0 && conditions !== getDefaultConditions()) {
17655
+ if (conditions !== undefined && conditions !== getDefaultConditions()) {
17652
17656
  if (!Array.isArray(conditions)) {
17653
17657
  throw new ERR_INVALID_ARG_VALUE("conditions", conditions, "expected an array");
17654
17658
  }
@@ -17700,12 +17704,12 @@ function tryStatSync(path132) {
17700
17704
  }
17701
17705
  function fileExists(url2) {
17702
17706
  const stats = statSync(url2, { throwIfNoEntry: false });
17703
- const isFile2 = stats ? stats.isFile() : void 0;
17704
- return isFile2 === null || isFile2 === void 0 ? false : isFile2;
17707
+ const isFile2 = stats ? stats.isFile() : undefined;
17708
+ return isFile2 === null || isFile2 === undefined ? false : isFile2;
17705
17709
  }
17706
17710
  function legacyMainResolve(packageJsonUrl, packageConfig, base) {
17707
17711
  let guess;
17708
- if (packageConfig.main !== void 0) {
17712
+ if (packageConfig.main !== undefined) {
17709
17713
  guess = new URL$1(packageConfig.main, packageJsonUrl);
17710
17714
  if (fileExists(guess)) return guess;
17711
17715
  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 +17717,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
17713
17717
  while (++i22 < tries2.length) {
17714
17718
  guess = new URL$1(tries2[i22], packageJsonUrl);
17715
17719
  if (fileExists(guess)) break;
17716
- guess = void 0;
17720
+ guess = undefined;
17717
17721
  }
17718
17722
  if (guess) {
17719
17723
  emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main);
@@ -17725,7 +17729,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
17725
17729
  while (++i2 < tries.length) {
17726
17730
  guess = new URL$1(tries[i2], packageJsonUrl);
17727
17731
  if (fileExists(guess)) break;
17728
- guess = void 0;
17732
+ guess = undefined;
17729
17733
  }
17730
17734
  if (guess) {
17731
17735
  emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main);
@@ -17860,14 +17864,14 @@ function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, b
17860
17864
  if (exception2.code === "ERR_INVALID_PACKAGE_TARGET") continue;
17861
17865
  throw error;
17862
17866
  }
17863
- if (resolveResult === void 0) continue;
17867
+ if (resolveResult === undefined) continue;
17864
17868
  if (resolveResult === null) {
17865
17869
  lastException = null;
17866
17870
  continue;
17867
17871
  }
17868
17872
  return resolveResult;
17869
17873
  }
17870
- if (lastException === void 0 || lastException === null) {
17874
+ if (lastException === undefined || lastException === null) {
17871
17875
  return null;
17872
17876
  }
17873
17877
  throw lastException;
@@ -17890,7 +17894,7 @@ function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, b
17890
17894
  target[key2]
17891
17895
  );
17892
17896
  const resolveResult = resolvePackageTarget(packageJsonUrl, conditionalTarget, subpath, packageSubpath, base, pattern, internal, isPathMap, conditions);
17893
- if (resolveResult === void 0) continue;
17897
+ if (resolveResult === undefined) continue;
17894
17898
  return resolveResult;
17895
17899
  }
17896
17900
  }
@@ -17936,7 +17940,7 @@ function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, ba
17936
17940
  if (own2.call(exports, packageSubpath) && !packageSubpath.includes("*") && !packageSubpath.endsWith("/")) {
17937
17941
  const target = exports[packageSubpath];
17938
17942
  const resolveResult = resolvePackageTarget(packageJsonUrl, target, "", packageSubpath, base, false, false, false, conditions);
17939
- if (resolveResult === null || resolveResult === void 0) {
17943
+ if (resolveResult === null || resolveResult === undefined) {
17940
17944
  throw exportsNotFound(packageSubpath, packageJsonUrl, base);
17941
17945
  }
17942
17946
  return resolveResult;
@@ -17965,7 +17969,7 @@ function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, ba
17965
17969
  exports[bestMatch]
17966
17970
  );
17967
17971
  const resolveResult = resolvePackageTarget(packageJsonUrl, target, bestMatchSubpath, bestMatch, base, true, false, packageSubpath.endsWith("/"), conditions);
17968
- if (resolveResult === null || resolveResult === void 0) {
17972
+ if (resolveResult === null || resolveResult === undefined) {
17969
17973
  throw exportsNotFound(packageSubpath, packageJsonUrl, base);
17970
17974
  }
17971
17975
  return resolveResult;
@@ -17998,7 +18002,7 @@ function packageImportsResolve(name, base, conditions) {
17998
18002
  if (imports) {
17999
18003
  if (own2.call(imports, name) && !name.includes("*")) {
18000
18004
  const resolveResult = resolvePackageTarget(packageJsonUrl, imports[name], "", name, base, false, true, false, conditions);
18001
- if (resolveResult !== null && resolveResult !== void 0) {
18005
+ if (resolveResult !== null && resolveResult !== undefined) {
18002
18006
  return resolveResult;
18003
18007
  }
18004
18008
  } else {
@@ -18020,7 +18024,7 @@ function packageImportsResolve(name, base, conditions) {
18020
18024
  if (bestMatch) {
18021
18025
  const target = imports[bestMatch];
18022
18026
  const resolveResult = resolvePackageTarget(packageJsonUrl, target, bestMatchSubpath, bestMatch, base, true, true, false, conditions);
18023
- if (resolveResult !== null && resolveResult !== void 0) {
18027
+ if (resolveResult !== null && resolveResult !== undefined) {
18024
18028
  return resolveResult;
18025
18029
  }
18026
18030
  }
@@ -18059,7 +18063,7 @@ function packageResolve(specifier, base, conditions) {
18059
18063
  const packageConfig = getPackageScopeConfig(base);
18060
18064
  if (packageConfig.exists) {
18061
18065
  const packageJsonUrl2 = pathToFileURL(packageConfig.pjsonPath);
18062
- if (packageConfig.name === packageName && packageConfig.exports !== void 0 && packageConfig.exports !== null) {
18066
+ if (packageConfig.name === packageName && packageConfig.exports !== undefined && packageConfig.exports !== null) {
18063
18067
  return packageExportsResolve(packageJsonUrl2, packageSubpath, packageConfig, base, conditions);
18064
18068
  }
18065
18069
  }
@@ -18075,7 +18079,7 @@ function packageResolve(specifier, base, conditions) {
18075
18079
  continue;
18076
18080
  }
18077
18081
  const packageConfig2 = package_json_reader_default.read(packageJsonPath, { base, specifier });
18078
- if (packageConfig2.exports !== void 0 && packageConfig2.exports !== null) {
18082
+ if (packageConfig2.exports !== undefined && packageConfig2.exports !== null) {
18079
18083
  return packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig2, base, conditions);
18080
18084
  }
18081
18085
  if (packageSubpath === ".") {
@@ -18116,7 +18120,7 @@ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
18116
18120
  }
18117
18121
  }
18118
18122
  }
18119
- assert2(resolved !== void 0, "expected to be defined");
18123
+ assert2(resolved !== undefined, "expected to be defined");
18120
18124
  if (resolved.protocol !== "file:") {
18121
18125
  return resolved;
18122
18126
  }
@@ -18127,11 +18131,11 @@ function checkIfDisallowedImport(specifier, parsed, parsedParentURL) {
18127
18131
  const parentProtocol = parsedParentURL.protocol;
18128
18132
  if (parentProtocol === "http:" || parentProtocol === "https:") {
18129
18133
  if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) {
18130
- const parsedProtocol = parsed == null ? void 0 : parsed.protocol;
18134
+ const parsedProtocol = parsed == null ? undefined : parsed.protocol;
18131
18135
  if (parsedProtocol && parsedProtocol !== "https:" && parsedProtocol !== "http:") {
18132
18136
  throw new ERR_NETWORK_IMPORT_DISALLOWED(specifier, parsedParentURL, "remote imports cannot import from a local location.");
18133
18137
  }
18134
- return { url: (parsed == null ? void 0 : parsed.href) || "" };
18138
+ return { url: (parsed == null ? undefined : parsed.href) || "" };
18135
18139
  }
18136
18140
  if (builtinModules.includes(specifier)) {
18137
18141
  throw new ERR_NETWORK_IMPORT_DISALLOWED(specifier, parsedParentURL, "remote imports cannot import from a local location.");
@@ -18144,7 +18148,7 @@ function isURL(self) {
18144
18148
  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
18149
  }
18146
18150
  function throwIfInvalidParentURL(parentURL) {
18147
- if (parentURL === void 0) {
18151
+ if (parentURL === undefined) {
18148
18152
  return;
18149
18153
  }
18150
18154
  if (typeof parentURL !== "string" && !isURL(parentURL)) {
@@ -18153,7 +18157,7 @@ function throwIfInvalidParentURL(parentURL) {
18153
18157
  }
18154
18158
  function defaultResolve(specifier, context = {}) {
18155
18159
  const { parentURL } = context;
18156
- assert2(parentURL !== void 0, "expected `parentURL` to be defined");
18160
+ assert2(parentURL !== undefined, "expected `parentURL` to be defined");
18157
18161
  throwIfInvalidParentURL(parentURL);
18158
18162
  let parsedParentURL;
18159
18163
  if (parentURL) {
@@ -18215,7 +18219,7 @@ async function loadExternalConfig(externalConfig, configFile) {
18215
18219
  try {
18216
18220
  return require_from_file_default(externalConfig, configFile);
18217
18221
  } catch (error) {
18218
- if (!requireErrorCodesShouldBeIgnored.has(error == null ? void 0 : error.code)) {
18222
+ if (!requireErrorCodesShouldBeIgnored.has(error == null ? undefined : error.code)) {
18219
18223
  throw error;
18220
18224
  }
18221
18225
  }
@@ -18257,7 +18261,7 @@ function loadPrettierConfig(configFile, { shouldCache }) {
18257
18261
  return loadCache.get(configFile);
18258
18262
  }
18259
18263
  function getSearchFunction(stopDirectory) {
18260
- stopDirectory = stopDirectory ? path9__default.resolve(stopDirectory) : void 0;
18264
+ stopDirectory = stopDirectory ? path9__default.resolve(stopDirectory) : undefined;
18261
18265
  if (!searchCache.has(stopDirectory)) {
18262
18266
  const searcher2 = config_searcher_default(stopDirectory);
18263
18267
  const searchFunction = searcher2.search.bind(searcher2);
@@ -18286,7 +18290,7 @@ async function loadPrettierConfig2(file, options8) {
18286
18290
  const shouldCache = options8.useCache;
18287
18291
  let configFile = options8.config;
18288
18292
  if (!configFile) {
18289
- const directory = file ? path9__default.dirname(path9__default.resolve(file)) : void 0;
18293
+ const directory = file ? path9__default.dirname(path9__default.resolve(file)) : undefined;
18290
18294
  configFile = await searchPrettierConfig(directory, { shouldCache });
18291
18295
  }
18292
18296
  if (!configFile) {
@@ -18309,7 +18313,7 @@ async function resolveConfig(fileUrlOrPath, options8) {
18309
18313
  return merged;
18310
18314
  }
18311
18315
  async function resolveConfigFile(fileUrlOrPath) {
18312
- const directory = fileUrlOrPath ? path9__default.dirname(path9__default.resolve(toPath(fileUrlOrPath))) : void 0;
18316
+ const directory = fileUrlOrPath ? path9__default.dirname(path9__default.resolve(toPath(fileUrlOrPath))) : undefined;
18313
18317
  const result = await searchPrettierConfig(directory, { shouldCache: false });
18314
18318
  return result ?? null;
18315
18319
  }
@@ -18332,7 +18336,7 @@ function pathMatchesGlobs(filePath, patterns, excludedPatterns) {
18332
18336
  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
18337
  }
18334
18338
  var stringReplaceAll22 = (isOptionalObject, original, pattern, replacement) => {
18335
- if (isOptionalObject && (original === void 0 || original === null)) {
18339
+ if (isOptionalObject && (original === undefined || original === null)) {
18336
18340
  return;
18337
18341
  }
18338
18342
  if (original.replaceAll) {
@@ -18379,7 +18383,7 @@ async function createSingleIsIgnoredFunction(ignoreFile, withNodeModules) {
18379
18383
  }
18380
18384
  async function createIsIgnoredFunction(ignoreFiles, withNodeModules) {
18381
18385
  if (ignoreFiles.length === 0 && !withNodeModules) {
18382
- ignoreFiles = [void 0];
18386
+ ignoreFiles = [undefined];
18383
18387
  }
18384
18388
  const isIgnoredFunctions = (await Promise.all(ignoreFiles.map((ignoreFile) => createSingleIsIgnoredFunction(ignoreFile, withNodeModules)))).filter(Boolean);
18385
18389
  return (file) => isIgnoredFunctions.some((isIgnored2) => isIgnored2(file));
@@ -18393,7 +18397,7 @@ var import_n_readlines = __toESM2(require_readlines());
18393
18397
  function getInterpreter(file) {
18394
18398
  let fd;
18395
18399
  try {
18396
- fd = fs8__default.openSync(file, "r");
18400
+ fd = fs6.openSync(file, "r");
18397
18401
  } catch {
18398
18402
  return;
18399
18403
  }
@@ -18410,7 +18414,7 @@ function getInterpreter(file) {
18410
18414
  }
18411
18415
  } finally {
18412
18416
  try {
18413
- fs8__default.closeSync(fd);
18417
+ fs6.closeSync(fd);
18414
18418
  } catch {
18415
18419
  }
18416
18420
  }
@@ -18422,13 +18426,13 @@ function getLanguageByFileName(languages2, file) {
18422
18426
  return;
18423
18427
  }
18424
18428
  const basename = getFileBasename(file).toLowerCase();
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)));
18429
+ 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)));
18426
18430
  }
18427
18431
  function getLanguageByLanguageName(languages2, languageName) {
18428
18432
  if (!languageName) {
18429
18433
  return;
18430
18434
  }
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}`));
18435
+ 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}`));
18432
18436
  }
18433
18437
  function getLanguageByInterpreter(languages2, file) {
18434
18438
  if (!file || getFileBasename(file).includes(".")) {
@@ -18438,7 +18442,7 @@ function getLanguageByInterpreter(languages2, file) {
18438
18442
  if (!interpreter) {
18439
18443
  return;
18440
18444
  }
18441
- return languages2.find(({ interpreters }) => interpreters == null ? void 0 : interpreters.includes(interpreter));
18445
+ return languages2.find(({ interpreters }) => interpreters == null ? undefined : interpreters.includes(interpreter));
18442
18446
  }
18443
18447
  function inferParser(options8, fileInfo) {
18444
18448
  const languages2 = options8.plugins.flatMap((plugin) => (
@@ -18446,7 +18450,7 @@ function inferParser(options8, fileInfo) {
18446
18450
  plugin.languages ?? []
18447
18451
  ));
18448
18452
  const language = getLanguageByLanguageName(languages2, fileInfo.language) ?? getLanguageByFileName(languages2, fileInfo.physicalFile) ?? getLanguageByFileName(languages2, fileInfo.file) ?? getLanguageByInterpreter(languages2, fileInfo.physicalFile);
18449
- return language == null ? void 0 : language.parsers[0];
18453
+ return language == null ? undefined : language.parsers[0];
18450
18454
  }
18451
18455
  var infer_parser_default = inferParser;
18452
18456
  async function getFileInfo(file, options8) {
@@ -18469,7 +18473,7 @@ async function getParser(file, options8) {
18469
18473
  if (options8.resolveConfig !== false) {
18470
18474
  config = await resolveConfig(file);
18471
18475
  }
18472
- return (config == null ? void 0 : config.parser) ?? infer_parser_default(options8, { physicalFile: file });
18476
+ return (config == null ? undefined : config.parser) ?? infer_parser_default(options8, { physicalFile: file });
18473
18477
  }
18474
18478
  var get_file_info_default = getFileInfo;
18475
18479
  var import_diff = __toESM2(require_array2());
@@ -18591,7 +18595,7 @@ function traverseDoc2(doc2, onEnter, onExit, shouldTraverseConditionalGroups) {
18591
18595
  if (!docType) {
18592
18596
  throw new invalid_doc_error_default2(doc3);
18593
18597
  }
18594
- if ((onEnter == null ? void 0 : onEnter(doc3)) === false) {
18598
+ if ((onEnter == null ? undefined : onEnter(doc3)) === false) {
18595
18599
  continue;
18596
18600
  }
18597
18601
  switch (docType) {
@@ -18686,7 +18690,7 @@ function flattenDoc(doc2) {
18686
18690
  return { ...doc2, breakContents: flattenDoc(doc2.breakContents), flatContents: flattenDoc(doc2.flatContents) };
18687
18691
  }
18688
18692
  if (doc2.type === DOC_TYPE_GROUP2) {
18689
- return { ...doc2, contents: flattenDoc(doc2.contents), expandedStates: (_a = doc2.expandedStates) == null ? void 0 : _a.map(flattenDoc) };
18693
+ return { ...doc2, contents: flattenDoc(doc2.contents), expandedStates: (_a = doc2.expandedStates) == null ? undefined : _a.map(flattenDoc) };
18690
18694
  }
18691
18695
  if (doc2.type === DOC_TYPE_FILL2) {
18692
18696
  return { type: "fill", parts: doc2.parts.map(flattenDoc) };
@@ -18710,7 +18714,7 @@ function printDocToDebug(doc2) {
18710
18714
  return printed.length === 1 ? printed[0] : `[${printed.join(", ")}]`;
18711
18715
  }
18712
18716
  if (doc3.type === DOC_TYPE_LINE2) {
18713
- const withBreakParent = ((_a = parentParts == null ? void 0 : parentParts[index + 1]) == null ? void 0 : _a.type) === DOC_TYPE_BREAK_PARENT2;
18717
+ const withBreakParent = ((_a = parentParts == null ? undefined : parentParts[index + 1]) == null ? undefined : _a.type) === DOC_TYPE_BREAK_PARENT2;
18714
18718
  if (doc3.literal) {
18715
18719
  return withBreakParent ? "literalline" : "literallineWithoutBreakParent";
18716
18720
  }
@@ -18723,8 +18727,8 @@ function printDocToDebug(doc2) {
18723
18727
  return "line";
18724
18728
  }
18725
18729
  if (doc3.type === DOC_TYPE_BREAK_PARENT2) {
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";
18730
+ const afterHardline = ((_b = parentParts == null ? undefined : parentParts[index - 1]) == null ? undefined : _b.type) === DOC_TYPE_LINE2 && parentParts[index - 1].hard;
18731
+ return afterHardline ? undefined : "breakParent";
18728
18732
  }
18729
18733
  if (doc3.type === DOC_TYPE_TRIM2) {
18730
18734
  return "trim";
@@ -18795,7 +18799,7 @@ function printDocToDebug(doc2) {
18795
18799
  }
18796
18800
  }
18797
18801
  var at2 = (isOptionalObject, object, index) => {
18798
- if (isOptionalObject && (object === void 0 || object === null)) {
18802
+ if (isOptionalObject && (object === undefined || object === null)) {
18799
18803
  return;
18800
18804
  }
18801
18805
  if (Array.isArray(object) || typeof object === "string") {
@@ -19717,7 +19721,7 @@ var AstPath = class {
19717
19721
  let name = null;
19718
19722
  let node = this.stack[stackPointer--];
19719
19723
  for (const predicate of predicates) {
19720
- if (node === void 0) {
19724
+ if (node === undefined) {
19721
19725
  return false;
19722
19726
  }
19723
19727
  let number = null;
@@ -19818,7 +19822,7 @@ function* getDescendants(node, options8) {
19818
19822
  }
19819
19823
  function skip(characters) {
19820
19824
  return (text, startIndex, options8) => {
19821
- const backwards = Boolean(options8 == null ? void 0 : options8.backwards);
19825
+ const backwards = Boolean(options8 == null ? undefined : options8.backwards);
19822
19826
  if (startIndex === false) {
19823
19827
  return false;
19824
19828
  }
@@ -19846,7 +19850,7 @@ var skipSpaces = skip(" ");
19846
19850
  var skipToLineEnd = skip(",; ");
19847
19851
  var skipEverythingButNewLine = skip(/[^\n\r]/);
19848
19852
  function skipNewline(text, startIndex, options8) {
19849
- const backwards = Boolean(options8 == null ? void 0 : options8.backwards);
19853
+ const backwards = Boolean(options8 == null ? undefined : options8.backwards);
19850
19854
  if (startIndex === false) {
19851
19855
  return false;
19852
19856
  }
@@ -19926,7 +19930,7 @@ function getSortedChildNodes(node, options8) {
19926
19930
  if (!canAttachComment) {
19927
19931
  return [];
19928
19932
  }
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));
19933
+ 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));
19930
19934
  childNodes.sort((nodeA, nodeB) => locStart(nodeA) - locStart(nodeB) || locEnd(nodeA) - locEnd(nodeB));
19931
19935
  childNodesCache.set(node, childNodes);
19932
19936
  return childNodes;
@@ -19960,7 +19964,7 @@ function decorateComment(node, comment, options8, enclosingNode) {
19960
19964
  }
19961
19965
  throw new Error("Comment location overlaps with node location");
19962
19966
  }
19963
- if ((enclosingNode == null ? void 0 : enclosingNode.type) === "TemplateLiteral") {
19967
+ if ((enclosingNode == null ? undefined : enclosingNode.type) === "TemplateLiteral") {
19964
19968
  const { quasis } = enclosingNode;
19965
19969
  const commentIndex = findExpressionIndexForComment(quasis, comment, options8);
19966
19970
  if (precedingNode && findExpressionIndexForComment(quasis, precedingNode, options8) !== commentIndex) {
@@ -20105,7 +20109,7 @@ function breakTies(tiesToBreak, options8) {
20105
20109
  assert2.strictEqual(currentCommentPrecedingNode, precedingNode);
20106
20110
  assert2.strictEqual(currentCommentFollowingNode, followingNode);
20107
20111
  const gap = options8.originalText.slice(options8.locEnd(comment), gapEndPos);
20108
- if (((_b = (_a = options8.printer).isGap) == null ? void 0 : _b.call(_a, gap, options8)) ?? /^[\s(]*$/.test(gap)) {
20112
+ if (((_b = (_a = options8.printer).isGap) == null ? undefined : _b.call(_a, gap, options8)) ?? /^[\s(]*$/.test(gap)) {
20109
20113
  gapEndPos = options8.locStart(comment);
20110
20114
  } else {
20111
20115
  break;
@@ -20153,7 +20157,7 @@ function printLeadingComment(path132, options8) {
20153
20157
  const comment = path132.node;
20154
20158
  const parts = [printComment(path132, options8)];
20155
20159
  const { printer: printer2, originalText, locStart, locEnd } = options8;
20156
- const isBlock = (_a = printer2.isBlockComment) == null ? void 0 : _a.call(printer2, comment);
20160
+ const isBlock = (_a = printer2.isBlockComment) == null ? undefined : _a.call(printer2, comment);
20157
20161
  if (isBlock) {
20158
20162
  const lineBreak = has_newline_default(originalText, locEnd(comment)) ? has_newline_default(originalText, locStart(comment), { backwards: true }) ? hardline2 : line22 : " ";
20159
20163
  parts.push(lineBreak);
@@ -20171,12 +20175,12 @@ function printTrailingComment(path132, options8, previousComment) {
20171
20175
  const comment = path132.node;
20172
20176
  const printed = printComment(path132, options8);
20173
20177
  const { printer: printer2, originalText, locStart } = options8;
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 })) {
20178
+ const isBlock = (_a = printer2.isBlockComment) == null ? undefined : _a.call(printer2, comment);
20179
+ if ((previousComment == null ? undefined : previousComment.hasLineSuffix) && !(previousComment == null ? undefined : previousComment.isBlock) || has_newline_default(originalText, locStart(comment), { backwards: true })) {
20176
20180
  const isLineBeforeEmpty = is_previous_line_empty_default(originalText, locStart(comment));
20177
20181
  return { doc: lineSuffix2([hardline2, isLineBeforeEmpty ? hardline2 : "", printed]), isBlock, hasLineSuffix: true };
20178
20182
  }
20179
- if (!isBlock || (previousComment == null ? void 0 : previousComment.hasLineSuffix)) {
20183
+ if (!isBlock || (previousComment == null ? undefined : previousComment.hasLineSuffix)) {
20180
20184
  return { doc: [lineSuffix2([" ", printed]), breakParent2], isBlock, hasLineSuffix: true };
20181
20185
  }
20182
20186
  return { doc: [" ", printed], isBlock, hasLineSuffix: false };
@@ -20196,7 +20200,7 @@ function printCommentsSeparately(path132, options8) {
20196
20200
  let printedTrailingComment;
20197
20201
  path132.each(() => {
20198
20202
  const comment = path132.node;
20199
- if (ignored == null ? void 0 : ignored.has(comment)) {
20203
+ if (ignored == null ? undefined : ignored.has(comment)) {
20200
20204
  return;
20201
20205
  }
20202
20206
  const { leading, trailing } = comment;
@@ -20232,7 +20236,7 @@ function createPrintPreCheckFunction(options8) {
20232
20236
  }
20233
20237
  }
20234
20238
  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": 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." }] } };
20239
+ 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." }] } };
20236
20240
  function getSupportInfo({ plugins = [], showDeprecated = false } = {}) {
20237
20241
  const languages2 = plugins.flatMap((plugin) => plugin.languages ?? []);
20238
20242
  const options8 = [];
@@ -20250,7 +20254,7 @@ function getSupportInfo({ plugins = [], showDeprecated = false } = {}) {
20250
20254
  }
20251
20255
  option.pluginDefaults = Object.fromEntries(plugins.filter((plugin) => {
20252
20256
  var _a;
20253
- return ((_a = plugin.defaultOptions) == null ? void 0 : _a[option.name]) !== void 0;
20257
+ return ((_a = plugin.defaultOptions) == null ? undefined : _a[option.name]) !== undefined;
20254
20258
  }).map((plugin) => [plugin.name, plugin.defaultOptions[option.name]]));
20255
20259
  options8.push(option);
20256
20260
  }
@@ -20265,7 +20269,7 @@ function* collectParsersFromLanguages(parserChoices, languages2, plugins) {
20265
20269
  existingParsers.add(parserName);
20266
20270
  const plugin = plugins.find((plugin2) => plugin2.parsers && Object.prototype.hasOwnProperty.call(plugin2.parsers, parserName));
20267
20271
  let description = language.name;
20268
- if (plugin == null ? void 0 : plugin.name) {
20272
+ if (plugin == null ? undefined : plugin.name) {
20269
20273
  description += ` (plugin: ${plugin.name})`;
20270
20274
  }
20271
20275
  yield { value: parserName, description };
@@ -20305,7 +20309,7 @@ function normalizeOptions(options8, optionInfos, { logger = false, isCLI = false
20305
20309
  const unknown = !passThrough ? (key2, value, options9) => {
20306
20310
  const { _, ...schemas2 } = options9.schemas;
20307
20311
  return levenUnknownHandler(key2, value, { ...options9, schemas: schemas2 });
20308
- } : Array.isArray(passThrough) ? (key2, value) => !passThrough.includes(key2) ? void 0 : { [key2]: value } : (key2, value) => ({ [key2]: value });
20312
+ } : Array.isArray(passThrough) ? (key2, value) => !passThrough.includes(key2) ? undefined : { [key2]: value } : (key2, value) => ({ [key2]: value });
20309
20313
  const schemas = optionInfosToSchemas(optionInfos, { isCLI, FlagSchema });
20310
20314
  const normalizer = new Normalizer(schemas, { logger, unknown, descriptor });
20311
20315
  const shouldSuppressDuplicateDeprecationWarnings = logger !== false;
@@ -20352,7 +20356,7 @@ function optionInfoToSchema(optionInfo, { isCLI, optionInfos, FlagSchema }) {
20352
20356
  break;
20353
20357
  case "choice":
20354
20358
  SchemaConstructor = ChoiceSchema;
20355
- parameters.choices = optionInfo.choices.map((choiceInfo) => (choiceInfo == null ? void 0 : choiceInfo.redirect) ? { ...choiceInfo, redirect: { to: { key: optionInfo.name, value: choiceInfo.redirect } } } : choiceInfo);
20359
+ parameters.choices = optionInfo.choices.map((choiceInfo) => (choiceInfo == null ? undefined : choiceInfo.redirect) ? { ...choiceInfo, redirect: { to: { key: optionInfo.name, value: choiceInfo.redirect } } } : choiceInfo);
20356
20360
  break;
20357
20361
  case "boolean":
20358
20362
  SchemaConstructor = BooleanSchema;
@@ -20370,10 +20374,10 @@ function optionInfoToSchema(optionInfo, { isCLI, optionInfos, FlagSchema }) {
20370
20374
  if (optionInfo.exception) {
20371
20375
  parameters.validate = (value, schema2, utils2) => optionInfo.exception(value) || schema2.validate(value, utils2);
20372
20376
  } else {
20373
- parameters.validate = (value, schema2, utils2) => value === void 0 || schema2.validate(value, utils2);
20377
+ parameters.validate = (value, schema2, utils2) => value === undefined || schema2.validate(value, utils2);
20374
20378
  }
20375
20379
  if (optionInfo.redirect) {
20376
- handlers.redirect = (value) => !value ? void 0 : { to: { key: optionInfo.redirect.option, value: optionInfo.redirect.value } };
20380
+ handlers.redirect = (value) => !value ? undefined : { to: { key: optionInfo.redirect.option, value: optionInfo.redirect.value } };
20377
20381
  }
20378
20382
  if (optionInfo.deprecated) {
20379
20383
  handlers.deprecated = true;
@@ -20396,7 +20400,7 @@ function optionInfoToSchema(optionInfo, { isCLI, optionInfos, FlagSchema }) {
20396
20400
  }
20397
20401
  var normalize_options_default = normalizeOptions;
20398
20402
  var arrayFindLast = (isOptionalObject, array2, callback) => {
20399
- if (isOptionalObject && (array2 === void 0 || array2 === null)) {
20403
+ if (isOptionalObject && (array2 === undefined || array2 === null)) {
20400
20404
  return;
20401
20405
  }
20402
20406
  if (array2.findLast) {
@@ -20454,7 +20458,7 @@ function initPrinter(plugin, astFormat) {
20454
20458
  const printerOrPrinterInitFunction = plugin.printers[astFormat];
20455
20459
  return typeof printerOrPrinterInitFunction === "function" ? printerOrPrinterInitFunction() : printerOrPrinterInitFunction;
20456
20460
  }
20457
- var formatOptionsHiddenDefaults = { astFormat: "estree", printer: {}, originalText: void 0, locStart: null, locEnd: null };
20461
+ var formatOptionsHiddenDefaults = { astFormat: "estree", printer: {}, originalText: undefined, locStart: null, locEnd: null };
20458
20462
  async function normalizeFormatOptions(options8, opts = {}) {
20459
20463
  var _a;
20460
20464
  const rawOptions = { ...options8 };
@@ -20469,19 +20473,19 @@ async function normalizeFormatOptions(options8, opts = {}) {
20469
20473
  }
20470
20474
  }
20471
20475
  const supportOptions = getSupportInfo({ plugins: options8.plugins, showDeprecated: true }).options;
20472
- const defaults = { ...formatOptionsHiddenDefaults, ...Object.fromEntries(supportOptions.filter((optionInfo) => optionInfo.default !== void 0).map((option) => [option.name, option.default])) };
20476
+ const defaults = { ...formatOptionsHiddenDefaults, ...Object.fromEntries(supportOptions.filter((optionInfo) => optionInfo.default !== undefined).map((option) => [option.name, option.default])) };
20473
20477
  const parserPlugin = getParserPluginByParserName(rawOptions.plugins, rawOptions.parser);
20474
20478
  const parser = await initParser(parserPlugin, rawOptions.parser);
20475
20479
  rawOptions.astFormat = parser.astFormat;
20476
20480
  rawOptions.locEnd = parser.locEnd;
20477
20481
  rawOptions.locStart = parser.locStart;
20478
- const printerPlugin = ((_a = parserPlugin.printers) == null ? void 0 : _a[parser.astFormat]) ? parserPlugin : getPrinterPluginByAstFormat(rawOptions.plugins, parser.astFormat);
20482
+ const printerPlugin = ((_a = parserPlugin.printers) == null ? undefined : _a[parser.astFormat]) ? parserPlugin : getPrinterPluginByAstFormat(rawOptions.plugins, parser.astFormat);
20479
20483
  const printer2 = await initPrinter(printerPlugin, parser.astFormat);
20480
20484
  rawOptions.printer = printer2;
20481
- const pluginDefaults = printerPlugin.defaultOptions ? Object.fromEntries(Object.entries(printerPlugin.defaultOptions).filter(([, value]) => value !== void 0)) : {};
20485
+ const pluginDefaults = printerPlugin.defaultOptions ? Object.fromEntries(Object.entries(printerPlugin.defaultOptions).filter(([, value]) => value !== undefined)) : {};
20482
20486
  const mixedDefaults = { ...defaults, ...pluginDefaults };
20483
20487
  for (const [k, value] of Object.entries(mixedDefaults)) {
20484
- if (rawOptions[k] === null || rawOptions[k] === void 0) {
20488
+ if (rawOptions[k] === null || rawOptions[k] === undefined) {
20485
20489
  rawOptions[k] = value;
20486
20490
  }
20487
20491
  }
@@ -20599,11 +20603,11 @@ async function printAstToDoc(ast, options8) {
20599
20603
  const ensurePrintingNode = create_print_pre_check_function_default();
20600
20604
  const embeds = /* @__PURE__ */ new Map();
20601
20605
  await printEmbeddedLanguages(path132, mainPrint, options8, printAstToDoc, embeds);
20602
- const doc2 = await callPluginPrintFunction(path132, options8, mainPrint, void 0, embeds);
20606
+ const doc2 = await callPluginPrintFunction(path132, options8, mainPrint, undefined, embeds);
20603
20607
  ensureAllCommentsPrinted(options8);
20604
20608
  return doc2;
20605
20609
  function mainPrint(selector, args) {
20606
- if (selector === void 0 || selector === path132) {
20610
+ if (selector === undefined || selector === path132) {
20607
20611
  return mainPrintInternal(args);
20608
20612
  }
20609
20613
  if (Array.isArray(selector)) {
@@ -20614,10 +20618,10 @@ async function printAstToDoc(ast, options8) {
20614
20618
  function mainPrintInternal(args) {
20615
20619
  ensurePrintingNode(path132);
20616
20620
  const value = path132.node;
20617
- if (value === void 0 || value === null) {
20621
+ if (value === undefined || value === null) {
20618
20622
  return "";
20619
20623
  }
20620
- const shouldCache = value && typeof value === "object" && args === void 0;
20624
+ const shouldCache = value && typeof value === "object" && args === undefined;
20621
20625
  if (shouldCache && cache3.has(value)) {
20622
20626
  return cache3.get(value);
20623
20627
  }
@@ -20633,7 +20637,7 @@ function callPluginPrintFunction(path132, options8, printPath, args, embeds) {
20633
20637
  const { node } = path132;
20634
20638
  const { printer: printer2 } = options8;
20635
20639
  let doc2;
20636
- if ((_a = printer2.hasPrettierIgnore) == null ? void 0 : _a.call(printer2, path132)) {
20640
+ if ((_a = printer2.hasPrettierIgnore) == null ? undefined : _a.call(printer2, path132)) {
20637
20641
  doc2 = print_ignored_default(path132, options8);
20638
20642
  } else if (embeds.has(node)) {
20639
20643
  doc2 = embeds.get(node);
@@ -20714,7 +20718,7 @@ function dropRootParents(parents) {
20714
20718
  let lastParentIndex = parents.length - 1;
20715
20719
  for (; ; ) {
20716
20720
  const parent = parents[lastParentIndex];
20717
- if ((parent == null ? void 0 : parent.type) === "Program" || (parent == null ? void 0 : parent.type) === "File") {
20721
+ if ((parent == null ? undefined : parent.type) === "Program" || (parent == null ? undefined : parent.type) === "File") {
20718
20722
  lastParentIndex--;
20719
20723
  } else {
20720
20724
  break;
@@ -20785,7 +20789,7 @@ function isSourceElement(opts, node, parentNode) {
20785
20789
  case "espree":
20786
20790
  case "meriyah":
20787
20791
  case "__babel_estree":
20788
- return isJsSourceElement(node.type, parentNode == null ? void 0 : parentNode.type);
20792
+ return isJsSourceElement(node.type, parentNode == null ? undefined : parentNode.type);
20789
20793
  case "json":
20790
20794
  case "json5":
20791
20795
  case "jsonc":
@@ -20847,7 +20851,7 @@ async function coreFormat(originalText, opts, addAlignmentSize = 0) {
20847
20851
  const result = printDocToString2(doc2, opts);
20848
20852
  if (addAlignmentSize > 0) {
20849
20853
  const trimmed = result.formatted.trim();
20850
- if (result.cursorNodeStart !== void 0) {
20854
+ if (result.cursorNodeStart !== undefined) {
20851
20855
  result.cursorNodeStart -= result.formatted.indexOf(trimmed);
20852
20856
  }
20853
20857
  result.formatted = trimmed + convertEndOfLineToChars2(opts.endOfLine);
@@ -21046,7 +21050,7 @@ var languages_evaluate_default4 = [{ "linguistLanguageId": 146, "name": "Angular
21046
21050
  var CATEGORY_HTML = "HTML";
21047
21051
  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
21052
  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": 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"] }];
21053
+ 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"] }];
21050
21054
  var CATEGORY_JAVASCRIPT = "JavaScript";
21051
21055
  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
21056
  var options_default4 = options4;
@@ -21078,7 +21082,7 @@ function createParsersAndPrinters(modules) {
21078
21082
  }
21079
21083
  var options7 = { ...options_default, ...options_default2, ...options_default3, ...options_default4, ...options_default5, ...options_default6 };
21080
21084
  var languages = [...languages_evaluate_default, ...languages_evaluate_default2, ...languages_evaluate_default3, ...languages_evaluate_default4, ...languages_evaluate_default5, ...languages_evaluate_default6, ...languages_evaluate_default7, ...languages_evaluate_default8];
21081
- var { parsers, printers } = createParsersAndPrinters([{ importPlugin: () => import('./acorn-LQZJTRX7.js'), parsers: ["acorn", "espree"] }, { importPlugin: () => import('./angular-VWUX447C.js'), parsers: ["__ng_action", "__ng_binding", "__ng_interpolation", "__ng_directive"] }, { importPlugin: () => import('./babel-7BWEVLBS.js'), parsers: ["babel", "babel-flow", "babel-ts", "__js_expression", "__ts_expression", "__vue_expression", "__vue_ts_expression", "__vue_event_binding", "__vue_ts_event_binding", "__babel_estree", "json", "json5", "jsonc", "json-stringify"] }, { importPlugin: () => import('./estree-PI6JMQNR.js'), printers: ["estree", "estree-json"] }, { importPlugin: () => import('./flow-AP4DEOL5.js'), parsers: ["flow"] }, { importPlugin: () => import('./glimmer-LM2ZFC5U.js'), parsers: ["glimmer"], printers: ["glimmer"] }, { importPlugin: () => import('./graphql-U5CPDQKQ.js'), parsers: ["graphql"], printers: ["graphql"] }, { importPlugin: () => import('./html-FNGHE355.js'), parsers: ["html", "angular", "vue", "lwc"], printers: ["html"] }, { importPlugin: () => import('./markdown-HUHOYR5Q.js'), parsers: ["markdown", "mdx", "remark"], printers: ["mdast"] }, { importPlugin: () => import('./meriyah-WP7UQXC7.js'), parsers: ["meriyah"] }, { importPlugin: () => import('./postcss-JMNG34CL.js'), parsers: ["css", "less", "scss"], printers: ["postcss"] }, { importPlugin: () => import('./typescript-A4QI3FB6.js'), parsers: ["typescript"] }, { importPlugin: () => import('./yaml-IT3UOTAK.js'), parsers: ["yaml"], printers: ["yaml"] }]);
21085
+ var { parsers, printers } = createParsersAndPrinters([{ importPlugin: () => import('./acorn-RXMSUCXL.js'), parsers: ["acorn", "espree"] }, { importPlugin: () => import('./angular-ZXAN5BMN.js'), parsers: ["__ng_action", "__ng_binding", "__ng_interpolation", "__ng_directive"] }, { importPlugin: () => import('./babel-TI7T67T2.js'), parsers: ["babel", "babel-flow", "babel-ts", "__js_expression", "__ts_expression", "__vue_expression", "__vue_ts_expression", "__vue_event_binding", "__vue_ts_event_binding", "__babel_estree", "json", "json5", "jsonc", "json-stringify"] }, { importPlugin: () => import('./estree-CSIG7D6Y.js'), printers: ["estree", "estree-json"] }, { importPlugin: () => import('./flow-NUNWZLRW.js'), parsers: ["flow"] }, { importPlugin: () => import('./glimmer-GYUSOBQY.js'), parsers: ["glimmer"], printers: ["glimmer"] }, { importPlugin: () => import('./graphql-OALHBC5M.js'), parsers: ["graphql"], printers: ["graphql"] }, { importPlugin: () => import('./html-4RLNYFM4.js'), parsers: ["html", "angular", "vue", "lwc"], printers: ["html"] }, { importPlugin: () => import('./markdown-MRACSGE5.js'), parsers: ["markdown", "mdx", "remark"], printers: ["mdast"] }, { importPlugin: () => import('./meriyah-LVMHXIGF.js'), parsers: ["meriyah"] }, { importPlugin: () => import('./postcss-A2ITI5N4.js'), parsers: ["css", "less", "scss"], printers: ["postcss"] }, { importPlugin: () => import('./typescript-BMNHHGAA.js'), parsers: ["typescript"] }, { importPlugin: () => import('./yaml-XQ236J4T.js'), parsers: ["yaml"], printers: ["yaml"] }]);
21082
21086
  function loadBuiltinPlugins() {
21083
21087
  return [builtin_plugins_proxy_exports];
21084
21088
  }
@@ -21408,12 +21412,12 @@ async function generatePerActionDataFiles({
21408
21412
  ontology: enhancedOntology,
21409
21413
  forInternalUse = false
21410
21414
  }) {
21411
- const outDir = path9__default.join(rootOutDir, "ontology", "actions");
21415
+ const outDir = path19__default.join(rootOutDir, "ontology", "actions");
21412
21416
  await fs9.mkdir(outDir, {
21413
21417
  recursive: true
21414
21418
  });
21415
21419
  await Promise.all(Object.values(enhancedOntology.actionTypes).map(async (action) => {
21416
- const currentFilePath = path9__default.join("ontology", "actions", `${action.shortApiName}.ts`);
21420
+ const currentFilePath = path19__default.join("ontology", "actions", `${action.shortApiName}.ts`);
21417
21421
  const uniqueApiNamesArray = extractReferencedObjectsFromAction(action.raw);
21418
21422
  const uniqueApiNames = new Set(uniqueApiNamesArray);
21419
21423
  stringUnionFrom([...uniqueApiNames]);
@@ -21430,7 +21434,7 @@ async function generatePerActionDataFiles({
21430
21434
  ${entries.map(([key2, value]) => {
21431
21435
  return `"${key2}": {
21432
21436
  ${stringify(value, {
21433
- description: (value2, d) => value2 ? d(value2) : void 0,
21437
+ description: (value2, d) => value2 ? d(value2) : undefined,
21434
21438
  // trick to remove undefineds
21435
21439
  type: (type2) => {
21436
21440
  if (typeof type2 === "string") {
@@ -21447,7 +21451,7 @@ async function generatePerActionDataFiles({
21447
21451
  } else if (type2.type === "struct") {
21448
21452
  return `ActionMetadata.DataType.Struct<${JSON.stringify(type2.struct)}>`;
21449
21453
  }
21450
- return void 0;
21454
+ return undefined;
21451
21455
  }
21452
21456
  })}
21453
21457
  }`;
@@ -21498,8 +21502,8 @@ async function generatePerActionDataFiles({
21498
21502
  }
21499
21503
  }
21500
21504
  }
21501
- const imports = getObjectImports(referencedObjectDefs, void 0, currentFilePath, true);
21502
- await fs9.writeFile(path9__default.join(rootOutDir, currentFilePath), await formatTs(`
21505
+ const imports = getObjectImports(referencedObjectDefs, undefined, currentFilePath, true);
21506
+ await fs9.writeFile(path19__default.join(rootOutDir, currentFilePath), await formatTs(`
21503
21507
  import type {
21504
21508
  ActionDefinition,
21505
21509
  ActionMetadata,
@@ -21558,12 +21562,12 @@ async function generatePerActionDataFiles({
21558
21562
  signatures: ${action.shortApiName}.Signatures;
21559
21563
  },
21560
21564
  ${stringify(fullActionDef, {
21561
- "description": () => void 0,
21562
- "displayName": () => void 0,
21563
- "modifiedEntities": () => void 0,
21564
- "parameters": () => void 0,
21565
- "rid": () => void 0,
21566
- "status": () => void 0
21565
+ "description": () => undefined,
21566
+ "displayName": () => undefined,
21567
+ "modifiedEntities": () => undefined,
21568
+ "parameters": () => undefined,
21569
+ "rid": () => undefined,
21570
+ "status": () => undefined
21567
21571
  })}
21568
21572
  osdkMetadata: typeof $osdkMetadata;
21569
21573
  }
@@ -21574,12 +21578,12 @@ async function generatePerActionDataFiles({
21574
21578
  return ` export const ${action.shortApiName}: ${action.shortApiName} =
21575
21579
  {
21576
21580
  ${stringify(fullActionDef, {
21577
- "description": () => void 0,
21578
- "displayName": () => void 0,
21579
- "modifiedEntities": () => void 0,
21580
- "parameters": () => void 0,
21581
- "rid": () => void 0,
21582
- "status": () => void 0
21581
+ "description": () => undefined,
21582
+ "displayName": () => undefined,
21583
+ "modifiedEntities": () => undefined,
21584
+ "parameters": () => undefined,
21585
+ "rid": () => undefined,
21586
+ "status": () => undefined
21583
21587
  })},
21584
21588
  osdkMetadata: $osdkMetadata
21585
21589
  }
@@ -21587,8 +21591,8 @@ async function generatePerActionDataFiles({
21587
21591
  }()}
21588
21592
  `));
21589
21593
  }));
21590
- const indexFileRelPath = path9__default.join("ontology", "actions.ts");
21591
- await fs9.writeFile(path9__default.join(rootOutDir, indexFileRelPath), await formatTs(`
21594
+ const indexFileRelPath = path19__default.join("ontology", "actions.ts");
21595
+ await fs9.writeFile(path19__default.join(rootOutDir, indexFileRelPath), await formatTs(`
21592
21596
  ${Object.values(enhancedOntology.actionTypes).map((action) => {
21593
21597
  const exportConstLine = `export {${action.shortApiName} } from "${action.getImportPathRelTo(indexFileRelPath)}";`;
21594
21598
  return exportConstLine;
@@ -21633,7 +21637,7 @@ function extractReferencedObjectsFromActionParameter(actionParameter) {
21633
21637
  case "integer":
21634
21638
  case "long":
21635
21639
  case "timestamp":
21636
- return void 0;
21640
+ return undefined;
21637
21641
  }
21638
21642
  }
21639
21643
 
@@ -21910,9 +21914,9 @@ function __UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst(interfaceDef, ontology,
21910
21914
  }
21911
21915
  for (const apiName of Object.keys(parent.properties)) {
21912
21916
  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() : void 0;
21917
+ !(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;
21914
21918
  } 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() : void 0;
21919
+ !(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;
21916
21920
  }
21917
21921
  mergedProperties[apiName] = parent.properties[apiName];
21918
21922
  }
@@ -21995,13 +21999,13 @@ async function generatePerInterfaceDataFiles({
21995
21999
  importExt,
21996
22000
  forInternalUse
21997
22001
  }) {
21998
- const interfacesDir = path9__default.join(outDir, "ontology", "interfaces");
22002
+ const interfacesDir = path19__default.join(outDir, "ontology", "interfaces");
21999
22003
  await fs9.mkdir(interfacesDir, {
22000
22004
  recursive: true
22001
22005
  });
22002
22006
  for (const obj of Object.values(ontology.interfaceTypes)) {
22003
22007
  if (obj instanceof ForeignType) continue;
22004
- await fs9.writeFile(path9__default.join(interfacesDir, `${obj.shortApiName}.ts`), await formatTs(`
22008
+ await fs9.writeFile(path19__default.join(interfacesDir, `${obj.shortApiName}.ts`), await formatTs(`
22005
22009
  import type { PropertyDef as $PropertyDef } from "${forInternalUse ? "@osdk/api" : "@osdk/client"}";
22006
22010
  import { $osdkMetadata } from "../../OntologyMetadata${importExt}";
22007
22011
  ${__UNSTABLE_wireInterfaceTypeV2ToSdkObjectConst(obj, ontology, true, forInternalUse)}
@@ -22022,13 +22026,13 @@ async function generatePerObjectDataFiles(ctx) {
22022
22026
  ontology,
22023
22027
  importExt
22024
22028
  } = ctx;
22025
- await fs9.mkdir(path9__default.join(outDir, "ontology", "objects"), {
22029
+ await fs9.mkdir(path19__default.join(outDir, "ontology", "objects"), {
22026
22030
  recursive: true
22027
22031
  });
22028
22032
  for (const obj of Object.values(ontology.objectTypes)) {
22029
22033
  if (obj instanceof ForeignType) continue;
22030
- const relPath = path9__default.join(".", "ontology", `objects`, `${obj.shortApiName}.ts`);
22031
- const outFilePath = path9__default.join(outDir, relPath);
22034
+ const relPath = path19__default.join(".", "ontology", `objects`, `${obj.shortApiName}.ts`);
22035
+ const outFilePath = path19__default.join(outDir, relPath);
22032
22036
  await fs9.writeFile(outFilePath, await formatTs(`
22033
22037
  import type { PropertyDef as $PropertyDef } from "${ctx.forInternalUse ? "@osdk/api" : "@osdk/client"}";
22034
22038
  import { $osdkMetadata } from "../../OntologyMetadata${importExt}";
@@ -22036,7 +22040,7 @@ async function generatePerObjectDataFiles(ctx) {
22036
22040
  ${wireObjectTypeV2ToSdkObjectConstV2(obj.raw, ctx, relPath)}
22037
22041
  `));
22038
22042
  }
22039
- await fs9.writeFile(path9__default.join(outDir, "ontology", "objects.ts"), await formatTs(`
22043
+ await fs9.writeFile(path19__default.join(outDir, "ontology", "objects.ts"), await formatTs(`
22040
22044
  ${Object.values(ctx.ontology.objectTypes).filter((o) => o instanceof EnhancedObjectType).map((objType) => `export {${objType.shortApiName}} from "./objects/${objType.shortApiName}${importExt}";`).join("\n")}
22041
22045
  ${Object.keys(ontology.objectTypes).length === 0 ? "export {};" : ""}
22042
22046
  `));
@@ -22084,6 +22088,7 @@ function getObjectTypesFromQueryDataType(dataType, types) {
22084
22088
  case "threeDimensionalAggregation":
22085
22089
  case "timestamp":
22086
22090
  case "twoDimensionalAggregation":
22091
+ case "entrySet":
22087
22092
  case "unsupported":
22088
22093
  return;
22089
22094
  default:
@@ -22111,8 +22116,8 @@ async function generatePerQueryDataFilesV2({
22111
22116
  importExt = "",
22112
22117
  forInternalUse = false
22113
22118
  }) {
22114
- const relOutDir = path9__default.join(".", "ontology", "queries");
22115
- const outDir = path9__default.join(rootOutDir, "ontology", "queries");
22119
+ const relOutDir = path19__default.join(".", "ontology", "queries");
22120
+ const outDir = path19__default.join(rootOutDir, "ontology", "queries");
22116
22121
  await fs9.mkdir(outDir, {
22117
22122
  recursive: true
22118
22123
  });
@@ -22125,14 +22130,14 @@ async function generatePerQueryDataFilesV2({
22125
22130
  `));
22126
22131
  }
22127
22132
  async function generateV2QueryFile(fs9, outDir, relOutDir, query, importExt, ontology, forInternalUse) {
22128
- const relFilePath = path9__default.join(relOutDir, `${query.shortApiName}.ts`);
22133
+ const relFilePath = path19__default.join(relOutDir, `${query.shortApiName}.ts`);
22129
22134
  const objectTypes = getObjectTypeApiNamesFromQuery(query);
22130
22135
  const objectTypeObjects = new Set(objectTypes.map((o) => ontology.requireObjectType(o)));
22131
22136
  const importObjects = getObjectImports(objectTypeObjects, "", relFilePath, true);
22132
22137
  const baseProps = deleteUndefineds(wireQueryTypeV2ToSdkQueryDefinitionNoParams(query.raw));
22133
22138
  const outputBase = deleteUndefineds(wireQueryDataTypeToQueryDataTypeDefinition(query.output));
22134
22139
  objectTypes.length > 0 ? objectTypes.map((apiNameObj) => `"${apiNameObj}"`).join("|") : "never";
22135
- await fs9.writeFile(path9__default.join(outDir, `${query.shortApiName}.ts`), await formatTs(`
22140
+ await fs9.writeFile(path19__default.join(outDir, `${query.shortApiName}.ts`), await formatTs(`
22136
22141
  import type { QueryDefinition , QueryParam, QueryResult, VersionBound} from "${forInternalUse ? "@osdk/api" : "@osdk/client"}";
22137
22142
  import type { $ExpectedClientVersion } from "../../OntologyMetadata${importExt}";
22138
22143
  import { $osdkMetadata} from "../../OntologyMetadata${importExt}";
@@ -22185,9 +22190,9 @@ async function generateV2QueryFile(fs9, outDir, relOutDir, query, importExt, ont
22185
22190
  signature: ${query.shortApiName}.Signature;
22186
22191
  },
22187
22192
  ${stringify(baseProps, {
22188
- "description": () => void 0,
22189
- "displayName": () => void 0,
22190
- "rid": () => void 0
22193
+ "description": () => undefined,
22194
+ "displayName": () => undefined,
22195
+ "rid": () => undefined
22191
22196
  })},
22192
22197
  osdkMetadata: typeof $osdkMetadata;
22193
22198
  }
@@ -22195,9 +22200,9 @@ async function generateV2QueryFile(fs9, outDir, relOutDir, query, importExt, ont
22195
22200
 
22196
22201
  export const ${query.shortApiName}: ${query.definitionIdentifier} = {
22197
22202
  ${stringify(baseProps, {
22198
- "description": () => void 0,
22199
- "displayName": () => void 0,
22200
- "rid": () => void 0
22203
+ "description": () => undefined,
22204
+ "displayName": () => undefined,
22205
+ "rid": () => undefined
22201
22206
  })},
22202
22207
  osdkMetadata: $osdkMetadata
22203
22208
  };
@@ -22300,7 +22305,7 @@ async function generateRootIndexTsFile({
22300
22305
  ontologyApiNamespace,
22301
22306
  ontology
22302
22307
  }) {
22303
- await fs9.writeFile(path9__default.join(outDir, "index.ts"), await formatTs(`export {${helper(ontology.actionTypes)}} from "./ontology/actions${importExt}";
22308
+ await fs9.writeFile(path19__default.join(outDir, "index.ts"), await formatTs(`export {${helper(ontology.actionTypes)}} from "./ontology/actions${importExt}";
22304
22309
  export * as $Actions from "./ontology/actions${importExt}";
22305
22310
  export {${helper(ontology.interfaceTypes)}} from "./ontology/interfaces${importExt}";
22306
22311
  export * as $Interfaces from "./ontology/interfaces${importExt}";
@@ -22354,24 +22359,24 @@ async function generateClientSdkPackage(packageName, packageVersion, sdkVersion,
22354
22359
  throw new Error("This generator version does not support generating v1 sdks");
22355
22360
  }
22356
22361
  for (const packageType of ["module", "commonjs"]) {
22357
- const outDir = path9.join(baseOutDir, "dist", packageType);
22362
+ const outDir = path19.join(baseOutDir, "dist", packageType);
22358
22363
  await generateClientSdkVersionTwoPointZero(ontology, `typescript-sdk/${packageVersion} osdk-cli/${cliVersion}`, minimalFs, outDir, packageType, externalObjects, externalInterfaces);
22359
22364
  await fs8.promises.mkdir(outDir, {
22360
22365
  recursive: true
22361
22366
  });
22362
- await writeJson(minimalFs, path9.join(outDir, "package.json"), {
22367
+ await writeJson(minimalFs, path19.join(outDir, "package.json"), {
22363
22368
  type: packageType
22364
22369
  });
22365
- await writeJson(minimalFs, path9.join(outDir, `tsconfig.json`), {
22370
+ await writeJson(minimalFs, path19.join(outDir, `tsconfig.json`), {
22366
22371
  compilerOptions: getTsCompilerOptions(packageType)
22367
22372
  });
22368
22373
  }
22369
- await writeJson(minimalFs, path9.join(baseOutDir, "package.json"), getPackageJsonContents(packageName, packageVersion, dependencyVersions));
22370
- await minimalFs.mkdir(path9.join(baseOutDir, "ontology"), {
22374
+ await writeJson(minimalFs, path19.join(baseOutDir, "package.json"), getPackageJsonContents(packageName, packageVersion, dependencyVersions));
22375
+ await minimalFs.mkdir(path19.join(baseOutDir, "ontology"), {
22371
22376
  recursive: true
22372
22377
  });
22373
- await minimalFs.writeFile(path9.join(baseOutDir, "ontology", "objects.js"), `module.exports = require("../../dist/module/ontology/objects")`);
22374
- await minimalFs.writeFile(path9.join(baseOutDir, "ontology", "objects.d.ts"), `export * from "../dist/module/ontology/objects"`);
22378
+ await minimalFs.writeFile(path19.join(baseOutDir, "ontology", "objects.js"), `module.exports = require("../../dist/module/ontology/objects")`);
22379
+ await minimalFs.writeFile(path19.join(baseOutDir, "ontology", "objects.d.ts"), `export * from "../dist/module/ontology/objects"`);
22375
22380
  }
22376
22381
  function getTsCompilerOptions(packageType) {
22377
22382
  const commonTsconfig = {
@@ -22450,7 +22455,7 @@ function getPackageJsonContents(name, version, dependencyVersions) {
22450
22455
  };
22451
22456
  }
22452
22457
  async function writeJson(minimalFs, filePath, body) {
22453
- return void await minimalFs.writeFile(filePath, JSON.stringify(body, void 0, 2) + "\n");
22458
+ return void await minimalFs.writeFile(filePath, JSON.stringify(body, undefined, 2) + "\n");
22454
22459
  }
22455
22460
 
22456
22461
  // ../shared.client.impl/build/esm/index.js
@@ -22485,7 +22490,7 @@ function createSharedClientContext(baseUrl, tokenProvider, userAgent, fetchFn =
22485
22490
 
22486
22491
  // ../cli.cmd.typescript/build/esm/generate/handleGenerate.mjs
22487
22492
  var import_fast_deep_equal2 = __toESM(require_fast_deep_equal(), 1);
22488
- var USER_AGENT = `osdk-cli.cmd.typescript/${"0.26.0-beta.6"}`;
22493
+ var USER_AGENT = `osdk-cli.cmd.typescript/${"0.26.0-beta.7"}`;
22489
22494
  async function handleGenerate(args) {
22490
22495
  let success = false;
22491
22496
  if (args.ontologyPath) {
@@ -22621,7 +22626,7 @@ async function generateClientSdk(ontology, args) {
22621
22626
  }
22622
22627
  return true;
22623
22628
  }
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);
22629
+ await generateClientSdkPackage(args.packageName, args.version, args.beta ? "2.0" : "1.1", args.outDir, ontology, minimalFs, await getDependencyVersions(), "0.26.0-beta.7", args.externalObjects, args.externalInterfaces);
22625
22630
  return true;
22626
22631
  } catch (e) {
22627
22632
  consola.error("OSDK generation failed", e.message, e.stack);
@@ -22648,15 +22653,15 @@ async function getDependencyVersions() {
22648
22653
  typescriptVersion,
22649
22654
  tslibVersion,
22650
22655
  areTheTypesWrongVersion,
22651
- osdkApiVersion: `^${"2.2.0-beta.6"}`,
22652
- osdkClientVersion: `^${"2.2.0-beta.6"}`,
22656
+ osdkApiVersion: `^${"2.2.0-beta.7"}`,
22657
+ osdkClientVersion: `^${"2.2.0-beta.7"}`,
22653
22658
  osdkLegacyClientVersion
22654
22659
  };
22655
22660
  }
22656
22661
  var cachedOurPackageJsonPath;
22657
22662
  async function getOurPackageJsonPath() {
22658
22663
  if (cachedOurPackageJsonPath) return cachedOurPackageJsonPath;
22659
- const __dir = path9.dirname(fileURLToPath(import.meta.url));
22664
+ const __dir = path19.dirname(fileURLToPath$1(import.meta.url));
22660
22665
  const ourPackageJsonPath = await findUp("package.json", {
22661
22666
  cwd: __dir
22662
22667
  });
@@ -22688,5 +22693,5 @@ function createNormalFs() {
22688
22693
  }
22689
22694
 
22690
22695
  export { getDependencyVersions, handleGenerate, updateVersionsIfTheyExist };
22691
- //# sourceMappingURL=handleGenerate-KB4B5KME.js.map
22692
- //# sourceMappingURL=handleGenerate-KB4B5KME.js.map
22696
+ //# sourceMappingURL=handleGenerate-YLHDBKBX.js.map
22697
+ //# sourceMappingURL=handleGenerate-YLHDBKBX.js.map