oxlint-plugin-eslint 1.69.0 → 1.70.0

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 (302) hide show
  1. package/common/ast-utils.cjs +77 -58
  2. package/common/eslint-utils.cjs +3 -3
  3. package/common/fix-tracker.cjs +2 -2
  4. package/common/ignore.cjs +1 -1
  5. package/common/keywords.cjs +1 -1
  6. package/common/regexpp.cjs +1 -1
  7. package/common/regular-expressions.cjs +2 -2
  8. package/common/string-utils.cjs +1 -1
  9. package/package.json +1 -1
  10. package/rules/accessor-pairs.cjs +2 -2
  11. package/rules/array-bracket-newline.cjs +2 -2
  12. package/rules/array-bracket-spacing.cjs +2 -2
  13. package/rules/array-callback-return.cjs +2 -2
  14. package/rules/array-element-newline.cjs +2 -2
  15. package/rules/arrow-body-style.cjs +2 -2
  16. package/rules/arrow-parens.cjs +2 -2
  17. package/rules/arrow-spacing.cjs +2 -2
  18. package/rules/block-scoped-var.cjs +1 -1
  19. package/rules/block-spacing.cjs +2 -2
  20. package/rules/brace-style.cjs +2 -2
  21. package/rules/callback-return.cjs +1 -1
  22. package/rules/camelcase.cjs +2 -2
  23. package/rules/capitalized-comments.cjs +2 -2
  24. package/rules/class-methods-use-this.cjs +2 -2
  25. package/rules/comma-dangle.cjs +2 -2
  26. package/rules/comma-spacing.cjs +2 -2
  27. package/rules/comma-style.cjs +2 -2
  28. package/rules/complexity.cjs +2 -2
  29. package/rules/computed-property-spacing.cjs +2 -2
  30. package/rules/consistent-return.cjs +2 -2
  31. package/rules/consistent-this.cjs +1 -1
  32. package/rules/constructor-super.cjs +1 -1
  33. package/rules/curly.cjs +2 -2
  34. package/rules/default-case-last.cjs +1 -1
  35. package/rules/default-case.cjs +1 -1
  36. package/rules/default-param-last.cjs +1 -1
  37. package/rules/dot-location.cjs +2 -2
  38. package/rules/dot-notation.cjs +2 -2
  39. package/rules/eol-last.cjs +1 -1
  40. package/rules/eqeqeq.cjs +2 -2
  41. package/rules/for-direction.cjs +2 -2
  42. package/rules/func-call-spacing.cjs +2 -2
  43. package/rules/func-name-matching.cjs +2 -2
  44. package/rules/func-names.cjs +2 -2
  45. package/rules/func-style.cjs +1 -1
  46. package/rules/function-call-argument-newline.cjs +1 -1
  47. package/rules/function-paren-newline.cjs +2 -2
  48. package/rules/generator-star-spacing.cjs +1 -1
  49. package/rules/getter-return.cjs +2 -2
  50. package/rules/global-require.cjs +1 -1
  51. package/rules/grouped-accessor-pairs.cjs +2 -2
  52. package/rules/guard-for-in.cjs +1 -1
  53. package/rules/handle-callback-err.cjs +1 -1
  54. package/rules/id-blacklist.cjs +1 -1
  55. package/rules/id-denylist.cjs +2 -2
  56. package/rules/id-length.cjs +2 -2
  57. package/rules/id-match.cjs +2 -2
  58. package/rules/implicit-arrow-linebreak.cjs +2 -2
  59. package/rules/indent-legacy.cjs +2 -2
  60. package/rules/indent.cjs +2 -2
  61. package/rules/init-declarations.cjs +1 -1
  62. package/rules/jsx-quotes.cjs +2 -2
  63. package/rules/key-spacing.cjs +2 -2
  64. package/rules/keyword-spacing.cjs +2 -2
  65. package/rules/line-comment-position.cjs +2 -2
  66. package/rules/linebreak-style.cjs +2 -2
  67. package/rules/lines-around-comment.cjs +2 -2
  68. package/rules/lines-around-directive.cjs +2 -2
  69. package/rules/lines-between-class-members.cjs +2 -2
  70. package/rules/logical-assignment-operators.cjs +2 -2
  71. package/rules/max-classes-per-file.cjs +1 -1
  72. package/rules/max-depth.cjs +1 -1
  73. package/rules/max-len.cjs +1 -1
  74. package/rules/max-lines-per-function.cjs +2 -2
  75. package/rules/max-lines.cjs +2 -2
  76. package/rules/max-nested-callbacks.cjs +1 -1
  77. package/rules/max-params.cjs +2 -2
  78. package/rules/max-statements-per-line.cjs +2 -2
  79. package/rules/max-statements.cjs +2 -2
  80. package/rules/multiline-comment-style.cjs +2 -2
  81. package/rules/multiline-ternary.cjs +2 -2
  82. package/rules/new-cap.cjs +2 -2
  83. package/rules/new-parens.cjs +2 -2
  84. package/rules/newline-after-var.cjs +2 -2
  85. package/rules/newline-before-return.cjs +1 -1
  86. package/rules/newline-per-chained-call.cjs +2 -2
  87. package/rules/no-alert.cjs +2 -2
  88. package/rules/no-array-constructor.cjs +2 -2
  89. package/rules/no-async-promise-executor.cjs +1 -1
  90. package/rules/no-await-in-loop.cjs +1 -1
  91. package/rules/no-bitwise.cjs +1 -1
  92. package/rules/no-buffer-constructor.cjs +1 -1
  93. package/rules/no-caller.cjs +1 -1
  94. package/rules/no-case-declarations.cjs +1 -1
  95. package/rules/no-catch-shadow.cjs +2 -2
  96. package/rules/no-class-assign.cjs +2 -2
  97. package/rules/no-compare-neg-zero.cjs +1 -1
  98. package/rules/no-cond-assign.cjs +2 -2
  99. package/rules/no-confusing-arrow.cjs +2 -2
  100. package/rules/no-console.cjs +2 -2
  101. package/rules/no-const-assign.cjs +2 -2
  102. package/rules/no-constant-binary-expression.cjs +2 -2
  103. package/rules/no-constant-condition.cjs +2 -2
  104. package/rules/no-constructor-return.cjs +1 -1
  105. package/rules/no-continue.cjs +1 -1
  106. package/rules/no-control-regex.cjs +2 -2
  107. package/rules/no-debugger.cjs +1 -1
  108. package/rules/no-delete-var.cjs +1 -1
  109. package/rules/no-div-regex.cjs +1 -1
  110. package/rules/no-dupe-args.cjs +2 -2
  111. package/rules/no-dupe-class-members.cjs +2 -2
  112. package/rules/no-dupe-else-if.cjs +2 -2
  113. package/rules/no-dupe-keys.cjs +2 -2
  114. package/rules/no-duplicate-case.cjs +2 -2
  115. package/rules/no-duplicate-imports.cjs +1 -1
  116. package/rules/no-else-return.cjs +2 -2
  117. package/rules/no-empty-character-class.cjs +2 -2
  118. package/rules/no-empty-function.cjs +2 -2
  119. package/rules/no-empty-pattern.cjs +2 -2
  120. package/rules/no-empty-static-block.cjs +1 -1
  121. package/rules/no-empty.cjs +2 -2
  122. package/rules/no-eq-null.cjs +1 -1
  123. package/rules/no-eval.cjs +2 -2
  124. package/rules/no-ex-assign.cjs +2 -2
  125. package/rules/no-extend-native.cjs +2 -2
  126. package/rules/no-extra-bind.cjs +2 -2
  127. package/rules/no-extra-boolean-cast.cjs +2 -2
  128. package/rules/no-extra-label.cjs +2 -2
  129. package/rules/no-extra-parens.cjs +2 -2
  130. package/rules/no-extra-semi.cjs +2 -2
  131. package/rules/no-fallthrough.cjs +3 -3
  132. package/rules/no-floating-decimal.cjs +2 -2
  133. package/rules/no-func-assign.cjs +2 -2
  134. package/rules/no-global-assign.cjs +1 -1
  135. package/rules/no-implicit-coercion.cjs +2 -2
  136. package/rules/no-implicit-globals.cjs +1 -1
  137. package/rules/no-implied-eval.cjs +2 -2
  138. package/rules/no-import-assign.cjs +2 -2
  139. package/rules/no-inline-comments.cjs +2 -2
  140. package/rules/no-inner-declarations.cjs +2 -2
  141. package/rules/no-invalid-regexp.cjs +2 -2
  142. package/rules/no-invalid-this.cjs +2 -2
  143. package/rules/no-irregular-whitespace.cjs +2 -2
  144. package/rules/no-iterator.cjs +2 -2
  145. package/rules/no-label-var.cjs +2 -2
  146. package/rules/no-labels.cjs +2 -2
  147. package/rules/no-lone-blocks.cjs +1 -1
  148. package/rules/no-lonely-if.cjs +2 -2
  149. package/rules/no-loop-func.cjs +1 -1
  150. package/rules/no-loss-of-precision.cjs +1 -1
  151. package/rules/no-magic-numbers.cjs +2 -2
  152. package/rules/no-misleading-character-class.cjs +8 -8
  153. package/rules/no-mixed-operators.cjs +2 -2
  154. package/rules/no-mixed-requires.cjs +1 -1
  155. package/rules/no-mixed-spaces-and-tabs.cjs +1 -1
  156. package/rules/no-multi-assign.cjs +1 -1
  157. package/rules/no-multi-spaces.cjs +2 -2
  158. package/rules/no-multi-str.cjs +2 -2
  159. package/rules/no-multiple-empty-lines.cjs +1 -1
  160. package/rules/no-native-reassign.cjs +1 -1
  161. package/rules/no-negated-condition.cjs +1 -1
  162. package/rules/no-negated-in-lhs.cjs +1 -1
  163. package/rules/no-nested-ternary.cjs +1 -1
  164. package/rules/no-new-func.cjs +2 -2
  165. package/rules/no-new-native-nonconstructor.cjs +1 -1
  166. package/rules/no-new-object.cjs +2 -2
  167. package/rules/no-new-require.cjs +1 -1
  168. package/rules/no-new-symbol.cjs +1 -1
  169. package/rules/no-new-wrappers.cjs +2 -2
  170. package/rules/no-new.cjs +1 -1
  171. package/rules/no-nonoctal-decimal-escape.cjs +1 -1
  172. package/rules/no-obj-calls.cjs +2 -2
  173. package/rules/no-object-constructor.cjs +2 -2
  174. package/rules/no-octal-escape.cjs +1 -1
  175. package/rules/no-octal.cjs +1 -1
  176. package/rules/no-param-reassign.cjs +1 -1
  177. package/rules/no-path-concat.cjs +1 -1
  178. package/rules/no-plusplus.cjs +1 -1
  179. package/rules/no-process-env.cjs +1 -1
  180. package/rules/no-process-exit.cjs +1 -1
  181. package/rules/no-promise-executor-return.cjs +2 -2
  182. package/rules/no-proto.cjs +2 -2
  183. package/rules/no-prototype-builtins.cjs +2 -2
  184. package/rules/no-redeclare.cjs +2 -2
  185. package/rules/no-regex-spaces.cjs +2 -2
  186. package/rules/no-restricted-exports.cjs +2 -2
  187. package/rules/no-restricted-globals.cjs +2 -2
  188. package/rules/no-restricted-imports.cjs +2 -2
  189. package/rules/no-restricted-modules.cjs +2 -2
  190. package/rules/no-restricted-properties.cjs +2 -2
  191. package/rules/no-restricted-syntax.cjs +1 -1
  192. package/rules/no-return-assign.cjs +2 -2
  193. package/rules/no-return-await.cjs +2 -2
  194. package/rules/no-script-url.cjs +2 -2
  195. package/rules/no-self-assign.cjs +2 -2
  196. package/rules/no-self-compare.cjs +1 -1
  197. package/rules/no-sequences.cjs +2 -2
  198. package/rules/no-setter-return.cjs +2 -2
  199. package/rules/no-shadow-restricted-names.cjs +1 -1
  200. package/rules/no-shadow.cjs +2 -2
  201. package/rules/no-spaced-func.cjs +1 -1
  202. package/rules/no-sparse-arrays.cjs +2 -2
  203. package/rules/no-sync.cjs +1 -1
  204. package/rules/no-tabs.cjs +1 -1
  205. package/rules/no-template-curly-in-string.cjs +1 -1
  206. package/rules/no-ternary.cjs +1 -1
  207. package/rules/no-this-before-super.cjs +2 -2
  208. package/rules/no-throw-literal.cjs +2 -2
  209. package/rules/no-trailing-spaces.cjs +2 -2
  210. package/rules/no-unassigned-vars.cjs +1 -1
  211. package/rules/no-undef-init.cjs +2 -2
  212. package/rules/no-undef.cjs +1 -1
  213. package/rules/no-undefined.cjs +1 -1
  214. package/rules/no-underscore-dangle.cjs +1 -1
  215. package/rules/no-unexpected-multiline.cjs +2 -2
  216. package/rules/no-unmodified-loop-condition.cjs +8 -8
  217. package/rules/no-unneeded-ternary.cjs +2 -2
  218. package/rules/no-unreachable-loop.cjs +1 -1
  219. package/rules/no-unreachable.cjs +1 -1
  220. package/rules/no-unsafe-finally.cjs +1 -1
  221. package/rules/no-unsafe-negation.cjs +2 -2
  222. package/rules/no-unsafe-optional-chaining.cjs +1 -1
  223. package/rules/no-unused-expressions.cjs +2 -2
  224. package/rules/no-unused-labels.cjs +2 -2
  225. package/rules/no-unused-private-class-members.cjs +2 -2
  226. package/rules/no-unused-vars.cjs +2 -2
  227. package/rules/no-use-before-define.cjs +1 -1
  228. package/rules/no-useless-assignment.cjs +2 -2
  229. package/rules/no-useless-backreference.cjs +2 -2
  230. package/rules/no-useless-call.cjs +2 -2
  231. package/rules/no-useless-catch.cjs +1 -1
  232. package/rules/no-useless-computed-key.cjs +2 -2
  233. package/rules/no-useless-concat.cjs +2 -2
  234. package/rules/no-useless-constructor.cjs +2 -2
  235. package/rules/no-useless-escape.cjs +2 -2
  236. package/rules/no-useless-rename.cjs +2 -2
  237. package/rules/no-useless-return.cjs +2 -2
  238. package/rules/no-var.cjs +2 -2
  239. package/rules/no-void.cjs +1 -1
  240. package/rules/no-warning-comments.cjs +2 -2
  241. package/rules/no-whitespace-before-property.cjs +2 -2
  242. package/rules/no-with.cjs +1 -1
  243. package/rules/nonblock-statement-body-position.cjs +1 -1
  244. package/rules/object-curly-newline.cjs +2 -2
  245. package/rules/object-curly-spacing.cjs +2 -2
  246. package/rules/object-property-newline.cjs +1 -1
  247. package/rules/object-shorthand.cjs +2 -2
  248. package/rules/one-var-declaration-per-line.cjs +1 -1
  249. package/rules/one-var.cjs +2 -2
  250. package/rules/operator-assignment.cjs +2 -2
  251. package/rules/operator-linebreak.cjs +2 -2
  252. package/rules/padded-blocks.cjs +2 -2
  253. package/rules/padding-line-between-statements.cjs +2 -2
  254. package/rules/prefer-arrow-callback.cjs +2 -2
  255. package/rules/prefer-const.cjs +2 -2
  256. package/rules/prefer-destructuring.cjs +2 -2
  257. package/rules/prefer-exponentiation-operator.cjs +2 -2
  258. package/rules/prefer-named-capture-group.cjs +2 -2
  259. package/rules/prefer-numeric-literals.cjs +2 -2
  260. package/rules/prefer-object-has-own.cjs +2 -2
  261. package/rules/prefer-object-spread.cjs +2 -2
  262. package/rules/prefer-promise-reject-errors.cjs +2 -2
  263. package/rules/prefer-reflect.cjs +1 -1
  264. package/rules/prefer-regex-literals.cjs +2 -2
  265. package/rules/prefer-rest-params.cjs +1 -1
  266. package/rules/prefer-spread.cjs +2 -2
  267. package/rules/prefer-template.cjs +2 -2
  268. package/rules/preserve-caught-error.cjs +2 -2
  269. package/rules/quote-props.cjs +2 -2
  270. package/rules/quotes.cjs +2 -2
  271. package/rules/radix.cjs +2 -2
  272. package/rules/require-atomic-updates.cjs +1 -1
  273. package/rules/require-await.cjs +2 -2
  274. package/rules/require-unicode-regexp.cjs +2 -2
  275. package/rules/require-yield.cjs +2 -2
  276. package/rules/rest-spread-spacing.cjs +1 -1
  277. package/rules/semi-spacing.cjs +2 -2
  278. package/rules/semi-style.cjs +2 -2
  279. package/rules/semi.cjs +2 -2
  280. package/rules/sort-imports.cjs +1 -1
  281. package/rules/sort-keys.cjs +3 -3
  282. package/rules/sort-vars.cjs +1 -1
  283. package/rules/space-before-blocks.cjs +2 -2
  284. package/rules/space-before-function-paren.cjs +2 -2
  285. package/rules/space-in-parens.cjs +2 -2
  286. package/rules/space-infix-ops.cjs +2 -2
  287. package/rules/space-unary-ops.cjs +2 -2
  288. package/rules/spaced-comment.cjs +2 -2
  289. package/rules/strict.cjs +2 -2
  290. package/rules/switch-colon-spacing.cjs +2 -2
  291. package/rules/symbol-description.cjs +2 -2
  292. package/rules/template-curly-spacing.cjs +2 -2
  293. package/rules/template-tag-spacing.cjs +1 -1
  294. package/rules/unicode-bom.cjs +1 -1
  295. package/rules/use-isnan.cjs +2 -2
  296. package/rules/valid-typeof.cjs +2 -2
  297. package/rules/vars-on-top.cjs +1 -1
  298. package/rules/wrap-iife.cjs +2 -2
  299. package/rules/wrap-regex.cjs +1 -1
  300. package/rules/yield-star-spacing.cjs +1 -1
  301. package/rules/yoda.cjs +2 -2
  302. /package/common/{chunk.cjs → rolldown-runtime.cjs} +0 -0
