@galadrim/galadmin 0.1.37 → 0.1.40

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 (489) hide show
  1. package/dist/api.js +8 -2
  2. package/dist/api.js.map +1 -1
  3. package/dist/tsconfig.tsbuildinfo +1 -1
  4. package/package.json +1 -1
  5. package/src/api.ts +9 -2
  6. package/src/front/build/asset-manifest.json +3 -3
  7. package/src/front/build/index.html +1 -1
  8. package/src/front/build/static/js/{main.4ce5340d.chunk.js → main.8a63b422.chunk.js} +2 -2
  9. package/src/front/build/static/js/main.8a63b422.chunk.js.map +1 -0
  10. package/src/front/node_modules/.cache/.eslintcache +1 -1
  11. package/src/front/node_modules/.cache/babel-loader/0046fa6def7297665aceff65675276fb.json +1 -0
  12. package/src/front/node_modules/.cache/babel-loader/6b6404ad16b4fb247c0dfe43c03f4a02.json +1 -0
  13. package/src/front/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/ef/81/2c9ecc926af52757cb3670536bc07219d1ccfba4d898a451352553fa6634b48d69ec580dd7c756e5fbcdc72e870664ef6bd7dc1af98e94d9eb182ba93be9 +1 -0
  14. package/src/front/node_modules/.cache/terser-webpack-plugin/index-v5/{c2/e5/5451dd89bb0fd48f988bf27c7ee614c66eb91f7085c5b5c8cb33048d0c32 → 31/fe/6640db1983b9834e63d1a760fa17521e8cf616b567ef7114a0676aa6971a} +1 -1
  15. package/src/front/node_modules/.cache/terser-webpack-plugin/index-v5/6c/19/fe86ba5d7c4062f185480ad22dd3b9fae9b30149827224339f9a633a9a94 +1 -1
  16. package/src/front/node_modules/.cache/terser-webpack-plugin/index-v5/87/08/421190bfe6e50816e059da6c33526c9943732ef856ebd2752d0cbfb4a852 +1 -1
  17. package/src/front/node_modules/.package-lock.json +72 -72
  18. package/src/front/node_modules/@babel/code-frame/lib/index.js +5 -4
  19. package/src/front/node_modules/@babel/code-frame/lib/index.js.map +1 -1
  20. package/src/front/node_modules/@babel/code-frame/package.json +3 -2
  21. package/src/front/node_modules/@babel/core/lib/config/cache-contexts.js.map +1 -1
  22. package/src/front/node_modules/@babel/core/lib/config/caching.js +2 -2
  23. package/src/front/node_modules/@babel/core/lib/config/caching.js.map +1 -1
  24. package/src/front/node_modules/@babel/core/lib/config/config-chain.js +13 -13
  25. package/src/front/node_modules/@babel/core/lib/config/config-chain.js.map +1 -1
  26. package/src/front/node_modules/@babel/core/lib/config/config-descriptors.js +6 -6
  27. package/src/front/node_modules/@babel/core/lib/config/config-descriptors.js.map +1 -1
  28. package/src/front/node_modules/@babel/core/lib/config/files/configuration.js +44 -41
  29. package/src/front/node_modules/@babel/core/lib/config/files/configuration.js.map +1 -1
  30. package/src/front/node_modules/@babel/core/lib/config/files/import-meta-resolve.js +1 -1
  31. package/src/front/node_modules/@babel/core/lib/config/files/import-meta-resolve.js.map +1 -1
  32. package/src/front/node_modules/@babel/core/lib/config/files/index-browser.js.map +1 -1
  33. package/src/front/node_modules/@babel/core/lib/config/files/index.js +3 -3
  34. package/src/front/node_modules/@babel/core/lib/config/files/index.js.map +1 -1
  35. package/src/front/node_modules/@babel/core/lib/config/files/module-types.js +27 -8
  36. package/src/front/node_modules/@babel/core/lib/config/files/module-types.js.map +1 -1
  37. package/src/front/node_modules/@babel/core/lib/config/files/package.js +2 -2
  38. package/src/front/node_modules/@babel/core/lib/config/files/package.js.map +1 -1
  39. package/src/front/node_modules/@babel/core/lib/config/files/plugins.js +3 -3
  40. package/src/front/node_modules/@babel/core/lib/config/files/plugins.js.map +1 -1
  41. package/src/front/node_modules/@babel/core/lib/config/files/types.js.map +1 -1
  42. package/src/front/node_modules/@babel/core/lib/config/files/utils.js +2 -2
  43. package/src/front/node_modules/@babel/core/lib/config/files/utils.js.map +1 -1
  44. package/src/front/node_modules/@babel/core/lib/config/full.js +13 -13
  45. package/src/front/node_modules/@babel/core/lib/config/full.js.map +1 -1
  46. package/src/front/node_modules/@babel/core/lib/config/helpers/config-api.js +6 -6
  47. package/src/front/node_modules/@babel/core/lib/config/helpers/config-api.js.map +1 -1
  48. package/src/front/node_modules/@babel/core/lib/config/index.js +60 -40
  49. package/src/front/node_modules/@babel/core/lib/config/index.js.map +1 -1
  50. package/src/front/node_modules/@babel/core/lib/config/item.js +1 -1
  51. package/src/front/node_modules/@babel/core/lib/config/item.js.map +1 -1
  52. package/src/front/node_modules/@babel/core/lib/config/partial.js +15 -23
  53. package/src/front/node_modules/@babel/core/lib/config/partial.js.map +1 -1
  54. package/src/front/node_modules/@babel/core/lib/config/plugin.js +1 -1
  55. package/src/front/node_modules/@babel/core/lib/config/plugin.js.map +1 -1
  56. package/src/front/node_modules/@babel/core/lib/config/printer.js.map +1 -1
  57. package/src/front/node_modules/@babel/core/lib/config/resolve-targets-browser.js.map +1 -1
  58. package/src/front/node_modules/@babel/core/lib/config/resolve-targets.js.map +1 -1
  59. package/src/front/node_modules/@babel/core/lib/config/util.js.map +1 -1
  60. package/src/front/node_modules/@babel/core/lib/config/validation/option-assertions.js +1 -1
  61. package/src/front/node_modules/@babel/core/lib/config/validation/option-assertions.js.map +1 -1
  62. package/src/front/node_modules/@babel/core/lib/config/validation/options.js +3 -3
  63. package/src/front/node_modules/@babel/core/lib/config/validation/options.js.map +1 -1
  64. package/src/front/node_modules/@babel/core/lib/config/validation/plugins.js +1 -1
  65. package/src/front/node_modules/@babel/core/lib/config/validation/plugins.js.map +1 -1
  66. package/src/front/node_modules/@babel/core/lib/errors/config-error.js +1 -1
  67. package/src/front/node_modules/@babel/core/lib/errors/config-error.js.map +1 -1
  68. package/src/front/node_modules/@babel/core/lib/gensync-utils/functional.js +1 -1
  69. package/src/front/node_modules/@babel/core/lib/gensync-utils/functional.js.map +1 -1
  70. package/src/front/node_modules/@babel/core/lib/index.js +23 -23
  71. package/src/front/node_modules/@babel/core/lib/index.js.map +1 -1
  72. package/src/front/node_modules/@babel/core/lib/parse.js +6 -6
  73. package/src/front/node_modules/@babel/core/lib/parse.js.map +1 -1
  74. package/src/front/node_modules/@babel/core/lib/parser/index.js +1 -1
  75. package/src/front/node_modules/@babel/core/lib/parser/index.js.map +1 -1
  76. package/src/front/node_modules/@babel/core/lib/tools/build-external-helpers.js +1 -1
  77. package/src/front/node_modules/@babel/core/lib/tools/build-external-helpers.js.map +1 -1
  78. package/src/front/node_modules/@babel/core/lib/transform-ast.js +5 -5
  79. package/src/front/node_modules/@babel/core/lib/transform-ast.js.map +1 -1
  80. package/src/front/node_modules/@babel/core/lib/transform-file.js +5 -5
  81. package/src/front/node_modules/@babel/core/lib/transform-file.js.map +1 -1
  82. package/src/front/node_modules/@babel/core/lib/transform.js +5 -5
  83. package/src/front/node_modules/@babel/core/lib/transform.js.map +1 -1
  84. package/src/front/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +1 -1
  85. package/src/front/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js.map +1 -1
  86. package/src/front/node_modules/@babel/core/lib/transformation/file/file.js.map +1 -1
  87. package/src/front/node_modules/@babel/core/lib/transformation/file/generate.js +1 -1
  88. package/src/front/node_modules/@babel/core/lib/transformation/file/generate.js.map +1 -1
  89. package/src/front/node_modules/@babel/core/lib/transformation/index.js +6 -6
  90. package/src/front/node_modules/@babel/core/lib/transformation/index.js.map +1 -1
  91. package/src/front/node_modules/@babel/core/lib/transformation/normalize-file.js +4 -4
  92. package/src/front/node_modules/@babel/core/lib/transformation/normalize-file.js.map +1 -1
  93. package/src/front/node_modules/@babel/core/lib/transformation/normalize-opts.js.map +1 -1
  94. package/src/front/node_modules/@babel/core/lib/transformation/plugin-pass.js.map +1 -1
  95. package/src/front/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map +1 -1
  96. package/src/front/node_modules/@babel/core/package.json +15 -15
  97. package/src/front/node_modules/@babel/core/src/config/files/index-browser.ts +2 -2
  98. package/src/front/node_modules/@babel/core/src/config/files/index.ts +4 -4
  99. package/src/front/node_modules/@babel/core/src/config/resolve-targets-browser.ts +1 -1
  100. package/src/front/node_modules/@babel/core/src/config/resolve-targets.ts +1 -1
  101. package/src/front/node_modules/@babel/core/src/transform-file.ts +5 -5
  102. package/src/front/node_modules/@babel/generator/lib/buffer.js.map +1 -1
  103. package/src/front/node_modules/@babel/generator/lib/generators/base.js.map +1 -1
  104. package/src/front/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
  105. package/src/front/node_modules/@babel/generator/lib/generators/expressions.js +1 -1
  106. package/src/front/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -1
  107. package/src/front/node_modules/@babel/generator/lib/generators/flow.js +2 -2
  108. package/src/front/node_modules/@babel/generator/lib/generators/flow.js.map +1 -1
  109. package/src/front/node_modules/@babel/generator/lib/generators/index.js +11 -11
  110. package/src/front/node_modules/@babel/generator/lib/generators/index.js.map +1 -1
  111. package/src/front/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -1
  112. package/src/front/node_modules/@babel/generator/lib/generators/methods.js.map +1 -1
  113. package/src/front/node_modules/@babel/generator/lib/generators/modules.js.map +1 -1
  114. package/src/front/node_modules/@babel/generator/lib/generators/statements.js.map +1 -1
  115. package/src/front/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -1
  116. package/src/front/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
  117. package/src/front/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
  118. package/src/front/node_modules/@babel/generator/lib/index.js +2 -2
  119. package/src/front/node_modules/@babel/generator/lib/index.js.map +1 -1
  120. package/src/front/node_modules/@babel/generator/lib/node/index.js +2 -2
  121. package/src/front/node_modules/@babel/generator/lib/node/index.js.map +1 -1
  122. package/src/front/node_modules/@babel/generator/lib/node/whitespace.js.map +1 -1
  123. package/src/front/node_modules/@babel/generator/lib/printer.js +3 -3
  124. package/src/front/node_modules/@babel/generator/lib/printer.js.map +1 -1
  125. package/src/front/node_modules/@babel/generator/package.json +4 -4
  126. package/src/front/node_modules/@babel/helper-compilation-targets/lib/debug.js +2 -2
  127. package/src/front/node_modules/@babel/helper-compilation-targets/lib/debug.js.map +1 -1
  128. package/src/front/node_modules/@babel/helper-compilation-targets/lib/filter-items.js +1 -1
  129. package/src/front/node_modules/@babel/helper-compilation-targets/lib/filter-items.js.map +1 -1
  130. package/src/front/node_modules/@babel/helper-compilation-targets/lib/index.js +6 -6
  131. package/src/front/node_modules/@babel/helper-compilation-targets/lib/index.js.map +1 -1
  132. package/src/front/node_modules/@babel/helper-compilation-targets/lib/pretty.js +1 -1
  133. package/src/front/node_modules/@babel/helper-compilation-targets/lib/pretty.js.map +1 -1
  134. package/src/front/node_modules/@babel/helper-compilation-targets/lib/utils.js +1 -1
  135. package/src/front/node_modules/@babel/helper-compilation-targets/lib/utils.js.map +1 -1
  136. package/src/front/node_modules/@babel/helper-compilation-targets/package.json +2 -2
  137. package/src/front/node_modules/@babel/helper-module-imports/README.md +1 -1
  138. package/src/front/node_modules/@babel/helper-module-imports/lib/import-injector.js +2 -2
  139. package/src/front/node_modules/@babel/helper-module-imports/lib/import-injector.js.map +1 -1
  140. package/src/front/node_modules/@babel/helper-module-imports/lib/index.js +2 -2
  141. package/src/front/node_modules/@babel/helper-module-imports/lib/index.js.map +1 -1
  142. package/src/front/node_modules/@babel/helper-module-imports/package.json +4 -4
  143. package/src/front/node_modules/@babel/helper-module-transforms/lib/index.js +5 -5
  144. package/src/front/node_modules/@babel/helper-module-transforms/lib/index.js.map +1 -1
  145. package/src/front/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js.map +1 -1
  146. package/src/front/node_modules/@babel/helper-module-transforms/package.json +5 -5
  147. package/src/front/node_modules/@babel/helper-validator-identifier/README.md +1 -1
  148. package/src/front/node_modules/@babel/helper-validator-identifier/lib/index.js +2 -2
  149. package/src/front/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -1
  150. package/src/front/node_modules/@babel/helper-validator-identifier/package.json +1 -1
  151. package/src/front/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +8 -6
  152. package/src/front/node_modules/@babel/helper-validator-option/README.md +1 -1
  153. package/src/front/node_modules/@babel/helper-validator-option/lib/index.js +2 -2
  154. package/src/front/node_modules/@babel/helper-validator-option/lib/index.js.map +1 -1
  155. package/src/front/node_modules/@babel/helper-validator-option/lib/validator.js +1 -1
  156. package/src/front/node_modules/@babel/helper-validator-option/lib/validator.js.map +1 -1
  157. package/src/front/node_modules/@babel/helper-validator-option/package.json +1 -1
  158. package/src/front/node_modules/@babel/helpers/lib/helpers-generated.js +21 -21
  159. package/src/front/node_modules/@babel/helpers/lib/helpers-generated.js.map +1 -1
  160. package/src/front/node_modules/@babel/helpers/lib/helpers.js +1 -1
  161. package/src/front/node_modules/@babel/helpers/lib/helpers.js.map +1 -1
  162. package/src/front/node_modules/@babel/helpers/lib/index.js +1 -1
  163. package/src/front/node_modules/@babel/helpers/lib/index.js.map +1 -1
  164. package/src/front/node_modules/@babel/helpers/package.json +7 -7
  165. package/src/front/node_modules/@babel/helpers/scripts/generate-helpers.js +1 -1
  166. package/src/front/node_modules/@babel/highlight/lib/index.js +6 -5
  167. package/src/front/node_modules/@babel/highlight/lib/index.js.map +1 -1
  168. package/src/front/node_modules/@babel/highlight/package.json +1 -1
  169. package/src/front/node_modules/@babel/parser/lib/index.js +52 -57
  170. package/src/front/node_modules/@babel/parser/lib/index.js.map +1 -1
  171. package/src/front/node_modules/@babel/parser/package.json +4 -4
  172. package/src/front/node_modules/@babel/template/README.md +1 -1
  173. package/src/front/node_modules/@babel/template/lib/builder.js +3 -3
  174. package/src/front/node_modules/@babel/template/lib/builder.js.map +1 -1
  175. package/src/front/node_modules/@babel/template/lib/index.js +2 -2
  176. package/src/front/node_modules/@babel/template/lib/index.js.map +1 -1
  177. package/src/front/node_modules/@babel/template/lib/literal.js +3 -3
  178. package/src/front/node_modules/@babel/template/lib/literal.js.map +1 -1
  179. package/src/front/node_modules/@babel/template/lib/parse.js.map +1 -1
  180. package/src/front/node_modules/@babel/template/lib/populate.js.map +1 -1
  181. package/src/front/node_modules/@babel/template/lib/string.js +3 -3
  182. package/src/front/node_modules/@babel/template/lib/string.js.map +1 -1
  183. package/src/front/node_modules/@babel/template/package.json +4 -4
  184. package/src/front/node_modules/@babel/traverse/lib/cache.js.map +1 -1
  185. package/src/front/node_modules/@babel/traverse/lib/context.js +2 -2
  186. package/src/front/node_modules/@babel/traverse/lib/context.js.map +1 -1
  187. package/src/front/node_modules/@babel/traverse/lib/hub.js.map +1 -1
  188. package/src/front/node_modules/@babel/traverse/lib/index.js +8 -8
  189. package/src/front/node_modules/@babel/traverse/lib/index.js.map +1 -1
  190. package/src/front/node_modules/@babel/traverse/lib/path/ancestry.js.map +1 -1
  191. package/src/front/node_modules/@babel/traverse/lib/path/comments.js.map +1 -1
  192. package/src/front/node_modules/@babel/traverse/lib/path/context.js +2 -2
  193. package/src/front/node_modules/@babel/traverse/lib/path/context.js.map +1 -1
  194. package/src/front/node_modules/@babel/traverse/lib/path/conversion.js +1 -1
  195. package/src/front/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
  196. package/src/front/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -1
  197. package/src/front/node_modules/@babel/traverse/lib/path/family.js +1 -1
  198. package/src/front/node_modules/@babel/traverse/lib/path/family.js.map +1 -1
  199. package/src/front/node_modules/@babel/traverse/lib/path/index.js +17 -17
  200. package/src/front/node_modules/@babel/traverse/lib/path/index.js.map +1 -1
  201. package/src/front/node_modules/@babel/traverse/lib/path/inference/index.js +1 -1
  202. package/src/front/node_modules/@babel/traverse/lib/path/inference/index.js.map +1 -1
  203. package/src/front/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js +1 -1
  204. package/src/front/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js.map +1 -1
  205. package/src/front/node_modules/@babel/traverse/lib/path/inference/inferers.js +2 -2
  206. package/src/front/node_modules/@babel/traverse/lib/path/inference/inferers.js.map +1 -1
  207. package/src/front/node_modules/@babel/traverse/lib/path/introspection.js.map +1 -1
  208. package/src/front/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -1
  209. package/src/front/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js.map +1 -1
  210. package/src/front/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.map +1 -1
  211. package/src/front/node_modules/@babel/traverse/lib/path/modification.js +3 -3
  212. package/src/front/node_modules/@babel/traverse/lib/path/modification.js.map +1 -1
  213. package/src/front/node_modules/@babel/traverse/lib/path/removal.js +3 -3
  214. package/src/front/node_modules/@babel/traverse/lib/path/removal.js.map +1 -1
  215. package/src/front/node_modules/@babel/traverse/lib/path/replacement.js +3 -3
  216. package/src/front/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -1
  217. package/src/front/node_modules/@babel/traverse/lib/scope/binding.js +1 -3
  218. package/src/front/node_modules/@babel/traverse/lib/scope/binding.js.map +1 -1
  219. package/src/front/node_modules/@babel/traverse/lib/scope/index.js +5 -5
  220. package/src/front/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
  221. package/src/front/node_modules/@babel/traverse/lib/scope/lib/renamer.js +2 -2
  222. package/src/front/node_modules/@babel/traverse/lib/scope/lib/renamer.js.map +1 -1
  223. package/src/front/node_modules/@babel/traverse/lib/traverse-node.js +1 -1
  224. package/src/front/node_modules/@babel/traverse/lib/traverse-node.js.map +1 -1
  225. package/src/front/node_modules/@babel/traverse/lib/types.js.map +1 -1
  226. package/src/front/node_modules/@babel/traverse/lib/visitors.js +1 -1
  227. package/src/front/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
  228. package/src/front/node_modules/@babel/traverse/package.json +6 -6
  229. package/src/front/node_modules/@babel/types/lib/asserts/assertNode.js +1 -1
  230. package/src/front/node_modules/@babel/types/lib/asserts/assertNode.js.map +1 -1
  231. package/src/front/node_modules/@babel/types/lib/asserts/generated/index.js +2 -2
  232. package/src/front/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -1
  233. package/src/front/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
  234. package/src/front/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +3 -3
  235. package/src/front/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +1 -1
  236. package/src/front/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +9 -9
  237. package/src/front/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +1 -1
  238. package/src/front/node_modules/@babel/types/lib/builders/generated/index.js +2 -2
  239. package/src/front/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -1
  240. package/src/front/node_modules/@babel/types/lib/builders/generated/uppercase.js +1 -1
  241. package/src/front/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -1
  242. package/src/front/node_modules/@babel/types/lib/builders/react/buildChildren.js +5 -5
  243. package/src/front/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +1 -1
  244. package/src/front/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +5 -5
  245. package/src/front/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +1 -1
  246. package/src/front/node_modules/@babel/types/lib/builders/validateNode.js +3 -3
  247. package/src/front/node_modules/@babel/types/lib/builders/validateNode.js.map +1 -1
  248. package/src/front/node_modules/@babel/types/lib/clone/clone.js +1 -1
  249. package/src/front/node_modules/@babel/types/lib/clone/clone.js.map +1 -1
  250. package/src/front/node_modules/@babel/types/lib/clone/cloneDeep.js +1 -1
  251. package/src/front/node_modules/@babel/types/lib/clone/cloneDeep.js.map +1 -1
  252. package/src/front/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +1 -1
  253. package/src/front/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +1 -1
  254. package/src/front/node_modules/@babel/types/lib/clone/cloneNode.js +6 -6
  255. package/src/front/node_modules/@babel/types/lib/clone/cloneNode.js.map +1 -1
  256. package/src/front/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +1 -1
  257. package/src/front/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +1 -1
  258. package/src/front/node_modules/@babel/types/lib/comments/addComment.js +1 -1
  259. package/src/front/node_modules/@babel/types/lib/comments/addComment.js.map +1 -1
  260. package/src/front/node_modules/@babel/types/lib/comments/addComments.js.map +1 -1
  261. package/src/front/node_modules/@babel/types/lib/comments/inheritInnerComments.js +1 -1
  262. package/src/front/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +1 -1
  263. package/src/front/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +1 -1
  264. package/src/front/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +1 -1
  265. package/src/front/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +1 -1
  266. package/src/front/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +1 -1
  267. package/src/front/node_modules/@babel/types/lib/comments/inheritsComments.js +3 -3
  268. package/src/front/node_modules/@babel/types/lib/comments/inheritsComments.js.map +1 -1
  269. package/src/front/node_modules/@babel/types/lib/comments/removeComments.js +2 -2
  270. package/src/front/node_modules/@babel/types/lib/comments/removeComments.js.map +1 -1
  271. package/src/front/node_modules/@babel/types/lib/constants/generated/index.js +50 -50
  272. package/src/front/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -1
  273. package/src/front/node_modules/@babel/types/lib/converters/ensureBlock.js +1 -1
  274. package/src/front/node_modules/@babel/types/lib/converters/ensureBlock.js.map +1 -1
  275. package/src/front/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +14 -14
  276. package/src/front/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -1
  277. package/src/front/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +1 -1
  278. package/src/front/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +1 -1
  279. package/src/front/node_modules/@babel/types/lib/converters/toBlock.js +9 -9
  280. package/src/front/node_modules/@babel/types/lib/converters/toBlock.js.map +1 -1
  281. package/src/front/node_modules/@babel/types/lib/converters/toComputedKey.js +3 -3
  282. package/src/front/node_modules/@babel/types/lib/converters/toComputedKey.js.map +1 -1
  283. package/src/front/node_modules/@babel/types/lib/converters/toExpression.js +6 -6
  284. package/src/front/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -1
  285. package/src/front/node_modules/@babel/types/lib/converters/toIdentifier.js +1 -1
  286. package/src/front/node_modules/@babel/types/lib/converters/toIdentifier.js.map +1 -1
  287. package/src/front/node_modules/@babel/types/lib/converters/toKeyAlias.js +5 -5
  288. package/src/front/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +1 -1
  289. package/src/front/node_modules/@babel/types/lib/converters/toSequenceExpression.js +1 -1
  290. package/src/front/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -1
  291. package/src/front/node_modules/@babel/types/lib/converters/toStatement.js +7 -7
  292. package/src/front/node_modules/@babel/types/lib/converters/toStatement.js.map +1 -1
  293. package/src/front/node_modules/@babel/types/lib/converters/valueToNode.js +17 -17
  294. package/src/front/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -1
  295. package/src/front/node_modules/@babel/types/lib/definitions/core.js +9 -9
  296. package/src/front/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
  297. package/src/front/node_modules/@babel/types/lib/definitions/experimental.js +1 -1
  298. package/src/front/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -1
  299. package/src/front/node_modules/@babel/types/lib/definitions/flow.js +1 -1
  300. package/src/front/node_modules/@babel/types/lib/definitions/flow.js.map +1 -1
  301. package/src/front/node_modules/@babel/types/lib/definitions/index.js +9 -9
  302. package/src/front/node_modules/@babel/types/lib/definitions/index.js.map +1 -1
  303. package/src/front/node_modules/@babel/types/lib/definitions/jsx.js +1 -1
  304. package/src/front/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -1
  305. package/src/front/node_modules/@babel/types/lib/definitions/misc.js +2 -2
  306. package/src/front/node_modules/@babel/types/lib/definitions/misc.js.map +1 -1
  307. package/src/front/node_modules/@babel/types/lib/definitions/placeholders.js +1 -1
  308. package/src/front/node_modules/@babel/types/lib/definitions/placeholders.js.map +1 -1
  309. package/src/front/node_modules/@babel/types/lib/definitions/typescript.js +4 -4
  310. package/src/front/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -1
  311. package/src/front/node_modules/@babel/types/lib/definitions/utils.js +2 -2
  312. package/src/front/node_modules/@babel/types/lib/definitions/utils.js.map +1 -1
  313. package/src/front/node_modules/@babel/types/lib/index-legacy.d.ts +10 -10
  314. package/src/front/node_modules/@babel/types/lib/index.d.ts +12 -12
  315. package/src/front/node_modules/@babel/types/lib/index.js +84 -84
  316. package/src/front/node_modules/@babel/types/lib/index.js.flow +10 -10
  317. package/src/front/node_modules/@babel/types/lib/index.js.map +1 -1
  318. package/src/front/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +2 -2
  319. package/src/front/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +1 -1
  320. package/src/front/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +6 -6
  321. package/src/front/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +1 -1
  322. package/src/front/node_modules/@babel/types/lib/modifications/inherits.js +4 -4
  323. package/src/front/node_modules/@babel/types/lib/modifications/inherits.js.map +1 -1
  324. package/src/front/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +4 -4
  325. package/src/front/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +1 -1
  326. package/src/front/node_modules/@babel/types/lib/modifications/removeProperties.js +2 -2
  327. package/src/front/node_modules/@babel/types/lib/modifications/removeProperties.js.map +1 -1
  328. package/src/front/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +2 -2
  329. package/src/front/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +1 -1
  330. package/src/front/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +6 -6
  331. package/src/front/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -1
  332. package/src/front/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +6 -6
  333. package/src/front/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -1
  334. package/src/front/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +1 -1
  335. package/src/front/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +1 -1
  336. package/src/front/node_modules/@babel/types/lib/traverse/traverse.js +2 -2
  337. package/src/front/node_modules/@babel/types/lib/traverse/traverse.js.map +1 -1
  338. package/src/front/node_modules/@babel/types/lib/traverse/traverseFast.js +2 -2
  339. package/src/front/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -1
  340. package/src/front/node_modules/@babel/types/lib/utils/inherit.js.map +1 -1
  341. package/src/front/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +3 -3
  342. package/src/front/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +1 -1
  343. package/src/front/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +1 -1
  344. package/src/front/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +1 -1
  345. package/src/front/node_modules/@babel/types/lib/validators/generated/index.js +2 -2
  346. package/src/front/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -1
  347. package/src/front/node_modules/@babel/types/lib/validators/is.js +5 -5
  348. package/src/front/node_modules/@babel/types/lib/validators/is.js.map +1 -1
  349. package/src/front/node_modules/@babel/types/lib/validators/isBinding.js +1 -1
  350. package/src/front/node_modules/@babel/types/lib/validators/isBinding.js.map +1 -1
  351. package/src/front/node_modules/@babel/types/lib/validators/isBlockScoped.js +3 -3
  352. package/src/front/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +1 -1
  353. package/src/front/node_modules/@babel/types/lib/validators/isImmutable.js +3 -3
  354. package/src/front/node_modules/@babel/types/lib/validators/isImmutable.js.map +1 -1
  355. package/src/front/node_modules/@babel/types/lib/validators/isLet.js +3 -3
  356. package/src/front/node_modules/@babel/types/lib/validators/isLet.js.map +1 -1
  357. package/src/front/node_modules/@babel/types/lib/validators/isNode.js +2 -2
  358. package/src/front/node_modules/@babel/types/lib/validators/isNode.js.map +1 -1
  359. package/src/front/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +3 -3
  360. package/src/front/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +1 -1
  361. package/src/front/node_modules/@babel/types/lib/validators/isPlaceholderType.js +2 -2
  362. package/src/front/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -1
  363. package/src/front/node_modules/@babel/types/lib/validators/isReferenced.js.map +1 -1
  364. package/src/front/node_modules/@babel/types/lib/validators/isScope.js +4 -4
  365. package/src/front/node_modules/@babel/types/lib/validators/isScope.js.map +1 -1
  366. package/src/front/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +2 -2
  367. package/src/front/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +1 -1
  368. package/src/front/node_modules/@babel/types/lib/validators/isType.js +3 -3
  369. package/src/front/node_modules/@babel/types/lib/validators/isType.js.map +1 -1
  370. package/src/front/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +1 -1
  371. package/src/front/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +1 -1
  372. package/src/front/node_modules/@babel/types/lib/validators/isVar.js +4 -4
  373. package/src/front/node_modules/@babel/types/lib/validators/isVar.js.map +1 -1
  374. package/src/front/node_modules/@babel/types/lib/validators/matchesPattern.js +6 -6
  375. package/src/front/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -1
  376. package/src/front/node_modules/@babel/types/lib/validators/react/isReactComponent.js +1 -1
  377. package/src/front/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +1 -1
  378. package/src/front/node_modules/@babel/types/lib/validators/validate.js +3 -3
  379. package/src/front/node_modules/@babel/types/lib/validators/validate.js.map +1 -1
  380. package/src/front/node_modules/@babel/types/package.json +4 -4
  381. package/src/front/node_modules/typescript/lib/lib.decorators.d.ts +17 -0
  382. package/src/front/node_modules/typescript/lib/lib.dom.d.ts +313 -90
  383. package/src/front/node_modules/typescript/lib/lib.es2015.collection.d.ts +9 -9
  384. package/src/front/node_modules/typescript/lib/lib.es2015.core.d.ts +2 -2
  385. package/src/front/node_modules/typescript/lib/lib.es2015.iterable.d.ts +4 -4
  386. package/src/front/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +2 -2
  387. package/src/front/node_modules/typescript/lib/lib.es2017.d.ts +1 -0
  388. package/src/front/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  389. package/src/front/node_modules/typescript/lib/lib.es2020.bigint.d.ts +4 -4
  390. package/src/front/node_modules/typescript/lib/lib.es2021.weakref.d.ts +19 -16
  391. package/src/front/node_modules/typescript/lib/lib.es2023.array.d.ts +618 -36
  392. package/src/front/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  393. package/src/front/node_modules/typescript/lib/lib.es2023.d.ts +1 -0
  394. package/src/front/node_modules/typescript/lib/lib.es5.d.ts +27 -18
  395. package/src/front/node_modules/typescript/lib/lib.esnext.d.ts +2 -0
  396. package/src/front/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  397. package/src/front/node_modules/typescript/lib/lib.esnext.disposable.d.ts +185 -0
  398. package/src/front/node_modules/typescript/lib/lib.webworker.d.ts +172 -33
  399. package/src/front/node_modules/typescript/lib/tsc.js +8311 -6557
  400. package/src/front/node_modules/typescript/lib/tsserver.js +11796 -9281
  401. package/src/front/node_modules/typescript/lib/tsserverlibrary.d.ts +287 -249
  402. package/src/front/node_modules/typescript/lib/tsserverlibrary.js +11801 -9288
  403. package/src/front/node_modules/typescript/lib/typescript.d.ts +274 -248
  404. package/src/front/node_modules/typescript/lib/typescript.js +11678 -9231
  405. package/src/front/node_modules/typescript/lib/typingsInstaller.js +1852 -1645
  406. package/src/front/node_modules/typescript/package.json +7 -7
  407. package/src/front/package-lock.json +144 -144
  408. package/src/front/src/components/inputs/FileInput.js +1 -0
  409. package/src/front/src/pages/Records.js +1 -0
  410. package/src/front/build/static/js/main.4ce5340d.chunk.js.map +0 -1
  411. package/src/front/node_modules/.cache/babel-loader/1dbf9b1b83cdf813e9dc5f561b9b97ac.json +0 -1
  412. package/src/front/node_modules/.cache/babel-loader/d88f947a76ac5f78797e69c737b6267e.json +0 -1
  413. package/src/front/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/c3/3e/f2b5b90044b7bdbb4cff67b2c09e24bb506274240d920de24bb4b678f3f00b80f7e9f0900cd1de883484031488d8603e97ea6b4e39a9c6ab5160353d3be9 +0 -1
  414. package/src/front/node_modules/@babel/parser/lib/options.js +0 -44
  415. package/src/front/node_modules/@babel/parser/lib/options.js.map +0 -1
  416. package/src/front/node_modules/@babel/parser/lib/parse-error/credentials.js +0 -28
  417. package/src/front/node_modules/@babel/parser/lib/parse-error/credentials.js.map +0 -1
  418. package/src/front/node_modules/@babel/parser/lib/parse-error/module-errors.js +0 -20
  419. package/src/front/node_modules/@babel/parser/lib/parse-error/module-errors.js.map +0 -1
  420. package/src/front/node_modules/@babel/parser/lib/parse-error/pipeline-operator-errors.js +0 -32
  421. package/src/front/node_modules/@babel/parser/lib/parse-error/pipeline-operator-errors.js.map +0 -1
  422. package/src/front/node_modules/@babel/parser/lib/parse-error/standard-errors.js +0 -220
  423. package/src/front/node_modules/@babel/parser/lib/parse-error/standard-errors.js.map +0 -1
  424. package/src/front/node_modules/@babel/parser/lib/parse-error/strict-mode-errors.js +0 -22
  425. package/src/front/node_modules/@babel/parser/lib/parse-error/strict-mode-errors.js.map +0 -1
  426. package/src/front/node_modules/@babel/parser/lib/parse-error/to-node-description.js +0 -39
  427. package/src/front/node_modules/@babel/parser/lib/parse-error/to-node-description.js.map +0 -1
  428. package/src/front/node_modules/@babel/parser/lib/parse-error.js +0 -106
  429. package/src/front/node_modules/@babel/parser/lib/parse-error.js.map +0 -1
  430. package/src/front/node_modules/@babel/parser/lib/parser/base.js +0 -36
  431. package/src/front/node_modules/@babel/parser/lib/parser/base.js.map +0 -1
  432. package/src/front/node_modules/@babel/parser/lib/parser/comments.js +0 -190
  433. package/src/front/node_modules/@babel/parser/lib/parser/comments.js.map +0 -1
  434. package/src/front/node_modules/@babel/parser/lib/parser/expression.js +0 -1824
  435. package/src/front/node_modules/@babel/parser/lib/parser/expression.js.map +0 -1
  436. package/src/front/node_modules/@babel/parser/lib/parser/index.js +0 -43
  437. package/src/front/node_modules/@babel/parser/lib/parser/index.js.map +0 -1
  438. package/src/front/node_modules/@babel/parser/lib/parser/lval.js +0 -421
  439. package/src/front/node_modules/@babel/parser/lib/parser/lval.js.map +0 -1
  440. package/src/front/node_modules/@babel/parser/lib/parser/node.js +0 -127
  441. package/src/front/node_modules/@babel/parser/lib/parser/node.js.map +0 -1
  442. package/src/front/node_modules/@babel/parser/lib/parser/statement.js +0 -2033
  443. package/src/front/node_modules/@babel/parser/lib/parser/statement.js.map +0 -1
  444. package/src/front/node_modules/@babel/parser/lib/parser/util.js +0 -238
  445. package/src/front/node_modules/@babel/parser/lib/parser/util.js.map +0 -1
  446. package/src/front/node_modules/@babel/parser/lib/plugin-utils.js +0 -136
  447. package/src/front/node_modules/@babel/parser/lib/plugin-utils.js.map +0 -1
  448. package/src/front/node_modules/@babel/parser/lib/plugins/estree.js +0 -340
  449. package/src/front/node_modules/@babel/parser/lib/plugins/estree.js.map +0 -1
  450. package/src/front/node_modules/@babel/parser/lib/plugins/flow/index.js +0 -2474
  451. package/src/front/node_modules/@babel/parser/lib/plugins/flow/index.js.map +0 -1
  452. package/src/front/node_modules/@babel/parser/lib/plugins/flow/scope.js +0 -44
  453. package/src/front/node_modules/@babel/parser/lib/plugins/flow/scope.js.map +0 -1
  454. package/src/front/node_modules/@babel/parser/lib/plugins/jsx/index.js +0 -444
  455. package/src/front/node_modules/@babel/parser/lib/plugins/jsx/index.js.map +0 -1
  456. package/src/front/node_modules/@babel/parser/lib/plugins/jsx/xhtml.js +0 -266
  457. package/src/front/node_modules/@babel/parser/lib/plugins/jsx/xhtml.js.map +0 -1
  458. package/src/front/node_modules/@babel/parser/lib/plugins/placeholders.js +0 -198
  459. package/src/front/node_modules/@babel/parser/lib/plugins/placeholders.js.map +0 -1
  460. package/src/front/node_modules/@babel/parser/lib/plugins/typescript/index.js +0 -2656
  461. package/src/front/node_modules/@babel/parser/lib/plugins/typescript/index.js.map +0 -1
  462. package/src/front/node_modules/@babel/parser/lib/plugins/typescript/scope.js +0 -121
  463. package/src/front/node_modules/@babel/parser/lib/plugins/typescript/scope.js.map +0 -1
  464. package/src/front/node_modules/@babel/parser/lib/plugins/v8intrinsic.js +0 -31
  465. package/src/front/node_modules/@babel/parser/lib/plugins/v8intrinsic.js.map +0 -1
  466. package/src/front/node_modules/@babel/parser/lib/tokenizer/context.js +0 -27
  467. package/src/front/node_modules/@babel/parser/lib/tokenizer/context.js.map +0 -1
  468. package/src/front/node_modules/@babel/parser/lib/tokenizer/index.js +0 -1119
  469. package/src/front/node_modules/@babel/parser/lib/tokenizer/index.js.map +0 -1
  470. package/src/front/node_modules/@babel/parser/lib/tokenizer/state.js +0 -82
  471. package/src/front/node_modules/@babel/parser/lib/tokenizer/state.js.map +0 -1
  472. package/src/front/node_modules/@babel/parser/lib/tokenizer/types.js +0 -586
  473. package/src/front/node_modules/@babel/parser/lib/tokenizer/types.js.map +0 -1
  474. package/src/front/node_modules/@babel/parser/lib/util/class-scope.js +0 -92
  475. package/src/front/node_modules/@babel/parser/lib/util/class-scope.js.map +0 -1
  476. package/src/front/node_modules/@babel/parser/lib/util/expression-scope.js +0 -142
  477. package/src/front/node_modules/@babel/parser/lib/util/expression-scope.js.map +0 -1
  478. package/src/front/node_modules/@babel/parser/lib/util/identifier.js +0 -62
  479. package/src/front/node_modules/@babel/parser/lib/util/identifier.js.map +0 -1
  480. package/src/front/node_modules/@babel/parser/lib/util/location.js +0 -39
  481. package/src/front/node_modules/@babel/parser/lib/util/location.js.map +0 -1
  482. package/src/front/node_modules/@babel/parser/lib/util/production-parameter.js +0 -49
  483. package/src/front/node_modules/@babel/parser/lib/util/production-parameter.js.map +0 -1
  484. package/src/front/node_modules/@babel/parser/lib/util/scope.js +0 -161
  485. package/src/front/node_modules/@babel/parser/lib/util/scope.js.map +0 -1
  486. package/src/front/node_modules/@babel/parser/lib/util/scopeflags.js +0 -67
  487. package/src/front/node_modules/@babel/parser/lib/util/scopeflags.js.map +0 -1
  488. package/src/front/node_modules/@babel/parser/lib/util/whitespace.js +0 -59
  489. package/src/front/node_modules/@babel/parser/lib/util/whitespace.js.map +0 -1
