immosquare-cleaner 0.1.64 → 0.1.66

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 (1315) hide show
  1. checksums.yaml +4 -4
  2. data/lib/immosquare-cleaner/version.rb +1 -1
  3. data/lib/immosquare-cleaner.rb +53 -52
  4. data/lib/tasks/immosquare_cleaner.rake +17 -1
  5. data/linters/eslint.config.mjs +14 -0
  6. data/linters/rubocop/cop/custom_cops/style/font_awesome_normalization.rb +2 -0
  7. data/node_modules/@babel/compat-data/data/plugins.json +6 -7
  8. data/node_modules/@babel/compat-data/package.json +2 -2
  9. data/node_modules/@babel/core/lib/config/files/configuration.js +3 -0
  10. data/node_modules/@babel/core/lib/config/files/configuration.js.map +1 -1
  11. data/node_modules/@babel/core/lib/config/files/module-types.js +74 -63
  12. data/node_modules/@babel/core/lib/config/files/module-types.js.map +1 -1
  13. data/node_modules/@babel/core/lib/config/files/plugins.js +1 -0
  14. data/node_modules/@babel/core/lib/config/files/plugins.js.map +1 -1
  15. data/node_modules/@babel/core/lib/config/partial.js +1 -1
  16. data/node_modules/@babel/core/lib/config/partial.js.map +1 -1
  17. data/node_modules/@babel/core/lib/index.js +1 -2
  18. data/node_modules/@babel/core/lib/index.js.map +1 -1
  19. data/node_modules/@babel/core/lib/parser/index.js.map +1 -1
  20. data/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs +3 -1
  21. data/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs.map +1 -1
  22. data/node_modules/@babel/core/lib/transformation/file/file.js +2 -4
  23. data/node_modules/@babel/core/lib/transformation/file/file.js.map +1 -1
  24. data/node_modules/@babel/core/lib/transformation/normalize-file.js.map +1 -1
  25. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js +27 -7
  26. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map +1 -1
  27. data/node_modules/@babel/core/package.json +13 -14
  28. data/node_modules/@babel/generator/lib/generators/classes.js +7 -4
  29. data/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
  30. data/node_modules/@babel/generator/lib/generators/deprecated.js +28 -0
  31. data/node_modules/@babel/generator/lib/generators/deprecated.js.map +1 -0
  32. data/node_modules/@babel/generator/lib/generators/expressions.js +9 -3
  33. data/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -1
  34. data/node_modules/@babel/generator/lib/generators/jsx.js +6 -1
  35. data/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -1
  36. data/node_modules/@babel/generator/lib/generators/template-literals.js +16 -11
  37. data/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -1
  38. data/node_modules/@babel/generator/lib/generators/types.js +0 -9
  39. data/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
  40. data/node_modules/@babel/generator/lib/generators/typescript.js +36 -18
  41. data/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
  42. data/node_modules/@babel/generator/lib/node/parentheses.js +40 -3
  43. data/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -1
  44. data/node_modules/@babel/generator/lib/printer.js +4 -3
  45. data/node_modules/@babel/generator/lib/printer.js.map +1 -1
  46. data/node_modules/@babel/generator/package.json +5 -5
  47. data/node_modules/@babel/helper-compilation-targets/lib/index.js +1 -1
  48. data/node_modules/@babel/helper-compilation-targets/lib/index.js.map +1 -1
  49. data/node_modules/@babel/helper-compilation-targets/package.json +2 -2
  50. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js +1 -9
  51. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js.map +1 -1
  52. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js +9 -0
  53. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js.map +1 -1
  54. data/node_modules/@babel/helper-create-class-features-plugin/lib/features.js +1 -1
  55. data/node_modules/@babel/helper-create-class-features-plugin/lib/features.js.map +1 -1
  56. data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js +8 -8
  57. data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js.map +1 -1
  58. data/node_modules/@babel/helper-create-class-features-plugin/package.json +5 -5
  59. data/node_modules/@babel/helper-plugin-utils/lib/index.js.map +1 -1
  60. data/node_modules/@babel/helper-plugin-utils/package.json +2 -2
  61. data/node_modules/@babel/helper-replace-supers/lib/index.js.map +1 -1
  62. data/node_modules/@babel/helper-replace-supers/package.json +3 -3
  63. data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map +1 -1
  64. data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js.map +1 -1
  65. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js +1 -1
  66. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.map +1 -1
  67. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js +1 -1
  68. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map +1 -1
  69. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js +7 -3
  70. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map +1 -1
  71. data/node_modules/@babel/helpers/lib/helpers-generated.js +3 -3
  72. data/node_modules/@babel/helpers/lib/helpers-generated.js.map +1 -1
  73. data/node_modules/@babel/helpers/package.json +5 -5
  74. data/node_modules/@babel/parser/lib/index.js +426 -236
  75. data/node_modules/@babel/parser/lib/index.js.map +1 -1
  76. data/node_modules/@babel/parser/package.json +2 -2
  77. data/node_modules/@babel/parser/typings/babel-parser.d.ts +127 -164
  78. data/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js +6 -0
  79. data/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js.map +1 -1
  80. data/node_modules/@babel/plugin-transform-flow-strip-types/package.json +4 -4
  81. data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js +3 -2
  82. data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js.map +1 -1
  83. data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/package.json +3 -3
  84. data/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js +3 -1
  85. data/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js.map +1 -1
  86. data/node_modules/@babel/plugin-transform-typescript/lib/enum.js +24 -11
  87. data/node_modules/@babel/plugin-transform-typescript/lib/enum.js.map +1 -1
  88. data/node_modules/@babel/plugin-transform-typescript/lib/index.js +38 -9
  89. data/node_modules/@babel/plugin-transform-typescript/lib/index.js.map +1 -1
  90. data/node_modules/@babel/plugin-transform-typescript/lib/namespace.js +2 -0
  91. data/node_modules/@babel/plugin-transform-typescript/lib/namespace.js.map +1 -1
  92. data/node_modules/@babel/plugin-transform-typescript/package.json +5 -5
  93. data/node_modules/@babel/template/lib/options.js.map +1 -1
  94. data/node_modules/@babel/template/lib/parse.js.map +1 -1
  95. data/node_modules/@babel/template/package.json +4 -4
  96. data/node_modules/@babel/traverse/lib/cache.js +4 -5
  97. data/node_modules/@babel/traverse/lib/cache.js.map +1 -1
  98. data/node_modules/@babel/traverse/lib/path/conversion.js +1 -2
  99. data/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
  100. data/node_modules/@babel/traverse/lib/path/evaluation.js +17 -0
  101. data/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -1
  102. data/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -1
  103. data/node_modules/@babel/traverse/lib/path/modification.js +1 -1
  104. data/node_modules/@babel/traverse/lib/path/modification.js.map +1 -1
  105. data/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -1
  106. data/node_modules/@babel/traverse/lib/scope/index.js +9 -2
  107. data/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
  108. data/node_modules/@babel/traverse/lib/visitors.js +1 -1
  109. data/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
  110. data/node_modules/@babel/traverse/package.json +6 -6
  111. data/node_modules/@babel/types/lib/asserts/generated/index.js +8 -0
  112. data/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -1
  113. data/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
  114. data/node_modules/@babel/types/lib/builders/generated/index.js +22 -2858
  115. data/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -1
  116. data/node_modules/@babel/types/lib/builders/generated/lowercase.js +2886 -0
  117. data/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -0
  118. data/node_modules/@babel/types/lib/builders/generated/uppercase.js +267 -255
  119. data/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -1
  120. data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -1
  121. data/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -1
  122. data/node_modules/@babel/types/lib/definitions/core.js +26 -17
  123. data/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
  124. data/node_modules/@babel/types/lib/definitions/flow.js +6 -3
  125. data/node_modules/@babel/types/lib/definitions/flow.js.map +1 -1
  126. data/node_modules/@babel/types/lib/definitions/jsx.js +9 -4
  127. data/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -1
  128. data/node_modules/@babel/types/lib/definitions/typescript.js +51 -26
  129. data/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -1
  130. data/node_modules/@babel/types/lib/definitions/utils.js +2 -2
  131. data/node_modules/@babel/types/lib/definitions/utils.js.map +1 -1
  132. data/node_modules/@babel/types/lib/index-legacy.d.ts +27 -7
  133. data/node_modules/@babel/types/lib/index.d.ts +1178 -1156
  134. data/node_modules/@babel/types/lib/index.js +10 -21
  135. data/node_modules/@babel/types/lib/index.js.flow +26 -6
  136. data/node_modules/@babel/types/lib/index.js.map +1 -1
  137. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +9 -8
  138. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -1
  139. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +1 -0
  140. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -1
  141. data/node_modules/@babel/types/lib/validators/generated/index.js +17 -0
  142. data/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -1
  143. data/node_modules/@babel/types/package.json +12 -12
  144. data/node_modules/@eslint-community/eslint-utils/index.js +21 -1
  145. data/node_modules/@eslint-community/eslint-utils/index.js.map +1 -1
  146. data/node_modules/@eslint-community/eslint-utils/index.mjs +21 -1
  147. data/node_modules/@eslint-community/eslint-utils/index.mjs.map +1 -1
  148. data/node_modules/@eslint-community/eslint-utils/package.json +1 -1
  149. data/node_modules/acorn/CHANGELOG.md +12 -0
  150. data/node_modules/acorn/dist/acorn.js +33 -24
  151. data/node_modules/acorn/dist/acorn.mjs +33 -24
  152. data/node_modules/acorn/package.json +1 -1
  153. data/node_modules/async-function/CHANGELOG.md +16 -0
  154. data/node_modules/{jscodeshift → async-function}/LICENSE +1 -1
  155. data/node_modules/async-function/README.md +51 -0
  156. data/node_modules/async-function/index.d.mts +3 -0
  157. data/node_modules/async-function/index.d.ts +13 -0
  158. data/node_modules/async-function/index.js +8 -0
  159. data/node_modules/async-function/index.mjs +4 -0
  160. data/node_modules/async-function/legacy.js +18 -0
  161. data/node_modules/async-function/package.json +86 -0
  162. data/node_modules/async-function/require.mjs +5 -0
  163. data/node_modules/async-function/test/index.js +40 -0
  164. data/node_modules/async-function/tsconfig.json +9 -0
  165. data/node_modules/browserslist/index.js +23 -4
  166. data/node_modules/browserslist/node.js +69 -60
  167. data/node_modules/browserslist/package.json +1 -1
  168. data/node_modules/call-bind-apply-helpers/CHANGELOG.md +7 -0
  169. data/node_modules/call-bind-apply-helpers/index.d.ts +38 -20
  170. data/node_modules/call-bind-apply-helpers/index.js +1 -1
  171. data/node_modules/call-bind-apply-helpers/package.json +8 -8
  172. data/node_modules/call-bind-apply-helpers/test/index.js +4 -4
  173. data/node_modules/call-bound/CHANGELOG.md +8 -0
  174. data/node_modules/call-bound/index.d.ts +91 -10
  175. data/node_modules/call-bound/index.js +4 -3
  176. data/node_modules/call-bound/package.json +10 -10
  177. data/node_modules/call-bound/test/index.js +11 -4
  178. data/node_modules/call-bound/tsconfig.json +2 -1
  179. data/node_modules/caniuse-lite/data/agents.js +1 -1
  180. data/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  181. data/node_modules/caniuse-lite/data/features/aac.js +1 -1
  182. data/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  183. data/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  184. data/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  185. data/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  186. data/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  187. data/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  188. data/node_modules/caniuse-lite/data/features/apng.js +1 -1
  189. data/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  190. data/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  191. data/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  192. data/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  193. data/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  194. data/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  195. data/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  196. data/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  197. data/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  198. data/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  199. data/node_modules/caniuse-lite/data/features/audio.js +1 -1
  200. data/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  201. data/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  202. data/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  203. data/node_modules/caniuse-lite/data/features/av1.js +1 -1
  204. data/node_modules/caniuse-lite/data/features/avif.js +1 -1
  205. data/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  206. data/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  207. data/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  208. data/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  209. data/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  210. data/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  211. data/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  212. data/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  213. data/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  214. data/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  215. data/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  216. data/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  217. data/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  218. data/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  219. data/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  220. data/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  221. data/node_modules/caniuse-lite/data/features/calc.js +1 -1
  222. data/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  223. data/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  224. data/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  225. data/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  226. data/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  227. data/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  228. data/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  229. data/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  230. data/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  231. data/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  232. data/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  233. data/node_modules/caniuse-lite/data/features/colr.js +1 -1
  234. data/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  235. data/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  236. data/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  237. data/node_modules/caniuse-lite/data/features/const.js +1 -1
  238. data/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  239. data/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  240. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  241. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  242. data/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  243. data/node_modules/caniuse-lite/data/features/cors.js +1 -1
  244. data/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  245. data/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  246. data/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  247. data/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  248. data/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  249. data/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  250. data/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  251. data/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  252. data/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  253. data/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  254. data/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  255. data/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  256. data/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  257. data/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  258. data/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  259. data/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  260. data/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  261. data/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  262. data/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  263. data/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  264. data/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  265. data/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  266. data/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  267. data/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  268. data/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  269. data/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  270. data/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  271. data/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  272. data/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  273. data/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  274. data/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  275. data/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  276. data/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  277. data/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  278. data/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  279. data/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  280. data/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  281. data/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  282. data/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  283. data/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  284. data/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  285. data/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  286. data/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  287. data/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  288. data/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  289. data/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  290. data/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  291. data/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  292. data/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  293. data/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  294. data/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  295. data/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  296. data/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  297. data/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  298. data/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  299. data/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  300. data/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  301. data/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  302. data/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  303. data/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  304. data/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  305. data/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  306. data/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  307. data/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  308. data/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  309. data/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  310. data/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  311. data/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  312. data/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  313. data/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  314. data/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  315. data/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  316. data/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  317. data/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  318. data/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  319. data/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  320. data/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  321. data/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  322. data/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  323. data/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  324. data/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  325. data/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  326. data/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  327. data/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  328. data/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  329. data/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  330. data/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  331. data/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  332. data/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  333. data/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  334. data/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  335. data/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  336. data/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  337. data/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  338. data/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  339. data/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  340. data/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  341. data/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  342. data/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  343. data/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  344. data/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  345. data/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  346. data/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  347. data/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  348. data/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  349. data/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  350. data/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  351. data/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  352. data/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  353. data/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  354. data/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  355. data/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  356. data/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  357. data/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  358. data/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  359. data/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  360. data/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  361. data/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  362. data/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  363. data/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  364. data/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  365. data/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  366. data/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  367. data/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  368. data/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  369. data/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  370. data/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  371. data/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  372. data/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  373. data/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  374. data/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  375. data/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  376. data/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  377. data/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  378. data/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  379. data/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  380. data/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  381. data/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  382. data/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  383. data/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  384. data/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  385. data/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  386. data/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  387. data/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  388. data/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  389. data/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  390. data/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  391. data/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  392. data/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  393. data/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  394. data/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  395. data/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  396. data/node_modules/caniuse-lite/data/features/details.js +1 -1
  397. data/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  398. data/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  399. data/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  400. data/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  401. data/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  402. data/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  403. data/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  404. data/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  405. data/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  406. data/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  407. data/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  408. data/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  409. data/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  410. data/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  411. data/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  412. data/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  413. data/node_modules/caniuse-lite/data/features/download.js +1 -1
  414. data/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  415. data/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  416. data/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  417. data/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  418. data/node_modules/caniuse-lite/data/features/eme.js +1 -1
  419. data/node_modules/caniuse-lite/data/features/eot.js +1 -1
  420. data/node_modules/caniuse-lite/data/features/es5.js +1 -1
  421. data/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  422. data/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  423. data/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  424. data/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  425. data/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  426. data/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  427. data/node_modules/caniuse-lite/data/features/es6.js +1 -1
  428. data/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  429. data/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  430. data/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  431. data/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  432. data/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  433. data/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  434. data/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  435. data/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  436. data/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  437. data/node_modules/caniuse-lite/data/features/flac.js +1 -1
  438. data/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  439. data/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  440. data/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  441. data/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  442. data/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  443. data/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  444. data/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  445. data/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  446. data/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  447. data/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  448. data/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  449. data/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  450. data/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  451. data/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  452. data/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  453. data/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  454. data/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  455. data/node_modules/caniuse-lite/data/features/forms.js +1 -1
  456. data/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  457. data/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  458. data/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  459. data/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  460. data/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  461. data/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  462. data/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  463. data/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  464. data/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  465. data/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  466. data/node_modules/caniuse-lite/data/features/heif.js +1 -1
  467. data/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  468. data/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  469. data/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  470. data/node_modules/caniuse-lite/data/features/history.js +1 -1
  471. data/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  472. data/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  473. data/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  474. data/node_modules/caniuse-lite/data/features/http2.js +1 -1
  475. data/node_modules/caniuse-lite/data/features/http3.js +1 -1
  476. data/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  477. data/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  478. data/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  479. data/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  480. data/node_modules/caniuse-lite/data/features/ime.js +1 -1
  481. data/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  482. data/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  483. data/node_modules/caniuse-lite/data/features/imports.js +1 -1
  484. data/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  485. data/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  486. data/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  487. data/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  488. data/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  489. data/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  490. data/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  491. data/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  492. data/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  493. data/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  494. data/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  495. data/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  496. data/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  497. data/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  498. data/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  499. data/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  500. data/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  501. data/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  502. data/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  503. data/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  504. data/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  505. data/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  506. data/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  507. data/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  508. data/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  509. data/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  510. data/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  511. data/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  512. data/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  513. data/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  514. data/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  515. data/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  516. data/node_modules/caniuse-lite/data/features/json.js +1 -1
  517. data/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  518. data/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  519. data/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  520. data/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  521. data/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  522. data/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  523. data/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  524. data/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  525. data/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  526. data/node_modules/caniuse-lite/data/features/let.js +1 -1
  527. data/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  528. data/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  529. data/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  530. data/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  531. data/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  532. data/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  533. data/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  534. data/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  535. data/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  536. data/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  537. data/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  538. data/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  539. data/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  540. data/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  541. data/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  542. data/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  543. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  544. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  545. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  546. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  547. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  548. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  549. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  550. data/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  551. data/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  552. data/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  553. data/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  554. data/node_modules/caniuse-lite/data/features/menu.js +1 -1
  555. data/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  556. data/node_modules/caniuse-lite/data/features/meter.js +1 -1
  557. data/node_modules/caniuse-lite/data/features/midi.js +1 -1
  558. data/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  559. data/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  560. data/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  561. data/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  562. data/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  563. data/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  564. data/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  565. data/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  566. data/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  567. data/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  568. data/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  569. data/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  570. data/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  571. data/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  572. data/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  573. data/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  574. data/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  575. data/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  576. data/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  577. data/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  578. data/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  579. data/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  580. data/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  581. data/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  582. data/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  583. data/node_modules/caniuse-lite/data/features/opus.js +1 -1
  584. data/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  585. data/node_modules/caniuse-lite/data/features/outline.js +1 -1
  586. data/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  587. data/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  588. data/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  589. data/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  590. data/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  591. data/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  592. data/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  593. data/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  594. data/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  595. data/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  596. data/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  597. data/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  598. data/node_modules/caniuse-lite/data/features/picture.js +1 -1
  599. data/node_modules/caniuse-lite/data/features/ping.js +1 -1
  600. data/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  601. data/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  602. data/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  603. data/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  604. data/node_modules/caniuse-lite/data/features/portals.js +1 -1
  605. data/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  606. data/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  607. data/node_modules/caniuse-lite/data/features/progress.js +1 -1
  608. data/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  609. data/node_modules/caniuse-lite/data/features/promises.js +1 -1
  610. data/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  611. data/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  612. data/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  613. data/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  614. data/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  615. data/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  616. data/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  617. data/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  618. data/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  619. data/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  620. data/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  621. data/node_modules/caniuse-lite/data/features/rem.js +1 -1
  622. data/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  623. data/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  624. data/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  625. data/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  626. data/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  627. data/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  628. data/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  629. data/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  630. data/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  631. data/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  632. data/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  633. data/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  634. data/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  635. data/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  636. data/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  637. data/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  638. data/node_modules/caniuse-lite/data/features/selectlist.js +1 -1
  639. data/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  640. data/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  641. data/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  642. data/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  643. data/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  644. data/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  645. data/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  646. data/node_modules/caniuse-lite/data/features/sni.js +1 -1
  647. data/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  648. data/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  649. data/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  650. data/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  651. data/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  652. data/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  653. data/node_modules/caniuse-lite/data/features/stream.js +1 -1
  654. data/node_modules/caniuse-lite/data/features/streams.js +1 -1
  655. data/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  656. data/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  657. data/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  658. data/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  659. data/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  660. data/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  661. data/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  662. data/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  663. data/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  664. data/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  665. data/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  666. data/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  667. data/node_modules/caniuse-lite/data/features/svg.js +1 -1
  668. data/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  669. data/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  670. data/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  671. data/node_modules/caniuse-lite/data/features/template.js +1 -1
  672. data/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  673. data/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  674. data/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  675. data/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  676. data/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  677. data/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  678. data/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  679. data/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  680. data/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  681. data/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  682. data/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  683. data/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  684. data/node_modules/caniuse-lite/data/features/touch.js +1 -1
  685. data/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  686. data/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  687. data/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  688. data/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  689. data/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  690. data/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  691. data/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  692. data/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  693. data/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  694. data/node_modules/caniuse-lite/data/features/url.js +1 -1
  695. data/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  696. data/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  697. data/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  698. data/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  699. data/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  700. data/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  701. data/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  702. data/node_modules/caniuse-lite/data/features/video.js +1 -1
  703. data/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  704. data/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  705. data/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  706. data/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  707. data/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  708. data/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  709. data/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  710. data/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  711. data/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  712. data/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  713. data/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  714. data/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  715. data/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  716. data/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  717. data/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  718. data/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  719. data/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  720. data/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  721. data/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  722. data/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  723. data/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  724. data/node_modules/caniuse-lite/data/features/wav.js +1 -1
  725. data/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  726. data/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  727. data/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  728. data/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  729. data/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  730. data/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  731. data/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  732. data/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  733. data/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  734. data/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  735. data/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  736. data/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  737. data/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  738. data/node_modules/caniuse-lite/data/features/webm.js +1 -1
  739. data/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  740. data/node_modules/caniuse-lite/data/features/webp.js +1 -1
  741. data/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  742. data/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  743. data/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  744. data/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  745. data/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  746. data/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  747. data/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  748. data/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  749. data/node_modules/caniuse-lite/data/features/woff.js +1 -1
  750. data/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  751. data/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  752. data/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  753. data/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  754. data/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  755. data/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  756. data/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  757. data/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  758. data/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  759. data/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  760. data/node_modules/caniuse-lite/data/regions/AD.js +1 -1
  761. data/node_modules/caniuse-lite/data/regions/AE.js +1 -1
  762. data/node_modules/caniuse-lite/data/regions/AF.js +1 -1
  763. data/node_modules/caniuse-lite/data/regions/AG.js +1 -1
  764. data/node_modules/caniuse-lite/data/regions/AI.js +1 -1
  765. data/node_modules/caniuse-lite/data/regions/AL.js +1 -1
  766. data/node_modules/caniuse-lite/data/regions/AM.js +1 -1
  767. data/node_modules/caniuse-lite/data/regions/AO.js +1 -1
  768. data/node_modules/caniuse-lite/data/regions/AR.js +1 -1
  769. data/node_modules/caniuse-lite/data/regions/AS.js +1 -1
  770. data/node_modules/caniuse-lite/data/regions/AT.js +1 -1
  771. data/node_modules/caniuse-lite/data/regions/AU.js +1 -1
  772. data/node_modules/caniuse-lite/data/regions/AW.js +1 -1
  773. data/node_modules/caniuse-lite/data/regions/AX.js +1 -1
  774. data/node_modules/caniuse-lite/data/regions/AZ.js +1 -1
  775. data/node_modules/caniuse-lite/data/regions/BA.js +1 -1
  776. data/node_modules/caniuse-lite/data/regions/BB.js +1 -1
  777. data/node_modules/caniuse-lite/data/regions/BD.js +1 -1
  778. data/node_modules/caniuse-lite/data/regions/BE.js +1 -1
  779. data/node_modules/caniuse-lite/data/regions/BF.js +1 -1
  780. data/node_modules/caniuse-lite/data/regions/BG.js +1 -1
  781. data/node_modules/caniuse-lite/data/regions/BH.js +1 -1
  782. data/node_modules/caniuse-lite/data/regions/BI.js +1 -1
  783. data/node_modules/caniuse-lite/data/regions/BJ.js +1 -1
  784. data/node_modules/caniuse-lite/data/regions/BM.js +1 -1
  785. data/node_modules/caniuse-lite/data/regions/BN.js +1 -1
  786. data/node_modules/caniuse-lite/data/regions/BO.js +1 -1
  787. data/node_modules/caniuse-lite/data/regions/BR.js +1 -1
  788. data/node_modules/caniuse-lite/data/regions/BS.js +1 -1
  789. data/node_modules/caniuse-lite/data/regions/BT.js +1 -1
  790. data/node_modules/caniuse-lite/data/regions/BW.js +1 -1
  791. data/node_modules/caniuse-lite/data/regions/BY.js +1 -1
  792. data/node_modules/caniuse-lite/data/regions/BZ.js +1 -1
  793. data/node_modules/caniuse-lite/data/regions/CA.js +1 -1
  794. data/node_modules/caniuse-lite/data/regions/CD.js +1 -1
  795. data/node_modules/caniuse-lite/data/regions/CF.js +1 -1
  796. data/node_modules/caniuse-lite/data/regions/CG.js +1 -1
  797. data/node_modules/caniuse-lite/data/regions/CH.js +1 -1
  798. data/node_modules/caniuse-lite/data/regions/CI.js +1 -1
  799. data/node_modules/caniuse-lite/data/regions/CK.js +1 -1
  800. data/node_modules/caniuse-lite/data/regions/CL.js +1 -1
  801. data/node_modules/caniuse-lite/data/regions/CM.js +1 -1
  802. data/node_modules/caniuse-lite/data/regions/CN.js +1 -1
  803. data/node_modules/caniuse-lite/data/regions/CO.js +1 -1
  804. data/node_modules/caniuse-lite/data/regions/CR.js +1 -1
  805. data/node_modules/caniuse-lite/data/regions/CU.js +1 -1
  806. data/node_modules/caniuse-lite/data/regions/CV.js +1 -1
  807. data/node_modules/caniuse-lite/data/regions/CX.js +1 -1
  808. data/node_modules/caniuse-lite/data/regions/CY.js +1 -1
  809. data/node_modules/caniuse-lite/data/regions/CZ.js +1 -1
  810. data/node_modules/caniuse-lite/data/regions/DE.js +1 -1
  811. data/node_modules/caniuse-lite/data/regions/DJ.js +1 -1
  812. data/node_modules/caniuse-lite/data/regions/DK.js +1 -1
  813. data/node_modules/caniuse-lite/data/regions/DM.js +1 -1
  814. data/node_modules/caniuse-lite/data/regions/DO.js +1 -1
  815. data/node_modules/caniuse-lite/data/regions/DZ.js +1 -1
  816. data/node_modules/caniuse-lite/data/regions/EC.js +1 -1
  817. data/node_modules/caniuse-lite/data/regions/EE.js +1 -1
  818. data/node_modules/caniuse-lite/data/regions/EG.js +1 -1
  819. data/node_modules/caniuse-lite/data/regions/ER.js +1 -1
  820. data/node_modules/caniuse-lite/data/regions/ES.js +1 -1
  821. data/node_modules/caniuse-lite/data/regions/ET.js +1 -1
  822. data/node_modules/caniuse-lite/data/regions/FI.js +1 -1
  823. data/node_modules/caniuse-lite/data/regions/FJ.js +1 -1
  824. data/node_modules/caniuse-lite/data/regions/FK.js +1 -1
  825. data/node_modules/caniuse-lite/data/regions/FM.js +1 -1
  826. data/node_modules/caniuse-lite/data/regions/FO.js +1 -1
  827. data/node_modules/caniuse-lite/data/regions/FR.js +1 -1
  828. data/node_modules/caniuse-lite/data/regions/GA.js +1 -1
  829. data/node_modules/caniuse-lite/data/regions/GB.js +1 -1
  830. data/node_modules/caniuse-lite/data/regions/GD.js +1 -1
  831. data/node_modules/caniuse-lite/data/regions/GE.js +1 -1
  832. data/node_modules/caniuse-lite/data/regions/GF.js +1 -1
  833. data/node_modules/caniuse-lite/data/regions/GG.js +1 -1
  834. data/node_modules/caniuse-lite/data/regions/GH.js +1 -1
  835. data/node_modules/caniuse-lite/data/regions/GI.js +1 -1
  836. data/node_modules/caniuse-lite/data/regions/GL.js +1 -1
  837. data/node_modules/caniuse-lite/data/regions/GM.js +1 -1
  838. data/node_modules/caniuse-lite/data/regions/GN.js +1 -1
  839. data/node_modules/caniuse-lite/data/regions/GP.js +1 -1
  840. data/node_modules/caniuse-lite/data/regions/GQ.js +1 -1
  841. data/node_modules/caniuse-lite/data/regions/GR.js +1 -1
  842. data/node_modules/caniuse-lite/data/regions/GT.js +1 -1
  843. data/node_modules/caniuse-lite/data/regions/GU.js +1 -1
  844. data/node_modules/caniuse-lite/data/regions/GW.js +1 -1
  845. data/node_modules/caniuse-lite/data/regions/GY.js +1 -1
  846. data/node_modules/caniuse-lite/data/regions/HK.js +1 -1
  847. data/node_modules/caniuse-lite/data/regions/HN.js +1 -1
  848. data/node_modules/caniuse-lite/data/regions/HR.js +1 -1
  849. data/node_modules/caniuse-lite/data/regions/HT.js +1 -1
  850. data/node_modules/caniuse-lite/data/regions/HU.js +1 -1
  851. data/node_modules/caniuse-lite/data/regions/ID.js +1 -1
  852. data/node_modules/caniuse-lite/data/regions/IE.js +1 -1
  853. data/node_modules/caniuse-lite/data/regions/IL.js +1 -1
  854. data/node_modules/caniuse-lite/data/regions/IM.js +1 -1
  855. data/node_modules/caniuse-lite/data/regions/IN.js +1 -1
  856. data/node_modules/caniuse-lite/data/regions/IQ.js +1 -1
  857. data/node_modules/caniuse-lite/data/regions/IR.js +1 -1
  858. data/node_modules/caniuse-lite/data/regions/IS.js +1 -1
  859. data/node_modules/caniuse-lite/data/regions/IT.js +1 -1
  860. data/node_modules/caniuse-lite/data/regions/JE.js +1 -1
  861. data/node_modules/caniuse-lite/data/regions/JM.js +1 -1
  862. data/node_modules/caniuse-lite/data/regions/JO.js +1 -1
  863. data/node_modules/caniuse-lite/data/regions/JP.js +1 -1
  864. data/node_modules/caniuse-lite/data/regions/KE.js +1 -1
  865. data/node_modules/caniuse-lite/data/regions/KG.js +1 -1
  866. data/node_modules/caniuse-lite/data/regions/KH.js +1 -1
  867. data/node_modules/caniuse-lite/data/regions/KI.js +1 -1
  868. data/node_modules/caniuse-lite/data/regions/KM.js +1 -1
  869. data/node_modules/caniuse-lite/data/regions/KN.js +1 -1
  870. data/node_modules/caniuse-lite/data/regions/KP.js +1 -1
  871. data/node_modules/caniuse-lite/data/regions/KR.js +1 -1
  872. data/node_modules/caniuse-lite/data/regions/KW.js +1 -1
  873. data/node_modules/caniuse-lite/data/regions/KY.js +1 -1
  874. data/node_modules/caniuse-lite/data/regions/KZ.js +1 -1
  875. data/node_modules/caniuse-lite/data/regions/LA.js +1 -1
  876. data/node_modules/caniuse-lite/data/regions/LB.js +1 -1
  877. data/node_modules/caniuse-lite/data/regions/LC.js +1 -1
  878. data/node_modules/caniuse-lite/data/regions/LI.js +1 -1
  879. data/node_modules/caniuse-lite/data/regions/LK.js +1 -1
  880. data/node_modules/caniuse-lite/data/regions/LR.js +1 -1
  881. data/node_modules/caniuse-lite/data/regions/LS.js +1 -1
  882. data/node_modules/caniuse-lite/data/regions/LT.js +1 -1
  883. data/node_modules/caniuse-lite/data/regions/LU.js +1 -1
  884. data/node_modules/caniuse-lite/data/regions/LV.js +1 -1
  885. data/node_modules/caniuse-lite/data/regions/LY.js +1 -1
  886. data/node_modules/caniuse-lite/data/regions/MA.js +1 -1
  887. data/node_modules/caniuse-lite/data/regions/MC.js +1 -1
  888. data/node_modules/caniuse-lite/data/regions/MD.js +1 -1
  889. data/node_modules/caniuse-lite/data/regions/ME.js +1 -1
  890. data/node_modules/caniuse-lite/data/regions/MG.js +1 -1
  891. data/node_modules/caniuse-lite/data/regions/MH.js +1 -1
  892. data/node_modules/caniuse-lite/data/regions/MK.js +1 -1
  893. data/node_modules/caniuse-lite/data/regions/ML.js +1 -1
  894. data/node_modules/caniuse-lite/data/regions/MM.js +1 -1
  895. data/node_modules/caniuse-lite/data/regions/MN.js +1 -1
  896. data/node_modules/caniuse-lite/data/regions/MO.js +1 -1
  897. data/node_modules/caniuse-lite/data/regions/MP.js +1 -1
  898. data/node_modules/caniuse-lite/data/regions/MQ.js +1 -1
  899. data/node_modules/caniuse-lite/data/regions/MR.js +1 -1
  900. data/node_modules/caniuse-lite/data/regions/MS.js +1 -1
  901. data/node_modules/caniuse-lite/data/regions/MT.js +1 -1
  902. data/node_modules/caniuse-lite/data/regions/MU.js +1 -1
  903. data/node_modules/caniuse-lite/data/regions/MV.js +1 -1
  904. data/node_modules/caniuse-lite/data/regions/MW.js +1 -1
  905. data/node_modules/caniuse-lite/data/regions/MX.js +1 -1
  906. data/node_modules/caniuse-lite/data/regions/MY.js +1 -1
  907. data/node_modules/caniuse-lite/data/regions/MZ.js +1 -1
  908. data/node_modules/caniuse-lite/data/regions/NA.js +1 -1
  909. data/node_modules/caniuse-lite/data/regions/NC.js +1 -1
  910. data/node_modules/caniuse-lite/data/regions/NE.js +1 -1
  911. data/node_modules/caniuse-lite/data/regions/NF.js +1 -1
  912. data/node_modules/caniuse-lite/data/regions/NG.js +1 -1
  913. data/node_modules/caniuse-lite/data/regions/NI.js +1 -1
  914. data/node_modules/caniuse-lite/data/regions/NL.js +1 -1
  915. data/node_modules/caniuse-lite/data/regions/NO.js +1 -1
  916. data/node_modules/caniuse-lite/data/regions/NP.js +1 -1
  917. data/node_modules/caniuse-lite/data/regions/NR.js +1 -1
  918. data/node_modules/caniuse-lite/data/regions/NU.js +1 -1
  919. data/node_modules/caniuse-lite/data/regions/NZ.js +1 -1
  920. data/node_modules/caniuse-lite/data/regions/OM.js +1 -1
  921. data/node_modules/caniuse-lite/data/regions/PA.js +1 -1
  922. data/node_modules/caniuse-lite/data/regions/PE.js +1 -1
  923. data/node_modules/caniuse-lite/data/regions/PF.js +1 -1
  924. data/node_modules/caniuse-lite/data/regions/PG.js +1 -1
  925. data/node_modules/caniuse-lite/data/regions/PH.js +1 -1
  926. data/node_modules/caniuse-lite/data/regions/PK.js +1 -1
  927. data/node_modules/caniuse-lite/data/regions/PL.js +1 -1
  928. data/node_modules/caniuse-lite/data/regions/PM.js +1 -1
  929. data/node_modules/caniuse-lite/data/regions/PN.js +1 -1
  930. data/node_modules/caniuse-lite/data/regions/PR.js +1 -1
  931. data/node_modules/caniuse-lite/data/regions/PS.js +1 -1
  932. data/node_modules/caniuse-lite/data/regions/PT.js +1 -1
  933. data/node_modules/caniuse-lite/data/regions/PW.js +1 -1
  934. data/node_modules/caniuse-lite/data/regions/PY.js +1 -1
  935. data/node_modules/caniuse-lite/data/regions/QA.js +1 -1
  936. data/node_modules/caniuse-lite/data/regions/RE.js +1 -1
  937. data/node_modules/caniuse-lite/data/regions/RO.js +1 -1
  938. data/node_modules/caniuse-lite/data/regions/RS.js +1 -1
  939. data/node_modules/caniuse-lite/data/regions/RU.js +1 -1
  940. data/node_modules/caniuse-lite/data/regions/RW.js +1 -1
  941. data/node_modules/caniuse-lite/data/regions/SA.js +1 -1
  942. data/node_modules/caniuse-lite/data/regions/SB.js +1 -1
  943. data/node_modules/caniuse-lite/data/regions/SC.js +1 -1
  944. data/node_modules/caniuse-lite/data/regions/SD.js +1 -1
  945. data/node_modules/caniuse-lite/data/regions/SE.js +1 -1
  946. data/node_modules/caniuse-lite/data/regions/SG.js +1 -1
  947. data/node_modules/caniuse-lite/data/regions/SH.js +1 -1
  948. data/node_modules/caniuse-lite/data/regions/SI.js +1 -1
  949. data/node_modules/caniuse-lite/data/regions/SK.js +1 -1
  950. data/node_modules/caniuse-lite/data/regions/SL.js +1 -1
  951. data/node_modules/caniuse-lite/data/regions/SM.js +1 -1
  952. data/node_modules/caniuse-lite/data/regions/SN.js +1 -1
  953. data/node_modules/caniuse-lite/data/regions/SO.js +1 -1
  954. data/node_modules/caniuse-lite/data/regions/SR.js +1 -1
  955. data/node_modules/caniuse-lite/data/regions/ST.js +1 -1
  956. data/node_modules/caniuse-lite/data/regions/SV.js +1 -1
  957. data/node_modules/caniuse-lite/data/regions/SY.js +1 -1
  958. data/node_modules/caniuse-lite/data/regions/SZ.js +1 -1
  959. data/node_modules/caniuse-lite/data/regions/TC.js +1 -1
  960. data/node_modules/caniuse-lite/data/regions/TD.js +1 -1
  961. data/node_modules/caniuse-lite/data/regions/TG.js +1 -1
  962. data/node_modules/caniuse-lite/data/regions/TH.js +1 -1
  963. data/node_modules/caniuse-lite/data/regions/TJ.js +1 -1
  964. data/node_modules/caniuse-lite/data/regions/TL.js +1 -1
  965. data/node_modules/caniuse-lite/data/regions/TM.js +1 -1
  966. data/node_modules/caniuse-lite/data/regions/TN.js +1 -1
  967. data/node_modules/caniuse-lite/data/regions/TO.js +1 -1
  968. data/node_modules/caniuse-lite/data/regions/TR.js +1 -1
  969. data/node_modules/caniuse-lite/data/regions/TT.js +1 -1
  970. data/node_modules/caniuse-lite/data/regions/TV.js +1 -1
  971. data/node_modules/caniuse-lite/data/regions/TW.js +1 -1
  972. data/node_modules/caniuse-lite/data/regions/TZ.js +1 -1
  973. data/node_modules/caniuse-lite/data/regions/UA.js +1 -1
  974. data/node_modules/caniuse-lite/data/regions/UG.js +1 -1
  975. data/node_modules/caniuse-lite/data/regions/US.js +1 -1
  976. data/node_modules/caniuse-lite/data/regions/UY.js +1 -1
  977. data/node_modules/caniuse-lite/data/regions/UZ.js +1 -1
  978. data/node_modules/caniuse-lite/data/regions/VA.js +1 -1
  979. data/node_modules/caniuse-lite/data/regions/VC.js +1 -1
  980. data/node_modules/caniuse-lite/data/regions/VE.js +1 -1
  981. data/node_modules/caniuse-lite/data/regions/VG.js +1 -1
  982. data/node_modules/caniuse-lite/data/regions/VI.js +1 -1
  983. data/node_modules/caniuse-lite/data/regions/VN.js +1 -1
  984. data/node_modules/caniuse-lite/data/regions/VU.js +1 -1
  985. data/node_modules/caniuse-lite/data/regions/WF.js +1 -1
  986. data/node_modules/caniuse-lite/data/regions/WS.js +1 -1
  987. data/node_modules/caniuse-lite/data/regions/YE.js +1 -1
  988. data/node_modules/caniuse-lite/data/regions/YT.js +1 -1
  989. data/node_modules/caniuse-lite/data/regions/ZA.js +1 -1
  990. data/node_modules/caniuse-lite/data/regions/ZM.js +1 -1
  991. data/node_modules/caniuse-lite/data/regions/ZW.js +1 -1
  992. data/node_modules/caniuse-lite/data/regions/alt-af.js +1 -1
  993. data/node_modules/caniuse-lite/data/regions/alt-an.js +1 -1
  994. data/node_modules/caniuse-lite/data/regions/alt-as.js +1 -1
  995. data/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -1
  996. data/node_modules/caniuse-lite/data/regions/alt-na.js +1 -1
  997. data/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -1
  998. data/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -1
  999. data/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -1
  1000. data/node_modules/caniuse-lite/package.json +1 -1
  1001. data/node_modules/electron-to-chromium/chromium-versions.js +4 -1
  1002. data/node_modules/electron-to-chromium/chromium-versions.json +1 -1
  1003. data/node_modules/electron-to-chromium/full-chromium-versions.js +75 -3
  1004. data/node_modules/electron-to-chromium/full-chromium-versions.json +1 -1
  1005. data/node_modules/electron-to-chromium/full-versions.js +45 -1
  1006. data/node_modules/electron-to-chromium/full-versions.json +1 -1
  1007. data/node_modules/electron-to-chromium/package.json +1 -1
  1008. data/node_modules/electron-to-chromium/versions.js +8 -1
  1009. data/node_modules/electron-to-chromium/versions.json +1 -1
  1010. data/node_modules/es-object-atoms/CHANGELOG.md +21 -0
  1011. data/node_modules/es-object-atoms/README.md +7 -0
  1012. data/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +2 -2
  1013. data/node_modules/es-object-atoms/ToObject.d.ts +6 -2
  1014. data/node_modules/es-object-atoms/isObject.d.ts +3 -0
  1015. data/node_modules/es-object-atoms/isObject.js +6 -0
  1016. data/node_modules/es-object-atoms/package.json +9 -8
  1017. data/node_modules/es-object-atoms/test/index.js +11 -1
  1018. data/node_modules/es-shim-unscopables/CHANGELOG.md +8 -0
  1019. data/node_modules/es-shim-unscopables/index.d.ts +8 -0
  1020. data/node_modules/es-shim-unscopables/index.js +2 -1
  1021. data/node_modules/es-shim-unscopables/package.json +20 -11
  1022. data/node_modules/es-shim-unscopables/test/index.js +4 -1
  1023. data/node_modules/es-shim-unscopables/test/with.js +8 -0
  1024. data/node_modules/es-shim-unscopables/tsconfig.json +10 -0
  1025. data/node_modules/eslint-plugin-erb/LICENSE +21 -0
  1026. data/node_modules/eslint-plugin-erb/README.md +257 -0
  1027. data/node_modules/eslint-plugin-erb/index.js +3 -0
  1028. data/node_modules/eslint-plugin-erb/lib/autofix.js +44 -0
  1029. data/node_modules/eslint-plugin-erb/lib/cache.js +21 -0
  1030. data/node_modules/eslint-plugin-erb/lib/dummy_replacements_map.js +30 -0
  1031. data/node_modules/eslint-plugin-erb/lib/file_coordinates.js +41 -0
  1032. data/node_modules/eslint-plugin-erb/lib/index.js +50 -0
  1033. data/node_modules/eslint-plugin-erb/lib/offset_calculation.js +50 -0
  1034. data/node_modules/eslint-plugin-erb/lib/offset_map.js +111 -0
  1035. data/node_modules/eslint-plugin-erb/lib/postprocess.js +72 -0
  1036. data/node_modules/eslint-plugin-erb/lib/preprocess.js +113 -0
  1037. data/node_modules/eslint-plugin-erb/package.json +50 -0
  1038. data/node_modules/flatted/index.js +3 -3
  1039. data/node_modules/flatted/min.js +1 -1
  1040. data/node_modules/flatted/package.json +21 -8
  1041. data/node_modules/flatted/python/flatted.py +4 -4
  1042. data/node_modules/flow-parser/flow_parser.js +5550 -5530
  1043. data/node_modules/flow-parser/package.json +1 -1
  1044. data/node_modules/for-each/CHANGELOG.md +107 -0
  1045. data/node_modules/for-each/README.md +0 -4
  1046. data/node_modules/for-each/index.d.ts +35 -0
  1047. data/node_modules/for-each/index.js +11 -4
  1048. data/node_modules/for-each/package.json +47 -36
  1049. data/node_modules/for-each/test/test.js +54 -12
  1050. data/node_modules/for-each/tsconfig.json +8 -0
  1051. data/node_modules/get-intrinsic/CHANGELOG.md +8 -0
  1052. data/node_modules/get-intrinsic/index.js +1 -0
  1053. data/node_modules/get-intrinsic/package.json +8 -8
  1054. data/node_modules/import-fresh/index.js +2 -1
  1055. data/node_modules/import-fresh/package.json +6 -1
  1056. data/node_modules/import-fresh/readme.md +14 -8
  1057. data/node_modules/is-async-function/CHANGELOG.md +13 -0
  1058. data/node_modules/is-async-function/index.d.ts +4 -2
  1059. data/node_modules/is-async-function/index.js +3 -18
  1060. data/node_modules/is-async-function/package.json +8 -3
  1061. data/node_modules/is-boolean-object/CHANGELOG.md +11 -0
  1062. data/node_modules/is-boolean-object/index.js +1 -1
  1063. data/node_modules/is-boolean-object/package.json +8 -6
  1064. data/node_modules/is-boolean-object/test/index.js +24 -1
  1065. data/node_modules/is-weakref/CHANGELOG.md +8 -0
  1066. data/node_modules/is-weakref/index.d.ts +1 -1
  1067. data/node_modules/is-weakref/index.js +3 -1
  1068. data/node_modules/is-weakref/package.json +6 -6
  1069. data/node_modules/object-inspect/CHANGELOG.md +8 -0
  1070. data/node_modules/object-inspect/index.js +10 -7
  1071. data/node_modules/object-inspect/package.json +5 -4
  1072. data/node_modules/object-inspect/test/values.js +50 -0
  1073. data/node_modules/possible-typed-array-names/CHANGELOG.md +14 -0
  1074. data/node_modules/possible-typed-array-names/README.md +4 -2
  1075. data/node_modules/possible-typed-array-names/index.d.ts +1 -0
  1076. data/node_modules/possible-typed-array-names/index.js +1 -0
  1077. data/node_modules/possible-typed-array-names/package.json +10 -9
  1078. data/node_modules/possible-typed-array-names/test/index.js +6 -3
  1079. data/node_modules/possible-typed-array-names/tsconfig.json +2 -42
  1080. data/node_modules/recast/lib/lines.d.ts +2 -2
  1081. data/node_modules/recast/lib/printer.js +17 -5
  1082. data/node_modules/recast/package.json +1 -1
  1083. data/node_modules/typescript/README.md +1 -1
  1084. data/node_modules/typescript/lib/_tsc.js +931 -500
  1085. data/node_modules/typescript/lib/_tsserver.js +43 -7
  1086. data/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +14 -8
  1087. data/node_modules/typescript/lib/de/diagnosticMessages.generated.json +14 -8
  1088. data/node_modules/typescript/lib/es/diagnosticMessages.generated.json +14 -8
  1089. data/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +14 -8
  1090. data/node_modules/typescript/lib/it/diagnosticMessages.generated.json +14 -8
  1091. data/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +14 -8
  1092. data/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +14 -8
  1093. data/node_modules/typescript/lib/lib.dom.d.ts +769 -142
  1094. data/node_modules/typescript/lib/lib.dom.iterable.d.ts +9 -7
  1095. data/node_modules/typescript/lib/lib.es2015.iterable.d.ts +69 -54
  1096. data/node_modules/typescript/lib/lib.es2020.bigint.d.ts +41 -7
  1097. data/node_modules/typescript/lib/lib.es2023.array.d.ts +24 -24
  1098. data/node_modules/typescript/lib/lib.es5.d.ts +60 -51
  1099. data/node_modules/typescript/lib/lib.esnext.d.ts +2 -0
  1100. data/node_modules/typescript/lib/lib.esnext.float16.d.ts +443 -0
  1101. data/node_modules/typescript/lib/lib.esnext.iterator.d.ts +1 -1
  1102. data/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  1103. data/node_modules/typescript/lib/lib.webworker.d.ts +262 -55
  1104. data/node_modules/typescript/lib/lib.webworker.iterable.d.ts +6 -7
  1105. data/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +14 -8
  1106. data/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +14 -8
  1107. data/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +14 -8
  1108. data/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +14 -8
  1109. data/node_modules/typescript/lib/typescript.d.ts +14 -3
  1110. data/node_modules/typescript/lib/typescript.js +1035 -570
  1111. data/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +14 -8
  1112. data/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +14 -8
  1113. data/node_modules/typescript/package.json +22 -22
  1114. data/node_modules/update-browserslist-db/index.js +5 -7
  1115. data/node_modules/update-browserslist-db/package.json +2 -2
  1116. data/node_modules/which-typed-array/CHANGELOG.md +10 -0
  1117. data/node_modules/which-typed-array/index.js +21 -20
  1118. data/node_modules/which-typed-array/package.json +9 -7
  1119. data/node_modules/which-typed-array/tsconfig.json +1 -1
  1120. data/package.json +1 -1
  1121. metadata +39 -196
  1122. data/linters/jscodeshift/arrow-function-transform.js +0 -42
  1123. data/node_modules/.bin/jscodeshift +0 -1
  1124. data/node_modules/@babel/eslint-parser/LICENSE +0 -22
  1125. data/node_modules/@babel/eslint-parser/README.md +0 -142
  1126. data/node_modules/@babel/eslint-parser/lib/analyze-scope.cjs +0 -322
  1127. data/node_modules/@babel/eslint-parser/lib/analyze-scope.cjs.map +0 -1
  1128. data/node_modules/@babel/eslint-parser/lib/client.cjs +0 -106
  1129. data/node_modules/@babel/eslint-parser/lib/client.cjs.map +0 -1
  1130. data/node_modules/@babel/eslint-parser/lib/configuration.cjs +0 -23
  1131. data/node_modules/@babel/eslint-parser/lib/configuration.cjs.map +0 -1
  1132. data/node_modules/@babel/eslint-parser/lib/convert/convertAST.cjs +0 -134
  1133. data/node_modules/@babel/eslint-parser/lib/convert/convertAST.cjs.map +0 -1
  1134. data/node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs +0 -10
  1135. data/node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs.map +0 -1
  1136. data/node_modules/@babel/eslint-parser/lib/convert/convertTokens.cjs +0 -159
  1137. data/node_modules/@babel/eslint-parser/lib/convert/convertTokens.cjs.map +0 -1
  1138. data/node_modules/@babel/eslint-parser/lib/convert/index.cjs +0 -25
  1139. data/node_modules/@babel/eslint-parser/lib/convert/index.cjs.map +0 -1
  1140. data/node_modules/@babel/eslint-parser/lib/experimental-worker.cjs +0 -32
  1141. data/node_modules/@babel/eslint-parser/lib/experimental-worker.cjs.map +0 -1
  1142. data/node_modules/@babel/eslint-parser/lib/index.cjs +0 -32
  1143. data/node_modules/@babel/eslint-parser/lib/index.cjs.map +0 -1
  1144. data/node_modules/@babel/eslint-parser/lib/parse.cjs +0 -37
  1145. data/node_modules/@babel/eslint-parser/lib/parse.cjs.map +0 -1
  1146. data/node_modules/@babel/eslint-parser/lib/utils/eslint-version.cjs +0 -5
  1147. data/node_modules/@babel/eslint-parser/lib/utils/eslint-version.cjs.map +0 -1
  1148. data/node_modules/@babel/eslint-parser/lib/worker/ast-info.cjs +0 -37
  1149. data/node_modules/@babel/eslint-parser/lib/worker/ast-info.cjs.map +0 -1
  1150. data/node_modules/@babel/eslint-parser/lib/worker/babel-core.cjs +0 -21
  1151. data/node_modules/@babel/eslint-parser/lib/worker/babel-core.cjs.map +0 -1
  1152. data/node_modules/@babel/eslint-parser/lib/worker/configuration.cjs +0 -91
  1153. data/node_modules/@babel/eslint-parser/lib/worker/configuration.cjs.map +0 -1
  1154. data/node_modules/@babel/eslint-parser/lib/worker/extract-parser-options-plugin.cjs +0 -11
  1155. data/node_modules/@babel/eslint-parser/lib/worker/extract-parser-options-plugin.cjs.map +0 -1
  1156. data/node_modules/@babel/eslint-parser/lib/worker/handle-message.cjs +0 -32
  1157. data/node_modules/@babel/eslint-parser/lib/worker/handle-message.cjs.map +0 -1
  1158. data/node_modules/@babel/eslint-parser/lib/worker/index.cjs +0 -39
  1159. data/node_modules/@babel/eslint-parser/lib/worker/index.cjs.map +0 -1
  1160. data/node_modules/@babel/eslint-parser/lib/worker/maybeParse.cjs +0 -48
  1161. data/node_modules/@babel/eslint-parser/lib/worker/maybeParse.cjs.map +0 -1
  1162. data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/CHANGELOG.md +0 -36
  1163. data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/LICENSE +0 -201
  1164. data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/README.md +0 -98
  1165. data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/lib/index.js +0 -81
  1166. data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/lib/visitor-keys.json +0 -289
  1167. data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/package.json +0 -39
  1168. data/node_modules/@babel/eslint-parser/node_modules/semver/LICENSE +0 -15
  1169. data/node_modules/@babel/eslint-parser/node_modules/semver/README.md +0 -443
  1170. data/node_modules/@babel/eslint-parser/node_modules/semver/bin/semver.js +0 -174
  1171. data/node_modules/@babel/eslint-parser/node_modules/semver/package.json +0 -38
  1172. data/node_modules/@babel/eslint-parser/node_modules/semver/range.bnf +0 -16
  1173. data/node_modules/@babel/eslint-parser/node_modules/semver/semver.js +0 -1643
  1174. data/node_modules/@babel/eslint-parser/package.json +0 -53
  1175. data/node_modules/@babel/eslint-parser/types.d.cts +0 -9
  1176. data/node_modules/@babel/plugin-proposal-decorators/LICENSE +0 -22
  1177. data/node_modules/@babel/plugin-proposal-decorators/README.md +0 -19
  1178. data/node_modules/@babel/plugin-proposal-decorators/lib/index.js +0 -41
  1179. data/node_modules/@babel/plugin-proposal-decorators/lib/index.js.map +0 -1
  1180. data/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js +0 -165
  1181. data/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js.map +0 -1
  1182. data/node_modules/@babel/plugin-proposal-decorators/package.json +0 -42
  1183. data/node_modules/@babel/plugin-syntax-decorators/LICENSE +0 -22
  1184. data/node_modules/@babel/plugin-syntax-decorators/README.md +0 -19
  1185. data/node_modules/@babel/plugin-syntax-decorators/lib/index.js +0 -81
  1186. data/node_modules/@babel/plugin-syntax-decorators/lib/index.js.map +0 -1
  1187. data/node_modules/@babel/plugin-syntax-decorators/package.json +0 -33
  1188. data/node_modules/@babel/plugin-transform-react-display-name/LICENSE +0 -22
  1189. data/node_modules/@babel/plugin-transform-react-display-name/README.md +0 -19
  1190. data/node_modules/@babel/plugin-transform-react-display-name/lib/index.js +0 -92
  1191. data/node_modules/@babel/plugin-transform-react-display-name/lib/index.js.map +0 -1
  1192. data/node_modules/@babel/plugin-transform-react-display-name/package.json +0 -34
  1193. data/node_modules/@babel/plugin-transform-react-jsx/LICENSE +0 -22
  1194. data/node_modules/@babel/plugin-transform-react-jsx/README.md +0 -19
  1195. data/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js +0 -505
  1196. data/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js.map +0 -1
  1197. data/node_modules/@babel/plugin-transform-react-jsx/lib/development.js +0 -13
  1198. data/node_modules/@babel/plugin-transform-react-jsx/lib/development.js.map +0 -1
  1199. data/node_modules/@babel/plugin-transform-react-jsx/lib/index.js +0 -13
  1200. data/node_modules/@babel/plugin-transform-react-jsx/lib/index.js.map +0 -1
  1201. data/node_modules/@babel/plugin-transform-react-jsx/package.json +0 -39
  1202. data/node_modules/@babel/plugin-transform-react-jsx-development/LICENSE +0 -22
  1203. data/node_modules/@babel/plugin-transform-react-jsx-development/README.md +0 -19
  1204. data/node_modules/@babel/plugin-transform-react-jsx-development/lib/index.js +0 -10
  1205. data/node_modules/@babel/plugin-transform-react-jsx-development/lib/index.js.map +0 -1
  1206. data/node_modules/@babel/plugin-transform-react-jsx-development/package.json +0 -33
  1207. data/node_modules/@babel/plugin-transform-react-pure-annotations/LICENSE +0 -22
  1208. data/node_modules/@babel/plugin-transform-react-pure-annotations/README.md +0 -19
  1209. data/node_modules/@babel/plugin-transform-react-pure-annotations/lib/index.js +0 -49
  1210. data/node_modules/@babel/plugin-transform-react-pure-annotations/lib/index.js.map +0 -1
  1211. data/node_modules/@babel/plugin-transform-react-pure-annotations/package.json +0 -34
  1212. data/node_modules/@babel/preset-react/LICENSE +0 -22
  1213. data/node_modules/@babel/preset-react/README.md +0 -19
  1214. data/node_modules/@babel/preset-react/lib/index.js +0 -79
  1215. data/node_modules/@babel/preset-react/lib/index.js.map +0 -1
  1216. data/node_modules/@babel/preset-react/package.json +0 -37
  1217. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/LICENSE +0 -7
  1218. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/index.js +0 -8
  1219. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/CHANGELOG.md +0 -70
  1220. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/LICENSE +0 -22
  1221. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/README.md +0 -54
  1222. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/definition.js +0 -86
  1223. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/index.js +0 -165
  1224. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/pattern-visitor.js +0 -152
  1225. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/reference.js +0 -167
  1226. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/referencer.js +0 -629
  1227. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/scope-manager.js +0 -247
  1228. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/scope.js +0 -748
  1229. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/variable.js +0 -88
  1230. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/LICENSE.BSD +0 -19
  1231. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/README.md +0 -153
  1232. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/estraverse.js +0 -782
  1233. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/gulpfile.js +0 -70
  1234. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/package.json +0 -40
  1235. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/package.json +0 -48
  1236. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/package.json +0 -14
  1237. data/node_modules/flatted/python/test.py +0 -63
  1238. data/node_modules/jscodeshift/CHANGELOG.md +0 -226
  1239. data/node_modules/jscodeshift/CODE_OF_CONDUCT.md +0 -3
  1240. data/node_modules/jscodeshift/CONTRIBUTING.md +0 -48
  1241. data/node_modules/jscodeshift/README.md +0 -671
  1242. data/node_modules/jscodeshift/bin/jscodeshift.js +0 -182
  1243. data/node_modules/jscodeshift/bin/jscodeshift.sh +0 -12
  1244. data/node_modules/jscodeshift/dist/Collection.js +0 -472
  1245. data/node_modules/jscodeshift/dist/Runner.js +0 -322
  1246. data/node_modules/jscodeshift/dist/Worker.js +0 -210
  1247. data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.input.js +0 -1
  1248. data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.js +0 -11
  1249. data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.output.js +0 -1
  1250. data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.input.js +0 -1
  1251. data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.js +0 -7
  1252. data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.output.js +0 -1
  1253. data/node_modules/jscodeshift/dist/argsParser.js +0 -273
  1254. data/node_modules/jscodeshift/dist/collections/ImportDeclaration.js +0 -113
  1255. data/node_modules/jscodeshift/dist/collections/JSXElement.js +0 -221
  1256. data/node_modules/jscodeshift/dist/collections/Node.js +0 -187
  1257. data/node_modules/jscodeshift/dist/collections/VariableDeclarator.js +0 -210
  1258. data/node_modules/jscodeshift/dist/collections/index.js +0 -14
  1259. data/node_modules/jscodeshift/dist/core.js +0 -183
  1260. data/node_modules/jscodeshift/dist/getParser.js +0 -25
  1261. data/node_modules/jscodeshift/dist/ignoreFiles.js +0 -68
  1262. data/node_modules/jscodeshift/dist/matchNode.js +0 -40
  1263. data/node_modules/jscodeshift/dist/template.js +0 -173
  1264. data/node_modules/jscodeshift/dist/testUtils.js +0 -173
  1265. data/node_modules/jscodeshift/dist/utils/intersection.js +0 -27
  1266. data/node_modules/jscodeshift/dist/utils/once.js +0 -21
  1267. data/node_modules/jscodeshift/dist/utils/union.js +0 -20
  1268. data/node_modules/jscodeshift/index.js +0 -9
  1269. data/node_modules/jscodeshift/package.json +0 -74
  1270. data/node_modules/jscodeshift/parser/babel5Compat.js +0 -50
  1271. data/node_modules/jscodeshift/parser/babylon.js +0 -57
  1272. data/node_modules/jscodeshift/parser/flow.js +0 -34
  1273. data/node_modules/jscodeshift/parser/ts.js +0 -24
  1274. data/node_modules/jscodeshift/parser/tsOptions.js +0 -46
  1275. data/node_modules/jscodeshift/parser/tsx.js +0 -27
  1276. data/node_modules/jscodeshift/src/Collection.js +0 -472
  1277. data/node_modules/jscodeshift/src/Runner.js +0 -322
  1278. data/node_modules/jscodeshift/src/Worker.js +0 -210
  1279. data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.input.js +0 -1
  1280. data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.js +0 -11
  1281. data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.output.js +0 -1
  1282. data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.input.js +0 -1
  1283. data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.js +0 -7
  1284. data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.output.js +0 -1
  1285. data/node_modules/jscodeshift/src/argsParser.js +0 -273
  1286. data/node_modules/jscodeshift/src/collections/ImportDeclaration.js +0 -113
  1287. data/node_modules/jscodeshift/src/collections/JSXElement.js +0 -221
  1288. data/node_modules/jscodeshift/src/collections/Node.js +0 -187
  1289. data/node_modules/jscodeshift/src/collections/VariableDeclarator.js +0 -210
  1290. data/node_modules/jscodeshift/src/collections/index.js +0 -14
  1291. data/node_modules/jscodeshift/src/core.js +0 -183
  1292. data/node_modules/jscodeshift/src/getParser.js +0 -25
  1293. data/node_modules/jscodeshift/src/ignoreFiles.js +0 -68
  1294. data/node_modules/jscodeshift/src/matchNode.js +0 -40
  1295. data/node_modules/jscodeshift/src/template.js +0 -173
  1296. data/node_modules/jscodeshift/src/testUtils.js +0 -173
  1297. data/node_modules/jscodeshift/src/utils/intersection.js +0 -27
  1298. data/node_modules/jscodeshift/src/utils/once.js +0 -21
  1299. data/node_modules/jscodeshift/src/utils/union.js +0 -20
  1300. data/node_modules/jscodeshift/utils/requirePackage.js +0 -24
  1301. data/node_modules/jscodeshift/utils/testUtils.js +0 -49
  1302. data/node_modules/jscodeshift/website/README.md +0 -44
  1303. data/node_modules/jscodeshift/website/astro.config.mjs +0 -36
  1304. data/node_modules/jscodeshift/website/package.json +0 -17
  1305. data/node_modules/jscodeshift/website/public/favicon.svg +0 -1
  1306. data/node_modules/jscodeshift/website/src/assets/houston.webp +0 -0
  1307. data/node_modules/jscodeshift/website/src/content/config.ts +0 -6
  1308. data/node_modules/jscodeshift/website/src/content/docs/build/api-reference.mdx +0 -406
  1309. data/node_modules/jscodeshift/website/src/content/docs/build/ast-grammar.mdx +0 -3086
  1310. data/node_modules/jscodeshift/website/src/content/docs/index.mdx +0 -15
  1311. data/node_modules/jscodeshift/website/src/content/docs/overview/introduction.mdx +0 -45
  1312. data/node_modules/jscodeshift/website/src/content/docs/run/cli.mdx +0 -161
  1313. data/node_modules/jscodeshift/website/src/env.d.ts +0 -2
  1314. data/node_modules/jscodeshift/website/tsconfig.json +0 -3
  1315. data/node_modules/typescript/lib/cancellationToken.js +0 -90
