@storm-software/linting-tools 1.133.84 → 1.133.85

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 (50) hide show
  1. package/bin/{chunk-FBP6IYBO.js → chunk-4EMU5EDN.js} +1 -1
  2. package/bin/{chunk-GZG6YHRW.js → chunk-4FI4F6BL.js} +1 -1
  3. package/bin/{chunk-4XHBFT3F.js → chunk-6NIU2NNC.js} +2 -2
  4. package/bin/{chunk-7TB6DD2T.cjs → chunk-F7ES746A.cjs} +5 -5
  5. package/bin/{chunk-SHNG5VUU.js → chunk-FPBFX6J6.js} +1 -1
  6. package/bin/{chunk-OKA3C2AR.cjs → chunk-I4ASNVIM.cjs} +103 -67
  7. package/bin/{chunk-YHRFO74F.js → chunk-JM7AHM6K.js} +2 -2
  8. package/bin/{chunk-2LGVY5A5.cjs → chunk-JXGTBQGP.cjs} +5 -5
  9. package/bin/{chunk-P5BW6VNT.cjs → chunk-K67RCKJZ.cjs} +2 -2
  10. package/bin/{chunk-SVC7XYPU.cjs → chunk-LG53RYPL.cjs} +2 -2
  11. package/bin/{chunk-J663BX4L.cjs → chunk-MZQQ4W6H.cjs} +6 -6
  12. package/bin/{chunk-AYC5UTTQ.js → chunk-ORSZM7CN.js} +2 -2
  13. package/bin/{chunk-QFMVJYAL.cjs → chunk-OU7FTCXW.cjs} +5 -5
  14. package/bin/{chunk-NKIVN7QJ.cjs → chunk-Q6EEYJMX.cjs} +2 -2
  15. package/bin/{chunk-QMLJPLTV.js → chunk-RAVGRBGV.js} +2 -2
  16. package/bin/{chunk-L4VVZY5I.js → chunk-RESGOF7H.js} +2 -2
  17. package/bin/{chunk-BV53GMLX.js → chunk-RKEC5D6E.js} +91 -55
  18. package/bin/{chunk-CINGCVMB.cjs → chunk-SSF4LBQM.cjs} +20 -20
  19. package/bin/{chunk-XYUDUQIC.js → chunk-TT6XODA7.js} +2 -2
  20. package/bin/{chunk-XNW5AIAD.cjs → chunk-YXKXSC3T.cjs} +93 -93
  21. package/bin/{dist-24HGZHWZ.cjs → dist-736YQRXF.cjs} +206 -206
  22. package/bin/{dist-RLLGXGG2.js → dist-LSYTHXDX.js} +2 -2
  23. package/bin/{dist-VBJR7ODA.js → dist-S74GLN4T.js} +8 -8
  24. package/bin/{dist-LHZKIYER.cjs → dist-TIJGKOXG.cjs} +6 -6
  25. package/bin/{esm-DAGGJPRT.js → esm-IGPFL57R.js} +1 -1
  26. package/bin/{esm-KINZEFPF.cjs → esm-QLTBOSTE.cjs} +4 -4
  27. package/bin/json5-2TS535KI.js +10 -0
  28. package/bin/json5-7D7HJ4DK.cjs +10 -0
  29. package/bin/jsonc-FAWJ7N6J.cjs +15 -0
  30. package/bin/{jsonc-M6AYQLQL.js → jsonc-ZPXAZPP7.js} +3 -3
  31. package/bin/lint.cjs +1900 -1900
  32. package/bin/lint.js +16 -16
  33. package/bin/{multipart-parser-33UBHNKK.js → multipart-parser-DRSBB6JT.js} +2 -2
  34. package/bin/{multipart-parser-EIL4EV6D.cjs → multipart-parser-PR2V4FFS.cjs} +6 -6
  35. package/bin/{package-json-HZVIQMAQ.cjs → package-json-AIMJORYP.cjs} +117 -114
  36. package/bin/{package-json-YKMSVJVU.js → package-json-SESRHADQ.js} +25 -22
  37. package/bin/toml-KGD4ABYA.cjs +10 -0
  38. package/bin/toml-LCNZ5HOT.js +10 -0
  39. package/bin/{utils-WDXOIXG6.js → utils-2ZCPE4KF.js} +2 -2
  40. package/bin/{utils-JMLPFTLU.cjs → utils-3TSCB5VI.cjs} +5 -5
  41. package/bin/yaml-D2QBH2OH.js +10 -0
  42. package/bin/yaml-UPUTWKKV.cjs +10 -0
  43. package/package.json +3 -3
  44. package/bin/json5-RWJBFZ2A.cjs +0 -10
  45. package/bin/json5-YAZZGQJG.js +0 -10
  46. package/bin/jsonc-ZCDF2MKX.cjs +0 -15
  47. package/bin/toml-BMPZN4TP.js +0 -10
  48. package/bin/toml-Y7TEMSRT.cjs +0 -10
  49. package/bin/yaml-HJWRFZW7.cjs +0 -10
  50. package/bin/yaml-I6J2TMSZ.js +0 -10
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkP5BW6VNTcjs = require('./chunk-P5BW6VNT.cjs');
4
+ var _chunkK67RCKJZcjs = require('./chunk-K67RCKJZ.cjs');
5
5
 
