@storm-software/linting-tools 1.132.102 → 1.132.104

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 (51) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-SLK5EWJN.js → chunk-367FWK47.js} +2 -2
  3. package/bin/{chunk-P5F4RYUI.cjs → chunk-3RO2ACDW.cjs} +2 -2
  4. package/bin/{chunk-SAD24MS4.cjs → chunk-46LPOEG7.cjs} +20 -20
  5. package/bin/{chunk-ZHFEEGVH.cjs → chunk-4DJ7KEKM.cjs} +6 -6
  6. package/bin/{chunk-USMGBYMW.cjs → chunk-4RNOYHFR.cjs} +145 -95
  7. package/bin/{chunk-DVXXZSAP.js → chunk-6LJGNBH7.js} +2 -2
  8. package/bin/{chunk-ZE6XM7TR.cjs → chunk-BPN5FB3V.cjs} +5 -5
  9. package/bin/{chunk-XODCMZG4.cjs → chunk-CXVUGPJP.cjs} +2 -2
  10. package/bin/{chunk-7KUZ4Z4L.js → chunk-EFYK7LSH.js} +1 -1
  11. package/bin/{chunk-FWSS6V3R.cjs → chunk-EPDNAFTI.cjs} +5 -5
  12. package/bin/{chunk-KRTLKD3D.js → chunk-HJZ7TOM5.js} +1 -1
  13. package/bin/{chunk-TYBKVIQ4.js → chunk-JXEBOJS5.js} +2 -2
  14. package/bin/{chunk-RCCCFWBP.js → chunk-KM6YS7KN.js} +2 -2
  15. package/bin/{chunk-74IHW6ZR.cjs → chunk-NMQYBAZW.cjs} +5 -5
  16. package/bin/{chunk-HT5MW2MW.cjs → chunk-SOMAG4OK.cjs} +2 -2
  17. package/bin/{chunk-OPL4L4AI.cjs → chunk-TGLC342P.cjs} +91 -91
  18. package/bin/{chunk-FFP3I5H2.js → chunk-VLMX3NQP.js} +2 -2
  19. package/bin/{chunk-2BVMDTWP.js → chunk-VTSQTSYF.js} +1 -1
  20. package/bin/{chunk-PZ7OCOA6.js → chunk-XOSXF5GD.js} +134 -84
  21. package/bin/{chunk-LHG4Q363.js → chunk-ZXEWM77C.js} +2 -2
  22. package/bin/{dist-B4GAEUJJ.js → dist-AJLZ2YE4.js} +8 -8
  23. package/bin/{dist-566SMNKV.cjs → dist-KCUESUX7.cjs} +6 -6
  24. package/bin/{dist-MC7PYVCG.cjs → dist-KUW5R2G6.cjs} +206 -206
  25. package/bin/{dist-NBQA4WI6.js → dist-XSR3RQ2H.js} +2 -2
  26. package/bin/{esm-H7VL57L5.cjs → esm-BJVM57VT.cjs} +4 -4
  27. package/bin/{esm-KF2LDDV6.js → esm-OLU4PZAL.js} +1 -1
  28. package/bin/json5-7T7S6DGV.cjs +10 -0
  29. package/bin/json5-H2TGPWGY.js +10 -0
  30. package/bin/{jsonc-DO6MLDMP.js → jsonc-FADPE5LI.js} +3 -3
  31. package/bin/jsonc-Q674SJT2.cjs +15 -0
  32. package/bin/lint.cjs +4745 -5903
  33. package/bin/lint.js +1975 -3463
  34. package/bin/{multipart-parser-7EVB2NVH.js → multipart-parser-VVPDLOND.js} +2 -2
  35. package/bin/{multipart-parser-SH27CS66.cjs → multipart-parser-Z6WM73LO.cjs} +6 -6
  36. package/bin/{package-json-SCN5377T.cjs → package-json-63FLSD57.cjs} +94 -94
  37. package/bin/{package-json-DTIKNJTD.js → package-json-ZFCGQAYS.js} +2 -2
  38. package/bin/toml-3IPKAOPS.cjs +10 -0
  39. package/bin/toml-CJD72GZ3.js +10 -0
  40. package/bin/{utils-LD5OTFNL.js → utils-IBDV3LTU.js} +2 -2
  41. package/bin/{utils-KCSHILBD.cjs → utils-UPGZJAYV.cjs} +5 -5
  42. package/bin/yaml-O3FERUKI.cjs +10 -0
  43. package/bin/yaml-ZE3I2LDD.js +10 -0
  44. package/package.json +4 -4
  45. package/bin/json5-7HFJM6QK.js +0 -10
  46. package/bin/json5-KDIRZ72S.cjs +0 -10
  47. package/bin/jsonc-CI2HXMIJ.cjs +0 -15
  48. package/bin/toml-TZGV27QJ.cjs +0 -10
  49. package/bin/toml-W7RSYAHX.js +0 -10
  50. package/bin/yaml-N7OWW7KW.cjs +0 -10
  51. package/bin/yaml-X3X6M4ON.js +0 -10
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  h,
3
3
  x