@@ -1,6 +1,6 @@
1
- const require_chunk = require("./chunk.cjs");
1
+ const require_rolldown_runtime = require("./rolldown-runtime.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint-visitor-keys@5.0.1/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs
3
- var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) => {
3
+ var require_eslint_visitor_keys = /* @__PURE__ */ require_rolldown_runtime.t(((exports) => {
4
4
  /**
5
5
  * @typedef {{ readonly [type: string]: ReadonlyArray<string> }} VisitorKeys
6
6
  */
@@ -205,7 +205,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
205
205
  return Object.freeze(retv);
206
206
  }
207
207
  exports.KEYS = KEYS, exports.getKeys = getKeys, exports.unionWith = unionWith;
208
- })), require_ast = /* @__PURE__ */ require_chunk.t(((exports, module) => {
208
+ })), require_ast = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
209
209
  (function() {
210
210
  "use strict";
211
211
  function isExpression(node) {
@@ -297,7 +297,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
297
297
  trailingStatement
298
298
  };
299
299
  })();
300
- })), require_code = /* @__PURE__ */ require_chunk.t(((exports, module) => {
300
+ })), require_code = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
301
301
  (function() {
302
302
  "use strict";
303
303
  var ES6Regex, ES5Regex = {
@@ -370,7 +370,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
370
370
  isIdentifierPartES6
371
371
  };
372
372
  })();
