@storm-software/linting-tools 1.119.24 → 1.119.25

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 (100) hide show
  1. package/README.md +1 -1
  2. package/{dist/chunk-YGKJSNX7.js → bin/chunk-32XQHFGE.js} +2 -2
  3. package/{dist/chunk-ZDJ6A2LW.cjs → bin/chunk-3UGTJRWY.cjs} +152 -152
  4. package/{dist/chunk-SG7EAXX4.cjs → bin/chunk-4RF6THIX.cjs} +138 -138
  5. package/{dist/chunk-EF2QNWS4.cjs → bin/chunk-C22CM2QI.cjs} +243 -231
  6. package/bin/{chunk-2KDMIKWU.cjs → chunk-EIO5QEUI.cjs} +11 -11
  7. package/{dist/chunk-YPA2QUMR.cjs → bin/chunk-I2JYD3H6.cjs} +24 -19
  8. package/{dist/chunk-SQCSB444.cjs → bin/chunk-JMC2RKOQ.cjs} +32 -32
  9. package/{dist/chunk-NBPTD76Q.js → bin/chunk-K6MMXF46.js} +2 -2
  10. package/{dist/chunk-A4TZZH23.js → bin/chunk-LIJ5WV4A.js} +2 -2
  11. package/bin/{chunk-2HPUSEOW.cjs → chunk-LKG4W7DJ.cjs} +2 -2
  12. package/bin/{chunk-HEZ4RO23.js → chunk-MABAGCQ6.js} +41 -29
  13. package/{dist/chunk-PQ5PUA5Y.cjs → bin/chunk-MMZUGSMN.cjs} +40 -40
  14. package/bin/{chunk-2IE4DLUN.js → chunk-NDKCDPQO.js} +1 -1
  15. package/bin/{chunk-NJWQ5DAN.js → chunk-NDQ2CW4A.js} +2 -2
  16. package/bin/{chunk-BPGBQ4AU.cjs → chunk-PDUGQAZO.cjs} +388 -388
  17. package/bin/{chunk-BLCDYU3V.js → chunk-RBBW5SMK.js} +1 -1
  18. package/{dist/chunk-F6SMOBG3.js → bin/chunk-RHDLCCAJ.js} +20 -15
  19. package/bin/{chunk-FH3GDOOO.js → chunk-ULL57BC3.js} +2 -2
  20. package/bin/{chunk-VO3ZJK3W.js → chunk-ZJGO7CH5.js} +2 -2
  21. package/bin/{chunk-B5GG3XCQ.cjs → chunk-ZTPDBXJ7.cjs} +44 -44
  22. package/bin/{dist-RWR2JNAL.js → dist-LKHUGSWR.js} +5 -5
  23. package/bin/{dist-OHY4PLS2.cjs → dist-NMN4MHNO.cjs} +989 -989
  24. package/{dist/dist-7LMLAWUP.cjs → bin/dist-UIFUFPNF.cjs} +11 -11
  25. package/bin/{dist-VFELXY4D.js → dist-VQR5XTRX.js} +8 -8
  26. package/{dist/esm-HY37SH6N.js → bin/esm-RKT3LFXX.js} +1 -1
  27. package/{dist/esm-XU4H3B2N.cjs → bin/esm-U35YC6KQ.cjs} +46 -46
  28. package/bin/json5-CWKRIV7X.js +10 -0
  29. package/bin/json5-XI6JKVFM.cjs +10 -0
  30. package/{dist/jsonc-KYPEKHOV.js → bin/jsonc-6CGHMLZO.js} +3 -3
  31. package/bin/jsonc-BYJLN6Q4.cjs +15 -0
  32. package/bin/lint.cjs +31839 -31612
  33. package/bin/lint.js +5153 -4925
  34. package/{dist/multipart-parser-5HBMD6JO.js → bin/multipart-parser-LGBOR4F3.js} +2 -2
  35. package/{dist/multipart-parser-CF3BQORX.cjs → bin/multipart-parser-TTCELASL.cjs} +11 -11
  36. package/bin/{package-json-V5Z5DK5X.js → package-json-ITRNRAWE.js} +250 -153
  37. package/{dist/package-json-6XHUARKD.cjs → bin/package-json-L3F3J6R4.cjs} +487 -390
  38. package/bin/toml-I3FOMOEL.js +10 -0
  39. package/bin/toml-YQ3ON7DN.cjs +10 -0
  40. package/{dist/utils-DUARF7MU.js → bin/utils-ITF452JH.js} +3 -3
  41. package/bin/{utils-ZLRC2VXJ.cjs → utils-ZQ55RYQ3.cjs} +11 -11
  42. package/bin/yaml-EMLF46N6.js +10 -0
  43. package/bin/yaml-WRJ2JXLS.cjs +10 -0
  44. package/{bin/chunk-YGKJSNX7.js → dist/chunk-32XQHFGE.js} +2 -2
  45. package/{bin/chunk-ZDJ6A2LW.cjs → dist/chunk-3UGTJRWY.cjs} +152 -152
  46. package/{bin/chunk-SG7EAXX4.cjs → dist/chunk-4RF6THIX.cjs} +138 -138
  47. package/{bin/chunk-EF2QNWS4.cjs → dist/chunk-C22CM2QI.cjs} +243 -231
  48. package/dist/{chunk-2KDMIKWU.cjs → chunk-EIO5QEUI.cjs} +11 -11
  49. package/{bin/chunk-YPA2QUMR.cjs → dist/chunk-I2JYD3H6.cjs} +24 -19
  50. package/{bin/chunk-SQCSB444.cjs → dist/chunk-JMC2RKOQ.cjs} +32 -32
  51. package/{bin/chunk-NBPTD76Q.js → dist/chunk-K6MMXF46.js} +2 -2
  52. package/{bin/chunk-A4TZZH23.js → dist/chunk-LIJ5WV4A.js} +2 -2
  53. package/dist/{chunk-2HPUSEOW.cjs → chunk-LKG4W7DJ.cjs} +2 -2
  54. package/dist/{chunk-HEZ4RO23.js → chunk-MABAGCQ6.js} +41 -29
  55. package/{bin/chunk-PQ5PUA5Y.cjs → dist/chunk-MMZUGSMN.cjs} +40 -40
  56. package/dist/{chunk-2IE4DLUN.js → chunk-NDKCDPQO.js} +1 -1
  57. package/dist/{chunk-NJWQ5DAN.js → chunk-NDQ2CW4A.js} +2 -2
  58. package/dist/{chunk-BPGBQ4AU.cjs → chunk-PDUGQAZO.cjs} +388 -388
  59. package/dist/{chunk-BLCDYU3V.js → chunk-RBBW5SMK.js} +1 -1
  60. package/{bin/chunk-F6SMOBG3.js → dist/chunk-RHDLCCAJ.js} +20 -15
  61. package/dist/{chunk-FH3GDOOO.js → chunk-ULL57BC3.js} +2 -2
  62. package/dist/{chunk-VO3ZJK3W.js → chunk-ZJGO7CH5.js} +2 -2
  63. package/dist/{chunk-B5GG3XCQ.cjs → chunk-ZTPDBXJ7.cjs} +44 -44
  64. package/dist/{dist-RWR2JNAL.js → dist-LKHUGSWR.js} +5 -5
  65. package/dist/{dist-OHY4PLS2.cjs → dist-NMN4MHNO.cjs} +989 -989
  66. package/{bin/dist-7LMLAWUP.cjs → dist/dist-UIFUFPNF.cjs} +11 -11
  67. package/dist/{dist-VFELXY4D.js → dist-VQR5XTRX.js} +8 -8
  68. package/{bin/esm-HY37SH6N.js → dist/esm-RKT3LFXX.js} +1 -1
  69. package/{bin/esm-XU4H3B2N.cjs → dist/esm-U35YC6KQ.cjs} +46 -46
  70. package/dist/index.cjs +31834 -31607
  71. package/dist/index.js +5153 -4925
  72. package/dist/json5-CWKRIV7X.js +10 -0
  73. package/dist/json5-XI6JKVFM.cjs +10 -0
  74. package/{bin/jsonc-KYPEKHOV.js → dist/jsonc-6CGHMLZO.js} +3 -3
  75. package/dist/jsonc-BYJLN6Q4.cjs +15 -0
  76. package/{bin/multipart-parser-5HBMD6JO.js → dist/multipart-parser-LGBOR4F3.js} +2 -2
  77. package/{bin/multipart-parser-CF3BQORX.cjs → dist/multipart-parser-TTCELASL.cjs} +11 -11
  78. package/dist/{package-json-V5Z5DK5X.js → package-json-ITRNRAWE.js} +250 -153
  79. package/{bin/package-json-6XHUARKD.cjs → dist/package-json-L3F3J6R4.cjs} +487 -390
  80. package/dist/toml-I3FOMOEL.js +10 -0
  81. package/dist/toml-YQ3ON7DN.cjs +10 -0
  82. package/{bin/utils-DUARF7MU.js → dist/utils-ITF452JH.js} +3 -3
  83. package/dist/{utils-ZLRC2VXJ.cjs → utils-ZQ55RYQ3.cjs} +11 -11
  84. package/dist/yaml-EMLF46N6.js +10 -0
  85. package/dist/yaml-WRJ2JXLS.cjs +10 -0
  86. package/package.json +1 -1
  87. package/bin/json5-3VVARTPN.cjs +0 -10
  88. package/bin/json5-WUIP5FMS.js +0 -10
  89. package/bin/jsonc-IS6EPVRJ.cjs +0 -15
  90. package/bin/toml-BAOM6BGG.js +0 -10
  91. package/bin/toml-JQMR5ASK.cjs +0 -10
  92. package/bin/yaml-LF4MDF3I.cjs +0 -10
  93. package/bin/yaml-TI2L6CZN.js +0 -10
  94. package/dist/json5-3VVARTPN.cjs +0 -10
  95. package/dist/json5-WUIP5FMS.js +0 -10
  96. package/dist/jsonc-IS6EPVRJ.cjs +0 -15
  97. package/dist/toml-BAOM6BGG.js +0 -10
  98. package/dist/toml-JQMR5ASK.cjs +0 -10
  99. package/dist/yaml-LF4MDF3I.cjs +0 -10
  100. package/dist/yaml-TI2L6CZN.js +0 -10
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  h,
3
3
  x