6
6
 
7
- var _chunkNKIVN7QJcjs = require('./chunk-NKIVN7QJ.cjs');
7
+ var _chunkQ6EEYJMXcjs = require('./chunk-Q6EEYJMX.cjs');
8
8
 
9
9
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/yaml.mjs
10
- _chunkNKIVN7QJcjs.init_cjs_shims.call(void 0, );
10
+ _chunkQ6EEYJMXcjs.init_cjs_shims.call(void 0, );
11
11
  function oe(e) {
12
12
  return typeof e > "u" || e === null;
13
13
  }
@@ -985,10 +985,10 @@ var mr = Ni.load;
985
985
  var gr = xr.dump;
986
986
  function Ar(e, n) {
987
987
  const i = mr(e, n);
988
- return _chunkP5BW6VNTcjs.N.call(void 0, e, i, n), i;
988
+ return _chunkK67RCKJZcjs.N.call(void 0, e, i, n), i;
989
989
  }
990
990
  function vr(e, n) {
991
- const i = _chunkP5BW6VNTcjs.C.call(void 0, e, { preserveIndentation: false }), l = typeof i.indent == "string" ? i.indent.length : i.indent, r = gr(e, { indent: l, ...n });
991
+ const i = _chunkK67RCKJZcjs.C.call(void 0, e, { preserveIndentation: false }), l = typeof i.indent == "string" ? i.indent.length : i.indent, r = gr(e, { indent: l, ...n });
992
992
  return i.whitespace.start + r.trim() + i.whitespace.end;
993
993
  }
994
994
 
@@ -39,10 +39,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
39
39
  ));
40
40
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
41
41
 
42
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__e047f64c50df51d8b0fb5bb8be64db0f/node_modules/tsup/assets/cjs_shims.js
42
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__224d245c4beea59ebec1ed6c996eeea5/node_modules/tsup/assets/cjs_shims.js
43
43
  var getImportMetaUrl, importMetaUrl;
44
44
  var init_cjs_shims = __esm({
45
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__e047f64c50df51d8b0fb5bb8be64db0f/node_modules/tsup/assets/cjs_shims.js"() {
45
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__224d245c4beea59ebec1ed6c996eeea5/node_modules/tsup/assets/cjs_shims.js"() {
46
46
  getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
47
47
  importMetaUrl = exports.importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
48
48
  }
@@ -38,12 +38,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
38
38
  mod
39
39
  ));
40
40
 
41
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__e047f64c50df51d8b0fb5bb8be64db0f/node_modules/tsup/assets/esm_shims.js
41
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__224d245c4beea59ebec1ed6c996eeea5/node_modules/tsup/assets/esm_shims.js
42
42
  import { fileURLToPath } from "url";
43
43
  import path from "path";
44
44
  var getFilename, getDirname, __dirname, __filename;
45
45
  var init_esm_shims = __esm({
46
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__e047f64c50df51d8b0fb5bb8be64db0f/node_modules/tsup/assets/esm_shims.js"() {
46
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__224d245c4beea59ebec1ed6c996eeea5/node_modules/tsup/assets/esm_shims.js"() {
47
47
  getFilename = () => fileURLToPath(import.meta.url);
48
48
  getDirname = () => path.dirname(getFilename());
49
49
  __dirname = /* @__PURE__ */ getDirname();
@@ -2,7 +2,7 @@ import {
2
2
  __esm,
3
3
  __require,
4
4
  init_esm_shims
5
- } from "./chunk-QMLJPLTV.js";
5
+ } from "./chunk-RAVGRBGV.js";
6
6
 
7
7
  // ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs
8
8
  function f(e) {
@@ -3097,7 +3097,7 @@ var init_node = __esm({
3097
3097
  for (const [p, h] of l) f2.append(p, h);
3098
3098
  return f2;
3099
3099
  }
3100
- const { toFormData: a } = await import("./multipart-parser-33UBHNKK.js");
3100
+ const { toFormData: a } = await import("./multipart-parser-DRSBB6JT.js");
3101
3101
  return a(this.body, o2);
3102
3102
  }
3103
3103
  async blob() {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  h,
3
3
  x
4
- } from "./chunk-4XHBFT3F.js";
4
+ } from "./chunk-6NIU2NNC.js";
5
5
  import {
6
6
  init_esm_shims
7
- } from "./chunk-QMLJPLTV.js";
7
+ } from "./chunk-RAVGRBGV.js";
8
8
 