373
- })), require_keyword = /* @__PURE__ */ require_chunk.t(((exports, module) => {
373
+ })), require_keyword = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
374
374
  (function() {
375
375
  "use strict";
376
376
  var code = require_code();
@@ -453,15 +453,15 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
453
453
  isIdentifierES6
454
454
  };
455
455
  })();
456
- })), require_utils = /* @__PURE__ */ require_chunk.t(((exports) => {
456
+ })), require_utils = /* @__PURE__ */ require_rolldown_runtime.t(((exports) => {
457
457
  (function() {
458
458
  "use strict";
459
459
  exports.ast = require_ast(), exports.code = require_code(), exports.keyword = require_keyword();
460
460
  })();
461
- })), require_acorn = /* @__PURE__ */ require_chunk.t(((exports, module) => {
461
+ })), require_acorn = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
462
462
  (function(global, factory) {
463
463
  typeof exports == "object" && module !== void 0 ? factory(exports) : typeof define == "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis < "u" ? globalThis : global || self, factory(global.acorn = {}));
464
- })(exports, (function(exports$1) {
464
+ })(exports, (function(exports$2) {
465
465
  "use strict";
466
466
  var astralIdentifierCodes = [
467
467
  509,
@@ -1625,6 +1625,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
1625
1625
  var defaultOptions = {
1626
1626
  ecmaVersion: null,
1627
1627
  sourceType: "script",
1628
+ strict: !1,
1628
1629
  onInsertedSemicolon: null,
1629
1630
  onTrailingComma: null,
1630
1631
  allowReserved: null,
@@ -1675,7 +1676,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
1675
1676
  var reserved = "";
1676
1677
  options.allowReserved !== !0 && (reserved = reservedWords[options.ecmaVersion >= 6 ? 6 : options.ecmaVersion === 5 ? 5 : 3], options.sourceType === "module" && (reserved += " await")), this.reservedWords = wordsRegexp(reserved);
1677
1678
  var reservedStrict = (reserved ? reserved + " " : "") + reservedWords.strict;
1678
- this.reservedWordsStrict = wordsRegexp(reservedStrict), this.reservedWordsStrictBind = wordsRegexp(reservedStrict + " " + reservedWords.strictBind), this.input = String(input), this.containsEsc = !1, startPos ? (this.pos = startPos, this.lineStart = this.input.lastIndexOf("\n", startPos - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = types$1.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = options.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && options.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(this.options.sourceType === "commonjs" ? SCOPE_FUNCTION : SCOPE_TOP), this.regexpState = null, this.privateNameStack = [];
1679
+ this.reservedWordsStrict = wordsRegexp(reservedStrict), this.reservedWordsStrictBind = wordsRegexp(reservedStrict + " " + reservedWords.strictBind), this.input = String(input), this.containsEsc = !1, startPos ? (this.pos = startPos, this.lineStart = this.input.lastIndexOf("\n", startPos - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = types$1.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = options.sourceType === "module", this.strict = this.inModule || options.strict === !0 || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = Object.create(null), this.pos === 0 && options.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(this.options.sourceType === "commonjs" ? SCOPE_FUNCTION : SCOPE_TOP), this.regexpState = null, this.privateNameStack = [];
1679
1680
  }, prototypeAccessors = {
1680
1681
  inFunction: { configurable: !0 },
1681
1682
  inGenerator: { configurable: !0 },
@@ -1690,8 +1691,10 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
1690
1691
  inClassStaticBlock: { configurable: !0 }
1691
1692
  };
1692
1693
  Parser.prototype.parse = function parse() {
1693
- var node = this.options.program || this.startNode();
1694
- return this.nextToken(), this.parseTopLevel(node);
1694
+ var this$1$1 = this, node = this.options.program || this.startNode();
1695
+ return this.nextToken(), this.catchStackOverflow(function() {
1696
+ return this$1$1.parseTopLevel(node);
1697
+ });
1695
1698
  }, prototypeAccessors.inFunction.get = function() {
1696
1699
  return (this.currentVarScope().flags & SCOPE_FUNCTION) > 0;
1697
1700
  }, prototypeAccessors.inGenerator.get = function() {
@@ -1756,6 +1759,13 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
1756
1759
  return this.type === types$1.name && this.value === name && !this.containsEsc;
1757
1760
  }, pp$9.eatContextual = function(name) {
1758
1761
  return this.isContextual(name) ? (this.next(), !0) : !1;
1762
+ }, pp$9.catchStackOverflow = function(f) {
1763
+ try {
1764
+ return f();
1765
+ } catch (e) {
1766
+ if (e instanceof Error && (/\bstack\b.*\b(exceeded|overflow)\b/i.test(e.message) || /\btoo much recursion\b/i.test(e.message))) this.raise(this.start, "Not enough stack space to parse input");
1767
+ else throw e;
1768
+ }
1759
1769
  }, pp$9.expectContextual = function(name) {
1760
1770
  this.eatContextual(name) || this.unexpected();
1761
1771
  }, pp$9.canInsertSemicolon = function() {
@@ -1792,9 +1802,9 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
1792
1802
  };
1793
1803
  var pp$8 = Parser.prototype;
1794
1804
  pp$8.parseTopLevel = function(node) {
1795
- var exports$2 = Object.create(null);
1805
+ var exports$1 = Object.create(null);
1796
1806
  for (node.body ||= []; this.type !== types$1.eof;) {
1797
- var stmt = this.parseStatement(null, !0, exports$2);
1807
+ var stmt = this.parseStatement(null, !0, exports$1);
1798
1808
  node.body.push(stmt);
1799
1809
  }
1800
1810
  if (this.inModule) for (var i = 0, list = Object.keys(this.undefinedExports); i < list.length; i += 1) {
@@ -1846,12 +1856,18 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
1846
1856
  while (isIdentifierChar(ch = this.fullCharCodeAt(next)));
1847
1857
  if (ch === 92) return !0;
1848
1858
  var id = this.input.slice(idStart, next);
1849
- return !(keywordRelationalOperator.test(id) || isFor && id === "of");
1859
+ if (keywordRelationalOperator.test(id)) return !1;
1860
+ if (isFor && !isAwaitUsing && id === "of") {
1861
+ skipWhiteSpace.lastIndex = next;
1862
+ var skipAfterOf = skipWhiteSpace.exec(this.input);
1863
+ if (next += skipAfterOf[0].length, this.input.charCodeAt(next) !== 61 || (ch = this.input.charCodeAt(next + 1)) === 61 || ch === 62) return !1;
1864
+ }
1865
+ return !0;
1850
1866
  }, pp$8.isAwaitUsing = function(isFor) {
1851
1867
  return this.isUsingKeyword(!0, isFor);
1852
1868
  }, pp$8.isUsing = function(isFor) {
1853
1869
  return this.isUsingKeyword(!1, isFor);
1854
- }, pp$8.parseStatement = function(context, topLevel, exports$3) {
1870
+ }, pp$8.parseStatement = function(context, topLevel, exports$1) {
1855
1871
  var starttype = this.type, node = this.startNode(), kind;
1856
1872
  switch (this.isLet(context) && (starttype = types$1._var, kind = "let"), starttype) {
1857
1873
  case types$1._break:
@@ -1879,11 +1895,11 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
1879
1895
  var skip = skipWhiteSpace.exec(this.input), next = this.pos + skip[0].length, nextCh = this.input.charCodeAt(next);
1880
1896
  if (nextCh === 40 || nextCh === 46) return this.parseExpressionStatement(node, this.parseExpression());
1881
1897
  }
1882
- return this.options.allowImportExportEverywhere || (topLevel || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports$3);
1898
+ return this.options.allowImportExportEverywhere || (topLevel || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports$1);
1883
1899
  default:
1884
1900
  if (this.isAsyncFunction()) return context && this.unexpected(), this.next(), this.parseFunctionStatement(node, !0, !context);
1885
1901
  var usingKind = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
1886
- if (usingKind) return this.allowUsing || this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"), usingKind === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(node, !1, usingKind), this.semicolon(), this.finishNode(node, "VariableDeclaration");
1902
+ if (usingKind) return this.allowUsing || this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"), context && this.raise(this.start, "Using declaration is not allowed in single-statement positions"), usingKind === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(node, !1, usingKind), this.semicolon(), this.finishNode(node, "VariableDeclaration");
1887
1903
  var maybeName = this.value, expr = this.parseExpression();
1888
1904
  return starttype === types$1.name && expr.type === "Identifier" && this.eat(types$1.colon) ? this.parseLabeledStatement(node, maybeName, expr, context) : this.parseExpressionStatement(node, expr);
1889
1905
  }
@@ -1916,7 +1932,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
1916
1932
  var containsEsc = this.containsEsc, refDestructuringErrors = new DestructuringErrors(), initPos = this.start, init = awaitAt > -1 ? this.parseExprSubscripts(refDestructuringErrors, "await") : this.parseExpression(!0, refDestructuringErrors);
1917
1933
  return this.type === types$1._in || (isForOf = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (awaitAt > -1 ? (this.type === types$1._in && this.unexpected(awaitAt), node.await = !0) : isForOf && this.options.ecmaVersion >= 8 && (init.start === initPos && !containsEsc && init.type === "Identifier" && init.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (node.await = !1)), startsWithLet && isForOf && this.raise(init.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(init, !1, refDestructuringErrors), this.checkLValPattern(init), this.parseForIn(node, init)) : (this.checkExpressionErrors(refDestructuringErrors, !0), awaitAt > -1 && this.unexpected(awaitAt), this.parseFor(node, init));
1918
1934
  }, pp$8.parseForAfterInit = function(node, init, awaitAt) {
1919
- return (this.type === types$1._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && init.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === types$1._in ? awaitAt > -1 && this.unexpected(awaitAt) : node.await = awaitAt > -1), this.parseForIn(node, init)) : (awaitAt > -1 && this.unexpected(awaitAt), this.parseFor(node, init));
1935
+ return (this.type === types$1._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && init.declarations.length === 1 ? (this.type === types$1._in ? ((init.kind === "using" || init.kind === "await using") && !init.declarations[0].init && this.raise(this.start, "Using declaration is not allowed in for-in loops"), this.options.ecmaVersion >= 9 && awaitAt > -1 && this.unexpected(awaitAt)) : this.options.ecmaVersion >= 9 && (node.await = awaitAt > -1), this.parseForIn(node, init)) : (awaitAt > -1 && this.unexpected(awaitAt), this.parseFor(node, init));
1920
1936
  }, pp$8.parseFunctionStatement = function(node, isAsync, declarationPosition) {
1921
1937
  return this.next(), this.parseFunction(node, FUNC_STATEMENT | (declarationPosition ? 0 : FUNC_HANGING_STATEMENT), !1, isAsync);
1922
1938
  }, pp$8.parseIfStatement = function(node) {
@@ -2062,14 +2078,14 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
2062
2078
  var computed = node.computed, key = node.key;
2063
2079
  return !computed && (key.type === "Identifier" && key.name === name || key.type === "Literal" && key.value === name);
2064
2080
  }
2065
- pp$8.parseExportAllDeclaration = function(node, exports$4) {
2066
- return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (node.exported = this.parseModuleExportName(), this.checkExport(exports$4, node.exported, this.lastTokStart)) : node.exported = null), this.expectContextual("from"), this.type !== types$1.string && this.unexpected(), node.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (node.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(node, "ExportAllDeclaration");
2067
- }, pp$8.parseExport = function(node, exports$5) {
2068
- if (this.next(), this.eat(types$1.star)) return this.parseExportAllDeclaration(node, exports$5);
2069
- if (this.eat(types$1._default)) return this.checkExport(exports$5, "default", this.lastTokStart), node.declaration = this.parseExportDefaultDeclaration(), this.finishNode(node, "ExportDefaultDeclaration");
2070
- if (this.shouldParseExportStatement()) node.declaration = this.parseExportDeclaration(node), node.declaration.type === "VariableDeclaration" ? this.checkVariableExport(exports$5, node.declaration.declarations) : this.checkExport(exports$5, node.declaration.id, node.declaration.id.start), node.specifiers = [], node.source = null, this.options.ecmaVersion >= 16 && (node.attributes = []);
2081
+ pp$8.parseExportAllDeclaration = function(node, exports$1) {
2082
+ return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (node.exported = this.parseModuleExportName(), this.checkExport(exports$1, node.exported, this.lastTokStart)) : node.exported = null), this.expectContextual("from"), this.type !== types$1.string && this.unexpected(), node.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (node.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(node, "ExportAllDeclaration");
2083
+ }, pp$8.parseExport = function(node, exports$1) {
2084
+ if (this.next(), this.eat(types$1.star)) return this.parseExportAllDeclaration(node, exports$1);
2085
+ if (this.eat(types$1._default)) return this.checkExport(exports$1, "default", this.lastTokStart), node.declaration = this.parseExportDefaultDeclaration(), this.finishNode(node, "ExportDefaultDeclaration");
2086
+ if (this.shouldParseExportStatement()) node.declaration = this.parseExportDeclaration(node), node.declaration.type === "VariableDeclaration" ? this.checkVariableExport(exports$1, node.declaration.declarations) : this.checkExport(exports$1, node.declaration.id, node.declaration.id.start), node.specifiers = [], node.source = null, this.options.ecmaVersion >= 16 && (node.attributes = []);
2071
2087
  else {
2072
- if (node.declaration = null, node.specifiers = this.parseExportSpecifiers(exports$5), this.eatContextual("from")) this.type !== types$1.string && this.unexpected(), node.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (node.attributes = this.parseWithClause());
2088
+ if (node.declaration = null, node.specifiers = this.parseExportSpecifiers(exports$1), this.eatContextual("from")) this.type !== types$1.string && this.unexpected(), node.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (node.attributes = this.parseWithClause());
2073
2089
  else {
2074
2090
  for (var i = 0, list = node.specifiers; i < list.length; i += 1) {
2075
2091
  var spec = list[i];
@@ -2094,36 +2110,36 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
2094
2110
  var declaration = this.parseMaybeAssign();
2095
2111
  return this.semicolon(), declaration;
2096
2112
  }
2097
- }, pp$8.checkExport = function(exports$6, name, pos) {
2098
- exports$6 && (typeof name != "string" && (name = name.type === "Identifier" ? name.name : name.value), hasOwn(exports$6, name) && this.raiseRecoverable(pos, "Duplicate export '" + name + "'"), exports$6[name] = !0);
2099
- }, pp$8.checkPatternExport = function(exports$7, pat) {
2113
+ }, pp$8.checkExport = function(exports$1, name, pos) {
2114
+ exports$1 && (typeof name != "string" && (name = name.type === "Identifier" ? name.name : name.value), hasOwn(exports$1, name) && this.raiseRecoverable(pos, "Duplicate export '" + name + "'"), exports$1[name] = !0);
2115
+ }, pp$8.checkPatternExport = function(exports$1, pat) {
2100
2116
  var type = pat.type;
2101
- if (type === "Identifier") this.checkExport(exports$7, pat, pat.start);
2117
+ if (type === "Identifier") this.checkExport(exports$1, pat, pat.start);
2102
2118
  else if (type === "ObjectPattern") for (var i = 0, list = pat.properties; i < list.length; i += 1) {
2103
2119
  var prop = list[i];
2104
- this.checkPatternExport(exports$7, prop);
2120
+ this.checkPatternExport(exports$1, prop);
2105
2121
  }
2106
2122
  else if (type === "ArrayPattern") for (var i$1 = 0, list$1 = pat.elements; i$1 < list$1.length; i$1 += 1) {
2107
2123
  var elt = list$1[i$1];
2108
- elt && this.checkPatternExport(exports$7, elt);
2124
+ elt && this.checkPatternExport(exports$1, elt);
2109
2125
  }
2110
- else type === "Property" ? this.checkPatternExport(exports$7, pat.value) : type === "AssignmentPattern" ? this.checkPatternExport(exports$7, pat.left) : type === "RestElement" && this.checkPatternExport(exports$7, pat.argument);
2111
- }, pp$8.checkVariableExport = function(exports$8, decls) {
2112
- if (exports$8) for (var i = 0, list = decls; i < list.length; i += 1) {
2126
+ else type === "Property" ? this.checkPatternExport(exports$1, pat.value) : type === "AssignmentPattern" ? this.checkPatternExport(exports$1, pat.left) : type === "RestElement" && this.checkPatternExport(exports$1, pat.argument);
2127
+ }, pp$8.checkVariableExport = function(exports$1, decls) {
2128
+ if (exports$1) for (var i = 0, list = decls; i < list.length; i += 1) {
2113
2129
  var decl = list[i];
2114
- this.checkPatternExport(exports$8, decl.id);
2130
+ this.checkPatternExport(exports$1, decl.id);
2115
2131
  }
2116
2132
  }, pp$8.shouldParseExportStatement = function() {
2117
2133
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
2118
- }, pp$8.parseExportSpecifier = function(exports$9) {
2134
+ }, pp$8.parseExportSpecifier = function(exports$1) {
2119
2135
  var node = this.startNode();
2120
- return node.local = this.parseModuleExportName(), node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local, this.checkExport(exports$9, node.exported, node.exported.start), this.finishNode(node, "ExportSpecifier");
2121
- }, pp$8.parseExportSpecifiers = function(exports$10) {
2136
+ return node.local = this.parseModuleExportName(), node.exported = this.eatContextual("as") ? this.parseModuleExportName() : node.local, this.checkExport(exports$1, node.exported, node.exported.start), this.finishNode(node, "ExportSpecifier");
2137
+ }, pp$8.parseExportSpecifiers = function(exports$1) {
2122
2138
  var nodes = [], first = !0;
2123
2139
  for (this.expect(types$1.braceL); !this.eat(types$1.braceR);) {
2124
2140
  if (first) first = !1;
2125
2141
  else if (this.expect(types$1.comma), this.afterTrailingComma(types$1.braceR)) break;
2126
- nodes.push(this.parseExportSpecifier(exports$10));
2142
+ nodes.push(this.parseExportSpecifier(exports$1));
2127
2143
  }
2128
2144
  return nodes;
2129
2145
  }, pp$8.parseImport = function(node) {
@@ -2391,13 +2407,16 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
2391
2407
  }, other[kind] = !0;
2392
2408
  }
2393
2409
  }, pp$5.parseExpression = function(forInit, refDestructuringErrors) {
2394
- var startPos = this.start, startLoc = this.startLoc, expr = this.parseMaybeAssign(forInit, refDestructuringErrors);
2395
- if (this.type === types$1.comma) {
2396
- var node = this.startNodeAt(startPos, startLoc);
2397
- for (node.expressions = [expr]; this.eat(types$1.comma);) node.expressions.push(this.parseMaybeAssign(forInit, refDestructuringErrors));
2398
- return this.finishNode(node, "SequenceExpression");
2399
- }
2400
- return expr;
2410
+ var this$1$1 = this;
2411
+ return this.catchStackOverflow(function() {
2412
+ var startPos = this$1$1.start, startLoc = this$1$1.startLoc, expr = this$1$1.parseMaybeAssign(forInit, refDestructuringErrors);
2413
+ if (this$1$1.type === types$1.comma) {
2414
+ var node = this$1$1.startNodeAt(startPos, startLoc);
2415
+ for (node.expressions = [expr]; this$1$1.eat(types$1.comma);) node.expressions.push(this$1$1.parseMaybeAssign(forInit, refDestructuringErrors));
2416
+ return this$1$1.finishNode(node, "SequenceExpression");
2417
+ }
2418
+ return expr;
2419
+ });
2401
2420
  }, pp$5.parseMaybeAssign = function(forInit, refDestructuringErrors, afterLeftParse) {
2402
2421
  if (this.isContextual("yield")) {
2403
2422
  if (this.inGenerator) return this.parseYield(forInit);
@@ -2416,7 +2435,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
2416
2435
  }, pp$5.parseMaybeConditional = function(forInit, refDestructuringErrors) {
2417
2436
  var startPos = this.start, startLoc = this.startLoc, expr = this.parseExprOps(forInit, refDestructuringErrors);
2418
2437
  if (this.checkExpressionErrors(refDestructuringErrors)) return expr;
2419
- if (this.eat(types$1.question)) {
2438
+ if (!(expr.type === "ArrowFunctionExpression" && expr.start === startPos) && this.eat(types$1.question)) {
2420
2439
  var node = this.startNodeAt(startPos, startLoc);
2421
2440
  return node.test = expr, node.consequent = this.parseMaybeAssign(), this.expect(types$1.colon), node.alternate = this.parseMaybeAssign(forInit), this.finishNode(node, "ConditionalExpression");
2422
2441
  }
@@ -2607,7 +2626,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
2607
2626
  return node.property = this.parseIdent(!0), node.property.name !== "target" && this.raiseRecoverable(node.property.start, "The only valid meta property for new is 'new.target'"), containsEsc && this.raiseRecoverable(node.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(node.start, "'new.target' can only be used in functions and class static block"), this.finishNode(node, "MetaProperty");
2608
2627
  }
2609
2628
  var startPos = this.start, startLoc = this.startLoc;
2610
- return node.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), startPos, startLoc, !0, !1), this.eat(types$1.parenL) ? node.arguments = this.parseExprList(types$1.parenR, this.options.ecmaVersion >= 8, !1) : node.arguments = empty, this.finishNode(node, "NewExpression");
2629
+ return node.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), startPos, startLoc, !0, !1), node.callee.type === "Super" && this.raiseRecoverable(startPos, "Invalid use of 'super'"), this.eat(types$1.parenL) ? node.arguments = this.parseExprList(types$1.parenR, this.options.ecmaVersion >= 8, !1) : node.arguments = empty, this.finishNode(node, "NewExpression");
2611
2630
  }, pp$5.parseTemplateElement = function(ref) {
2612
2631
  var isTagged = ref.isTagged, elem = this.startNode();
2613
2632
  return this.type === types$1.invalidTemplate ? (isTagged || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), elem.value = {
@@ -3677,7 +3696,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
3677
3696
  var word = this.readWord1(), type = types$1.name;
3678
3697
  return this.keywords.test(word) && (type = keywords[word]), this.finishToken(type, word);
3679
3698
  };
3680
- var version = "8.16.0";
3699
+ var version = "8.17.0";
3681
3700
  Parser.acorn = {
3682
3701
  Parser,
3683
3702
  version,
@@ -3708,9 +3727,9 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
3708
3727
  function tokenizer(input, options) {
3709
3728
  return Parser.tokenizer(input, options);
3710
3729
  }
3711
- exports$1.Node = Node, exports$1.Parser = Parser, exports$1.Position = Position, exports$1.SourceLocation = SourceLocation, exports$1.TokContext = TokContext, exports$1.Token = Token, exports$1.TokenType = TokenType, exports$1.defaultOptions = defaultOptions, exports$1.getLineInfo = getLineInfo, exports$1.isIdentifierChar = isIdentifierChar, exports$1.isIdentifierStart = isIdentifierStart, exports$1.isNewLine = isNewLine, exports$1.keywordTypes = keywords, exports$1.lineBreak = lineBreak, exports$1.lineBreakG = lineBreakG, exports$1.nonASCIIwhitespace = nonASCIIwhitespace, exports$1.parse = parse, exports$1.parseExpressionAt = parseExpressionAt, exports$1.tokContexts = types, exports$1.tokTypes = types$1, exports$1.tokenizer = tokenizer, exports$1.version = version;
3730
+ exports$2.Node = Node, exports$2.Parser = Parser, exports$2.Position = Position, exports$2.SourceLocation = SourceLocation, exports$2.TokContext = TokContext, exports$2.Token = Token, exports$2.TokenType = TokenType, exports$2.defaultOptions = defaultOptions, exports$2.getLineInfo = getLineInfo, exports$2.isIdentifierChar = isIdentifierChar, exports$2.isIdentifierStart = isIdentifierStart, exports$2.isNewLine = isNewLine, exports$2.keywordTypes = keywords, exports$2.lineBreak = lineBreak, exports$2.lineBreakG = lineBreakG, exports$2.nonASCIIwhitespace = nonASCIIwhitespace, exports$2.parse = parse, exports$2.parseExpressionAt = parseExpressionAt, exports$2.tokContexts = types, exports$2.tokTypes = types$1, exports$2.tokenizer = tokenizer, exports$2.version = version;
3712
3731
  }));
3713
- })), require_xhtml = /* @__PURE__ */ require_chunk.t(((exports, module) => {
3732
+ })), require_xhtml = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
3714
3733
  module.exports = {
3715
3734
  quot: "\"",
3716
3735
  amp: "&",
@@ -3966,7 +3985,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
3966
3985
  hearts: "♥",
3967
3986
  diams: "♦"
3968
3987
  };
3969
- })), require_acorn_jsx = /* @__PURE__ */ require_chunk.t(((exports, module) => {
3988
+ })), require_acorn_jsx = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
3970
3989
  let XHTMLEntities = require_xhtml(), hexNumber = /^[\da-fA-F]+$/, decimalNumber = /^\d+$/, acornJsxMap = /* @__PURE__ */ new WeakMap();
3971
3990
  function getJsxTokens(acorn) {
3972
3991
  acorn = acorn.Parser.acorn || acorn;
@@ -4177,7 +4196,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
4177
4196
  }
4178
4197
  };
4179
4198
  }
4180
- })), require_espree = /* @__PURE__ */ require_chunk.t(((exports) => {
4199
+ })), require_espree = /* @__PURE__ */ require_rolldown_runtime.t(((exports) => {
4181
4200
  var acorn = require_acorn(), jsx = require_acorn_jsx(), eslintVisitorKeys = require_eslint_visitor_keys();
4182
4201
  function _interopNamespaceDefault(e) {
4183
4202
  var n = Object.create(null);
@@ -4855,12 +4874,12 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
4855
4874
  return eslintVisitorKeys.KEYS;
4856
4875
  }
4857
4876
  }), exports.Syntax = Syntax, exports.latestEcmaVersion = latestEcmaVersion, exports.name = "espree", exports.parse = parse, exports.supportedEcmaVersions = supportedEcmaVersions, exports.tokenize = tokenize, exports.version = "11.2.0";
4858
- })), require_escape_string_regexp = /* @__PURE__ */ require_chunk.t(((exports, module) => {
4877
+ })), require_escape_string_regexp = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
4859
4878
  module.exports = (string) => {
4860
4879
  if (typeof string != "string") throw TypeError("Expected a string");
4861
4880
  return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
4862
4881
  };