4
- } from "./chunk-RCCCFWBP.js";
4
+ } from "./chunk-KM6YS7KN.js";
5
5
  import {
6
6
  init_esm_shims
7
- } from "./chunk-DVXXZSAP.js";
7
+ } from "./chunk-6LJGNBH7.js";
8
8
 
9
9
  // ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/index.mjs
10
10
  init_esm_shims();
@@ -322,15 +322,15 @@ var protocolRelative = Symbol.for("ufo:protocolRelative");
322
322
  init_esm_shims();
323
323
  import { statSync as statSync2, promises as promises2 } from "node:fs";
324
324
 
325
- // ../../node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist/index.mjs
325
+ // ../../node_modules/.pnpm/mlly@1.8.1/node_modules/mlly/dist/index.mjs
326
326
  init_esm_shims();
327
327
 
328
- // ../../node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs
328
+ // ../../node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/dist/acorn.mjs
329
329
  init_esm_shims();
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, 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];
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, 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];
332
- var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
333
- var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
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
+ 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];
332
+ var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
333
+ var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
334
334
  var reservedWords = {
335
335
  3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
336
336
  5: "class enum extends super const export import",
@@ -598,7 +598,7 @@ var defaultOptions = {
598
598
  // for new syntax features.
599
599
  ecmaVersion: null,
600
600
  // `sourceType` indicates the mode the code should be parsed in.
601
- // Can be either `"script"` or `"module"`. This influences global
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
604
  // `onInsertedSemicolon` can be a callback that will be called when
@@ -718,6 +718,9 @@ function getOptions(opts) {
718
718
  if (isArray(options.onComment)) {
719
719
  options.onComment = pushComment(options, options.onComment);
720
720
  }
721
+ if (options.sourceType === "commonjs" && options.allowAwaitOutsideFunction) {
722
+ throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
723
+ }
721
724
  return options;
722
725
  }
723
726
  function pushComment(options, array) {
@@ -747,6 +750,7 @@ var SCOPE_SUPER = 64;
747
750
  var SCOPE_DIRECT_SUPER = 128;
748
751
  var SCOPE_CLASS_STATIC_BLOCK = 256;
749
752
  var SCOPE_CLASS_FIELD_INIT = 512;
753
+ var SCOPE_SWITCH = 1024;
750
754
  var SCOPE_VAR = SCOPE_TOP | SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK;
751
755
  function functionFlags(async, generator) {
752
756
  return SCOPE_FUNCTION | (async ? SCOPE_ASYNC : 0) | (generator ? SCOPE_GENERATOR : 0);
@@ -801,11 +805,13 @@ var Parser = function Parser2(options, input, startPos) {
801
805
  this.skipLineComment(2);
802
806
  }
803
807
  this.scopeStack = [];
804
- this.enterScope(SCOPE_TOP);
808
+ this.enterScope(
809
+ this.options.sourceType === "commonjs" ? SCOPE_FUNCTION : SCOPE_TOP
810
+ );
805
811
  this.regexpState = null;
806
812
  this.privateNameStack = [];
807
813
  };
808
- var prototypeAccessors = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, inClassStaticBlock: { configurable: true } };
814
+ 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 } };
809
815
  Parser.prototype.parse = function parse2() {
810
816
  var node = this.options.program || this.startNode();
811
817
  this.nextToken();
@@ -833,6 +839,15 @@ prototypeAccessors.canAwait.get = function() {
833
839
  }
834
840
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
835
841
  };
842
+ prototypeAccessors.allowReturn.get = function() {
843
+ if (this.inFunction) {
844
+ return true;
845
+ }
846
+ if (this.options.allowReturnOutsideFunction && this.currentVarScope().flags & SCOPE_TOP) {
847
+ return true;
848
+ }
849
+ return false;
850
+ };
836
851
  prototypeAccessors.allowSuper.get = function() {
837
852
  var ref2 = this.currentThisScope();
838
853
  var flags = ref2.flags;
@@ -854,6 +869,17 @@ prototypeAccessors.allowNewDotTarget.get = function() {
854
869
  }
855
870
  return false;
856
871
  };