9
9
  // ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/index.mjs
10
10
  init_esm_shims();
@@ -325,7 +325,7 @@ import { statSync as statSync2, promises as promises2 } from "node:fs";
325
325
  // ../../node_modules/.pnpm/mlly@1.8.2/node_modules/mlly/dist/index.mjs
326
326
  init_esm_shims();
327
327
 
328
- // ../../node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/dist/acorn.mjs
328
+ // ../../node_modules/.pnpm/acorn@8.17.0/node_modules/acorn/dist/acorn.mjs
329
329
  init_esm_shims();
330
330
  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, 78, 5, 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, 199, 7, 137, 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, 55, 9, 266, 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, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
331
331
  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, 7, 25, 39, 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, 5, 57, 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, 24, 43, 261, 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, 33, 24, 3, 24, 45, 74, 6, 0, 67, 12, 65, 1, 2, 0, 15, 4, 10, 7381, 42, 31, 98, 114, 8702, 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, 208, 30, 2, 2, 2, 1, 2, 6, 3, 4, 10, 1, 225, 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, 4381, 3, 5773, 3, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 8489];
@@ -601,6 +601,9 @@ var defaultOptions = {
601
601
  // Can be either `"script"`, `"module"` or `"commonjs"`. This influences global
602
602
  // strict mode and parsing of `import` and `export` declarations.
603
603
  sourceType: "script",
604
+ // When set to true, enable strict parsing mode even if `sourceType`
605
+ // is `"script"`.
606
+ strict: false,
604
607
  // `onInsertedSemicolon` can be a callback that will be called when
605
608
  // a semicolon is automatically inserted. It will be passed the
606
609
  // position of the inserted semicolon as an offset, and if
@@ -795,7 +798,7 @@ var Parser = function Parser2(options, input, startPos) {
795
798
  this.context = this.initialContext();
796
799
  this.exprAllowed = true;
797
800
  this.inModule = options.sourceType === "module";
798
- this.strict = this.inModule || this.strictDirective(this.pos);
801
+ this.strict = this.inModule || options.strict === true || this.strictDirective(this.pos);
799
802
  this.potentialArrowAt = -1;
800
803
  this.potentialArrowInForAwait = false;
801
804
  this.yieldPos = this.awaitPos = this.awaitIdentPos = 0;
@@ -813,9 +816,12 @@ var Parser = function Parser2(options, input, startPos) {
813
816
  };
814
817
  var prototypeAccessors = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowReturn: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, allowUsing: { configurable: true }, inClassStaticBlock: { configurable: true } };
815
818
  Parser.prototype.parse = function parse2() {
819
+ var this$1$1 = this;
816
820
  var node = this.options.program || this.startNode();
817
821
  this.nextToken();
818
- return this.parseTopLevel(node);
822
+ return this.catchStackOverflow(function() {
823
+ return this$1$1.parseTopLevel(node);
824
+ });
819
825
  };
820
826
  prototypeAccessors.inFunction.get = function() {
821
827
  return (this.currentVarScope().flags & SCOPE_FUNCTION) > 0;
@@ -949,6 +955,17 @@ pp$9.eatContextual = function(name) {
949
955
  this.next();
950
956
  return true;
951
957
  };
958
+ pp$9.catchStackOverflow = function(f) {
959
+ try {
960
+ return f();
961
+ } catch (e) {
962
+ if (e instanceof Error && (/\bstack\b.*\b(exceeded|overflow)\b/i.test(e.message) || /\btoo much recursion\b/i.test(e.message))) {
963
+ this.raise(this.start, "Not enough stack space to parse input");
964
+ } else {
965
+ throw e;
966
+ }
967
+ }
968
+ };
952
969
  pp$9.expectContextual = function(name) {
953
970
  if (!this.eatContextual(name)) {
954
971
  this.unexpected();
@@ -1034,12 +1051,12 @@ pp$9.isSimpleAssignTarget = function(expr) {
1034
1051
  };
1035
1052
  var pp$8 = Parser.prototype;
1036
1053
  pp$8.parseTopLevel = function(node) {
1037
- var exports = /* @__PURE__ */ Object.create(null);
1054
+ var exports$1 = /* @__PURE__ */ Object.create(null);
1038
1055
  if (!node.body) {
1039
1056
  node.body = [];
1040
1057
  }
1041
1058
  while (this.type !== types$1.eof) {
1042
- var stmt = this.parseStatement(null, true, exports);
1059
+ var stmt = this.parseStatement(null, true, exports$1);
1043
1060
  node.body.push(stmt);
1044
1061
  }
1045
1062
  if (this.inModule) {
@@ -1129,9 +1146,18 @@ pp$8.isUsingKeyword = function(isAwaitUsing, isFor) {
1129
1146
  return true;
1130
1147
  }
1131
1148
  var id = this.input.slice(idStart, next);
1132
- if (keywordRelationalOperator.test(id) || isFor && id === "of") {
1149
+ if (keywordRelationalOperator.test(id)) {
1133
1150
  return false;
1134
1151
  }
1152
+ if (isFor && !isAwaitUsing && id === "of") {
1153
+ skipWhiteSpace.lastIndex = next;
1154
+ var skipAfterOf = skipWhiteSpace.exec(this.input);
1155
+ next = next + skipAfterOf[0].length;
1156
+ if (this.input.charCodeAt(next) !== 61 || // Check for ==, === and => operators
1157
+ (ch = this.input.charCodeAt(next + 1)) === 61 || ch === 62) {
1158
+ return false;
1159
+ }
1160
+ }
1135
1161
  return true;
1136
1162
  };
1137
1163
  pp$8.isAwaitUsing = function(isFor) {
@@ -1140,7 +1166,7 @@ pp$8.isAwaitUsing = function(isFor) {
1140
1166
  pp$8.isUsing = function(isFor) {
1141
1167
  return this.isUsingKeyword(false, isFor);
1142
1168
  };
1143
- pp$8.parseStatement = function(context, topLevel, exports) {
1169
+ pp$8.parseStatement = function(context, topLevel, exports$1) {
1144
1170
  var starttype = this.type, node = this.startNode(), kind;
1145
1171
  if (this.isLet(context)) {
1146
1172
  starttype = types$1._var;
@@ -1209,7 +1235,7 @@ pp$8.parseStatement = function(context, topLevel, exports) {
1209
1235
  this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'");
1210
1236
  }
1211
1237
  }
1212
- return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports);
1238
+ return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports$1);
1213
1239
  // If the statement does not start with a statement keyword or a
1214
1240
  // brace, it's an ExpressionStatement or LabeledStatement. We
1215
1241
  // simply start parsing an expression, and afterwards, if the
@@ -1228,6 +1254,9 @@ pp$8.parseStatement = function(context, topLevel, exports) {
1228
1254
  if (!this.allowUsing) {
1229
1255
  this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement");
1230
1256
  }
1257
+ if (context) {
1258
+ this.raise(this.start, "Using declaration is not allowed in single-statement positions");
1259
+ }
1231
1260
  if (usingKind === "await using") {
1232
1261
  if (!this.canAwait) {
1233
1262
  this.raise(this.start, "Await using cannot appear outside of async function");
@@ -1362,14 +1391,15 @@ pp$8.parseForStatement = function(node) {
1362
1391
  };
1363
1392
  pp$8.parseForAfterInit = function(node, init, awaitAt) {
1364
1393
  if ((this.type === types$1._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && init.declarations.length === 1) {
1365
- if (this.options.ecmaVersion >= 9) {
1366
- if (this.type === types$1._in) {
1367
- if (awaitAt > -1) {
1368
- this.unexpected(awaitAt);
1369
- }
1370
- } else {
1371
- node.await = awaitAt > -1;
1394
+ if (this.type === types$1._in) {
1395
+ if ((init.kind === "using" || init.kind === "await using") && !init.declarations[0].init) {
1396
+ this.raise(this.start, "Using declaration is not allowed in for-in loops");
1372
1397
  }
1398
+ if (this.options.ecmaVersion >= 9 && awaitAt > -1) {
1399
+ this.unexpected(awaitAt);
1400
+ }
1401
+ } else if (this.options.ecmaVersion >= 9) {
1402
+ node.await = awaitAt > -1;
1373
1403
  }
1374
1404
  return this.parseForIn(node, init);
1375
1405
  }
@@ -1887,11 +1917,11 @@ function checkKeyName(node, name) {
1887
1917
  var key = node.key;
1888
1918
  return !computed && (key.type === "Identifier" && key.name === name || key.type === "Literal" && key.value === name);
1889
1919
  }
1890
- pp$8.parseExportAllDeclaration = function(node, exports) {
1920
+ pp$8.parseExportAllDeclaration = function(node, exports$1) {
1891
1921
  if (this.options.ecmaVersion >= 11) {
1892
1922
  if (this.eatContextual("as")) {
1893
1923
  node.exported = this.parseModuleExportName();
1894
- this.checkExport(exports, node.exported, this.lastTokStart);
1924
+ this.checkExport(exports$1, node.exported, this.lastTokStart);
1895
1925
  } else {
1896
1926
  node.exported = null;
1897
1927
  }
@@ -1907,22 +1937,22 @@ pp$8.parseExportAllDeclaration = function(node, exports) {
1907
1937
  this.semicolon();
1908
1938
  return this.finishNode(node, "ExportAllDeclaration");
1909
1939
  };
1910
- pp$8.parseExport = function(node, exports) {
1940
+ pp$8.parseExport = function(node, exports$1) {
1911
1941
  this.next();
1912
1942
  if (this.eat(types$1.star)) {
1913
- return this.parseExportAllDeclaration(node, exports);
1943
+ return this.parseExportAllDeclaration(node, exports$1);
1914
1944
  }
1915
1945
  if (this.eat(types$1._default)) {
1916
- this.checkExport(exports, "default", this.lastTokStart);
1946
+ this.checkExport(exports$1, "default", this.lastTokStart);
1917
1947
  node.declaration = this.parseExportDefaultDeclaration();
1918
1948
  return this.finishNode(node, "ExportDefaultDeclaration");
1919
1949
  }
1920
1950
  if (this.shouldParseExportStatement()) {
1921
1951
  node.declaration = this.parseExportDeclaration(node);
1922
1952
  if (node.declaration.type === "VariableDeclaration") {
1923
- this.checkVariableExport(exports, node.declaration.declarations);
1953
+ this.checkVariableExport(exports$1, node.declaration.declarations);
1924
1954
  } else {
1925
- this.checkExport(exports, node.declaration.id, node.declaration.id.start);
1955
+ this.checkExport(exports$1, node.declaration.id, node.declaration.id.start);
1926
1956
  }
1927
1957
  node.specifiers = [];
1928
1958
  node.source = null;
@@ -1931,7 +1961,7 @@ pp$8.parseExport = function(node, exports) {
1931
1961
  }
1932
1962
  } else {
1933
1963
  node.declaration = null;
1934
- node.specifiers = this.parseExportSpecifiers(exports);
1964
+ node.specifiers = this.parseExportSpecifiers(exports$1);
1935
1965
  if (this.eatContextual("from")) {
1936
1966
  if (this.type !== types$1.string) {
1937
1967
  this.unexpected();
@@ -1979,66 +2009,66 @@ pp$8.parseExportDefaultDeclaration = function() {
1979
2009
  return declaration;
1980
2010
  }
1981
2011
  };
1982
- pp$8.checkExport = function(exports, name, pos) {
1983
- if (!exports) {
2012
+ pp$8.checkExport = function(exports$1, name, pos) {
2013
+ if (!exports$1) {
1984
2014
  return;
1985
2015
  }
1986
2016
  if (typeof name !== "string") {
1987
2017
  name = name.type === "Identifier" ? name.name : name.value;
1988
2018
  }
1989
- if (hasOwn(exports, name)) {
2019
+ if (hasOwn(exports$1, name)) {
1990
2020
  this.raiseRecoverable(pos, "Duplicate export '" + name + "'");
1991
2021
  }
1992
- exports[name] = true;
2022
+ exports$1[name] = true;
1993
2023
  };
1994
- pp$8.checkPatternExport = function(exports, pat) {
2024
+ pp$8.checkPatternExport = function(exports$1, pat) {
1995
2025
  var type = pat.type;
1996
2026
  if (type === "Identifier") {
1997
- this.checkExport(exports, pat, pat.start);
2027
+ this.checkExport(exports$1, pat, pat.start);
1998
2028
  } else if (type === "ObjectPattern") {
1999
2029
  for (var i = 0, list = pat.properties; i < list.length; i += 1) {
2000
2030
  var prop = list[i];
2001
- this.checkPatternExport(exports, prop);
2031
+ this.checkPatternExport(exports$1, prop);
2002
2032
  }
2003
2033
  } else if (type === "ArrayPattern") {
2004
2034
  for (var i$1 = 0, list$1 = pat.elements; i$1 < list$1.length; i$1 += 1) {
2005
2035
  var elt = list$1[i$1];
2006
2036
  if (elt) {
2007
- this.checkPatternExport(exports, elt);
2037
+ this.checkPatternExport(exports$1, elt);
2008
2038
  }
2009
2039
  }
2010
2040
  } else if (type === "Property") {
2011
- this.checkPatternExport(exports, pat.value);
2041
+ this.checkPatternExport(exports$1, pat.value);
2012
2042
  } else if (type === "AssignmentPattern") {
2013
- this.checkPatternExport(exports, pat.left);
2043
+ this.checkPatternExport(exports$1, pat.left);
2014
2044
  } else if (type === "RestElement") {
2015
- this.checkPatternExport(exports, pat.argument);
2045
+ this.checkPatternExport(exports$1, pat.argument);
2016
2046
  }
2017
2047
  };
2018
- pp$8.checkVariableExport = function(exports, decls) {
2019
- if (!exports) {
2048
+ pp$8.checkVariableExport = function(exports$1, decls) {
2049
+ if (!exports$1) {
2020
2050
  return;
2021
2051
  }
2022
2052
  for (var i = 0, list = decls; i < list.length; i += 1) {
2023
2053
  var decl = list[i];
2024
- this.checkPatternExport(exports, decl.id);
2054
+ this.checkPatternExport(exports$1, decl.id);
2025
2055
  }
2026
2056
  };
2027
2057
  pp$8.shouldParseExportStatement = function() {
2028
2058
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
2029
2059
  };
2030
- pp$8.parseExportSpecifier = function(exports) {
2060
+ pp$8.parseExportSpecifier = function(exports$1) {
2031
2061
  var node = this.startNode();
2032
2062
  node.local = this.parseModuleExportName();
2033
2063
  node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local;
2034
2064
  this.checkExport(
2035
- exports,
2065
+ exports$1,
2036
2066
  node.exported,
2037
2067
  node.exported.start
2038
2068
  );
2039
2069
  return this.finishNode(node, "ExportSpecifier");
2040
2070
  };
2041
- pp$8.parseExportSpecifiers = function(exports) {
2071
+ pp$8.parseExportSpecifiers = function(exports$1) {
2042
2072
  var nodes = [], first = true;
2043
2073
  this.expect(types$1.braceL);
2044
2074
  while (!this.eat(types$1.braceR)) {
@@ -2050,7 +2080,7 @@ pp$8.parseExportSpecifiers = function(exports) {
2050
2080
  } else {
2051
2081
  first = false;
2052
2082
  }
2053
- nodes.push(this.parseExportSpecifier(exports));
2083
+ nodes.push(this.parseExportSpecifier(exports$1));
2054
2084
  }
2055
2085
  return nodes;
2056
2086
  };
@@ -2618,17 +2648,20 @@ pp$5.checkPropClash = function(prop, propHash, refDestructuringErrors) {
2618
2648
  other[kind] = true;
2619
2649
  };
2620
2650
  pp$5.parseExpression = function(forInit, refDestructuringErrors) {
2621
- var startPos = this.start, startLoc = this.startLoc;
2622
- var expr = this.parseMaybeAssign(forInit, refDestructuringErrors);
2623
- if (this.type === types$1.comma) {
2624
- var node = this.startNodeAt(startPos, startLoc);
2625
- node.expressions = [expr];
2626
- while (this.eat(types$1.comma)) {
2627
- node.expressions.push(this.parseMaybeAssign(forInit, refDestructuringErrors));
2651
+ var this$1$1 = this;
2652
+ return this.catchStackOverflow(function() {
2653
+ var startPos = this$1$1.start, startLoc = this$1$1.startLoc;
2654
+ var expr = this$1$1.parseMaybeAssign(forInit, refDestructuringErrors);
2655
+ if (this$1$1.type === types$1.comma) {
2656
+ var node = this$1$1.startNodeAt(startPos, startLoc);
2657
+ node.expressions = [expr];
2658
+ while (this$1$1.eat(types$1.comma)) {
2659
+ node.expressions.push(this$1$1.parseMaybeAssign(forInit, refDestructuringErrors));
2660
+ }
2661
+ return this$1$1.finishNode(node, "SequenceExpression");
2628
2662
  }
2629
- return this.finishNode(node, "SequenceExpression");
2630
- }
2631
- return expr;
2663
+ return expr;
2664
+ });
2632
2665
  };
2633
2666
  pp$5.parseMaybeAssign = function(forInit, refDestructuringErrors, afterLeftParse) {
2634
2667
  if (this.isContextual("yield")) {
@@ -2700,7 +2733,7 @@ pp$5.parseMaybeConditional = function(forInit, refDestructuringErrors) {
2700
2733
  if (this.checkExpressionErrors(refDestructuringErrors)) {
2701
2734
  return expr;
2702
2735
  }
2703
- if (this.eat(types$1.question)) {
2736
+ if (!(expr.type === "ArrowFunctionExpression" && expr.start === startPos) && this.eat(types$1.question)) {
2704
2737
  var node = this.startNodeAt(startPos, startLoc);
2705
2738
  node.test = expr;
2706
2739
  node.consequent = this.parseMaybeAssign();
@@ -3199,6 +3232,9 @@ pp$5.parseNew = function() {
3199
3232
  }
3200
3233
  var startPos = this.start, startLoc = this.startLoc;
3201
3234
  node.callee = this.parseSubscripts(this.parseExprAtom(null, false, true), startPos, startLoc, true, false);
3235
+ if (node.callee.type === "Super") {
3236
+ this.raiseRecoverable(startPos, "Invalid use of 'super'");
3237
+ }
3202
3238
  if (this.eat(types$1.parenL)) {
3203
3239
  node.arguments = this.parseExprList(types$1.parenR, this.options.ecmaVersion >= 8, false);
3204
3240
  } else {
@@ -5951,7 +5987,7 @@ pp.readWord = function() {
5951
5987
  }
5952
5988
  return this.finishToken(type, word);
5953
5989
  };
5954
- var version = "8.16.0";
5990
+ var version = "8.17.0";
5955
5991
  Parser.acorn = {
5956
5992
  Parser,
5957
5993
  version,
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkNKIVN7QJcjs = require('./chunk-NKIVN7QJ.cjs');
5
+ var _chunkQ6EEYJMXcjs = require('./chunk-Q6EEYJMX.cjs');
6
6
 
7
7
  // ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs
8
- var require_node_fetch_native_DhEqb06g = _chunkNKIVN7QJcjs.__commonJS.call(void 0, {
8
+ var require_node_fetch_native_DhEqb06g = _chunkQ6EEYJMXcjs.__commonJS.call(void 0, {
9
9
  "../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs"(exports) {
10
10
  "use strict";
11
- _chunkNKIVN7QJcjs.init_cjs_shims.call(void 0, );
11
+ _chunkQ6EEYJMXcjs.init_cjs_shims.call(void 0, );
12
12
  var l = Object.defineProperty;
13
13
  var o = (e, t) => l(e, "name", { value: t, configurable: true });
14
14
  var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -20,10 +20,10 @@ var require_node_fetch_native_DhEqb06g = _chunkNKIVN7QJcjs.__commonJS.call(void
20
20
  });
21
21
 
22
22
  // ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs
23
- var require_node = _chunkNKIVN7QJcjs.__commonJS.call(void 0, {
23
+ var require_node = _chunkQ6EEYJMXcjs.__commonJS.call(void 0, {
24
24
  "../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs"(exports) {
25
25
  "use strict";
26
- _chunkNKIVN7QJcjs.init_cjs_shims.call(void 0, );
26
+ _chunkQ6EEYJMXcjs.init_cjs_shims.call(void 0, );
27
27
  var ys = Object.defineProperty;
28
28
  var Po = (c) => {
29
29
  throw TypeError(c);
@@ -47,17 +47,17 @@ var require_node = _chunkNKIVN7QJcjs.__commonJS.call(void 0, {
47
47
  var Ue;
48
48
  var at;
49
49
  Object.defineProperty(exports, "__esModule", { value: true });
50
- var http = _chunkNKIVN7QJcjs.__require.call(void 0, "http");
51
- var https = _chunkNKIVN7QJcjs.__require.call(void 0, "https");
52
- var zlib = _chunkNKIVN7QJcjs.__require.call(void 0, "zlib");
53
- var Stream = _chunkNKIVN7QJcjs.__require.call(void 0, "stream");
54
- var require$$0 = _chunkNKIVN7QJcjs.__require.call(void 0, "buffer");
55
- var require$$0$1 = _chunkNKIVN7QJcjs.__require.call(void 0, "util");
50
+ var http = _chunkQ6EEYJMXcjs.__require.call(void 0, "http");
51
+ var https = _chunkQ6EEYJMXcjs.__require.call(void 0, "https");
52
+ var zlib = _chunkQ6EEYJMXcjs.__require.call(void 0, "zlib");
53
+ var Stream = _chunkQ6EEYJMXcjs.__require.call(void 0, "stream");
54
+ var require$$0 = _chunkQ6EEYJMXcjs.__require.call(void 0, "buffer");
55
+ var require$$0$1 = _chunkQ6EEYJMXcjs.__require.call(void 0, "util");
56
56
  var _commonjsHelpers = require_node_fetch_native_DhEqb06g();
57
- var require$$1 = _chunkNKIVN7QJcjs.__require.call(void 0, "url");
58
- var require$$0$2 = _chunkNKIVN7QJcjs.__require.call(void 0, "net");
59
- var node_fs = _chunkNKIVN7QJcjs.__require.call(void 0, "fs");
60
- var node_path = _chunkNKIVN7QJcjs.__require.call(void 0, "path");
57
+ var require$$1 = _chunkQ6EEYJMXcjs.__require.call(void 0, "url");
58
+ var require$$0$2 = _chunkQ6EEYJMXcjs.__require.call(void 0, "net");
59
+ var node_fs = _chunkQ6EEYJMXcjs.__require.call(void 0, "fs");
60
+ var node_path = _chunkQ6EEYJMXcjs.__require.call(void 0, "path");
61
61
  function _interopDefaultCompat(c) {
62
62
  return c && typeof c == "object" && "default" in c ? c.default : c;
63
63
  }
@@ -2467,10 +2467,10 @@ var require_node = _chunkNKIVN7QJcjs.__commonJS.call(void 0, {
2467
2467
  hasRequiredStreams = 1;
2468
2468
  const c = 65536;
2469
2469
  if (!globalThis.ReadableStream) try {
2470
- const l = _chunkNKIVN7QJcjs.__require.call(void 0, "process"), { emitWarning: d } = l;
2470
+ const l = _chunkQ6EEYJMXcjs.__require.call(void 0, "process"), { emitWarning: d } = l;
2471
2471
  try {
2472
2472
  l.emitWarning = () => {
2473
- }, Object.assign(globalThis, _chunkNKIVN7QJcjs.__require.call(void 0, "stream/web")), l.emitWarning = d;
2473
+ }, Object.assign(globalThis, _chunkQ6EEYJMXcjs.__require.call(void 0, "stream/web")), l.emitWarning = d;
2474
2474
  } catch (g) {
2475
2475
  throw l.emitWarning = d, g;
2476
2476
  }
@@ -2478,7 +2478,7 @@ var require_node = _chunkNKIVN7QJcjs.__commonJS.call(void 0, {
2478
2478
  Object.assign(globalThis, requirePonyfill_es2018());
2479
2479
  }
2480
2480
  try {
2481
- const { Blob: l } = _chunkNKIVN7QJcjs.__require.call(void 0, "buffer");
2481
+ const { Blob: l } = _chunkQ6EEYJMXcjs.__require.call(void 0, "buffer");
2482
2482
  l && !l.prototype.stream && (l.prototype.stream = u(function(g) {
2483
2483
  let b = 0;
2484
2484
  const R = this;
@@ -2744,7 +2744,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
2744
2744
  for (const [R, w] of b) g.append(R, w);
2745
2745
  return g;
2746
2746
  }
2747
- const { toFormData: d } = await Promise.resolve().then(() => _interopRequireWildcard(require("./multipart-parser-EIL4EV6D.cjs")));
2747
+ const { toFormData: d } = await Promise.resolve().then(() => _interopRequireWildcard(require("./multipart-parser-PR2V4FFS.cjs")));
2748
2748
  return d(this.body, l);
2749
2749
  }
2750
2750
  async blob() {
@@ -3115,7 +3115,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
3115
3115
  function requireNodeDomexception() {
3116
3116
  if (hasRequiredNodeDomexception) return nodeDomexception;
3117
3117
  if (hasRequiredNodeDomexception = 1, !globalThis.DOMException) try {
3118
- const { MessageChannel: c } = _chunkNKIVN7QJcjs.__require.call(void 0, "worker_threads"), l = new c().port1, d = new ArrayBuffer();
3118
+ const { MessageChannel: c } = _chunkQ6EEYJMXcjs.__require.call(void 0, "worker_threads"), l = new c().port1, d = new ArrayBuffer();
3119
3119
  l.postMessage(d, [d, d]);
3120
3120
  } catch (c) {
3121
3121
  c.constructor.name === "DOMException" && (globalThis.DOMException = c.constructor);
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  C,
3
3
  N
4
- } from "./chunk-SHNG5VUU.js";
4
+ } from "./chunk-FPBFX6J6.js";
5
5
  import {
6
6
  init_esm_shims
7
- } from "./chunk-QMLJPLTV.js";
7
+ } from "./chunk-RAVGRBGV.js";
8
8
 
9
9
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/toml.mjs
10
10
  init_esm_shims();