4863
- })), require_ast_utils$1 = /* @__PURE__ */ require_chunk.t(((exports, module) => {
4882
+ })), require_ast_utils$1 = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
4864
4883
  let breakableTypePattern = /^(?:(?:Do)?While|For(?:In|Of)?|Switch)Statement$/u, lineBreakPattern = /\r\n|[\r\n\u2028\u2029]/u, shebangPattern = /^#!([^\r\n]+)/u;
4865
4884
  /**
4866
4885
  * Creates a version of the `lineBreakPattern` regex with the global flag.
@@ -4876,7 +4895,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
4876
4895
  createGlobalLinebreakMatcher,
4877
4896
  shebangPattern
4878
4897
  };
4879
- })), require_globals = /* @__PURE__ */ require_chunk.t(((exports, module) => {
4898
+ })), require_globals = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
4880
4899
  let commonjs = {
4881
4900
  exports: !0,
4882
4901
  global: !1,
@@ -4988,9 +5007,9 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
4988
5007
  Temporal: !1
4989
5008
  }
4990
5009
  };
4991
- })), require_ecma_version = /* @__PURE__ */ require_chunk.t(((exports, module) => {
5010
+ })), require_ecma_version = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
4992
5011
  module.exports = { LATEST_ECMA_VERSION: 2026 };
