immosquare-cleaner 0.1.63 → 0.1.65

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 (1339) hide show
  1. checksums.yaml +4 -4
  2. data/lib/immosquare-cleaner/version.rb +1 -1
  3. data/lib/immosquare-cleaner.rb +37 -37
  4. data/lib/tasks/immosquare_cleaner.rake +17 -1
  5. data/linters/rubocop/cop/custom_cops/style/font_awesome_normalization.rb +106 -0
  6. data/linters/rubocop-3.4.1.yml +3 -1
  7. data/linters/rubocop.yml +4 -0
  8. data/node_modules/@babel/compat-data/data/plugins.json +6 -7
  9. data/node_modules/@babel/compat-data/package.json +2 -2
  10. data/node_modules/@babel/core/lib/config/files/configuration.js +3 -0
  11. data/node_modules/@babel/core/lib/config/files/configuration.js.map +1 -1
  12. data/node_modules/@babel/core/lib/config/files/module-types.js +74 -63
  13. data/node_modules/@babel/core/lib/config/files/module-types.js.map +1 -1
  14. data/node_modules/@babel/core/lib/config/files/plugins.js +1 -0
  15. data/node_modules/@babel/core/lib/config/files/plugins.js.map +1 -1
  16. data/node_modules/@babel/core/lib/config/partial.js +1 -1
  17. data/node_modules/@babel/core/lib/config/partial.js.map +1 -1
  18. data/node_modules/@babel/core/lib/index.js +1 -2
  19. data/node_modules/@babel/core/lib/index.js.map +1 -1
  20. data/node_modules/@babel/core/lib/parser/index.js.map +1 -1
  21. data/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs +3 -1
  22. data/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs.map +1 -1
  23. data/node_modules/@babel/core/lib/transformation/file/file.js +2 -4
  24. data/node_modules/@babel/core/lib/transformation/file/file.js.map +1 -1
  25. data/node_modules/@babel/core/lib/transformation/normalize-file.js.map +1 -1
  26. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js +27 -7
  27. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map +1 -1
  28. data/node_modules/@babel/core/package.json +13 -14
  29. data/node_modules/@babel/generator/lib/generators/classes.js +7 -4
  30. data/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
  31. data/node_modules/@babel/generator/lib/generators/deprecated.js +28 -0
  32. data/node_modules/@babel/generator/lib/generators/deprecated.js.map +1 -0
  33. data/node_modules/@babel/generator/lib/generators/expressions.js +9 -3
  34. data/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -1
  35. data/node_modules/@babel/generator/lib/generators/jsx.js +6 -1
  36. data/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -1
  37. data/node_modules/@babel/generator/lib/generators/template-literals.js +16 -11
  38. data/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -1
  39. data/node_modules/@babel/generator/lib/generators/types.js +0 -9
  40. data/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
  41. data/node_modules/@babel/generator/lib/generators/typescript.js +36 -18
  42. data/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
  43. data/node_modules/@babel/generator/lib/node/parentheses.js +40 -3
  44. data/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -1
  45. data/node_modules/@babel/generator/lib/printer.js +4 -3
  46. data/node_modules/@babel/generator/lib/printer.js.map +1 -1
  47. data/node_modules/@babel/generator/package.json +5 -5
  48. data/node_modules/@babel/helper-compilation-targets/lib/index.js +1 -1
  49. data/node_modules/@babel/helper-compilation-targets/lib/index.js.map +1 -1
  50. data/node_modules/@babel/helper-compilation-targets/package.json +2 -2
  51. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js +1 -9
  52. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js.map +1 -1
  53. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js +9 -0
  54. data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js.map +1 -1
  55. data/node_modules/@babel/helper-create-class-features-plugin/lib/features.js +1 -1
  56. data/node_modules/@babel/helper-create-class-features-plugin/lib/features.js.map +1 -1
  57. data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js +8 -8
  58. data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js.map +1 -1
  59. data/node_modules/@babel/helper-create-class-features-plugin/package.json +5 -5
  60. data/node_modules/@babel/helper-plugin-utils/lib/index.js.map +1 -1
  61. data/node_modules/@babel/helper-plugin-utils/package.json +2 -2
  62. data/node_modules/@babel/helper-replace-supers/lib/index.js.map +1 -1
  63. data/node_modules/@babel/helper-replace-supers/package.json +3 -3
  64. data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map +1 -1
  65. data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js.map +1 -1
  66. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js +1 -1
  67. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.map +1 -1
  68. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js +1 -1
  69. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map +1 -1
  70. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js +7 -3
  71. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map +1 -1
  72. data/node_modules/@babel/helpers/lib/helpers-generated.js +3 -3
  73. data/node_modules/@babel/helpers/lib/helpers-generated.js.map +1 -1
  74. data/node_modules/@babel/helpers/package.json +5 -5
  75. data/node_modules/@babel/parser/lib/index.js +426 -236
  76. data/node_modules/@babel/parser/lib/index.js.map +1 -1
  77. data/node_modules/@babel/parser/package.json +2 -2
  78. data/node_modules/@babel/parser/typings/babel-parser.d.ts +127 -164
  79. data/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js +6 -0
  80. data/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js.map +1 -1
  81. data/node_modules/@babel/plugin-transform-flow-strip-types/package.json +4 -4
  82. data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js +3 -2
  83. data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js.map +1 -1
  84. data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/package.json +3 -3
  85. data/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js +3 -1
  86. data/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js.map +1 -1
  87. data/node_modules/@babel/plugin-transform-typescript/lib/enum.js +24 -11
  88. data/node_modules/@babel/plugin-transform-typescript/lib/enum.js.map +1 -1
  89. data/node_modules/@babel/plugin-transform-typescript/lib/index.js +38 -9
  90. data/node_modules/@babel/plugin-transform-typescript/lib/index.js.map +1 -1
  91. data/node_modules/@babel/plugin-transform-typescript/lib/namespace.js +2 -0
  92. data/node_modules/@babel/plugin-transform-typescript/lib/namespace.js.map +1 -1
  93. data/node_modules/@babel/plugin-transform-typescript/package.json +5 -5
  94. data/node_modules/@babel/template/lib/options.js.map +1 -1
  95. data/node_modules/@babel/template/lib/parse.js.map +1 -1
  96. data/node_modules/@babel/template/package.json +4 -4
  97. data/node_modules/@babel/traverse/lib/cache.js +4 -5
  98. data/node_modules/@babel/traverse/lib/cache.js.map +1 -1
  99. data/node_modules/@babel/traverse/lib/path/conversion.js +1 -2
  100. data/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
  101. data/node_modules/@babel/traverse/lib/path/evaluation.js +17 -0
  102. data/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -1
  103. data/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -1
  104. data/node_modules/@babel/traverse/lib/path/modification.js +1 -1
  105. data/node_modules/@babel/traverse/lib/path/modification.js.map +1 -1
  106. data/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -1
  107. data/node_modules/@babel/traverse/lib/scope/index.js +9 -2
  108. data/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
  109. data/node_modules/@babel/traverse/lib/visitors.js +1 -1
  110. data/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
  111. data/node_modules/@babel/traverse/package.json +6 -6
  112. data/node_modules/@babel/types/lib/asserts/generated/index.js +8 -0
  113. data/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -1
  114. data/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
  115. data/node_modules/@babel/types/lib/builders/generated/index.js +22 -2858
  116. data/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -1
  117. data/node_modules/@babel/types/lib/builders/generated/lowercase.js +2886 -0
  118. data/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -0
  119. data/node_modules/@babel/types/lib/builders/generated/uppercase.js +267 -255
  120. data/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -1
  121. data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -1
  122. data/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -1
  123. data/node_modules/@babel/types/lib/definitions/core.js +26 -17
  124. data/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
  125. data/node_modules/@babel/types/lib/definitions/flow.js +6 -3
  126. data/node_modules/@babel/types/lib/definitions/flow.js.map +1 -1
  127. data/node_modules/@babel/types/lib/definitions/jsx.js +9 -4
  128. data/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -1
  129. data/node_modules/@babel/types/lib/definitions/typescript.js +51 -26
  130. data/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -1
  131. data/node_modules/@babel/types/lib/definitions/utils.js +2 -2
  132. data/node_modules/@babel/types/lib/definitions/utils.js.map +1 -1
  133. data/node_modules/@babel/types/lib/index-legacy.d.ts +27 -7
  134. data/node_modules/@babel/types/lib/index.d.ts +1178 -1156
  135. data/node_modules/@babel/types/lib/index.js +10 -21
  136. data/node_modules/@babel/types/lib/index.js.flow +26 -6
  137. data/node_modules/@babel/types/lib/index.js.map +1 -1
  138. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +9 -8
  139. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -1
  140. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +1 -0
  141. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -1
  142. data/node_modules/@babel/types/lib/validators/generated/index.js +17 -0
  143. data/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -1
  144. data/node_modules/@babel/types/package.json +12 -12
  145. data/node_modules/{@babel/eslint-parser/node_modules/eslint-visitor-keys → @eslint/config-helpers}/LICENSE +2 -2
  146. data/node_modules/@eslint/config-helpers/README.md +97 -0
  147. data/node_modules/@eslint/config-helpers/dist/cjs/index.cjs +546 -0
  148. data/node_modules/@eslint/config-helpers/dist/cjs/index.d.cts +22 -0
  149. data/node_modules/@eslint/config-helpers/dist/cjs/types.cts +31 -0
  150. data/node_modules/@eslint/config-helpers/dist/esm/index.d.ts +22 -0
  151. data/node_modules/@eslint/config-helpers/dist/esm/index.js +544 -0
  152. data/node_modules/@eslint/config-helpers/dist/esm/types.d.ts +23 -0
  153. data/node_modules/@eslint/config-helpers/dist/esm/types.ts +31 -0
  154. data/node_modules/@eslint/config-helpers/package.json +60 -0
  155. data/node_modules/@eslint/js/package.json +1 -1
  156. data/node_modules/@eslint-community/eslint-utils/index.js +21 -1
  157. data/node_modules/@eslint-community/eslint-utils/index.js.map +1 -1
  158. data/node_modules/@eslint-community/eslint-utils/index.mjs +21 -1
  159. data/node_modules/@eslint-community/eslint-utils/index.mjs.map +1 -1
  160. data/node_modules/@eslint-community/eslint-utils/package.json +1 -1
  161. data/node_modules/acorn/CHANGELOG.md +12 -0
  162. data/node_modules/acorn/dist/acorn.js +33 -24
  163. data/node_modules/acorn/dist/acorn.mjs +33 -24
  164. data/node_modules/acorn/package.json +1 -1
  165. data/node_modules/async-function/CHANGELOG.md +16 -0
  166. data/node_modules/{jscodeshift → async-function}/LICENSE +1 -1
  167. data/node_modules/async-function/README.md +51 -0
  168. data/node_modules/async-function/index.d.mts +3 -0
  169. data/node_modules/async-function/index.d.ts +13 -0
  170. data/node_modules/async-function/index.js +8 -0
  171. data/node_modules/async-function/index.mjs +4 -0
  172. data/node_modules/async-function/legacy.js +18 -0
  173. data/node_modules/async-function/package.json +86 -0
  174. data/node_modules/async-function/require.mjs +5 -0
  175. data/node_modules/async-function/test/index.js +40 -0
  176. data/node_modules/async-function/tsconfig.json +9 -0
  177. data/node_modules/browserslist/index.js +23 -4
  178. data/node_modules/browserslist/node.js +69 -60
  179. data/node_modules/browserslist/package.json +1 -1
  180. data/node_modules/call-bind-apply-helpers/CHANGELOG.md +7 -0
  181. data/node_modules/call-bind-apply-helpers/index.d.ts +38 -20
  182. data/node_modules/call-bind-apply-helpers/index.js +1 -1
  183. data/node_modules/call-bind-apply-helpers/package.json +8 -8
  184. data/node_modules/call-bind-apply-helpers/test/index.js +4 -4
  185. data/node_modules/call-bound/CHANGELOG.md +8 -0
  186. data/node_modules/call-bound/index.d.ts +91 -10
  187. data/node_modules/call-bound/index.js +4 -3
  188. data/node_modules/call-bound/package.json +10 -10
  189. data/node_modules/call-bound/test/index.js +11 -4
  190. data/node_modules/call-bound/tsconfig.json +2 -1
  191. data/node_modules/caniuse-lite/data/agents.js +1 -1
  192. data/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  193. data/node_modules/caniuse-lite/data/features/aac.js +1 -1
  194. data/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  195. data/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  196. data/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  197. data/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  198. data/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  199. data/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  200. data/node_modules/caniuse-lite/data/features/apng.js +1 -1
  201. data/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  202. data/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  203. data/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  204. data/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  205. data/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  206. data/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  207. data/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  208. data/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  209. data/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  210. data/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  211. data/node_modules/caniuse-lite/data/features/audio.js +1 -1
  212. data/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  213. data/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  214. data/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  215. data/node_modules/caniuse-lite/data/features/av1.js +1 -1
  216. data/node_modules/caniuse-lite/data/features/avif.js +1 -1
  217. data/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  218. data/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  219. data/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  220. data/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  221. data/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  222. data/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  223. data/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  224. data/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  225. data/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  226. data/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  227. data/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  228. data/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  229. data/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  230. data/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  231. data/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  232. data/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  233. data/node_modules/caniuse-lite/data/features/calc.js +1 -1
  234. data/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  235. data/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  236. data/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  237. data/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  238. data/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  239. data/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  240. data/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  241. data/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  242. data/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  243. data/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  244. data/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  245. data/node_modules/caniuse-lite/data/features/colr.js +1 -1
  246. data/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  247. data/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  248. data/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  249. data/node_modules/caniuse-lite/data/features/const.js +1 -1
  250. data/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  251. data/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  252. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  253. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  254. data/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  255. data/node_modules/caniuse-lite/data/features/cors.js +1 -1
  256. data/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  257. data/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  258. data/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  259. data/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  260. data/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  261. data/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  262. data/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  263. data/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  264. data/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  265. data/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  266. data/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  267. data/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  268. data/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  269. data/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  270. data/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  271. data/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  272. data/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  273. data/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  274. data/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  275. data/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  276. data/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  277. data/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  278. data/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  279. data/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  280. data/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  281. data/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  282. data/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  283. data/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  284. data/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  285. data/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  286. data/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  287. data/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  288. data/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  289. data/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  290. data/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  291. data/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  292. data/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  293. data/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  294. data/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  295. data/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  296. data/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  297. data/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  298. data/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  299. data/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  300. data/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  301. data/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  302. data/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  303. data/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  304. data/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  305. data/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  306. data/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  307. data/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  308. data/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  309. data/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  310. data/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  311. data/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  312. data/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  313. data/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  314. data/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  315. data/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  316. data/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  317. data/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  318. data/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  319. data/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  320. data/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  321. data/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  322. data/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  323. data/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  324. data/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  325. data/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  326. data/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  327. data/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  328. data/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  329. data/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  330. data/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  331. data/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  332. data/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  333. data/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  334. data/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  335. data/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  336. data/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  337. data/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  338. data/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  339. data/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  340. data/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  341. data/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  342. data/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  343. data/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  344. data/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  345. data/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  346. data/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  347. data/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  348. data/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  349. data/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  350. data/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  351. data/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  352. data/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  353. data/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  354. data/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  355. data/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  356. data/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  357. data/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  358. data/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  359. data/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  360. data/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  361. data/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  362. data/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  363. data/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  364. data/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  365. data/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  366. data/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  367. data/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  368. data/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  369. data/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  370. data/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  371. data/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  372. data/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  373. data/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  374. data/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  375. data/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  376. data/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  377. data/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  378. data/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  379. data/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  380. data/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  381. data/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  382. data/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  383. data/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  384. data/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  385. data/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  386. data/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  387. data/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  388. data/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  389. data/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  390. data/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  391. data/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  392. data/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  393. data/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  394. data/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  395. data/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  396. data/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  397. data/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  398. data/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  399. data/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  400. data/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  401. data/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  402. data/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  403. data/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  404. data/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  405. data/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  406. data/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  407. data/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  408. data/node_modules/caniuse-lite/data/features/details.js +1 -1
  409. data/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  410. data/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  411. data/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  412. data/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  413. data/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  414. data/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  415. data/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  416. data/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  417. data/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  418. data/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  419. data/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  420. data/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  421. data/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  422. data/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  423. data/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  424. data/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  425. data/node_modules/caniuse-lite/data/features/download.js +1 -1
  426. data/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  427. data/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  428. data/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  429. data/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  430. data/node_modules/caniuse-lite/data/features/eme.js +1 -1
  431. data/node_modules/caniuse-lite/data/features/eot.js +1 -1
  432. data/node_modules/caniuse-lite/data/features/es5.js +1 -1
  433. data/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  434. data/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  435. data/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  436. data/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  437. data/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  438. data/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  439. data/node_modules/caniuse-lite/data/features/es6.js +1 -1
  440. data/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  441. data/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  442. data/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  443. data/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  444. data/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  445. data/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  446. data/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  447. data/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  448. data/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  449. data/node_modules/caniuse-lite/data/features/flac.js +1 -1
  450. data/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  451. data/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  452. data/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  453. data/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  454. data/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  455. data/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  456. data/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  457. data/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  458. data/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  459. data/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  460. data/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  461. data/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  462. data/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  463. data/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  464. data/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  465. data/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  466. data/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  467. data/node_modules/caniuse-lite/data/features/forms.js +1 -1
  468. data/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  469. data/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  470. data/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  471. data/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  472. data/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  473. data/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  474. data/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  475. data/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  476. data/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  477. data/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  478. data/node_modules/caniuse-lite/data/features/heif.js +1 -1
  479. data/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  480. data/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  481. data/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  482. data/node_modules/caniuse-lite/data/features/history.js +1 -1
  483. data/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  484. data/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  485. data/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  486. data/node_modules/caniuse-lite/data/features/http2.js +1 -1
  487. data/node_modules/caniuse-lite/data/features/http3.js +1 -1
  488. data/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  489. data/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  490. data/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  491. data/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  492. data/node_modules/caniuse-lite/data/features/ime.js +1 -1
  493. data/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  494. data/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  495. data/node_modules/caniuse-lite/data/features/imports.js +1 -1
  496. data/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  497. data/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  498. data/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  499. data/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  500. data/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  501. data/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  502. data/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  503. data/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  504. data/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  505. data/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  506. data/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  507. data/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  508. data/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  509. data/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  510. data/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  511. data/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  512. data/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  513. data/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  514. data/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  515. data/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  516. data/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  517. data/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  518. data/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  519. data/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  520. data/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  521. data/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  522. data/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  523. data/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  524. data/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  525. data/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  526. data/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  527. data/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  528. data/node_modules/caniuse-lite/data/features/json.js +1 -1
  529. data/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  530. data/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  531. data/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  532. data/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  533. data/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  534. data/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  535. data/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  536. data/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  537. data/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  538. data/node_modules/caniuse-lite/data/features/let.js +1 -1
  539. data/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  540. data/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  541. data/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  542. data/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  543. data/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  544. data/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  545. data/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  546. data/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  547. data/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  548. data/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  549. data/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  550. data/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  551. data/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  552. data/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  553. data/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  554. data/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  555. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  556. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  557. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  558. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  559. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  560. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  561. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  562. data/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  563. data/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  564. data/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  565. data/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  566. data/node_modules/caniuse-lite/data/features/menu.js +1 -1
  567. data/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  568. data/node_modules/caniuse-lite/data/features/meter.js +1 -1
  569. data/node_modules/caniuse-lite/data/features/midi.js +1 -1
  570. data/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  571. data/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  572. data/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  573. data/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  574. data/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  575. data/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  576. data/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  577. data/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  578. data/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  579. data/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  580. data/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  581. data/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  582. data/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  583. data/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  584. data/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  585. data/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  586. data/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  587. data/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  588. data/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  589. data/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  590. data/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  591. data/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  592. data/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  593. data/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  594. data/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  595. data/node_modules/caniuse-lite/data/features/opus.js +1 -1
  596. data/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  597. data/node_modules/caniuse-lite/data/features/outline.js +1 -1
  598. data/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  599. data/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  600. data/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  601. data/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  602. data/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  603. data/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  604. data/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  605. data/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  606. data/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  607. data/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  608. data/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  609. data/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  610. data/node_modules/caniuse-lite/data/features/picture.js +1 -1
  611. data/node_modules/caniuse-lite/data/features/ping.js +1 -1
  612. data/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  613. data/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  614. data/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  615. data/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  616. data/node_modules/caniuse-lite/data/features/portals.js +1 -1
  617. data/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  618. data/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  619. data/node_modules/caniuse-lite/data/features/progress.js +1 -1
  620. data/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  621. data/node_modules/caniuse-lite/data/features/promises.js +1 -1
  622. data/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  623. data/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  624. data/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  625. data/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  626. data/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  627. data/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  628. data/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  629. data/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  630. data/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  631. data/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  632. data/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  633. data/node_modules/caniuse-lite/data/features/rem.js +1 -1
  634. data/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  635. data/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  636. data/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  637. data/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  638. data/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  639. data/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  640. data/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  641. data/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  642. data/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  643. data/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  644. data/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  645. data/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  646. data/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  647. data/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  648. data/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  649. data/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  650. data/node_modules/caniuse-lite/data/features/selectlist.js +1 -1
  651. data/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  652. data/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  653. data/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  654. data/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  655. data/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  656. data/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  657. data/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  658. data/node_modules/caniuse-lite/data/features/sni.js +1 -1
  659. data/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  660. data/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  661. data/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  662. data/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  663. data/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  664. data/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  665. data/node_modules/caniuse-lite/data/features/stream.js +1 -1
  666. data/node_modules/caniuse-lite/data/features/streams.js +1 -1
  667. data/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  668. data/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  669. data/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  670. data/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  671. data/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  672. data/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  673. data/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  674. data/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  675. data/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  676. data/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  677. data/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  678. data/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  679. data/node_modules/caniuse-lite/data/features/svg.js +1 -1
  680. data/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  681. data/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  682. data/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  683. data/node_modules/caniuse-lite/data/features/template.js +1 -1
  684. data/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  685. data/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  686. data/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  687. data/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  688. data/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  689. data/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  690. data/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  691. data/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  692. data/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  693. data/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  694. data/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  695. data/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  696. data/node_modules/caniuse-lite/data/features/touch.js +1 -1
  697. data/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  698. data/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  699. data/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  700. data/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  701. data/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  702. data/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  703. data/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  704. data/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  705. data/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  706. data/node_modules/caniuse-lite/data/features/url.js +1 -1
  707. data/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  708. data/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  709. data/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  710. data/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  711. data/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  712. data/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  713. data/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  714. data/node_modules/caniuse-lite/data/features/video.js +1 -1
  715. data/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  716. data/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  717. data/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  718. data/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  719. data/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  720. data/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  721. data/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  722. data/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  723. data/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  724. data/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  725. data/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  726. data/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  727. data/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  728. data/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  729. data/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  730. data/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  731. data/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  732. data/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  733. data/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  734. data/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  735. data/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  736. data/node_modules/caniuse-lite/data/features/wav.js +1 -1
  737. data/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  738. data/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  739. data/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  740. data/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  741. data/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  742. data/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  743. data/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  744. data/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  745. data/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  746. data/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  747. data/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  748. data/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  749. data/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  750. data/node_modules/caniuse-lite/data/features/webm.js +1 -1
  751. data/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  752. data/node_modules/caniuse-lite/data/features/webp.js +1 -1
  753. data/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  754. data/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  755. data/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  756. data/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  757. data/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  758. data/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  759. data/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  760. data/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  761. data/node_modules/caniuse-lite/data/features/woff.js +1 -1
  762. data/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  763. data/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  764. data/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  765. data/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  766. data/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  767. data/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  768. data/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  769. data/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  770. data/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  771. data/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  772. data/node_modules/caniuse-lite/data/regions/AD.js +1 -1
  773. data/node_modules/caniuse-lite/data/regions/AE.js +1 -1
  774. data/node_modules/caniuse-lite/data/regions/AF.js +1 -1
  775. data/node_modules/caniuse-lite/data/regions/AG.js +1 -1
  776. data/node_modules/caniuse-lite/data/regions/AI.js +1 -1
  777. data/node_modules/caniuse-lite/data/regions/AL.js +1 -1
  778. data/node_modules/caniuse-lite/data/regions/AM.js +1 -1
  779. data/node_modules/caniuse-lite/data/regions/AO.js +1 -1
  780. data/node_modules/caniuse-lite/data/regions/AR.js +1 -1
  781. data/node_modules/caniuse-lite/data/regions/AS.js +1 -1
  782. data/node_modules/caniuse-lite/data/regions/AT.js +1 -1
  783. data/node_modules/caniuse-lite/data/regions/AU.js +1 -1
  784. data/node_modules/caniuse-lite/data/regions/AW.js +1 -1
  785. data/node_modules/caniuse-lite/data/regions/AX.js +1 -1
  786. data/node_modules/caniuse-lite/data/regions/AZ.js +1 -1
  787. data/node_modules/caniuse-lite/data/regions/BA.js +1 -1
  788. data/node_modules/caniuse-lite/data/regions/BB.js +1 -1
  789. data/node_modules/caniuse-lite/data/regions/BD.js +1 -1
  790. data/node_modules/caniuse-lite/data/regions/BE.js +1 -1
  791. data/node_modules/caniuse-lite/data/regions/BF.js +1 -1
  792. data/node_modules/caniuse-lite/data/regions/BG.js +1 -1
  793. data/node_modules/caniuse-lite/data/regions/BH.js +1 -1
  794. data/node_modules/caniuse-lite/data/regions/BI.js +1 -1
  795. data/node_modules/caniuse-lite/data/regions/BJ.js +1 -1
  796. data/node_modules/caniuse-lite/data/regions/BM.js +1 -1
  797. data/node_modules/caniuse-lite/data/regions/BN.js +1 -1
  798. data/node_modules/caniuse-lite/data/regions/BO.js +1 -1
  799. data/node_modules/caniuse-lite/data/regions/BR.js +1 -1
  800. data/node_modules/caniuse-lite/data/regions/BS.js +1 -1
  801. data/node_modules/caniuse-lite/data/regions/BT.js +1 -1
  802. data/node_modules/caniuse-lite/data/regions/BW.js +1 -1
  803. data/node_modules/caniuse-lite/data/regions/BY.js +1 -1
  804. data/node_modules/caniuse-lite/data/regions/BZ.js +1 -1
  805. data/node_modules/caniuse-lite/data/regions/CA.js +1 -1
  806. data/node_modules/caniuse-lite/data/regions/CD.js +1 -1
  807. data/node_modules/caniuse-lite/data/regions/CF.js +1 -1
  808. data/node_modules/caniuse-lite/data/regions/CG.js +1 -1
  809. data/node_modules/caniuse-lite/data/regions/CH.js +1 -1
  810. data/node_modules/caniuse-lite/data/regions/CI.js +1 -1
  811. data/node_modules/caniuse-lite/data/regions/CK.js +1 -1
  812. data/node_modules/caniuse-lite/data/regions/CL.js +1 -1
  813. data/node_modules/caniuse-lite/data/regions/CM.js +1 -1
  814. data/node_modules/caniuse-lite/data/regions/CN.js +1 -1
  815. data/node_modules/caniuse-lite/data/regions/CO.js +1 -1
  816. data/node_modules/caniuse-lite/data/regions/CR.js +1 -1
  817. data/node_modules/caniuse-lite/data/regions/CU.js +1 -1
  818. data/node_modules/caniuse-lite/data/regions/CV.js +1 -1
  819. data/node_modules/caniuse-lite/data/regions/CX.js +1 -1
  820. data/node_modules/caniuse-lite/data/regions/CY.js +1 -1
  821. data/node_modules/caniuse-lite/data/regions/CZ.js +1 -1
  822. data/node_modules/caniuse-lite/data/regions/DE.js +1 -1
  823. data/node_modules/caniuse-lite/data/regions/DJ.js +1 -1
  824. data/node_modules/caniuse-lite/data/regions/DK.js +1 -1
  825. data/node_modules/caniuse-lite/data/regions/DM.js +1 -1
  826. data/node_modules/caniuse-lite/data/regions/DO.js +1 -1
  827. data/node_modules/caniuse-lite/data/regions/DZ.js +1 -1
  828. data/node_modules/caniuse-lite/data/regions/EC.js +1 -1
  829. data/node_modules/caniuse-lite/data/regions/EE.js +1 -1
  830. data/node_modules/caniuse-lite/data/regions/EG.js +1 -1
  831. data/node_modules/caniuse-lite/data/regions/ER.js +1 -1
  832. data/node_modules/caniuse-lite/data/regions/ES.js +1 -1
  833. data/node_modules/caniuse-lite/data/regions/ET.js +1 -1
  834. data/node_modules/caniuse-lite/data/regions/FI.js +1 -1
  835. data/node_modules/caniuse-lite/data/regions/FJ.js +1 -1
  836. data/node_modules/caniuse-lite/data/regions/FK.js +1 -1
  837. data/node_modules/caniuse-lite/data/regions/FM.js +1 -1
  838. data/node_modules/caniuse-lite/data/regions/FO.js +1 -1
  839. data/node_modules/caniuse-lite/data/regions/FR.js +1 -1
  840. data/node_modules/caniuse-lite/data/regions/GA.js +1 -1
  841. data/node_modules/caniuse-lite/data/regions/GB.js +1 -1
  842. data/node_modules/caniuse-lite/data/regions/GD.js +1 -1
  843. data/node_modules/caniuse-lite/data/regions/GE.js +1 -1
  844. data/node_modules/caniuse-lite/data/regions/GF.js +1 -1
  845. data/node_modules/caniuse-lite/data/regions/GG.js +1 -1
  846. data/node_modules/caniuse-lite/data/regions/GH.js +1 -1
  847. data/node_modules/caniuse-lite/data/regions/GI.js +1 -1
  848. data/node_modules/caniuse-lite/data/regions/GL.js +1 -1
  849. data/node_modules/caniuse-lite/data/regions/GM.js +1 -1
  850. data/node_modules/caniuse-lite/data/regions/GN.js +1 -1
  851. data/node_modules/caniuse-lite/data/regions/GP.js +1 -1
  852. data/node_modules/caniuse-lite/data/regions/GQ.js +1 -1
  853. data/node_modules/caniuse-lite/data/regions/GR.js +1 -1
  854. data/node_modules/caniuse-lite/data/regions/GT.js +1 -1
  855. data/node_modules/caniuse-lite/data/regions/GU.js +1 -1
  856. data/node_modules/caniuse-lite/data/regions/GW.js +1 -1
  857. data/node_modules/caniuse-lite/data/regions/GY.js +1 -1
  858. data/node_modules/caniuse-lite/data/regions/HK.js +1 -1
  859. data/node_modules/caniuse-lite/data/regions/HN.js +1 -1
  860. data/node_modules/caniuse-lite/data/regions/HR.js +1 -1
  861. data/node_modules/caniuse-lite/data/regions/HT.js +1 -1
  862. data/node_modules/caniuse-lite/data/regions/HU.js +1 -1
  863. data/node_modules/caniuse-lite/data/regions/ID.js +1 -1
  864. data/node_modules/caniuse-lite/data/regions/IE.js +1 -1
  865. data/node_modules/caniuse-lite/data/regions/IL.js +1 -1
  866. data/node_modules/caniuse-lite/data/regions/IM.js +1 -1
  867. data/node_modules/caniuse-lite/data/regions/IN.js +1 -1
  868. data/node_modules/caniuse-lite/data/regions/IQ.js +1 -1
  869. data/node_modules/caniuse-lite/data/regions/IR.js +1 -1
  870. data/node_modules/caniuse-lite/data/regions/IS.js +1 -1
  871. data/node_modules/caniuse-lite/data/regions/IT.js +1 -1
  872. data/node_modules/caniuse-lite/data/regions/JE.js +1 -1
  873. data/node_modules/caniuse-lite/data/regions/JM.js +1 -1
  874. data/node_modules/caniuse-lite/data/regions/JO.js +1 -1
  875. data/node_modules/caniuse-lite/data/regions/JP.js +1 -1
  876. data/node_modules/caniuse-lite/data/regions/KE.js +1 -1
  877. data/node_modules/caniuse-lite/data/regions/KG.js +1 -1
  878. data/node_modules/caniuse-lite/data/regions/KH.js +1 -1
  879. data/node_modules/caniuse-lite/data/regions/KI.js +1 -1
  880. data/node_modules/caniuse-lite/data/regions/KM.js +1 -1
  881. data/node_modules/caniuse-lite/data/regions/KN.js +1 -1
  882. data/node_modules/caniuse-lite/data/regions/KP.js +1 -1
  883. data/node_modules/caniuse-lite/data/regions/KR.js +1 -1
  884. data/node_modules/caniuse-lite/data/regions/KW.js +1 -1
  885. data/node_modules/caniuse-lite/data/regions/KY.js +1 -1
  886. data/node_modules/caniuse-lite/data/regions/KZ.js +1 -1
  887. data/node_modules/caniuse-lite/data/regions/LA.js +1 -1
  888. data/node_modules/caniuse-lite/data/regions/LB.js +1 -1
  889. data/node_modules/caniuse-lite/data/regions/LC.js +1 -1
  890. data/node_modules/caniuse-lite/data/regions/LI.js +1 -1
  891. data/node_modules/caniuse-lite/data/regions/LK.js +1 -1
  892. data/node_modules/caniuse-lite/data/regions/LR.js +1 -1
  893. data/node_modules/caniuse-lite/data/regions/LS.js +1 -1
  894. data/node_modules/caniuse-lite/data/regions/LT.js +1 -1
  895. data/node_modules/caniuse-lite/data/regions/LU.js +1 -1
  896. data/node_modules/caniuse-lite/data/regions/LV.js +1 -1
  897. data/node_modules/caniuse-lite/data/regions/LY.js +1 -1
  898. data/node_modules/caniuse-lite/data/regions/MA.js +1 -1
  899. data/node_modules/caniuse-lite/data/regions/MC.js +1 -1
  900. data/node_modules/caniuse-lite/data/regions/MD.js +1 -1
  901. data/node_modules/caniuse-lite/data/regions/ME.js +1 -1
  902. data/node_modules/caniuse-lite/data/regions/MG.js +1 -1
  903. data/node_modules/caniuse-lite/data/regions/MH.js +1 -1
  904. data/node_modules/caniuse-lite/data/regions/MK.js +1 -1
  905. data/node_modules/caniuse-lite/data/regions/ML.js +1 -1
  906. data/node_modules/caniuse-lite/data/regions/MM.js +1 -1
  907. data/node_modules/caniuse-lite/data/regions/MN.js +1 -1
  908. data/node_modules/caniuse-lite/data/regions/MO.js +1 -1
  909. data/node_modules/caniuse-lite/data/regions/MP.js +1 -1
  910. data/node_modules/caniuse-lite/data/regions/MQ.js +1 -1
  911. data/node_modules/caniuse-lite/data/regions/MR.js +1 -1
  912. data/node_modules/caniuse-lite/data/regions/MS.js +1 -1
  913. data/node_modules/caniuse-lite/data/regions/MT.js +1 -1
  914. data/node_modules/caniuse-lite/data/regions/MU.js +1 -1
  915. data/node_modules/caniuse-lite/data/regions/MV.js +1 -1
  916. data/node_modules/caniuse-lite/data/regions/MW.js +1 -1
  917. data/node_modules/caniuse-lite/data/regions/MX.js +1 -1
  918. data/node_modules/caniuse-lite/data/regions/MY.js +1 -1
  919. data/node_modules/caniuse-lite/data/regions/MZ.js +1 -1
  920. data/node_modules/caniuse-lite/data/regions/NA.js +1 -1
  921. data/node_modules/caniuse-lite/data/regions/NC.js +1 -1
  922. data/node_modules/caniuse-lite/data/regions/NE.js +1 -1
  923. data/node_modules/caniuse-lite/data/regions/NF.js +1 -1
  924. data/node_modules/caniuse-lite/data/regions/NG.js +1 -1
  925. data/node_modules/caniuse-lite/data/regions/NI.js +1 -1
  926. data/node_modules/caniuse-lite/data/regions/NL.js +1 -1
  927. data/node_modules/caniuse-lite/data/regions/NO.js +1 -1
  928. data/node_modules/caniuse-lite/data/regions/NP.js +1 -1
  929. data/node_modules/caniuse-lite/data/regions/NR.js +1 -1
  930. data/node_modules/caniuse-lite/data/regions/NU.js +1 -1
  931. data/node_modules/caniuse-lite/data/regions/NZ.js +1 -1
  932. data/node_modules/caniuse-lite/data/regions/OM.js +1 -1
  933. data/node_modules/caniuse-lite/data/regions/PA.js +1 -1
  934. data/node_modules/caniuse-lite/data/regions/PE.js +1 -1
  935. data/node_modules/caniuse-lite/data/regions/PF.js +1 -1
  936. data/node_modules/caniuse-lite/data/regions/PG.js +1 -1
  937. data/node_modules/caniuse-lite/data/regions/PH.js +1 -1
  938. data/node_modules/caniuse-lite/data/regions/PK.js +1 -1
  939. data/node_modules/caniuse-lite/data/regions/PL.js +1 -1
  940. data/node_modules/caniuse-lite/data/regions/PM.js +1 -1
  941. data/node_modules/caniuse-lite/data/regions/PN.js +1 -1
  942. data/node_modules/caniuse-lite/data/regions/PR.js +1 -1
  943. data/node_modules/caniuse-lite/data/regions/PS.js +1 -1
  944. data/node_modules/caniuse-lite/data/regions/PT.js +1 -1
  945. data/node_modules/caniuse-lite/data/regions/PW.js +1 -1
  946. data/node_modules/caniuse-lite/data/regions/PY.js +1 -1
  947. data/node_modules/caniuse-lite/data/regions/QA.js +1 -1
  948. data/node_modules/caniuse-lite/data/regions/RE.js +1 -1
  949. data/node_modules/caniuse-lite/data/regions/RO.js +1 -1
  950. data/node_modules/caniuse-lite/data/regions/RS.js +1 -1
  951. data/node_modules/caniuse-lite/data/regions/RU.js +1 -1
  952. data/node_modules/caniuse-lite/data/regions/RW.js +1 -1
  953. data/node_modules/caniuse-lite/data/regions/SA.js +1 -1
  954. data/node_modules/caniuse-lite/data/regions/SB.js +1 -1
  955. data/node_modules/caniuse-lite/data/regions/SC.js +1 -1
  956. data/node_modules/caniuse-lite/data/regions/SD.js +1 -1
  957. data/node_modules/caniuse-lite/data/regions/SE.js +1 -1
  958. data/node_modules/caniuse-lite/data/regions/SG.js +1 -1
  959. data/node_modules/caniuse-lite/data/regions/SH.js +1 -1
  960. data/node_modules/caniuse-lite/data/regions/SI.js +1 -1
  961. data/node_modules/caniuse-lite/data/regions/SK.js +1 -1
  962. data/node_modules/caniuse-lite/data/regions/SL.js +1 -1
  963. data/node_modules/caniuse-lite/data/regions/SM.js +1 -1
  964. data/node_modules/caniuse-lite/data/regions/SN.js +1 -1
  965. data/node_modules/caniuse-lite/data/regions/SO.js +1 -1
  966. data/node_modules/caniuse-lite/data/regions/SR.js +1 -1
  967. data/node_modules/caniuse-lite/data/regions/ST.js +1 -1
  968. data/node_modules/caniuse-lite/data/regions/SV.js +1 -1
  969. data/node_modules/caniuse-lite/data/regions/SY.js +1 -1
  970. data/node_modules/caniuse-lite/data/regions/SZ.js +1 -1
  971. data/node_modules/caniuse-lite/data/regions/TC.js +1 -1
  972. data/node_modules/caniuse-lite/data/regions/TD.js +1 -1
  973. data/node_modules/caniuse-lite/data/regions/TG.js +1 -1
  974. data/node_modules/caniuse-lite/data/regions/TH.js +1 -1
  975. data/node_modules/caniuse-lite/data/regions/TJ.js +1 -1
  976. data/node_modules/caniuse-lite/data/regions/TL.js +1 -1
  977. data/node_modules/caniuse-lite/data/regions/TM.js +1 -1
  978. data/node_modules/caniuse-lite/data/regions/TN.js +1 -1
  979. data/node_modules/caniuse-lite/data/regions/TO.js +1 -1
  980. data/node_modules/caniuse-lite/data/regions/TR.js +1 -1
  981. data/node_modules/caniuse-lite/data/regions/TT.js +1 -1
  982. data/node_modules/caniuse-lite/data/regions/TV.js +1 -1
  983. data/node_modules/caniuse-lite/data/regions/TW.js +1 -1
  984. data/node_modules/caniuse-lite/data/regions/TZ.js +1 -1
  985. data/node_modules/caniuse-lite/data/regions/UA.js +1 -1
  986. data/node_modules/caniuse-lite/data/regions/UG.js +1 -1
  987. data/node_modules/caniuse-lite/data/regions/US.js +1 -1
  988. data/node_modules/caniuse-lite/data/regions/UY.js +1 -1
  989. data/node_modules/caniuse-lite/data/regions/UZ.js +1 -1
  990. data/node_modules/caniuse-lite/data/regions/VA.js +1 -1
  991. data/node_modules/caniuse-lite/data/regions/VC.js +1 -1
  992. data/node_modules/caniuse-lite/data/regions/VE.js +1 -1
  993. data/node_modules/caniuse-lite/data/regions/VG.js +1 -1
  994. data/node_modules/caniuse-lite/data/regions/VI.js +1 -1
  995. data/node_modules/caniuse-lite/data/regions/VN.js +1 -1
  996. data/node_modules/caniuse-lite/data/regions/VU.js +1 -1
  997. data/node_modules/caniuse-lite/data/regions/WF.js +1 -1
  998. data/node_modules/caniuse-lite/data/regions/WS.js +1 -1
  999. data/node_modules/caniuse-lite/data/regions/YE.js +1 -1
  1000. data/node_modules/caniuse-lite/data/regions/YT.js +1 -1
  1001. data/node_modules/caniuse-lite/data/regions/ZA.js +1 -1
  1002. data/node_modules/caniuse-lite/data/regions/ZM.js +1 -1
  1003. data/node_modules/caniuse-lite/data/regions/ZW.js +1 -1
  1004. data/node_modules/caniuse-lite/data/regions/alt-af.js +1 -1
  1005. data/node_modules/caniuse-lite/data/regions/alt-an.js +1 -1
  1006. data/node_modules/caniuse-lite/data/regions/alt-as.js +1 -1
  1007. data/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -1
  1008. data/node_modules/caniuse-lite/data/regions/alt-na.js +1 -1
  1009. data/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -1
  1010. data/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -1
  1011. data/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -1
  1012. data/node_modules/caniuse-lite/package.json +1 -1
  1013. data/node_modules/electron-to-chromium/chromium-versions.js +4 -1
  1014. data/node_modules/electron-to-chromium/chromium-versions.json +1 -1
  1015. data/node_modules/electron-to-chromium/full-chromium-versions.js +75 -3
  1016. data/node_modules/electron-to-chromium/full-chromium-versions.json +1 -1
  1017. data/node_modules/electron-to-chromium/full-versions.js +45 -1
  1018. data/node_modules/electron-to-chromium/full-versions.json +1 -1
  1019. data/node_modules/electron-to-chromium/package.json +1 -1
  1020. data/node_modules/electron-to-chromium/versions.js +8 -1
  1021. data/node_modules/electron-to-chromium/versions.json +1 -1
  1022. data/node_modules/es-object-atoms/CHANGELOG.md +21 -0
  1023. data/node_modules/es-object-atoms/README.md +7 -0
  1024. data/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +2 -2
  1025. data/node_modules/es-object-atoms/ToObject.d.ts +6 -2
  1026. data/node_modules/es-object-atoms/isObject.d.ts +3 -0
  1027. data/node_modules/es-object-atoms/isObject.js +6 -0
  1028. data/node_modules/es-object-atoms/package.json +9 -8
  1029. data/node_modules/es-object-atoms/test/index.js +11 -1
  1030. data/node_modules/es-shim-unscopables/CHANGELOG.md +8 -0
  1031. data/node_modules/es-shim-unscopables/index.d.ts +8 -0
  1032. data/node_modules/es-shim-unscopables/index.js +2 -1
  1033. data/node_modules/es-shim-unscopables/package.json +20 -11
  1034. data/node_modules/es-shim-unscopables/test/index.js +4 -1
  1035. data/node_modules/es-shim-unscopables/test/with.js +8 -0
  1036. data/node_modules/es-shim-unscopables/tsconfig.json +10 -0
  1037. data/node_modules/eslint/README.md +6 -4
  1038. data/node_modules/eslint/lib/config-api.js +12 -0
  1039. data/node_modules/eslint/lib/languages/js/source-code/source-code.js +18 -14
  1040. data/node_modules/eslint/lib/rules/no-console.js +19 -11
  1041. data/node_modules/eslint/lib/rules/no-native-reassign.js +1 -1
  1042. data/node_modules/eslint/lib/rules/no-negated-in-lhs.js +1 -1
  1043. data/node_modules/eslint/lib/types/config-api.d.ts +8 -0
  1044. data/node_modules/eslint/lib/types/rules.d.ts +5199 -0
  1045. data/node_modules/eslint/package.json +14 -6
  1046. data/node_modules/eslint-scope/README.md +4 -3
  1047. data/node_modules/eslint-scope/dist/eslint-scope.cjs +59 -2
  1048. data/node_modules/eslint-scope/lib/index.js +1 -0
  1049. data/node_modules/eslint-scope/lib/referencer.js +52 -0
  1050. data/node_modules/eslint-scope/lib/scope-manager.js +4 -0
  1051. data/node_modules/eslint-scope/lib/scope.js +1 -1
  1052. data/node_modules/eslint-scope/lib/version.js +1 -1
  1053. data/node_modules/eslint-scope/package.json +1 -1
  1054. data/node_modules/flatted/index.js +3 -3
  1055. data/node_modules/flatted/min.js +1 -1
  1056. data/node_modules/flatted/package.json +21 -8
  1057. data/node_modules/flatted/python/flatted.py +4 -4
  1058. data/node_modules/flow-parser/flow_parser.js +5550 -5530
  1059. data/node_modules/flow-parser/package.json +1 -1
  1060. data/node_modules/for-each/CHANGELOG.md +107 -0
  1061. data/node_modules/for-each/README.md +0 -4
  1062. data/node_modules/for-each/index.d.ts +35 -0
  1063. data/node_modules/for-each/index.js +11 -4
  1064. data/node_modules/for-each/package.json +47 -36
  1065. data/node_modules/for-each/test/test.js +54 -12
  1066. data/node_modules/for-each/tsconfig.json +8 -0
  1067. data/node_modules/get-intrinsic/CHANGELOG.md +8 -0
  1068. data/node_modules/get-intrinsic/index.js +1 -0
  1069. data/node_modules/get-intrinsic/package.json +8 -8
  1070. data/node_modules/import-fresh/index.js +2 -1
  1071. data/node_modules/import-fresh/package.json +6 -1
  1072. data/node_modules/import-fresh/readme.md +14 -8
  1073. data/node_modules/is-async-function/CHANGELOG.md +13 -0
  1074. data/node_modules/is-async-function/index.d.ts +4 -2
  1075. data/node_modules/is-async-function/index.js +3 -18
  1076. data/node_modules/is-async-function/package.json +8 -3
  1077. data/node_modules/is-boolean-object/CHANGELOG.md +11 -0
  1078. data/node_modules/is-boolean-object/index.js +1 -1
  1079. data/node_modules/is-boolean-object/package.json +8 -6
  1080. data/node_modules/is-boolean-object/test/index.js +24 -1
  1081. data/node_modules/is-weakref/CHANGELOG.md +8 -0
  1082. data/node_modules/is-weakref/index.d.ts +1 -1
  1083. data/node_modules/is-weakref/index.js +3 -1
  1084. data/node_modules/is-weakref/package.json +6 -6
  1085. data/node_modules/object-inspect/CHANGELOG.md +8 -0
  1086. data/node_modules/object-inspect/index.js +10 -7
  1087. data/node_modules/object-inspect/package.json +5 -4
  1088. data/node_modules/object-inspect/test/values.js +50 -0
  1089. data/node_modules/possible-typed-array-names/CHANGELOG.md +14 -0
  1090. data/node_modules/possible-typed-array-names/README.md +4 -2
  1091. data/node_modules/possible-typed-array-names/index.d.ts +1 -0
  1092. data/node_modules/possible-typed-array-names/index.js +1 -0
  1093. data/node_modules/possible-typed-array-names/package.json +10 -9
  1094. data/node_modules/possible-typed-array-names/test/index.js +6 -3
  1095. data/node_modules/possible-typed-array-names/tsconfig.json +2 -42
  1096. data/node_modules/recast/lib/lines.d.ts +2 -2
  1097. data/node_modules/recast/lib/printer.js +17 -5
  1098. data/node_modules/recast/package.json +1 -1
  1099. data/node_modules/typescript/README.md +1 -1
  1100. data/node_modules/typescript/lib/_tsc.js +931 -500
  1101. data/node_modules/typescript/lib/_tsserver.js +43 -7
  1102. data/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +14 -8
  1103. data/node_modules/typescript/lib/de/diagnosticMessages.generated.json +14 -8
  1104. data/node_modules/typescript/lib/es/diagnosticMessages.generated.json +14 -8
  1105. data/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +14 -8
  1106. data/node_modules/typescript/lib/it/diagnosticMessages.generated.json +14 -8
  1107. data/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +14 -8
  1108. data/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +14 -8
  1109. data/node_modules/typescript/lib/lib.dom.d.ts +769 -142
  1110. data/node_modules/typescript/lib/lib.dom.iterable.d.ts +9 -7
  1111. data/node_modules/typescript/lib/lib.es2015.iterable.d.ts +69 -54
  1112. data/node_modules/typescript/lib/lib.es2020.bigint.d.ts +41 -7
  1113. data/node_modules/typescript/lib/lib.es2023.array.d.ts +24 -24
  1114. data/node_modules/typescript/lib/lib.es5.d.ts +60 -51
  1115. data/node_modules/typescript/lib/lib.esnext.d.ts +2 -0
  1116. data/node_modules/typescript/lib/lib.esnext.float16.d.ts +443 -0
  1117. data/node_modules/typescript/lib/lib.esnext.iterator.d.ts +1 -1
  1118. data/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  1119. data/node_modules/typescript/lib/lib.webworker.d.ts +262 -55
  1120. data/node_modules/typescript/lib/lib.webworker.iterable.d.ts +6 -7
  1121. data/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +14 -8
  1122. data/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +14 -8
  1123. data/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +14 -8
  1124. data/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +14 -8
  1125. data/node_modules/typescript/lib/typescript.d.ts +14 -3
  1126. data/node_modules/typescript/lib/typescript.js +1035 -570
  1127. data/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +14 -8
  1128. data/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +14 -8
  1129. data/node_modules/typescript/package.json +22 -22
  1130. data/node_modules/update-browserslist-db/index.js +5 -7
  1131. data/node_modules/update-browserslist-db/package.json +2 -2
  1132. data/node_modules/which-typed-array/CHANGELOG.md +10 -0
  1133. data/node_modules/which-typed-array/index.js +21 -20
  1134. data/node_modules/which-typed-array/package.json +9 -7
  1135. data/node_modules/which-typed-array/tsconfig.json +1 -1
  1136. data/package.json +2 -3
  1137. metadata +41 -206
  1138. data/linters/jscodeshift/arrow-function-transform.js +0 -42
  1139. data/node_modules/.bin/jscodeshift +0 -1
  1140. data/node_modules/@babel/eslint-parser/LICENSE +0 -22
  1141. data/node_modules/@babel/eslint-parser/README.md +0 -142
  1142. data/node_modules/@babel/eslint-parser/lib/analyze-scope.cjs +0 -322
  1143. data/node_modules/@babel/eslint-parser/lib/analyze-scope.cjs.map +0 -1
  1144. data/node_modules/@babel/eslint-parser/lib/client.cjs +0 -106
  1145. data/node_modules/@babel/eslint-parser/lib/client.cjs.map +0 -1
  1146. data/node_modules/@babel/eslint-parser/lib/configuration.cjs +0 -23
  1147. data/node_modules/@babel/eslint-parser/lib/configuration.cjs.map +0 -1
  1148. data/node_modules/@babel/eslint-parser/lib/convert/convertAST.cjs +0 -134
  1149. data/node_modules/@babel/eslint-parser/lib/convert/convertAST.cjs.map +0 -1
  1150. data/node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs +0 -10
  1151. data/node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs.map +0 -1
  1152. data/node_modules/@babel/eslint-parser/lib/convert/convertTokens.cjs +0 -159
  1153. data/node_modules/@babel/eslint-parser/lib/convert/convertTokens.cjs.map +0 -1
  1154. data/node_modules/@babel/eslint-parser/lib/convert/index.cjs +0 -25
  1155. data/node_modules/@babel/eslint-parser/lib/convert/index.cjs.map +0 -1
  1156. data/node_modules/@babel/eslint-parser/lib/experimental-worker.cjs +0 -32
  1157. data/node_modules/@babel/eslint-parser/lib/experimental-worker.cjs.map +0 -1
  1158. data/node_modules/@babel/eslint-parser/lib/index.cjs +0 -32
  1159. data/node_modules/@babel/eslint-parser/lib/index.cjs.map +0 -1
  1160. data/node_modules/@babel/eslint-parser/lib/parse.cjs +0 -37
  1161. data/node_modules/@babel/eslint-parser/lib/parse.cjs.map +0 -1
  1162. data/node_modules/@babel/eslint-parser/lib/utils/eslint-version.cjs +0 -5
  1163. data/node_modules/@babel/eslint-parser/lib/utils/eslint-version.cjs.map +0 -1
  1164. data/node_modules/@babel/eslint-parser/lib/worker/ast-info.cjs +0 -37
  1165. data/node_modules/@babel/eslint-parser/lib/worker/ast-info.cjs.map +0 -1
  1166. data/node_modules/@babel/eslint-parser/lib/worker/babel-core.cjs +0 -21
  1167. data/node_modules/@babel/eslint-parser/lib/worker/babel-core.cjs.map +0 -1
  1168. data/node_modules/@babel/eslint-parser/lib/worker/configuration.cjs +0 -91
  1169. data/node_modules/@babel/eslint-parser/lib/worker/configuration.cjs.map +0 -1
  1170. data/node_modules/@babel/eslint-parser/lib/worker/extract-parser-options-plugin.cjs +0 -11
  1171. data/node_modules/@babel/eslint-parser/lib/worker/extract-parser-options-plugin.cjs.map +0 -1
  1172. data/node_modules/@babel/eslint-parser/lib/worker/handle-message.cjs +0 -32
  1173. data/node_modules/@babel/eslint-parser/lib/worker/handle-message.cjs.map +0 -1
  1174. data/node_modules/@babel/eslint-parser/lib/worker/index.cjs +0 -39
  1175. data/node_modules/@babel/eslint-parser/lib/worker/index.cjs.map +0 -1
  1176. data/node_modules/@babel/eslint-parser/lib/worker/maybeParse.cjs +0 -48
  1177. data/node_modules/@babel/eslint-parser/lib/worker/maybeParse.cjs.map +0 -1
  1178. data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/CHANGELOG.md +0 -36
  1179. data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/README.md +0 -98
  1180. data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/lib/index.js +0 -81
  1181. data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/lib/visitor-keys.json +0 -289
  1182. data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/package.json +0 -39
  1183. data/node_modules/@babel/eslint-parser/node_modules/semver/LICENSE +0 -15
  1184. data/node_modules/@babel/eslint-parser/node_modules/semver/README.md +0 -443
  1185. data/node_modules/@babel/eslint-parser/node_modules/semver/bin/semver.js +0 -174
  1186. data/node_modules/@babel/eslint-parser/node_modules/semver/package.json +0 -38
  1187. data/node_modules/@babel/eslint-parser/node_modules/semver/range.bnf +0 -16
  1188. data/node_modules/@babel/eslint-parser/node_modules/semver/semver.js +0 -1643
  1189. data/node_modules/@babel/eslint-parser/package.json +0 -53
  1190. data/node_modules/@babel/eslint-parser/types.d.cts +0 -9
  1191. data/node_modules/@babel/plugin-proposal-decorators/LICENSE +0 -22
  1192. data/node_modules/@babel/plugin-proposal-decorators/README.md +0 -19
  1193. data/node_modules/@babel/plugin-proposal-decorators/lib/index.js +0 -41
  1194. data/node_modules/@babel/plugin-proposal-decorators/lib/index.js.map +0 -1
  1195. data/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js +0 -165
  1196. data/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js.map +0 -1
  1197. data/node_modules/@babel/plugin-proposal-decorators/package.json +0 -42
  1198. data/node_modules/@babel/plugin-syntax-decorators/LICENSE +0 -22
  1199. data/node_modules/@babel/plugin-syntax-decorators/README.md +0 -19
  1200. data/node_modules/@babel/plugin-syntax-decorators/lib/index.js +0 -81
  1201. data/node_modules/@babel/plugin-syntax-decorators/lib/index.js.map +0 -1
  1202. data/node_modules/@babel/plugin-syntax-decorators/package.json +0 -33
  1203. data/node_modules/@babel/plugin-transform-react-display-name/LICENSE +0 -22
  1204. data/node_modules/@babel/plugin-transform-react-display-name/README.md +0 -19
  1205. data/node_modules/@babel/plugin-transform-react-display-name/lib/index.js +0 -92
  1206. data/node_modules/@babel/plugin-transform-react-display-name/lib/index.js.map +0 -1
  1207. data/node_modules/@babel/plugin-transform-react-display-name/package.json +0 -34
  1208. data/node_modules/@babel/plugin-transform-react-jsx/LICENSE +0 -22
  1209. data/node_modules/@babel/plugin-transform-react-jsx/README.md +0 -19
  1210. data/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js +0 -505
  1211. data/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js.map +0 -1
  1212. data/node_modules/@babel/plugin-transform-react-jsx/lib/development.js +0 -13
  1213. data/node_modules/@babel/plugin-transform-react-jsx/lib/development.js.map +0 -1
  1214. data/node_modules/@babel/plugin-transform-react-jsx/lib/index.js +0 -13
  1215. data/node_modules/@babel/plugin-transform-react-jsx/lib/index.js.map +0 -1
  1216. data/node_modules/@babel/plugin-transform-react-jsx/package.json +0 -39
  1217. data/node_modules/@babel/plugin-transform-react-jsx-development/LICENSE +0 -22
  1218. data/node_modules/@babel/plugin-transform-react-jsx-development/README.md +0 -19
  1219. data/node_modules/@babel/plugin-transform-react-jsx-development/lib/index.js +0 -10
  1220. data/node_modules/@babel/plugin-transform-react-jsx-development/lib/index.js.map +0 -1
  1221. data/node_modules/@babel/plugin-transform-react-jsx-development/package.json +0 -33
  1222. data/node_modules/@babel/plugin-transform-react-pure-annotations/LICENSE +0 -22
  1223. data/node_modules/@babel/plugin-transform-react-pure-annotations/README.md +0 -19
  1224. data/node_modules/@babel/plugin-transform-react-pure-annotations/lib/index.js +0 -49
  1225. data/node_modules/@babel/plugin-transform-react-pure-annotations/lib/index.js.map +0 -1
  1226. data/node_modules/@babel/plugin-transform-react-pure-annotations/package.json +0 -34
  1227. data/node_modules/@babel/preset-react/LICENSE +0 -22
  1228. data/node_modules/@babel/preset-react/README.md +0 -19
  1229. data/node_modules/@babel/preset-react/lib/index.js +0 -79
  1230. data/node_modules/@babel/preset-react/lib/index.js.map +0 -1
  1231. data/node_modules/@babel/preset-react/package.json +0 -37
  1232. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/LICENSE +0 -7
  1233. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/index.js +0 -8
  1234. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/CHANGELOG.md +0 -70
  1235. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/LICENSE +0 -22
  1236. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/README.md +0 -54
  1237. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/definition.js +0 -86
  1238. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/index.js +0 -165
  1239. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/pattern-visitor.js +0 -152
  1240. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/reference.js +0 -167
  1241. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/referencer.js +0 -629
  1242. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/scope-manager.js +0 -247
  1243. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/scope.js +0 -748
  1244. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/variable.js +0 -88
  1245. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/LICENSE.BSD +0 -19
  1246. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/README.md +0 -153
  1247. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/estraverse.js +0 -782
  1248. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/gulpfile.js +0 -70
  1249. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/package.json +0 -40
  1250. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/package.json +0 -48
  1251. data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/package.json +0 -14
  1252. data/node_modules/eslint/lib/types/rules/best-practices.d.ts +0 -1143
  1253. data/node_modules/eslint/lib/types/rules/deprecated.d.ts +0 -252
  1254. data/node_modules/eslint/lib/types/rules/ecmascript-6.d.ts +0 -647
  1255. data/node_modules/eslint/lib/types/rules/index.d.ts +0 -50
  1256. data/node_modules/eslint/lib/types/rules/node-commonjs.d.ts +0 -171
  1257. data/node_modules/eslint/lib/types/rules/possible-errors.d.ts +0 -685
  1258. data/node_modules/eslint/lib/types/rules/strict-mode.d.ts +0 -38
  1259. data/node_modules/eslint/lib/types/rules/stylistic-issues.d.ts +0 -2043
  1260. data/node_modules/eslint/lib/types/rules/variables.d.ts +0 -234
  1261. data/node_modules/flatted/python/test.py +0 -63
  1262. data/node_modules/jscodeshift/CHANGELOG.md +0 -226
  1263. data/node_modules/jscodeshift/CODE_OF_CONDUCT.md +0 -3
  1264. data/node_modules/jscodeshift/CONTRIBUTING.md +0 -48
  1265. data/node_modules/jscodeshift/README.md +0 -671
  1266. data/node_modules/jscodeshift/bin/jscodeshift.js +0 -182
  1267. data/node_modules/jscodeshift/bin/jscodeshift.sh +0 -12
  1268. data/node_modules/jscodeshift/dist/Collection.js +0 -472
  1269. data/node_modules/jscodeshift/dist/Runner.js +0 -322
  1270. data/node_modules/jscodeshift/dist/Worker.js +0 -210
  1271. data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.input.js +0 -1
  1272. data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.js +0 -11
  1273. data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.output.js +0 -1
  1274. data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.input.js +0 -1
  1275. data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.js +0 -7
  1276. data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.output.js +0 -1
  1277. data/node_modules/jscodeshift/dist/argsParser.js +0 -273
  1278. data/node_modules/jscodeshift/dist/collections/ImportDeclaration.js +0 -113
  1279. data/node_modules/jscodeshift/dist/collections/JSXElement.js +0 -221
  1280. data/node_modules/jscodeshift/dist/collections/Node.js +0 -187
  1281. data/node_modules/jscodeshift/dist/collections/VariableDeclarator.js +0 -210
  1282. data/node_modules/jscodeshift/dist/collections/index.js +0 -14
  1283. data/node_modules/jscodeshift/dist/core.js +0 -183
  1284. data/node_modules/jscodeshift/dist/getParser.js +0 -25
  1285. data/node_modules/jscodeshift/dist/ignoreFiles.js +0 -68
  1286. data/node_modules/jscodeshift/dist/matchNode.js +0 -40
  1287. data/node_modules/jscodeshift/dist/template.js +0 -173
  1288. data/node_modules/jscodeshift/dist/testUtils.js +0 -173
  1289. data/node_modules/jscodeshift/dist/utils/intersection.js +0 -27
  1290. data/node_modules/jscodeshift/dist/utils/once.js +0 -21
  1291. data/node_modules/jscodeshift/dist/utils/union.js +0 -20
  1292. data/node_modules/jscodeshift/index.js +0 -9
  1293. data/node_modules/jscodeshift/package.json +0 -74
  1294. data/node_modules/jscodeshift/parser/babel5Compat.js +0 -50
  1295. data/node_modules/jscodeshift/parser/babylon.js +0 -57
  1296. data/node_modules/jscodeshift/parser/flow.js +0 -34
  1297. data/node_modules/jscodeshift/parser/ts.js +0 -24
  1298. data/node_modules/jscodeshift/parser/tsOptions.js +0 -46
  1299. data/node_modules/jscodeshift/parser/tsx.js +0 -27
  1300. data/node_modules/jscodeshift/src/Collection.js +0 -472
  1301. data/node_modules/jscodeshift/src/Runner.js +0 -322
  1302. data/node_modules/jscodeshift/src/Worker.js +0 -210
  1303. data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.input.js +0 -1
  1304. data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.js +0 -11
  1305. data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.output.js +0 -1
  1306. data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.input.js +0 -1
  1307. data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.js +0 -7
  1308. data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.output.js +0 -1
  1309. data/node_modules/jscodeshift/src/argsParser.js +0 -273
  1310. data/node_modules/jscodeshift/src/collections/ImportDeclaration.js +0 -113
  1311. data/node_modules/jscodeshift/src/collections/JSXElement.js +0 -221
  1312. data/node_modules/jscodeshift/src/collections/Node.js +0 -187
  1313. data/node_modules/jscodeshift/src/collections/VariableDeclarator.js +0 -210
  1314. data/node_modules/jscodeshift/src/collections/index.js +0 -14
  1315. data/node_modules/jscodeshift/src/core.js +0 -183
  1316. data/node_modules/jscodeshift/src/getParser.js +0 -25
  1317. data/node_modules/jscodeshift/src/ignoreFiles.js +0 -68
  1318. data/node_modules/jscodeshift/src/matchNode.js +0 -40
  1319. data/node_modules/jscodeshift/src/template.js +0 -173
  1320. data/node_modules/jscodeshift/src/testUtils.js +0 -173
  1321. data/node_modules/jscodeshift/src/utils/intersection.js +0 -27
  1322. data/node_modules/jscodeshift/src/utils/once.js +0 -21
  1323. data/node_modules/jscodeshift/src/utils/union.js +0 -20
  1324. data/node_modules/jscodeshift/utils/requirePackage.js +0 -24
  1325. data/node_modules/jscodeshift/utils/testUtils.js +0 -49
  1326. data/node_modules/jscodeshift/website/README.md +0 -44
  1327. data/node_modules/jscodeshift/website/astro.config.mjs +0 -36
  1328. data/node_modules/jscodeshift/website/package.json +0 -17
  1329. data/node_modules/jscodeshift/website/public/favicon.svg +0 -1
  1330. data/node_modules/jscodeshift/website/src/assets/houston.webp +0 -0
  1331. data/node_modules/jscodeshift/website/src/content/config.ts +0 -6
  1332. data/node_modules/jscodeshift/website/src/content/docs/build/api-reference.mdx +0 -406
  1333. data/node_modules/jscodeshift/website/src/content/docs/build/ast-grammar.mdx +0 -3086
  1334. data/node_modules/jscodeshift/website/src/content/docs/index.mdx +0 -15
  1335. data/node_modules/jscodeshift/website/src/content/docs/overview/introduction.mdx +0 -45
  1336. data/node_modules/jscodeshift/website/src/content/docs/run/cli.mdx +0 -161
  1337. data/node_modules/jscodeshift/website/src/env.d.ts +0 -2
  1338. data/node_modules/jscodeshift/website/tsconfig.json +0 -3
  1339. data/node_modules/typescript/lib/cancellationToken.js +0 -90