@@ -1,340 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _parseError = require("../parse-error");
8
- const {
9
- defineProperty
10
- } = Object;
11
- const toUnenumerable = (object, key) => defineProperty(object, key, {
12
- enumerable: false,
13
- value: object[key]
14
- });
15
- function toESTreeLocation(node) {
16
- node.loc.start && toUnenumerable(node.loc.start, "index");
17
- node.loc.end && toUnenumerable(node.loc.end, "index");
18
- return node;
19
- }
20
- var _default = superClass => class ESTreeParserMixin extends superClass {
21
- parse() {
22
- const file = toESTreeLocation(super.parse());
23
- if (this.options.tokens) {
24
- file.tokens = file.tokens.map(toESTreeLocation);
25
- }
26
- return file;
27
- }
28
- parseRegExpLiteral({
29
- pattern,
30
- flags
31
- }) {
32
- let regex = null;
33
- try {
34
- regex = new RegExp(pattern, flags);
35
- } catch (e) {}
36
- const node = this.estreeParseLiteral(regex);
37
- node.regex = {
38
- pattern,
39
- flags
40
- };
41
- return node;
42
- }
43
- parseBigIntLiteral(value) {
44
- let bigInt;
45
- try {
46
- bigInt = BigInt(value);
47
- } catch (_unused) {
48
- bigInt = null;
49
- }
50
- const node = this.estreeParseLiteral(bigInt);
51
- node.bigint = String(node.value || value);
52
- return node;
53
- }
54
- parseDecimalLiteral(value) {
55
- const decimal = null;
56
- const node = this.estreeParseLiteral(decimal);
57
- node.decimal = String(node.value || value);
58
- return node;
59
- }
60
- estreeParseLiteral(value) {
61
- return this.parseLiteral(value, "Literal");
62
- }
63
- parseStringLiteral(value) {
64
- return this.estreeParseLiteral(value);
65
- }
66
- parseNumericLiteral(value) {
67
- return this.estreeParseLiteral(value);
68
- }
69
- parseNullLiteral() {
70
- return this.estreeParseLiteral(null);
71
- }
72
- parseBooleanLiteral(value) {
73
- return this.estreeParseLiteral(value);
74
- }
75
- directiveToStmt(directive) {
76
- const expression = directive.value;
77
- delete directive.value;
78
- expression.type = "Literal";
79
- expression.raw = expression.extra.raw;
80
- expression.value = expression.extra.expressionValue;
81
- const stmt = directive;
82
- stmt.type = "ExpressionStatement";
83
- stmt.expression = expression;
84
- stmt.directive = expression.extra.rawValue;
85
- delete expression.extra;
86
- return stmt;
87
- }
88
- initFunction(node, isAsync) {
89
- super.initFunction(node, isAsync);
90
- node.expression = false;
91
- }
92
- checkDeclaration(node) {
93
- if (node != null && this.isObjectProperty(node)) {
94
- this.checkDeclaration(node.value);
95
- } else {
96
- super.checkDeclaration(node);
97
- }
98
- }
99
- getObjectOrClassMethodParams(method) {
100
- return method.value.params;
101
- }
102
- isValidDirective(stmt) {
103
- var _stmt$expression$extr;
104
- return stmt.type === "ExpressionStatement" && stmt.expression.type === "Literal" && typeof stmt.expression.value === "string" && !((_stmt$expression$extr = stmt.expression.extra) != null && _stmt$expression$extr.parenthesized);
105
- }
106
- parseBlockBody(node, allowDirectives, topLevel, end, afterBlockParse) {
107
- super.parseBlockBody(node, allowDirectives, topLevel, end, afterBlockParse);
108
- const directiveStatements = node.directives.map(d => this.directiveToStmt(d));
109
- node.body = directiveStatements.concat(node.body);
110
- delete node.directives;
111
- }
112
- pushClassMethod(classBody, method, isGenerator, isAsync, isConstructor, allowsDirectSuper) {
113
- this.parseMethod(method, isGenerator, isAsync, isConstructor, allowsDirectSuper, "ClassMethod", true);
114
- if (method.typeParameters) {
115
- method.value.typeParameters = method.typeParameters;
116
- delete method.typeParameters;
117
- }
118
- classBody.body.push(method);
119
- }
120
- parsePrivateName() {
121
- const node = super.parsePrivateName();
122
- {
123
- if (!this.getPluginOption("estree", "classFeatures")) {
124
- return node;
125
- }
126
- }
127
- return this.convertPrivateNameToPrivateIdentifier(node);
128
- }
129
- convertPrivateNameToPrivateIdentifier(node) {
130
- const name = super.getPrivateNameSV(node);
131
- node = node;
132
- delete node.id;
133
- node.name = name;
134
- node.type = "PrivateIdentifier";
135
- return node;
136
- }
137
- isPrivateName(node) {
138
- {
139
- if (!this.getPluginOption("estree", "classFeatures")) {
140
- return super.isPrivateName(node);
141
- }
142
- }
143
- return node.type === "PrivateIdentifier";
144
- }
145
- getPrivateNameSV(node) {
146
- {
147
- if (!this.getPluginOption("estree", "classFeatures")) {
148
- return super.getPrivateNameSV(node);
149
- }
150
- }
151
- return node.name;
152
- }
153
- parseLiteral(value, type) {
154
- const node = super.parseLiteral(value, type);
155
- node.raw = node.extra.raw;
156
- delete node.extra;
157
- return node;
158
- }
159
- parseFunctionBody(node, allowExpression, isMethod = false) {
160
- super.parseFunctionBody(node, allowExpression, isMethod);
161
- node.expression = node.body.type !== "BlockStatement";
162
- }
163
- parseMethod(node, isGenerator, isAsync, isConstructor, allowDirectSuper, type, inClassScope = false) {
164
- let funcNode = this.startNode();
165
- funcNode.kind = node.kind;
166
- funcNode = super.parseMethod(funcNode, isGenerator, isAsync, isConstructor, allowDirectSuper, type, inClassScope);
167
- funcNode.type = "FunctionExpression";
168
- delete funcNode.kind;
169
- node.value = funcNode;
170
- if (type === "ClassPrivateMethod") {
171
- node.computed = false;
172
- }
173
- return this.finishNode(node, "MethodDefinition");
174
- }
175
- parseClassProperty(...args) {
176
- const propertyNode = super.parseClassProperty(...args);
177
- {
178
- if (!this.getPluginOption("estree", "classFeatures")) {
179
- return propertyNode;
180
- }
181
- }
182
- propertyNode.type = "PropertyDefinition";
183
- return propertyNode;
184
- }
185
- parseClassPrivateProperty(...args) {
186
- const propertyNode = super.parseClassPrivateProperty(...args);
187
- {
188
- if (!this.getPluginOption("estree", "classFeatures")) {
189
- return propertyNode;
190
- }
191
- }
192
- propertyNode.type = "PropertyDefinition";
193
- propertyNode.computed = false;
194
- return propertyNode;
195
- }
196
- parseObjectMethod(prop, isGenerator, isAsync, isPattern, isAccessor) {
197
- const node = super.parseObjectMethod(prop, isGenerator, isAsync, isPattern, isAccessor);
198
- if (node) {
199
- node.type = "Property";
200
- if (node.kind === "method") {
201
- node.kind = "init";
202
- }
203
- node.shorthand = false;
204
- }
205
- return node;
206
- }
207
- parseObjectProperty(prop, startLoc, isPattern, refExpressionErrors) {
208
- const node = super.parseObjectProperty(prop, startLoc, isPattern, refExpressionErrors);
209
- if (node) {
210
- node.kind = "init";
211
- node.type = "Property";
212
- }
213
- return node;
214
- }
215
- isValidLVal(type, isUnparenthesizedInAssign, binding) {
216
- return type === "Property" ? "value" : super.isValidLVal(type, isUnparenthesizedInAssign, binding);
217
- }
218
- isAssignable(node, isBinding) {
219
- if (node != null && this.isObjectProperty(node)) {
220
- return this.isAssignable(node.value, isBinding);
221
- }
222
- return super.isAssignable(node, isBinding);
223
- }
224
- toAssignable(node, isLHS = false) {
225
- if (node != null && this.isObjectProperty(node)) {
226
- const {
227
- key,
228
- value
229
- } = node;
230
- if (this.isPrivateName(key)) {
231
- this.classScope.usePrivateName(this.getPrivateNameSV(key), key.loc.start);
232
- }
233
- this.toAssignable(value, isLHS);
234
- } else {
235
- super.toAssignable(node, isLHS);
236
- }
237
- }
238
- toAssignableObjectExpressionProp(prop, isLast, isLHS) {
239
- if (prop.kind === "get" || prop.kind === "set") {
240
- this.raise(_parseError.Errors.PatternHasAccessor, {
241
- at: prop.key
242
- });
243
- } else if (prop.method) {
244
- this.raise(_parseError.Errors.PatternHasMethod, {
245
- at: prop.key
246
- });
247
- } else {
248
- super.toAssignableObjectExpressionProp(prop, isLast, isLHS);
249
- }
250
- }
251
- finishCallExpression(unfinished, optional) {
252
- const node = super.finishCallExpression(unfinished, optional);
253
- if (node.callee.type === "Import") {
254
- node.type = "ImportExpression";
255
- node.source = node.arguments[0];
256
- if (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) {
257
- var _node$arguments$;
258
- node.attributes = (_node$arguments$ = node.arguments[1]) != null ? _node$arguments$ : null;
259
- }
260
- delete node.arguments;
261
- delete node.callee;
262
- }
263
- return node;
264
- }
265
- toReferencedArguments(node) {
266
- if (node.type === "ImportExpression") {
267
- return;
268
- }
269
- super.toReferencedArguments(node);
270
- }
271
- parseExport(unfinished, decorators) {
272
- const exportStartLoc = this.state.lastTokStartLoc;
273
- const node = super.parseExport(unfinished, decorators);
274
- switch (node.type) {
275
- case "ExportAllDeclaration":
276
- node.exported = null;
277
- break;
278
- case "ExportNamedDeclaration":
279
- if (node.specifiers.length === 1 && node.specifiers[0].type === "ExportNamespaceSpecifier") {
280
- node.type = "ExportAllDeclaration";
281
- node.exported = node.specifiers[0].exported;
282
- delete node.specifiers;
283
- }
284
- case "ExportDefaultDeclaration":
285
- {
286
- var _declaration$decorato;
287
- const {
288
- declaration
289
- } = node;
290
- if ((declaration == null ? void 0 : declaration.type) === "ClassDeclaration" && ((_declaration$decorato = declaration.decorators) == null ? void 0 : _declaration$decorato.length) > 0 && declaration.start === node.start) {
291
- this.resetStartLocation(node, exportStartLoc);
292
- }
293
- }
294
- break;
295
- }
296
- return node;
297
- }
298
- parseSubscript(base, startLoc, noCalls, state) {
299
- const node = super.parseSubscript(base, startLoc, noCalls, state);
300
- if (state.optionalChainMember) {
301
- if (node.type === "OptionalMemberExpression" || node.type === "OptionalCallExpression") {
302
- node.type = node.type.substring(8);
303
- }
304
- if (state.stop) {
305
- const chain = this.startNodeAtNode(node);
306
- chain.expression = node;
307
- return this.finishNode(chain, "ChainExpression");
308
- }
309
- } else if (node.type === "MemberExpression" || node.type === "CallExpression") {
310
- node.optional = false;
311
- }
312
- return node;
313
- }
314
- hasPropertyAsPrivateName(node) {
315
- if (node.type === "ChainExpression") {
316
- node = node.expression;
317
- }
318
- return super.hasPropertyAsPrivateName(node);
319
- }
320
- isObjectProperty(node) {
321
- return node.type === "Property" && node.kind === "init" && !node.method;
322
- }
323
- isObjectMethod(node) {
324
- return node.method || node.kind === "get" || node.kind === "set";
325
- }
326
- finishNodeAt(node, type, endLoc) {
327
- return toESTreeLocation(super.finishNodeAt(node, type, endLoc));
328
- }
329
- resetStartLocation(node, startLoc) {
330
- super.resetStartLocation(node, startLoc);
331
- toESTreeLocation(node);
332
- }
333
- resetEndLocation(node, endLoc = this.state.lastTokEndLoc) {
334
- super.resetEndLocation(node, endLoc);
335
- toESTreeLocation(node);
336
- }
337
- };
338
- exports.default = _default;
339
-
340
- //# sourceMappingURL=estree.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_parseError","require","defineProperty","Object","toUnenumerable","object","key","enumerable","value","toESTreeLocation","node","loc","start","end","_default","superClass","ESTreeParserMixin","parse","file","options","tokens","map","parseRegExpLiteral","pattern","flags","regex","RegExp","e","estreeParseLiteral","parseBigIntLiteral","bigInt","BigInt","_unused","bigint","String","parseDecimalLiteral","decimal","parseLiteral","parseStringLiteral","parseNumericLiteral","parseNullLiteral","parseBooleanLiteral","directiveToStmt","directive","expression","type","raw","extra","expressionValue","stmt","rawValue","initFunction","isAsync","checkDeclaration","isObjectProperty","getObjectOrClassMethodParams","method","params","isValidDirective","_stmt$expression$extr","parenthesized","parseBlockBody","allowDirectives","topLevel","afterBlockParse","directiveStatements","directives","d","body","concat","pushClassMethod","classBody","isGenerator","isConstructor","allowsDirectSuper","parseMethod","typeParameters","push","parsePrivateName","getPluginOption","convertPrivateNameToPrivateIdentifier","name","getPrivateNameSV","id","isPrivateName","parseFunctionBody","allowExpression","isMethod","allowDirectSuper","inClassScope","funcNode","startNode","kind","computed","finishNode","parseClassProperty","args","propertyNode","parseClassPrivateProperty","parseObjectMethod","prop","isPattern","isAccessor","shorthand","parseObjectProperty","startLoc","refExpressionErrors","isValidLVal","isUnparenthesizedInAssign","binding","isAssignable","isBinding","toAssignable","isLHS","classScope","usePrivateName","toAssignableObjectExpressionProp","isLast","raise","Errors","PatternHasAccessor","at","PatternHasMethod","finishCallExpression","unfinished","optional","callee","source","arguments","hasPlugin","_node$arguments$","attributes","toReferencedArguments","parseExport","decorators","exportStartLoc","state","lastTokStartLoc","exported","specifiers","length","_declaration$decorato","declaration","resetStartLocation","parseSubscript","base","noCalls","optionalChainMember","substring","stop","chain","startNodeAtNode","hasPropertyAsPrivateName","isObjectMethod","finishNodeAt","endLoc","resetEndLocation","lastTokEndLoc","exports","default"],"sources":["../../src/plugins/estree.ts"],"sourcesContent":["import type { TokenType } from \"../tokenizer/types\";\nimport type Parser from \"../parser\";\nimport type { ExpressionErrors } from \"../parser/util\";\nimport type * as N from \"../types\";\nimport type { Node as NodeType, NodeBase, File } from \"../types\";\nimport type { Position } from \"../util/location\";\nimport { Errors } from \"../parse-error\";\nimport type { Undone } from \"../parser/node\";\nimport type { BindingTypes } from \"../util/scopeflags\";\n\nconst { defineProperty } = Object;\nconst toUnenumerable = (object: any, key: string) =>\n defineProperty(object, key, { enumerable: false, value: object[key] });\n\nfunction toESTreeLocation(node: any) {\n node.loc.start && toUnenumerable(node.loc.start, \"index\");\n node.loc.end && toUnenumerable(node.loc.end, \"index\");\n\n return node;\n}\n\nexport default (superClass: typeof Parser) =>\n class ESTreeParserMixin extends superClass implements Parser {\n parse(): File {\n const file = toESTreeLocation(super.parse());\n\n if (this.options.tokens) {\n file.tokens = file.tokens.map(toESTreeLocation);\n }\n\n return file;\n }\n\n // @ts-expect-error ESTree plugin changes node types\n parseRegExpLiteral({ pattern, flags }): N.EstreeRegExpLiteral {\n let regex: RegExp | null = null;\n try {\n regex = new RegExp(pattern, flags);\n } catch (e) {\n // In environments that don't support these flags value will\n // be null as the regex can't be represented natively.\n }\n const node = this.estreeParseLiteral<N.EstreeRegExpLiteral>(regex);\n node.regex = { pattern, flags };\n\n return node;\n }\n\n // @ts-expect-error ESTree plugin changes node types\n parseBigIntLiteral(value: any): N.Node {\n // https://github.com/estree/estree/blob/master/es2020.md#bigintliteral\n let bigInt: BigInt | null;\n try {\n bigInt = BigInt(value);\n } catch {\n bigInt = null;\n }\n const node = this.estreeParseLiteral<N.EstreeBigIntLiteral>(bigInt);\n node.bigint = String(node.value || value);\n\n return node;\n }\n\n // @ts-expect-error ESTree plugin changes node types\n parseDecimalLiteral(value: any): N.Node {\n // https://github.com/estree/estree/blob/master/experimental/decimal.md\n // todo: use BigDecimal when node supports it.\n const decimal: null = null;\n const node = this.estreeParseLiteral(decimal);\n node.decimal = String(node.value || value);\n\n return node;\n }\n\n estreeParseLiteral<T extends N.Node>(value: any) {\n // @ts-expect-error ESTree plugin changes node types\n return this.parseLiteral<T>(value, \"Literal\");\n }\n\n // @ts-expect-error ESTree plugin changes node types\n parseStringLiteral(value: any): N.Node {\n return this.estreeParseLiteral(value);\n }\n\n parseNumericLiteral(value: any): any {\n return this.estreeParseLiteral(value);\n }\n\n // @ts-expect-error ESTree plugin changes node types\n parseNullLiteral(): N.Node {\n return this.estreeParseLiteral(null);\n }\n\n parseBooleanLiteral(value: boolean): N.BooleanLiteral {\n return this.estreeParseLiteral(value);\n }\n\n // Cast a Directive to an ExpressionStatement. Mutates the input Directive.\n directiveToStmt(directive: N.Directive): N.ExpressionStatement {\n const expression = directive.value as any as N.EstreeLiteral;\n delete directive.value;\n\n expression.type = \"Literal\";\n // @ts-expect-error N.EstreeLiteral.raw is not defined.\n expression.raw = expression.extra.raw;\n expression.value = expression.extra.expressionValue;\n\n const stmt = directive as any as N.ExpressionStatement;\n stmt.type = \"ExpressionStatement\";\n stmt.expression = expression;\n // @ts-expect-error N.ExpressionStatement.directive is not defined\n stmt.directive = expression.extra.rawValue;\n\n delete expression.extra;\n\n return stmt;\n }\n\n // ==================================\n // Overrides\n // ==================================\n\n initFunction(node: N.BodilessFunctionOrMethodBase, isAsync: boolean): void {\n super.initFunction(node, isAsync);\n node.expression = false;\n }\n\n checkDeclaration(node: N.Pattern | N.ObjectProperty): void {\n if (node != null && this.isObjectProperty(node)) {\n // @ts-expect-error plugin typings\n this.checkDeclaration((node as unknown as N.EstreeProperty).value);\n } else {\n super.checkDeclaration(node);\n }\n }\n\n getObjectOrClassMethodParams(method: N.ObjectMethod | N.ClassMethod) {\n return (method as any as N.EstreeProperty | N.EstreeMethodDefinition)\n .value.params;\n }\n\n isValidDirective(stmt: N.Statement): boolean {\n return (\n stmt.type === \"ExpressionStatement\" &&\n stmt.expression.type === \"Literal\" &&\n typeof stmt.expression.value === \"string\" &&\n !stmt.expression.extra?.parenthesized\n );\n }\n\n parseBlockBody(\n node: N.BlockStatementLike,\n allowDirectives: boolean | undefined | null,\n topLevel: boolean,\n end: TokenType,\n afterBlockParse?: (hasStrictModeDirective: boolean) => void,\n ): void {\n super.parseBlockBody(\n node,\n allowDirectives,\n topLevel,\n end,\n afterBlockParse,\n );\n\n const directiveStatements = node.directives.map(d =>\n this.directiveToStmt(d),\n );\n // @ts-expect-error estree plugin typings\n node.body = directiveStatements.concat(node.body);\n delete node.directives;\n }\n\n pushClassMethod(\n classBody: N.ClassBody,\n method: N.ClassMethod,\n isGenerator: boolean,\n isAsync: boolean,\n isConstructor: boolean,\n allowsDirectSuper: boolean,\n ): void {\n this.parseMethod(\n method,\n isGenerator,\n isAsync,\n isConstructor,\n allowsDirectSuper,\n \"ClassMethod\",\n true,\n );\n if (method.typeParameters) {\n // @ts-expect-error mutate AST types\n method.value.typeParameters = method.typeParameters;\n delete method.typeParameters;\n }\n classBody.body.push(method);\n }\n\n parsePrivateName(): any {\n const node = super.parsePrivateName();\n if (!process.env.BABEL_8_BREAKING) {\n if (!this.getPluginOption(\"estree\", \"classFeatures\")) {\n return node;\n }\n }\n return this.convertPrivateNameToPrivateIdentifier(node);\n }\n\n convertPrivateNameToPrivateIdentifier(\n node: N.PrivateName,\n ): N.EstreePrivateIdentifier {\n const name = super.getPrivateNameSV(node);\n node = node as any;\n delete node.id;\n // @ts-expect-error mutate AST types\n node.name = name;\n // @ts-expect-error mutate AST types\n node.type = \"PrivateIdentifier\";\n return node as unknown as N.EstreePrivateIdentifier;\n }\n\n isPrivateName(node: N.Node): boolean {\n if (!process.env.BABEL_8_BREAKING) {\n if (!this.getPluginOption(\"estree\", \"classFeatures\")) {\n return super.isPrivateName(node);\n }\n }\n return node.type === \"PrivateIdentifier\";\n }\n\n getPrivateNameSV(node: N.Node): string {\n if (!process.env.BABEL_8_BREAKING) {\n if (!this.getPluginOption(\"estree\", \"classFeatures\")) {\n return super.getPrivateNameSV(node);\n }\n }\n return node.name;\n }\n\n // @ts-expect-error plugin may override interfaces\n parseLiteral<T extends N.Literal>(value: any, type: T[\"type\"]): T {\n const node = super.parseLiteral<T>(value, type);\n // @ts-expect-error mutating AST types\n node.raw = node.extra.raw;\n delete node.extra;\n\n return node;\n }\n\n parseFunctionBody(\n node: N.Function,\n allowExpression?: boolean | null,\n isMethod: boolean = false,\n ): void {\n super.parseFunctionBody(node, allowExpression, isMethod);\n node.expression = node.body.type !== \"BlockStatement\";\n }\n\n // @ts-expect-error plugin may override interfaces\n parseMethod<\n T extends N.ClassPrivateMethod | N.ObjectMethod | N.ClassMethod,\n >(\n node: Undone<T>,\n isGenerator: boolean,\n isAsync: boolean,\n isConstructor: boolean,\n allowDirectSuper: boolean,\n type: T[\"type\"],\n inClassScope: boolean = false,\n ): N.EstreeMethodDefinition {\n let funcNode = this.startNode<N.MethodLike>();\n funcNode.kind = node.kind; // provide kind, so super method correctly sets state\n funcNode = super.parseMethod(\n // @ts-expect-error todo(flow->ts)\n funcNode,\n isGenerator,\n isAsync,\n isConstructor,\n allowDirectSuper,\n type,\n inClassScope,\n );\n // @ts-expect-error mutate AST types\n funcNode.type = \"FunctionExpression\";\n delete funcNode.kind;\n // @ts-expect-error mutate AST types\n node.value = funcNode;\n if (type === \"ClassPrivateMethod\") {\n node.computed = false;\n }\n return this.finishNode(\n // @ts-expect-error cast methods to estree types\n node as Undone<N.EstreeMethodDefinition>,\n \"MethodDefinition\",\n );\n }\n\n parseClassProperty(...args: [N.ClassProperty]): any {\n const propertyNode = super.parseClassProperty(...args) as any;\n if (!process.env.BABEL_8_BREAKING) {\n if (!this.getPluginOption(\"estree\", \"classFeatures\")) {\n return propertyNode as N.EstreePropertyDefinition;\n }\n }\n propertyNode.type = \"PropertyDefinition\";\n return propertyNode as N.EstreePropertyDefinition;\n }\n\n parseClassPrivateProperty(...args: [N.ClassPrivateProperty]): any {\n const propertyNode = super.parseClassPrivateProperty(...args) as any;\n if (!process.env.BABEL_8_BREAKING) {\n if (!this.getPluginOption(\"estree\", \"classFeatures\")) {\n return propertyNode as N.EstreePropertyDefinition;\n }\n }\n propertyNode.type = \"PropertyDefinition\";\n propertyNode.computed = false;\n return propertyNode as N.EstreePropertyDefinition;\n }\n\n parseObjectMethod(\n prop: N.ObjectMethod,\n isGenerator: boolean,\n isAsync: boolean,\n isPattern: boolean,\n isAccessor: boolean,\n ): N.ObjectMethod | undefined | null {\n const node: N.EstreeProperty = super.parseObjectMethod(\n prop,\n isGenerator,\n isAsync,\n isPattern,\n isAccessor,\n ) as any;\n\n if (node) {\n node.type = \"Property\";\n if ((node as any as N.ClassMethod).kind === \"method\") {\n node.kind = \"init\";\n }\n node.shorthand = false;\n }\n\n return node as any;\n }\n\n parseObjectProperty(\n prop: N.ObjectProperty,\n startLoc: Position | undefined | null,\n isPattern: boolean,\n refExpressionErrors?: ExpressionErrors | null,\n ): N.ObjectProperty | undefined | null {\n const node: N.EstreeProperty = super.parseObjectProperty(\n prop,\n startLoc,\n isPattern,\n refExpressionErrors,\n ) as any;\n\n if (node) {\n node.kind = \"init\";\n node.type = \"Property\";\n }\n\n return node as any;\n }\n\n isValidLVal(\n type: string,\n isUnparenthesizedInAssign: boolean,\n binding: BindingTypes,\n ) {\n return type === \"Property\"\n ? \"value\"\n : super.isValidLVal(type, isUnparenthesizedInAssign, binding);\n }\n\n isAssignable(node: N.Node, isBinding?: boolean): boolean {\n if (node != null && this.isObjectProperty(node)) {\n return this.isAssignable(node.value, isBinding);\n }\n return super.isAssignable(node, isBinding);\n }\n\n toAssignable(node: N.Node, isLHS: boolean = false): void {\n if (node != null && this.isObjectProperty(node)) {\n const { key, value } = node;\n if (this.isPrivateName(key)) {\n this.classScope.usePrivateName(\n this.getPrivateNameSV(key),\n key.loc.start,\n );\n }\n this.toAssignable(value, isLHS);\n } else {\n super.toAssignable(node, isLHS);\n }\n }\n\n toAssignableObjectExpressionProp(\n prop: N.Node,\n isLast: boolean,\n isLHS: boolean,\n ) {\n if (prop.kind === \"get\" || prop.kind === \"set\") {\n this.raise(Errors.PatternHasAccessor, { at: prop.key });\n } else if (prop.method) {\n this.raise(Errors.PatternHasMethod, { at: prop.key });\n } else {\n super.toAssignableObjectExpressionProp(prop, isLast, isLHS);\n }\n }\n\n finishCallExpression<T extends N.CallExpression | N.OptionalCallExpression>(\n unfinished: Undone<T>,\n optional: boolean,\n ): T {\n const node = super.finishCallExpression(unfinished, optional);\n\n if (node.callee.type === \"Import\") {\n (node as N.Node as N.EstreeImportExpression).type = \"ImportExpression\";\n (node as N.Node as N.EstreeImportExpression).source = node.arguments[0];\n if (\n this.hasPlugin(\"importAttributes\") ||\n this.hasPlugin(\"importAssertions\")\n ) {\n (node as N.Node as N.EstreeImportExpression).attributes =\n node.arguments[1] ?? null;\n }\n // arguments isn't optional in the type definition\n delete node.arguments;\n // callee isn't optional in the type definition\n delete node.callee;\n }\n\n return node;\n }\n\n toReferencedArguments(\n node:\n | N.CallExpression\n | N.OptionalCallExpression\n | N.EstreeImportExpression,\n /* isParenthesizedExpr?: boolean, */\n ) {\n // ImportExpressions do not have an arguments array.\n if (node.type === \"ImportExpression\") {\n return;\n }\n\n super.toReferencedArguments(node);\n }\n\n parseExport(\n unfinished: Undone<N.AnyExport>,\n decorators: N.Decorator[] | null,\n ) {\n const exportStartLoc = this.state.lastTokStartLoc;\n const node = super.parseExport(unfinished, decorators);\n\n switch (node.type) {\n case \"ExportAllDeclaration\":\n // @ts-expect-error mutating AST types\n node.exported = null;\n break;\n\n case \"ExportNamedDeclaration\":\n if (\n node.specifiers.length === 1 &&\n // @ts-expect-error mutating AST types\n node.specifiers[0].type === \"ExportNamespaceSpecifier\"\n ) {\n // @ts-expect-error mutating AST types\n node.type = \"ExportAllDeclaration\";\n // @ts-expect-error mutating AST types\n node.exported = node.specifiers[0].exported;\n delete node.specifiers;\n }\n\n // fallthrough\n case \"ExportDefaultDeclaration\":\n {\n const { declaration } = node;\n if (\n declaration?.type === \"ClassDeclaration\" &&\n declaration.decorators?.length > 0 &&\n // decorator comes before export\n declaration.start === node.start\n ) {\n this.resetStartLocation(\n node,\n // For compatibility with ESLint's keyword-spacing rule, which assumes that an\n // export declaration must start with export.\n // https://github.com/babel/babel/issues/15085\n // Here we reset export declaration's start to be the start of the export token\n exportStartLoc,\n );\n }\n }\n\n break;\n }\n\n return node;\n }\n\n parseSubscript(\n base: N.Expression,\n startLoc: Position,\n noCalls: boolean | undefined | null,\n state: N.ParseSubscriptState,\n ) {\n const node = super.parseSubscript(base, startLoc, noCalls, state);\n\n if (state.optionalChainMember) {\n // https://github.com/estree/estree/blob/master/es2020.md#chainexpression\n if (\n node.type === \"OptionalMemberExpression\" ||\n node.type === \"OptionalCallExpression\"\n ) {\n node.type = node.type.substring(8); // strip Optional prefix\n }\n if (state.stop) {\n const chain = this.startNodeAtNode(node);\n chain.expression = node;\n return this.finishNode(chain, \"ChainExpression\");\n }\n } else if (\n node.type === \"MemberExpression\" ||\n node.type === \"CallExpression\"\n ) {\n node.optional = false;\n }\n\n return node;\n }\n\n hasPropertyAsPrivateName(node: N.Node): boolean {\n if (node.type === \"ChainExpression\") {\n node = node.expression;\n }\n return super.hasPropertyAsPrivateName(node);\n }\n\n // @ts-expect-error override interfaces\n isObjectProperty(node: N.Node): boolean {\n return node.type === \"Property\" && node.kind === \"init\" && !node.method;\n }\n\n isObjectMethod(node: N.Node): boolean {\n return node.method || node.kind === \"get\" || node.kind === \"set\";\n }\n\n finishNodeAt<T extends NodeType>(\n node: Undone<T>,\n type: T[\"type\"],\n endLoc: Position,\n ): T {\n return toESTreeLocation(super.finishNodeAt(node, type, endLoc));\n }\n\n resetStartLocation(node: N.Node, startLoc: Position) {\n super.resetStartLocation(node, startLoc);\n toESTreeLocation(node);\n }\n\n resetEndLocation(\n node: NodeBase,\n endLoc: Position = this.state.lastTokEndLoc,\n ): void {\n super.resetEndLocation(node, endLoc);\n toESTreeLocation(node);\n }\n };\n"],"mappings":";;;;;;AAMA,IAAAA,WAAA,GAAAC,OAAA;AAIA,MAAM;EAAEC;AAAe,CAAC,GAAGC,MAAM;AACjC,MAAMC,cAAc,GAAGA,CAACC,MAAW,EAAEC,GAAW,KAC9CJ,cAAc,CAACG,MAAM,EAAEC,GAAG,EAAE;EAAEC,UAAU,EAAE,KAAK;EAAEC,KAAK,EAAEH,MAAM,CAACC,GAAG;AAAE,CAAC,CAAC;AAExE,SAASG,gBAAgBA,CAACC,IAAS,EAAE;EACnCA,IAAI,CAACC,GAAG,CAACC,KAAK,IAAIR,cAAc,CAACM,IAAI,CAACC,GAAG,CAACC,KAAK,EAAE,OAAO,CAAC;EACzDF,IAAI,CAACC,GAAG,CAACE,GAAG,IAAIT,cAAc,CAACM,IAAI,CAACC,GAAG,CAACE,GAAG,EAAE,OAAO,CAAC;EAErD,OAAOH,IAAI;AACb;AAAC,IAAAI,QAAA,GAEeC,UAAyB,IACvC,MAAMC,iBAAiB,SAASD,UAAU,CAAmB;EAC3DE,KAAKA,CAAA,EAAS;IACZ,MAAMC,IAAI,GAAGT,gBAAgB,CAAC,KAAK,CAACQ,KAAK,CAAC,CAAC,CAAC;IAE5C,IAAI,IAAI,CAACE,OAAO,CAACC,MAAM,EAAE;MACvBF,IAAI,CAACE,MAAM,GAAGF,IAAI,CAACE,MAAM,CAACC,GAAG,CAACZ,gBAAgB,CAAC;IACjD;IAEA,OAAOS,IAAI;EACb;EAGAI,kBAAkBA,CAAC;IAAEC,OAAO;IAAEC;EAAM,CAAC,EAAyB;IAC5D,IAAIC,KAAoB,GAAG,IAAI;IAC/B,IAAI;MACFA,KAAK,GAAG,IAAIC,MAAM,CAACH,OAAO,EAAEC,KAAK,CAAC;IACpC,CAAC,CAAC,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