4993
- })), require_ast_utils = /* @__PURE__ */ require_chunk.t(((exports, module) => {
5012
+ })), require_ast_utils = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
4994
5013
  let { KEYS: eslintVisitorKeys } = require_eslint_visitor_keys(), esutils = require_utils(), espree = require_espree(), escapeRegExp = require_escape_string_regexp(), { breakableTypePattern, createGlobalLinebreakMatcher, lineBreakPattern, shebangPattern } = require_ast_utils$1(), globals = require_globals(), { LATEST_ECMA_VERSION } = require_ecma_version(), anyFunctionPattern = /^(?:Function(?:Declaration|Expression)|ArrowFunctionExpression)$/u, anyLoopPattern = /^(?:DoWhile|For|ForIn|ForOf|While)Statement$/u, arrayMethodWithThisArgPattern = /^(?:every|filter|find(?:Last)?(?:Index)?|flatMap|forEach|map|some)$/u, arrayOrTypedArrayPattern = /Array$/u, bindOrCallOrApplyPattern = /^(?:bind|call|apply)$/u, thisTagPattern = /^[\s*]*@this/mu, COMMENTS_IGNORE_PATTERN = /^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u, ESLINT_DIRECTIVE_PATTERN = /^(?:eslint[- ]|(?:globals?|exported) )/u, LINEBREAKS = new Set([
4995
5014
  "\r\n",
4996
5015
  "\r",
@@ -1,6 +1,6 @@
1
- const require_chunk = require("./chunk.cjs");
1
+ const require_rolldown_runtime = require("./rolldown-runtime.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint-visitor-keys@3.4.3/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs
3
- var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) => {
3
+ var require_eslint_visitor_keys = /* @__PURE__ */ require_rolldown_runtime.t(((exports) => {
4
4
  Object.defineProperty(exports, "__esModule", { value: !0 });
5
5
  /**
6
6
  * @typedef {{ readonly [type: string]: ReadonlyArray<string> }} VisitorKeys
@@ -196,7 +196,7 @@ var require_eslint_visitor_keys = /* @__PURE__ */ require_chunk.t(((exports) =>
196
196
  return Object.freeze(retv);
197
197
  }
198
198
  exports.KEYS = KEYS, exports.getKeys = getKeys, exports.unionWith = unionWith;
199
- })), require_eslint_utils = /* @__PURE__ */ require_chunk.t(((exports) => {
199
+ })), require_eslint_utils = /* @__PURE__ */ require_rolldown_runtime.t(((exports) => {
200
200
  Object.defineProperty(exports, "__esModule", { value: !0 });
201
201
  var eslintVisitorKeys = require_eslint_visitor_keys();
202
202
  /** @typedef {import("eslint").Scope.Scope} Scope */
@@ -1,10 +1,10 @@
1
- const require_chunk = require("./chunk.cjs"), require_ast_utils$1 = require("./ast-utils.cjs");
1
+ const require_rolldown_runtime = require("./rolldown-runtime.cjs"), require_ast_utils$1 = require("./ast-utils.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/utils/fix-tracker.js
3
3
  /**
4
4
  * @fileoverview Helper class to aid in constructing fix commands.
5
5
  * @author Alan Pierce
6
6
  */
7
- var require_fix_tracker = /* @__PURE__ */ require_chunk.t(((exports, module) => {
7
+ var require_fix_tracker = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
8
8
  /**
9
9
  * @import { SourceRange } from "@eslint/core";
10
10
  */
package/common/ignore.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region ../../node_modules/.pnpm/ignore@5.3.2/node_modules/ignore/index.js
2
- var require_ignore = /* @__PURE__ */ require("./chunk.cjs").t(((exports, module) => {
2
+ var require_ignore = /* @__PURE__ */ require("./rolldown-runtime.cjs").t(((exports, module) => {
3
3
  function makeArray(subject) {
4
4
  return Array.isArray(subject) ? subject : [subject];
5
5
  }
@@ -3,7 +3,7 @@
3
3
  * @fileoverview A shared list of ES3 keywords.
4
4
  * @author Josh Perez
5
5
  */
6
- var require_keywords = /* @__PURE__ */ require("./chunk.cjs").t(((exports, module) => {
6
+ var require_keywords = /* @__PURE__ */ require("./rolldown-runtime.cjs").t(((exports, module) => {
7
7
  module.exports = /* @__PURE__ */ "abstract.boolean.break.byte.case.catch.char.class.const.continue.debugger.default.delete.do.double.else.enum.export.extends.false.final.finally.float.for.function.goto.if.implements.import.in.instanceof.int.interface.long.native.new.null.package.private.protected.public.return.short.static.super.switch.synchronized.this.throw.throws.transient.true.try.typeof.var.void.volatile.while.with".split(".");
8
8
  }));
9
9
  //#endregion
@@ -1,5 +1,5 @@
1
1
  //#region ../../node_modules/.pnpm/@eslint-community+regexpp@4.12.2/node_modules/@eslint-community/regexpp/index.js
2
- var require_regexpp = /* @__PURE__ */ require("./chunk.cjs").t(((exports) => {
2
+ var require_regexpp = /* @__PURE__ */ require("./rolldown-runtime.cjs").t(((exports) => {
3
3
  Object.defineProperty(exports, "__esModule", { value: !0 });
4
4
  var ast = /*#__PURE__*/ Object.freeze({ __proto__: null });
5
5
  let latestEcmaVersion = 2025, largeIdStartRanges, largeIdContinueRanges;
@@ -1,11 +1,11 @@
1
- const require_chunk = require("./chunk.cjs"), require_regexpp$1 = require("./regexpp.cjs");
1
+ const require_rolldown_runtime = require("./rolldown-runtime.cjs"), require_regexpp$1 = require("./regexpp.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/utils/regular-expressions.js
3
3
  /**
4
4
  * @fileoverview Common utils for regular expressions.
5
5
  * @author Josh Goldberg
6
6
  * @author Toru Nagashima
7
7
  */
8
- var require_regular_expressions = /* @__PURE__ */ require_chunk.t(((exports, module) => {
8
+ var require_regular_expressions = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
9
9
  let { RegExpValidator } = require_regexpp$1.t(), REGEXPP_LATEST_ECMA_VERSION = 2025;
10
10
  /**
11
11
  * Checks if the given regular expression pattern would be valid with the `u` flag.
@@ -3,7 +3,7 @@
3
3
  * @fileoverview Utilities to operate on strings.
4
4
  * @author Stephen Wade
5
5
  */
6
- var require_string_utils = /* @__PURE__ */ require("./chunk.cjs").t(((exports, module) => {
6
+ var require_string_utils = /* @__PURE__ */ require("./rolldown-runtime.cjs").t(((exports, module) => {
7
7
  let ASCII_REGEX = /^[\u0000-\u007f]*$/u, segmenter;
8
8
  /**
9
9
  * Converts the first letter of a string to uppercase.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxlint-plugin-eslint",
3
- "version": "1.69.0",
3
+ "version": "1.70.0",
4
4
  "description": "ESLint's built-in rules as an Oxlint plugin",
5
5
  "keywords": [
6
6
  "eslint",
@@ -1,10 +1,10 @@
1
- const require_chunk = require("../common/chunk.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
1
+ const require_rolldown_runtime = require("../common/rolldown-runtime.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/accessor-pairs.js
3
3
  /**
4
4
  * @fileoverview Rule to enforce getter and setter pairs in objects and classes.
5
5
  * @author Gyandeep Singh
6
6
  */
7
- var require_accessor_pairs = /* @__PURE__ */ require_chunk.t(((exports, module) => {
7
+ var require_accessor_pairs = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
8
8
  let astUtils = require_ast_utils$1.t();
9
9
  /**
10
10
  * Property name if it can be computed statically, otherwise the list of the tokens of the key node.
@@ -1,11 +1,11 @@
1
- const require_chunk = require("../common/chunk.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
1
+ const require_rolldown_runtime = require("../common/rolldown-runtime.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/array-bracket-newline.js
3
3
  /**
4
4
  * @fileoverview Rule to enforce linebreaks after open and before close array brackets
5
5
  * @author Jan Peer Stöcklmair <https://github.com/JPeer264>
6
6
  * @deprecated in ESLint v8.53.0
7
7
  */
8
- var require_array_bracket_newline = /* @__PURE__ */ require_chunk.t(((exports, module) => {
8
+ var require_array_bracket_newline = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
9
9
  let astUtils = require_ast_utils$1.t();
10
10
  /** @type {import('../types').Rule.RuleModule} */
11
11
  module.exports = {
@@ -1,11 +1,11 @@
1
- const require_chunk = require("../common/chunk.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
1
+ const require_rolldown_runtime = require("../common/rolldown-runtime.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/array-bracket-spacing.js
3
3
  /**
4
4
  * @fileoverview Disallows or enforces spaces inside of array brackets.
5
5
  * @author Jamund Ferguson
6
6
  * @deprecated in ESLint v8.53.0
7
7
  */
8
- var require_array_bracket_spacing = /* @__PURE__ */ require_chunk.t(((exports, module) => {
8
+ var require_array_bracket_spacing = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
9
9
  let astUtils = require_ast_utils$1.t();
10
10
  /** @type {import('../types').Rule.RuleModule} */
11
11
  module.exports = {
@@ -1,10 +1,10 @@
1
- const require_chunk = require("../common/chunk.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
1
+ const require_rolldown_runtime = require("../common/rolldown-runtime.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/array-callback-return.js
3
3
  /**
4
4
  * @fileoverview Rule to enforce return statements in callbacks of array's methods
5
5
  * @author Toru Nagashima
6
6
  */
7
- var require_array_callback_return = /* @__PURE__ */ require_chunk.t(((exports, module) => {
7
+ var require_array_callback_return = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
8
8
  let astUtils = require_ast_utils$1.t(), TARGET_NODE_TYPE = /^(?:Arrow)?FunctionExpression$/u, TARGET_METHODS = /^(?:every|filter|find(?:Last)?(?:Index)?|flatMap|forEach|map|reduce(?:Right)?|some|sort|toSorted)$/u;
9
9
  /**
10
10
  * Checks a given node is a member access which has the specified name's
@@ -1,11 +1,11 @@
1
- const require_chunk = require("../common/chunk.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
1
+ const require_rolldown_runtime = require("../common/rolldown-runtime.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/array-element-newline.js
3
3
  /**
4
4
  * @fileoverview Rule to enforce line breaks after each array element
5
5
  * @author Jan Peer Stöcklmair <https://github.com/JPeer264>
6
6
  * @deprecated in ESLint v8.53.0
7
7
  */
8
- var require_array_element_newline = /* @__PURE__ */ require_chunk.t(((exports, module) => {
8
+ var require_array_element_newline = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
9
9
  let astUtils = require_ast_utils$1.t();
10
10
  /** @type {import('../types').Rule.RuleModule} */
11
11
  module.exports = {
@@ -1,10 +1,10 @@
1
- const require_chunk = require("../common/chunk.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
1
+ const require_rolldown_runtime = require("../common/rolldown-runtime.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/arrow-body-style.js
3
3
  /**
4
4
  * @fileoverview Rule to require braces in arrow function body.
5
5
  * @author Alberto Rodríguez
6
6
  */
7
- var require_arrow_body_style = /* @__PURE__ */ require_chunk.t(((exports, module) => {
7
+ var require_arrow_body_style = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
8
8
  let astUtils = require_ast_utils$1.t();
9
9
  /** @type {import('../types').Rule.RuleModule} */
10
10
  module.exports = {
@@ -1,11 +1,11 @@
1
- const require_chunk = require("../common/chunk.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
1
+ const require_rolldown_runtime = require("../common/rolldown-runtime.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/arrow-parens.js
3
3
  /**
4
4
  * @fileoverview Rule to require parens in arrow function arguments.
5
5
  * @author Jxck
6
6
  * @deprecated in ESLint v8.53.0
7
7
  */
8
- var require_arrow_parens = /* @__PURE__ */ require_chunk.t(((exports, module) => {
8
+ var require_arrow_parens = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
9
9
  let astUtils = require_ast_utils$1.t();
10
10
  /**
11
11
  * Determines if the given arrow function has block body.
@@ -1,11 +1,11 @@
1
- const require_chunk = require("../common/chunk.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
1
+ const require_rolldown_runtime = require("../common/rolldown-runtime.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/arrow-spacing.js
3
3
  /**
4
4
  * @fileoverview Rule to define spacing before/after arrow function's arrow.
5
5
  * @author Jxck
6
6
  * @deprecated in ESLint v8.53.0
7
7
  */
8
- var require_arrow_spacing = /* @__PURE__ */ require_chunk.t(((exports, module) => {
8
+ var require_arrow_spacing = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
9
9
  let astUtils = require_ast_utils$1.t();
10
10
  /** @type {import('../types').Rule.RuleModule} */
11
11
  module.exports = {
@@ -3,7 +3,7 @@
3
3
  * @fileoverview Rule to check for "block scoped" variables by binding context
4
4
  * @author Matt DuVall <http://www.mattduvall.com>
5
5
  */
6
- var require_block_scoped_var = /* @__PURE__ */ require("../common/chunk.cjs").t(((exports, module) => {
6
+ var require_block_scoped_var = /* @__PURE__ */ require("../common/rolldown-runtime.cjs").t(((exports, module) => {
7
7
  /** @typedef {import("eslint-scope").Definition} Definition */
8
8
  /** @typedef {import("eslint-scope").Reference} Reference */
9
9
  /** @type {import('../types').Rule.RuleModule} */
@@ -1,11 +1,11 @@
1
- const require_chunk = require("../common/chunk.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
1
+ const require_rolldown_runtime = require("../common/rolldown-runtime.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/block-spacing.js
3
3
  /**
4
4
  * @fileoverview A rule to disallow or enforce spaces inside of single line blocks.
5
5
  * @author Toru Nagashima
6
6
  * @deprecated in ESLint v8.53.0
7
7
  */
8
- var require_block_spacing = /* @__PURE__ */ require_chunk.t(((exports, module) => {
8
+ var require_block_spacing = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
9
9
  let util = require_ast_utils$1.t();
10
10
  /** @type {import('../types').Rule.RuleModule} */
11
11
  module.exports = {
@@ -1,11 +1,11 @@
1
- const require_chunk = require("../common/chunk.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
1
+ const require_rolldown_runtime = require("../common/rolldown-runtime.cjs"), require_ast_utils$1 = require("../common/ast-utils.cjs");
2
2
  //#region ../../node_modules/.pnpm/eslint@10.4.1/node_modules/eslint/lib/rules/brace-style.js
3
3
  /**
4
4
  * @fileoverview Rule to flag block statements that do not use the one true brace style
5
5
  * @author Ian Christian Myers
6
6
  * @deprecated in ESLint v8.53.0
7
7
  */
8
- var require_brace_style = /* @__PURE__ */ require_chunk.t(((exports, module) => {
8
+ var require_brace_style = /* @__PURE__ */ require_rolldown_runtime.t(((exports, module) => {
9
9
  let astUtils = require_ast_utils$1.t();
10
10
  /** @type {import('../types').Rule.RuleModule} */
11
11
  module.exports = {