4
- } from "./chunk-NJWQ5DAN.js";
4
+ } from "./chunk-NDQ2CW4A.js";
5
5
  import {
6
6
  __name,
7
7
  init_esm_shims
8
- } from "./chunk-FH3GDOOO.js";
8
+ } from "./chunk-ULL57BC3.js";
9
9
 
10
10
  // ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/index.mjs
11
11
  init_esm_shims();
@@ -277,7 +277,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
277
277
  }
278
278
  });
279
279
 
280
- // ../../node_modules/.pnpm/ufo@1.5.4/node_modules/ufo/dist/index.mjs
280
+ // ../../node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.mjs
281
281
  init_esm_shims();
282
282
  var r = String.fromCharCode;
283
283
  var TRAILING_SLASH_RE = /\/$|\/\?|\/#/;
@@ -299,7 +299,7 @@ function withTrailingSlash(input = "", respectQueryAndFragment) {
299
299
  let path2 = input;
300
300
  let fragment = "";
301
301
  const fragmentIndex = input.indexOf("#");
302
- if (fragmentIndex >= 0) {
302
+ if (fragmentIndex !== -1) {
303
303
  path2 = input.slice(0, fragmentIndex);
304
304
  fragment = input.slice(fragmentIndex);
305
305
  if (!path2) {
@@ -336,7 +336,7 @@ import { statSync as statSync2, promises as promises2 } from "node:fs";
336
336
  // ../../node_modules/.pnpm/mlly@1.7.4/node_modules/mlly/dist/index.mjs
337
337
  init_esm_shims();
338
338
 
339
- // ../../node_modules/.pnpm/acorn@8.14.0/node_modules/acorn/dist/acorn.mjs
339
+ // ../../node_modules/.pnpm/acorn@8.14.1/node_modules/acorn/dist/acorn.mjs
340
340
  init_esm_shims();
341
341
  var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
342
342
  var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
@@ -769,6 +769,7 @@ var SCOPE_SIMPLE_CATCH = 32;
769
769
  var SCOPE_SUPER = 64;
770
770
  var SCOPE_DIRECT_SUPER = 128;
771
771
  var SCOPE_CLASS_STATIC_BLOCK = 256;
772
+ var SCOPE_CLASS_FIELD_INIT = 512;
772
773
  var SCOPE_VAR = SCOPE_TOP | SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK;
773
774
  function functionFlags(async, generator) {
774
775
  return SCOPE_FUNCTION | (async ? SCOPE_ASYNC : 0) | (generator ? SCOPE_GENERATOR : 0);
@@ -838,19 +839,20 @@ prototypeAccessors.inFunction.get = function() {
838
839
  return (this.currentVarScope().flags & SCOPE_FUNCTION) > 0;
839
840
  };
840
841
  prototypeAccessors.inGenerator.get = function() {
841
- return (this.currentVarScope().flags & SCOPE_GENERATOR) > 0 && !this.currentVarScope().inClassFieldInit;
842
+ return (this.currentVarScope().flags & SCOPE_GENERATOR) > 0;
842
843
  };
843
844
  prototypeAccessors.inAsync.get = function() {
844
- return (this.currentVarScope().flags & SCOPE_ASYNC) > 0 && !this.currentVarScope().inClassFieldInit;
845
+ return (this.currentVarScope().flags & SCOPE_ASYNC) > 0;
845
846
  };
846
847
  prototypeAccessors.canAwait.get = function() {
847
848
  for (var i = this.scopeStack.length - 1; i >= 0; i--) {
848
- var scope = this.scopeStack[i];
849
- if (scope.inClassFieldInit || scope.flags & SCOPE_CLASS_STATIC_BLOCK) {
849
+ var ref2 = this.scopeStack[i];
850
+ var flags = ref2.flags;
851
+ if (flags & (SCOPE_CLASS_STATIC_BLOCK | SCOPE_CLASS_FIELD_INIT)) {
850
852
  return false;
851
853
  }
852
- if (scope.flags & SCOPE_FUNCTION) {
853
- return (scope.flags & SCOPE_ASYNC) > 0;
854
+ if (flags & SCOPE_FUNCTION) {
855
+ return (flags & SCOPE_ASYNC) > 0;
854
856
  }
855
857
  }
856
858
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
@@ -858,8 +860,7 @@ prototypeAccessors.canAwait.get = function() {
858
860
  prototypeAccessors.allowSuper.get = function() {
859
861
  var ref2 = this.currentThisScope();
860
862
  var flags = ref2.flags;
861
- var inClassFieldInit = ref2.inClassFieldInit;
862
- return (flags & SCOPE_SUPER) > 0 || inClassFieldInit || this.options.allowSuperOutsideMethod;
863
+ return (flags & SCOPE_SUPER) > 0 || this.options.allowSuperOutsideMethod;
863
864
  };
864
865
  prototypeAccessors.allowDirectSuper.get = function() {
865
866
  return (this.currentThisScope().flags & SCOPE_DIRECT_SUPER) > 0;
@@ -868,10 +869,14 @@ prototypeAccessors.treatFunctionsAsVar.get = function() {
868
869
  return this.treatFunctionsAsVarInScope(this.currentScope());
869
870
  };
870
871
  prototypeAccessors.allowNewDotTarget.get = function() {
871
- var ref2 = this.currentThisScope();
872
- var flags = ref2.flags;
873
- var inClassFieldInit = ref2.inClassFieldInit;
874
- return (flags & (SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK)) > 0 || inClassFieldInit;
872
+ for (var i = this.scopeStack.length - 1; i >= 0; i--) {
873
+ var ref2 = this.scopeStack[i];
874
+ var flags = ref2.flags;
875
+ if (flags & (SCOPE_CLASS_STATIC_BLOCK | SCOPE_CLASS_FIELD_INIT) || flags & SCOPE_FUNCTION && !(flags & SCOPE_ARROW)) {
876
+ return true;
877
+ }
878
+ }
879
+ return false;
875
880
  };
876
881
  prototypeAccessors.inClassStaticBlock.get = function() {
877
882
  return (this.currentVarScope().flags & SCOPE_CLASS_STATIC_BLOCK) > 0;
@@ -1714,11 +1719,9 @@ pp$8.parseClassField = function(field) {
1714
1719
  this.raise(field.key.start, "Classes can't have a static field named 'prototype'");
1715
1720
  }
1716
1721
  if (this.eat(types$1.eq)) {
1717
- var scope = this.currentThisScope();
1718
- var inClassFieldInit = scope.inClassFieldInit;
1719
- scope.inClassFieldInit = true;
1722
+ this.enterScope(SCOPE_CLASS_FIELD_INIT | SCOPE_SUPER);
1720
1723
  field.value = this.parseMaybeAssign();
1721
- scope.inClassFieldInit = inClassFieldInit;
1724
+ this.exitScope();
1722
1725
  } else {
1723
1726
  field.value = null;
1724
1727
  }
@@ -1843,6 +1846,9 @@ pp$8.parseExport = function(node, exports) {
1843
1846
  }
1844
1847
  node.specifiers = [];
1845
1848
  node.source = null;
1849
+ if (this.options.ecmaVersion >= 16) {
1850
+ node.attributes = [];
1851
+ }
1846
1852
  } else {
1847
1853
  node.declaration = null;
1848
1854
  node.specifiers = this.parseExportSpecifiers(exports);
@@ -1864,6 +1870,9 @@ pp$8.parseExport = function(node, exports) {
1864
1870
  }
1865
1871
  }
1866
1872
  node.source = null;
1873
+ if (this.options.ecmaVersion >= 16) {
1874
+ node.attributes = [];
1875
+ }
1867
1876
  }
1868
1877
  this.semicolon();
1869
1878
  }
@@ -3225,9 +3234,10 @@ pp$5.parseProperty = function(isPattern, refDestructuringErrors) {
3225
3234
  return this.finishNode(prop, "Property");
3226
3235
  };
3227
3236
  pp$5.parseGetterSetter = function(prop) {
3228
- prop.kind = prop.key.name;
3237
+ var kind = prop.key.name;
3229
3238
  this.parsePropertyName(prop);
3230
3239
  prop.value = this.parseMethod(false);
3240
+ prop.kind = kind;
3231
3241
  var paramCount = prop.kind === "get" ? 0 : 1;
3232
3242
  if (prop.value.params.length !== paramCount) {
3233
3243
  var start = prop.value.start;
@@ -3253,9 +3263,9 @@ pp$5.parsePropertyValue = function(prop, isPattern, isGenerator, isAsync, startP
3253
3263
  if (isPattern) {
3254
3264
  this.unexpected();
3255
3265
  }
3256
- prop.kind = "init";
3257
3266
  prop.method = true;
3258
3267
  prop.value = this.parseMethod(isGenerator, isAsync);
3268
+ prop.kind = "init";
3259
3269
  } else if (!isPattern && !containsEsc && this.options.ecmaVersion >= 5 && !prop.computed && prop.key.type === "Identifier" && (prop.key.name === "get" || prop.key.name === "set") && (this.type !== types$1.comma && this.type !== types$1.braceR && this.type !== types$1.eq)) {
3260
3270
  if (isGenerator || isAsync) {
3261
3271
  this.unexpected();
@@ -3269,7 +3279,6 @@ pp$5.parsePropertyValue = function(prop, isPattern, isGenerator, isAsync, startP
3269
3279
  if (prop.key.name === "await" && !this.awaitIdentPos) {
3270
3280
  this.awaitIdentPos = startPos;
3271
3281
  }
3272
- prop.kind = "init";
3273
3282
  if (isPattern) {
3274
3283
  prop.value = this.parseMaybeDefault(startPos, startLoc, this.copyNode(prop.key));
3275
3284
  } else if (this.type === types$1.eq && refDestructuringErrors) {
@@ -3280,6 +3289,7 @@ pp$5.parsePropertyValue = function(prop, isPattern, isGenerator, isAsync, startP
3280
3289
  } else {
3281
3290
  prop.value = this.copyNode(prop.key);
3282
3291
  }
3292
+ prop.kind = "init";
3283
3293
  prop.shorthand = true;
3284
3294
  } else {
3285
3295
  this.unexpected();
@@ -3429,7 +3439,7 @@ pp$5.checkUnreserved = function(ref2) {
3429
3439
  if (this.inAsync && name === "await") {
3430
3440
  this.raiseRecoverable(start, "Cannot use 'await' as identifier inside an async function");
3431
3441
  }
3432
- if (this.currentThisScope().inClassFieldInit && name === "arguments") {
3442
+ if (!(this.currentThisScope().flags & SCOPE_VAR) && name === "arguments") {
3433
3443
  this.raiseRecoverable(start, "Cannot use 'arguments' in class field initializer");
3434
3444
  }
3435
3445
  if (this.inClassStaticBlock && (name === "arguments" || name === "await")) {
@@ -3522,6 +3532,9 @@ var pp$4 = Parser.prototype;
3522
3532
  pp$4.raise = function(pos, message) {
3523
3533
  var loc = getLineInfo(this.input, pos);
3524
3534
  message += " (" + loc.line + ":" + loc.column + ")";
3535
+ if (this.sourceFile) {
3536
+ message += " in " + this.sourceFile;
3537
+ }
3525
3538
  var err = new SyntaxError(message);
3526
3539
  err.pos = pos;
3527
3540
  err.loc = loc;
@@ -3540,7 +3553,6 @@ var Scope = /* @__PURE__ */ __name(function Scope2(flags) {
3540
3553
  this.var = [];
3541
3554
  this.lexical = [];
3542
3555
  this.functions = [];
3543
- this.inClassFieldInit = false;
3544
3556
  }, "Scope");
3545
3557
  pp$3.enterScope = function(flags) {
3546
3558
  this.scopeStack.push(new Scope(flags));
@@ -3602,7 +3614,7 @@ pp$3.currentScope = function() {
3602
3614
  pp$3.currentVarScope = function() {
3603
3615
  for (var i = this.scopeStack.length - 1; ; i--) {
3604
3616
  var scope = this.scopeStack[i];
3605
- if (scope.flags & SCOPE_VAR) {
3617
+ if (scope.flags & (SCOPE_VAR | SCOPE_CLASS_FIELD_INIT | SCOPE_CLASS_STATIC_BLOCK)) {
3606
3618
  return scope;
3607
3619
  }
3608
3620
  }
@@ -3610,7 +3622,7 @@ pp$3.currentVarScope = function() {
3610
3622
  pp$3.currentThisScope = function() {
3611
3623
  for (var i = this.scopeStack.length - 1; ; i--) {
3612
3624
  var scope = this.scopeStack[i];
3613
- if (scope.flags & SCOPE_VAR && !(scope.flags & SCOPE_ARROW)) {
3625
+ if (scope.flags & (SCOPE_VAR | SCOPE_CLASS_FIELD_INIT | SCOPE_CLASS_STATIC_BLOCK) && !(scope.flags & SCOPE_ARROW)) {
3614
3626
  return scope;
3615
3627
  }
3616
3628
  }
@@ -5879,7 +5891,7 @@ pp.readWord = function() {
5879
5891
  }
5880
5892
  return this.finishToken(type, word);
5881
5893
  };
5882
- var version = "8.14.0";
5894
+ var version = "8.14.1";
5883
5895
  Parser.acorn = {
5884
5896
  Parser,
5885
5897
  version,
@@ -1,26 +1,26 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunk2KDMIKWUcjs = require('./chunk-2KDMIKWU.cjs');
4
+ var _chunkEIO5QEUIcjs = require('./chunk-EIO5QEUI.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunk2HPUSEOWcjs = require('./chunk-2HPUSEOW.cjs');
8
+ var _chunkLKG4W7DJcjs = require('./chunk-LKG4W7DJ.cjs');
9
9
 
10
10
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/toml.mjs
11
- _chunk2HPUSEOWcjs.init_cjs_shims.call(void 0, );
11
+ _chunkLKG4W7DJcjs.init_cjs_shims.call(void 0, );
12
12
  var F = Object.defineProperty;
13
- var V = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, (e, n, t) => n in e ? F(e, n, { enumerable: true, configurable: true, writable: true, value: t }) : e[n] = t, "V");
14
- var O = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, (e, n, t) => (V(e, typeof n != "symbol" ? n + "" : n, t), t), "O");
15
- var L = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, (e, n, t) => {
13
+ var V = /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, (e, n, t) => n in e ? F(e, n, { enumerable: true, configurable: true, writable: true, value: t }) : e[n] = t, "V");
14
+ var O = /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, (e, n, t) => (V(e, typeof n != "symbol" ? n + "" : n, t), t), "O");
15
+ var L = /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, (e, n, t) => {
16
16
  if (!n.has(e)) throw TypeError("Cannot " + t);
17
17
  }, "L");
18
- var d = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, (e, n, t) => (L(e, n, "read from private field"), t ? t.call(e) : n.get(e)), "d");
19
- var T = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, (e, n, t) => {
18
+ var d = /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, (e, n, t) => (L(e, n, "read from private field"), t ? t.call(e) : n.get(e)), "d");
19
+ var T = /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, (e, n, t) => {
20
20
  if (n.has(e)) throw TypeError("Cannot add the same private member more than once");
21
21
  n instanceof WeakSet ? n.add(e) : n.set(e, t);
22
22
  }, "T");
23
- var w = /* @__PURE__ */ _chunk2HPUSEOWcjs.__name.call(void 0, (e, n, t, i) => (L(e, n, "write to private field"), i ? i.call(e, t) : n.set(e, t), t), "w");
23
+ var w = /* @__PURE__ */ _chunkLKG4W7DJcjs.__name.call(void 0, (e, n, t, i) => (L(e, n, "write to private field"), i ? i.call(e, t) : n.set(e, t), t), "w");
24
24
  var h;
25
25
  var m;
26
26
  var s;
@@ -28,7 +28,7 @@ function U(e, n) {
28
28
  let t = e.slice(0, n).split(/\r\n|\n|\r/g);
29
29
  return [t.length, t.pop().length + 1];
30
30
  }
31
- _chunk2HPUSEOWcjs.__name.call(void 0, U, "U");
31
+ _chunkLKG4W7DJcjs.__name.call(void 0, U, "U");
32
32
  function X(e, n, t) {
33
33
  let i = e.split(/\r\n|\n|\r/g), l = "", r = (Math.log10(n + 1) | 0) + 1;
34
34
  for (let f = n - 1; f <= n + 1; f++) {
@@ -39,10 +39,10 @@ function X(e, n, t) {
39
39
  }
40
40
  return l;
41
41
  }
42
- _chunk2HPUSEOWcjs.__name.call(void 0, X, "X");
42
+ _chunkLKG4W7DJcjs.__name.call(void 0, X, "X");
43
43
  var u = class extends Error {
44
44
  static {
45
- _chunk2HPUSEOWcjs.__name.call(void 0, this, "u");
45
+ _chunkLKG4W7DJcjs.__name.call(void 0, this, "u");
46
46
  }
47
47
  constructor(t, i) {
48
48
  const [l, r] = U(i.toml, i.ptr), f = X(i.toml, l, r);
@@ -60,7 +60,7 @@ function x(e, n = 0, t = e.length) {
60
60
  `, n);
61
61
  return e[i - 1] === "\r" && i--, i <= t ? i : -1;
62
62
  }
63
- _chunk2HPUSEOWcjs.__name.call(void 0, x, "x");
63
+ _chunkLKG4W7DJcjs.__name.call(void 0, x, "x");
64
64
  function A(e, n) {
65
65
  for (let t = n; t < e.length; t++) {
66
66
  let i = e[t];
@@ -72,7 +72,7 @@ function A(e, n) {
72
72
  }
73
73
  return e.length;
74
74
  }
75
- _chunk2HPUSEOWcjs.__name.call(void 0, A, "A");
75
+ _chunkLKG4W7DJcjs.__name.call(void 0, A, "A");
76
76
  function g(e, n, t, i) {
77
77
  let l;
78
78
  for (; (l = e[n]) === " " || l === " " || !t && (l === `
@@ -80,7 +80,7 @@ function g(e, n, t, i) {
80
80
  `); ) n++;
81
81
  return i || l !== "#" ? n : g(e, A(e, n), t);
82
82
  }
83
- _chunk2HPUSEOWcjs.__name.call(void 0, g, "g");
83
+ _chunkLKG4W7DJcjs.__name.call(void 0, g, "g");
84
84
  function P(e, n, t, i, l = false) {
85
85
  if (!i) return n = x(e, n), n < 0 ? e.length : n;
86
86
  for (let r = n; r < e.length; r++) {
@@ -96,7 +96,7 @@ function P(e, n, t, i, l = false) {
96
96
  }
97
97
  throw new u("cannot find end of structure", { toml: e, ptr: n });
98
98
  }
99
- _chunk2HPUSEOWcjs.__name.call(void 0, P, "P");
99
+ _chunkLKG4W7DJcjs.__name.call(void 0, P, "P");
100
100
  function v(e, n) {
101
101
  let t = e[n], i = t === e[n + 1] && e[n + 1] === e[n + 2] ? e.slice(n, n + 3) : t;
102
102
  n += i.length - 1;
@@ -105,11 +105,11 @@ function v(e, n) {
105
105
  while (n > -1 && t !== "'" && e[n - 1] === "\\" && e[n - 2] !== "\\");
106
106
  return n > -1 && (n += i.length, i.length > 1 && (e[n] === t && n++, e[n] === t && n++)), n;
107
107
  }
108
- _chunk2HPUSEOWcjs.__name.call(void 0, v, "v");
108
+ _chunkLKG4W7DJcjs.__name.call(void 0, v, "v");
109
109
  var B = /^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}:\d{2}(?:\.\d+)?)?(Z|[-+]\d{2}:\d{2})?$/i;
110
110
  var b = class b2 extends Date {
111
111
  static {
112
- _chunk2HPUSEOWcjs.__name.call(void 0, this, "b");
112
+ _chunkLKG4W7DJcjs.__name.call(void 0, this, "b");
113
113
  }
114
114
  constructor(t) {
115
115
  let i = true, l = true, r = "Z";
@@ -205,7 +205,7 @@ function C2(e, n = 0, t = e.length) {
205
205
  }
206
206
  return o + e.slice(a, t - 1);
207
207
  }
208
- _chunk2HPUSEOWcjs.__name.call(void 0, C2, "C");
208
+ _chunkLKG4W7DJcjs.__name.call(void 0, C2, "C");
209
209
  function H(e, n, t) {
210
210
  if (e === "true") return true;
211
211
  if (e === "false") return false;
@@ -225,7 +225,7 @@ function H(e, n, t) {
225
225
  if (!l.isValid()) throw new u("invalid value", { toml: n, ptr: t });
226
226
  return l;
227
227
  }
228
- _chunk2HPUSEOWcjs.__name.call(void 0, H, "H");
228
+ _chunkLKG4W7DJcjs.__name.call(void 0, H, "H");
229
229
  function Q(e, n, t, i) {
230
230
  let l = e.slice(n, t), r = l.indexOf("#");
231
231
  r > -1 && (A(e, r), l = l.slice(0, r));
@@ -237,7 +237,7 @@ function Q(e, n, t, i) {
237
237
  }
238
238
  return [f, r];
239
239
  }
240
- _chunk2HPUSEOWcjs.__name.call(void 0, Q, "Q");
240
+ _chunkLKG4W7DJcjs.__name.call(void 0, Q, "Q");
241
241
  function I(e, n, t) {
242
242
  let i = e[n];
243
243
  if (i === "[" || i === "{") {
@@ -264,7 +264,7 @@ function I(e, n, t) {
264
264
  if (!r[0]) throw new u("incomplete key-value declaration: no value specified", { toml: e, ptr: n });
265
265
  return t && r[1] > -1 && (l = g(e, n + r[1]), l += +(e[l] === ",")), [H(r[0], e, n), l];
266
266
  }
267
- _chunk2HPUSEOWcjs.__name.call(void 0, I, "I");
267
+ _chunkLKG4W7DJcjs.__name.call(void 0, I, "I");
268
268
  var W = /^[a-zA-Z0-9-_]+[ \t]*$/;
269
269
  function p(e, n, t = "=") {
270
270
  let i = n - 1, l = [], r = e.indexOf(t, n);
@@ -290,7 +290,7 @@ function p(e, n, t = "=") {
290
290
  } while (i + 1 && i < r);
291
291
  return [l, g(e, r + 1, true, true)];
292
292
  }
293
- _chunk2HPUSEOWcjs.__name.call(void 0, p, "p");
293
+ _chunkLKG4W7DJcjs.__name.call(void 0, p, "p");
294
294
  function ee(e, n) {
295
295
  let t = {}, i = /* @__PURE__ */ new Set(), l, r = 0;
296
296
  for (n++; (l = e[n++]) !== "}" && l; ) {
@@ -313,7 +313,7 @@ function ee(e, n) {
313
313
  if (!l) throw new u("unfinished table encountered", { toml: e, ptr: n });
314
314
  return [t, n];
315
315
  }
316
- _chunk2HPUSEOWcjs.__name.call(void 0, ee, "ee");
316
+ _chunkLKG4W7DJcjs.__name.call(void 0, ee, "ee");
317
317
  function ne(e, n) {
318
318
  let t = [], i;
319
319
  for (n++; (i = e[n++]) !== "]" && i; ) {
@@ -328,7 +328,7 @@ function ne(e, n) {
328
328
  if (!i) throw new u("unfinished array encountered", { toml: e, ptr: n });
329
329
  return [t, n];
330
330
  }
331
- _chunk2HPUSEOWcjs.__name.call(void 0, ne, "ne");
331
+ _chunkLKG4W7DJcjs.__name.call(void 0, ne, "ne");
332
332
  function M(e, n, t, i) {
333
333
  let l = n, r = t, f, o = false, a;
334
334
  for (let c = 0; c < e.length; c++) {
@@ -347,7 +347,7 @@ function M(e, n, t, i) {
347
347
  else if (i === 0 && o) return null;
348
348
  return [f, l, a.c];
349
349
  }
350
- _chunk2HPUSEOWcjs.__name.call(void 0, M, "M");
350
+ _chunkLKG4W7DJcjs.__name.call(void 0, M, "M");
351
351
  function te(e) {
352
352
  let n = {}, t = {}, i = n, l = t;
353
353
  for (let r = g(e, 0); r < e.length; ) {
@@ -372,7 +372,7 @@ function te(e) {
372
372
  }
373
373
  return n;
374
374
  }
375
- _chunk2HPUSEOWcjs.__name.call(void 0, te, "te");
375
+ _chunkLKG4W7DJcjs.__name.call(void 0, te, "te");
376
376
  var Z = /^[a-z0-9-_]+$/i;
377
377
  function _(e) {
378
378
  let n = typeof e;
@@ -382,16 +382,16 @@ function _(e) {
382
382
  }
383
383
  return n;
384
384
  }
385
- _chunk2HPUSEOWcjs.__name.call(void 0, _, "_");
385
+ _chunkLKG4W7DJcjs.__name.call(void 0, _, "_");
386
386
  function ie(e) {
387
387
  for (let n = 0; n < e.length; n++) if (_(e[n]) !== "object") return false;
388
388
  return e.length != 0;
389
389
  }
390
- _chunk2HPUSEOWcjs.__name.call(void 0, ie, "ie");
390
+ _chunkLKG4W7DJcjs.__name.call(void 0, ie, "ie");
391
391
  function $(e) {
392
392
  return JSON.stringify(e).replace(/\x7f/g, "\\u007f");
393
393
  }
394
- _chunk2HPUSEOWcjs.__name.call(void 0, $, "$");
394
+ _chunkLKG4W7DJcjs.__name.call(void 0, $, "$");
395
395
  function N2(e, n = _(e)) {
396
396
  if (n === "number") return isNaN(e) ? "nan" : e === 1 / 0 ? "inf" : e === -1 / 0 ? "-inf" : e.toString();
397
397
  if (n === "bigint" || n === "boolean") return e.toString();
@@ -403,7 +403,7 @@ function N2(e, n = _(e)) {
403
403
  if (n === "object") return le(e);
404
404
  if (n === "array") return re(e);
405
405
  }
406
- _chunk2HPUSEOWcjs.__name.call(void 0, N2, "N");
406
+ _chunkLKG4W7DJcjs.__name.call(void 0, N2, "N");
407
407
  function le(e) {
408
408
  let n = Object.keys(e);
409
409
  if (n.length === 0) return "{}";
@@ -414,7 +414,7 @@ function le(e) {
414
414
  }
415
415
  return t + " }";
416
416
  }
417
- _chunk2HPUSEOWcjs.__name.call(void 0, le, "le");
417
+ _chunkLKG4W7DJcjs.__name.call(void 0, le, "le");
418
418
  function re(e) {
419
419
  if (e.length === 0) return "[]";
420
420
  let n = "[ ";
@@ -424,7 +424,7 @@ function re(e) {
424
424
  }
425
425
  return n + " ]";
426
426
  }
427
- _chunk2HPUSEOWcjs.__name.call(void 0, re, "re");
427
+ _chunkLKG4W7DJcjs.__name.call(void 0, re, "re");
428
428
  function fe(e, n) {
429
429
  let t = "";
430
430
  for (let i = 0; i < e.length; i++) t += `[[${n}]]
@@ -433,7 +433,7 @@ function fe(e, n) {
433
433
  `;
434
434
  return t;
435
435
  }
436
- _chunk2HPUSEOWcjs.__name.call(void 0, fe, "fe");
436
+ _chunkLKG4W7DJcjs.__name.call(void 0, fe, "fe");
437
437
  function D(e, n = "") {
438
438
  let t = "", i = "", l = Object.keys(e);
439
439
  for (let r = 0; r < l.length; r++) {
@@ -456,22 +456,22 @@ function D(e, n = "") {
456
456
  return `${t}
457
457
  ${i}`.trim();
458
458
  }
459
- _chunk2HPUSEOWcjs.__name.call(void 0, D, "D");
459
+ _chunkLKG4W7DJcjs.__name.call(void 0, D, "D");
460
460
  function oe(e) {
461
461
  if (_(e) !== "object") throw new TypeError("stringify can only be called with an object");
462
462
  return D(e);
463
463
  }
464
- _chunk2HPUSEOWcjs.__name.call(void 0, oe, "oe");
464
+ _chunkLKG4W7DJcjs.__name.call(void 0, oe, "oe");
465
465
  function ae(e) {
466
466
  const n = te(e);
467
- return _chunk2KDMIKWUcjs.N.call(void 0, e, n, { preserveIndentation: false }), n;
467
+ return _chunkEIO5QEUIcjs.N.call(void 0, e, n, { preserveIndentation: false }), n;
468
468
  }
469
- _chunk2HPUSEOWcjs.__name.call(void 0, ae, "ae");
469
+ _chunkLKG4W7DJcjs.__name.call(void 0, ae, "ae");
470
470
  function ue(e) {
471
- const n = _chunk2KDMIKWUcjs.C.call(void 0, e, { preserveIndentation: false }), t = oe(e);
471
+ const n = _chunkEIO5QEUIcjs.C.call(void 0, e, { preserveIndentation: false }), t = oe(e);
472
472
  return n.whitespace.start + t + n.whitespace.end;
473
473
  }
474
- _chunk2HPUSEOWcjs.__name.call(void 0, ue, "ue");
474
+ _chunkLKG4W7DJcjs.__name.call(void 0, ue, "ue");
475
475
 
476
476
 
477
477
 
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __name,
3
3
  init_esm_shims
4
- } from "./chunk-FH3GDOOO.js";
4
+ } from "./chunk-ULL57BC3.js";
5
5
 
6
6
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/shared/confbox.9388d834.mjs
7
7
  init_esm_shims();
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  C,
3
3
  N
4
- } from "./chunk-2IE4DLUN.js";
4
+ } from "./chunk-NDKCDPQO.js";
5
5
  import {
6
6
  __name,
7
7
  init_esm_shims
8
- } from "./chunk-FH3GDOOO.js";
8
+ } from "./chunk-ULL57BC3.js";
9
9
 
10
10
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/shared/confbox.f9f03f05.mjs
11
11
  init_esm_shims();