@@ -17,8 +17,8 @@ and limitations under the License.
17
17
  "use strict";
18
18
 
19
19
  // src/compiler/corePublic.ts
20
- var versionMajorMinor = "5.7";
21
- var version = "5.7.2";
20
+ var versionMajorMinor = "5.8";
21
+ var version = "5.8.2";
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -3733,6 +3733,7 @@ var ModuleKind = /* @__PURE__ */ ((ModuleKind2) => {
3733
3733
  ModuleKind2[ModuleKind2["ES2022"] = 7] = "ES2022";
3734
3734
  ModuleKind2[ModuleKind2["ESNext"] = 99] = "ESNext";
3735
3735
  ModuleKind2[ModuleKind2["Node16"] = 100] = "Node16";
3736
+ ModuleKind2[ModuleKind2["Node18"] = 101] = "Node18";
3736
3737
  ModuleKind2[ModuleKind2["NodeNext"] = 199] = "NodeNext";
3737
3738
  ModuleKind2[ModuleKind2["Preserve"] = 200] = "Preserve";
3738
3739
  return ModuleKind2;
@@ -5499,23 +5500,105 @@ function resolvePath(path, ...paths) {
5499
5500
  function getNormalizedPathComponents(path, currentDirectory) {
5500
5501
  return reducePathComponents(getPathComponents(path, currentDirectory));
5501
5502
  }
5502
- function getNormalizedAbsolutePath(fileName, currentDirectory) {
5503
- return getPathFromPathComponents(getNormalizedPathComponents(fileName, currentDirectory));
5503
+ function getNormalizedAbsolutePath(path, currentDirectory) {
5504
+ let rootLength = getRootLength(path);
5505
+ if (rootLength === 0 && currentDirectory) {
5506
+ path = combinePaths(currentDirectory, path);
5507
+ rootLength = getRootLength(path);
5508
+ } else {
5509
+ path = normalizeSlashes(path);
5510
+ }
5511
+ const simpleNormalized = simpleNormalizePath(path);
5512
+ if (simpleNormalized !== void 0) {
5513
+ return simpleNormalized.length > rootLength ? removeTrailingDirectorySeparator(simpleNormalized) : simpleNormalized;
5514
+ }
5515
+ const length2 = path.length;
5516
+ const root = path.substring(0, rootLength);
5517
+ let normalized;
5518
+ let index = rootLength;
5519
+ let segmentStart = index;
5520
+ let normalizedUpTo = index;
5521
+ let seenNonDotDotSegment = rootLength !== 0;
5522
+ while (index < length2) {
5523
+ segmentStart = index;
5524
+ let ch = path.charCodeAt(index);
5525
+ while (ch === 47 /* slash */ && index + 1 < length2) {
5526
+ index++;
5527
+ ch = path.charCodeAt(index);
5528
+ }
5529
+ if (index > segmentStart) {
5530
+ normalized ?? (normalized = path.substring(0, segmentStart - 1));
5531
+ segmentStart = index;
5532
+ }
5533
+ let segmentEnd = path.indexOf(directorySeparator, index + 1);
5534
+ if (segmentEnd === -1) {
5535
+ segmentEnd = length2;
5536
+ }
5537
+ const segmentLength = segmentEnd - segmentStart;
5538
+ if (segmentLength === 1 && path.charCodeAt(index) === 46 /* dot */) {
5539
+ normalized ?? (normalized = path.substring(0, normalizedUpTo));
5540
+ } else if (segmentLength === 2 && path.charCodeAt(index) === 46 /* dot */ && path.charCodeAt(index + 1) === 46 /* dot */) {
5541
+ if (!seenNonDotDotSegment) {
5542
+ if (normalized !== void 0) {
5543
+ normalized += normalized.length === rootLength ? ".." : "/..";
5544
+ } else {
5545
+ normalizedUpTo = index + 2;
5546
+ }
5547
+ } else if (normalized === void 0) {
5548
+ if (normalizedUpTo - 2 >= 0) {
5549
+ normalized = path.substring(0, Math.max(rootLength, path.lastIndexOf(directorySeparator, normalizedUpTo - 2)));
5550
+ } else {
5551
+ normalized = path.substring(0, normalizedUpTo);
5552
+ }
5553
+ } else {
5554
+ const lastSlash = normalized.lastIndexOf(directorySeparator);
5555
+ if (lastSlash !== -1) {
5556
+ normalized = normalized.substring(0, Math.max(rootLength, lastSlash));
5557
+ } else {
5558
+ normalized = root;
5559
+ }
5560
+ if (normalized.length === rootLength) {
5561
+ seenNonDotDotSegment = rootLength !== 0;
5562
+ }
5563
+ }
5564
+ } else if (normalized !== void 0) {
5565
+ if (normalized.length !== rootLength) {
5566
+ normalized += directorySeparator;
5567
+ }
5568
+ seenNonDotDotSegment = true;
5569
+ normalized += path.substring(segmentStart, segmentEnd);
5570
+ } else {
5571
+ seenNonDotDotSegment = true;
5572
+ normalizedUpTo = segmentEnd;
5573
+ }
5574
+ index = segmentEnd + 1;
5575
+ }
5576
+ return normalized ?? (length2 > rootLength ? removeTrailingDirectorySeparator(path) : path);
5504
5577
  }
5505
5578
  function normalizePath(path) {
5506
5579
  path = normalizeSlashes(path);
5580
+ let normalized = simpleNormalizePath(path);
5581
+ if (normalized !== void 0) {
5582
+ return normalized;
5583
+ }
5584
+ normalized = getNormalizedAbsolutePath(path, "");
5585
+ return normalized && hasTrailingDirectorySeparator(path) ? ensureTrailingDirectorySeparator(normalized) : normalized;
5586
+ }
5587
+ function simpleNormalizePath(path) {
5507
5588
  if (!relativePathSegmentRegExp.test(path)) {
5508
5589
  return path;
5509
5590
  }
5510
- const simplified = path.replace(/\/\.\//g, "/").replace(/^\.\//, "");
5591
+ let simplified = path.replace(/\/\.\//g, "/");
5592
+ if (simplified.startsWith("./")) {
5593
+ simplified = simplified.slice(2);
5594
+ }
5511
5595
  if (simplified !== path) {
5512
5596
  path = simplified;
5513
5597
  if (!relativePathSegmentRegExp.test(path)) {
5514
5598
  return path;
5515
5599
  }
5516
5600
  }
5517
- const normalized = getPathFromPathComponents(reducePathComponents(getPathComponents(path)));
5518
- return normalized && hasTrailingDirectorySeparator(path) ? ensureTrailingDirectorySeparator(normalized) : normalized;
5601
+ return void 0;
5519
5602
  }
5520
5603
  function getPathWithoutRoot(pathComponents2) {
5521
5604
  if (pathComponents2.length === 0) return "";
@@ -5937,6 +6020,7 @@ var Diagnostics = {
5937
6020
  _0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported: diag(1291, 1 /* Error */, "_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1291", "'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."),
5938
6021
  _0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default: diag(1292, 1 /* Error */, "_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1292", "'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."),
5939
6022
  ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve: diag(1293, 1 /* Error */, "ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve_1293", "ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'."),
6023
+ This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled: diag(1294, 1 /* Error */, "This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled_1294", "This syntax is not allowed when 'erasableSyntaxOnly' is enabled."),
5940
6024
  with_statements_are_not_allowed_in_an_async_function_block: diag(1300, 1 /* Error */, "with_statements_are_not_allowed_in_an_async_function_block_1300", "'with' statements are not allowed in an async function block."),
5941
6025
  await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules: diag(1308, 1 /* Error */, "await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308", "'await' expressions are only allowed within async functions and at the top levels of modules."),
5942
6026
  The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level: diag(1309, 1 /* Error */, "The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309", "The current file is a CommonJS module and cannot use 'await' at the top level."),
@@ -5951,8 +6035,8 @@ var Diagnostics = {
5951
6035
  Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1320, 1 /* Error */, "Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320", "Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),
5952
6036
  Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1321, 1 /* Error */, "Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321", "Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),
5953
6037
  Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1322, 1 /* Error */, "Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322", "Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),
5954
- Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext: diag(1323, 1 /* Error */, "Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323", "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),
5955
- Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodenext_or_preserve: diag(1324, 1 /* Error */, "Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodene_1324", "Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'nodenext', or 'preserve'."),
6038
+ Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_node18_or_nodenext: diag(1323, 1 /* Error */, "Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323", "Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', 'node18', or 'nodenext'."),
6039
+ Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_nodenext_or_preserve: diag(1324, 1 /* Error */, "Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_1324", "Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'nodenext', or 'preserve'."),
5956
6040
  Argument_of_dynamic_import_cannot_be_spread_element: diag(1325, 1 /* Error */, "Argument_of_dynamic_import_cannot_be_spread_element_1325", "Argument of dynamic import cannot be spread element."),
5957
6041
  This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments: diag(1326, 1 /* Error */, "This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326", "This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),
5958
6042
  String_literal_with_double_quotes_expected: diag(1327, 1 /* Error */, "String_literal_with_double_quotes_expected_1327", "String literal with double quotes expected."),
@@ -5969,7 +6053,7 @@ var Diagnostics = {
5969
6053
  Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here: diag(1339, 1 /* Error */, "Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339", "Module '{0}' does not refer to a value, but is used as a value here."),
5970
6054
  Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0: diag(1340, 1 /* Error */, "Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340", "Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),
5971
6055
  Class_constructor_may_not_be_an_accessor: diag(1341, 1 /* Error */, "Class_constructor_may_not_be_an_accessor_1341", "Class constructor may not be an accessor."),
5972
- The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext: diag(1343, 1 /* Error */, "The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343", "The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),
6056
+ The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_node18_or_nodenext: diag(1343, 1 /* Error */, "The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343", "The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', 'node18', or 'nodenext'."),
5973
6057
  A_label_is_not_allowed_here: diag(1344, 1 /* Error */, "A_label_is_not_allowed_here_1344", "'A label is not allowed here."),
5974
6058
  An_expression_of_type_void_cannot_be_tested_for_truthiness: diag(1345, 1 /* Error */, "An_expression_of_type_void_cannot_be_tested_for_truthiness_1345", "An expression of type 'void' cannot be tested for truthiness."),
5975
6059
  This_parameter_is_not_allowed_with_use_strict_directive: diag(1346, 1 /* Error */, "This_parameter_is_not_allowed_with_use_strict_directive_1346", "This parameter is not allowed with 'use strict' directive."),
@@ -5999,7 +6083,7 @@ var Diagnostics = {
5999
6083
  await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(1375, 1 /* Error */, "await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375", "'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),
6000
6084
  _0_was_imported_here: diag(1376, 3 /* Message */, "_0_was_imported_here_1376", "'{0}' was imported here."),
6001
6085
  _0_was_exported_here: diag(1377, 3 /* Message */, "_0_was_exported_here_1377", "'{0}' was exported here."),
6002
- Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(1378, 1 /* Error */, "Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378", "Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),
6086
+ Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(1378, 1 /* Error */, "Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378", "Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),
6003
6087
  An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type: diag(1379, 1 /* Error */, "An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379", "An import alias cannot reference a declaration that was exported using 'export type'."),
6004
6088
  An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type: diag(1380, 1 /* Error */, "An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380", "An import alias cannot reference a declaration that was imported using 'import type'."),
6005
6089
  Unexpected_token_Did_you_mean_or_rbrace: diag(1381, 1 /* Error */, "Unexpected_token_Did_you_mean_or_rbrace_1381", "Unexpected token. Did you mean `{'}'}` or `&rbrace;`?"),
@@ -6050,7 +6134,7 @@ var Diagnostics = {
6050
6134
  File_redirects_to_file_0: diag(1429, 3 /* Message */, "File_redirects_to_file_0_1429", "File redirects to file '{0}'"),
6051
6135
  The_file_is_in_the_program_because_Colon: diag(1430, 3 /* Message */, "The_file_is_in_the_program_because_Colon_1430", "The file is in the program because:"),
6052
6136
  for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(1431, 1 /* Error */, "for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431", "'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),
6053
- Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(1432, 1 /* Error */, "Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432", "Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),
6137
+ Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(1432, 1 /* Error */, "Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432", "Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),
6054
6138
  Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters: diag(1433, 1 /* Error */, "Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433", "Neither decorators nor modifiers may be applied to 'this' parameters."),
6055
6139
  Unexpected_keyword_or_identifier: diag(1434, 1 /* Error */, "Unexpected_keyword_or_identifier_1434", "Unexpected keyword or identifier."),
6056
6140
  Unknown_keyword_or_identifier_Did_you_mean_0: diag(1435, 1 /* Error */, "Unknown_keyword_or_identifier_Did_you_mean_0_1435", "Unknown keyword or identifier. Did you mean '{0}'?"),
@@ -6692,9 +6776,9 @@ var Diagnostics = {
6692
6776
  Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers: diag(2818, 1 /* Error */, "Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818", "Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),
6693
6777
  Namespace_name_cannot_be_0: diag(2819, 1 /* Error */, "Namespace_name_cannot_be_0_2819", "Namespace name cannot be '{0}'."),
6694
6778
  Type_0_is_not_assignable_to_type_1_Did_you_mean_2: diag(2820, 1 /* Error */, "Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820", "Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),
6695
- Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve: diag(2821, 1 /* Error */, "Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2821", "Import assertions are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."),
6779
+ Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_nodenext_or_preserve: diag(2821, 1 /* Error */, "Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_nodenext_or_pres_2821", "Import assertions are only supported when the '--module' option is set to 'esnext', 'node18', 'nodenext', or 'preserve'."),
6696
6780
  Import_assertions_cannot_be_used_with_type_only_imports_or_exports: diag(2822, 1 /* Error */, "Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822", "Import assertions cannot be used with type-only imports or exports."),
6697
- Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve: diag(2823, 1 /* Error */, "Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2823", "Import attributes are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'."),
6781
+ Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_nodenext_or_preserve: diag(2823, 1 /* Error */, "Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_nodenext_or_pres_2823", "Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'nodenext', or 'preserve'."),
6698
6782
  Cannot_find_namespace_0_Did_you_mean_1: diag(2833, 1 /* Error */, "Cannot_find_namespace_0_Did_you_mean_1_2833", "Cannot find namespace '{0}'. Did you mean '{1}'?"),
6699
6783
  Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path: diag(2834, 1 /* Error */, "Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2834", "Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),
6700
6784
  Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0: diag(2835, 1 /* Error */, "Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2835", "Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),
@@ -6714,7 +6798,7 @@ var Diagnostics = {
6714
6798
  The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined: diag(2851, 1 /* Error */, "The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851", "The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),
6715
6799
  await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules: diag(2852, 1 /* Error */, "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852", "'await using' statements are only allowed within async functions and at the top levels of modules."),
6716
6800
  await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(2853, 1 /* Error */, "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853", "'await using' statements are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),
6717
- Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(2854, 1 /* Error */, "Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854", "Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),
6801
+ Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher: diag(2854, 1 /* Error */, "Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854", "Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),
6718
6802
  Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super: diag(2855, 1 /* Error */, "Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855", "Class field '{0}' defined by the parent class is not accessible in the child class via super."),
6719
6803
  Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls: diag(2856, 1 /* Error */, "Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856", "Import attributes are not allowed on statements that compile to CommonJS 'require' calls."),
6720
6804
  Import_attributes_cannot_be_used_with_type_only_imports_or_exports: diag(2857, 1 /* Error */, "Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857", "Import attributes cannot be used with type-only imports or exports."),
@@ -6740,6 +6824,7 @@ var Diagnostics = {
6740
6824
  This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_during_emit_because_it_is_not_a_relative_path: diag(2877, 1 /* Error */, "This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877", "This import uses a '{0}' extension to resolve to an input TypeScript file, but will not be rewritten during emit because it is not a relative path."),
6741
6825
  This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_between_the_projects_output_files_is_not_the_same_as_the_relative_path_between_its_input_files: diag(2878, 1 /* Error */, "This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878", "This import path is unsafe to rewrite because it resolves to another project, and the relative path between the projects' output files is not the same as the relative path between its input files."),
6742
6826
  Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found: diag(2879, 1 /* Error */, "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879", "Using JSX fragments requires fragment factory '{0}' to be in scope, but it could not be found."),
6827
+ Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert: diag(2880, 1 /* Error */, "Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert_2880", "Import assertions have been replaced by import attributes. Use 'with' instead of 'assert'."),
6743
6828
  Import_declaration_0_is_using_private_name_1: diag(4e3, 1 /* Error */, "Import_declaration_0_is_using_private_name_1_4000", "Import declaration '{0}' is using private name '{1}'."),
6744
6829
  Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: diag(4002, 1 /* Error */, "Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002", "Type parameter '{0}' of exported class has or is using private name '{1}'."),
6745
6830
  Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: diag(4004, 1 /* Error */, "Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004", "Type parameter '{0}' of exported interface has or is using private name '{1}'."),
@@ -6849,6 +6934,8 @@ var Diagnostics = {
6849
6934
  Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4124, 1 /* Error */, "Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124", "Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),
6850
6935
  Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given: diag(4125, 1 /* Error */, "Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125", "Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."),
6851
6936
  One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value: diag(4126, 1 /* Error */, "One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126", "One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."),
6937
+ This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic: diag(4127, 1 /* Error */, "This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic_4127", "This member cannot have an 'override' modifier because its name is dynamic."),
6938
+ This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic: diag(4128, 1 /* Error */, "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic_4128", "This member cannot have a JSDoc comment with an '@override' tag because its name is dynamic."),
6852
6939
  The_current_host_does_not_support_the_0_option: diag(5001, 1 /* Error */, "The_current_host_does_not_support_the_0_option_5001", "The current host does not support the '{0}' option."),
6853
6940
  Cannot_find_the_common_subdirectory_path_for_the_input_files: diag(5009, 1 /* Error */, "Cannot_find_the_common_subdirectory_path_for_the_input_files_5009", "Cannot find the common subdirectory path for the input files."),
6854
6941
  File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5010, 1 /* Error */, "File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010", "File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),
@@ -7421,11 +7508,13 @@ var Diagnostics = {
7421
7508
  Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types: diag(6718, 3 /* Message */, "Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718", "Specify emit/checking behavior for imports that are only used for types."),
7422
7509
  Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files: diag(6719, 3 /* Message */, "Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files_6719", "Require sufficient annotation on exports so other tools can trivially generate declaration files."),
7423
7510
  Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any: diag(6720, 3 /* Message */, "Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any_6720", "Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'."),
7511
+ Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript: diag(6721, 3 /* Message */, "Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript_6721", "Do not allow runtime constructs that are not part of ECMAScript."),
7424
7512
  Default_catch_clause_variables_as_unknown_instead_of_any: diag(6803, 3 /* Message */, "Default_catch_clause_variables_as_unknown_instead_of_any_6803", "Default catch clause variables as 'unknown' instead of 'any'."),
7425
7513
  Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting: diag(6804, 3 /* Message */, "Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804", "Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting."),
7426
7514
  Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported: diag(6805, 3 /* Message */, "Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported_6805", "Disable full type checking (only critical parse and emit errors will be reported)."),
7427
7515
  Check_side_effect_imports: diag(6806, 3 /* Message */, "Check_side_effect_imports_6806", "Check side effect imports."),
7428
7516
  This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2: diag(6807, 1 /* Error */, "This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2_6807", "This operation can be simplified. This shift is identical to `{0} {1} {2}`."),
7517
+ Enable_lib_replacement: diag(6808, 3 /* Message */, "Enable_lib_replacement_6808", "Enable lib replacement."),
7429
7518
  one_of_Colon: diag(6900, 3 /* Message */, "one_of_Colon_6900", "one of:"),
7430
7519
  one_or_more_Colon: diag(6901, 3 /* Message */, "one_or_more_Colon_6901", "one or more:"),
7431
7520
  type_Colon: diag(6902, 3 /* Message */, "type_Colon_6902", "type:"),
@@ -11143,6 +11232,7 @@ function sortAndDeduplicateDiagnostics(diagnostics) {
11143
11232
  }
11144
11233
  var targetToLibMap = /* @__PURE__ */ new Map([
11145
11234
  [99 /* ESNext */, "lib.esnext.full.d.ts"],
11235
+ [11 /* ES2024 */, "lib.es2024.full.d.ts"],
11146
11236
  [10 /* ES2023 */, "lib.es2023.full.d.ts"],
11147
11237
  [9 /* ES2022 */, "lib.es2022.full.d.ts"],
11148
11238
  [8 /* ES2021 */, "lib.es2021.full.d.ts"],
@@ -11158,6 +11248,7 @@ function getDefaultLibFileName(options) {
11158
11248
  const target = getEmitScriptTarget(options);
11159
11249
  switch (target) {
11160
11250
  case 99 /* ESNext */:
11251
+ case 11 /* ES2024 */:
11161
11252
  case 10 /* ES2023 */:
11162
11253
  case 9 /* ES2022 */:
11163
11254
  case 8 /* ES2021 */:
@@ -13148,6 +13239,9 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize(
13148
13239
  "trunc",
13149
13240
  "fround",
13150
13241
  "cbrt"
13242
+ ],
13243
+ esnext: [
13244
+ "f16round"
13151
13245
  ]
13152
13246
  })),
13153
13247
  Map: new Map(Object.entries({
@@ -13317,6 +13411,10 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize(
13317
13411
  "setBigUint64",
13318
13412
  "getBigInt64",
13319
13413
  "getBigUint64"
13414
+ ],
13415
+ esnext: [
13416
+ "setFloat16",
13417
+ "getFloat16"
13320
13418
  ]
13321
13419
  })),
13322
13420
  BigInt: new Map(Object.entries({
@@ -13420,6 +13518,9 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize(
13420
13518
  "with"
13421
13519
  ]
13422
13520
  })),
13521
+ Float16Array: new Map(Object.entries({
13522
+ esnext: emptyArray
13523
+ })),
13423
13524
  Float32Array: new Map(Object.entries({
13424
13525
  es2022: [
13425
13526
  "at"
@@ -13588,7 +13689,7 @@ function getNonAugmentationDeclaration(symbol) {
13588
13689
  return (_a = symbol.declarations) == null ? void 0 : _a.find((d) => !isExternalModuleAugmentation(d) && !(isModuleDeclaration(d) && isGlobalScopeAugmentation(d)));
13589
13690
  }
13590
13691
  function isCommonJSContainingModuleKind(kind) {
13591
- return kind === 1 /* CommonJS */ || kind === 100 /* Node16 */ || kind === 199 /* NodeNext */;
13692
+ return kind === 1 /* CommonJS */ || 100 /* Node16 */ <= kind && kind <= 199 /* NodeNext */;
13592
13693
  }
13593
13694
  function isEffectiveExternalModule(node, compilerOptions) {
13594
13695
  return isExternalModule(node) || isCommonJSContainingModuleKind(getEmitModuleKind(compilerOptions)) && !!node.commonJsModuleIndicator;
@@ -14256,9 +14357,6 @@ function forEachPropertyAssignment(objectLiteral, key, callback, key2) {
14256
14357
  return key === propName || key2 && key2 === propName ? callback(property) : void 0;
14257
14358
  });
14258
14359
  }
14259
- function getPropertyArrayElementValue(objectLiteral, propKey, elementValue) {
14260
- return forEachPropertyAssignment(objectLiteral, propKey, (property) => isArrayLiteralExpression(property.initializer) ? find(property.initializer.elements, (element) => isStringLiteral(element) && element.text === elementValue) : void 0);
14261
- }
14262
14360
  function getTsConfigObjectLiteralExpression(tsConfigSourceFile) {
14263
14361
  if (tsConfigSourceFile && tsConfigSourceFile.statements.length) {
14264
14362
  const expression = tsConfigSourceFile.statements[0].expression;
@@ -17816,7 +17914,7 @@ var _computedOptions = createComputedCompilerOptions({
17816
17914
  dependencies: ["module"],
17817
17915
  computeValue: (compilerOptions) => {
17818
17916
  const target = compilerOptions.target === 0 /* ES3 */ ? void 0 : compilerOptions.target;
17819
- return target ?? (compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 1 /* ES5 */);
17917
+ return target ?? (compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 101 /* Node18 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 1 /* ES5 */);
17820
17918
  }
17821
17919
  },
17822
17920
  module: {
@@ -17835,6 +17933,7 @@ var _computedOptions = createComputedCompilerOptions({
17835
17933
  moduleResolution = 2 /* Node10 */;
17836
17934
  break;
17837
17935
  case 100 /* Node16 */:
17936
+ case 101 /* Node18 */:
17838
17937
  moduleResolution = 3 /* Node16 */;
17839
17938
  break;
17840
17939
  case 199 /* NodeNext */:
@@ -17854,7 +17953,11 @@ var _computedOptions = createComputedCompilerOptions({
17854
17953
  moduleDetection: {
17855
17954
  dependencies: ["module", "target"],
17856
17955
  computeValue: (compilerOptions) => {
17857
- return compilerOptions.moduleDetection || (_computedOptions.module.computeValue(compilerOptions) === 100 /* Node16 */ || _computedOptions.module.computeValue(compilerOptions) === 199 /* NodeNext */ ? 3 /* Force */ : 2 /* Auto */);
17956
+ if (compilerOptions.moduleDetection !== void 0) {
17957
+ return compilerOptions.moduleDetection;
17958
+ }
17959
+ const moduleKind = _computedOptions.module.computeValue(compilerOptions);
17960
+ return 100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */ ? 3 /* Force */ : 2 /* Auto */;
17858
17961
  }
17859
17962
  },
17860
17963
  isolatedModules: {
@@ -17871,6 +17974,7 @@ var _computedOptions = createComputedCompilerOptions({
17871
17974
  }
17872
17975
  switch (_computedOptions.module.computeValue(compilerOptions)) {
17873
17976
  case 100 /* Node16 */:
17977
+ case 101 /* Node18 */:
17874
17978
  case 199 /* NodeNext */:
17875
17979
  case 200 /* Preserve */:
17876
17980
  return true;
@@ -18064,6 +18168,9 @@ function unusedLabelIsError(options) {
18064
18168
  function moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution) {
18065
18169
  return moduleResolution >= 3 /* Node16 */ && moduleResolution <= 99 /* NodeNext */ || moduleResolution === 100 /* Bundler */;
18066
18170
  }
18171
+ function moduleSupportsImportAttributes(moduleKind) {
18172
+ return 101 /* Node18 */ <= moduleKind && moduleKind <= 199 /* NodeNext */ || moduleKind === 200 /* Preserve */ || moduleKind === 99 /* ESNext */;
18173
+ }
18067
18174
  function getStrictOptionValue(compilerOptions, flag) {
18068
18175
  return compilerOptions[flag] === void 0 ? !!compilerOptions.strict : !!compilerOptions[flag];
18069
18176
  }
@@ -18781,7 +18888,7 @@ function isValidBigIntString(s, roundTripOnly) {
18781
18888
  return success && result === 10 /* BigIntLiteral */ && scanner.getTokenEnd() === s.length + 1 && !(flags & 512 /* ContainsSeparator */) && (!roundTripOnly || s === pseudoBigIntToString({ negative, base10Value: parsePseudoBigInt(scanner.getTokenValue()) }));
18782
18889
  }
18783
18890
  function isValidTypeOnlyAliasUseSite(useSite) {
18784
- return !!(useSite.flags & 33554432 /* Ambient */) || isPartOfTypeQuery(useSite) || isIdentifierInNonEmittingHeritageClause(useSite) || isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(useSite) || !(isExpressionNode(useSite) || isShorthandPropertyNameUseSite(useSite));
18891
+ return !!(useSite.flags & 33554432 /* Ambient */) || isInJSDoc(useSite) || isPartOfTypeQuery(useSite) || isIdentifierInNonEmittingHeritageClause(useSite) || isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(useSite) || !(isExpressionNode(useSite) || isShorthandPropertyNameUseSite(useSite));
18785
18892
  }
18786
18893
  function isShorthandPropertyNameUseSite(useSite) {
18787
18894
  return isIdentifier(useSite) && isShorthandPropertyAssignment(useSite.parent) && useSite.parent.name === useSite;
@@ -19847,6 +19954,64 @@ function getNodeAtPosition(sourceFile, position, includeJSDoc) {
19847
19954
  function isNewScopeNode(node) {
19848
19955
  return isFunctionLike(node) || isJSDocSignature(node) || isMappedTypeNode(node);
19849
19956
  }
19957
+ function getLibNameFromLibReference(libReference) {
19958
+ return toFileNameLowerCase(libReference.fileName);
19959
+ }
19960
+ function getLibFileNameFromLibReference(libReference) {
19961
+ const libName = getLibNameFromLibReference(libReference);
19962
+ return libMap.get(libName);
19963
+ }
19964
+ function forEachResolvedProjectReference(resolvedProjectReferences, cb) {
19965
+ return forEachProjectReference(
19966
+ /*projectReferences*/
19967
+ void 0,
19968
+ resolvedProjectReferences,
19969
+ (resolvedRef, parent) => resolvedRef && cb(resolvedRef, parent)
19970
+ );
19971
+ }
19972
+ function forEachProjectReference(projectReferences, resolvedProjectReferences, cbResolvedRef, cbRef) {
19973
+ let seenResolvedRefs;
19974
+ return worker(
19975
+ projectReferences,
19976
+ resolvedProjectReferences,
19977
+ /*parent*/
19978
+ void 0
19979
+ );
19980
+ function worker(projectReferences2, resolvedProjectReferences2, parent) {
19981
+ if (cbRef) {
19982
+ const result = cbRef(projectReferences2, parent);
19983
+ if (result) return result;
19984
+ }
19985
+ let skipChildren;
19986
+ return forEach(
19987
+ resolvedProjectReferences2,
19988
+ (resolvedRef, index) => {
19989
+ if (resolvedRef && (seenResolvedRefs == null ? void 0 : seenResolvedRefs.has(resolvedRef.sourceFile.path))) {
19990
+ (skipChildren ?? (skipChildren = /* @__PURE__ */ new Set())).add(resolvedRef);
19991
+ return void 0;
19992
+ }
19993
+ const result = cbResolvedRef(resolvedRef, parent, index);
19994
+ if (result || !resolvedRef) return result;
19995
+ (seenResolvedRefs || (seenResolvedRefs = /* @__PURE__ */ new Set())).add(resolvedRef.sourceFile.path);
19996
+ }
19997
+ ) || forEach(
19998
+ resolvedProjectReferences2,
19999
+ (resolvedRef) => resolvedRef && !(skipChildren == null ? void 0 : skipChildren.has(resolvedRef)) ? worker(resolvedRef.commandLine.projectReferences, resolvedRef.references, resolvedRef) : void 0
20000
+ );
20001
+ }
20002
+ }
20003
+ function getOptionsSyntaxByArrayElementValue(optionsObject, name, value) {
20004
+ return optionsObject && getPropertyArrayElementValue(optionsObject, name, value);
20005
+ }
20006
+ function getPropertyArrayElementValue(objectLiteral, propKey, elementValue) {
20007
+ return forEachPropertyAssignment(objectLiteral, propKey, (property) => isArrayLiteralExpression(property.initializer) ? find(property.initializer.elements, (element) => isStringLiteral(element) && element.text === elementValue) : void 0);
20008
+ }
20009
+ function getOptionsSyntaxByValue(optionsObject, name, value) {
20010
+ return forEachOptionsSyntaxByName(optionsObject, name, (property) => isStringLiteral(property.initializer) && property.initializer.text === value ? property.initializer : void 0);
20011
+ }
20012
+ function forEachOptionsSyntaxByName(optionsObject, name, callback) {
20013
+ return forEachPropertyAssignment(optionsObject, name, callback);
20014
+ }
19850
20015
 
19851
20016
  // src/compiler/factory/baseNodeFactory.ts
19852
20017
  function createBaseNodeFactory() {
@@ -22453,6 +22618,8 @@ function createNodeFactory(flags, baseFactory2) {
22453
22618
  node.colonToken = colonToken ?? createToken(59 /* ColonToken */);
22454
22619
  node.whenFalse = parenthesizerRules().parenthesizeBranchOfConditionalExpression(whenFalse);
22455
22620
  node.transformFlags |= propagateChildFlags(node.condition) | propagateChildFlags(node.questionToken) | propagateChildFlags(node.whenTrue) | propagateChildFlags(node.colonToken) | propagateChildFlags(node.whenFalse);
22621
+ node.flowNodeWhenFalse = void 0;
22622
+ node.flowNodeWhenTrue = void 0;
22456
22623
  return node;
22457
22624
  }
22458
22625
  function updateConditionalExpression(node, condition, questionToken, whenTrue, colonToken, whenFalse) {
@@ -24256,7 +24423,7 @@ function createNodeFactory(flags, baseFactory2) {
24256
24423
  function isIgnorableParen(node) {
24257
24424
  return isParenthesizedExpression(node) && nodeIsSynthesized(node) && nodeIsSynthesized(getSourceMapRange(node)) && nodeIsSynthesized(getCommentRange(node)) && !some(getSyntheticLeadingComments(node)) && !some(getSyntheticTrailingComments(node));
24258
24425
  }
24259
- function restoreOuterExpressions(outerExpression, innerExpression, kinds = 31 /* All */) {
24426
+ function restoreOuterExpressions(outerExpression, innerExpression, kinds = 63 /* All */) {
24260
24427
  if (outerExpression && isOuterExpression(outerExpression, kinds) && !isIgnorableParen(outerExpression)) {
24261
24428
  return updateOuterExpression(
24262
24429
  outerExpression,
@@ -24302,7 +24469,7 @@ function createNodeFactory(flags, baseFactory2) {
24302
24469
  }
24303
24470
  }
24304
24471
  function createCallBinding(expression, recordTempVariable, languageVersion, cacheIdentifiers = false) {
24305
- const callee = skipOuterExpressions(expression, 31 /* All */);
24472
+ const callee = skipOuterExpressions(expression, 63 /* All */);
24306
24473
  let thisArg;
24307
24474
  let target;
24308
24475
  if (isSuperProperty(callee)) {
@@ -27171,7 +27338,7 @@ function getJSDocTypeAssertionType(node) {
27171
27338
  Debug.assertIsDefined(type);
27172
27339
  return type;
27173
27340
  }
27174
- function isOuterExpression(node, kinds = 31 /* All */) {
27341
+ function isOuterExpression(node, kinds = 63 /* All */) {
27175
27342
  switch (node.kind) {
27176
27343
  case 217 /* ParenthesizedExpression */:
27177
27344
  if (kinds & -2147483648 /* ExcludeJSDocTypeAssertion */ && isJSDocTypeAssertion(node)) {
@@ -27180,8 +27347,9 @@ function isOuterExpression(node, kinds = 31 /* All */) {
27180
27347
  return (kinds & 1 /* Parentheses */) !== 0;
27181
27348
  case 216 /* TypeAssertionExpression */:
27182
27349
  case 234 /* AsExpression */:
27183
- case 238 /* SatisfiesExpression */:
27184
27350
  return (kinds & 2 /* TypeAssertions */) !== 0;
27351
+ case 238 /* SatisfiesExpression */:
27352
+ return (kinds & (2 /* TypeAssertions */ | 32 /* Satisfies */)) !== 0;
27185
27353
  case 233 /* ExpressionWithTypeArguments */:
27186
27354
  return (kinds & 16 /* ExpressionsWithTypeArguments */) !== 0;
27187
27355
  case 235 /* NonNullExpression */:
@@ -27191,13 +27359,13 @@ function isOuterExpression(node, kinds = 31 /* All */) {
27191
27359
  }
27192
27360
  return false;
27193
27361
  }
27194
- function skipOuterExpressions(node, kinds = 31 /* All */) {
27362
+ function skipOuterExpressions(node, kinds = 63 /* All */) {
27195
27363
  while (isOuterExpression(node, kinds)) {
27196
27364
  node = node.expression;
27197
27365
  }
27198
27366
  return node;
27199
27367
  }
27200
- function walkUpOuterExpressions(node, kinds = 31 /* All */) {
27368
+ function walkUpOuterExpressions(node, kinds = 63 /* All */) {
27201
27369
  let parent = node.parent;
27202
27370
  while (isOuterExpression(parent, kinds)) {
27203
27371
  parent = parent.parent;
@@ -35054,6 +35222,7 @@ var Parser;
35054
35222
  const node = factory2.createExpressionWithTypeArguments(expression, typeArguments);
35055
35223
  const res = finishNode(node, pos);
35056
35224
  if (usedBrace) {
35225
+ skipWhitespace();
35057
35226
  parseExpected(20 /* CloseBraceToken */);
35058
35227
  }
35059
35228
  return res;
@@ -36099,6 +36268,8 @@ var libEntries = [
36099
36268
  ["esnext.regexp", "lib.es2024.regexp.d.ts"],
36100
36269
  ["esnext.string", "lib.es2024.string.d.ts"],
36101
36270
  ["esnext.iterator", "lib.esnext.iterator.d.ts"],
36271
+ ["esnext.promise", "lib.esnext.promise.d.ts"],
36272
+ ["esnext.float16", "lib.esnext.float16.d.ts"],
36102
36273
  ["decorators", "lib.decorators.d.ts"],
36103
36274
  ["decorators.legacy", "lib.decorators.legacy.d.ts"]
36104
36275
  ];
@@ -36425,6 +36596,7 @@ var moduleOptionDeclaration = {
36425
36596
  es2022: 7 /* ES2022 */,
36426
36597
  esnext: 99 /* ESNext */,
36427
36598
  node16: 100 /* Node16 */,
36599
+ node18: 101 /* Node18 */,
36428
36600
  nodenext: 199 /* NodeNext */,
36429
36601
  preserve: 200 /* Preserve */
36430
36602
  })),
@@ -36677,6 +36849,23 @@ var commandOptionsWithoutBuild = [
36677
36849
  affectsBuildInfo: true,
36678
36850
  affectsSemanticDiagnostics: true
36679
36851
  },
36852
+ {
36853
+ name: "erasableSyntaxOnly",
36854
+ type: "boolean",
36855
+ category: Diagnostics.Interop_Constraints,
36856
+ description: Diagnostics.Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript,
36857
+ defaultValueDescription: false,
36858
+ affectsBuildInfo: true,
36859
+ affectsSemanticDiagnostics: true
36860
+ },
36861
+ {
36862
+ name: "libReplacement",
36863
+ type: "boolean",
36864
+ affectsProgramStructure: true,
36865
+ category: Diagnostics.Language_and_Environment,
36866
+ description: Diagnostics.Enable_lib_replacement,
36867
+ defaultValueDescription: true
36868
+ },
36680
36869
  // Strict Type Checks
36681
36870
  {
36682
36871
  name: "strict",
@@ -40729,9 +40918,7 @@ function tryFileLookup(fileName, onlyRecordFailures, state) {
40729
40918
  }
40730
40919
  function loadNodeModuleFromDirectory(extensions, candidate, onlyRecordFailures, state, considerPackageJson = true) {
40731
40920
  const packageInfo = considerPackageJson ? getPackageJsonInfo(candidate, onlyRecordFailures, state) : void 0;
40732
- const packageJsonContent = packageInfo && packageInfo.contents.packageJsonContent;
40733
- const versionPaths = packageInfo && getVersionPathsOfPackageJsonInfo(packageInfo, state);
40734
- return withPackageId(packageInfo, loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, packageJsonContent, versionPaths), state);
40921
+ return withPackageId(packageInfo, loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, packageInfo), state);
40735
40922
  }
40736
40923
  function getTemporaryModuleResolutionState(packageJsonInfoCache, host, options) {
40737
40924
  return {
@@ -40838,13 +41025,14 @@ function getPackageJsonInfo(packageDirectory, onlyRecordFailures, state) {
40838
41025
  (_f = state.failedLookupLocations) == null ? void 0 : _f.push(packageJsonPath);
40839
41026
  }
40840
41027
  }
40841
- function loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, jsonContent, versionPaths) {
41028
+ function loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, packageJson) {
41029
+ const versionPaths = packageJson && getVersionPathsOfPackageJsonInfo(packageJson, state);
40842
41030
  let packageFile;
40843
- if (jsonContent) {
41031
+ if (packageJson && arePathsEqual(packageJson == null ? void 0 : packageJson.packageDirectory, candidate, state.host)) {
40844
41032
  if (state.isConfigLookup) {
40845
- packageFile = readPackageJsonTSConfigField(jsonContent, candidate, state);
41033
+ packageFile = readPackageJsonTSConfigField(packageJson.contents.packageJsonContent, packageJson.packageDirectory, state);
40846
41034
  } else {
40847
- packageFile = extensions & 4 /* Declaration */ && readPackageJsonTypesFields(jsonContent, candidate, state) || extensions & (3 /* ImplementationFiles */ | 4 /* Declaration */) && readPackageJsonMainField(jsonContent, candidate, state) || void 0;
41035
+ packageFile = extensions & 4 /* Declaration */ && readPackageJsonTypesFields(packageJson.contents.packageJsonContent, packageJson.packageDirectory, state) || extensions & (3 /* ImplementationFiles */ | 4 /* Declaration */) && readPackageJsonMainField(packageJson.contents.packageJsonContent, packageJson.packageDirectory, state) || void 0;
40848
41036
  }
40849
41037
  }
40850
41038
  const loader = (extensions2, candidate2, onlyRecordFailures2, state2) => {
@@ -40863,7 +41051,7 @@ function loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFail
40863
41051
  const features = state2.features;
40864
41052
  const candidateIsFromPackageJsonField = state2.candidateIsFromPackageJsonField;
40865
41053
  state2.candidateIsFromPackageJsonField = true;
40866
- if ((jsonContent == null ? void 0 : jsonContent.type) !== "module") {
41054
+ if ((packageJson == null ? void 0 : packageJson.contents.packageJsonContent.type) !== "module") {
40867
41055
  state2.features &= ~32 /* EsmMode */;
40868
41056
  }
40869
41057
  const result = nodeLoadModuleByRelativeName(
@@ -41134,6 +41322,7 @@ function hasOneAsterisk(patternKey) {
41134
41322
  function getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirectedReference, moduleName, scope, isImports) {
41135
41323
  return loadModuleFromTargetExportOrImport;
41136
41324
  function loadModuleFromTargetExportOrImport(target, subpath, pattern, key) {
41325
+ var _a, _b;
41137
41326
  if (typeof target === "string") {
41138
41327
  if (!pattern && subpath.length > 0 && !endsWith(target, "/")) {
41139
41328
  if (state.traceEnabled) {
@@ -41162,6 +41351,8 @@ function getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirec
41162
41351
  redirectedReference,
41163
41352
  state.conditions
41164
41353
  );
41354
+ (_a = state.failedLookupLocations) == null ? void 0 : _a.push(...result.failedLookupLocations ?? emptyArray);
41355
+ (_b = state.affectingLocations) == null ? void 0 : _b.push(...result.affectingLocations ?? emptyArray);
41165
41356
  return toSearchResult(
41166
41357
  result.resolvedModule ? {
41167
41358
  path: result.resolvedModule.resolvedFileName,
@@ -41271,20 +41462,20 @@ function getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirec
41271
41462
  void 0
41272
41463
  );
41273
41464
  function toAbsolutePath(path) {
41274
- var _a, _b;
41465
+ var _a2, _b2;
41275
41466
  if (path === void 0) return path;
41276
- return getNormalizedAbsolutePath(path, (_b = (_a = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a));
41467
+ return getNormalizedAbsolutePath(path, (_b2 = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b2.call(_a2));
41277
41468
  }
41278
41469
  function combineDirectoryPath(root, dir) {
41279
41470
  return ensureTrailingDirectorySeparator(combinePaths(root, dir));
41280
41471
  }
41281
41472
  function tryLoadInputFileForPath(finalPath, entry, packagePath, isImports2) {
41282
- var _a, _b, _c, _d;
41473
+ var _a2, _b2, _c, _d;
41283
41474
  if (!state.isConfigLookup && (state.compilerOptions.declarationDir || state.compilerOptions.outDir) && !finalPath.includes("/node_modules/") && (state.compilerOptions.configFile ? containsPath(scope.packageDirectory, toAbsolutePath(state.compilerOptions.configFile.fileName), !useCaseSensitiveFileNames(state)) : true)) {
41284
41475
  const getCanonicalFileName = hostGetCanonicalFileName({ useCaseSensitiveFileNames: () => useCaseSensitiveFileNames(state) });
41285
41476
  const commonSourceDirGuesses = [];
41286
41477
  if (state.compilerOptions.rootDir || state.compilerOptions.composite && state.compilerOptions.configFilePath) {
41287
- const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [], ((_b = (_a = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a)) || "", getCanonicalFileName));
41478
+ const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [], ((_b2 = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b2.call(_a2)) || "", getCanonicalFileName));
41288
41479
  commonSourceDirGuesses.push(commonDir);
41289
41480
  } else if (state.requestContainingDirectory) {
41290
41481
  const requestingFile = toAbsolutePath(combinePaths(state.requestContainingDirectory, "index.ts"));
@@ -41340,8 +41531,8 @@ function getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirec
41340
41531
  }
41341
41532
  return void 0;
41342
41533
  function getOutputDirectoriesForBaseDirectory(commonSourceDirGuess) {
41343
- var _a2, _b2;
41344
- const currentDir = state.compilerOptions.configFile ? ((_b2 = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b2.call(_a2)) || "" : commonSourceDirGuess;
41534
+ var _a3, _b3;
41535
+ const currentDir = state.compilerOptions.configFile ? ((_b3 = (_a3 = state.host).getCurrentDirectory) == null ? void 0 : _b3.call(_a3)) || "" : commonSourceDirGuess;
41345
41536
  const candidateDirectories = [];
41346
41537
  if (state.compilerOptions.declarationDir) {
41347
41538
  candidateDirectories.push(toAbsolutePath(combineDirectoryPath(currentDir, state.compilerOptions.declarationDir)));
@@ -41388,7 +41579,7 @@ function loadModuleFromNearestNodeModulesDirectoryTypesScope(moduleName, directo
41388
41579
  );
41389
41580
  }
41390
41581
  function loadModuleFromNearestNodeModulesDirectoryWorker(extensions, moduleName, directory, state, typesScopeOnly, cache, redirectedReference) {
41391
- const mode = state.features === 0 ? void 0 : state.features & 32 /* EsmMode */ ? 99 /* ESNext */ : 1 /* CommonJS */;
41582
+ const mode = state.features === 0 ? void 0 : state.features & 32 /* EsmMode */ || state.conditions.includes("import") ? 99 /* ESNext */ : 1 /* CommonJS */;
41392
41583
  const priorityExtensions = extensions & (1 /* TypeScript */ | 4 /* Declaration */);
41393
41584
  const secondaryExtensions = extensions & ~(1 /* TypeScript */ | 4 /* Declaration */);
41394
41585
  if (priorityExtensions) {
@@ -41466,8 +41657,7 @@ function loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, node
41466
41657
  candidate,
41467
41658
  !nodeModulesDirectoryExists,
41468
41659
  state,
41469
- packageInfo.contents.packageJsonContent,
41470
- getVersionPathsOfPackageJsonInfo(packageInfo, state)
41660
+ packageInfo
41471
41661
  );
41472
41662
  return withPackageId(packageInfo, fromDirectory, state);
41473
41663
  }
@@ -41477,10 +41667,9 @@ function loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, node
41477
41667
  candidate2,
41478
41668
  onlyRecordFailures,
41479
41669
  state2,
41480
- packageInfo && packageInfo.contents.packageJsonContent,
41481
- packageInfo && getVersionPathsOfPackageJsonInfo(packageInfo, state2)
41670
+ packageInfo
41482
41671
  );
41483
- if (!pathAndExtension && packageInfo && (packageInfo.contents.packageJsonContent.exports === void 0 || packageInfo.contents.packageJsonContent.exports === null) && state2.features & 32 /* EsmMode */) {
41672
+ if (!pathAndExtension && !rest && packageInfo && (packageInfo.contents.packageJsonContent.exports === void 0 || packageInfo.contents.packageJsonContent.exports === null) && state2.features & 32 /* EsmMode */) {
41484
41673
  pathAndExtension = loadModuleFromFile(extensions2, combinePaths(candidate2, "index.js"), onlyRecordFailures, state2);
41485
41674
  }
41486
41675
  return withPackageId(packageInfo, pathAndExtension, state2);
@@ -41908,6 +42097,7 @@ function createBinder() {
41908
42097
  var preSwitchCaseFlow;
41909
42098
  var activeLabelList;
41910
42099
  var hasExplicitReturn;
42100
+ var inReturnPosition;
41911
42101
  var hasFlowEffects;
41912
42102
  var emitFlags;
41913
42103
  var inStrictMode;
@@ -41980,6 +42170,7 @@ function createBinder() {
41980
42170
  currentExceptionTarget = void 0;
41981
42171
  activeLabelList = void 0;
41982
42172
  hasExplicitReturn = false;
42173
+ inReturnPosition = false;
41983
42174
  hasFlowEffects = false;
41984
42175
  inAssignmentPattern = false;
41985
42176
  emitFlags = 0 /* None */;
@@ -42216,6 +42407,8 @@ function createBinder() {
42216
42407
  const saveContainer = container;
42217
42408
  const saveThisParentContainer = thisParentContainer;
42218
42409
  const savedBlockScopeContainer = blockScopeContainer;
42410
+ const savedInReturnPosition = inReturnPosition;
42411
+ if (node.kind === 219 /* ArrowFunction */ && node.body.kind !== 241 /* Block */) inReturnPosition = true;
42219
42412
  if (containerFlags & 1 /* IsContainer */) {
42220
42413
  if (node.kind !== 219 /* ArrowFunction */) {
42221
42414
  thisParentContainer = container;
@@ -42293,6 +42486,7 @@ function createBinder() {
42293
42486
  } else {
42294
42487
  bindChildren(node);
42295
42488
  }
42489
+ inReturnPosition = savedInReturnPosition;
42296
42490
  container = saveContainer;
42297
42491
  thisParentContainer = saveThisParentContainer;
42298
42492
  blockScopeContainer = savedBlockScopeContainer;
@@ -42314,6 +42508,9 @@ function createBinder() {
42314
42508
  const saveInAssignmentPattern = inAssignmentPattern;
42315
42509
  inAssignmentPattern = false;
42316
42510
  if (checkUnreachable(node)) {
42511
+ if (canHaveFlowNode(node) && node.flowNode) {
42512
+ node.flowNode = void 0;
42513
+ }
42317
42514
  bindEachChild(node);
42318
42515
  bindJSDoc(node);
42319
42516
  inAssignmentPattern = saveInAssignmentPattern;
@@ -42509,7 +42706,9 @@ function createBinder() {
42509
42706
  case 36 /* ExclamationEqualsToken */:
42510
42707
  case 37 /* EqualsEqualsEqualsToken */:
42511
42708
  case 38 /* ExclamationEqualsEqualsToken */:
42512
- return isNarrowableOperand(expr.left) || isNarrowableOperand(expr.right) || isNarrowingTypeofOperands(expr.right, expr.left) || isNarrowingTypeofOperands(expr.left, expr.right) || (isBooleanLiteral(expr.right) && isNarrowingExpression(expr.left) || isBooleanLiteral(expr.left) && isNarrowingExpression(expr.right));
42709
+ const left = skipParentheses(expr.left);
42710
+ const right = skipParentheses(expr.right);
42711
+ return isNarrowableOperand(left) || isNarrowableOperand(right) || isNarrowingTypeofOperands(right, left) || isNarrowingTypeofOperands(left, right) || (isBooleanLiteral(right) && isNarrowingExpression(left) || isBooleanLiteral(left) && isNarrowingExpression(right));
42513
42712
  case 104 /* InstanceOfKeyword */:
42514
42713
  return isNarrowableOperand(expr.left);
42515
42714
  case 103 /* InKeyword */:
@@ -42701,13 +42900,16 @@ function createBinder() {
42701
42900
  function bindForStatement(node) {
42702
42901
  const preLoopLabel = setContinueTarget(node, createLoopLabel());
42703
42902
  const preBodyLabel = createBranchLabel();
42903
+ const preIncrementorLabel = createBranchLabel();
42704
42904
  const postLoopLabel = createBranchLabel();
42705
42905
  bind(node.initializer);
42706
42906
  addAntecedent(preLoopLabel, currentFlow);
42707
42907
  currentFlow = preLoopLabel;
42708
42908
  bindCondition(node.condition, preBodyLabel, postLoopLabel);
42709
42909
  currentFlow = finishFlowLabel(preBodyLabel);
42710
- bindIterativeStatement(node.statement, postLoopLabel, preLoopLabel);
42910
+ bindIterativeStatement(node.statement, postLoopLabel, preIncrementorLabel);
42911
+ addAntecedent(preIncrementorLabel, currentFlow);
42912
+ currentFlow = finishFlowLabel(preIncrementorLabel);
42711
42913
  bind(node.incrementor);
42712
42914
  addAntecedent(preLoopLabel, currentFlow);
42713
42915
  currentFlow = finishFlowLabel(postLoopLabel);
@@ -42744,7 +42946,10 @@ function createBinder() {
42744
42946
  currentFlow = finishFlowLabel(postIfLabel);
42745
42947
  }
42746
42948
  function bindReturnOrThrow(node) {
42949
+ const savedInReturnPosition = inReturnPosition;
42950
+ inReturnPosition = true;
42747
42951
  bind(node.expression);
42952
+ inReturnPosition = savedInReturnPosition;
42748
42953
  if (node.kind === 253 /* ReturnStatement */) {
42749
42954
  hasExplicitReturn = true;
42750
42955
  if (currentReturnTarget) {
@@ -43105,10 +43310,16 @@ function createBinder() {
43105
43310
  hasFlowEffects = false;
43106
43311
  bindCondition(node.condition, trueLabel, falseLabel);
43107
43312
  currentFlow = finishFlowLabel(trueLabel);
43313
+ if (inReturnPosition) {
43314
+ node.flowNodeWhenTrue = currentFlow;
43315
+ }
43108
43316
  bind(node.questionToken);
43109
43317
  bind(node.whenTrue);
43110
43318
  addAntecedent(postExpressionLabel, currentFlow);
43111
43319
  currentFlow = finishFlowLabel(falseLabel);
43320
+ if (inReturnPosition) {
43321
+ node.flowNodeWhenFalse = currentFlow;
43322
+ }
43112
43323
  bind(node.colonToken);
43113
43324
  bind(node.whenFalse);
43114
43325
  addAntecedent(postExpressionLabel, currentFlow);
@@ -46282,6 +46493,7 @@ function createTypeChecker(host) {
46282
46493
  getNumberLiteralType,
46283
46494
  getBigIntType: () => bigintType,
46284
46495
  getBigIntLiteralType,
46496
+ getUnknownType: () => unknownType,
46285
46497
  createPromiseType,
46286
46498
  createArrayType,
46287
46499
  getElementTypeOfArrayType,
@@ -46398,8 +46610,13 @@ function createTypeChecker(host) {
46398
46610
  getMemberOverrideModifierStatus,
46399
46611
  isTypeParameterPossiblyReferenced,
46400
46612
  typeHasCallOrConstructSignatures,
46401
- getSymbolFlags
46613
+ getSymbolFlags,
46614
+ getTypeArgumentsForResolvedSignature
46402
46615
  };
46616
+ function getTypeArgumentsForResolvedSignature(signature) {
46617
+ if (signature.mapper === void 0) return void 0;
46618
+ return instantiateTypes((signature.target || signature).typeParameters, signature.mapper);
46619
+ }
46403
46620
  function getCandidateSignaturesForStringLiteralCompletions(call, editingArgument) {
46404
46621
  const candidatesSet = /* @__PURE__ */ new Set();
46405
46622
  const candidates = [];
@@ -46776,6 +46993,12 @@ function createTypeChecker(host) {
46776
46993
  /*isReadonly*/
46777
46994
  true
46778
46995
  );
46996
+ var anyBaseTypeIndexInfo = createIndexInfo(
46997
+ stringType,
46998
+ anyType,
46999
+ /*isReadonly*/
47000
+ false
47001
+ );
46779
47002
  var iterationTypesCache = /* @__PURE__ */ new Map();
46780
47003
  var noIterationTypes = {
46781
47004
  get yieldType() {
@@ -47815,9 +48038,9 @@ function createTypeChecker(host) {
47815
48038
  const containerKind = grandparent.parent.kind;
47816
48039
  if (containerKind === 264 /* InterfaceDeclaration */ && heritageKind === 96 /* ExtendsKeyword */) {
47817
48040
  error(errorLocation, Diagnostics.An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types, unescapeLeadingUnderscores(name));
47818
- } else if (containerKind === 263 /* ClassDeclaration */ && heritageKind === 96 /* ExtendsKeyword */) {
48041
+ } else if (isClassLike(grandparent.parent) && heritageKind === 96 /* ExtendsKeyword */) {
47819
48042
  error(errorLocation, Diagnostics.A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values, unescapeLeadingUnderscores(name));
47820
- } else if (containerKind === 263 /* ClassDeclaration */ && heritageKind === 119 /* ImplementsKeyword */) {
48043
+ } else if (isClassLike(grandparent.parent) && heritageKind === 119 /* ImplementsKeyword */) {
47821
48044
  error(errorLocation, Diagnostics.A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types, unescapeLeadingUnderscores(name));
47822
48045
  }
47823
48046
  } else {
@@ -48993,7 +49216,7 @@ function createTypeChecker(host) {
48993
49216
  moduleReference
48994
49217
  );
48995
49218
  }
48996
- if (errorNode && (moduleResolutionKind === 3 /* Node16 */ || moduleResolutionKind === 99 /* NodeNext */)) {
49219
+ if (errorNode && (moduleKind === 100 /* Node16 */ || moduleKind === 101 /* Node18 */)) {
48997
49220
  const isSyncImport = currentSourceFile.impliedNodeFormat === 1 /* CommonJS */ && !findAncestor(location, isImportCall) || !!findAncestor(location, isImportEqualsDeclaration);
48998
49221
  const overrideHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l) || isJSDocImportTag(l));
48999
49222
  if (isSyncImport && sourceFile.impliedNodeFormat === 99 /* ESNext */ && !hasResolutionModeOverride(overrideHost)) {
@@ -50234,12 +50457,7 @@ function createTypeChecker(host) {
50234
50457
  enterNewScope(context, node) {
50235
50458
  if (isFunctionLike(node) || isJSDocSignature(node)) {
50236
50459
  const signature = getSignatureFromDeclaration(node);
50237
- const expandedParams = getExpandedParameters(
50238
- signature,
50239
- /*skipUnionExpanding*/
50240
- true
50241
- )[0];
50242
- return enterNewScope(context, node, expandedParams, signature.typeParameters);
50460
+ return enterNewScope(context, node, signature.parameters, signature.typeParameters);
50243
50461
  } else {
50244
50462
  const typeParameters = isConditionalTypeNode(node) ? getInferTypeParameters(node) : [getDeclaredTypeOfTypeParameter(getSymbolOfDeclaration(node.typeParameter))];
50245
50463
  return enterNewScope(
@@ -50319,7 +50537,7 @@ function createTypeChecker(host) {
50319
50537
  return true;
50320
50538
  }
50321
50539
  if (requiresAddingUndefined && annotationType) {
50322
- annotationType = getOptionalType(annotationType, !isParameter(node));
50540
+ annotationType = addOptionality(annotationType, !isParameter(node));
50323
50541
  }
50324
50542
  return !!annotationType && typeNodeIsEquivalentToType(node, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type);
50325
50543
  }
@@ -50892,7 +51110,7 @@ function createTypeChecker(host) {
50892
51110
  function shouldWriteTypeOfFunctionSymbol() {
50893
51111
  var _a3;
50894
51112
  const isStaticMethodSymbol = !!(symbol.flags & 8192 /* Method */) && // typeof static method
50895
- some(symbol.declarations, (declaration) => isStatic(declaration));
51113
+ some(symbol.declarations, (declaration) => isStatic(declaration) && !isLateBindableIndexSignature(getNameOfDeclaration(declaration)));
50896
51114
  const isNonLocalFunctionSymbol = !!(symbol.flags & 16 /* Function */) && (symbol.parent || // is exported function symbol
50897
51115
  forEach(symbol.declarations, (declaration) => declaration.parent.kind === 307 /* SourceFile */ || declaration.parent.kind === 268 /* ModuleBlock */));
50898
51116
  if (isStaticMethodSymbol || isNonLocalFunctionSymbol) {
@@ -51195,6 +51413,38 @@ function createTypeChecker(host) {
51195
51413
  ids.unshift(state);
51196
51414
  return ids;
51197
51415
  }
51416
+ function indexInfoToObjectComputedNamesOrSignatureDeclaration(indexInfo, context2, typeNode) {
51417
+ if (indexInfo.components) {
51418
+ const allComponentComputedNamesSerializable = every(indexInfo.components, (e) => {
51419
+ var _a2;
51420
+ return !!(e.name && isComputedPropertyName(e.name) && isEntityNameExpression(e.name.expression) && context2.enclosingDeclaration && ((_a2 = isEntityNameVisible(
51421
+ e.name.expression,
51422
+ context2.enclosingDeclaration,
51423
+ /*shouldComputeAliasToMakeVisible*/
51424
+ false
51425
+ )) == null ? void 0 : _a2.accessibility) === 0 /* Accessible */);
51426
+ });
51427
+ if (allComponentComputedNamesSerializable) {
51428
+ const newComponents = filter(indexInfo.components, (e) => {
51429
+ return !hasLateBindableName(e);
51430
+ });
51431
+ return map(newComponents, (e) => {
51432
+ trackComputedName(e.name.expression, context2.enclosingDeclaration, context2);
51433
+ return setTextRange2(
51434
+ context2,
51435
+ factory.createPropertySignature(
51436
+ indexInfo.isReadonly ? [factory.createModifier(148 /* ReadonlyKeyword */)] : void 0,
51437
+ e.name,
51438
+ (isPropertySignature(e) || isPropertyDeclaration(e) || isMethodSignature(e) || isMethodDeclaration(e) || isGetAccessor(e) || isSetAccessor(e)) && e.questionToken ? factory.createToken(58 /* QuestionToken */) : void 0,
51439
+ typeNode || typeToTypeNodeHelper(getTypeOfSymbol(e.symbol), context2)
51440
+ ),
51441
+ e
51442
+ );
51443
+ });
51444
+ }
51445
+ }
51446
+ return [indexInfoToIndexSignatureDeclarationHelper(indexInfo, context2, typeNode)];
51447
+ }
51198
51448
  function createTypeNodesFromResolvedType(resolvedType) {
51199
51449
  if (checkTruncationLength(context)) {
51200
51450
  if (context.flags & 1 /* NoTruncation */) {
@@ -51219,7 +51469,7 @@ function createTypeChecker(host) {
51219
51469
  typeElements.push(signatureToSignatureDeclarationHelper(signature, 180 /* ConstructSignature */, context));
51220
51470
  }
51221
51471
  for (const info of resolvedType.indexInfos) {
51222
- typeElements.push(indexInfoToIndexSignatureDeclarationHelper(info, context, resolvedType.objectFlags & 1024 /* ReverseMapped */ ? createElidedInformationPlaceholder(context) : void 0));
51472
+ typeElements.push(...indexInfoToObjectComputedNamesOrSignatureDeclaration(info, context, resolvedType.objectFlags & 1024 /* ReverseMapped */ ? createElidedInformationPlaceholder(context) : void 0));
51223
51473
  }
51224
51474
  const properties = resolvedType.properties;
51225
51475
  if (!properties) {
@@ -51908,7 +52158,7 @@ function createTypeChecker(host) {
51908
52158
  if (!context.tracker.canTrackSymbol) return;
51909
52159
  const firstIdentifier = getFirstIdentifier(accessExpression);
51910
52160
  const name = resolveName(
51911
- firstIdentifier,
52161
+ enclosingDeclaration,
51912
52162
  firstIdentifier.escapedText,
51913
52163
  111551 /* Value */ | 1048576 /* ExportValue */,
51914
52164
  /*nameNotFoundMessage*/
@@ -51918,6 +52168,19 @@ function createTypeChecker(host) {
51918
52168
  );
51919
52169
  if (name) {
51920
52170
  context.tracker.trackSymbol(name, enclosingDeclaration, 111551 /* Value */);
52171
+ } else {
52172
+ const fallback = resolveName(
52173
+ firstIdentifier,
52174
+ firstIdentifier.escapedText,
52175
+ 111551 /* Value */ | 1048576 /* ExportValue */,
52176
+ /*nameNotFoundMessage*/
52177
+ void 0,
52178
+ /*isUse*/
52179
+ true
52180
+ );
52181
+ if (fallback) {
52182
+ context.tracker.trackSymbol(fallback, enclosingDeclaration, 111551 /* Value */);
52183
+ }
51921
52184
  }
51922
52185
  }
51923
52186
  function lookupSymbolChain(symbol, context, meaning, yieldModuleSymbol) {
@@ -56577,12 +56840,7 @@ function createTypeChecker(host) {
56577
56840
  addInheritedMembers(members, getPropertiesOfType(instantiatedBaseType));
56578
56841
  callSignatures = concatenate(callSignatures, getSignaturesOfType(instantiatedBaseType, 0 /* Call */));
56579
56842
  constructSignatures = concatenate(constructSignatures, getSignaturesOfType(instantiatedBaseType, 1 /* Construct */));
56580
- const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [createIndexInfo(
56581
- stringType,
56582
- anyType,
56583
- /*isReadonly*/
56584
- false
56585
- )];
56843
+ const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [anyBaseTypeIndexInfo];
56586
56844
  indexInfos = concatenate(indexInfos, filter(inheritedIndexInfos, (info) => !findIndexInfo(indexInfos, info.keyType)));
56587
56845
  }
56588
56846
  }
@@ -57108,12 +57366,7 @@ function createTypeChecker(host) {
57108
57366
  members = createSymbolTable(getNamedOrIndexSignatureMembers(members));
57109
57367
  addInheritedMembers(members, getPropertiesOfType(baseConstructorType));
57110
57368
  } else if (baseConstructorType === anyType) {
57111
- baseConstructorIndexInfo = createIndexInfo(
57112
- stringType,
57113
- anyType,
57114
- /*isReadonly*/
57115
- false
57116
- );
57369
+ baseConstructorIndexInfo = anyBaseTypeIndexInfo;
57117
57370
  }
57118
57371
  }
57119
57372
  const indexSymbol = getIndexSymbolFromSymbolTable(members);
@@ -58742,8 +58995,8 @@ function createTypeChecker(host) {
58742
58995
  function getIndexSymbolFromSymbolTable(symbolTable) {
58743
58996
  return symbolTable.get("__index" /* Index */);
58744
58997
  }
58745
- function createIndexInfo(keyType, type, isReadonly, declaration) {
58746
- return { keyType, type, isReadonly, declaration };
58998
+ function createIndexInfo(keyType, type, isReadonly, declaration, components) {
58999
+ return { keyType, type, isReadonly, declaration, components };
58747
59000
  }
58748
59001
  function getIndexInfosOfSymbol(symbol) {
58749
59002
  const indexSymbol = getIndexSymbol(symbol);
@@ -59256,6 +59509,9 @@ function createTypeChecker(host) {
59256
59509
  case "Number":
59257
59510
  checkNoTypeArguments(node);
59258
59511
  return numberType;
59512
+ case "BigInt":
59513
+ checkNoTypeArguments(node);
59514
+ return bigintType;
59259
59515
  case "Boolean":
59260
59516
  checkNoTypeArguments(node);
59261
59517
  return booleanType;
@@ -61809,7 +62065,7 @@ function createTypeChecker(host) {
61809
62065
  return result;
61810
62066
  }
61811
62067
  function getIndexInfoWithReadonly(info, readonly) {
61812
- return info.isReadonly !== readonly ? createIndexInfo(info.keyType, info.type, readonly, info.declaration) : info;
62068
+ return info.isReadonly !== readonly ? createIndexInfo(info.keyType, info.type, readonly, info.declaration, info.components) : info;
61813
62069
  }
61814
62070
  function createLiteralType(flags, value, symbol, regularType) {
61815
62071
  const type = createTypeWithSymbol(flags, symbol);
@@ -62568,7 +62824,7 @@ function createTypeChecker(host) {
62568
62824
  return type.restrictiveInstantiation;
62569
62825
  }
62570
62826
  function instantiateIndexInfo(info, mapper) {
62571
- return createIndexInfo(info.keyType, instantiateType(info.type, mapper), info.isReadonly, info.declaration);
62827
+ return createIndexInfo(info.keyType, instantiateType(info.type, mapper), info.isReadonly, info.declaration, info.components);
62572
62828
  }
62573
62829
  function isContextSensitive(node) {
62574
62830
  Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node));
@@ -66699,7 +66955,7 @@ function createTypeChecker(host) {
66699
66955
  }
66700
66956
  }
66701
66957
  }
66702
- const result = createAnonymousType(type.symbol, members, emptyArray, emptyArray, sameMap(getIndexInfosOfType(type), (info) => createIndexInfo(info.keyType, getWidenedType(info.type), info.isReadonly)));
66958
+ const result = createAnonymousType(type.symbol, members, emptyArray, emptyArray, sameMap(getIndexInfosOfType(type), (info) => createIndexInfo(info.keyType, getWidenedType(info.type), info.isReadonly, info.declaration, info.components)));
66703
66959
  result.objectFlags |= getObjectFlags(type) & (4096 /* JSLiteral */ | 262144 /* NonInferrableType */);
66704
66960
  return result;
66705
66961
  }
@@ -68141,6 +68397,7 @@ function createTypeChecker(host) {
68141
68397
  return target.kind === 108 /* SuperKeyword */;
68142
68398
  case 235 /* NonNullExpression */:
68143
68399
  case 217 /* ParenthesizedExpression */:
68400
+ case 238 /* SatisfiesExpression */:
68144
68401
  return isMatchingReference(source.expression, target);
68145
68402
  case 211 /* PropertyAccessExpression */:
68146
68403
  case 212 /* ElementAccessExpression */:
@@ -69991,6 +70248,7 @@ function createTypeChecker(host) {
69991
70248
  if (checkDerived) {
69992
70249
  return filterType(type, (t) => !isTypeDerivedFrom(t, candidate));
69993
70250
  }
70251
+ type = type.flags & 2 /* Unknown */ ? unknownUnionType : type;
69994
70252
  const trueType2 = getNarrowedType(
69995
70253
  type,
69996
70254
  candidate,
@@ -69999,7 +70257,7 @@ function createTypeChecker(host) {
69999
70257
  /*checkDerived*/
70000
70258
  false
70001
70259
  );
70002
- return filterType(type, (t) => !isTypeSubsetOf(t, trueType2));
70260
+ return recombineUnknownType(filterType(type, (t) => !isTypeSubsetOf(t, trueType2)));
70003
70261
  }
70004
70262
  if (type.flags & 3 /* AnyOrUnknown */) {
70005
70263
  return candidate;
@@ -70097,6 +70355,7 @@ function createTypeChecker(host) {
70097
70355
  return narrowTypeByCallExpression(type, expr, assumeTrue);
70098
70356
  case 217 /* ParenthesizedExpression */:
70099
70357
  case 235 /* NonNullExpression */:
70358
+ case 238 /* SatisfiesExpression */:
70100
70359
  return narrowType(type, expr.expression, assumeTrue);
70101
70360
  case 226 /* BinaryExpression */:
70102
70361
  return narrowTypeByBinaryExpression(type, expr, assumeTrue);
@@ -70460,12 +70719,13 @@ function createTypeChecker(host) {
70460
70719
  const jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 /* React */ ? Diagnostics.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found : void 0;
70461
70720
  const jsxFactoryNamespace = getJsxNamespace(node);
70462
70721
  const jsxFactoryLocation = isJsxOpeningLikeElement(node) ? node.tagName : node;
70722
+ const shouldFactoryRefErr = compilerOptions.jsx !== 1 /* Preserve */ && compilerOptions.jsx !== 3 /* ReactNative */;
70463
70723
  let jsxFactorySym;
70464
70724
  if (!(isJsxOpeningFragment(node) && jsxFactoryNamespace === "null")) {
70465
70725
  jsxFactorySym = resolveName(
70466
70726
  jsxFactoryLocation,
70467
70727
  jsxFactoryNamespace,
70468
- compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */,
70728
+ shouldFactoryRefErr ? 111551 /* Value */ : 111551 /* Value */ & ~384 /* Enum */,
70469
70729
  jsxFactoryRefErr,
70470
70730
  /*isUse*/
70471
70731
  true
@@ -70479,12 +70739,13 @@ function createTypeChecker(host) {
70479
70739
  }
70480
70740
  if (isJsxOpeningFragment(node)) {
70481
70741
  const file = getSourceFileOfNode(node);
70482
- const localJsxNamespace = getLocalJsxNamespace(file);
70483
- if (localJsxNamespace) {
70742
+ const entity = getJsxFactoryEntity(file);
70743
+ if (entity) {
70744
+ const localJsxNamespace = getFirstIdentifier(entity).escapedText;
70484
70745
  resolveName(
70485
70746
  jsxFactoryLocation,
70486
70747
  localJsxNamespace,
70487
- compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */,
70748
+ shouldFactoryRefErr ? 111551 /* Value */ : 111551 /* Value */ & ~384 /* Enum */,
70488
70749
  jsxFactoryRefErr,
70489
70750
  /*isUse*/
70490
70751
  true
@@ -72718,16 +72979,33 @@ function createTypeChecker(host) {
72718
72979
  const firstDecl = (_a = symbol.declarations) == null ? void 0 : _a[0];
72719
72980
  return isKnownSymbol(symbol) || firstDecl && isNamedDeclaration(firstDecl) && isComputedPropertyName(firstDecl.name) && isTypeAssignableToKind(checkComputedPropertyName(firstDecl.name), 4096 /* ESSymbol */);
72720
72981
  }
72982
+ function isSymbolWithComputedName(symbol) {
72983
+ var _a;
72984
+ const firstDecl = (_a = symbol.declarations) == null ? void 0 : _a[0];
72985
+ return firstDecl && isNamedDeclaration(firstDecl) && isComputedPropertyName(firstDecl.name);
72986
+ }
72721
72987
  function getObjectLiteralIndexInfo(isReadonly, offset, properties, keyType) {
72988
+ var _a;
72722
72989
  const propTypes = [];
72990
+ let components;
72723
72991
  for (let i = offset; i < properties.length; i++) {
72724
72992
  const prop = properties[i];
72725
72993
  if (keyType === stringType && !isSymbolWithSymbolName(prop) || keyType === numberType && isSymbolWithNumericName(prop) || keyType === esSymbolType && isSymbolWithSymbolName(prop)) {
72726
72994
  propTypes.push(getTypeOfSymbol(properties[i]));
72995
+ if (isSymbolWithComputedName(properties[i])) {
72996
+ components = append(components, (_a = properties[i].declarations) == null ? void 0 : _a[0]);
72997
+ }
72727
72998
  }
72728
72999
  }
72729
73000
  const unionType = propTypes.length ? getUnionType(propTypes, 2 /* Subtype */) : undefinedType;
72730
- return createIndexInfo(keyType, unionType, isReadonly);
73001
+ return createIndexInfo(
73002
+ keyType,
73003
+ unionType,
73004
+ isReadonly,
73005
+ /*declaration*/
73006
+ void 0,
73007
+ components
73008
+ );
72731
73009
  }
72732
73010
  function getImmediateAliasedSymbol(symbol) {
72733
73011
  Debug.assert((symbol.flags & 2097152 /* Alias */) !== 0, "Should only get Alias here.");
@@ -73262,6 +73540,9 @@ function createTypeChecker(host) {
73262
73540
  return getNameFromJsxElementAttributesContainer(JsxNames.ElementAttributesPropertyNameContainer, jsxNamespace);
73263
73541
  }
73264
73542
  function getJsxElementChildrenPropertyName(jsxNamespace) {
73543
+ if (compilerOptions.jsx === 4 /* ReactJSX */ || compilerOptions.jsx === 5 /* ReactJSXDev */) {
73544
+ return "children";
73545
+ }
73265
73546
  return getNameFromJsxElementAttributesContainer(JsxNames.ElementChildrenAttributeNameContainer, jsxNamespace);
73266
73547
  }
73267
73548
  function getUninstantiatedJsxSignaturesOfType(elementType, caller) {
@@ -74045,6 +74326,13 @@ function createTypeChecker(host) {
74045
74326
  return getIntersectionType(x);
74046
74327
  }
74047
74328
  function reportNonexistentProperty(propNode, containingType, isUncheckedJS) {
74329
+ const links = getNodeLinks(propNode);
74330
+ const cache = links.nonExistentPropCheckCache || (links.nonExistentPropCheckCache = /* @__PURE__ */ new Set());
74331
+ const key = `${getTypeId(containingType)}|${isUncheckedJS}`;
74332
+ if (cache.has(key)) {
74333
+ return;
74334
+ }
74335
+ cache.add(key);
74048
74336
  let errorInfo;
74049
74337
  let relatedInfo;
74050
74338
  if (!isPrivateIdentifier(propNode) && containingType.flags & 1048576 /* Union */ && !(containingType.flags & 402784252 /* Primitive */)) {
@@ -74813,8 +75101,8 @@ function createTypeChecker(host) {
74813
75101
  }
74814
75102
  }
74815
75103
  function getEffectiveCheckNode(argument) {
74816
- argument = skipParentheses(argument);
74817
- return isSatisfiesExpression(argument) ? skipParentheses(argument.expression) : argument;
75104
+ const flags = isInJSFile(argument) ? 1 /* Parentheses */ | 32 /* Satisfies */ | -2147483648 /* ExcludeJSDocTypeAssertion */ : 1 /* Parentheses */ | 32 /* Satisfies */;
75105
+ return skipOuterExpressions(argument, flags);
74818
75106
  }
74819
75107
  function getSignatureApplicabilityError(node, args, signature, relation, checkMode, reportErrors2, containingMessageChain, inferenceContext) {
74820
75108
  const errorOutputContainer = { errors: void 0, skipLogging: true };
@@ -75239,11 +75527,16 @@ function createTypeChecker(host) {
75239
75527
  if (!result) {
75240
75528
  result = chooseOverload(candidates, assignableRelation, isSingleNonGenericCandidate, signatureHelpTrailingComma);
75241
75529
  }
75530
+ const links = getNodeLinks(node);
75531
+ if (links.resolvedSignature !== resolvingSignature && !candidatesOutArray) {
75532
+ Debug.assert(links.resolvedSignature);
75533
+ return links.resolvedSignature;
75534
+ }
75242
75535
  if (result) {
75243
75536
  return result;
75244
75537
  }
75245
75538
  result = getCandidateForOverloadFailure(node, candidates, args, !!candidatesOutArray, checkMode);
75246
- getNodeLinks(node).resolvedSignature = result;
75539
+ links.resolvedSignature = result;
75247
75540
  if (reportErrors2) {
75248
75541
  if (!headMessage && isInstanceof) {
75249
75542
  headMessage = Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method;
@@ -76003,12 +76296,14 @@ function createTypeChecker(host) {
76003
76296
  const sourceFileLinks = getNodeLinks(getSourceFileOfNode(node));
76004
76297
  if (sourceFileLinks.jsxFragmentType !== void 0) return sourceFileLinks.jsxFragmentType;
76005
76298
  const jsxFragmentFactoryName = getJsxNamespace(node);
76006
- if (jsxFragmentFactoryName === "null") return sourceFileLinks.jsxFragmentType = anyType;
76299
+ const shouldResolveFactoryReference = (compilerOptions.jsx === 2 /* React */ || compilerOptions.jsxFragmentFactory !== void 0) && jsxFragmentFactoryName !== "null";
76300
+ if (!shouldResolveFactoryReference) return sourceFileLinks.jsxFragmentType = anyType;
76301
+ const shouldModuleRefErr = compilerOptions.jsx !== 1 /* Preserve */ && compilerOptions.jsx !== 3 /* ReactNative */;
76007
76302
  const jsxFactoryRefErr = diagnostics ? Diagnostics.Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found : void 0;
76008
76303
  const jsxFactorySymbol = getJsxNamespaceContainerForImplicitImport(node) ?? resolveName(
76009
76304
  node,
76010
76305
  jsxFragmentFactoryName,
76011
- compilerOptions.jsx === 1 /* Preserve */ ? 111551 /* Value */ & ~384 /* Enum */ : 111551 /* Value */,
76306
+ shouldModuleRefErr ? 111551 /* Value */ : 111551 /* Value */ & ~384 /* Enum */,
76012
76307
  /*nameNotFoundMessage*/
76013
76308
  jsxFactoryRefErr,
76014
76309
  /*isUse*/
@@ -76127,12 +76422,9 @@ function createTypeChecker(host) {
76127
76422
  resolutionStart = resolutionTargets.length;
76128
76423
  }
76129
76424
  links.resolvedSignature = resolvingSignature;
76130
- let result = resolveSignature(node, candidatesOutArray, checkMode || 0 /* Normal */);
76425
+ const result = resolveSignature(node, candidatesOutArray, checkMode || 0 /* Normal */);
76131
76426
  resolutionStart = saveResolutionStart;
76132
76427
  if (result !== resolvingSignature) {
76133
- if (links.resolvedSignature !== resolvingSignature) {
76134
- result = links.resolvedSignature;
76135
- }
76136
76428
  links.resolvedSignature = flowLoopStart === flowLoopCount ? result : cached;
76137
76429
  }
76138
76430
  return result;
@@ -76711,12 +77003,12 @@ function createTypeChecker(host) {
76711
77003
  }
76712
77004
  }
76713
77005
  function checkImportMetaProperty(node) {
76714
- if (moduleKind === 100 /* Node16 */ || moduleKind === 199 /* NodeNext */) {
77006
+ if (100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) {
76715
77007
  if (getSourceFileOfNode(node).impliedNodeFormat !== 99 /* ESNext */) {
76716
77008
  error(node, Diagnostics.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output);
76717
77009
  }
76718
77010
  } else if (moduleKind < 6 /* ES2020 */ && moduleKind !== 4 /* System */) {
76719
- error(node, Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);
77011
+ error(node, Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_node18_or_nodenext);
76720
77012
  }
76721
77013
  const file = getSourceFileOfNode(node);
76722
77014
  Debug.assert(!!(file.flags & 8388608 /* PossiblyContainsImportMeta */), "Containing file is missing import meta node flag.");
@@ -77545,7 +77837,7 @@ function createTypeChecker(host) {
77545
77837
  }
77546
77838
  return !someType(operandConstraint, (t) => getTypeFacts(t, notEqualFacts) === notEqualFacts);
77547
77839
  }
77548
- const type = checkExpressionCached(node.expression);
77840
+ const type = getBaseConstraintOrType(checkExpressionCached(node.expression));
77549
77841
  if (!isLiteralType(type)) {
77550
77842
  return false;
77551
77843
  }
@@ -77808,19 +78100,7 @@ function createTypeChecker(host) {
77808
78100
  const exprType = checkExpression(node.body);
77809
78101
  const returnOrPromisedType = returnType && unwrapReturnType(returnType, functionFlags);
77810
78102
  if (returnOrPromisedType) {
77811
- const effectiveCheckNode = getEffectiveCheckNode(node.body);
77812
- if ((functionFlags & 3 /* AsyncGenerator */) === 2 /* Async */) {
77813
- const awaitedType = checkAwaitedType(
77814
- exprType,
77815
- /*withAlias*/
77816
- false,
77817
- effectiveCheckNode,
77818
- Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member
77819
- );
77820
- checkTypeAssignableToAndOptionallyElaborate(awaitedType, returnOrPromisedType, effectiveCheckNode, effectiveCheckNode);
77821
- } else {
77822
- checkTypeAssignableToAndOptionallyElaborate(exprType, returnOrPromisedType, effectiveCheckNode, effectiveCheckNode);
77823
- }
78103
+ checkReturnExpression(node, returnOrPromisedType, node.body, node.body, exprType);
77824
78104
  }
77825
78105
  }
77826
78106
  }
@@ -77874,7 +78154,7 @@ function createTypeChecker(host) {
77874
78154
  }
77875
78155
  if (isReadonlySymbol(symbol)) {
77876
78156
  if (symbol.flags & 4 /* Property */ && isAccessExpression(expr) && expr.expression.kind === 110 /* ThisKeyword */) {
77877
- const ctor = getContainingFunction(expr);
78157
+ const ctor = getControlFlowContainer(expr);
77878
78158
  if (!(ctor && (ctor.kind === 176 /* Constructor */ || isJSConstructor(ctor)))) {
77879
78159
  return true;
77880
78160
  }
@@ -77903,7 +78183,7 @@ function createTypeChecker(host) {
77903
78183
  return false;
77904
78184
  }
77905
78185
  function checkReferenceExpression(expr, invalidReferenceMessage, invalidOptionalChainMessage) {
77906
- const node = skipOuterExpressions(expr, 6 /* Assertions */ | 1 /* Parentheses */);
78186
+ const node = skipOuterExpressions(expr, 38 /* Assertions */ | 1 /* Parentheses */);
77907
78187
  if (node.kind !== 80 /* Identifier */ && !isAccessExpression(node)) {
77908
78188
  error(expr, invalidReferenceMessage);
77909
78189
  return false;
@@ -77970,6 +78250,7 @@ function createTypeChecker(host) {
77970
78250
  }
77971
78251
  switch (moduleKind) {
77972
78252
  case 100 /* Node16 */:
78253
+ case 101 /* Node18 */:
77973
78254
  case 199 /* NodeNext */:
77974
78255
  if (sourceFile.impliedNodeFormat === 1 /* CommonJS */) {
77975
78256
  span ?? (span = getSpanOfTokenAtPosition(sourceFile, node.pos));
@@ -77990,7 +78271,7 @@ function createTypeChecker(host) {
77990
78271
  // fallthrough
77991
78272
  default:
77992
78273
  span ?? (span = getSpanOfTokenAtPosition(sourceFile, node.pos));
77993
- const message = isAwaitExpression(node) ? Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher : Diagnostics.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher;
78274
+ const message = isAwaitExpression(node) ? Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher : Diagnostics.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher;
77994
78275
  diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, message));
77995
78276
  hasError = true;
77996
78277
  break;
@@ -78554,7 +78835,7 @@ function createTypeChecker(host) {
78554
78835
  if (isBinaryExpression(right) && (right.operatorToken.kind === 57 /* BarBarToken */ || right.operatorToken.kind === 56 /* AmpersandAmpersandToken */)) {
78555
78836
  grammarErrorOnNode(right, Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses, tokenToString(right.operatorToken.kind), tokenToString(operatorToken.kind));
78556
78837
  }
78557
- const leftTarget = skipOuterExpressions(left, 31 /* All */);
78838
+ const leftTarget = skipOuterExpressions(left, 63 /* All */);
78558
78839
  const nullishSemantics = getSyntacticNullishnessSemantics(leftTarget);
78559
78840
  if (nullishSemantics !== 3 /* Sometimes */) {
78560
78841
  if (node.parent.kind === 226 /* BinaryExpression */) {
@@ -78574,7 +78855,9 @@ function createTypeChecker(host) {
78574
78855
  switch (node.kind) {
78575
78856
  case 223 /* AwaitExpression */:
78576
78857
  case 213 /* CallExpression */:
78858
+ case 215 /* TaggedTemplateExpression */:
78577
78859
  case 212 /* ElementAccessExpression */:
78860
+ case 236 /* MetaProperty */:
78578
78861
  case 214 /* NewExpression */:
78579
78862
  case 211 /* PropertyAccessExpression */:
78580
78863
  case 229 /* YieldExpression */:
@@ -78590,6 +78873,8 @@ function createTypeChecker(host) {
78590
78873
  case 56 /* AmpersandAmpersandToken */:
78591
78874
  case 77 /* AmpersandAmpersandEqualsToken */:
78592
78875
  return 3 /* Sometimes */;
78876
+ case 28 /* CommaToken */:
78877
+ return getSyntacticNullishnessSemantics(node.right);
78593
78878
  }
78594
78879
  return 2 /* Never */;
78595
78880
  case 227 /* ConditionalExpression */:
@@ -79769,6 +80054,9 @@ function createTypeChecker(host) {
79769
80054
  checkVariableLikeDeclaration(node);
79770
80055
  const func = getContainingFunction(node);
79771
80056
  if (hasSyntacticModifier(node, 31 /* ParameterPropertyModifier */)) {
80057
+ if (compilerOptions.erasableSyntaxOnly) {
80058
+ error(node, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);
80059
+ }
79772
80060
  if (!(func.kind === 176 /* Constructor */ && nodeIsPresent(func.body))) {
79773
80061
  error(node, Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation);
79774
80062
  }
@@ -83042,7 +83330,6 @@ function createTypeChecker(host) {
83042
83330
  }
83043
83331
  const signature = getSignatureFromDeclaration(container);
83044
83332
  const returnType = getReturnTypeOfSignature(signature);
83045
- const functionFlags = getFunctionFlags(container);
83046
83333
  if (strictNullChecks || node.expression || returnType.flags & 131072 /* Never */) {
83047
83334
  const exprType = node.expression ? checkExpressionCached(node.expression) : undefinedType;
83048
83335
  if (container.kind === 178 /* SetAccessor */) {
@@ -83050,26 +83337,57 @@ function createTypeChecker(host) {
83050
83337
  error(node, Diagnostics.Setters_cannot_return_a_value);
83051
83338
  }
83052
83339
  } else if (container.kind === 176 /* Constructor */) {
83053
- if (node.expression && !checkTypeAssignableToAndOptionallyElaborate(exprType, returnType, node, node.expression)) {
83340
+ const exprType2 = node.expression ? checkExpressionCached(node.expression) : undefinedType;
83341
+ if (node.expression && !checkTypeAssignableToAndOptionallyElaborate(exprType2, returnType, node, node.expression)) {
83054
83342
  error(node, Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);
83055
83343
  }
83056
83344
  } else if (getReturnTypeFromAnnotation(container)) {
83057
- const unwrappedReturnType = unwrapReturnType(returnType, functionFlags) ?? returnType;
83058
- const unwrappedExprType = functionFlags & 2 /* Async */ ? checkAwaitedType(
83059
- exprType,
83060
- /*withAlias*/
83061
- false,
83062
- node,
83063
- Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member
83064
- ) : exprType;
83065
- if (unwrappedReturnType) {
83066
- checkTypeAssignableToAndOptionallyElaborate(unwrappedExprType, unwrappedReturnType, node, node.expression);
83067
- }
83345
+ const unwrappedReturnType = unwrapReturnType(returnType, getFunctionFlags(container)) ?? returnType;
83346
+ checkReturnExpression(container, unwrappedReturnType, node, node.expression, exprType);
83068
83347
  }
83069
83348
  } else if (container.kind !== 176 /* Constructor */ && compilerOptions.noImplicitReturns && !isUnwrappedReturnTypeUndefinedVoidOrAny(container, returnType)) {
83070
83349
  error(node, Diagnostics.Not_all_code_paths_return_a_value);
83071
83350
  }
83072
83351
  }
83352
+ function checkReturnExpression(container, unwrappedReturnType, node, expr, exprType, inConditionalExpression = false) {
83353
+ const excludeJSDocTypeAssertions = isInJSFile(node);
83354
+ const functionFlags = getFunctionFlags(container);
83355
+ if (expr) {
83356
+ const unwrappedExpr = skipParentheses(expr, excludeJSDocTypeAssertions);
83357
+ if (isConditionalExpression(unwrappedExpr)) {
83358
+ checkReturnExpression(
83359
+ container,
83360
+ unwrappedReturnType,
83361
+ node,
83362
+ unwrappedExpr.whenTrue,
83363
+ checkExpression(unwrappedExpr.whenTrue),
83364
+ /*inConditionalExpression*/
83365
+ true
83366
+ );
83367
+ checkReturnExpression(
83368
+ container,
83369
+ unwrappedReturnType,
83370
+ node,
83371
+ unwrappedExpr.whenFalse,
83372
+ checkExpression(unwrappedExpr.whenFalse),
83373
+ /*inConditionalExpression*/
83374
+ true
83375
+ );
83376
+ return;
83377
+ }
83378
+ }
83379
+ const inReturnStatement = node.kind === 253 /* ReturnStatement */;
83380
+ const unwrappedExprType = functionFlags & 2 /* Async */ ? checkAwaitedType(
83381
+ exprType,
83382
+ /*withAlias*/
83383
+ false,
83384
+ node,
83385
+ Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member
83386
+ ) : exprType;
83387
+ const effectiveExpr = expr && getEffectiveCheckNode(expr);
83388
+ const errorNode = inReturnStatement && !inConditionalExpression ? node : effectiveExpr;
83389
+ checkTypeAssignableToAndOptionallyElaborate(unwrappedExprType, unwrappedReturnType, errorNode, effectiveExpr);
83390
+ }
83073
83391
  function checkWithStatement(node) {
83074
83392
  if (!checkGrammarStatementInAmbientContext(node)) {
83075
83393
  if (node.flags & 65536 /* AwaitContext */) {
@@ -83201,7 +83519,7 @@ function createTypeChecker(host) {
83201
83519
  const typeDeclaration = symbol.valueDeclaration;
83202
83520
  if (typeDeclaration && isClassLike(typeDeclaration)) {
83203
83521
  for (const member of typeDeclaration.members) {
83204
- if (!isStatic(member) && !hasBindableName(member)) {
83522
+ if ((!isStaticIndex && !isStatic(member) || isStaticIndex && isStatic(member)) && !hasBindableName(member)) {
83205
83523
  const symbol2 = getSymbolOfDeclaration(member);
83206
83524
  checkIndexConstraintForProperty(type, symbol2, getTypeOfExpression(member.name.expression), getNonMissingTypeOfSymbol(symbol2));
83207
83525
  }
@@ -83652,6 +83970,13 @@ function createTypeChecker(host) {
83652
83970
  function checkMemberForOverrideModifier(node, staticType, baseStaticType, baseWithThis, type, typeWithThis, memberHasOverrideModifier, memberHasAbstractModifier, memberIsStatic, memberIsParameterProperty, member, errorNode) {
83653
83971
  const isJs = isInJSFile(node);
83654
83972
  const nodeInAmbientContext = !!(node.flags & 33554432 /* Ambient */);
83973
+ if (memberHasOverrideModifier && (member == null ? void 0 : member.valueDeclaration) && isClassElement(member.valueDeclaration) && member.valueDeclaration.name && isNonBindableDynamicName(member.valueDeclaration.name)) {
83974
+ error(
83975
+ errorNode,
83976
+ isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic : Diagnostics.This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic
83977
+ );
83978
+ return 2 /* HasInvalidOverride */;
83979
+ }
83655
83980
  if (baseWithThis && (memberHasOverrideModifier || compilerOptions.noImplicitOverride)) {
83656
83981
  const thisType = memberIsStatic ? staticType : typeWithThis;
83657
83982
  const baseType = memberIsStatic ? baseStaticType : baseWithThis;
@@ -84244,6 +84569,9 @@ function createTypeChecker(host) {
84244
84569
  checkCollisionsForDeclarationName(node, node.name);
84245
84570
  checkExportsOnMergedDeclarations(node);
84246
84571
  node.members.forEach(checkEnumMember);
84572
+ if (compilerOptions.erasableSyntaxOnly && !(node.flags & 33554432 /* Ambient */)) {
84573
+ error(node, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);
84574
+ }
84247
84575
  computeEnumMemberValues(node);
84248
84576
  const enumSymbol = getSymbolOfDeclaration(node);
84249
84577
  const firstDeclaration = getDeclarationOfKind(enumSymbol, node.kind);
@@ -84345,6 +84673,9 @@ function createTypeChecker(host) {
84345
84673
  checkExportsOnMergedDeclarations(node);
84346
84674
  const symbol = getSymbolOfDeclaration(node);
84347
84675
  if (symbol.flags & 512 /* ValueModule */ && !inAmbientContext && isInstantiatedModule(node, shouldPreserveConstEnums(compilerOptions))) {
84676
+ if (compilerOptions.erasableSyntaxOnly) {
84677
+ error(node.name, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);
84678
+ }
84348
84679
  if (getIsolatedModules(compilerOptions) && !getSourceFileOfNode(node).externalModuleIndicator) {
84349
84680
  error(node.name, Diagnostics.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement, isolatedModulesLikeFlagName);
84350
84681
  }
@@ -84658,10 +84989,20 @@ function createTypeChecker(host) {
84658
84989
  if (validForTypeAttributes && override) {
84659
84990
  return;
84660
84991
  }
84661
- const mode = moduleKind === 199 /* NodeNext */ && declaration.moduleSpecifier && getEmitSyntaxForModuleSpecifierExpression(declaration.moduleSpecifier);
84662
- if (mode !== 99 /* ESNext */ && moduleKind !== 99 /* ESNext */ && moduleKind !== 200 /* Preserve */) {
84663
- const message = isImportAttributes2 ? moduleKind === 199 /* NodeNext */ ? Diagnostics.Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls : Diagnostics.Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve : moduleKind === 199 /* NodeNext */ ? Diagnostics.Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls : Diagnostics.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve;
84664
- return grammarErrorOnNode(node, message);
84992
+ if (!moduleSupportsImportAttributes(moduleKind)) {
84993
+ return grammarErrorOnNode(
84994
+ node,
84995
+ isImportAttributes2 ? Diagnostics.Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_nodenext_or_preserve : Diagnostics.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_nodenext_or_preserve
84996
+ );
84997
+ }
84998
+ if (moduleKind === 199 /* NodeNext */ && !isImportAttributes2) {
84999
+ return grammarErrorOnFirstToken(node, Diagnostics.Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert);
85000
+ }
85001
+ if (declaration.moduleSpecifier && getEmitSyntaxForModuleSpecifierExpression(declaration.moduleSpecifier) === 1 /* CommonJS */) {
85002
+ return grammarErrorOnNode(
85003
+ node,
85004
+ isImportAttributes2 ? Diagnostics.Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls : Diagnostics.Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls
85005
+ );
84665
85006
  }
84666
85007
  const isTypeOnly = isJSDocImportTag(declaration) || (isImportDeclaration(declaration) ? (_a = declaration.importClause) == null ? void 0 : _a.isTypeOnly : declaration.isTypeOnly);
84667
85008
  if (isTypeOnly) {
@@ -84702,7 +85043,7 @@ function createTypeChecker(host) {
84702
85043
  }
84703
85044
  }
84704
85045
  }
84705
- if (isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node)) {
85046
+ if (!importClause.isTypeOnly && 101 /* Node18 */ <= moduleKind && moduleKind <= 199 /* NodeNext */ && isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node)) {
84706
85047
  error(node.moduleSpecifier, Diagnostics.Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0, ModuleKind[moduleKind]);
84707
85048
  }
84708
85049
  } else if (noUncheckedSideEffectImports && !importClause) {
@@ -84722,6 +85063,9 @@ function createTypeChecker(host) {
84722
85063
  return;
84723
85064
  }
84724
85065
  checkGrammarModifiers(node);
85066
+ if (compilerOptions.erasableSyntaxOnly && !(node.flags & 33554432 /* Ambient */)) {
85067
+ error(node, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);
85068
+ }
84725
85069
  if (isInternalModuleImportEqualsDeclaration(node) || checkExternalImportOrExportDeclaration(node)) {
84726
85070
  checkImportBinding(node);
84727
85071
  markLinkedReferences(node, 6 /* ExportImportEquals */);
@@ -84842,6 +85186,9 @@ function createTypeChecker(host) {
84842
85186
  if (checkGrammarModuleElementContext(node, illegalContextMessage)) {
84843
85187
  return;
84844
85188
  }
85189
+ if (compilerOptions.erasableSyntaxOnly && node.isExportEquals && !(node.flags & 33554432 /* Ambient */)) {
85190
+ error(node, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);
85191
+ }
84845
85192
  const container = node.parent.kind === 307 /* SourceFile */ ? node.parent : node.parent.parent;
84846
85193
  if (container.kind === 267 /* ModuleDeclaration */ && !isAmbientModule(container)) {
84847
85194
  if (node.isExportEquals) {
@@ -85839,7 +86186,7 @@ function createTypeChecker(host) {
85839
86186
  name,
85840
86187
  meaning,
85841
86188
  /*ignoreErrors*/
85842
- false,
86189
+ true,
85843
86190
  /*dontResolveAlias*/
85844
86191
  true
85845
86192
  );
@@ -85849,7 +86196,9 @@ function createTypeChecker(host) {
85849
86196
  return resolveEntityName(
85850
86197
  name,
85851
86198
  /*meaning*/
85852
- 1 /* FunctionScopedVariable */
86199
+ 1 /* FunctionScopedVariable */,
86200
+ /*ignoreErrors*/
86201
+ true
85853
86202
  );
85854
86203
  }
85855
86204
  return void 0;
@@ -86034,7 +86383,12 @@ function createTypeChecker(host) {
86034
86383
  }
86035
86384
  function getShorthandAssignmentValueSymbol(location) {
86036
86385
  if (location && location.kind === 304 /* ShorthandPropertyAssignment */) {
86037
- return resolveEntityName(location.name, 111551 /* Value */ | 2097152 /* Alias */);
86386
+ return resolveEntityName(
86387
+ location.name,
86388
+ 111551 /* Value */ | 2097152 /* Alias */,
86389
+ /*ignoreErrors*/
86390
+ true
86391
+ );
86038
86392
  }
86039
86393
  return void 0;
86040
86394
  }
@@ -86043,10 +86397,20 @@ function createTypeChecker(host) {
86043
86397
  const name = node.propertyName || node.name;
86044
86398
  return node.parent.parent.moduleSpecifier ? getExternalModuleMember(node.parent.parent, node) : name.kind === 11 /* StringLiteral */ ? void 0 : (
86045
86399
  // Skip for invalid syntax like this: export { "x" }
86046
- resolveEntityName(name, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */)
86400
+ resolveEntityName(
86401
+ name,
86402
+ 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */,
86403
+ /*ignoreErrors*/
86404
+ true
86405
+ )
86047
86406
  );
86048
86407
  } else {
86049
- return resolveEntityName(node, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */);
86408
+ return resolveEntityName(
86409
+ node,
86410
+ 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */,
86411
+ /*ignoreErrors*/
86412
+ true
86413
+ );
86050
86414
  }
86051
86415
  }
86052
86416
  function getTypeOfNode(node) {
@@ -86986,6 +87350,36 @@ function createTypeChecker(host) {
86986
87350
  result || (result = []);
86987
87351
  for (const info of infoList) {
86988
87352
  if (info.declaration) continue;
87353
+ if (info === anyBaseTypeIndexInfo) continue;
87354
+ if (info.components) {
87355
+ const allComponentComputedNamesSerializable = every(info.components, (e) => {
87356
+ var _a;
87357
+ return !!(e.name && isComputedPropertyName(e.name) && isEntityNameExpression(e.name.expression) && enclosing && ((_a = isEntityNameVisible(
87358
+ e.name.expression,
87359
+ enclosing,
87360
+ /*shouldComputeAliasToMakeVisible*/
87361
+ false
87362
+ )) == null ? void 0 : _a.accessibility) === 0 /* Accessible */);
87363
+ });
87364
+ if (allComponentComputedNamesSerializable) {
87365
+ const newComponents = filter(info.components, (e) => {
87366
+ return !hasLateBindableName(e);
87367
+ });
87368
+ result.push(...map(newComponents, (e) => {
87369
+ trackComputedName(e.name.expression);
87370
+ const mods = infoList === staticInfos ? [factory.createModifier(126 /* StaticKeyword */)] : void 0;
87371
+ return factory.createPropertyDeclaration(
87372
+ append(mods, info.isReadonly ? factory.createModifier(148 /* ReadonlyKeyword */) : void 0),
87373
+ e.name,
87374
+ (isPropertySignature(e) || isPropertyDeclaration(e) || isMethodSignature(e) || isMethodDeclaration(e) || isGetAccessor(e) || isSetAccessor(e)) && e.questionToken ? factory.createToken(58 /* QuestionToken */) : void 0,
87375
+ nodeBuilder.typeToTypeNode(getTypeOfSymbol(e.symbol), enclosing, flags, internalFlags, tracker),
87376
+ /*initializer*/
87377
+ void 0
87378
+ );
87379
+ }));
87380
+ continue;
87381
+ }
87382
+ }
86989
87383
  const node = nodeBuilder.indexInfoToIndexSignatureDeclaration(info, enclosing, flags, internalFlags, tracker);
86990
87384
  if (node && infoList === staticInfos) {
86991
87385
  (node.modifiers || (node.modifiers = factory.createNodeArray())).unshift(factory.createModifier(126 /* StaticKeyword */));
@@ -86996,6 +87390,22 @@ function createTypeChecker(host) {
86996
87390
  }
86997
87391
  }
86998
87392
  return result;
87393
+ function trackComputedName(accessExpression) {
87394
+ if (!tracker.trackSymbol) return;
87395
+ const firstIdentifier = getFirstIdentifier(accessExpression);
87396
+ const name = resolveName(
87397
+ firstIdentifier,
87398
+ firstIdentifier.escapedText,
87399
+ 111551 /* Value */ | 1048576 /* ExportValue */,
87400
+ /*nameNotFoundMessage*/
87401
+ void 0,
87402
+ /*isUse*/
87403
+ true
87404
+ );
87405
+ if (name) {
87406
+ tracker.trackSymbol(name, enclosing, 111551 /* Value */);
87407
+ }
87408
+ }
86999
87409
  }
87000
87410
  };
87001
87411
  function isImportRequiredByAugmentation(node) {
@@ -88077,6 +88487,7 @@ function createTypeChecker(host) {
88077
88487
  }
88078
88488
  switch (moduleKind) {
88079
88489
  case 100 /* Node16 */:
88490
+ case 101 /* Node18 */:
88080
88491
  case 199 /* NodeNext */:
88081
88492
  if (sourceFile.impliedNodeFormat === 1 /* CommonJS */) {
88082
88493
  diagnostics.add(
@@ -88095,7 +88506,7 @@ function createTypeChecker(host) {
88095
88506
  // fallthrough
88096
88507
  default:
88097
88508
  diagnostics.add(
88098
- createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher)
88509
+ createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher)
88099
88510
  );
88100
88511
  break;
88101
88512
  }
@@ -88239,7 +88650,7 @@ function createTypeChecker(host) {
88239
88650
  }
88240
88651
  }
88241
88652
  function checkGrammarForInvalidDynamicName(node, message) {
88242
- if (isNonBindableDynamicName(node)) {
88653
+ if (isNonBindableDynamicName(node) && !isEntityNameExpression(isElementAccessExpression(node) ? skipParentheses(node.argumentExpression) : node.expression)) {
88243
88654
  return grammarErrorOnNode(node, message);
88244
88655
  }
88245
88656
  }
@@ -88698,17 +89109,17 @@ function createTypeChecker(host) {
88698
89109
  return grammarErrorOnNode(node, Diagnostics.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);
88699
89110
  }
88700
89111
  if (moduleKind === 5 /* ES2015 */) {
88701
- return grammarErrorOnNode(node, Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext);
89112
+ return grammarErrorOnNode(node, Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_node18_or_nodenext);
88702
89113
  }
88703
89114
  if (node.typeArguments) {
88704
89115
  return grammarErrorOnNode(node, Diagnostics.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);
88705
89116
  }
88706
89117
  const nodeArguments = node.arguments;
88707
- if (moduleKind !== 99 /* ESNext */ && moduleKind !== 199 /* NodeNext */ && moduleKind !== 100 /* Node16 */ && moduleKind !== 200 /* Preserve */) {
89118
+ if (!(100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) && moduleKind !== 99 /* ESNext */ && moduleKind !== 200 /* Preserve */) {
88708
89119
  checkGrammarForDisallowedTrailingComma(nodeArguments);
88709
89120
  if (nodeArguments.length > 1) {
88710
89121
  const importAttributesArgument = nodeArguments[1];
88711
- return grammarErrorOnNode(importAttributesArgument, Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodenext_or_preserve);
89122
+ return grammarErrorOnNode(importAttributesArgument, Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_nodenext_or_preserve);
88712
89123
  }
88713
89124
  }
88714
89125
  if (nodeArguments.length === 0 || nodeArguments.length > 2) {
@@ -93043,7 +93454,7 @@ function transformTypeScript(context) {
93043
93454
  return updated;
93044
93455
  }
93045
93456
  function visitParenthesizedExpression(node) {
93046
- const innerExpression = skipOuterExpressions(node.expression, ~(6 /* Assertions */ | 16 /* ExpressionsWithTypeArguments */));
93457
+ const innerExpression = skipOuterExpressions(node.expression, ~(38 /* Assertions */ | 16 /* ExpressionsWithTypeArguments */));
93047
93458
  if (isAssertionExpression(innerExpression) || isSatisfiesExpression(innerExpression)) {
93048
93459
  const expression = visitNode(node.expression, visitor, isExpression);
93049
93460
  Debug.assert(expression);
@@ -111465,7 +111876,7 @@ function transformECMAScriptModule(context) {
111465
111876
  if (node === (importsAndRequiresToRewriteOrShim == null ? void 0 : importsAndRequiresToRewriteOrShim[0])) {
111466
111877
  return visitImportOrRequireCall(importsAndRequiresToRewriteOrShim.shift());
111467
111878
  }
111468
- break;
111879
+ // fallthrough
111469
111880
  default:
111470
111881
  if ((importsAndRequiresToRewriteOrShim == null ? void 0 : importsAndRequiresToRewriteOrShim.length) && rangeContainsRange(node, importsAndRequiresToRewriteOrShim[0])) {
111471
111882
  return visitEachChild(node, visitor, context);
@@ -112202,11 +112613,7 @@ function createGetIsolatedDeclarationErrors(resolver) {
112202
112613
  if (isSetAccessor(node.parent)) {
112203
112614
  return createAccessorTypeError(node.parent);
112204
112615
  }
112205
- const addUndefined = resolver.requiresAddingImplicitUndefined(
112206
- node,
112207
- /*enclosingDeclaration*/
112208
- void 0
112209
- );
112616
+ const addUndefined = resolver.requiresAddingImplicitUndefined(node, node.parent);
112210
112617
  if (!addUndefined && node.initializer) {
112211
112618
  return createExpressionError(node.initializer);
112212
112619
  }
@@ -113890,6 +114297,7 @@ function getModuleTransformer(moduleKind) {
113890
114297
  case 6 /* ES2020 */:
113891
114298
  case 5 /* ES2015 */:
113892
114299
  case 100 /* Node16 */:
114300
+ case 101 /* Node18 */:
113893
114301
  case 199 /* NodeNext */:
113894
114302
  case 1 /* CommonJS */:
113895
114303
  return transformImpliedNodeFormatDependentModule;
@@ -120396,45 +120804,6 @@ function loadWithModeAwareCache(entries, containingFile, redirectedReference, op
120396
120804
  }
120397
120805
  return resolutions;
120398
120806
  }
120399
- function forEachResolvedProjectReference(resolvedProjectReferences, cb) {
120400
- return forEachProjectReference(
120401
- /*projectReferences*/
120402
- void 0,
120403
- resolvedProjectReferences,
120404
- (resolvedRef, parent) => resolvedRef && cb(resolvedRef, parent)
120405
- );
120406
- }
120407
- function forEachProjectReference(projectReferences, resolvedProjectReferences, cbResolvedRef, cbRef) {
120408
- let seenResolvedRefs;
120409
- return worker(
120410
- projectReferences,
120411
- resolvedProjectReferences,
120412
- /*parent*/
120413
- void 0
120414
- );
120415
- function worker(projectReferences2, resolvedProjectReferences2, parent) {
120416
- if (cbRef) {
120417
- const result = cbRef(projectReferences2, parent);
120418
- if (result) return result;
120419
- }
120420
- let skipChildren;
120421
- return forEach(
120422
- resolvedProjectReferences2,
120423
- (resolvedRef, index) => {
120424
- if (resolvedRef && (seenResolvedRefs == null ? void 0 : seenResolvedRefs.has(resolvedRef.sourceFile.path))) {
120425
- (skipChildren ?? (skipChildren = /* @__PURE__ */ new Set())).add(resolvedRef);
120426
- return void 0;
120427
- }
120428
- const result = cbResolvedRef(resolvedRef, parent, index);
120429
- if (result || !resolvedRef) return result;
120430
- (seenResolvedRefs || (seenResolvedRefs = /* @__PURE__ */ new Set())).add(resolvedRef.sourceFile.path);
120431
- }
120432
- ) || forEach(
120433
- resolvedProjectReferences2,
120434
- (resolvedRef) => resolvedRef && !(skipChildren == null ? void 0 : skipChildren.has(resolvedRef)) ? worker(resolvedRef.commandLine.projectReferences, resolvedRef.references, resolvedRef) : void 0
120435
- );
120436
- }
120437
- }
120438
120807
  var inferredTypesContainingFile = "__inferred type names__.ts";
120439
120808
  function getInferredLibraryNameResolveFrom(options, currentDirectory, libFileName) {
120440
120809
  const containingDirectory = options.configFilePath ? getDirectoryPath(options.configFilePath) : currentDirectory;
@@ -120450,13 +120819,6 @@ function getLibraryNameFromLibFileName(libFileName) {
120450
120819
  }
120451
120820
  return "@typescript/lib-" + path;
120452
120821
  }
120453
- function getLibNameFromLibReference(libReference) {
120454
- return toFileNameLowerCase(libReference.fileName);
120455
- }
120456
- function getLibFileNameFromLibReference(libReference) {
120457
- const libName = getLibNameFromLibReference(libReference);
120458
- return libMap.get(libName);
120459
- }
120460
120822
  function isReferencedFile(reason) {
120461
120823
  switch (reason == null ? void 0 : reason.kind) {
120462
120824
  case 3 /* Import */:
@@ -120670,11 +121032,13 @@ function createCreateProgramOptions(rootNames, options, host, oldProgram, config
120670
121032
  typeScriptVersion: typeScriptVersion2
120671
121033
  };
120672
121034
  }
120673
- function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) {
121035
+ function createProgram(_rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) {
120674
121036
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
120675
- const createProgramOptions = isArray(rootNamesOrOptions) ? createCreateProgramOptions(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) : rootNamesOrOptions;
120676
- const { rootNames, options, configFileParsingDiagnostics, projectReferences, typeScriptVersion: typeScriptVersion2 } = createProgramOptions;
120677
- let { oldProgram } = createProgramOptions;
121037
+ let _createProgramOptions = isArray(_rootNamesOrOptions) ? createCreateProgramOptions(_rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) : _rootNamesOrOptions;
121038
+ const { rootNames, options, configFileParsingDiagnostics, projectReferences, typeScriptVersion: typeScriptVersion2, host: createProgramOptionsHost } = _createProgramOptions;
121039
+ let { oldProgram } = _createProgramOptions;
121040
+ _createProgramOptions = void 0;
121041
+ _rootNamesOrOptions = void 0;
120678
121042
  for (const option of commandLineOptionOfCustomType) {
120679
121043
  if (hasProperty(options, option.name)) {
120680
121044
  if (typeof options[option.name] === "string") {
@@ -120687,16 +121051,12 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
120687
121051
  let processingOtherFiles;
120688
121052
  let files;
120689
121053
  let symlinks;
120690
- let commonSourceDirectory;
120691
121054
  let typeChecker;
120692
121055
  let classifiableNames;
120693
- let fileReasons = createMultiMap();
120694
121056
  let filesWithReferencesProcessed;
120695
- let fileReasonsToChain;
120696
- let reasonToRelatedInfo;
120697
121057
  let cachedBindAndCheckDiagnosticsForFile;
120698
121058
  let cachedDeclarationDiagnosticsForFile;
120699
- let fileProcessingDiagnostics;
121059
+ const programDiagnostics = createProgramDiagnostics(getCompilerOptionsObjectLiteralSyntax);
120700
121060
  let automaticTypeDirectiveNames;
120701
121061
  let automaticTypeDirectiveResolutions;
120702
121062
  let resolvedLibReferences;
@@ -120718,13 +121078,12 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
120718
121078
  true
120719
121079
  );
120720
121080
  mark("beforeProgram");
120721
- const host = createProgramOptions.host || createCompilerHost(options);
121081
+ const host = createProgramOptionsHost || createCompilerHost(options);
120722
121082
  const configParsingHost = parseConfigHostFromCompilerHostLike(host);
120723
121083
  let skipDefaultLib = options.noLib;
120724
121084
  const getDefaultLibraryFileName = memoize(() => host.getDefaultLibFileName(options));
120725
121085
  const defaultLibraryPath = host.getDefaultLibLocation ? host.getDefaultLibLocation() : getDirectoryPath(getDefaultLibraryFileName());
120726
- const programDiagnostics = createDiagnosticCollection();
120727
- let lazyProgramDiagnosticExplainingFile = [];
121086
+ let skipVerifyCompilerOptions = false;
120728
121087
  const currentDirectory = host.getCurrentDirectory();
120729
121088
  const supportedExtensions = getSupportedExtensions(options);
120730
121089
  const supportedExtensionsWithJsonIfResolveJsonModule = getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions);
@@ -121002,7 +121361,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
121002
121361
  getTypeCount: () => getTypeChecker().getTypeCount(),
121003
121362
  getInstantiationCount: () => getTypeChecker().getInstantiationCount(),
121004
121363
  getRelationCacheSizes: () => getTypeChecker().getRelationCacheSizes(),
121005
- getFileProcessingDiagnostics: () => fileProcessingDiagnostics,
121364
+ getFileProcessingDiagnostics: () => programDiagnostics.getFileProcessingDiagnostics(),
121006
121365
  getAutomaticTypeDirectiveNames: () => automaticTypeDirectiveNames,
121007
121366
  getAutomaticTypeDirectiveResolutions: () => automaticTypeDirectiveResolutions,
121008
121367
  isSourceFileFromExternalLibrary,
@@ -121018,6 +121377,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
121018
121377
  resolvedModules,
121019
121378
  resolvedTypeReferenceDirectiveNames,
121020
121379
  resolvedLibReferences,
121380
+ getProgramDiagnosticsContainer: () => programDiagnostics,
121021
121381
  getResolvedModule,
121022
121382
  getResolvedModuleFromModuleSpecifier,
121023
121383
  getResolvedTypeReferenceDirective,
@@ -121050,70 +121410,19 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
121050
121410
  realpath: (_o = host.realpath) == null ? void 0 : _o.bind(host),
121051
121411
  useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(),
121052
121412
  getCanonicalFileName,
121053
- getFileIncludeReasons: () => fileReasons,
121413
+ getFileIncludeReasons: () => programDiagnostics.getFileReasons(),
121054
121414
  structureIsReused,
121055
121415
  writeFile: writeFile2,
121056
121416
  getGlobalTypingsCacheLocation: maybeBind(host, host.getGlobalTypingsCacheLocation)
121057
121417
  };
121058
121418
  onProgramCreateComplete();
121059
- verifyCompilerOptions();
121419
+ if (!skipVerifyCompilerOptions) {
121420
+ verifyCompilerOptions();
121421
+ }
121060
121422
  mark("afterProgram");
121061
121423
  measure("Program", "beforeProgram", "afterProgram");
121062
121424
  (_p = tracing) == null ? void 0 : _p.pop();
121063
121425
  return program;
121064
- function updateAndGetProgramDiagnostics() {
121065
- if (lazyProgramDiagnosticExplainingFile) {
121066
- fileProcessingDiagnostics == null ? void 0 : fileProcessingDiagnostics.forEach((diagnostic) => {
121067
- switch (diagnostic.kind) {
121068
- case 1 /* FilePreprocessingFileExplainingDiagnostic */:
121069
- return programDiagnostics.add(
121070
- createDiagnosticExplainingFile(
121071
- diagnostic.file && getSourceFileByPath(diagnostic.file),
121072
- diagnostic.fileProcessingReason,
121073
- diagnostic.diagnostic,
121074
- diagnostic.args || emptyArray
121075
- )
121076
- );
121077
- case 0 /* FilePreprocessingLibReferenceDiagnostic */:
121078
- return programDiagnostics.add(filePreprocessingLibreferenceDiagnostic(diagnostic));
121079
- case 2 /* ResolutionDiagnostics */:
121080
- return diagnostic.diagnostics.forEach((d) => programDiagnostics.add(d));
121081
- default:
121082
- Debug.assertNever(diagnostic);
121083
- }
121084
- });
121085
- lazyProgramDiagnosticExplainingFile.forEach(
121086
- ({ file, diagnostic, args }) => programDiagnostics.add(
121087
- createDiagnosticExplainingFile(
121088
- file,
121089
- /*fileProcessingReason*/
121090
- void 0,
121091
- diagnostic,
121092
- args
121093
- )
121094
- )
121095
- );
121096
- lazyProgramDiagnosticExplainingFile = void 0;
121097
- fileReasonsToChain = void 0;
121098
- reasonToRelatedInfo = void 0;
121099
- }
121100
- return programDiagnostics;
121101
- }
121102
- function filePreprocessingLibreferenceDiagnostic({ reason }) {
121103
- const { file, pos, end } = getReferencedFileLocation(program, reason);
121104
- const libReference = file.libReferenceDirectives[reason.index];
121105
- const libName = getLibNameFromLibReference(libReference);
121106
- const unqualifiedLibName = removeSuffix(removePrefix(libName, "lib."), ".d.ts");
121107
- const suggestion = getSpellingSuggestion(unqualifiedLibName, libs, identity);
121108
- return createFileDiagnostic(
121109
- file,
121110
- Debug.checkDefined(pos),
121111
- Debug.checkDefined(end) - pos,
121112
- suggestion ? Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1 : Diagnostics.Cannot_find_lib_definition_for_0,
121113
- libName,
121114
- suggestion
121115
- );
121116
- }
121117
121426
  function getResolvedModule(file, moduleName, mode) {
121118
121427
  var _a2;
121119
121428
  return (_a2 = resolvedModules == null ? void 0 : resolvedModules.get(file.path)) == null ? void 0 : _a2.get(moduleName, mode);
@@ -121162,7 +121471,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
121162
121471
  function addResolutionDiagnostics(resolution) {
121163
121472
  var _a2;
121164
121473
  if (!((_a2 = resolution.resolutionDiagnostics) == null ? void 0 : _a2.length)) return;
121165
- (fileProcessingDiagnostics ?? (fileProcessingDiagnostics = [])).push({
121474
+ programDiagnostics.addFileProcessingDiagnostic({
121166
121475
  kind: 2 /* ResolutionDiagnostics */,
121167
121476
  diagnostics: resolution.resolutionDiagnostics
121168
121477
  });
@@ -121256,16 +121565,19 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
121256
121565
  return toPath(fileName, currentDirectory, getCanonicalFileName);
121257
121566
  }
121258
121567
  function getCommonSourceDirectory2() {
121259
- if (commonSourceDirectory === void 0) {
121260
- const emittedFiles = filter(files, (file) => sourceFileMayBeEmitted(file, program));
121261
- commonSourceDirectory = getCommonSourceDirectory(
121262
- options,
121263
- () => mapDefined(emittedFiles, (file) => file.isDeclarationFile ? void 0 : file.fileName),
121264
- currentDirectory,
121265
- getCanonicalFileName,
121266
- (commonSourceDirectory2) => checkSourceFilesBelongToPath(emittedFiles, commonSourceDirectory2)
121267
- );
121568
+ let commonSourceDirectory = programDiagnostics.getCommonSourceDirectory();
121569
+ if (commonSourceDirectory !== void 0) {
121570
+ return commonSourceDirectory;
121268
121571
  }
121572
+ const emittedFiles = filter(files, (file) => sourceFileMayBeEmitted(file, program));
121573
+ commonSourceDirectory = getCommonSourceDirectory(
121574
+ options,
121575
+ () => mapDefined(emittedFiles, (file) => file.isDeclarationFile ? void 0 : file.fileName),
121576
+ currentDirectory,
121577
+ getCanonicalFileName,
121578
+ (commonSourceDirectory2) => checkSourceFilesBelongToPath(emittedFiles, commonSourceDirectory2)
121579
+ );
121580
+ programDiagnostics.setCommonSourceDirectory(commonSourceDirectory);
121269
121581
  return commonSourceDirectory;
121270
121582
  }
121271
121583
  function getClassifiableNames() {
@@ -121576,9 +121888,10 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
121576
121888
  }
121577
121889
  filesByName.set(path, filesByName.get(oldFile.path));
121578
121890
  });
121891
+ const isConfigIdentical = oldOptions.configFile && oldOptions.configFile === options.configFile || !oldOptions.configFile && !options.configFile && !optionsHaveChanges(oldOptions, options, optionDeclarations);
121892
+ programDiagnostics.reuseStateFromOldProgram(oldProgram.getProgramDiagnosticsContainer(), isConfigIdentical);
121893
+ skipVerifyCompilerOptions = isConfigIdentical;
121579
121894
  files = newSourceFiles;
121580
- fileReasons = oldProgram.getFileIncludeReasons();
121581
- fileProcessingDiagnostics = oldProgram.getFileProcessingDiagnostics();
121582
121895
  automaticTypeDirectiveNames = oldProgram.getAutomaticTypeDirectiveNames();
121583
121896
  automaticTypeDirectiveResolutions = oldProgram.getAutomaticTypeDirectiveResolutions();
121584
121897
  sourceFileToPackageName = oldProgram.sourceFileToPackageName;
@@ -121794,7 +122107,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
121794
122107
  if (skipTypeChecking(sourceFile, options, program)) {
121795
122108
  return emptyArray;
121796
122109
  }
121797
- const programDiagnosticsInFile = updateAndGetProgramDiagnostics().getDiagnostics(sourceFile.fileName);
122110
+ const programDiagnosticsInFile = programDiagnostics.getCombinedDiagnostics(program).getDiagnostics(sourceFile.fileName);
121798
122111
  if (!((_a2 = sourceFile.commentDirectives) == null ? void 0 : _a2.length)) {
121799
122112
  return programDiagnosticsInFile;
121800
122113
  }
@@ -122152,15 +122465,15 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
122152
122465
  }
122153
122466
  function getOptionsDiagnostics() {
122154
122467
  return sortAndDeduplicateDiagnostics(concatenate(
122155
- updateAndGetProgramDiagnostics().getGlobalDiagnostics(),
122468
+ programDiagnostics.getCombinedDiagnostics(program).getGlobalDiagnostics(),
122156
122469
  getOptionsDiagnosticsOfConfigFile()
122157
122470
  ));
122158
122471
  }
122159
122472
  function getOptionsDiagnosticsOfConfigFile() {
122160
122473
  if (!options.configFile) return emptyArray;
122161
- let diagnostics = updateAndGetProgramDiagnostics().getDiagnostics(options.configFile.fileName);
122474
+ let diagnostics = programDiagnostics.getCombinedDiagnostics(program).getDiagnostics(options.configFile.fileName);
122162
122475
  forEachResolvedProjectReference2((resolvedRef) => {
122163
- diagnostics = concatenate(diagnostics, updateAndGetProgramDiagnostics().getDiagnostics(resolvedRef.sourceFile.fileName));
122476
+ diagnostics = concatenate(diagnostics, programDiagnostics.getCombinedDiagnostics(program).getDiagnostics(resolvedRef.sourceFile.fileName));
122164
122477
  });
122165
122478
  return diagnostics;
122166
122479
  }
@@ -122367,7 +122680,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
122367
122680
  );
122368
122681
  }
122369
122682
  function reportFileNamesDifferOnlyInCasingError(fileName, existingFile, reason) {
122370
- const hasExistingReasonToReportErrorOn = !isReferencedFile(reason) && some(fileReasons.get(existingFile.path), isReferencedFile);
122683
+ const hasExistingReasonToReportErrorOn = !isReferencedFile(reason) && some(programDiagnostics.getFileReasons().get(existingFile.path), isReferencedFile);
122371
122684
  if (hasExistingReasonToReportErrorOn) {
122372
122685
  addFilePreprocessingFileExplainingDiagnostic(existingFile, reason, Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing, [existingFile.fileName, fileName]);
122373
122686
  } else {
@@ -122554,7 +122867,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
122554
122867
  }
122555
122868
  function addFileIncludeReason(file, reason, checkExisting) {
122556
122869
  if (file && (!checkExisting || !isReferencedFile(reason) || !(filesWithReferencesProcessed == null ? void 0 : filesWithReferencesProcessed.has(reason.file)))) {
122557
- fileReasons.add(file.path, reason);
122870
+ programDiagnostics.getFileReasons().add(file.path, reason);
122558
122871
  return true;
122559
122872
  }
122560
122873
  return false;
@@ -122706,6 +123019,16 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
122706
123019
  var _a2, _b2, _c2, _d2, _e2;
122707
123020
  const existing = resolvedLibProcessing == null ? void 0 : resolvedLibProcessing.get(libFileName);
122708
123021
  if (existing) return existing;
123022
+ if (options.libReplacement === false) {
123023
+ const result2 = {
123024
+ resolution: {
123025
+ resolvedModule: void 0
123026
+ },
123027
+ actual: combinePaths(defaultLibraryPath, libFileName)
123028
+ };
123029
+ (resolvedLibProcessing ?? (resolvedLibProcessing = /* @__PURE__ */ new Map())).set(libFileName, result2);
123030
+ return result2;
123031
+ }
122709
123032
  if (structureIsReused !== 0 /* Not */ && oldProgram && !hasInvalidatedLibResolutions(libFileName)) {
122710
123033
  const oldResolution = (_a2 = oldProgram.resolvedLibReferences) == null ? void 0 : _a2.get(libFileName);
122711
123034
  if (oldResolution) {
@@ -122753,7 +123076,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
122753
123076
  { kind: 7 /* LibReferenceDirective */, file: file.path, index }
122754
123077
  );
122755
123078
  } else {
122756
- (fileProcessingDiagnostics || (fileProcessingDiagnostics = [])).push({
123079
+ programDiagnostics.addFileProcessingDiagnostic({
122757
123080
  kind: 0 /* FilePreprocessingLibReferenceDiagnostic */,
122758
123081
  reason: { kind: 7 /* LibReferenceDirective */, file: file.path, index }
122759
123082
  });
@@ -122816,10 +123139,11 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
122816
123139
  if (!sourceFile.isDeclarationFile) {
122817
123140
  const absoluteSourceFilePath = host.getCanonicalFileName(getNormalizedAbsolutePath(sourceFile.fileName, currentDirectory));
122818
123141
  if (absoluteSourceFilePath.indexOf(absoluteRootDirectoryPath) !== 0) {
122819
- addLazyProgramDiagnosticExplainingFile(
123142
+ programDiagnostics.addLazyConfigDiagnostic(
122820
123143
  sourceFile,
122821
123144
  Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,
122822
- [sourceFile.fileName, rootDirectory]
123145
+ sourceFile.fileName,
123146
+ rootDirectory
122823
123147
  );
122824
123148
  allFilesBelongToPath = false;
122825
123149
  }
@@ -122934,7 +123258,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
122934
123258
  }
122935
123259
  const outputFile = options.outFile;
122936
123260
  if (!options.tsBuildInfoFile && options.incremental && !outputFile && !options.configFilePath) {
122937
- programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));
123261
+ programDiagnostics.addConfigDiagnostic(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));
122938
123262
  }
122939
123263
  verifyDeprecatedCompilerOptions();
122940
123264
  verifyProjectReferences();
@@ -122942,10 +123266,11 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
122942
123266
  const rootPaths = new Set(rootNames.map(toPath3));
122943
123267
  for (const file of files) {
122944
123268
  if (sourceFileMayBeEmitted(file, program) && !rootPaths.has(file.path)) {
122945
- addLazyProgramDiagnosticExplainingFile(
123269
+ programDiagnostics.addLazyConfigDiagnostic(
122946
123270
  file,
122947
123271
  Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,
122948
- [file.fileName, options.configFilePath || ""]
123272
+ file.fileName,
123273
+ options.configFilePath || ""
122949
123274
  );
122950
123275
  }
122951
123276
  }
@@ -123036,14 +123361,14 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
123036
123361
  }
123037
123362
  } else if (firstNonAmbientExternalModuleSourceFile && languageVersion < 2 /* ES2015 */ && options.module === 0 /* None */) {
123038
123363
  const span = getErrorSpanForNode(firstNonAmbientExternalModuleSourceFile, typeof firstNonAmbientExternalModuleSourceFile.externalModuleIndicator === "boolean" ? firstNonAmbientExternalModuleSourceFile : firstNonAmbientExternalModuleSourceFile.externalModuleIndicator);
123039
- programDiagnostics.add(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none));
123364
+ programDiagnostics.addConfigDiagnostic(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none));
123040
123365
  }
123041
123366
  if (outputFile && !options.emitDeclarationOnly) {
123042
123367
  if (options.module && !(options.module === 2 /* AMD */ || options.module === 4 /* System */)) {
123043
123368
  createDiagnosticForOptionName(Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0, "outFile", "module");
123044
123369
  } else if (options.module === void 0 && firstNonAmbientExternalModuleSourceFile) {
123045
123370
  const span = getErrorSpanForNode(firstNonAmbientExternalModuleSourceFile, typeof firstNonAmbientExternalModuleSourceFile.externalModuleIndicator === "boolean" ? firstNonAmbientExternalModuleSourceFile : firstNonAmbientExternalModuleSourceFile.externalModuleIndicator);
123046
- programDiagnostics.add(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system, "outFile"));
123371
+ programDiagnostics.addConfigDiagnostic(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system, "outFile"));
123047
123372
  }
123048
123373
  }
123049
123374
  if (getResolveJsonModule(options)) {
@@ -123132,7 +123457,8 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
123132
123457
  }
123133
123458
  if (ModuleKind[moduleKind] && (100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */) && !(3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */)) {
123134
123459
  const moduleKindName = ModuleKind[moduleKind];
123135
- createOptionValueDiagnostic("moduleResolution", Diagnostics.Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1, moduleKindName, moduleKindName);
123460
+ const moduleResolutionName = ModuleResolutionKind[moduleKindName] ? moduleKindName : "Node16";
123461
+ createOptionValueDiagnostic("moduleResolution", Diagnostics.Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1, moduleResolutionName, moduleKindName);
123136
123462
  } else if (ModuleResolutionKind[moduleResolution] && (3 /* Node16 */ <= moduleResolution && moduleResolution <= 99 /* NodeNext */) && !(100 /* Node16 */ <= moduleKind && moduleKind <= 199 /* NodeNext */)) {
123137
123463
  const moduleResolutionName = ModuleResolutionKind[moduleResolution];
123138
123464
  createOptionValueDiagnostic("module", Diagnostics.Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1, moduleResolutionName, moduleResolutionName);
@@ -123294,90 +123620,8 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
123294
123620
  }
123295
123621
  });
123296
123622
  }
123297
- function createDiagnosticExplainingFile(file, fileProcessingReason, diagnostic, args) {
123298
- let seenReasons;
123299
- const reasons = file && fileReasons.get(file.path);
123300
- let fileIncludeReasons;
123301
- let relatedInfo;
123302
- let locationReason = isReferencedFile(fileProcessingReason) ? fileProcessingReason : void 0;
123303
- let fileIncludeReasonDetails;
123304
- let redirectInfo;
123305
- let cachedChain = file && (fileReasonsToChain == null ? void 0 : fileReasonsToChain.get(file.path));
123306
- let chain;
123307
- if (cachedChain) {
123308
- if (cachedChain.fileIncludeReasonDetails) {
123309
- seenReasons = new Set(reasons);
123310
- reasons == null ? void 0 : reasons.forEach(populateRelatedInfo);
123311
- } else {
123312
- reasons == null ? void 0 : reasons.forEach(processReason);
123313
- }
123314
- redirectInfo = cachedChain.redirectInfo;
123315
- } else {
123316
- reasons == null ? void 0 : reasons.forEach(processReason);
123317
- redirectInfo = file && explainIfFileIsRedirectAndImpliedFormat(file, getCompilerOptionsForFile(file));
123318
- }
123319
- if (fileProcessingReason) processReason(fileProcessingReason);
123320
- const processedExtraReason = (seenReasons == null ? void 0 : seenReasons.size) !== (reasons == null ? void 0 : reasons.length);
123321
- if (locationReason && (seenReasons == null ? void 0 : seenReasons.size) === 1) seenReasons = void 0;
123322
- if (seenReasons && cachedChain) {
123323
- if (cachedChain.details && !processedExtraReason) {
123324
- chain = chainDiagnosticMessages(cachedChain.details, diagnostic, ...args || emptyArray);
123325
- } else if (cachedChain.fileIncludeReasonDetails) {
123326
- if (!processedExtraReason) {
123327
- if (!cachedFileIncludeDetailsHasProcessedExtraReason()) {
123328
- fileIncludeReasonDetails = cachedChain.fileIncludeReasonDetails;
123329
- } else {
123330
- fileIncludeReasons = cachedChain.fileIncludeReasonDetails.next.slice(0, reasons.length);
123331
- }
123332
- } else {
123333
- if (!cachedFileIncludeDetailsHasProcessedExtraReason()) {
123334
- fileIncludeReasons = [...cachedChain.fileIncludeReasonDetails.next, fileIncludeReasons[0]];
123335
- } else {
123336
- fileIncludeReasons = append(cachedChain.fileIncludeReasonDetails.next.slice(0, reasons.length), fileIncludeReasons[0]);
123337
- }
123338
- }
123339
- }
123340
- }
123341
- if (!chain) {
123342
- if (!fileIncludeReasonDetails) fileIncludeReasonDetails = seenReasons && chainDiagnosticMessages(fileIncludeReasons, Diagnostics.The_file_is_in_the_program_because_Colon);
123343
- chain = chainDiagnosticMessages(
123344
- redirectInfo ? fileIncludeReasonDetails ? [fileIncludeReasonDetails, ...redirectInfo] : redirectInfo : fileIncludeReasonDetails,
123345
- diagnostic,
123346
- ...args || emptyArray
123347
- );
123348
- }
123349
- if (file) {
123350
- if (cachedChain) {
123351
- if (!cachedChain.fileIncludeReasonDetails || !processedExtraReason && fileIncludeReasonDetails) {
123352
- cachedChain.fileIncludeReasonDetails = fileIncludeReasonDetails;
123353
- }
123354
- } else {
123355
- (fileReasonsToChain ?? (fileReasonsToChain = /* @__PURE__ */ new Map())).set(file.path, cachedChain = { fileIncludeReasonDetails, redirectInfo });
123356
- }
123357
- if (!cachedChain.details && !processedExtraReason) cachedChain.details = chain.next;
123358
- }
123359
- const location = locationReason && getReferencedFileLocation(program, locationReason);
123360
- return location && isReferenceFileLocation(location) ? createFileDiagnosticFromMessageChain(location.file, location.pos, location.end - location.pos, chain, relatedInfo) : createCompilerDiagnosticFromMessageChain(chain, relatedInfo);
123361
- function processReason(reason) {
123362
- if (seenReasons == null ? void 0 : seenReasons.has(reason)) return;
123363
- (seenReasons ?? (seenReasons = /* @__PURE__ */ new Set())).add(reason);
123364
- (fileIncludeReasons ?? (fileIncludeReasons = [])).push(fileIncludeReasonToDiagnostics(program, reason));
123365
- populateRelatedInfo(reason);
123366
- }
123367
- function populateRelatedInfo(reason) {
123368
- if (!locationReason && isReferencedFile(reason)) {
123369
- locationReason = reason;
123370
- } else if (locationReason !== reason) {
123371
- relatedInfo = append(relatedInfo, getFileIncludeReasonToRelatedInformation(reason));
123372
- }
123373
- }
123374
- function cachedFileIncludeDetailsHasProcessedExtraReason() {
123375
- var _a2;
123376
- return ((_a2 = cachedChain.fileIncludeReasonDetails.next) == null ? void 0 : _a2.length) !== (reasons == null ? void 0 : reasons.length);
123377
- }
123378
- }
123379
123623
  function addFilePreprocessingFileExplainingDiagnostic(file, fileProcessingReason, diagnostic, args) {
123380
- (fileProcessingDiagnostics || (fileProcessingDiagnostics = [])).push({
123624
+ programDiagnostics.addFileProcessingDiagnostic({
123381
123625
  kind: 1 /* FilePreprocessingFileExplainingDiagnostic */,
123382
123626
  file: file && file.path,
123383
123627
  fileProcessingReason,
@@ -123385,99 +123629,6 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
123385
123629
  args
123386
123630
  });
123387
123631
  }
123388
- function addLazyProgramDiagnosticExplainingFile(file, diagnostic, args) {
123389
- lazyProgramDiagnosticExplainingFile.push({ file, diagnostic, args });
123390
- }
123391
- function getFileIncludeReasonToRelatedInformation(reason) {
123392
- let relatedInfo = reasonToRelatedInfo == null ? void 0 : reasonToRelatedInfo.get(reason);
123393
- if (relatedInfo === void 0) (reasonToRelatedInfo ?? (reasonToRelatedInfo = /* @__PURE__ */ new Map())).set(reason, relatedInfo = fileIncludeReasonToRelatedInformation(reason) ?? false);
123394
- return relatedInfo || void 0;
123395
- }
123396
- function fileIncludeReasonToRelatedInformation(reason) {
123397
- if (isReferencedFile(reason)) {
123398
- const referenceLocation = getReferencedFileLocation(program, reason);
123399
- let message2;
123400
- switch (reason.kind) {
123401
- case 3 /* Import */:
123402
- message2 = Diagnostics.File_is_included_via_import_here;
123403
- break;
123404
- case 4 /* ReferenceFile */:
123405
- message2 = Diagnostics.File_is_included_via_reference_here;
123406
- break;
123407
- case 5 /* TypeReferenceDirective */:
123408
- message2 = Diagnostics.File_is_included_via_type_library_reference_here;
123409
- break;
123410
- case 7 /* LibReferenceDirective */:
123411
- message2 = Diagnostics.File_is_included_via_library_reference_here;
123412
- break;
123413
- default:
123414
- Debug.assertNever(reason);
123415
- }
123416
- return isReferenceFileLocation(referenceLocation) ? createFileDiagnostic(
123417
- referenceLocation.file,
123418
- referenceLocation.pos,
123419
- referenceLocation.end - referenceLocation.pos,
123420
- message2
123421
- ) : void 0;
123422
- }
123423
- if (!options.configFile) return void 0;
123424
- let configFileNode;
123425
- let message;
123426
- switch (reason.kind) {
123427
- case 0 /* RootFile */:
123428
- if (!options.configFile.configFileSpecs) return void 0;
123429
- const fileName = getNormalizedAbsolutePath(rootNames[reason.index], currentDirectory);
123430
- const matchedByFiles = getMatchedFileSpec(program, fileName);
123431
- if (matchedByFiles) {
123432
- configFileNode = getTsConfigPropArrayElementValue(options.configFile, "files", matchedByFiles);
123433
- message = Diagnostics.File_is_matched_by_files_list_specified_here;
123434
- break;
123435
- }
123436
- const matchedByInclude = getMatchedIncludeSpec(program, fileName);
123437
- if (!matchedByInclude || !isString(matchedByInclude)) return void 0;
123438
- configFileNode = getTsConfigPropArrayElementValue(options.configFile, "include", matchedByInclude);
123439
- message = Diagnostics.File_is_matched_by_include_pattern_specified_here;
123440
- break;
123441
- case 1 /* SourceFromProjectReference */:
123442
- case 2 /* OutputFromProjectReference */:
123443
- const referencedResolvedRef = Debug.checkDefined(resolvedProjectReferences == null ? void 0 : resolvedProjectReferences[reason.index]);
123444
- const referenceInfo = forEachProjectReference(
123445
- projectReferences,
123446
- resolvedProjectReferences,
123447
- (resolvedRef, parent, index2) => resolvedRef === referencedResolvedRef ? { sourceFile: (parent == null ? void 0 : parent.sourceFile) || options.configFile, index: index2 } : void 0
123448
- );
123449
- if (!referenceInfo) return void 0;
123450
- const { sourceFile, index } = referenceInfo;
123451
- const referencesSyntax = forEachTsConfigPropArray(sourceFile, "references", (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0);
123452
- return referencesSyntax && referencesSyntax.elements.length > index ? createDiagnosticForNodeInSourceFile(
123453
- sourceFile,
123454
- referencesSyntax.elements[index],
123455
- reason.kind === 2 /* OutputFromProjectReference */ ? Diagnostics.File_is_output_from_referenced_project_specified_here : Diagnostics.File_is_source_from_referenced_project_specified_here
123456
- ) : void 0;
123457
- case 8 /* AutomaticTypeDirectiveFile */:
123458
- if (!options.types) return void 0;
123459
- configFileNode = getOptionsSyntaxByArrayElementValue("types", reason.typeReference);
123460
- message = Diagnostics.File_is_entry_point_of_type_library_specified_here;
123461
- break;
123462
- case 6 /* LibFile */:
123463
- if (reason.index !== void 0) {
123464
- configFileNode = getOptionsSyntaxByArrayElementValue("lib", options.lib[reason.index]);
123465
- message = Diagnostics.File_is_library_specified_here;
123466
- break;
123467
- }
123468
- const target = getNameOfScriptTarget(getEmitScriptTarget(options));
123469
- configFileNode = target ? getOptionsSyntaxByValue("target", target) : void 0;
123470
- message = Diagnostics.File_is_default_library_for_target_specified_here;
123471
- break;
123472
- default:
123473
- Debug.assertNever(reason);
123474
- }
123475
- return configFileNode && createDiagnosticForNodeInSourceFile(
123476
- options.configFile,
123477
- configFileNode,
123478
- message
123479
- );
123480
- }
123481
123632
  function verifyProjectReferences() {
123482
123633
  const buildInfoPath = !options.suppressOutputPathCheck ? getTsBuildInfoEmitOutputFilePath(options) : void 0;
123483
123634
  forEachProjectReference(
@@ -123513,7 +123664,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
123513
123664
  forEachPropertyAssignment(pathProp.initializer, key, (keyProps) => {
123514
123665
  const initializer = keyProps.initializer;
123515
123666
  if (isArrayLiteralExpression(initializer) && initializer.elements.length > valueIndex) {
123516
- programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, initializer.elements[valueIndex], message, ...args));
123667
+ programDiagnostics.addConfigDiagnostic(createDiagnosticForNodeInSourceFile(options.configFile, initializer.elements[valueIndex], message, ...args));
123517
123668
  needCompilerDiagnostic = false;
123518
123669
  }
123519
123670
  });
@@ -123542,18 +123693,8 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
123542
123693
  createCompilerOptionsDiagnostic(message, ...args);
123543
123694
  }
123544
123695
  }
123545
- function forEachOptionsSyntaxByName(name, callback) {
123546
- return forEachPropertyAssignment(getCompilerOptionsObjectLiteralSyntax(), name, callback);
123547
- }
123548
123696
  function forEachOptionPathsSyntax(callback) {
123549
- return forEachOptionsSyntaxByName("paths", callback);
123550
- }
123551
- function getOptionsSyntaxByValue(name, value) {
123552
- return forEachOptionsSyntaxByName(name, (property) => isStringLiteral(property.initializer) && property.initializer.text === value ? property.initializer : void 0);
123553
- }
123554
- function getOptionsSyntaxByArrayElementValue(name, value) {
123555
- const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax();
123556
- return compilerOptionsObjectLiteralSyntax && getPropertyArrayElementValue(compilerOptionsObjectLiteralSyntax, name, value);
123697
+ return forEachOptionsSyntaxByName(getCompilerOptionsObjectLiteralSyntax(), "paths", callback);
123557
123698
  }
123558
123699
  function createDiagnosticForOptionName(message, option1, option2, option3) {
123559
123700
  createDiagnosticForOption(
@@ -123581,9 +123722,9 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
123581
123722
  function createDiagnosticForReference(sourceFile, index, message, ...args) {
123582
123723
  const referencesSyntax = forEachTsConfigPropArray(sourceFile || options.configFile, "references", (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0);
123583
123724
  if (referencesSyntax && referencesSyntax.elements.length > index) {
123584
- programDiagnostics.add(createDiagnosticForNodeInSourceFile(sourceFile || options.configFile, referencesSyntax.elements[index], message, ...args));
123725
+ programDiagnostics.addConfigDiagnostic(createDiagnosticForNodeInSourceFile(sourceFile || options.configFile, referencesSyntax.elements[index], message, ...args));
123585
123726
  } else {
123586
- programDiagnostics.add(createCompilerDiagnostic(message, ...args));
123727
+ programDiagnostics.addConfigDiagnostic(createCompilerDiagnostic(message, ...args));
123587
123728
  }
123588
123729
  }
123589
123730
  function createDiagnosticForOption(onKey, option1, option2, message, ...args) {
@@ -123597,14 +123738,14 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
123597
123738
  const compilerOptionsProperty = getCompilerOptionsPropertySyntax();
123598
123739
  if (compilerOptionsProperty) {
123599
123740
  if ("messageText" in message) {
123600
- programDiagnostics.add(createDiagnosticForNodeFromMessageChain(options.configFile, compilerOptionsProperty.name, message));
123741
+ programDiagnostics.addConfigDiagnostic(createDiagnosticForNodeFromMessageChain(options.configFile, compilerOptionsProperty.name, message));
123601
123742
  } else {
123602
- programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, compilerOptionsProperty.name, message, ...args));
123743
+ programDiagnostics.addConfigDiagnostic(createDiagnosticForNodeInSourceFile(options.configFile, compilerOptionsProperty.name, message, ...args));
123603
123744
  }
123604
123745
  } else if ("messageText" in message) {
123605
- programDiagnostics.add(createCompilerDiagnosticFromMessageChain(message));
123746
+ programDiagnostics.addConfigDiagnostic(createCompilerDiagnosticFromMessageChain(message));
123606
123747
  } else {
123607
- programDiagnostics.add(createCompilerDiagnostic(message, ...args));
123748
+ programDiagnostics.addConfigDiagnostic(createCompilerDiagnostic(message, ...args));
123608
123749
  }
123609
123750
  }
123610
123751
  function getCompilerOptionsObjectLiteralSyntax() {
@@ -123628,9 +123769,9 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
123628
123769
  let needsCompilerDiagnostic = false;
123629
123770
  forEachPropertyAssignment(objectLiteral, key1, (prop) => {
123630
123771
  if ("messageText" in message) {
123631
- programDiagnostics.add(createDiagnosticForNodeFromMessageChain(options.configFile, onKey ? prop.name : prop.initializer, message));
123772
+ programDiagnostics.addConfigDiagnostic(createDiagnosticForNodeFromMessageChain(options.configFile, onKey ? prop.name : prop.initializer, message));
123632
123773
  } else {
123633
- programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, onKey ? prop.name : prop.initializer, message, ...args));
123774
+ programDiagnostics.addConfigDiagnostic(createDiagnosticForNodeInSourceFile(options.configFile, onKey ? prop.name : prop.initializer, message, ...args));
123634
123775
  }
123635
123776
  needsCompilerDiagnostic = true;
123636
123777
  }, key2);
@@ -123638,7 +123779,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
123638
123779
  }
123639
123780
  function blockEmittingOfFile(emitFileName, diag2) {
123640
123781
  hasEmitBlockingDiagnostics.set(toPath3(emitFileName), true);
123641
- programDiagnostics.add(diag2);
123782
+ programDiagnostics.addConfigDiagnostic(diag2);
123642
123783
  }
123643
123784
  function isEmittedFile(file) {
123644
123785
  if (options.noEmit) {
@@ -123961,6 +124102,293 @@ function getModuleNameStringLiteralAt({ imports, moduleAugmentations }, index) {
123961
124102
  Debug.fail("should never ask for module name at index higher than possible module name");
123962
124103
  }
123963
124104
 
124105
+ // src/compiler/programDiagnostics.ts
124106
+ function createProgramDiagnostics(getCompilerOptionsObjectLiteralSyntax) {
124107
+ let computedDiagnostics;
124108
+ let fileReasons = createMultiMap();
124109
+ let fileProcessingDiagnostics;
124110
+ let commonSourceDirectory;
124111
+ let configDiagnostics;
124112
+ let lazyConfigDiagnostics;
124113
+ let fileReasonsToChain;
124114
+ let reasonToRelatedInfo;
124115
+ return {
124116
+ addConfigDiagnostic(diag2) {
124117
+ Debug.assert(computedDiagnostics === void 0, "Cannot modify program diagnostic state after requesting combined diagnostics");
124118
+ (configDiagnostics ?? (configDiagnostics = createDiagnosticCollection())).add(diag2);
124119
+ },
124120
+ addLazyConfigDiagnostic(file, message, ...args) {
124121
+ Debug.assert(computedDiagnostics === void 0, "Cannot modify program diagnostic state after requesting combined diagnostics");
124122
+ (lazyConfigDiagnostics ?? (lazyConfigDiagnostics = [])).push({ file, diagnostic: message, args });
124123
+ },
124124
+ addFileProcessingDiagnostic(diag2) {
124125
+ Debug.assert(computedDiagnostics === void 0, "Cannot modify program diagnostic state after requesting combined diagnostics");
124126
+ (fileProcessingDiagnostics ?? (fileProcessingDiagnostics = [])).push(diag2);
124127
+ },
124128
+ setCommonSourceDirectory(directory) {
124129
+ commonSourceDirectory = directory;
124130
+ },
124131
+ reuseStateFromOldProgram(oldProgramDiagnostics, isConfigIdentical) {
124132
+ fileReasons = oldProgramDiagnostics.getFileReasons();
124133
+ fileProcessingDiagnostics = oldProgramDiagnostics.getFileProcessingDiagnostics();
124134
+ if (isConfigIdentical) {
124135
+ commonSourceDirectory = oldProgramDiagnostics.getCommonSourceDirectory();
124136
+ configDiagnostics = oldProgramDiagnostics.getConfigDiagnostics();
124137
+ lazyConfigDiagnostics = oldProgramDiagnostics.getLazyConfigDiagnostics();
124138
+ }
124139
+ },
124140
+ getFileProcessingDiagnostics() {
124141
+ return fileProcessingDiagnostics;
124142
+ },
124143
+ getFileReasons() {
124144
+ return fileReasons;
124145
+ },
124146
+ getCommonSourceDirectory() {
124147
+ return commonSourceDirectory;
124148
+ },
124149
+ getConfigDiagnostics() {
124150
+ return configDiagnostics;
124151
+ },
124152
+ getLazyConfigDiagnostics() {
124153
+ return lazyConfigDiagnostics;
124154
+ },
124155
+ getCombinedDiagnostics(program) {
124156
+ if (computedDiagnostics) {
124157
+ return computedDiagnostics;
124158
+ }
124159
+ computedDiagnostics = createDiagnosticCollection();
124160
+ configDiagnostics == null ? void 0 : configDiagnostics.getDiagnostics().forEach((d) => computedDiagnostics.add(d));
124161
+ fileProcessingDiagnostics == null ? void 0 : fileProcessingDiagnostics.forEach((diagnostic) => {
124162
+ switch (diagnostic.kind) {
124163
+ case 1 /* FilePreprocessingFileExplainingDiagnostic */:
124164
+ return computedDiagnostics.add(
124165
+ createDiagnosticExplainingFile(
124166
+ program,
124167
+ diagnostic.file && program.getSourceFileByPath(diagnostic.file),
124168
+ diagnostic.fileProcessingReason,
124169
+ diagnostic.diagnostic,
124170
+ diagnostic.args || emptyArray
124171
+ )
124172
+ );
124173
+ case 0 /* FilePreprocessingLibReferenceDiagnostic */:
124174
+ return computedDiagnostics.add(filePreprocessingLibreferenceDiagnostic(program, diagnostic));
124175
+ case 2 /* ResolutionDiagnostics */:
124176
+ return diagnostic.diagnostics.forEach((d) => computedDiagnostics.add(d));
124177
+ default:
124178
+ Debug.assertNever(diagnostic);
124179
+ }
124180
+ });
124181
+ lazyConfigDiagnostics == null ? void 0 : lazyConfigDiagnostics.forEach(
124182
+ ({ file, diagnostic, args }) => computedDiagnostics.add(
124183
+ createDiagnosticExplainingFile(
124184
+ program,
124185
+ file,
124186
+ /*fileProcessingReason*/
124187
+ void 0,
124188
+ diagnostic,
124189
+ args
124190
+ )
124191
+ )
124192
+ );
124193
+ fileReasonsToChain = void 0;
124194
+ reasonToRelatedInfo = void 0;
124195
+ return computedDiagnostics;
124196
+ }
124197
+ };
124198
+ function filePreprocessingLibreferenceDiagnostic(program, { reason }) {
124199
+ const { file, pos, end } = getReferencedFileLocation(program, reason);
124200
+ const libReference = file.libReferenceDirectives[reason.index];
124201
+ const libName = getLibNameFromLibReference(libReference);
124202
+ const unqualifiedLibName = removeSuffix(removePrefix(libName, "lib."), ".d.ts");
124203
+ const suggestion = getSpellingSuggestion(unqualifiedLibName, libs, identity);
124204
+ return createFileDiagnostic(
124205
+ file,
124206
+ Debug.checkDefined(pos),
124207
+ Debug.checkDefined(end) - pos,
124208
+ suggestion ? Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1 : Diagnostics.Cannot_find_lib_definition_for_0,
124209
+ libName,
124210
+ suggestion
124211
+ );
124212
+ }
124213
+ function createDiagnosticExplainingFile(program, file, fileProcessingReason, diagnostic, args) {
124214
+ let seenReasons;
124215
+ let fileIncludeReasons;
124216
+ let relatedInfo;
124217
+ let fileIncludeReasonDetails;
124218
+ let redirectInfo;
124219
+ let chain;
124220
+ const reasons = file && fileReasons.get(file.path);
124221
+ let locationReason = isReferencedFile(fileProcessingReason) ? fileProcessingReason : void 0;
124222
+ let cachedChain = file && (fileReasonsToChain == null ? void 0 : fileReasonsToChain.get(file.path));
124223
+ if (cachedChain) {
124224
+ if (cachedChain.fileIncludeReasonDetails) {
124225
+ seenReasons = new Set(reasons);
124226
+ reasons == null ? void 0 : reasons.forEach(populateRelatedInfo);
124227
+ } else {
124228
+ reasons == null ? void 0 : reasons.forEach(processReason);
124229
+ }
124230
+ redirectInfo = cachedChain.redirectInfo;
124231
+ } else {
124232
+ reasons == null ? void 0 : reasons.forEach(processReason);
124233
+ redirectInfo = file && explainIfFileIsRedirectAndImpliedFormat(file, program.getCompilerOptionsForFile(file));
124234
+ }
124235
+ if (fileProcessingReason) processReason(fileProcessingReason);
124236
+ const processedExtraReason = (seenReasons == null ? void 0 : seenReasons.size) !== (reasons == null ? void 0 : reasons.length);
124237
+ if (locationReason && (seenReasons == null ? void 0 : seenReasons.size) === 1) seenReasons = void 0;
124238
+ if (seenReasons && cachedChain) {
124239
+ if (cachedChain.details && !processedExtraReason) {
124240
+ chain = chainDiagnosticMessages(cachedChain.details, diagnostic, ...args ?? emptyArray);
124241
+ } else if (cachedChain.fileIncludeReasonDetails) {
124242
+ if (!processedExtraReason) {
124243
+ if (!cachedFileIncludeDetailsHasProcessedExtraReason()) {
124244
+ fileIncludeReasonDetails = cachedChain.fileIncludeReasonDetails;
124245
+ } else {
124246
+ fileIncludeReasons = cachedChain.fileIncludeReasonDetails.next.slice(0, reasons.length);
124247
+ }
124248
+ } else {
124249
+ if (!cachedFileIncludeDetailsHasProcessedExtraReason()) {
124250
+ fileIncludeReasons = [...cachedChain.fileIncludeReasonDetails.next, fileIncludeReasons[0]];
124251
+ } else {
124252
+ fileIncludeReasons = append(cachedChain.fileIncludeReasonDetails.next.slice(0, reasons.length), fileIncludeReasons[0]);
124253
+ }
124254
+ }
124255
+ }
124256
+ }
124257
+ if (!chain) {
124258
+ if (!fileIncludeReasonDetails) fileIncludeReasonDetails = seenReasons && chainDiagnosticMessages(fileIncludeReasons, Diagnostics.The_file_is_in_the_program_because_Colon);
124259
+ chain = chainDiagnosticMessages(
124260
+ redirectInfo ? fileIncludeReasonDetails ? [fileIncludeReasonDetails, ...redirectInfo] : redirectInfo : fileIncludeReasonDetails,
124261
+ diagnostic,
124262
+ ...args || emptyArray
124263
+ );
124264
+ }
124265
+ if (file) {
124266
+ if (cachedChain) {
124267
+ if (!cachedChain.fileIncludeReasonDetails || !processedExtraReason && fileIncludeReasonDetails) {
124268
+ cachedChain.fileIncludeReasonDetails = fileIncludeReasonDetails;
124269
+ }
124270
+ } else {
124271
+ (fileReasonsToChain ?? (fileReasonsToChain = /* @__PURE__ */ new Map())).set(file.path, cachedChain = { fileIncludeReasonDetails, redirectInfo });
124272
+ }
124273
+ if (!cachedChain.details && !processedExtraReason) cachedChain.details = chain.next;
124274
+ }
124275
+ const location = locationReason && getReferencedFileLocation(program, locationReason);
124276
+ return location && isReferenceFileLocation(location) ? createFileDiagnosticFromMessageChain(location.file, location.pos, location.end - location.pos, chain, relatedInfo) : createCompilerDiagnosticFromMessageChain(chain, relatedInfo);
124277
+ function processReason(reason) {
124278
+ if (seenReasons == null ? void 0 : seenReasons.has(reason)) return;
124279
+ (seenReasons ?? (seenReasons = /* @__PURE__ */ new Set())).add(reason);
124280
+ (fileIncludeReasons ?? (fileIncludeReasons = [])).push(fileIncludeReasonToDiagnostics(program, reason));
124281
+ populateRelatedInfo(reason);
124282
+ }
124283
+ function populateRelatedInfo(reason) {
124284
+ if (!locationReason && isReferencedFile(reason)) {
124285
+ locationReason = reason;
124286
+ } else if (locationReason !== reason) {
124287
+ relatedInfo = append(relatedInfo, getFileIncludeReasonToRelatedInformation(program, reason));
124288
+ }
124289
+ }
124290
+ function cachedFileIncludeDetailsHasProcessedExtraReason() {
124291
+ var _a;
124292
+ return ((_a = cachedChain.fileIncludeReasonDetails.next) == null ? void 0 : _a.length) !== (reasons == null ? void 0 : reasons.length);
124293
+ }
124294
+ }
124295
+ function getFileIncludeReasonToRelatedInformation(program, reason) {
124296
+ let relatedInfo = reasonToRelatedInfo == null ? void 0 : reasonToRelatedInfo.get(reason);
124297
+ if (relatedInfo === void 0) (reasonToRelatedInfo ?? (reasonToRelatedInfo = /* @__PURE__ */ new Map())).set(reason, relatedInfo = fileIncludeReasonToRelatedInformation(program, reason) ?? false);
124298
+ return relatedInfo || void 0;
124299
+ }
124300
+ function fileIncludeReasonToRelatedInformation(program, reason) {
124301
+ if (isReferencedFile(reason)) {
124302
+ const referenceLocation = getReferencedFileLocation(program, reason);
124303
+ let message2;
124304
+ switch (reason.kind) {
124305
+ case 3 /* Import */:
124306
+ message2 = Diagnostics.File_is_included_via_import_here;
124307
+ break;
124308
+ case 4 /* ReferenceFile */:
124309
+ message2 = Diagnostics.File_is_included_via_reference_here;
124310
+ break;
124311
+ case 5 /* TypeReferenceDirective */:
124312
+ message2 = Diagnostics.File_is_included_via_type_library_reference_here;
124313
+ break;
124314
+ case 7 /* LibReferenceDirective */:
124315
+ message2 = Diagnostics.File_is_included_via_library_reference_here;
124316
+ break;
124317
+ default:
124318
+ Debug.assertNever(reason);
124319
+ }
124320
+ return isReferenceFileLocation(referenceLocation) ? createFileDiagnostic(
124321
+ referenceLocation.file,
124322
+ referenceLocation.pos,
124323
+ referenceLocation.end - referenceLocation.pos,
124324
+ message2
124325
+ ) : void 0;
124326
+ }
124327
+ const currentDirectory = program.getCurrentDirectory();
124328
+ const rootNames = program.getRootFileNames();
124329
+ const options = program.getCompilerOptions();
124330
+ if (!options.configFile) return void 0;
124331
+ let configFileNode;
124332
+ let message;
124333
+ switch (reason.kind) {
124334
+ case 0 /* RootFile */:
124335
+ if (!options.configFile.configFileSpecs) return void 0;
124336
+ const fileName = getNormalizedAbsolutePath(rootNames[reason.index], currentDirectory);
124337
+ const matchedByFiles = getMatchedFileSpec(program, fileName);
124338
+ if (matchedByFiles) {
124339
+ configFileNode = getTsConfigPropArrayElementValue(options.configFile, "files", matchedByFiles);
124340
+ message = Diagnostics.File_is_matched_by_files_list_specified_here;
124341
+ break;
124342
+ }
124343
+ const matchedByInclude = getMatchedIncludeSpec(program, fileName);
124344
+ if (!matchedByInclude || !isString(matchedByInclude)) return void 0;
124345
+ configFileNode = getTsConfigPropArrayElementValue(options.configFile, "include", matchedByInclude);
124346
+ message = Diagnostics.File_is_matched_by_include_pattern_specified_here;
124347
+ break;
124348
+ case 1 /* SourceFromProjectReference */:
124349
+ case 2 /* OutputFromProjectReference */:
124350
+ const resolvedProjectReferences = program.getResolvedProjectReferences();
124351
+ const projectReferences = program.getProjectReferences();
124352
+ const referencedResolvedRef = Debug.checkDefined(resolvedProjectReferences == null ? void 0 : resolvedProjectReferences[reason.index]);
124353
+ const referenceInfo = forEachProjectReference(
124354
+ projectReferences,
124355
+ resolvedProjectReferences,
124356
+ (resolvedRef, parent, index2) => resolvedRef === referencedResolvedRef ? { sourceFile: (parent == null ? void 0 : parent.sourceFile) || options.configFile, index: index2 } : void 0
124357
+ );
124358
+ if (!referenceInfo) return void 0;
124359
+ const { sourceFile, index } = referenceInfo;
124360
+ const referencesSyntax = forEachTsConfigPropArray(sourceFile, "references", (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0);
124361
+ return referencesSyntax && referencesSyntax.elements.length > index ? createDiagnosticForNodeInSourceFile(
124362
+ sourceFile,
124363
+ referencesSyntax.elements[index],
124364
+ reason.kind === 2 /* OutputFromProjectReference */ ? Diagnostics.File_is_output_from_referenced_project_specified_here : Diagnostics.File_is_source_from_referenced_project_specified_here
124365
+ ) : void 0;
124366
+ case 8 /* AutomaticTypeDirectiveFile */:
124367
+ if (!options.types) return void 0;
124368
+ configFileNode = getOptionsSyntaxByArrayElementValue(getCompilerOptionsObjectLiteralSyntax(), "types", reason.typeReference);
124369
+ message = Diagnostics.File_is_entry_point_of_type_library_specified_here;
124370
+ break;
124371
+ case 6 /* LibFile */:
124372
+ if (reason.index !== void 0) {
124373
+ configFileNode = getOptionsSyntaxByArrayElementValue(getCompilerOptionsObjectLiteralSyntax(), "lib", options.lib[reason.index]);
124374
+ message = Diagnostics.File_is_library_specified_here;
124375
+ break;
124376
+ }
124377
+ const target = getNameOfScriptTarget(getEmitScriptTarget(options));
124378
+ configFileNode = target ? getOptionsSyntaxByValue(getCompilerOptionsObjectLiteralSyntax(), "target", target) : void 0;
124379
+ message = Diagnostics.File_is_default_library_for_target_specified_here;
124380
+ break;
124381
+ default:
124382
+ Debug.assertNever(reason);
124383
+ }
124384
+ return configFileNode && createDiagnosticForNodeInSourceFile(
124385
+ options.configFile,
124386
+ configFileNode,
124387
+ message
124388
+ );
124389
+ }
124390
+ }
124391
+
123964
124392
  // src/compiler/builderState.ts
123965
124393
  var BuilderState;
123966
124394
  ((BuilderState2) => {
@@ -131703,9 +132131,9 @@ function createSyntacticTypeNodeBuilder(options, resolver) {
131703
132131
  }
131704
132132
  if (!result && node.kind === 303 /* PropertyAssignment */) {
131705
132133
  const initializer = node.initializer;
131706
- const type = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 /* AsExpression */ || initializer.kind === 216 /* TypeAssertionExpression */ ? initializer.type : void 0;
131707
- if (type && !isConstTypeReference(type)) {
131708
- result = serializeExistingTypeNode(type, context);
132134
+ const assertionNode = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 /* AsExpression */ || initializer.kind === 216 /* TypeAssertionExpression */ ? initializer.type : void 0;
132135
+ if (assertionNode && !isConstTypeReference(assertionNode) && resolver.canReuseTypeNodeAnnotation(context, node, assertionNode, symbol)) {
132136
+ result = serializeExistingTypeNode(assertionNode, context);
131709
132137
  }
131710
132138
  }
131711
132139
  return result ?? inferTypeOfDeclaration(
@@ -131998,18 +132426,21 @@ function createSyntacticTypeNodeBuilder(options, resolver) {
131998
132426
  return failed;
131999
132427
  }
132000
132428
  function typeFromFunctionLikeExpression(fnNode, context) {
132001
- const oldNoInferenceFallback = context.noInferenceFallback;
132002
- context.noInferenceFallback = true;
132003
- createReturnFromSignature(
132429
+ const returnType = createReturnFromSignature(
132004
132430
  fnNode,
132005
132431
  /*symbol*/
132006
132432
  void 0,
132007
132433
  context
132008
132434
  );
132009
- reuseTypeParameters(fnNode.typeParameters, context);
132010
- fnNode.parameters.map((p) => ensureParameter(p, context));
132011
- context.noInferenceFallback = oldNoInferenceFallback;
132012
- return notImplemented2;
132435
+ const typeParameters = reuseTypeParameters(fnNode.typeParameters, context);
132436
+ const parameters = fnNode.parameters.map((p) => ensureParameter(p, context));
132437
+ return syntacticResult(
132438
+ factory.createFunctionTypeNode(
132439
+ typeParameters,
132440
+ parameters,
132441
+ returnType
132442
+ )
132443
+ );
132013
132444
  }
132014
132445
  function canGetTypeFromArrayLiteral(arrayLiteral, context, isConstContext) {
132015
132446
  if (!isConstContext) {