872
+ prototypeAccessors.allowUsing.get = function() {
873
+ var ref2 = this.currentScope();
874
+ var flags = ref2.flags;
875
+ if (flags & SCOPE_SWITCH) {
876
+ return false;
877
+ }
878
+ if (!this.inModule && flags & SCOPE_TOP) {
879
+ return false;
880
+ }
881
+ return true;
882
+ };
857
883
  prototypeAccessors.inClassStaticBlock.get = function() {
858
884
  return (this.currentVarScope().flags & SCOPE_CLASS_STATIC_BLOCK) > 0;
859
885
  };
@@ -1024,7 +1050,7 @@ pp$8.parseTopLevel = function(node) {
1024
1050
  }
1025
1051
  this.adaptDirectivePrologue(node.body);
1026
1052
  this.next();
1027
- node.sourceType = this.options.sourceType;
1053
+ node.sourceType = this.options.sourceType === "commonjs" ? "script" : this.options.sourceType;
1028
1054
  return this.finishNode(node, "Program");
1029
1055
  };
1030
1056
  var loopLabel = { kind: "loop" };
@@ -1035,25 +1061,25 @@ pp$8.isLet = function(context) {
1035
1061
  }
1036
1062
  skipWhiteSpace.lastIndex = this.pos;
1037
1063
  var skip = skipWhiteSpace.exec(this.input);
1038
- var next = this.pos + skip[0].length, nextCh = this.input.charCodeAt(next);
1064
+ var next = this.pos + skip[0].length, nextCh = this.fullCharCodeAt(next);
1039
1065
  if (nextCh === 91 || nextCh === 92) {
1040
1066
  return true;
1041
1067
  }
1042
1068
  if (context) {
1043
1069
  return false;
1044
1070
  }
1045
- if (nextCh === 123 || nextCh > 55295 && nextCh < 56320) {
1071
+ if (nextCh === 123) {
1046
1072
  return true;
1047
1073
  }
1048
- if (isIdentifierStart(nextCh, true)) {
1049
- var pos = next + 1;
1050
- while (isIdentifierChar(nextCh = this.input.charCodeAt(pos), true)) {
1051
- ++pos;
1052
- }
1053
- if (nextCh === 92 || nextCh > 55295 && nextCh < 56320) {
1074
+ if (isIdentifierStart(nextCh)) {
1075
+ var start = next;
1076
+ do {
1077
+ next += nextCh <= 65535 ? 1 : 2;
1078
+ } while (isIdentifierChar(nextCh = this.fullCharCodeAt(next)));
1079
+ if (nextCh === 92) {
1054
1080
  return true;
1055
1081
  }
1056
- var ident = this.input.slice(next, pos);
1082
+ var ident = this.input.slice(start, next);
1057
1083
  if (!keywordRelationalOperator.test(ident)) {
1058
1084
  return true;
1059
1085
  }
@@ -1067,7 +1093,7 @@ pp$8.isAsyncFunction = function() {
1067
1093
  skipWhiteSpace.lastIndex = this.pos;
1068
1094
  var skip = skipWhiteSpace.exec(this.input);
1069
1095
  var next = this.pos + skip[0].length, after;
1070
- return !lineBreak.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar(after = this.input.charCodeAt(next + 8)) || after > 55295 && after < 56320));
1096
+ return !lineBreak.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar(after = this.fullCharCodeAt(next + 8)) || after === 92));
1071
1097
  };