@@ -1 +1 @@
1
- {"version":3,"names":["_utils","require","_core","_is","defineType","defineAliasedType","bool","assertValueType","tSFunctionTypeAnnotationCommon","returnType","validate","assertNodeType","optional","typeParameters","aliases","visitor","fields","accessibility","assertOneOf","readonly","parameter","override","decorators","arrayOfType","Object","assign","functionDeclarationCommon","classMethodOrDeclareMethodCommon","left","validateType","right","signatureDeclarationCommon","validateOptionalType","validateArrayOfType","callConstructSignatureDeclaration","namedTypeElementCommon","key","computed","default","validateOptional","typeAnnotation","kind","static","parameters","tsKeywordTypes","type","fnOrCtrBase","abstract","typeName","builder","parameterName","asserts","exprName","members","elementType","elementTypes","label","unionOrIntersection","types","checkType","extendsType","trueType","falseType","typeParameter","operator","objectType","indexType","nameType","literal","unaryExpression","unaryOperator","validator","parent","node","is","argument","oneOfNodeTypes","expressionWithTypeArguments","expression","declare","id","extends","body","TSTypeExpression","const","initializer","global","qualifier","options","isExport","moduleReference","importKind","params","name","in","out","constraint"],"sources":["../../src/definitions/typescript.ts"],"sourcesContent":["import {\n defineAliasedType,\n arrayOfType,\n assertNodeType,\n assertOneOf,\n assertValueType,\n validate,\n validateArrayOfType,\n validateOptional,\n validateOptionalType,\n validateType,\n} from \"./utils.ts\";\nimport {\n functionDeclarationCommon,\n classMethodOrDeclareMethodCommon,\n} from \"./core.ts\";\nimport is from \"../validators/is.ts\";\n\nconst defineType = defineAliasedType(\"TypeScript\");\n\nconst bool = assertValueType(\"boolean\");\n\nconst tSFunctionTypeAnnotationCommon = () => ({\n returnType: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TSTypeAnnotation\")\n : // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n assertNodeType(\"TSTypeAnnotation\", \"Noop\"),\n optional: true,\n },\n typeParameters: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TSTypeParameterDeclaration\")\n : // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n assertNodeType(\"TSTypeParameterDeclaration\", \"Noop\"),\n optional: true,\n },\n});\n\ndefineType(\"TSParameterProperty\", {\n aliases: [\"LVal\"], // TODO: This isn't usable in general as an LVal. Should have a \"Parameter\" alias.\n visitor: [\"parameter\"],\n fields: {\n accessibility: {\n validate: assertOneOf(\"public\", \"private\", \"protected\"),\n optional: true,\n },\n readonly: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n parameter: {\n validate: assertNodeType(\"Identifier\", \"AssignmentPattern\"),\n },\n override: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"TSDeclareFunction\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"typeParameters\", \"params\", \"returnType\"],\n fields: {\n ...functionDeclarationCommon(),\n ...tSFunctionTypeAnnotationCommon(),\n },\n});\n\ndefineType(\"TSDeclareMethod\", {\n visitor: [\"decorators\", \"key\", \"typeParameters\", \"params\", \"returnType\"],\n fields: {\n ...classMethodOrDeclareMethodCommon(),\n ...tSFunctionTypeAnnotationCommon(),\n },\n});\n\ndefineType(\"TSQualifiedName\", {\n aliases: [\"TSEntityName\"],\n visitor: [\"left\", \"right\"],\n fields: {\n left: validateType(\"TSEntityName\"),\n right: validateType(\"Identifier\"),\n },\n});\n\nconst signatureDeclarationCommon = () => ({\n typeParameters: validateOptionalType(\"TSTypeParameterDeclaration\"),\n [process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\"]: validateArrayOfType(\n \"ArrayPattern\",\n \"Identifier\",\n \"ObjectPattern\",\n \"RestElement\",\n ),\n [process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\"]:\n validateOptionalType(\"TSTypeAnnotation\"),\n});\n\nconst callConstructSignatureDeclaration = {\n aliases: [\"TSTypeElement\"],\n visitor: [\n \"typeParameters\",\n process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\",\n process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\",\n ],\n fields: signatureDeclarationCommon(),\n};\n\ndefineType(\"TSCallSignatureDeclaration\", callConstructSignatureDeclaration);\ndefineType(\n \"TSConstructSignatureDeclaration\",\n callConstructSignatureDeclaration,\n);\n\nconst namedTypeElementCommon = () => ({\n key: validateType(\"Expression\"),\n computed: { default: false },\n optional: validateOptional(bool),\n});\n\ndefineType(\"TSPropertySignature\", {\n aliases: [\"TSTypeElement\"],\n visitor: [\"key\", \"typeAnnotation\"],\n fields: {\n ...namedTypeElementCommon(),\n readonly: validateOptional(bool),\n typeAnnotation: validateOptionalType(\"TSTypeAnnotation\"),\n kind: {\n validate: assertOneOf(\"get\", \"set\"),\n },\n },\n});\n\ndefineType(\"TSMethodSignature\", {\n aliases: [\"TSTypeElement\"],\n visitor: [\n \"key\",\n \"typeParameters\",\n process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\",\n process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\",\n ],\n fields: {\n ...signatureDeclarationCommon(),\n ...namedTypeElementCommon(),\n kind: {\n validate: assertOneOf(\"method\", \"get\", \"set\"),\n },\n },\n});\n\ndefineType(\"TSIndexSignature\", {\n aliases: [\"TSTypeElement\"],\n visitor: [\"parameters\", \"typeAnnotation\"],\n fields: {\n readonly: validateOptional(bool),\n static: validateOptional(bool),\n parameters: validateArrayOfType(\"Identifier\"), // Length must be 1\n typeAnnotation: validateOptionalType(\"TSTypeAnnotation\"),\n },\n});\n\nconst tsKeywordTypes = [\n \"TSAnyKeyword\",\n \"TSBooleanKeyword\",\n \"TSBigIntKeyword\",\n \"TSIntrinsicKeyword\",\n \"TSNeverKeyword\",\n \"TSNullKeyword\",\n \"TSNumberKeyword\",\n \"TSObjectKeyword\",\n \"TSStringKeyword\",\n \"TSSymbolKeyword\",\n \"TSUndefinedKeyword\",\n \"TSUnknownKeyword\",\n \"TSVoidKeyword\",\n] as const;\n\nfor (const type of tsKeywordTypes) {\n defineType(type, {\n aliases: [\"TSType\", \"TSBaseType\"],\n visitor: [],\n fields: {},\n });\n}\n\ndefineType(\"TSThisType\", {\n aliases: [\"TSType\", \"TSBaseType\"],\n visitor: [],\n fields: {},\n});\n\nconst fnOrCtrBase = {\n aliases: [\"TSType\"],\n visitor: [\n \"typeParameters\",\n process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\",\n process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\",\n ],\n};\n\ndefineType(\"TSFunctionType\", {\n ...fnOrCtrBase,\n fields: signatureDeclarationCommon(),\n});\ndefineType(\"TSConstructorType\", {\n ...fnOrCtrBase,\n fields: {\n ...signatureDeclarationCommon(),\n abstract: validateOptional(bool),\n },\n});\n\ndefineType(\"TSTypeReference\", {\n aliases: [\"TSType\"],\n visitor: [\"typeName\", \"typeParameters\"],\n fields: {\n typeName: validateType(\"TSEntityName\"),\n typeParameters: validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n});\n\ndefineType(\"TSTypePredicate\", {\n aliases: [\"TSType\"],\n visitor: [\"parameterName\", \"typeAnnotation\"],\n builder: [\"parameterName\", \"typeAnnotation\", \"asserts\"],\n fields: {\n parameterName: validateType(\"Identifier\", \"TSThisType\"),\n typeAnnotation: validateOptionalType(\"TSTypeAnnotation\"),\n asserts: validateOptional(bool),\n },\n});\n\ndefineType(\"TSTypeQuery\", {\n aliases: [\"TSType\"],\n visitor: [\"exprName\", \"typeParameters\"],\n fields: {\n exprName: validateType(\"TSEntityName\", \"TSImportType\"),\n typeParameters: validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n});\n\ndefineType(\"TSTypeLiteral\", {\n aliases: [\"TSType\"],\n visitor: [\"members\"],\n fields: {\n members: validateArrayOfType(\"TSTypeElement\"),\n },\n});\n\ndefineType(\"TSArrayType\", {\n aliases: [\"TSType\"],\n visitor: [\"elementType\"],\n fields: {\n elementType: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSTupleType\", {\n aliases: [\"TSType\"],\n visitor: [\"elementTypes\"],\n fields: {\n elementTypes: validateArrayOfType(\"TSType\", \"TSNamedTupleMember\"),\n },\n});\n\ndefineType(\"TSOptionalType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSRestType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSNamedTupleMember\", {\n visitor: [\"label\", \"elementType\"],\n builder: [\"label\", \"elementType\", \"optional\"],\n fields: {\n label: validateType(\"Identifier\"),\n optional: {\n validate: bool,\n default: false,\n },\n elementType: validateType(\"TSType\"),\n },\n});\n\nconst unionOrIntersection = {\n aliases: [\"TSType\"],\n visitor: [\"types\"],\n fields: {\n types: validateArrayOfType(\"TSType\"),\n },\n};\n\ndefineType(\"TSUnionType\", unionOrIntersection);\ndefineType(\"TSIntersectionType\", unionOrIntersection);\n\ndefineType(\"TSConditionalType\", {\n aliases: [\"TSType\"],\n visitor: [\"checkType\", \"extendsType\", \"trueType\", \"falseType\"],\n fields: {\n checkType: validateType(\"TSType\"),\n extendsType: validateType(\"TSType\"),\n trueType: validateType(\"TSType\"),\n falseType: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSInferType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeParameter\"],\n fields: {\n typeParameter: validateType(\"TSTypeParameter\"),\n },\n});\n\ndefineType(\"TSParenthesizedType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSTypeOperator\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n fields: {\n operator: validate(assertValueType(\"string\")),\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSIndexedAccessType\", {\n aliases: [\"TSType\"],\n visitor: [\"objectType\", \"indexType\"],\n fields: {\n objectType: validateType(\"TSType\"),\n indexType: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSMappedType\", {\n aliases: [\"TSType\"],\n visitor: process.env.BABEL_8_BREAKING\n ? [\"key\", \"constraint\", \"nameType\", \"typeAnnotation\"]\n : [\"typeParameter\", \"nameType\", \"typeAnnotation\"],\n builder: process.env.BABEL_8_BREAKING\n ? [\"key\", \"constraint\", \"nameType\", \"typeAnnotation\"]\n : [\"typeParameter\", \"typeAnnotation\", \"nameType\"],\n fields: {\n ...(process.env.BABEL_8_BREAKING\n ? {\n key: validateType(\"Identifier\"),\n constraint: validateType(\"TSType\"),\n }\n : {\n typeParameter: validateType(\"TSTypeParameter\"),\n }),\n readonly: validateOptional(assertOneOf(true, false, \"+\", \"-\")),\n optional: validateOptional(assertOneOf(true, false, \"+\", \"-\")),\n typeAnnotation: validateOptionalType(\"TSType\"),\n nameType: validateOptionalType(\"TSType\"),\n },\n});\n\ndefineType(\"TSLiteralType\", {\n aliases: [\"TSType\", \"TSBaseType\"],\n visitor: [\"literal\"],\n fields: {\n literal: {\n validate: (function () {\n const unaryExpression = assertNodeType(\n \"NumericLiteral\",\n \"BigIntLiteral\",\n );\n const unaryOperator = assertOneOf(\"-\");\n\n const literal = assertNodeType(\n \"NumericLiteral\",\n \"StringLiteral\",\n \"BooleanLiteral\",\n \"BigIntLiteral\",\n \"TemplateLiteral\",\n );\n function validator(parent: any, key: string, node: any) {\n // type A = -1 | 1;\n if (is(\"UnaryExpression\", node)) {\n // check operator first\n unaryOperator(node, \"operator\", node.operator);\n unaryExpression(node, \"argument\", node.argument);\n } else {\n // type A = 'foo' | 'bar' | false | 1;\n literal(parent, key, node);\n }\n }\n\n validator.oneOfNodeTypes = [\n \"NumericLiteral\",\n \"StringLiteral\",\n \"BooleanLiteral\",\n \"BigIntLiteral\",\n \"TemplateLiteral\",\n \"UnaryExpression\",\n ];\n\n return validator;\n })(),\n },\n },\n});\n\nconst expressionWithTypeArguments = {\n aliases: [\"TSType\"],\n visitor: [\"expression\", \"typeParameters\"],\n fields: {\n expression: validateType(\"TSEntityName\"),\n typeParameters: validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n};\n\nif (process.env.BABEL_8_BREAKING) {\n defineType(\"TSClassImplements\", expressionWithTypeArguments);\n defineType(\"TSInterfaceHeritage\", expressionWithTypeArguments);\n} else {\n defineType(\"TSExpressionWithTypeArguments\", expressionWithTypeArguments);\n}\n\ndefineType(\"TSInterfaceDeclaration\", {\n // \"Statement\" alias prevents a semicolon from appearing after it in an export declaration.\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"typeParameters\", \"extends\", \"body\"],\n fields: {\n declare: validateOptional(bool),\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TSTypeParameterDeclaration\"),\n extends: validateOptional(\n arrayOfType(\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n process.env.BABEL_8_BREAKING\n ? \"TSClassImplements\"\n : \"TSExpressionWithTypeArguments\",\n ),\n ),\n body: validateType(\"TSInterfaceBody\"),\n },\n});\n\ndefineType(\"TSInterfaceBody\", {\n visitor: [\"body\"],\n fields: {\n body: validateArrayOfType(\"TSTypeElement\"),\n },\n});\n\ndefineType(\"TSTypeAliasDeclaration\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"typeParameters\", \"typeAnnotation\"],\n fields: {\n declare: validateOptional(bool),\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TSTypeParameterDeclaration\"),\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSInstantiationExpression\", {\n aliases: [\"Expression\"],\n visitor: [\"expression\", \"typeParameters\"],\n fields: {\n expression: validateType(\"Expression\"),\n typeParameters: validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n});\n\nconst TSTypeExpression = {\n aliases: [\"Expression\", \"LVal\", \"PatternLike\"],\n visitor: [\"expression\", \"typeAnnotation\"],\n fields: {\n expression: validateType(\"Expression\"),\n typeAnnotation: validateType(\"TSType\"),\n },\n};\n\ndefineType(\"TSAsExpression\", TSTypeExpression);\ndefineType(\"TSSatisfiesExpression\", TSTypeExpression);\n\ndefineType(\"TSTypeAssertion\", {\n aliases: [\"Expression\", \"LVal\", \"PatternLike\"],\n visitor: [\"typeAnnotation\", \"expression\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n expression: validateType(\"Expression\"),\n },\n});\n\ndefineType(\"TSEnumDeclaration\", {\n // \"Statement\" alias prevents a semicolon from appearing after it in an export declaration.\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"members\"],\n fields: {\n declare: validateOptional(bool),\n const: validateOptional(bool),\n id: validateType(\"Identifier\"),\n members: validateArrayOfType(\"TSEnumMember\"),\n initializer: validateOptionalType(\"Expression\"),\n },\n});\n\ndefineType(\"TSEnumMember\", {\n visitor: [\"id\", \"initializer\"],\n fields: {\n id: validateType(\"Identifier\", \"StringLiteral\"),\n initializer: validateOptionalType(\"Expression\"),\n },\n});\n\ndefineType(\"TSModuleDeclaration\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"body\"],\n fields: {\n kind: {\n validate: assertOneOf(\"global\", \"module\", \"namespace\"),\n },\n declare: validateOptional(bool),\n ...(!process.env.BABEL_8_BREAKING && { global: validateOptional(bool) }),\n id: process.env.BABEL_8_BREAKING\n ? validateType(\"TSEntityName\", \"StringLiteral\")\n : validateType(\"Identifier\", \"StringLiteral\"),\n body: process.env.BABEL_8_BREAKING\n ? validateType(\"TSModuleBlock\")\n : validateType(\"TSModuleBlock\", \"TSModuleDeclaration\"),\n },\n});\n\ndefineType(\"TSModuleBlock\", {\n aliases: [\"Scopable\", \"Block\", \"BlockParent\", \"FunctionParent\"],\n visitor: [\"body\"],\n fields: {\n body: validateArrayOfType(\"Statement\"),\n },\n});\n\ndefineType(\"TSImportType\", {\n aliases: [\"TSType\"],\n visitor: [\"argument\", \"qualifier\", \"typeParameters\"],\n fields: {\n argument: validateType(\"StringLiteral\"),\n qualifier: validateOptionalType(\"TSEntityName\"),\n typeParameters: validateOptionalType(\"TSTypeParameterInstantiation\"),\n options: {\n validate: assertNodeType(\"Expression\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"TSImportEqualsDeclaration\", {\n aliases: [\"Statement\"],\n visitor: [\"id\", \"moduleReference\"],\n fields: {\n isExport: validate(bool),\n id: validateType(\"Identifier\"),\n moduleReference: validateType(\"TSEntityName\", \"TSExternalModuleReference\"),\n importKind: {\n validate: assertOneOf(\"type\", \"value\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"TSExternalModuleReference\", {\n visitor: [\"expression\"],\n fields: {\n expression: validateType(\"StringLiteral\"),\n },\n});\n\ndefineType(\"TSNonNullExpression\", {\n aliases: [\"Expression\", \"LVal\", \"PatternLike\"],\n visitor: [\"expression\"],\n fields: {\n expression: validateType(\"Expression\"),\n },\n});\n\ndefineType(\"TSExportAssignment\", {\n aliases: [\"Statement\"],\n visitor: [\"expression\"],\n fields: {\n expression: validateType(\"Expression\"),\n },\n});\n\ndefineType(\"TSNamespaceExportDeclaration\", {\n aliases: [\"Statement\"],\n visitor: [\"id\"],\n fields: {\n id: validateType(\"Identifier\"),\n },\n});\n\ndefineType(\"TSTypeAnnotation\", {\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: {\n validate: assertNodeType(\"TSType\"),\n },\n },\n});\n\ndefineType(\"TSTypeParameterInstantiation\", {\n visitor: [\"params\"],\n fields: {\n params: validateArrayOfType(\"TSType\"),\n },\n});\n\ndefineType(\"TSTypeParameterDeclaration\", {\n visitor: [\"params\"],\n fields: {\n params: validateArrayOfType(\"TSTypeParameter\"),\n },\n});\n\ndefineType(\"TSTypeParameter\", {\n builder: [\"constraint\", \"default\", \"name\"],\n visitor: [\"constraint\", \"default\"],\n fields: {\n name: {\n validate: !process.env.BABEL_8_BREAKING\n ? assertValueType(\"string\")\n : assertNodeType(\"Identifier\"),\n },\n in: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n out: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n const: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n constraint: {\n validate: assertNodeType(\"TSType\"),\n optional: true,\n },\n default: {\n validate: assertNodeType(\"TSType\"),\n optional: true,\n },\n },\n});\n"],"mappings":";;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAYA,IAAAC,KAAA,GAAAD,OAAA;AAIA,IAAAE,GAAA,GAAAF,OAAA;AAEA,MAAMG,UAAU,GAAG,IAAAC,wBAAiB,EAAC,YAAY,CAAC;AAElD,MAAMC,IAAI,GAAG,IAAAC,sBAAe,EAAC,SAAS,CAAC;AAEvC,MAAMC,8BAA8B,GAAGA,CAAA,MAAO;EAC5CC,UAAU,EAAE;IACVC,QAAQ,EAGJ,IAAAC,qBAAc,EAAC,kBAAkB,EAAE,MAAM,CAAC;IAC9CC,QAAQ,EAAE;EACZ,CAAC;EACDC,cAAc,EAAE;IACdH,QAAQ,EAGJ,IAAAC,qBAAc,EAAC,4BAA4B,EAAE,MAAM,CAAC;IACxDC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAEFR,UAAU,CAAC,qBAAqB,EAAE;EAChCU,OAAO,EAAE,CAAC,MAAM,CAAC;EACjBC,OAAO,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C,iBAAiB;EAC/C;AACF,CAAC,CAAC;AAEF7B,UAAU,CAAC,iBAAiB,EAAE;EAC5B6C,OAAO,EAAE,CAAC,YAAY,EAAE,SAAS,EAAE,MAAM,CAAC;EAC1ClC,OAAO,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC;EAClCC,MAAM,EAAE;IACN6E,IAAI,EAAE;MACJnF,QAAQ,EACJ,IAAAH,sBAAe,EAAC,QAAQ;IAE9B,CAAC;IACDuF,EAAE,EAAE;MACFpF,QAAQ,EAAE,IAAAH,sBAAe,EAAC,SAAS,CAAC;MACpCK,QAAQ,EAAE;IACZ,CAAC;IACDmF,GAAG,EAAE;MACHrF,QAAQ,EAAE,IAAAH,sBAAe,EAAC,SAAS,CAAC;MACpCK,QAAQ,EAAE;IACZ,CAAC;IACDwE,KAAK,EAAE;MACL1E,QAAQ,EAAE,IAAAH,sBAAe,EAAC,SAAS,CAAC;MACpCK,QAAQ,EAAE;IACZ,CAAC;IACDoF,UAAU,EAAE;MACVtF,QAAQ,EAAE,IAAAC,qBAAc,EAAC,QAAQ,CAAC;MAClCC,QAAQ,EAAE;IACZ,CAAC;IACD0B,OAAO,EAAE;MACP5B,QAAQ,EAAE,IAAAC,qBAAc,EAAC,QAAQ,CAAC;MAClCC,QAAQ,EAAE;IACZ;EACF;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_utils","require","_core","_is","defineType","defineAliasedType","bool","assertValueType","tSFunctionTypeAnnotationCommon","returnType","validate","assertNodeType","optional","typeParameters","aliases","visitor","fields","accessibility","assertOneOf","readonly","parameter","override","decorators","arrayOfType","Object","assign","functionDeclarationCommon","classMethodOrDeclareMethodCommon","left","validateType","right","signatureDeclarationCommon","validateOptionalType","validateArrayOfType","callConstructSignatureDeclaration","namedTypeElementCommon","key","computed","default","validateOptional","typeAnnotation","kind","static","parameters","tsKeywordTypes","type","fnOrCtrBase","abstract","typeName","builder","parameterName","asserts","exprName","members","elementType","elementTypes","label","unionOrIntersection","types","checkType","extendsType","trueType","falseType","typeParameter","operator","objectType","indexType","nameType","quasis","chain","assertEach","node","val","length","TypeError","literal","unaryExpression","unaryOperator","validator","parent","is","argument","oneOfNodeTypes","expression","declare","id","extends","body","TSTypeExpression","const","initializer","global","qualifier","options","isExport","moduleReference","importKind","params","name","in","out","constraint"],"sources":["../../src/definitions/typescript.ts"],"sourcesContent":["import type * as t from \"../index.ts\";\nimport {\n defineAliasedType,\n arrayOfType,\n assertEach,\n assertNodeType,\n assertOneOf,\n assertValueType,\n chain,\n validate,\n validateArrayOfType,\n validateOptional,\n validateOptionalType,\n validateType,\n type Validator,\n} from \"./utils.ts\";\nimport {\n functionDeclarationCommon,\n classMethodOrDeclareMethodCommon,\n} from \"./core.ts\";\nimport is from \"../validators/is.ts\";\n\nconst defineType = defineAliasedType(\"TypeScript\");\n\nconst bool = assertValueType(\"boolean\");\n\nconst tSFunctionTypeAnnotationCommon = () => ({\n returnType: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TSTypeAnnotation\")\n : // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n assertNodeType(\"TSTypeAnnotation\", \"Noop\"),\n optional: true,\n },\n typeParameters: {\n validate: process.env.BABEL_8_BREAKING\n ? assertNodeType(\"TSTypeParameterDeclaration\")\n : // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n assertNodeType(\"TSTypeParameterDeclaration\", \"Noop\"),\n optional: true,\n },\n});\n\ndefineType(\"TSParameterProperty\", {\n aliases: [\"LVal\"], // TODO: This isn't usable in general as an LVal. Should have a \"Parameter\" alias.\n visitor: [\"parameter\"],\n fields: {\n accessibility: {\n validate: assertOneOf(\"public\", \"private\", \"protected\"),\n optional: true,\n },\n readonly: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n parameter: {\n validate: assertNodeType(\"Identifier\", \"AssignmentPattern\"),\n },\n override: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n decorators: {\n validate: arrayOfType(\"Decorator\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"TSDeclareFunction\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"typeParameters\", \"params\", \"returnType\"],\n fields: {\n ...functionDeclarationCommon(),\n ...tSFunctionTypeAnnotationCommon(),\n },\n});\n\ndefineType(\"TSDeclareMethod\", {\n visitor: [\"decorators\", \"key\", \"typeParameters\", \"params\", \"returnType\"],\n fields: {\n ...classMethodOrDeclareMethodCommon(),\n ...tSFunctionTypeAnnotationCommon(),\n },\n});\n\ndefineType(\"TSQualifiedName\", {\n aliases: [\"TSEntityName\"],\n visitor: [\"left\", \"right\"],\n fields: {\n left: validateType(\"TSEntityName\"),\n right: validateType(\"Identifier\"),\n },\n});\n\nconst signatureDeclarationCommon = () => ({\n typeParameters: validateOptionalType(\"TSTypeParameterDeclaration\"),\n [process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\"]: validateArrayOfType(\n \"ArrayPattern\",\n \"Identifier\",\n \"ObjectPattern\",\n \"RestElement\",\n ),\n [process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\"]:\n validateOptionalType(\"TSTypeAnnotation\"),\n});\n\nconst callConstructSignatureDeclaration = {\n aliases: [\"TSTypeElement\"],\n visitor: [\n \"typeParameters\",\n process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\",\n process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\",\n ],\n fields: signatureDeclarationCommon(),\n};\n\ndefineType(\"TSCallSignatureDeclaration\", callConstructSignatureDeclaration);\ndefineType(\n \"TSConstructSignatureDeclaration\",\n callConstructSignatureDeclaration,\n);\n\nconst namedTypeElementCommon = () => ({\n key: validateType(\"Expression\"),\n computed: { default: false },\n optional: validateOptional(bool),\n});\n\ndefineType(\"TSPropertySignature\", {\n aliases: [\"TSTypeElement\"],\n visitor: [\"key\", \"typeAnnotation\"],\n fields: {\n ...namedTypeElementCommon(),\n readonly: validateOptional(bool),\n typeAnnotation: validateOptionalType(\"TSTypeAnnotation\"),\n kind: {\n optional: true,\n validate: assertOneOf(\"get\", \"set\"),\n },\n },\n});\n\ndefineType(\"TSMethodSignature\", {\n aliases: [\"TSTypeElement\"],\n visitor: [\n \"key\",\n \"typeParameters\",\n process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\",\n process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\",\n ],\n fields: {\n ...signatureDeclarationCommon(),\n ...namedTypeElementCommon(),\n kind: {\n validate: assertOneOf(\"method\", \"get\", \"set\"),\n },\n },\n});\n\ndefineType(\"TSIndexSignature\", {\n aliases: [\"TSTypeElement\"],\n visitor: [\"parameters\", \"typeAnnotation\"],\n fields: {\n readonly: validateOptional(bool),\n static: validateOptional(bool),\n parameters: validateArrayOfType(\"Identifier\"), // Length must be 1\n typeAnnotation: validateOptionalType(\"TSTypeAnnotation\"),\n },\n});\n\nconst tsKeywordTypes = [\n \"TSAnyKeyword\",\n \"TSBooleanKeyword\",\n \"TSBigIntKeyword\",\n \"TSIntrinsicKeyword\",\n \"TSNeverKeyword\",\n \"TSNullKeyword\",\n \"TSNumberKeyword\",\n \"TSObjectKeyword\",\n \"TSStringKeyword\",\n \"TSSymbolKeyword\",\n \"TSUndefinedKeyword\",\n \"TSUnknownKeyword\",\n \"TSVoidKeyword\",\n] as const;\n\nfor (const type of tsKeywordTypes) {\n defineType(type, {\n aliases: [\"TSType\", \"TSBaseType\"],\n visitor: [],\n fields: {},\n });\n}\n\ndefineType(\"TSThisType\", {\n aliases: [\"TSType\", \"TSBaseType\"],\n visitor: [],\n fields: {},\n});\n\nconst fnOrCtrBase = {\n aliases: [\"TSType\"],\n visitor: [\n \"typeParameters\",\n process.env.BABEL_8_BREAKING ? \"params\" : \"parameters\",\n process.env.BABEL_8_BREAKING ? \"returnType\" : \"typeAnnotation\",\n ],\n};\n\ndefineType(\"TSFunctionType\", {\n ...fnOrCtrBase,\n fields: signatureDeclarationCommon(),\n});\ndefineType(\"TSConstructorType\", {\n ...fnOrCtrBase,\n fields: {\n ...signatureDeclarationCommon(),\n abstract: validateOptional(bool),\n },\n});\n\ndefineType(\"TSTypeReference\", {\n aliases: [\"TSType\"],\n visitor: [\n \"typeName\",\n process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\",\n ],\n fields: {\n typeName: validateType(\"TSEntityName\"),\n [process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\"]:\n validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n});\n\ndefineType(\"TSTypePredicate\", {\n aliases: [\"TSType\"],\n visitor: [\"parameterName\", \"typeAnnotation\"],\n builder: [\"parameterName\", \"typeAnnotation\", \"asserts\"],\n fields: {\n parameterName: validateType(\"Identifier\", \"TSThisType\"),\n typeAnnotation: validateOptionalType(\"TSTypeAnnotation\"),\n asserts: validateOptional(bool),\n },\n});\n\ndefineType(\"TSTypeQuery\", {\n aliases: [\"TSType\"],\n visitor: [\n \"exprName\",\n process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\",\n ],\n fields: {\n exprName: validateType(\"TSEntityName\", \"TSImportType\"),\n [process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\"]:\n validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n});\n\ndefineType(\"TSTypeLiteral\", {\n aliases: [\"TSType\"],\n visitor: [\"members\"],\n fields: {\n members: validateArrayOfType(\"TSTypeElement\"),\n },\n});\n\ndefineType(\"TSArrayType\", {\n aliases: [\"TSType\"],\n visitor: [\"elementType\"],\n fields: {\n elementType: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSTupleType\", {\n aliases: [\"TSType\"],\n visitor: [\"elementTypes\"],\n fields: {\n elementTypes: validateArrayOfType(\"TSType\", \"TSNamedTupleMember\"),\n },\n});\n\ndefineType(\"TSOptionalType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSRestType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSNamedTupleMember\", {\n visitor: [\"label\", \"elementType\"],\n builder: [\"label\", \"elementType\", \"optional\"],\n fields: {\n label: validateType(\"Identifier\"),\n optional: {\n validate: bool,\n default: false,\n },\n elementType: validateType(\"TSType\"),\n },\n});\n\nconst unionOrIntersection = {\n aliases: [\"TSType\"],\n visitor: [\"types\"],\n fields: {\n types: validateArrayOfType(\"TSType\"),\n },\n};\n\ndefineType(\"TSUnionType\", unionOrIntersection);\ndefineType(\"TSIntersectionType\", unionOrIntersection);\n\ndefineType(\"TSConditionalType\", {\n aliases: [\"TSType\"],\n visitor: [\"checkType\", \"extendsType\", \"trueType\", \"falseType\"],\n fields: {\n checkType: validateType(\"TSType\"),\n extendsType: validateType(\"TSType\"),\n trueType: validateType(\"TSType\"),\n falseType: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSInferType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeParameter\"],\n fields: {\n typeParameter: validateType(\"TSTypeParameter\"),\n },\n});\n\ndefineType(\"TSParenthesizedType\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSTypeOperator\", {\n aliases: [\"TSType\"],\n visitor: [\"typeAnnotation\"],\n fields: {\n operator: validate(assertValueType(\"string\")),\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSIndexedAccessType\", {\n aliases: [\"TSType\"],\n visitor: [\"objectType\", \"indexType\"],\n fields: {\n objectType: validateType(\"TSType\"),\n indexType: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSMappedType\", {\n aliases: [\"TSType\"],\n visitor: process.env.BABEL_8_BREAKING\n ? [\"key\", \"constraint\", \"nameType\", \"typeAnnotation\"]\n : [\"typeParameter\", \"nameType\", \"typeAnnotation\"],\n builder: process.env.BABEL_8_BREAKING\n ? [\"key\", \"constraint\", \"nameType\", \"typeAnnotation\"]\n : [\"typeParameter\", \"typeAnnotation\", \"nameType\"],\n fields: {\n ...(process.env.BABEL_8_BREAKING\n ? {\n key: validateType(\"Identifier\"),\n constraint: validateType(\"TSType\"),\n }\n : {\n typeParameter: validateType(\"TSTypeParameter\"),\n }),\n readonly: validateOptional(assertOneOf(true, false, \"+\", \"-\")),\n optional: validateOptional(assertOneOf(true, false, \"+\", \"-\")),\n typeAnnotation: validateOptionalType(\"TSType\"),\n nameType: validateOptionalType(\"TSType\"),\n },\n});\n\ndefineType(\"TSTemplateLiteralType\", {\n aliases: [\"TSType\", \"TSBaseType\"],\n visitor: [\"quasis\", \"types\"],\n fields: {\n quasis: validateArrayOfType(\"TemplateElement\"),\n types: {\n validate: chain(\n assertValueType(\"array\"),\n assertEach(assertNodeType(\"TSType\")),\n function (node: t.TSTemplateLiteralType, key, val) {\n if (node.quasis.length !== val.length + 1) {\n throw new TypeError(\n `Number of ${\n node.type\n } quasis should be exactly one more than the number of types.\\nExpected ${\n val.length + 1\n } quasis but got ${node.quasis.length}`,\n );\n }\n } as Validator,\n ),\n },\n },\n});\n\ndefineType(\"TSLiteralType\", {\n aliases: [\"TSType\", \"TSBaseType\"],\n visitor: [\"literal\"],\n fields: {\n literal: {\n validate: (function () {\n const unaryExpression = assertNodeType(\n \"NumericLiteral\",\n \"BigIntLiteral\",\n );\n const unaryOperator = assertOneOf(\"-\");\n\n const literal = assertNodeType(\n \"NumericLiteral\",\n \"StringLiteral\",\n \"BooleanLiteral\",\n \"BigIntLiteral\",\n \"TemplateLiteral\",\n );\n function validator(parent: any, key: string, node: any) {\n // type A = -1 | 1;\n if (is(\"UnaryExpression\", node)) {\n // check operator first\n unaryOperator(node, \"operator\", node.operator);\n unaryExpression(node, \"argument\", node.argument);\n } else {\n // type A = 'foo' | 'bar' | false | 1;\n literal(parent, key, node);\n }\n }\n\n validator.oneOfNodeTypes = [\n \"NumericLiteral\",\n \"StringLiteral\",\n \"BooleanLiteral\",\n \"BigIntLiteral\",\n \"TemplateLiteral\",\n \"UnaryExpression\",\n ];\n\n return validator;\n })(),\n },\n },\n});\n\nif (process.env.BABEL_8_BREAKING) {\n defineType(\"TSClassImplements\", {\n aliases: [\"TSType\"],\n visitor: [\"expression\", \"typeArguments\"],\n fields: {\n expression: validateType(\"Expression\"),\n typeArguments: validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n });\n defineType(\"TSInterfaceHeritage\", {\n aliases: [\"TSType\"],\n visitor: [\"expression\", \"typeArguments\"],\n fields: {\n expression: validateType(\"Expression\"),\n typeArguments: validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n });\n} else {\n defineType(\"TSExpressionWithTypeArguments\", {\n aliases: [\"TSType\"],\n visitor: [\"expression\", \"typeParameters\"],\n fields: {\n expression: validateType(\"TSEntityName\"),\n typeParameters: validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n });\n}\n\ndefineType(\"TSInterfaceDeclaration\", {\n // \"Statement\" alias prevents a semicolon from appearing after it in an export declaration.\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"typeParameters\", \"extends\", \"body\"],\n fields: {\n declare: validateOptional(bool),\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TSTypeParameterDeclaration\"),\n extends: validateOptional(\n arrayOfType(\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n process.env.BABEL_8_BREAKING\n ? \"TSClassImplements\"\n : \"TSExpressionWithTypeArguments\",\n ),\n ),\n body: validateType(\"TSInterfaceBody\"),\n },\n});\n\ndefineType(\"TSInterfaceBody\", {\n visitor: [\"body\"],\n fields: {\n body: validateArrayOfType(\"TSTypeElement\"),\n },\n});\n\ndefineType(\"TSTypeAliasDeclaration\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"typeParameters\", \"typeAnnotation\"],\n fields: {\n declare: validateOptional(bool),\n id: validateType(\"Identifier\"),\n typeParameters: validateOptionalType(\"TSTypeParameterDeclaration\"),\n typeAnnotation: validateType(\"TSType\"),\n },\n});\n\ndefineType(\"TSInstantiationExpression\", {\n aliases: [\"Expression\"],\n visitor: process.env.BABEL_8_BREAKING\n ? [\"expression\", \"typeArguments\"]\n : [\"expression\", \"typeParameters\"],\n fields: {\n expression: validateType(\"Expression\"),\n [process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\"]:\n validateOptionalType(\"TSTypeParameterInstantiation\"),\n },\n});\n\nconst TSTypeExpression = {\n aliases: [\"Expression\", \"LVal\", \"PatternLike\"],\n visitor: [\"expression\", \"typeAnnotation\"],\n fields: {\n expression: validateType(\"Expression\"),\n typeAnnotation: validateType(\"TSType\"),\n },\n};\n\ndefineType(\"TSAsExpression\", TSTypeExpression);\ndefineType(\"TSSatisfiesExpression\", TSTypeExpression);\n\ndefineType(\"TSTypeAssertion\", {\n aliases: [\"Expression\", \"LVal\", \"PatternLike\"],\n visitor: [\"typeAnnotation\", \"expression\"],\n fields: {\n typeAnnotation: validateType(\"TSType\"),\n expression: validateType(\"Expression\"),\n },\n});\n\ndefineType(\"TSEnumBody\", {\n visitor: [\"members\"],\n fields: {\n members: validateArrayOfType(\"TSEnumMember\"),\n },\n});\n\nif (process.env.BABEL_8_BREAKING) {\n defineType(\"TSEnumDeclaration\", {\n // \"Statement\" alias prevents a semicolon from appearing after it in an export declaration.\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"body\"],\n fields: {\n declare: validateOptional(bool),\n const: validateOptional(bool),\n id: validateType(\"Identifier\"),\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n body: validateType(\"TSEnumBody\"),\n },\n });\n} else {\n defineType(\"TSEnumDeclaration\", {\n // \"Statement\" alias prevents a semicolon from appearing after it in an export declaration.\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"members\"],\n fields: {\n declare: validateOptional(bool),\n const: validateOptional(bool),\n id: validateType(\"Identifier\"),\n members: validateArrayOfType(\"TSEnumMember\"),\n initializer: validateOptionalType(\"Expression\"),\n body: validateOptionalType(\"TSEnumBody\"),\n },\n });\n}\n\ndefineType(\"TSEnumMember\", {\n visitor: [\"id\", \"initializer\"],\n fields: {\n id: validateType(\"Identifier\", \"StringLiteral\"),\n initializer: validateOptionalType(\"Expression\"),\n },\n});\n\ndefineType(\"TSModuleDeclaration\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"body\"],\n fields: {\n kind: {\n validate: assertOneOf(\"global\", \"module\", \"namespace\"),\n },\n declare: validateOptional(bool),\n ...(!process.env.BABEL_8_BREAKING && { global: validateOptional(bool) }),\n id: process.env.BABEL_8_BREAKING\n ? validateType(\"TSEntityName\", \"StringLiteral\")\n : validateType(\"Identifier\", \"StringLiteral\"),\n body: process.env.BABEL_8_BREAKING\n ? validateType(\"TSModuleBlock\")\n : validateType(\"TSModuleBlock\", \"TSModuleDeclaration\"),\n },\n});\n\ndefineType(\"TSModuleBlock\", {\n aliases: [\"Scopable\", \"Block\", \"BlockParent\", \"FunctionParent\"],\n visitor: [\"body\"],\n fields: {\n body: validateArrayOfType(\"Statement\"),\n },\n});\n\ndefineType(\"TSImportType\", {\n aliases: [\"TSType\"],\n builder: [\n \"argument\",\n \"qualifier\",\n process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\",\n ],\n visitor: [\n \"argument\",\n \"options\",\n \"qualifier\",\n process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\",\n ],\n fields: {\n argument: process.env.BABEL_8_BREAKING\n ? validateType(\"TSLiteralType\")\n : validateType(\"StringLiteral\"),\n qualifier: validateOptionalType(\"TSEntityName\"),\n [process.env.BABEL_8_BREAKING ? \"typeArguments\" : \"typeParameters\"]:\n validateOptionalType(\"TSTypeParameterInstantiation\"),\n options: {\n validate: assertNodeType(\"Expression\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"TSImportEqualsDeclaration\", {\n aliases: [\"Statement\", \"Declaration\"],\n visitor: [\"id\", \"moduleReference\"],\n fields: {\n ...(process.env.BABEL_8_BREAKING ? {} : { isExport: validate(bool) }),\n id: validateType(\"Identifier\"),\n moduleReference: validateType(\"TSEntityName\", \"TSExternalModuleReference\"),\n importKind: {\n validate: assertOneOf(\"type\", \"value\"),\n optional: true,\n },\n },\n});\n\ndefineType(\"TSExternalModuleReference\", {\n visitor: [\"expression\"],\n fields: {\n expression: validateType(\"StringLiteral\"),\n },\n});\n\ndefineType(\"TSNonNullExpression\", {\n aliases: [\"Expression\", \"LVal\", \"PatternLike\"],\n visitor: [\"expression\"],\n fields: {\n expression: validateType(\"Expression\"),\n },\n});\n\ndefineType(\"TSExportAssignment\", {\n aliases: [\"Statement\"],\n visitor: [\"expression\"],\n fields: {\n expression: validateType(\"Expression\"),\n },\n});\n\ndefineType(\"TSNamespaceExportDeclaration\", {\n aliases: [\"Statement\"],\n visitor: [\"id\"],\n fields: {\n id: validateType(\"Identifier\"),\n },\n});\n\ndefineType(\"TSTypeAnnotation\", {\n visitor: [\"typeAnnotation\"],\n fields: {\n typeAnnotation: {\n validate: assertNodeType(\"TSType\"),\n },\n },\n});\n\ndefineType(\"TSTypeParameterInstantiation\", {\n visitor: [\"params\"],\n fields: {\n params: validateArrayOfType(\"TSType\"),\n },\n});\n\ndefineType(\"TSTypeParameterDeclaration\", {\n visitor: [\"params\"],\n fields: {\n params: validateArrayOfType(\"TSTypeParameter\"),\n },\n});\n\ndefineType(\"TSTypeParameter\", {\n builder: [\"constraint\", \"default\", \"name\"],\n visitor: process.env.BABEL_8_BREAKING\n ? [\"name\", \"constraint\", \"default\"]\n : [\"constraint\", \"default\"],\n fields: {\n name: {\n validate: !process.env.BABEL_8_BREAKING\n ? assertValueType(\"string\")\n : assertNodeType(\"Identifier\"),\n },\n in: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n out: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n const: {\n validate: assertValueType(\"boolean\"),\n optional: true,\n },\n constraint: {\n validate: assertNodeType(\"TSType\"),\n optional: true,\n },\n default: {\n validate: assertNodeType(\"TSType\"),\n optional: true,\n },\n },\n});\n"],"mappings":";;AACA,IAAAA,MAAA,GAAAC,OAAA;AAeA,IAAAC,KAAA,GAAAD,OAAA;AAIA,IAAAE,GAAA,GAAAF,OAAA;AAEA,MAAMG,UAAU,GAAG,IAAAC,wBAAiB,EAAC,YAAY,CAAC;AAElD,MAAMC,IAAI,GAAG,IAAAC,sBAAe,EAAC,SAAS,CAAC;AAEvC,MAAMC,8BAA8B,GAAGA,CAAA,MAAO;EAC5CC,UAAU,EAAE;IACVC,QAAQ,EAGJ,IAAAC,qBAAc,EAAC,kBAAkB,EAAE,MAAM,CAAC;IAC9CC,QAAQ,EAAE;EACZ,CAAC;EACDC,cAAc,EAAE;IACdH,QAAQ,EAGJ,IAAAC,qBAAc,EAAC,4BAA4B,EAAE,MAAM,CAAC;IACxDC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAEFR,UAAU,CAAC,qBAAqB,EAAE;EAChCU,OAAO,EAAE,CAAC,MAAM,CAAC;EACjBC,OAAO,EAAE,CAAC,WAAW,CAAC;EACtBC,MAAM,EAAE;IACNC,aAAa,EAAE;MACbP,QAAQ,EAAE,IAAAQ,kBAAW,EAAC,QAAQ,EAAE,SAAS,EAAE,WAAW,CAAC;MACvDN,QAAQ,EAAE;IACZ,CAAC;IACDO,QAAQ,EAAE;MACRT,QAAQ,EAAE,IAAAH,sBAAe,EAAC,SAAS,CAAC;MACpCK,QAAQ,EAAE;IACZ,CAAC;IACDQ,SAAS,EAAE;MACTV,QAAQ,EAAE,IAAAC,qBAAc,EAAC,YAAY,EAAE,mBAAmB;IAC5D,CAAC;IACDU,QAAQ,EAAE;MACRX,QAAQ,EAAE,IAAAH,sBAAe,EAAC,SAAS,CAAC;MACpCK,QAAQ,EAAE;IACZ,CAAC;IACDU,UAAU,EAAE;MACVZ,QAAQ,EAAE,IAAAa,kBAAW,EAA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Z,CAAC;IACD0B,OAAO,EAAE;MACP5B,QAAQ,EAAE,IAAAC,qBAAc,EAAC,QAAQ,CAAC;MAClCC,QAAQ,EAAE;IACZ;EACF;AACF,CAAC,CAAC","ignoreList":[]}
@@ -191,9 +191,9 @@ function defineAliasedType(...aliases) {
191
191
  return (type, opts = {}) => {
192
192
  let defined = opts.aliases;
193
193
  if (!defined) {
194
- var _store$opts$inherits$, _defined;
194
+ var _store$opts$inherits$;
195
195
  if (opts.inherits) defined = (_store$opts$inherits$ = store[opts.inherits].aliases) == null ? void 0 : _store$opts$inherits$.slice();
196
- (_defined = defined) != null ? _defined : defined = [];
196
+ defined != null ? defined : defined = [];
197
197
  opts.aliases = defined;
198
198
  }
199
199
  const additional = aliases.filter(a => !defined.includes(a));
@@ -1 +1 @@
1
- {"version":3,"names":["_is","require","_validate","VISITOR_KEYS","exports","ALIAS_KEYS","FLIPPED_ALIAS_KEYS","NODE_FIELDS","BUILDER_KEYS","DEPRECATED_KEYS","NODE_PARENT_VALIDATIONS","getType","val","Array","isArray","validate","validateType","typeNames","assertNodeType","validateOptional","optional","validateOptionalType","arrayOf","elementType","chain","assertValueType","assertEach","arrayOfType","validateArrayOfType","callback","childValidator","process","env","BABEL_TYPES_8_BREAKING","validateChild","validator","node","key","i","length","subkey","v","each","assertOneOf","values","includes","TypeError","JSON","stringify","oneOf","types","type","is","oneOfNodeTypes","assertNodeOrValueType","oneOfNodeOrValueTypes","valid","assertShape","shape","errors","property","Object","keys","validateField","error","push","message","join","shapeOf","assertOptionalChainStart","_current","current","callee","object","fns","args","fn","chainOf","Error","validTypeOpts","Set","validFieldKeys","store","defineAliasedType","aliases","opts","defined","_store$opts$inherits$","_defined","inherits","slice","additional","filter","a","unshift","defineType","fields","getOwnPropertyNames","field","def","default","deprecated","visitor","builder","k","has","deprecatedAlias","concat","undefined","forEach","alias"],"sources":["../../src/definitions/utils.ts"],"sourcesContent":["import is from \"../validators/is.ts\";\nimport { validateField, validateChild } from \"../validators/validate.ts\";\nimport type * as t from \"../index.ts\";\n\nexport const VISITOR_KEYS: Record<string, string[]> = {};\nexport const ALIAS_KEYS: Partial<Record<NodeTypesWithoutComment, string[]>> =\n {};\nexport const FLIPPED_ALIAS_KEYS: Record<string, NodeTypesWithoutComment[]> = {};\nexport const NODE_FIELDS: Record<string, FieldDefinitions> = {};\nexport const BUILDER_KEYS: Record<string, string[]> = {};\nexport const DEPRECATED_KEYS: Record<string, NodeTypesWithoutComment> = {};\nexport const NODE_PARENT_VALIDATIONS: Record<string, Validator> = {};\n\nfunction getType(val: any) {\n if (Array.isArray(val)) {\n return \"array\";\n } else if (val === null) {\n return \"null\";\n } else {\n return typeof val;\n }\n}\n\ntype NodeTypesWithoutComment = t.Node[\"type\"] | keyof t.Aliases;\n\ntype NodeTypes = NodeTypesWithoutComment | t.Comment[\"type\"];\n\ntype PrimitiveTypes = ReturnType<typeof getType>;\n\ntype FieldDefinitions = {\n [x: string]: FieldOptions;\n};\n\ntype DefineTypeOpts = {\n fields?: FieldDefinitions;\n visitor?: Array<string>;\n aliases?: Array<string>;\n builder?: Array<string>;\n inherits?: NodeTypes;\n deprecatedAlias?: string;\n validate?: Validator;\n};\n\nexport type Validator = (\n | { type: PrimitiveTypes }\n | { each: Validator }\n | { chainOf: Validator[] }\n | { oneOf: any[] }\n | { oneOfNodeTypes: NodeTypes[] }\n | { oneOfNodeOrValueTypes: (NodeTypes | PrimitiveTypes)[] }\n | { shapeOf: { [x: string]: FieldOptions } }\n | object\n) &\n ((node: t.Node, key: string, val: any) => void);\n\nexport type FieldOptions = {\n default?: string | number | boolean | [];\n optional?: boolean;\n deprecated?: boolean;\n validate?: Validator;\n};\n\nexport function validate(validate: Validator): FieldOptions {\n return { validate };\n}\n\nexport function validateType(...typeNames: NodeTypes[]) {\n return validate(assertNodeType(...typeNames));\n}\n\nexport function validateOptional(validate: Validator): FieldOptions {\n return { validate, optional: true };\n}\n\nexport function validateOptionalType(...typeNames: NodeTypes[]): FieldOptions {\n return { validate: assertNodeType(...typeNames), optional: true };\n}\n\nexport function arrayOf(elementType: Validator): Validator {\n return chain(assertValueType(\"array\"), assertEach(elementType));\n}\n\nexport function arrayOfType(...typeNames: NodeTypes[]) {\n return arrayOf(assertNodeType(...typeNames));\n}\n\nexport function validateArrayOfType(...typeNames: NodeTypes[]) {\n return validate(arrayOfType(...typeNames));\n}\n\nexport function assertEach(callback: Validator): Validator {\n const childValidator = process.env.BABEL_TYPES_8_BREAKING\n ? validateChild\n : () => {};\n\n function validator(node: t.Node, key: string, val: any) {\n if (!Array.isArray(val)) return;\n\n for (let i = 0; i < val.length; i++) {\n const subkey = `${key}[${i}]`;\n const v = val[i];\n callback(node, subkey, v);\n childValidator(node, subkey, v);\n }\n }\n validator.each = callback;\n return validator;\n}\n\nexport function assertOneOf(...values: Array<any>): Validator {\n function validate(node: any, key: string, val: any) {\n if (!values.includes(val)) {\n throw new TypeError(\n `Property ${key} expected value to be one of ${JSON.stringify(\n values,\n )} but got ${JSON.stringify(val)}`,\n );\n }\n }\n\n validate.oneOf = values;\n\n return validate;\n}\n\nexport function assertNodeType(...types: NodeTypes[]): Validator {\n function validate(node: t.Node, key: string, val: any) {\n for (const type of types) {\n if (is(type, val)) {\n validateChild(node, key, val);\n return;\n }\n }\n\n throw new TypeError(\n `Property ${key} of ${\n node.type\n } expected node to be of a type ${JSON.stringify(\n types,\n )} but instead got ${JSON.stringify(val?.type)}`,\n );\n }\n\n validate.oneOfNodeTypes = types;\n\n return validate;\n}\n\nexport function assertNodeOrValueType(\n ...types: (NodeTypes | PrimitiveTypes)[]\n): Validator {\n function validate(node: t.Node, key: string, val: any) {\n for (const type of types) {\n if (getType(val) === type || is(type, val)) {\n validateChild(node, key, val);\n return;\n }\n }\n\n throw new TypeError(\n `Property ${key} of ${\n node.type\n } expected node to be of a type ${JSON.stringify(\n types,\n )} but instead got ${JSON.stringify(val?.type)}`,\n );\n }\n\n validate.oneOfNodeOrValueTypes = types;\n\n return validate;\n}\n\nexport function assertValueType(type: PrimitiveTypes): Validator {\n function validate(node: t.Node, key: string, val: any) {\n const valid = getType(val) === type;\n\n if (!valid) {\n throw new TypeError(\n `Property ${key} expected type of ${type} but got ${getType(val)}`,\n );\n }\n }\n\n validate.type = type;\n\n return validate;\n}\n\nexport function assertShape(shape: { [x: string]: FieldOptions }): Validator {\n function validate(node: t.Node, key: string, val: any) {\n const errors = [];\n for (const property of Object.keys(shape)) {\n try {\n validateField(node, property, val[property], shape[property]);\n } catch (error) {\n if (error instanceof TypeError) {\n errors.push(error.message);\n continue;\n }\n throw error;\n }\n }\n if (errors.length) {\n throw new TypeError(\n `Property ${key} of ${\n node.type\n } expected to have the following:\\n${errors.join(\"\\n\")}`,\n );\n }\n }\n\n validate.shapeOf = shape;\n\n return validate;\n}\n\nexport function assertOptionalChainStart(): Validator {\n function validate(node: t.Node) {\n let current = node;\n while (node) {\n const { type } = current;\n if (type === \"OptionalCallExpression\") {\n if (current.optional) return;\n current = current.callee;\n continue;\n }\n\n if (type === \"OptionalMemberExpression\") {\n if (current.optional) return;\n current = current.object;\n continue;\n }\n\n break;\n }\n\n throw new TypeError(\n `Non-optional ${node.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${current?.type}`,\n );\n }\n\n return validate;\n}\n\nexport function chain(...fns: Array<Validator>): Validator {\n function validate(...args: Parameters<Validator>) {\n for (const fn of fns) {\n fn(...args);\n }\n }\n validate.chainOf = fns;\n\n if (\n fns.length >= 2 &&\n \"type\" in fns[0] &&\n fns[0].type === \"array\" &&\n !(\"each\" in fns[1])\n ) {\n throw new Error(\n `An assertValueType(\"array\") validator can only be followed by an assertEach(...) validator.`,\n );\n }\n\n return validate;\n}\n\nconst validTypeOpts = new Set([\n \"aliases\",\n \"builder\",\n \"deprecatedAlias\",\n \"fields\",\n \"inherits\",\n \"visitor\",\n \"validate\",\n]);\nconst validFieldKeys = new Set([\n \"default\",\n \"optional\",\n \"deprecated\",\n \"validate\",\n]);\n\nconst store = {} as Record<string, DefineTypeOpts>;\n\n// Wraps defineType to ensure these aliases are included.\nexport function defineAliasedType(...aliases: string[]) {\n return (type: string, opts: DefineTypeOpts = {}) => {\n let defined = opts.aliases;\n if (!defined) {\n if (opts.inherits) defined = store[opts.inherits].aliases?.slice();\n defined ??= [];\n opts.aliases = defined;\n }\n const additional = aliases.filter(a => !defined.includes(a));\n defined.unshift(...additional);\n defineType(type, opts);\n };\n}\n\nexport default function defineType(type: string, opts: DefineTypeOpts = {}) {\n const inherits = (opts.inherits && store[opts.inherits]) || {};\n\n let fields = opts.fields;\n if (!fields) {\n fields = {};\n if (inherits.fields) {\n const keys = Object.getOwnPropertyNames(inherits.fields);\n for (const key of keys) {\n const field = inherits.fields[key];\n const def = field.default;\n if (\n Array.isArray(def) ? def.length > 0 : def && typeof def === \"object\"\n ) {\n throw new Error(\n \"field defaults can only be primitives or empty arrays currently\",\n );\n }\n fields[key] = {\n default: Array.isArray(def) ? [] : def,\n optional: field.optional,\n deprecated: field.deprecated,\n validate: field.validate,\n };\n }\n }\n }\n\n const visitor: Array<string> = opts.visitor || inherits.visitor || [];\n const aliases: Array<string> = opts.aliases || inherits.aliases || [];\n const builder: Array<string> =\n opts.builder || inherits.builder || opts.visitor || [];\n\n for (const k of Object.keys(opts)) {\n if (!validTypeOpts.has(k)) {\n throw new Error(`Unknown type option \"${k}\" on ${type}`);\n }\n }\n\n if (opts.deprecatedAlias) {\n DEPRECATED_KEYS[opts.deprecatedAlias] = type as NodeTypesWithoutComment;\n }\n\n // ensure all field keys are represented in `fields`\n for (const key of visitor.concat(builder)) {\n fields[key] = fields[key] || {};\n }\n\n for (const key of Object.keys(fields)) {\n const field = fields[key];\n\n if (field.default !== undefined && !builder.includes(key)) {\n field.optional = true;\n }\n if (field.default === undefined) {\n field.default = null;\n } else if (!field.validate && field.default != null) {\n field.validate = assertValueType(getType(field.default));\n }\n\n for (const k of Object.keys(field)) {\n if (!validFieldKeys.has(k)) {\n throw new Error(`Unknown field key \"${k}\" on ${type}.${key}`);\n }\n }\n }\n\n VISITOR_KEYS[type] = opts.visitor = visitor;\n BUILDER_KEYS[type] = opts.builder = builder;\n NODE_FIELDS[type] = opts.fields = fields;\n ALIAS_KEYS[type as NodeTypesWithoutComment] = opts.aliases = aliases;\n aliases.forEach(alias => {\n FLIPPED_ALIAS_KEYS[alias] = FLIPPED_ALIAS_KEYS[alias] || [];\n FLIPPED_ALIAS_KEYS[alias].push(type as NodeTypesWithoutComment);\n });\n\n if (opts.validate) {\n NODE_PARENT_VALIDATIONS[type] = opts.validate;\n }\n\n store[type] = opts;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,GAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAGO,MAAME,YAAsC,GAAAC,OAAA,CAAAD,YAAA,GAAG,CAAC,CAAC;AACjD,MAAME,UAA8D,GAAAD,OAAA,CAAAC,UAAA,GACzE,CAAC,CAAC;AACG,MAAMC,kBAA6D,GAAAF,OAAA,CAAAE,kBAAA,GAAG,CAAC,CAAC;AACxE,MAAMC,WAA6C,GAAAH,OAAA,CAAAG,WAAA,GAAG,CAAC,CAAC;AACxD,MAAMC,YAAsC,GAAAJ,OAAA,CAAAI,YAAA,GAAG,CAAC,CAAC;AACjD,MAAMC,eAAwD,GAAAL,OAAA,CAAAK,eAAA,GAAG,CAAC,CAAC;AACnE,MAAMC,uBAAkD,GAAAN,OAAA,CAAAM,uBAAA,GAAG,CAAC,CAAC;AAEpE,SAASC,OAAOA,CAACC,GAAQ,EAAE;EACzB,IAAIC,KAAK,CAACC,OAAO,CAACF,GAAG,CAAC,EAAE;IACtB,OAAO,OAAO;EAChB,CAAC,MAAM,IAAIA,GAAG,KAAK,IAAI,EAAE;IACvB,OAAO,MAAM;EACf,CAAC,MAAM;IACL,OAAO,OAAOA,GAAG;EACnB;AACF;AAyCO,SAASG,QAAQA,CAACA,QAAmB,EAAgB;EAC1D,OAAO;IAAEA;EAAS,CAAC;AACrB;AAEO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AAQ,IAAImF,KAAK,CAACE,OAAO,IAAI,IAAI,EAAE;MACnDF,KAAK,CAACnF,QAAQ,GAAGU,eAAe,CAACd,OAAO,CAACuF,KAAK,CAACE,OAAO,CAAC,CAAC;IAC1D;IAEA,KAAK,MAAMI,CAAC,IAAI3C,MAAM,CAACC,IAAI,CAACoC,KAAK,CAAC,EAAE;MAClC,IAAI,CAACjB,cAAc,CAACwB,GAAG,CAACD,CAAC,CAAC,EAAE;QAC1B,MAAM,IAAI1B,KAAK,CAAC,sBAAsB0B,CAAC,QAAQrD,IAAI,IAAId,GAAG,EAAE,CAAC;MAC/D;IACF;EACF;EAEAlC,YAAY,CAACgD,IAAI,CAAC,GAAGkC,IAAI,CAACiB,OAAO,GAAGA,OAAO;EAC3C9F,YAAY,CAAC2C,IAAI,CAAC,GAAGkC,IAAI,CAACkB,OAAO,GAAGA,OAAO;EAC3ChG,WAAW,CAAC4C,IAAI,CAAC,GAAGkC,IAAI,CAACW,MAAM,GAAGA,MAAM;EACxC3F,UAAU,CAAC8C,IAAI,CAA4B,GAAGkC,IAAI,CAACD,OAAO,GAAGA,OAAO;EACpEA,OAAO,CAACyB,OAAO,CAACC,KAAK,IAAI;IACvBxG,kBAAkB,CAACwG,KAAK,CAAC,GAAGxG,kBAAkB,CAACwG,KAAK,CAAC,IAAI,EAAE;IAC3DxG,kBAAkB,CAACwG,KAAK,CAAC,CAAC7C,IAAI,CAACd,IAA+B,CAAC;EACjE,CAAC,CAAC;EAEF,IAAIkC,IAAI,CAACtE,QAAQ,EAAE;IACjBL,uBAAuB,CAACyC,IAAI,CAAC,GAAGkC,IAAI,CAACtE,QAAQ;EAC/C;EAEAmE,KAAK,CAAC/B,IAAI,CAAC,GAAGkC,IAAI;AACpB","ignoreList":[]}
1
+ {"version":3,"names":["_is","require","_validate","VISITOR_KEYS","exports","ALIAS_KEYS","FLIPPED_ALIAS_KEYS","NODE_FIELDS","BUILDER_KEYS","DEPRECATED_KEYS","NODE_PARENT_VALIDATIONS","getType","val","Array","isArray","validate","validateType","typeNames","assertNodeType","validateOptional","optional","validateOptionalType","arrayOf","elementType","chain","assertValueType","assertEach","arrayOfType","validateArrayOfType","callback","childValidator","process","env","BABEL_TYPES_8_BREAKING","validateChild","validator","node","key","i","length","subkey","v","each","assertOneOf","values","includes","TypeError","JSON","stringify","oneOf","types","type","is","oneOfNodeTypes","assertNodeOrValueType","oneOfNodeOrValueTypes","valid","assertShape","shape","errors","property","Object","keys","validateField","error","push","message","join","shapeOf","assertOptionalChainStart","_current","current","callee","object","fns","args","fn","chainOf","Error","validTypeOpts","Set","validFieldKeys","store","defineAliasedType","aliases","opts","defined","_store$opts$inherits$","inherits","slice","additional","filter","a","unshift","defineType","fields","getOwnPropertyNames","field","def","default","deprecated","visitor","builder","k","has","deprecatedAlias","concat","undefined","forEach","alias"],"sources":["../../src/definitions/utils.ts"],"sourcesContent":["import is from \"../validators/is.ts\";\nimport { validateField, validateChild } from \"../validators/validate.ts\";\nimport type * as t from \"../index.ts\";\n\nexport const VISITOR_KEYS: Record<string, string[]> = {};\nexport const ALIAS_KEYS: Partial<Record<NodeTypesWithoutComment, string[]>> =\n {};\nexport const FLIPPED_ALIAS_KEYS: Record<string, NodeTypesWithoutComment[]> = {};\nexport const NODE_FIELDS: Record<string, FieldDefinitions> = {};\nexport const BUILDER_KEYS: Record<string, string[]> = {};\nexport const DEPRECATED_KEYS: Record<string, NodeTypesWithoutComment> = {};\nexport const NODE_PARENT_VALIDATIONS: Record<string, Validator> = {};\n\nfunction getType(val: any) {\n if (Array.isArray(val)) {\n return \"array\";\n } else if (val === null) {\n return \"null\";\n } else {\n return typeof val;\n }\n}\n\ntype NodeTypesWithoutComment = t.Node[\"type\"] | keyof t.Aliases;\n\ntype NodeTypes = NodeTypesWithoutComment | t.Comment[\"type\"];\n\ntype PrimitiveTypes = ReturnType<typeof getType>;\n\ntype FieldDefinitions = {\n [x: string]: FieldOptions;\n};\n\ntype DefineTypeOpts = {\n fields?: FieldDefinitions;\n visitor?: Array<string>;\n aliases?: Array<string>;\n builder?: Array<string>;\n inherits?: NodeTypes;\n deprecatedAlias?: string;\n validate?: Validator;\n};\n\nexport type Validator = (\n | { type: PrimitiveTypes }\n | { each: Validator }\n | { chainOf: Validator[] }\n | { oneOf: any[] }\n | { oneOfNodeTypes: NodeTypes[] }\n | { oneOfNodeOrValueTypes: (NodeTypes | PrimitiveTypes)[] }\n | { shapeOf: { [x: string]: FieldOptions } }\n | object\n) &\n ((node: t.Node, key: string, val: any) => void);\n\nexport type FieldOptions = {\n default?: string | number | boolean | [];\n optional?: boolean;\n deprecated?: boolean;\n validate?: Validator;\n};\n\nexport function validate(validate: Validator): FieldOptions {\n return { validate };\n}\n\nexport function validateType(...typeNames: NodeTypes[]) {\n return validate(assertNodeType(...typeNames));\n}\n\nexport function validateOptional(validate: Validator): FieldOptions {\n return { validate, optional: true };\n}\n\nexport function validateOptionalType(...typeNames: NodeTypes[]): FieldOptions {\n return { validate: assertNodeType(...typeNames), optional: true };\n}\n\nexport function arrayOf(elementType: Validator): Validator {\n return chain(assertValueType(\"array\"), assertEach(elementType));\n}\n\nexport function arrayOfType(...typeNames: NodeTypes[]) {\n return arrayOf(assertNodeType(...typeNames));\n}\n\nexport function validateArrayOfType(...typeNames: NodeTypes[]) {\n return validate(arrayOfType(...typeNames));\n}\n\nexport function assertEach(callback: Validator): Validator {\n const childValidator = process.env.BABEL_TYPES_8_BREAKING\n ? validateChild\n : () => {};\n\n function validator(node: t.Node, key: string, val: any) {\n if (!Array.isArray(val)) return;\n\n for (let i = 0; i < val.length; i++) {\n const subkey = `${key}[${i}]`;\n const v = val[i];\n callback(node, subkey, v);\n childValidator(node, subkey, v);\n }\n }\n validator.each = callback;\n return validator;\n}\n\nexport function assertOneOf(...values: Array<any>): Validator {\n function validate(node: any, key: string, val: any) {\n if (!values.includes(val)) {\n throw new TypeError(\n `Property ${key} expected value to be one of ${JSON.stringify(\n values,\n )} but got ${JSON.stringify(val)}`,\n );\n }\n }\n\n validate.oneOf = values;\n\n return validate;\n}\n\nexport function assertNodeType(...types: NodeTypes[]): Validator {\n function validate(node: t.Node, key: string, val: any) {\n for (const type of types) {\n if (is(type, val)) {\n validateChild(node, key, val);\n return;\n }\n }\n\n throw new TypeError(\n `Property ${key} of ${\n node.type\n } expected node to be of a type ${JSON.stringify(\n types,\n )} but instead got ${JSON.stringify(val?.type)}`,\n );\n }\n\n validate.oneOfNodeTypes = types;\n\n return validate;\n}\n\nexport function assertNodeOrValueType(\n ...types: (NodeTypes | PrimitiveTypes)[]\n): Validator {\n function validate(node: t.Node, key: string, val: any) {\n for (const type of types) {\n if (getType(val) === type || is(type, val)) {\n validateChild(node, key, val);\n return;\n }\n }\n\n throw new TypeError(\n `Property ${key} of ${\n node.type\n } expected node to be of a type ${JSON.stringify(\n types,\n )} but instead got ${JSON.stringify(val?.type)}`,\n );\n }\n\n validate.oneOfNodeOrValueTypes = types;\n\n return validate;\n}\n\nexport function assertValueType(type: PrimitiveTypes): Validator {\n function validate(node: t.Node, key: string, val: any) {\n const valid = getType(val) === type;\n\n if (!valid) {\n throw new TypeError(\n `Property ${key} expected type of ${type} but got ${getType(val)}`,\n );\n }\n }\n\n validate.type = type;\n\n return validate;\n}\n\nexport function assertShape(shape: { [x: string]: FieldOptions }): Validator {\n function validate(node: t.Node, key: string, val: any) {\n const errors = [];\n for (const property of Object.keys(shape)) {\n try {\n validateField(node, property, val[property], shape[property]);\n } catch (error) {\n if (error instanceof TypeError) {\n errors.push(error.message);\n continue;\n }\n throw error;\n }\n }\n if (errors.length) {\n throw new TypeError(\n `Property ${key} of ${\n node.type\n } expected to have the following:\\n${errors.join(\"\\n\")}`,\n );\n }\n }\n\n validate.shapeOf = shape;\n\n return validate;\n}\n\nexport function assertOptionalChainStart(): Validator {\n function validate(node: t.Node) {\n let current = node;\n while (node) {\n const { type } = current;\n if (type === \"OptionalCallExpression\") {\n if (current.optional) return;\n current = current.callee;\n continue;\n }\n\n if (type === \"OptionalMemberExpression\") {\n if (current.optional) return;\n current = current.object;\n continue;\n }\n\n break;\n }\n\n throw new TypeError(\n `Non-optional ${node.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${current?.type}`,\n );\n }\n\n return validate;\n}\n\nexport function chain(...fns: Array<Validator>): Validator {\n function validate(...args: Parameters<Validator>) {\n for (const fn of fns) {\n fn(...args);\n }\n }\n validate.chainOf = fns;\n\n if (\n fns.length >= 2 &&\n \"type\" in fns[0] &&\n fns[0].type === \"array\" &&\n !(\"each\" in fns[1])\n ) {\n throw new Error(\n `An assertValueType(\"array\") validator can only be followed by an assertEach(...) validator.`,\n );\n }\n\n return validate;\n}\n\nconst validTypeOpts = new Set([\n \"aliases\",\n \"builder\",\n \"deprecatedAlias\",\n \"fields\",\n \"inherits\",\n \"visitor\",\n \"validate\",\n]);\nconst validFieldKeys = new Set([\n \"default\",\n \"optional\",\n \"deprecated\",\n \"validate\",\n]);\n\nconst store = {} as Record<string, DefineTypeOpts>;\n\n// Wraps defineType to ensure these aliases are included.\nexport function defineAliasedType(...aliases: string[]) {\n return (type: string, opts: DefineTypeOpts = {}) => {\n let defined = opts.aliases;\n if (!defined) {\n if (opts.inherits) defined = store[opts.inherits].aliases?.slice();\n defined ??= [];\n opts.aliases = defined;\n }\n const additional = aliases.filter(a => !defined.includes(a));\n defined.unshift(...additional);\n defineType(type, opts);\n };\n}\n\nexport default function defineType(type: string, opts: DefineTypeOpts = {}) {\n const inherits = (opts.inherits && store[opts.inherits]) || {};\n\n let fields = opts.fields;\n if (!fields) {\n fields = {};\n if (inherits.fields) {\n const keys = Object.getOwnPropertyNames(inherits.fields);\n for (const key of keys) {\n const field = inherits.fields[key];\n const def = field.default;\n if (\n Array.isArray(def) ? def.length > 0 : def && typeof def === \"object\"\n ) {\n throw new Error(\n \"field defaults can only be primitives or empty arrays currently\",\n );\n }\n fields[key] = {\n default: Array.isArray(def) ? [] : def,\n optional: field.optional,\n deprecated: field.deprecated,\n validate: field.validate,\n };\n }\n }\n }\n\n const visitor: Array<string> = opts.visitor || inherits.visitor || [];\n const aliases: Array<string> = opts.aliases || inherits.aliases || [];\n const builder: Array<string> =\n opts.builder || inherits.builder || opts.visitor || [];\n\n for (const k of Object.keys(opts)) {\n if (!validTypeOpts.has(k)) {\n throw new Error(`Unknown type option \"${k}\" on ${type}`);\n }\n }\n\n if (opts.deprecatedAlias) {\n DEPRECATED_KEYS[opts.deprecatedAlias] = type as NodeTypesWithoutComment;\n }\n\n // ensure all field keys are represented in `fields`\n for (const key of visitor.concat(builder)) {\n fields[key] = fields[key] || {};\n }\n\n for (const key of Object.keys(fields)) {\n const field = fields[key];\n\n if (field.default !== undefined && !builder.includes(key)) {\n field.optional = true;\n }\n if (field.default === undefined) {\n field.default = null;\n } else if (!field.validate && field.default != null) {\n field.validate = assertValueType(getType(field.default));\n }\n\n for (const k of Object.keys(field)) {\n if (!validFieldKeys.has(k)) {\n throw new Error(`Unknown field key \"${k}\" on ${type}.${key}`);\n }\n }\n }\n\n VISITOR_KEYS[type] = opts.visitor = visitor;\n BUILDER_KEYS[type] = opts.builder = builder;\n NODE_FIELDS[type] = opts.fields = fields;\n ALIAS_KEYS[type as NodeTypesWithoutComment] = opts.aliases = aliases;\n aliases.forEach(alias => {\n FLIPPED_ALIAS_KEYS[alias] = FLIPPED_ALIAS_KEYS[alias] || [];\n FLIPPED_ALIAS_KEYS[alias].push(type as NodeTypesWithoutComment);\n });\n\n if (opts.validate) {\n NODE_PARENT_VALIDATIONS[type] = opts.validate;\n }\n\n store[type] = opts;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,GAAA,GAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAGO,MAAME,YAAsC,GAAAC,OAAA,CAAAD,YAAA,GAAG,CAAC,CAAC;AACjD,MAAME,UAA8D,GAAAD,OAAA,CAAAC,UAAA,GACzE,CAAC,CAAC;AACG,MAAMC,kBAA6D,GAAAF,OAAA,CAAAE,kBAAA,GA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D,OAAO,GAAGA,OAAO;EACpEA,OAAO,CAACwB,OAAO,CAACC,KAAK,IAAI;IACvBvG,kBAAkB,CAACuG,KAAK,CAAC,GAAGvG,kBAAkB,CAACuG,KAAK,CAAC,IAAI,EAAE;IAC3DvG,kBAAkB,CAACuG,KAAK,CAAC,CAAC5C,IAAI,CAACd,IAA+B,CAAC;EACjE,CAAC,CAAC;EAEF,IAAIkC,IAAI,CAACtE,QAAQ,EAAE;IACjBL,uBAAuB,CAACyC,IAAI,CAAC,GAAGkC,IAAI,CAACtE,QAAQ;EAC/C;EAEAmE,KAAK,CAAC/B,IAAI,CAAC,GAAGkC,IAAI;AACpB","ignoreList":[]}
@@ -42,7 +42,7 @@ interface BaseNode {
42
42
  extra?: Record<string, unknown>;
43
43
  }
44
44
 
45
- export type Node = Accessor | AnyTypeAnnotation | ArgumentPlaceholder | ArrayExpression | ArrayPattern | ArrayTypeAnnotation | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | Binary | BinaryExpression | BindExpression | Block | BlockParent | BlockStatement | BooleanLiteral | BooleanLiteralTypeAnnotation | BooleanTypeAnnotation | BreakStatement | CallExpression | CatchClause | Class | ClassAccessorProperty | ClassBody | ClassDeclaration | ClassExpression | ClassImplements | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | CompletionStatement | Conditional | ConditionalExpression | ContinueStatement | DebuggerStatement | DecimalLiteral | Declaration | DeclareClass | DeclareExportAllDeclaration | DeclareExportDeclaration | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareOpaqueType | DeclareTypeAlias | DeclareVariable | DeclaredPredicate | Decorator | Directive | DirectiveLiteral | DoExpression | DoWhileStatement | EmptyStatement | EmptyTypeAnnotation | EnumBody | EnumBooleanBody | EnumBooleanMember | EnumDeclaration | EnumDefaultedMember | EnumMember | EnumNumberBody | EnumNumberMember | EnumStringBody | EnumStringMember | EnumSymbolBody | ExistsTypeAnnotation | ExportAllDeclaration | ExportDeclaration | ExportDefaultDeclaration | ExportDefaultSpecifier | ExportNamedDeclaration | ExportNamespaceSpecifier | ExportSpecifier | Expression | ExpressionStatement | ExpressionWrapper | File | Flow | FlowBaseAnnotation | FlowDeclaration | FlowPredicate | FlowType | For | ForInStatement | ForOfStatement | ForStatement | ForXStatement | Function | FunctionDeclaration | FunctionExpression | FunctionParent | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | Identifier | IfStatement | Immutable | Import | ImportAttribute | ImportDeclaration | ImportDefaultSpecifier | ImportExpression | ImportNamespaceSpecifier | ImportOrExportDeclaration | ImportSpecifier | IndexedAccessType | InferredPredicate | InterfaceDeclaration | InterfaceExtends | InterfaceTypeAnnotation | InterpreterDirective | IntersectionTypeAnnotation | JSX | JSXAttribute | JSXClosingElement | JSXClosingFragment | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXFragment | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXOpeningFragment | JSXSpreadAttribute | JSXSpreadChild | JSXText | LVal | LabeledStatement | Literal | LogicalExpression | Loop | MemberExpression | MetaProperty | Method | Miscellaneous | MixedTypeAnnotation | ModuleDeclaration | ModuleExpression | ModuleSpecifier | NewExpression | Noop | NullLiteral | NullLiteralTypeAnnotation | NullableTypeAnnotation | NumberLiteral | NumberLiteralTypeAnnotation | NumberTypeAnnotation | NumericLiteral | ObjectExpression | ObjectMember | ObjectMethod | ObjectPattern | ObjectProperty | ObjectTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalCallExpression | OptionalIndexedAccessType | OptionalMemberExpression | ParenthesizedExpression | Pattern | PatternLike | PipelineBareFunction | PipelinePrimaryTopicReference | PipelineTopicExpression | Placeholder | Private | PrivateName | Program | Property | Pureish | QualifiedTypeIdentifier | RecordExpression | RegExpLiteral | RegexLiteral | RestElement | RestProperty | ReturnStatement | Scopable | SequenceExpression | SpreadElement | SpreadProperty | Standardized | Statement | StaticBlock | StringLiteral | StringLiteralTypeAnnotation | StringTypeAnnotation | Super | SwitchCase | SwitchStatement | SymbolTypeAnnotation | TSAnyKeyword | TSArrayType | TSAsExpression | TSBaseType | TSBigIntKeyword | TSBooleanKeyword | TSCallSignatureDeclaration | TSConditionalType | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSEntityName | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExpressionWithTypeArguments | TSExternalModuleReference | TSFunctionType | TSImportEqualsDeclaration | TSImportType | TSIndexSignature | TSIndexedAccessType | TSInferType | TSInstantiationExpression | TSInterfaceBody | TSInterfaceDeclaration | TSIntersectionType | TSIntrinsicKeyword | TSLiteralType | TSMappedType | TSMethodSignature | TSModuleBlock | TSModuleDeclaration | TSNamedTupleMember | TSNamespaceExportDeclaration | TSNeverKeyword | TSNonNullExpression | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSParameterProperty | TSParenthesizedType | TSPropertySignature | TSQualifiedName | TSRestType | TSSatisfiesExpression | TSStringKeyword | TSSymbolKeyword | TSThisType | TSTupleType | TSType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeElement | TSTypeLiteral | TSTypeOperator | TSTypeParameter | TSTypeParameterDeclaration | TSTypeParameterInstantiation | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword | TaggedTemplateExpression | TemplateElement | TemplateLiteral | Terminatorless | ThisExpression | ThisTypeAnnotation | ThrowStatement | TopicReference | TryStatement | TupleExpression | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | TypeScript | TypeofTypeAnnotation | UnaryExpression | UnaryLike | UnionTypeAnnotation | UpdateExpression | UserWhitespacable | V8IntrinsicIdentifier | VariableDeclaration | VariableDeclarator | Variance | VoidTypeAnnotation | While | WhileStatement | WithStatement | YieldExpression;
45
+ export type Node = Accessor | AnyTypeAnnotation | ArgumentPlaceholder | ArrayExpression | ArrayPattern | ArrayTypeAnnotation | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | Binary | BinaryExpression | BindExpression | Block | BlockParent | BlockStatement | BooleanLiteral | BooleanLiteralTypeAnnotation | BooleanTypeAnnotation | BreakStatement | CallExpression | CatchClause | Class | ClassAccessorProperty | ClassBody | ClassDeclaration | ClassExpression | ClassImplements | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | CompletionStatement | Conditional | ConditionalExpression | ContinueStatement | DebuggerStatement | DecimalLiteral | Declaration | DeclareClass | DeclareExportAllDeclaration | DeclareExportDeclaration | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareOpaqueType | DeclareTypeAlias | DeclareVariable | DeclaredPredicate | Decorator | Directive | DirectiveLiteral | DoExpression | DoWhileStatement | EmptyStatement | EmptyTypeAnnotation | EnumBody | EnumBooleanBody | EnumBooleanMember | EnumDeclaration | EnumDefaultedMember | EnumMember | EnumNumberBody | EnumNumberMember | EnumStringBody | EnumStringMember | EnumSymbolBody | ExistsTypeAnnotation | ExportAllDeclaration | ExportDeclaration | ExportDefaultDeclaration | ExportDefaultSpecifier | ExportNamedDeclaration | ExportNamespaceSpecifier | ExportSpecifier | Expression | ExpressionStatement | ExpressionWrapper | File | Flow | FlowBaseAnnotation | FlowDeclaration | FlowPredicate | FlowType | For | ForInStatement | ForOfStatement | ForStatement | ForXStatement | Function | FunctionDeclaration | FunctionExpression | FunctionParent | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | Identifier | IfStatement | Immutable | Import | ImportAttribute | ImportDeclaration | ImportDefaultSpecifier | ImportExpression | ImportNamespaceSpecifier | ImportOrExportDeclaration | ImportSpecifier | IndexedAccessType | InferredPredicate | InterfaceDeclaration | InterfaceExtends | InterfaceTypeAnnotation | InterpreterDirective | IntersectionTypeAnnotation | JSX | JSXAttribute | JSXClosingElement | JSXClosingFragment | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXFragment | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXOpeningFragment | JSXSpreadAttribute | JSXSpreadChild | JSXText | LVal | LabeledStatement | Literal | LogicalExpression | Loop | MemberExpression | MetaProperty | Method | Miscellaneous | MixedTypeAnnotation | ModuleDeclaration | ModuleExpression | ModuleSpecifier | NewExpression | Noop | NullLiteral | NullLiteralTypeAnnotation | NullableTypeAnnotation | NumberLiteral | NumberLiteralTypeAnnotation | NumberTypeAnnotation | NumericLiteral | ObjectExpression | ObjectMember | ObjectMethod | ObjectPattern | ObjectProperty | ObjectTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalCallExpression | OptionalIndexedAccessType | OptionalMemberExpression | ParenthesizedExpression | Pattern | PatternLike | PipelineBareFunction | PipelinePrimaryTopicReference | PipelineTopicExpression | Placeholder | Private | PrivateName | Program | Property | Pureish | QualifiedTypeIdentifier | RecordExpression | RegExpLiteral | RegexLiteral | RestElement | RestProperty | ReturnStatement | Scopable | SequenceExpression | SpreadElement | SpreadProperty | Standardized | Statement | StaticBlock | StringLiteral | StringLiteralTypeAnnotation | StringTypeAnnotation | Super | SwitchCase | SwitchStatement | SymbolTypeAnnotation | TSAnyKeyword | TSArrayType | TSAsExpression | TSBaseType | TSBigIntKeyword | TSBooleanKeyword | TSCallSignatureDeclaration | TSConditionalType | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSEntityName | TSEnumBody | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExpressionWithTypeArguments | TSExternalModuleReference | TSFunctionType | TSImportEqualsDeclaration | TSImportType | TSIndexSignature | TSIndexedAccessType | TSInferType | TSInstantiationExpression | TSInterfaceBody | TSInterfaceDeclaration | TSIntersectionType | TSIntrinsicKeyword | TSLiteralType | TSMappedType | TSMethodSignature | TSModuleBlock | TSModuleDeclaration | TSNamedTupleMember | TSNamespaceExportDeclaration | TSNeverKeyword | TSNonNullExpression | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSParameterProperty | TSParenthesizedType | TSPropertySignature | TSQualifiedName | TSRestType | TSSatisfiesExpression | TSStringKeyword | TSSymbolKeyword | TSTemplateLiteralType | TSThisType | TSTupleType | TSType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeElement | TSTypeLiteral | TSTypeOperator | TSTypeParameter | TSTypeParameterDeclaration | TSTypeParameterInstantiation | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword | TaggedTemplateExpression | TemplateElement | TemplateLiteral | Terminatorless | ThisExpression | ThisTypeAnnotation | ThrowStatement | TopicReference | TryStatement | TupleExpression | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | TypeScript | TypeofTypeAnnotation | UnaryExpression | UnaryLike | UnionTypeAnnotation | UpdateExpression | UserWhitespacable | V8IntrinsicIdentifier | VariableDeclaration | VariableDeclarator | Variance | VoidTypeAnnotation | While | WhileStatement | WithStatement | YieldExpression;
46
46
 
47
47
  export interface ArrayExpression extends BaseNode {
48
48
  type: "ArrayExpression";
@@ -660,6 +660,7 @@ export interface ClassPrivateProperty extends BaseNode {
660
660
  decorators: Array<Decorator> | null;
661
661
  static: boolean;
662
662
  definite: boolean | null;
663
+ optional: boolean | null;
663
664
  readonly: boolean | null;
664
665
  typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null;
665
666
  variance: Variance | null;
@@ -1145,7 +1146,8 @@ export interface JSXOpeningElement extends BaseNode {
1145
1146
  name: JSXIdentifier | JSXMemberExpression | JSXNamespacedName;
1146
1147
  attributes: Array<JSXAttribute | JSXSpreadAttribute>;
1147
1148
  selfClosing: boolean;
1148
- typeParameters: TypeParameterInstantiation | TSTypeParameterInstantiation | null;
1149
+ typeArguments: TypeParameterInstantiation | null;
1150
+ typeParameters: TSTypeParameterInstantiation | null;
1149
1151
  }
1150
1152
 
1151
1153
  export interface JSXSpreadAttribute extends BaseNode {
@@ -1325,7 +1327,7 @@ export interface TSPropertySignature extends BaseNode {
1325
1327
  key: Expression;
1326
1328
  typeAnnotation: TSTypeAnnotation | null;
1327
1329
  computed: boolean;
1328
- kind: "get" | "set";
1330
+ kind: "get" | "set" | null;
1329
1331
  optional: boolean | null;
1330
1332
  readonly: boolean | null;
1331
1333
  }
@@ -1520,6 +1522,12 @@ export interface TSMappedType extends BaseNode {
1520
1522
  readonly: true | false | "+" | "-" | null;
1521
1523
  }
1522
1524
 
1525
+ export interface TSTemplateLiteralType extends BaseNode {
1526
+ type: "TSTemplateLiteralType";
1527
+ quasis: Array<TemplateElement>;
1528
+ types: Array<TSType>;
1529
+ }
1530
+
1523
1531
  export interface TSLiteralType extends BaseNode {
1524
1532
  type: "TSLiteralType";
1525
1533
  literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | TemplateLiteral | UnaryExpression;
@@ -1577,10 +1585,16 @@ export interface TSTypeAssertion extends BaseNode {
1577
1585
  expression: Expression;
1578
1586
  }
1579
1587
 
1588
+ export interface TSEnumBody extends BaseNode {
1589
+ type: "TSEnumBody";
1590
+ members: Array<TSEnumMember>;
1591
+ }
1592
+
1580
1593
  export interface TSEnumDeclaration extends BaseNode {
1581
1594
  type: "TSEnumDeclaration";
1582
1595
  id: Identifier;
1583
1596
  members: Array<TSEnumMember>;
1597
+ body: TSEnumBody | null;
1584
1598
  const: boolean | null;
1585
1599
  declare: boolean | null;
1586
1600
  initializer: Expression | null;
@@ -1705,7 +1719,7 @@ export type ForXStatement = ForInStatement | ForOfStatement;
1705
1719
  export type Function = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod;
1706
1720
  export type FunctionParent = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock;
1707
1721
  export type Pureish = FunctionDeclaration | FunctionExpression | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | ArrowFunctionExpression | BigIntLiteral | DecimalLiteral;
1708
- export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration;
1722
+ export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration | TSImportEqualsDeclaration;
1709
1723
  export type PatternLike = Identifier | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression;
1710
1724
  export type LVal = Identifier | MemberExpression | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSParameterProperty | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression;
1711
1725
  export type TSEntityName = Identifier | TSQualifiedName;
@@ -1732,10 +1746,10 @@ export type EnumBody = EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumS
1732
1746
  export type EnumMember = EnumBooleanMember | EnumNumberMember | EnumStringMember | EnumDefaultedMember;
1733
1747
  export type JSX = JSXAttribute | JSXClosingElement | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXSpreadChild | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXSpreadAttribute | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment;
1734
1748
  export type Miscellaneous = Noop | Placeholder | V8IntrinsicIdentifier;
1735
- export type TypeScript = TSParameterProperty | TSDeclareFunction | TSDeclareMethod | TSQualifiedName | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature | TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSNamedTupleMember | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSLiteralType | TSExpressionWithTypeArguments | TSInterfaceDeclaration | TSInterfaceBody | TSTypeAliasDeclaration | TSInstantiationExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSEnumDeclaration | TSEnumMember | TSModuleDeclaration | TSModuleBlock | TSImportType | TSImportEqualsDeclaration | TSExternalModuleReference | TSNonNullExpression | TSExportAssignment | TSNamespaceExportDeclaration | TSTypeAnnotation | TSTypeParameterInstantiation | TSTypeParameterDeclaration | TSTypeParameter;
1749
+ export type TypeScript = TSParameterProperty | TSDeclareFunction | TSDeclareMethod | TSQualifiedName | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature | TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSNamedTupleMember | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSTemplateLiteralType | TSLiteralType | TSExpressionWithTypeArguments | TSInterfaceDeclaration | TSInterfaceBody | TSTypeAliasDeclaration | TSInstantiationExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSEnumBody | TSEnumDeclaration | TSEnumMember | TSModuleDeclaration | TSModuleBlock | TSImportType | TSImportEqualsDeclaration | TSExternalModuleReference | TSNonNullExpression | TSExportAssignment | TSNamespaceExportDeclaration | TSTypeAnnotation | TSTypeParameterInstantiation | TSTypeParameterDeclaration | TSTypeParameter;
1736
1750
  export type TSTypeElement = TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature;
1737
- export type TSType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSLiteralType | TSExpressionWithTypeArguments | TSImportType;
1738
- export type TSBaseType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSLiteralType;
1751
+ export type TSType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSTemplateLiteralType | TSLiteralType | TSExpressionWithTypeArguments | TSImportType;
1752
+ export type TSBaseType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSTemplateLiteralType | TSLiteralType;
1739
1753
  export type ModuleDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration;
1740
1754
 
1741
1755
  export interface Aliases {
@@ -2020,6 +2034,7 @@ export function tsParenthesizedType(typeAnnotation: TSType): TSParenthesizedType
2020
2034
  export function tsTypeOperator(typeAnnotation: TSType): TSTypeOperator;
2021
2035
  export function tsIndexedAccessType(objectType: TSType, indexType: TSType): TSIndexedAccessType;
2022
2036
  export function tsMappedType(typeParameter: TSTypeParameter, typeAnnotation?: TSType | null, nameType?: TSType | null): TSMappedType;
2037
+ export function tsTemplateLiteralType(quasis: Array<TemplateElement>, types: Array<TSType>): TSTemplateLiteralType;
2023
2038
  export function tsLiteralType(literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | TemplateLiteral | UnaryExpression): TSLiteralType;
2024
2039
  export function tsExpressionWithTypeArguments(expression: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSExpressionWithTypeArguments;
2025
2040
  export function tsInterfaceDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, _extends: Array<TSExpressionWithTypeArguments> | null | undefined, body: TSInterfaceBody): TSInterfaceDeclaration;
@@ -2029,6 +2044,7 @@ export function tsInstantiationExpression(expression: Expression, typeParameters
2029
2044
  export function tsAsExpression(expression: Expression, typeAnnotation: TSType): TSAsExpression;
2030
2045
  export function tsSatisfiesExpression(expression: Expression, typeAnnotation: TSType): TSSatisfiesExpression;
2031
2046
  export function tsTypeAssertion(typeAnnotation: TSType, expression: Expression): TSTypeAssertion;
2047
+ export function tsEnumBody(members: Array<TSEnumMember>): TSEnumBody;
2032
2048
  export function tsEnumDeclaration(id: Identifier, members: Array<TSEnumMember>): TSEnumDeclaration;
2033
2049
  export function tsEnumMember(id: Identifier | StringLiteral, initializer?: Expression | null): TSEnumMember;
2034
2050
  export function tsModuleDeclaration(id: Identifier | StringLiteral, body: TSModuleBlock | TSModuleDeclaration): TSModuleDeclaration;
@@ -2481,6 +2497,8 @@ export function isTSDeclareMethod(node: object | null | undefined, opts?: object
2481
2497
  export function assertTSDeclareMethod(node: object | null | undefined, opts?: object | null): void;
2482
2498
  export function isTSEntityName(node: object | null | undefined, opts?: object | null): node is TSEntityName;
2483
2499
  export function assertTSEntityName(node: object | null | undefined, opts?: object | null): void;
2500
+ export function isTSEnumBody(node: object | null | undefined, opts?: object | null): node is TSEnumBody;
2501
+ export function assertTSEnumBody(node: object | null | undefined, opts?: object | null): void;
2484
2502
  export function isTSEnumDeclaration(node: object | null | undefined, opts?: object | null): node is TSEnumDeclaration;
2485
2503
  export function assertTSEnumDeclaration(node: object | null | undefined, opts?: object | null): void;
2486
2504
  export function isTSEnumMember(node: object | null | undefined, opts?: object | null): node is TSEnumMember;
@@ -2555,6 +2573,8 @@ export function isTSStringKeyword(node: object | null | undefined, opts?: object
2555
2573
  export function assertTSStringKeyword(node: object | null | undefined, opts?: object | null): void;
2556
2574
  export function isTSSymbolKeyword(node: object | null | undefined, opts?: object | null): node is TSSymbolKeyword;
2557
2575
  export function assertTSSymbolKeyword(node: object | null | undefined, opts?: object | null): void;
2576
+ export function isTSTemplateLiteralType(node: object | null | undefined, opts?: object | null): node is TSTemplateLiteralType;
2577
+ export function assertTSTemplateLiteralType(node: object | null | undefined, opts?: object | null): void;
2558
2578
  export function isTSThisType(node: object | null | undefined, opts?: object | null): node is TSThisType;
2559
2579
  export function assertTSThisType(node: object | null | undefined, opts?: object | null): void;
2560
2580
  export function isTSTupleType(node: object | null | undefined, opts?: object | null): node is TSTupleType;