1072
1098
  pp$8.isUsingKeyword = function(isAwaitUsing, isFor) {
1073
1099
  if (this.options.ecmaVersion < 17 || !this.isContextual(isAwaitUsing ? "await" : "using")) {
@@ -1080,26 +1106,33 @@ pp$8.isUsingKeyword = function(isAwaitUsing, isFor) {
1080
1106
  return false;
1081
1107
  }
1082
1108
  if (isAwaitUsing) {
1083
- var awaitEndPos = next + 5, after;
1084
- if (this.input.slice(next, awaitEndPos) !== "using" || awaitEndPos === this.input.length || isIdentifierChar(after = this.input.charCodeAt(awaitEndPos)) || after > 55295 && after < 56320) {
1109
+ var usingEndPos = next + 5, after;
1110
+ if (this.input.slice(next, usingEndPos) !== "using" || usingEndPos === this.input.length || isIdentifierChar(after = this.fullCharCodeAt(usingEndPos)) || after === 92) {
1085
1111
  return false;
1086
1112
  }
1087
- skipWhiteSpace.lastIndex = awaitEndPos;
1113
+ skipWhiteSpace.lastIndex = usingEndPos;
1088
1114
  var skipAfterUsing = skipWhiteSpace.exec(this.input);
1089
- if (skipAfterUsing && lineBreak.test(this.input.slice(awaitEndPos, awaitEndPos + skipAfterUsing[0].length))) {
1115
+ next = usingEndPos + skipAfterUsing[0].length;
1116
+ if (skipAfterUsing && lineBreak.test(this.input.slice(usingEndPos, next))) {
1090
1117
  return false;
1091
1118
  }
1092
1119
  }
1093
- if (isFor) {
1094
- var ofEndPos = next + 2, after$1;
1095
- if (this.input.slice(next, ofEndPos) === "of") {
1096
- if (ofEndPos === this.input.length || !isIdentifierChar(after$1 = this.input.charCodeAt(ofEndPos)) && !(after$1 > 55295 && after$1 < 56320)) {
1097
- return false;
1098
- }
1099
- }
1120
+ var ch = this.fullCharCodeAt(next);
1121
+ if (!isIdentifierStart(ch) && ch !== 92) {
1122
+ return false;
1100
1123
  }
1101
- var ch = this.input.charCodeAt(next);
1102
- return isIdentifierStart(ch, true) || ch === 92;
1124
+ var idStart = next;
1125
+ do {
1126
+ next += ch <= 65535 ? 1 : 2;
1127
+ } while (isIdentifierChar(ch = this.fullCharCodeAt(next)));
1128
+ if (ch === 92) {
1129
+ return true;
1130
+ }
1131
+ var id = this.input.slice(idStart, next);
1132
+ if (keywordRelationalOperator.test(id) || isFor && id === "of") {
1133
+ return false;
1134
+ }
1135
+ return true;
1103
1136
  };
1104
1137
  pp$8.isAwaitUsing = function(isFor) {
1105
1138
  return this.isUsingKeyword(true, isFor);
@@ -1192,8 +1225,8 @@ pp$8.parseStatement = function(context, topLevel, exports) {
1192
1225
  }
1193
1226
  var usingKind = this.isAwaitUsing(false) ? "await using" : this.isUsing(false) ? "using" : null;
1194
1227
  if (usingKind) {
1195
- if (topLevel && this.options.sourceType === "script") {
1196
- this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`");
1228
+ if (!this.allowUsing) {
1229
+ this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement");
1197
1230
  }
1198
1231
  if (usingKind === "await using") {
1199
1232
  if (!this.canAwait) {
@@ -1287,6 +1320,9 @@ pp$8.parseForStatement = function(node) {
1287
1320
  var init$2 = this.startNode();
1288
1321
  this.next();
1289
1322
  if (usingKind === "await using") {
1323
+ if (!this.canAwait) {
1324
+ this.raise(this.start, "Await using cannot appear outside of async function");
1325
+ }
1290
1326
  this.next();
1291
1327
  }
1292
1328
  this.parseVar(init$2, true, usingKind);
@@ -1354,7 +1390,7 @@ pp$8.parseIfStatement = function(node) {
1354
1390
  return this.finishNode(node, "IfStatement");
1355
1391
  };
1356
1392
  pp$8.parseReturnStatement = function(node) {
1357
- if (!this.inFunction && !this.options.allowReturnOutsideFunction) {
1393
+ if (!this.allowReturn) {
1358
1394
  this.raise(this.start, "'return' outside of function");
1359
1395
  }
1360
1396
  this.next();
@@ -1372,7 +1408,7 @@ pp$8.parseSwitchStatement = function(node) {
1372
1408
  node.cases = [];
1373
1409
  this.expect(types$1.braceL);
1374
1410
  this.labels.push(switchLabel);
1375
- this.enterScope(0);
1411
+ this.enterScope(SCOPE_SWITCH);
1376
1412
  var cur;
1377
1413
  for (var sawDefault = false; this.type !== types$1.braceR; ) {
1378
1414
  if (this.type === types$1._case || this.type === types$1._default) {
@@ -3714,7 +3750,7 @@ pp$2.copyNode = function(node) {
3714
3750
  }
3715
3751
  return newNode;
3716
3752
  };
3717
- var scriptValuesAddedInUnicode = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz";
3753
+ var scriptValuesAddedInUnicode = "Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz";
3718
3754
  var ecma9BinaryProperties = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";
3719
3755
  var ecma10BinaryProperties = ecma9BinaryProperties + " Extended_Pictographic";
3720
3756
  var ecma11BinaryProperties = ecma10BinaryProperties;
@@ -5135,14 +5171,17 @@ pp.readToken = function(code) {
5135
5171
  }
5136
5172
  return this.getTokenFromCode(code);
5137
5173
  };
5138
- pp.fullCharCodeAtPos = function() {
5139
- var code = this.input.charCodeAt(this.pos);
5174
+ pp.fullCharCodeAt = function(pos) {
5175
+ var code = this.input.charCodeAt(pos);
5140
5176
  if (code <= 55295 || code >= 56320) {
5141
5177
  return code;
5142
5178
  }
5143
- var next = this.input.charCodeAt(this.pos + 1);
5179
+ var next = this.input.charCodeAt(pos + 1);
5144
5180
  return next <= 56319 || next >= 57344 ? code : (code << 10) + next - 56613888;
5145
5181
  };
5182
+ pp.fullCharCodeAtPos = function() {
5183
+ return this.fullCharCodeAt(this.pos);
5184
+ };
5146
5185
  pp.skipBlockComment = function() {
5147
5186
  var startLoc = this.options.onComment && this.curPosition();
5148
5187
  var start = this.pos, end = this.input.indexOf("*/", this.pos += 2);
@@ -5912,7 +5951,7 @@ pp.readWord = function() {
5912
5951
  }
5913
5952
  return this.finishToken(type, word);
5914
5953
  };
5915
- var version = "8.15.0";
5954
+ var version = "8.16.0";
5916
5955
  Parser.acorn = {
5917
5956
  Parser,
5918
5957
  version,
@@ -5935,10 +5974,10 @@ Parser.acorn = {
5935
5974
  nonASCIIwhitespace
5936
5975
  };
5937
5976
 
5938
- // ../../node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist/index.mjs
5977
+ // ../../node_modules/.pnpm/mlly@1.8.1/node_modules/mlly/dist/index.mjs
5939
5978
  import { builtinModules, createRequire } from "node:module";
5940
5979
  import fs, { realpathSync, statSync, promises } from "node:fs";
5941
- import { fileURLToPath as fileURLToPath$1, URL as URL$1, pathToFileURL as pathToFileURL$1 } from "node:url";
5980
+ import { fileURLToPath as fileURLToPath$1, pathToFileURL as pathToFileURL$1 } from "node:url";
5942
5981
  import assert from "node:assert";
5943
5982
  import process$1 from "node:process";
5944
5983
  import path, { dirname as dirname2 } from "node:path";
@@ -5977,7 +6016,7 @@ codes.ERR_INVALID_ARG_TYPE = createError(
5977
6016
  * @param {unknown} actual
5978
6017
  */
5979
6018
  (name, expected, actual) => {
5980
- assert(typeof name === "string", "'name' must be a string");
6019
+ assert.ok(typeof name === "string", "'name' must be a string");
5981
6020
  if (!Array.isArray(expected)) {
5982
6021
  expected = [expected];
5983
6022
  }
@@ -5993,14 +6032,14 @@ codes.ERR_INVALID_ARG_TYPE = createError(
5993
6032
  const instances = [];
5994
6033
  const other = [];
5995
6034
  for (const value of expected) {
5996
- assert(
6035
+ assert.ok(
5997
6036
  typeof value === "string",
5998
6037
  "All expected entries have to be of type string"
5999
6038
  );
6000
6039
  if (kTypes.has(value)) {
6001
6040
  types2.push(value.toLowerCase());
6002
6041
  } else if (classRegExp.exec(value) === null) {
6003
- assert(
6042
+ assert.ok(
6004
6043
  value !== "object",
6005
6044
  'The value "object" should be written as "Object"'
6006
6045
  );
@@ -6076,7 +6115,7 @@ codes.ERR_INVALID_PACKAGE_TARGET = createError(
6076
6115
  (packagePath, key, target, isImport = false, base = void 0) => {
6077
6116
  const relatedError = typeof target === "string" && !isImport && target.length > 0 && !target.startsWith("./");
6078
6117
  if (key === ".") {
6079
- assert(isImport === false);
6118
+ assert.ok(isImport === false);
6080
6119
  return `Invalid "exports" main target ${JSON.stringify(target)} defined in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ""}${relatedError ? '; targets must start with "./"' : ""}`;
6081
6120
  }
6082
6121
  return `Invalid "${isImport ? "imports" : "exports"}" target ${JSON.stringify(
@@ -6241,9 +6280,9 @@ var captureLargerStackTrace = hideStackFrames(
6241
6280
  );
6242
6281
  function getMessage(key, parameters, self) {
6243
6282
  const message = messages.get(key);
6244
- assert(message !== void 0, "expected `message` to be found");
6283
+ assert.ok(message !== void 0, "expected `message` to be found");
6245
6284
  if (typeof message === "function") {
6246
- assert(
6285
+ assert.ok(
6247
6286
  message.length <= parameters.length,
6248
6287
  // Default options do not count.
6249
6288
  `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).`
@@ -6253,7 +6292,7 @@ function getMessage(key, parameters, self) {
6253
6292
  const regex = /%[dfijoOs]/g;
6254
6293
  let expectedLength = 0;
6255
6294
  while (regex.exec(message) !== null) expectedLength++;
6256
- assert(
6295
+ assert.ok(
6257
6296
  expectedLength === parameters.length,
6258
6297
  `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).`
6259
6298
  );
@@ -6456,6 +6495,14 @@ function defaultGetFormatWithoutErrors(url, context) {
6456
6495
  }
6457
6496
  return protocolHandlers[protocol](url, context, true) || null;
6458
6497
  }
6498
+ var DEFAULT_CONDITIONS = Object.freeze(["node", "import"]);
6499
+ var DEFAULT_CONDITIONS_SET$1 = new Set(DEFAULT_CONDITIONS);
6500
+ function getDefaultConditionsSet() {
6501
+ return DEFAULT_CONDITIONS_SET$1;
6502
+ }
6503
+ function getConditionsSet(conditions) {
6504
+ return getDefaultConditionsSet();
6505
+ }
6459
6506
  var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace];
6460
6507
  var {
6461
6508
  ERR_INVALID_MODULE_SPECIFIER,
@@ -6494,7 +6541,7 @@ function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {
6494
6541
  const format3 = defaultGetFormatWithoutErrors(url, { parentURL: base.href });
6495
6542
  if (format3 !== "module") return;
6496
6543
  const urlPath = fileURLToPath$1(url.href);
6497
- const packagePath = fileURLToPath$1(new URL$1(".", packageJsonUrl));
6544
+ const packagePath = fileURLToPath$1(new URL(".", packageJsonUrl));
6498
6545
  const basePath = fileURLToPath$1(base);
6499
6546
  if (!main) {
6500
6547
  process$1.emitWarning(
@@ -6530,7 +6577,7 @@ function fileExists(url) {
6530
6577
  function legacyMainResolve(packageJsonUrl, packageConfig, base) {
6531
6578
  let guess;
6532
6579
  if (packageConfig.main !== void 0) {
6533
- guess = new URL$1(packageConfig.main, packageJsonUrl);
6580
+ guess = new URL(packageConfig.main, packageJsonUrl);
6534
6581
  if (fileExists(guess)) return guess;
6535
6582
  const tries2 = [
6536
6583
  `./${packageConfig.main}.js`,
@@ -6542,7 +6589,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
6542
6589
  ];
6543
6590
  let i2 = -1;
6544
6591
  while (++i2 < tries2.length) {
6545
- guess = new URL$1(tries2[i2], packageJsonUrl);
6592
+ guess = new URL(tries2[i2], packageJsonUrl);
6546
6593
  if (fileExists(guess)) break;
6547
6594
  guess = void 0;
6548
6595
  }
@@ -6559,7 +6606,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
6559
6606
  const tries = ["./index.js", "./index.json", "./index.node"];
6560
6607
  let i = -1;
6561
6608
  while (++i < tries.length) {
6562
- guess = new URL$1(tries[i], packageJsonUrl);
6609
+ guess = new URL(tries[i], packageJsonUrl);
6563
6610
  if (fileExists(guess)) break;
6564
6611
  guess = void 0;
6565
6612
  }
@@ -6568,7 +6615,7 @@ function legacyMainResolve(packageJsonUrl, packageConfig, base) {
6568
6615
  return guess;
6569
6616
  }
6570
6617
  throw new ERR_MODULE_NOT_FOUND(
6571
- fileURLToPath$1(new URL$1(".", packageJsonUrl)),
6618
+ fileURLToPath$1(new URL(".", packageJsonUrl)),
6572
6619
  fileURLToPath$1(base)
6573
6620
  );
6574
6621
  }
@@ -6621,13 +6668,13 @@ function finalizeResolution(resolved, base, preserveSymlinks) {
6621
6668
  function importNotDefined(specifier, packageJsonUrl, base) {
6622
6669
  return new ERR_PACKAGE_IMPORT_NOT_DEFINED(
6623
6670
  specifier,
6624
- packageJsonUrl && fileURLToPath$1(new URL$1(".", packageJsonUrl)),
6671
+ packageJsonUrl && fileURLToPath$1(new URL(".", packageJsonUrl)),
6625
6672
  fileURLToPath$1(base)
6626
6673
  );
6627
6674
  }
6628
6675
  function exportsNotFound(subpath, packageJsonUrl, base) {
6629
6676
  return new ERR_PACKAGE_PATH_NOT_EXPORTED(
6630
- fileURLToPath$1(new URL$1(".", packageJsonUrl)),
6677
+ fileURLToPath$1(new URL(".", packageJsonUrl)),
6631
6678
  subpath,
6632
6679
  base && fileURLToPath$1(base)
6633
6680
  );
@@ -6643,7 +6690,7 @@ function throwInvalidSubpath(request, match, packageJsonUrl, internal, base) {
6643
6690
  function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {
6644
6691
  target = typeof target === "object" && target !== null ? JSON.stringify(target, null, "") : `${target}`;
6645
6692
  return new ERR_INVALID_PACKAGE_TARGET(
6646
- fileURLToPath$1(new URL$1(".", packageJsonUrl)),
6693
+ fileURLToPath$1(new URL(".", packageJsonUrl)),
6647
6694
  subpath,
6648
6695
  target,
6649
6696
  internal,
@@ -6657,7 +6704,7 @@ function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base
6657
6704
  if (internal && !target.startsWith("../") && !target.startsWith("/")) {
6658
6705
  let isURL = false;
6659
6706
  try {
6660
- new URL$1(target);
6707
+ new URL(target);
6661
6708
  isURL = true;
6662
6709
  } catch {
6663
6710
  }
@@ -6695,9 +6742,9 @@ function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base
6695
6742
  throw invalidPackageTarget(match, target, packageJsonUrl, internal, base);
6696
6743
  }
6697
6744
  }
6698
- const resolved = new URL$1(target, packageJsonUrl);
6745
+ const resolved = new URL(target, packageJsonUrl);
6699
6746
  const resolvedPath = resolved.pathname;
6700
- const packagePath = new URL$1(".", packageJsonUrl).pathname;
6747
+ const packagePath = new URL(".", packageJsonUrl).pathname;
6701
6748
  if (!resolvedPath.startsWith(packagePath))
6702
6749
  throw invalidPackageTarget(match, target, packageJsonUrl, internal, base);
6703
6750
  if (subpath === "") return resolved;
@@ -6725,7 +6772,7 @@ function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base
6725
6772
  }
6726
6773
  }
6727
6774
  if (pattern) {
6728
- return new URL$1(
6775
+ return new URL(
6729
6776
  RegExpPrototypeSymbolReplace.call(
6730
6777
  patternRegEx,
6731
6778
  resolved.href,
@@ -6733,7 +6780,7 @@ function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base
6733
6780
  )
6734
6781
  );
6735
6782
  }
6736
- return new URL$1(subpath, resolved);
6783
+ return new URL(subpath, resolved);
6737
6784
  }
6738
6785
  function isArrayIndex(key) {
6739
6786
  const keyNumber = Number(key);
@@ -6844,10 +6891,10 @@ function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, b
6844
6891
  base
6845
6892
  );
6846
6893
  }
6847
- function isConditionalExportsMainSugar(exports, packageJsonUrl, base) {
6848
- if (typeof exports === "string" || Array.isArray(exports)) return true;
6849
- if (typeof exports !== "object" || exports === null) return false;
6850
- const keys = Object.getOwnPropertyNames(exports);
6894
+ function isConditionalExportsMainSugar(exports$1, packageJsonUrl, base) {
6895
+ if (typeof exports$1 === "string" || Array.isArray(exports$1)) return true;
6896
+ if (typeof exports$1 !== "object" || exports$1 === null) return false;
6897
+ const keys = Object.getOwnPropertyNames(exports$1);
6851
6898
  let isConditionalSugar = false;
6852
6899
  let i = 0;
6853
6900
  let keyIndex = -1;
@@ -6880,12 +6927,12 @@ function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {
6880
6927
  );
6881
6928
  }
6882
6929
  function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
6883
- let exports = packageConfig.exports;
6884
- if (isConditionalExportsMainSugar(exports, packageJsonUrl, base)) {
6885
- exports = { ".": exports };
6930
+ let exports$1 = packageConfig.exports;
6931
+ if (isConditionalExportsMainSugar(exports$1, packageJsonUrl, base)) {
6932
+ exports$1 = { ".": exports$1 };
6886
6933
  }
6887
- if (own.call(exports, packageSubpath) && !packageSubpath.includes("*") && !packageSubpath.endsWith("/")) {
6888
- const target = exports[packageSubpath];
6934
+ if (own.call(exports$1, packageSubpath) && !packageSubpath.includes("*") && !packageSubpath.endsWith("/")) {
6935
+ const target = exports$1[packageSubpath];
6889
6936
  const resolveResult = resolvePackageTarget(
6890
6937
  packageJsonUrl,
6891
6938
  target,
@@ -6904,7 +6951,7 @@ function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, ba
6904
6951
  }
6905
6952
  let bestMatch = "";
6906
6953
  let bestMatchSubpath = "";
6907
- const keys = Object.getOwnPropertyNames(exports);
6954
+ const keys = Object.getOwnPropertyNames(exports$1);
6908
6955
  let i = -1;
6909
6956
  while (++i < keys.length) {
6910
6957
  const key = keys[i];
@@ -6930,7 +6977,7 @@ function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, ba
6930
6977
  if (bestMatch) {
6931
6978
  const target = (
6932
6979
  /** @type {unknown} */
6933
- exports[bestMatch]
6980
+ exports$1[bestMatch]
6934
6981
  );
6935
6982
  const resolveResult = resolvePackageTarget(
6936
6983
  packageJsonUrl,
@@ -7058,7 +7105,7 @@ function parsePackageName(specifier, base) {
7058
7105
  }
7059
7106
  function packageResolve(specifier, base, conditions) {
7060
7107
  if (builtinModules.includes(specifier)) {
7061
- return new URL$1("node:" + specifier);
7108
+ return new URL("node:" + specifier);
7062
7109
  }
7063
7110
  const { packageName, packageSubpath, isScoped } = parsePackageName(
7064
7111
  specifier,
@@ -7077,7 +7124,7 @@ function packageResolve(specifier, base, conditions) {
7077
7124
  );
7078
7125
  }
7079
7126
  }
7080
- let packageJsonUrl = new URL$1(
7127
+ let packageJsonUrl = new URL(
7081
7128
  "./node_modules/" + packageName + "/package.json",
7082
7129
  base
7083
7130
  );
@@ -7087,7 +7134,7 @@ function packageResolve(specifier, base, conditions) {
7087
7134
  const stat = tryStatSync(packageJsonPath.slice(0, -13));
7088
7135
  if (!stat || !stat.isDirectory()) {
7089
7136
  lastPath = packageJsonPath;
7090
- packageJsonUrl = new URL$1(
7137
+ packageJsonUrl = new URL(
7091
7138
  (isScoped ? "../../../../node_modules/" : "../../../node_modules/") + packageName + "/package.json",
7092
7139
  packageJsonUrl
7093
7140
  );
@@ -7107,7 +7154,7 @@ function packageResolve(specifier, base, conditions) {
7107
7154
  if (packageSubpath === ".") {
7108
7155
  return legacyMainResolve(packageJsonUrl, packageConfig2, base);
7109
7156
  }
7110
- return new URL$1(packageSubpath, packageJsonUrl);
7157
+ return new URL(packageSubpath, packageJsonUrl);
7111
7158
  } while (packageJsonPath.length !== lastPath.length);
7112
7159
  throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath$1(base), false);
7113
7160
  }
@@ -7126,13 +7173,16 @@ function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) {
7126
7173
  return isRelativeSpecifier(specifier);
7127
7174
  }
7128
7175
  function moduleResolve(specifier, base, conditions, preserveSymlinks) {
7176
+ if (conditions === void 0) {
7177
+ conditions = getConditionsSet();
7178
+ }
7129
7179
  const protocol = base.protocol;
7130
7180
  const isData = protocol === "data:";
7131
7181
  const isRemote = isData || protocol === "http:" || protocol === "https:";
7132
7182
  let resolved;
7133
7183
  if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) {
7134
7184
  try {
7135
- resolved = new URL$1(specifier, base);
7185
+ resolved = new URL(specifier, base);
7136
7186
  } catch (error_) {
7137
7187
  const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
7138
7188
  error.cause = error_;
@@ -7142,7 +7192,7 @@ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
7142
7192
  resolved = packageImportsResolve(specifier, base, conditions);
7143
7193
  } else {
7144
7194
  try {
7145
- resolved = new URL$1(specifier);
7195
+ resolved = new URL(specifier);
7146
7196
  } catch (error_) {
7147
7197
  if (isRemote && !builtinModules.includes(specifier)) {
7148
7198
  const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);
@@ -7152,7 +7202,7 @@ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
7152
7202
  resolved = packageResolve(specifier, base, conditions);
7153
7203
  }
7154
7204
  }
7155
- assert(resolved !== void 0, "expected to be defined");
7205
+ assert.ok(resolved !== void 0, "expected to be defined");
7156
7206
  if (resolved.protocol !== "file:") {
7157
7207
  return resolved;
7158
7208
  }
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  C,
3
3
  N
4
- } from "./chunk-2BVMDTWP.js";
4
+ } from "./chunk-VTSQTSYF.js";
5
5
  import {
6
6
  init_esm_shims
7
- } from "./chunk-DVXXZSAP.js";
7
+ } from "./chunk-6LJGNBH7.js";
8
8
 
9
9
  // ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/toml.mjs
10
10
  init_esm_shims();