create-packer 1.34.9 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1674) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
  3. package/template/web-app/react-rspack/.env +2 -0
  4. package/template/web-app/react-rspack/.env.development +2 -0
  5. package/template/web-app/react-rspack/.eslintrc +120 -0
  6. package/template/web-app/react-rspack/README.md +14 -0
  7. package/template/web-app/react-rspack/domain/router/router.tsx +28 -0
  8. package/template/web-app/react-rspack/env.d.ts +17 -0
  9. package/template/web-app/react-rspack/index.html +12 -0
  10. package/template/web-app/react-rspack/package.json +83 -0
  11. package/template/web-app/react-rspack/public/rsbuild-logo.svg +1 -0
  12. package/template/web-app/react-rspack/rsbuild.config.ts +78 -0
  13. package/template/web-app/react-rspack/shared/service/home.ts +8 -0
  14. package/template/web-app/react-rspack/shared/service/request.ts +5 -0
  15. package/template/web-app/react-rspack/tsconfig.node.json +14 -0
  16. package/template/web-app/react-vite/.editorconfig +14 -0
  17. package/template/web-app/react-vite/.eslintignore +4 -0
  18. package/template/web-app/react-vite/.gitignore +28 -0
  19. package/template/web-app/react-vite/.husky/commit-msg +4 -0
  20. package/template/web-app/react-vite/.husky/pre-commit +4 -0
  21. package/template/web-app/react-vite/.prettierignore +6 -0
  22. package/template/web-app/react-vite/.prettierrc +12 -0
  23. package/template/web-app/react-vite/.stylelintignore +4 -0
  24. package/template/web-app/react-vite/.stylelintrc +24 -0
  25. package/template/web-app/react-vite/.vscode/extensions.json +8 -0
  26. package/template/web-app/react-vite/.vscode/settings.json +18 -0
  27. package/template/web-app/react-vite/commitlint.config.cjs +1 -0
  28. package/template/web-app/react-vite/domain/app/app.model.ts +7 -0
  29. package/template/web-app/react-vite/domain/app/app.styled.ts +3 -0
  30. package/template/web-app/react-vite/domain/app/components/app-context.tsx +17 -0
  31. package/template/web-app/react-vite/domain/app/components/app.tsx +24 -0
  32. package/template/web-app/react-vite/domain/app/components/index.ts +1 -0
  33. package/template/web-app/react-vite/domain/app/index.ts +2 -0
  34. package/template/web-app/react-vite/domain/router/home/ids.ts +3 -0
  35. package/template/web-app/react-vite/domain/router/home/index.ts +2 -0
  36. package/template/web-app/react-vite/domain/router/home/routes.tsx +13 -0
  37. package/template/web-app/react-vite/domain/router/ids.ts +6 -0
  38. package/template/web-app/react-vite/domain/router/index.ts +3 -0
  39. package/template/web-app/react-vite/domain/router/router.types.ts +3 -0
  40. package/template/web-app/react-vite/main.tsx +4 -0
  41. package/template/web-app/react-vite/pages/home/home.styled.ts +7 -0
  42. package/template/web-app/react-vite/pages/home/home.tsx +10 -0
  43. package/template/web-app/react-vite/pages/home/index.ts +1 -0
  44. package/template/web-app/react-vite/pages/index.tsx +18 -0
  45. package/template/web-app/react-vite/pages/not-found.tsx +3 -0
  46. package/template/web-app/react-vite/postcss.config.cjs +7 -0
  47. package/template/web-app/react-vite/scripts/createChunks.ts +26 -0
  48. package/template/web-app/react-vite/scripts/index.ts +1 -0
  49. package/template/web-app/react-vite/shared/assets/react.svg +1 -0
  50. package/template/web-app/react-vite/shared/components/index.ts +0 -0
  51. package/template/web-app/react-vite/shared/constant/index.ts +0 -0
  52. package/template/web-app/react-vite/shared/hooks/defineRouter/defineRouter.types.ts +33 -0
  53. package/template/web-app/react-vite/shared/hooks/defineRouter/deineRouter.tsx +160 -0
  54. package/template/web-app/react-vite/shared/hooks/defineRouter/index.ts +2 -0
  55. package/template/web-app/react-vite/shared/hooks/index.ts +6 -0
  56. package/template/web-app/react-vite/shared/hooks/useInterval.ts +26 -0
  57. package/template/web-app/react-vite/shared/hooks/useLoadingAction.ts +27 -0
  58. package/template/web-app/react-vite/shared/hooks/useLowPriorityState.ts +26 -0
  59. package/template/web-app/react-vite/shared/hooks/useSyncState.ts +15 -0
  60. package/template/web-app/react-vite/shared/hooks/useVisible.ts +27 -0
  61. package/template/web-app/react-vite/shared/service/api.ts +1 -0
  62. package/template/web-app/react-vite/shared/service/index.ts +3 -0
  63. package/template/web-app/react-vite/shared/theme/index.ts +1 -0
  64. package/template/web-app/react-vite/shared/theme/theme.styled.ts +56 -0
  65. package/template/web-app/react-vite/shared/tools/componentInstance.tsx +80 -0
  66. package/template/web-app/react-vite/shared/tools/index.ts +1 -0
  67. package/template/web-app/react-vite/shared/types/index.ts +1 -0
  68. package/template/web-app/react-vite/shared/types/utils.ts +2 -0
  69. package/template/web-app/react-vite/tsconfig.json +44 -0
  70. package/template/web-app/react-webpack/webpack.config.mjs +4 -5
  71. package/template/lib/react/node_modules/.bin/acorn +0 -17
  72. package/template/lib/react/node_modules/.bin/acorn.CMD +0 -12
  73. package/template/lib/react/node_modules/.bin/acorn.ps1 +0 -41
  74. package/template/lib/react/node_modules/.bin/browserslist +0 -17
  75. package/template/lib/react/node_modules/.bin/browserslist.CMD +0 -12
  76. package/template/lib/react/node_modules/.bin/browserslist.ps1 +0 -41
  77. package/template/lib/react/node_modules/.bin/esbuild +0 -17
  78. package/template/lib/react/node_modules/.bin/esbuild.CMD +0 -12
  79. package/template/lib/react/node_modules/.bin/esbuild.ps1 +0 -41
  80. package/template/lib/react/node_modules/.bin/eslint +0 -17
  81. package/template/lib/react/node_modules/.bin/eslint.CMD +0 -12
  82. package/template/lib/react/node_modules/.bin/eslint.ps1 +0 -41
  83. package/template/lib/react/node_modules/.bin/prettier +0 -17
  84. package/template/lib/react/node_modules/.bin/prettier.CMD +0 -12
  85. package/template/lib/react/node_modules/.bin/prettier.ps1 +0 -41
  86. package/template/lib/react/node_modules/.bin/sb +0 -17
  87. package/template/lib/react/node_modules/.bin/sb.CMD +0 -12
  88. package/template/lib/react/node_modules/.bin/sb.ps1 +0 -41
  89. package/template/lib/react/node_modules/.bin/storybook +0 -17
  90. package/template/lib/react/node_modules/.bin/storybook.CMD +0 -12
  91. package/template/lib/react/node_modules/.bin/storybook.ps1 +0 -41
  92. package/template/lib/react/node_modules/.bin/stylelint +0 -17
  93. package/template/lib/react/node_modules/.bin/stylelint.CMD +0 -12
  94. package/template/lib/react/node_modules/.bin/stylelint.ps1 +0 -41
  95. package/template/lib/react/node_modules/.bin/tsc +0 -17
  96. package/template/lib/react/node_modules/.bin/tsc.CMD +0 -12
  97. package/template/lib/react/node_modules/.bin/tsc.ps1 +0 -41
  98. package/template/lib/react/node_modules/.bin/tsserver +0 -17
  99. package/template/lib/react/node_modules/.bin/tsserver.CMD +0 -12
  100. package/template/lib/react/node_modules/.bin/tsserver.ps1 +0 -41
  101. package/template/lib/react/node_modules/.bin/vite +0 -17
  102. package/template/lib/react/node_modules/.bin/vite.CMD +0 -12
  103. package/template/lib/react/node_modules/.bin/vite.ps1 +0 -41
  104. package/template/lib/react/node_modules/eslint/LICENSE +0 -19
  105. package/template/lib/react/node_modules/eslint/README.md +0 -304
  106. package/template/lib/react/node_modules/eslint/bin/eslint.js +0 -173
  107. package/template/lib/react/node_modules/eslint/conf/config-schema.js +0 -93
  108. package/template/lib/react/node_modules/eslint/conf/default-cli-options.js +0 -32
  109. package/template/lib/react/node_modules/eslint/conf/globals.js +0 -154
  110. package/template/lib/react/node_modules/eslint/conf/replacements.json +0 -22
  111. package/template/lib/react/node_modules/eslint/conf/rule-type-list.json +0 -28
  112. package/template/lib/react/node_modules/eslint/lib/api.js +0 -26
  113. package/template/lib/react/node_modules/eslint/lib/cli-engine/cli-engine.js +0 -1078
  114. package/template/lib/react/node_modules/eslint/lib/cli-engine/file-enumerator.js +0 -547
  115. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
  116. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
  117. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +0 -46
  118. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/html.js +0 -351
  119. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
  120. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +0 -16
  121. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/json.js +0 -13
  122. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
  123. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/stylish.js +0 -101
  124. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
  125. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
  126. package/template/lib/react/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
  127. package/template/lib/react/node_modules/eslint/lib/cli-engine/hash.js +0 -35
  128. package/template/lib/react/node_modules/eslint/lib/cli-engine/index.js +0 -7
  129. package/template/lib/react/node_modules/eslint/lib/cli-engine/lint-result-cache.js +0 -203
  130. package/template/lib/react/node_modules/eslint/lib/cli-engine/load-rules.js +0 -46
  131. package/template/lib/react/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
  132. package/template/lib/react/node_modules/eslint/lib/cli.js +0 -471
  133. package/template/lib/react/node_modules/eslint/lib/config/default-config.js +0 -67
  134. package/template/lib/react/node_modules/eslint/lib/config/flat-config-array.js +0 -274
  135. package/template/lib/react/node_modules/eslint/lib/config/flat-config-helpers.js +0 -111
  136. package/template/lib/react/node_modules/eslint/lib/config/flat-config-schema.js +0 -583
  137. package/template/lib/react/node_modules/eslint/lib/config/rule-validator.js +0 -158
  138. package/template/lib/react/node_modules/eslint/lib/eslint/eslint-helpers.js +0 -902
  139. package/template/lib/react/node_modules/eslint/lib/eslint/eslint.js +0 -700
  140. package/template/lib/react/node_modules/eslint/lib/eslint/flat-eslint.js +0 -1142
  141. package/template/lib/react/node_modules/eslint/lib/eslint/index.js +0 -9
  142. package/template/lib/react/node_modules/eslint/lib/linter/apply-disable-directives.js +0 -465
  143. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -852
  144. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +0 -263
  145. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +0 -2348
  146. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +0 -342
  147. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +0 -203
  148. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +0 -349
  149. package/template/lib/react/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +0 -45
  150. package/template/lib/react/node_modules/eslint/lib/linter/config-comment-parser.js +0 -185
  151. package/template/lib/react/node_modules/eslint/lib/linter/index.js +0 -13
  152. package/template/lib/react/node_modules/eslint/lib/linter/interpolate.js +0 -28
  153. package/template/lib/react/node_modules/eslint/lib/linter/linter.js +0 -2119
  154. package/template/lib/react/node_modules/eslint/lib/linter/node-event-generator.js +0 -354
  155. package/template/lib/react/node_modules/eslint/lib/linter/report-translator.js +0 -369
  156. package/template/lib/react/node_modules/eslint/lib/linter/rule-fixer.js +0 -140
  157. package/template/lib/react/node_modules/eslint/lib/linter/rules.js +0 -80
  158. package/template/lib/react/node_modules/eslint/lib/linter/safe-emitter.js +0 -52
  159. package/template/lib/react/node_modules/eslint/lib/linter/source-code-fixer.js +0 -152
  160. package/template/lib/react/node_modules/eslint/lib/linter/timing.js +0 -161
  161. package/template/lib/react/node_modules/eslint/lib/options.js +0 -398
  162. package/template/lib/react/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1122
  163. package/template/lib/react/node_modules/eslint/lib/rule-tester/index.js +0 -5
  164. package/template/lib/react/node_modules/eslint/lib/rule-tester/rule-tester.js +0 -1206
  165. package/template/lib/react/node_modules/eslint/lib/rules/accessor-pairs.js +0 -346
  166. package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-newline.js +0 -261
  167. package/template/lib/react/node_modules/eslint/lib/rules/array-bracket-spacing.js +0 -244
  168. package/template/lib/react/node_modules/eslint/lib/rules/array-callback-return.js +0 -446
  169. package/template/lib/react/node_modules/eslint/lib/rules/array-element-newline.js +0 -311
  170. package/template/lib/react/node_modules/eslint/lib/rules/arrow-body-style.js +0 -296
  171. package/template/lib/react/node_modules/eslint/lib/rules/arrow-parens.js +0 -186
  172. package/template/lib/react/node_modules/eslint/lib/rules/arrow-spacing.js +0 -164
  173. package/template/lib/react/node_modules/eslint/lib/rules/block-scoped-var.js +0 -135
  174. package/template/lib/react/node_modules/eslint/lib/rules/block-spacing.js +0 -174
  175. package/template/lib/react/node_modules/eslint/lib/rules/brace-style.js +0 -197
  176. package/template/lib/react/node_modules/eslint/lib/rules/callback-return.js +0 -187
  177. package/template/lib/react/node_modules/eslint/lib/rules/camelcase.js +0 -399
  178. package/template/lib/react/node_modules/eslint/lib/rules/capitalized-comments.js +0 -300
  179. package/template/lib/react/node_modules/eslint/lib/rules/class-methods-use-this.js +0 -187
  180. package/template/lib/react/node_modules/eslint/lib/rules/comma-dangle.js +0 -373
  181. package/template/lib/react/node_modules/eslint/lib/rules/comma-spacing.js +0 -192
  182. package/template/lib/react/node_modules/eslint/lib/rules/comma-style.js +0 -314
  183. package/template/lib/react/node_modules/eslint/lib/rules/complexity.js +0 -165
  184. package/template/lib/react/node_modules/eslint/lib/rules/computed-property-spacing.js +0 -208
  185. package/template/lib/react/node_modules/eslint/lib/rules/consistent-return.js +0 -210
  186. package/template/lib/react/node_modules/eslint/lib/rules/consistent-this.js +0 -153
  187. package/template/lib/react/node_modules/eslint/lib/rules/constructor-super.js +0 -446
  188. package/template/lib/react/node_modules/eslint/lib/rules/curly.js +0 -486
  189. package/template/lib/react/node_modules/eslint/lib/rules/default-case-last.js +0 -44
  190. package/template/lib/react/node_modules/eslint/lib/rules/default-case.js +0 -97
  191. package/template/lib/react/node_modules/eslint/lib/rules/default-param-last.js +0 -62
  192. package/template/lib/react/node_modules/eslint/lib/rules/dot-location.js +0 -108
  193. package/template/lib/react/node_modules/eslint/lib/rules/dot-notation.js +0 -176
  194. package/template/lib/react/node_modules/eslint/lib/rules/eol-last.js +0 -115
  195. package/template/lib/react/node_modules/eslint/lib/rules/eqeqeq.js +0 -174
  196. package/template/lib/react/node_modules/eslint/lib/rules/for-direction.js +0 -140
  197. package/template/lib/react/node_modules/eslint/lib/rules/func-call-spacing.js +0 -233
  198. package/template/lib/react/node_modules/eslint/lib/rules/func-name-matching.js +0 -253
  199. package/template/lib/react/node_modules/eslint/lib/rules/func-names.js +0 -191
  200. package/template/lib/react/node_modules/eslint/lib/rules/func-style.js +0 -98
  201. package/template/lib/react/node_modules/eslint/lib/rules/function-call-argument-newline.js +0 -125
  202. package/template/lib/react/node_modules/eslint/lib/rules/function-paren-newline.js +0 -292
  203. package/template/lib/react/node_modules/eslint/lib/rules/generator-star-spacing.js +0 -209
  204. package/template/lib/react/node_modules/eslint/lib/rules/getter-return.js +0 -204
  205. package/template/lib/react/node_modules/eslint/lib/rules/global-require.js +0 -90
  206. package/template/lib/react/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +0 -215
  207. package/template/lib/react/node_modules/eslint/lib/rules/guard-for-in.js +0 -76
  208. package/template/lib/react/node_modules/eslint/lib/rules/handle-callback-err.js +0 -101
  209. package/template/lib/react/node_modules/eslint/lib/rules/id-blacklist.js +0 -246
  210. package/template/lib/react/node_modules/eslint/lib/rules/id-denylist.js +0 -228
  211. package/template/lib/react/node_modules/eslint/lib/rules/id-length.js +0 -177
  212. package/template/lib/react/node_modules/eslint/lib/rules/id-match.js +0 -299
  213. package/template/lib/react/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +0 -84
  214. package/template/lib/react/node_modules/eslint/lib/rules/indent-legacy.js +0 -1126
  215. package/template/lib/react/node_modules/eslint/lib/rules/indent.js +0 -1803
  216. package/template/lib/react/node_modules/eslint/lib/rules/index.js +0 -306
  217. package/template/lib/react/node_modules/eslint/lib/rules/init-declarations.js +0 -139
  218. package/template/lib/react/node_modules/eslint/lib/rules/jsx-quotes.js +0 -98
  219. package/template/lib/react/node_modules/eslint/lib/rules/key-spacing.js +0 -687
  220. package/template/lib/react/node_modules/eslint/lib/rules/keyword-spacing.js +0 -640
  221. package/template/lib/react/node_modules/eslint/lib/rules/line-comment-position.js +0 -122
  222. package/template/lib/react/node_modules/eslint/lib/rules/linebreak-style.js +0 -108
  223. package/template/lib/react/node_modules/eslint/lib/rules/lines-around-comment.js +0 -471
  224. package/template/lib/react/node_modules/eslint/lib/rules/lines-around-directive.js +0 -201
  225. package/template/lib/react/node_modules/eslint/lib/rules/lines-between-class-members.js +0 -269
  226. package/template/lib/react/node_modules/eslint/lib/rules/logical-assignment-operators.js +0 -504
  227. package/template/lib/react/node_modules/eslint/lib/rules/max-classes-per-file.js +0 -89
  228. package/template/lib/react/node_modules/eslint/lib/rules/max-depth.js +0 -156
  229. package/template/lib/react/node_modules/eslint/lib/rules/max-len.js +0 -440
  230. package/template/lib/react/node_modules/eslint/lib/rules/max-lines-per-function.js +0 -213
  231. package/template/lib/react/node_modules/eslint/lib/rules/max-lines.js +0 -193
  232. package/template/lib/react/node_modules/eslint/lib/rules/max-nested-callbacks.js +0 -117
  233. package/template/lib/react/node_modules/eslint/lib/rules/max-params.js +0 -102
  234. package/template/lib/react/node_modules/eslint/lib/rules/max-statements-per-line.js +0 -199
  235. package/template/lib/react/node_modules/eslint/lib/rules/max-statements.js +0 -184
  236. package/template/lib/react/node_modules/eslint/lib/rules/multiline-comment-style.js +0 -474
  237. package/template/lib/react/node_modules/eslint/lib/rules/multiline-ternary.js +0 -174
  238. package/template/lib/react/node_modules/eslint/lib/rules/new-cap.js +0 -276
  239. package/template/lib/react/node_modules/eslint/lib/rules/new-parens.js +0 -93
  240. package/template/lib/react/node_modules/eslint/lib/rules/newline-after-var.js +0 -253
  241. package/template/lib/react/node_modules/eslint/lib/rules/newline-before-return.js +0 -217
  242. package/template/lib/react/node_modules/eslint/lib/rules/newline-per-chained-call.js +0 -126
  243. package/template/lib/react/node_modules/eslint/lib/rules/no-alert.js +0 -138
  244. package/template/lib/react/node_modules/eslint/lib/rules/no-array-constructor.js +0 -133
  245. package/template/lib/react/node_modules/eslint/lib/rules/no-async-promise-executor.js +0 -39
  246. package/template/lib/react/node_modules/eslint/lib/rules/no-await-in-loop.js +0 -106
  247. package/template/lib/react/node_modules/eslint/lib/rules/no-bitwise.js +0 -119
  248. package/template/lib/react/node_modules/eslint/lib/rules/no-buffer-constructor.js +0 -50
  249. package/template/lib/react/node_modules/eslint/lib/rules/no-caller.js +0 -46
  250. package/template/lib/react/node_modules/eslint/lib/rules/no-case-declarations.js +0 -64
  251. package/template/lib/react/node_modules/eslint/lib/rules/no-catch-shadow.js +0 -82
  252. package/template/lib/react/node_modules/eslint/lib/rules/no-class-assign.js +0 -63
  253. package/template/lib/react/node_modules/eslint/lib/rules/no-compare-neg-zero.js +0 -60
  254. package/template/lib/react/node_modules/eslint/lib/rules/no-cond-assign.js +0 -159
  255. package/template/lib/react/node_modules/eslint/lib/rules/no-confusing-arrow.js +0 -92
  256. package/template/lib/react/node_modules/eslint/lib/rules/no-console.js +0 -207
  257. package/template/lib/react/node_modules/eslint/lib/rules/no-const-assign.js +0 -56
  258. package/template/lib/react/node_modules/eslint/lib/rules/no-constant-binary-expression.js +0 -509
  259. package/template/lib/react/node_modules/eslint/lib/rules/no-constant-condition.js +0 -150
  260. package/template/lib/react/node_modules/eslint/lib/rules/no-constructor-return.js +0 -62
  261. package/template/lib/react/node_modules/eslint/lib/rules/no-continue.js +0 -39
  262. package/template/lib/react/node_modules/eslint/lib/rules/no-control-regex.js +0 -138
  263. package/template/lib/react/node_modules/eslint/lib/rules/no-debugger.js +0 -43
  264. package/template/lib/react/node_modules/eslint/lib/rules/no-delete-var.js +0 -42
  265. package/template/lib/react/node_modules/eslint/lib/rules/no-div-regex.js +0 -53
  266. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-args.js +0 -82
  267. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-class-members.js +0 -104
  268. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-else-if.js +0 -122
  269. package/template/lib/react/node_modules/eslint/lib/rules/no-dupe-keys.js +0 -142
  270. package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-case.js +0 -71
  271. package/template/lib/react/node_modules/eslint/lib/rules/no-duplicate-imports.js +0 -290
  272. package/template/lib/react/node_modules/eslint/lib/rules/no-else-return.js +0 -405
  273. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-character-class.js +0 -76
  274. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-function.js +0 -167
  275. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-pattern.js +0 -78
  276. package/template/lib/react/node_modules/eslint/lib/rules/no-empty-static-block.js +0 -47
  277. package/template/lib/react/node_modules/eslint/lib/rules/no-empty.js +0 -103
  278. package/template/lib/react/node_modules/eslint/lib/rules/no-eq-null.js +0 -46
  279. package/template/lib/react/node_modules/eslint/lib/rules/no-eval.js +0 -286
  280. package/template/lib/react/node_modules/eslint/lib/rules/no-ex-assign.js +0 -54
  281. package/template/lib/react/node_modules/eslint/lib/rules/no-extend-native.js +0 -179
  282. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-bind.js +0 -213
  283. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +0 -317
  284. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-label.js +0 -149
  285. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-parens.js +0 -1322
  286. package/template/lib/react/node_modules/eslint/lib/rules/no-extra-semi.js +0 -147
  287. package/template/lib/react/node_modules/eslint/lib/rules/no-fallthrough.js +0 -196
  288. package/template/lib/react/node_modules/eslint/lib/rules/no-floating-decimal.js +0 -73
  289. package/template/lib/react/node_modules/eslint/lib/rules/no-func-assign.js +0 -78
  290. package/template/lib/react/node_modules/eslint/lib/rules/no-global-assign.js +0 -95
  291. package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-coercion.js +0 -380
  292. package/template/lib/react/node_modules/eslint/lib/rules/no-implicit-globals.js +0 -146
  293. package/template/lib/react/node_modules/eslint/lib/rules/no-implied-eval.js +0 -132
  294. package/template/lib/react/node_modules/eslint/lib/rules/no-import-assign.js +0 -241
  295. package/template/lib/react/node_modules/eslint/lib/rules/no-inline-comments.js +0 -110
  296. package/template/lib/react/node_modules/eslint/lib/rules/no-inner-declarations.js +0 -110
  297. package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-regexp.js +0 -194
  298. package/template/lib/react/node_modules/eslint/lib/rules/no-invalid-this.js +0 -150
  299. package/template/lib/react/node_modules/eslint/lib/rules/no-irregular-whitespace.js +0 -276
  300. package/template/lib/react/node_modules/eslint/lib/rules/no-iterator.js +0 -52
  301. package/template/lib/react/node_modules/eslint/lib/rules/no-label-var.js +0 -80
  302. package/template/lib/react/node_modules/eslint/lib/rules/no-labels.js +0 -149
  303. package/template/lib/react/node_modules/eslint/lib/rules/no-lone-blocks.js +0 -136
  304. package/template/lib/react/node_modules/eslint/lib/rules/no-lonely-if.js +0 -88
  305. package/template/lib/react/node_modules/eslint/lib/rules/no-loop-func.js +0 -206
  306. package/template/lib/react/node_modules/eslint/lib/rules/no-loss-of-precision.js +0 -214
  307. package/template/lib/react/node_modules/eslint/lib/rules/no-magic-numbers.js +0 -243
  308. package/template/lib/react/node_modules/eslint/lib/rules/no-misleading-character-class.js +0 -300
  309. package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-operators.js +0 -229
  310. package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-requires.js +0 -238
  311. package/template/lib/react/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +0 -116
  312. package/template/lib/react/node_modules/eslint/lib/rules/no-multi-assign.js +0 -67
  313. package/template/lib/react/node_modules/eslint/lib/rules/no-multi-spaces.js +0 -141
  314. package/template/lib/react/node_modules/eslint/lib/rules/no-multi-str.js +0 -65
  315. package/template/lib/react/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +0 -154
  316. package/template/lib/react/node_modules/eslint/lib/rules/no-native-reassign.js +0 -98
  317. package/template/lib/react/node_modules/eslint/lib/rules/no-negated-condition.js +0 -95
  318. package/template/lib/react/node_modules/eslint/lib/rules/no-negated-in-lhs.js +0 -46
  319. package/template/lib/react/node_modules/eslint/lib/rules/no-nested-ternary.js +0 -44
  320. package/template/lib/react/node_modules/eslint/lib/rules/no-new-func.js +0 -87
  321. package/template/lib/react/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +0 -66
  322. package/template/lib/react/node_modules/eslint/lib/rules/no-new-object.js +0 -67
  323. package/template/lib/react/node_modules/eslint/lib/rules/no-new-require.js +0 -50
  324. package/template/lib/react/node_modules/eslint/lib/rules/no-new-symbol.js +0 -56
  325. package/template/lib/react/node_modules/eslint/lib/rules/no-new-wrappers.js +0 -60
  326. package/template/lib/react/node_modules/eslint/lib/rules/no-new.js +0 -43
  327. package/template/lib/react/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +0 -148
  328. package/template/lib/react/node_modules/eslint/lib/rules/no-obj-calls.js +0 -86
  329. package/template/lib/react/node_modules/eslint/lib/rules/no-object-constructor.js +0 -117
  330. package/template/lib/react/node_modules/eslint/lib/rules/no-octal-escape.js +0 -56
  331. package/template/lib/react/node_modules/eslint/lib/rules/no-octal.js +0 -45
  332. package/template/lib/react/node_modules/eslint/lib/rules/no-param-reassign.js +0 -230
  333. package/template/lib/react/node_modules/eslint/lib/rules/no-path-concat.js +0 -64
  334. package/template/lib/react/node_modules/eslint/lib/rules/no-plusplus.js +0 -105
  335. package/template/lib/react/node_modules/eslint/lib/rules/no-process-env.js +0 -51
  336. package/template/lib/react/node_modules/eslint/lib/rules/no-process-exit.js +0 -47
  337. package/template/lib/react/node_modules/eslint/lib/rules/no-promise-executor-return.js +0 -263
  338. package/template/lib/react/node_modules/eslint/lib/rules/no-proto.js +0 -48
  339. package/template/lib/react/node_modules/eslint/lib/rules/no-prototype-builtins.js +0 -159
  340. package/template/lib/react/node_modules/eslint/lib/rules/no-redeclare.js +0 -174
  341. package/template/lib/react/node_modules/eslint/lib/rules/no-regex-spaces.js +0 -197
  342. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-exports.js +0 -193
  343. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-globals.js +0 -124
  344. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-imports.js +0 -410
  345. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-modules.js +0 -213
  346. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-properties.js +0 -168
  347. package/template/lib/react/node_modules/eslint/lib/rules/no-restricted-syntax.js +0 -70
  348. package/template/lib/react/node_modules/eslint/lib/rules/no-return-assign.js +0 -80
  349. package/template/lib/react/node_modules/eslint/lib/rules/no-return-await.js +0 -135
  350. package/template/lib/react/node_modules/eslint/lib/rules/no-script-url.js +0 -61
  351. package/template/lib/react/node_modules/eslint/lib/rules/no-self-assign.js +0 -183
  352. package/template/lib/react/node_modules/eslint/lib/rules/no-self-compare.js +0 -60
  353. package/template/lib/react/node_modules/eslint/lib/rules/no-sequences.js +0 -138
  354. package/template/lib/react/node_modules/eslint/lib/rules/no-setter-return.js +0 -226
  355. package/template/lib/react/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +0 -65
  356. package/template/lib/react/node_modules/eslint/lib/rules/no-shadow.js +0 -336
  357. package/template/lib/react/node_modules/eslint/lib/rules/no-spaced-func.js +0 -83
  358. package/template/lib/react/node_modules/eslint/lib/rules/no-sparse-arrays.js +0 -50
  359. package/template/lib/react/node_modules/eslint/lib/rules/no-sync.js +0 -64
  360. package/template/lib/react/node_modules/eslint/lib/rules/no-tabs.js +0 -81
  361. package/template/lib/react/node_modules/eslint/lib/rules/no-template-curly-in-string.js +0 -44
  362. package/template/lib/react/node_modules/eslint/lib/rules/no-ternary.js +0 -41
  363. package/template/lib/react/node_modules/eslint/lib/rules/no-this-before-super.js +0 -331
  364. package/template/lib/react/node_modules/eslint/lib/rules/no-throw-literal.js +0 -51
  365. package/template/lib/react/node_modules/eslint/lib/rules/no-trailing-spaces.js +0 -193
  366. package/template/lib/react/node_modules/eslint/lib/rules/no-undef-init.js +0 -75
  367. package/template/lib/react/node_modules/eslint/lib/rules/no-undef.js +0 -79
  368. package/template/lib/react/node_modules/eslint/lib/rules/no-undefined.js +0 -86
  369. package/template/lib/react/node_modules/eslint/lib/rules/no-underscore-dangle.js +0 -335
  370. package/template/lib/react/node_modules/eslint/lib/rules/no-unexpected-multiline.js +0 -120
  371. package/template/lib/react/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +0 -360
  372. package/template/lib/react/node_modules/eslint/lib/rules/no-unneeded-ternary.js +0 -166
  373. package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable-loop.js +0 -185
  374. package/template/lib/react/node_modules/eslint/lib/rules/no-unreachable.js +0 -293
  375. package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-finally.js +0 -111
  376. package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-negation.js +0 -128
  377. package/template/lib/react/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +0 -205
  378. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-expressions.js +0 -186
  379. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-labels.js +0 -143
  380. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-private-class-members.js +0 -195
  381. package/template/lib/react/node_modules/eslint/lib/rules/no-unused-vars.js +0 -718
  382. package/template/lib/react/node_modules/eslint/lib/rules/no-use-before-define.js +0 -348
  383. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-backreference.js +0 -194
  384. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-call.js +0 -90
  385. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-catch.js +0 -57
  386. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-computed-key.js +0 -168
  387. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-concat.js +0 -115
  388. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-constructor.js +0 -189
  389. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-escape.js +0 -333
  390. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-rename.js +0 -172
  391. package/template/lib/react/node_modules/eslint/lib/rules/no-useless-return.js +0 -364
  392. package/template/lib/react/node_modules/eslint/lib/rules/no-var.js +0 -334
  393. package/template/lib/react/node_modules/eslint/lib/rules/no-void.js +0 -64
  394. package/template/lib/react/node_modules/eslint/lib/rules/no-warning-comments.js +0 -201
  395. package/template/lib/react/node_modules/eslint/lib/rules/no-whitespace-before-property.js +0 -116
  396. package/template/lib/react/node_modules/eslint/lib/rules/no-with.js +0 -39
  397. package/template/lib/react/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +0 -127
  398. package/template/lib/react/node_modules/eslint/lib/rules/object-curly-newline.js +0 -324
  399. package/template/lib/react/node_modules/eslint/lib/rules/object-curly-spacing.js +0 -311
  400. package/template/lib/react/node_modules/eslint/lib/rules/object-property-newline.js +0 -102
  401. package/template/lib/react/node_modules/eslint/lib/rules/object-shorthand.js +0 -520
  402. package/template/lib/react/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +0 -95
  403. package/template/lib/react/node_modules/eslint/lib/rules/one-var.js +0 -567
  404. package/template/lib/react/node_modules/eslint/lib/rules/operator-assignment.js +0 -209
  405. package/template/lib/react/node_modules/eslint/lib/rules/operator-linebreak.js +0 -253
  406. package/template/lib/react/node_modules/eslint/lib/rules/padded-blocks.js +0 -310
  407. package/template/lib/react/node_modules/eslint/lib/rules/padding-line-between-statements.js +0 -590
  408. package/template/lib/react/node_modules/eslint/lib/rules/prefer-arrow-callback.js +0 -381
  409. package/template/lib/react/node_modules/eslint/lib/rules/prefer-const.js +0 -501
  410. package/template/lib/react/node_modules/eslint/lib/rules/prefer-destructuring.js +0 -301
  411. package/template/lib/react/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +0 -191
  412. package/template/lib/react/node_modules/eslint/lib/rules/prefer-named-capture-group.js +0 -178
  413. package/template/lib/react/node_modules/eslint/lib/rules/prefer-numeric-literals.js +0 -148
  414. package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-has-own.js +0 -114
  415. package/template/lib/react/node_modules/eslint/lib/rules/prefer-object-spread.js +0 -298
  416. package/template/lib/react/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +0 -132
  417. package/template/lib/react/node_modules/eslint/lib/rules/prefer-reflect.js +0 -127
  418. package/template/lib/react/node_modules/eslint/lib/rules/prefer-regex-literals.js +0 -507
  419. package/template/lib/react/node_modules/eslint/lib/rules/prefer-rest-params.js +0 -118
  420. package/template/lib/react/node_modules/eslint/lib/rules/prefer-spread.js +0 -87
  421. package/template/lib/react/node_modules/eslint/lib/rules/prefer-template.js +0 -275
  422. package/template/lib/react/node_modules/eslint/lib/rules/quote-props.js +0 -310
  423. package/template/lib/react/node_modules/eslint/lib/rules/quotes.js +0 -350
  424. package/template/lib/react/node_modules/eslint/lib/rules/radix.js +0 -198
  425. package/template/lib/react/node_modules/eslint/lib/rules/require-atomic-updates.js +0 -331
  426. package/template/lib/react/node_modules/eslint/lib/rules/require-await.js +0 -113
  427. package/template/lib/react/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
  428. package/template/lib/react/node_modules/eslint/lib/rules/require-unicode-regexp.js +0 -129
  429. package/template/lib/react/node_modules/eslint/lib/rules/require-yield.js +0 -77
  430. package/template/lib/react/node_modules/eslint/lib/rules/rest-spread-spacing.js +0 -123
  431. package/template/lib/react/node_modules/eslint/lib/rules/semi-spacing.js +0 -248
  432. package/template/lib/react/node_modules/eslint/lib/rules/semi-style.js +0 -158
  433. package/template/lib/react/node_modules/eslint/lib/rules/semi.js +0 -438
  434. package/template/lib/react/node_modules/eslint/lib/rules/sort-imports.js +0 -241
  435. package/template/lib/react/node_modules/eslint/lib/rules/sort-keys.js +0 -230
  436. package/template/lib/react/node_modules/eslint/lib/rules/sort-vars.js +0 -104
  437. package/template/lib/react/node_modules/eslint/lib/rules/space-before-blocks.js +0 -204
  438. package/template/lib/react/node_modules/eslint/lib/rules/space-before-function-paren.js +0 -167
  439. package/template/lib/react/node_modules/eslint/lib/rules/space-in-parens.js +0 -285
  440. package/template/lib/react/node_modules/eslint/lib/rules/space-infix-ops.js +0 -198
  441. package/template/lib/react/node_modules/eslint/lib/rules/space-unary-ops.js +0 -324
  442. package/template/lib/react/node_modules/eslint/lib/rules/spaced-comment.js +0 -385
  443. package/template/lib/react/node_modules/eslint/lib/rules/strict.js +0 -277
  444. package/template/lib/react/node_modules/eslint/lib/rules/switch-colon-spacing.js +0 -132
  445. package/template/lib/react/node_modules/eslint/lib/rules/symbol-description.js +0 -73
  446. package/template/lib/react/node_modules/eslint/lib/rules/template-curly-spacing.js +0 -144
  447. package/template/lib/react/node_modules/eslint/lib/rules/template-tag-spacing.js +0 -93
  448. package/template/lib/react/node_modules/eslint/lib/rules/unicode-bom.js +0 -73
  449. package/template/lib/react/node_modules/eslint/lib/rules/use-isnan.js +0 -141
  450. package/template/lib/react/node_modules/eslint/lib/rules/utils/ast-utils.js +0 -2282
  451. package/template/lib/react/node_modules/eslint/lib/rules/utils/fix-tracker.js +0 -114
  452. package/template/lib/react/node_modules/eslint/lib/rules/utils/keywords.js +0 -67
  453. package/template/lib/react/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +0 -115
  454. package/template/lib/react/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
  455. package/template/lib/react/node_modules/eslint/lib/rules/utils/regular-expressions.js +0 -42
  456. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/index.js +0 -11
  457. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +0 -13
  458. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +0 -13
  459. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +0 -13
  460. package/template/lib/react/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +0 -14
  461. package/template/lib/react/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
  462. package/template/lib/react/node_modules/eslint/lib/rules/valid-typeof.js +0 -127
  463. package/template/lib/react/node_modules/eslint/lib/rules/vars-on-top.js +0 -157
  464. package/template/lib/react/node_modules/eslint/lib/rules/wrap-iife.js +0 -207
  465. package/template/lib/react/node_modules/eslint/lib/rules/wrap-regex.js +0 -61
  466. package/template/lib/react/node_modules/eslint/lib/rules/yield-star-spacing.js +0 -130
  467. package/template/lib/react/node_modules/eslint/lib/rules/yoda.js +0 -353
  468. package/template/lib/react/node_modules/eslint/lib/shared/ajv.js +0 -34
  469. package/template/lib/react/node_modules/eslint/lib/shared/ast-utils.js +0 -29
  470. package/template/lib/react/node_modules/eslint/lib/shared/config-validator.js +0 -347
  471. package/template/lib/react/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -58
  472. package/template/lib/react/node_modules/eslint/lib/shared/directives.js +0 -15
  473. package/template/lib/react/node_modules/eslint/lib/shared/logging.js +0 -30
  474. package/template/lib/react/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
  475. package/template/lib/react/node_modules/eslint/lib/shared/runtime-info.js +0 -167
  476. package/template/lib/react/node_modules/eslint/lib/shared/severity.js +0 -49
  477. package/template/lib/react/node_modules/eslint/lib/shared/string-utils.js +0 -60
  478. package/template/lib/react/node_modules/eslint/lib/shared/traverser.js +0 -195
  479. package/template/lib/react/node_modules/eslint/lib/shared/types.js +0 -216
  480. package/template/lib/react/node_modules/eslint/lib/source-code/index.js +0 -5
  481. package/template/lib/react/node_modules/eslint/lib/source-code/source-code.js +0 -1055
  482. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +0 -57
  483. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +0 -58
  484. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursor.js +0 -76
  485. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/cursors.js +0 -90
  486. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +0 -39
  487. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +0 -43
  488. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +0 -57
  489. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +0 -63
  490. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/index.js +0 -627
  491. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +0 -40
  492. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +0 -38
  493. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +0 -42
  494. package/template/lib/react/node_modules/eslint/lib/source-code/token-store/utils.js +0 -107
  495. package/template/lib/react/node_modules/eslint/lib/unsupported-api.js +0 -30
  496. package/template/lib/react/node_modules/eslint/messages/all-files-ignored.js +0 -16
  497. package/template/lib/react/node_modules/eslint/messages/eslintrc-incompat.js +0 -98
  498. package/template/lib/react/node_modules/eslint/messages/eslintrc-plugins.js +0 -24
  499. package/template/lib/react/node_modules/eslint/messages/extend-config-missing.js +0 -13
  500. package/template/lib/react/node_modules/eslint/messages/failed-to-read-json.js +0 -11
  501. package/template/lib/react/node_modules/eslint/messages/file-not-found.js +0 -10
  502. package/template/lib/react/node_modules/eslint/messages/invalid-rule-options.js +0 -17
  503. package/template/lib/react/node_modules/eslint/messages/invalid-rule-severity.js +0 -13
  504. package/template/lib/react/node_modules/eslint/messages/no-config-found.js +0 -15
  505. package/template/lib/react/node_modules/eslint/messages/plugin-conflict.js +0 -22
  506. package/template/lib/react/node_modules/eslint/messages/plugin-invalid.js +0 -16
  507. package/template/lib/react/node_modules/eslint/messages/plugin-missing.js +0 -19
  508. package/template/lib/react/node_modules/eslint/messages/print-config-with-directory-path.js +0 -8
  509. package/template/lib/react/node_modules/eslint/messages/shared.js +0 -18
  510. package/template/lib/react/node_modules/eslint/messages/whitespace-found.js +0 -11
  511. package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint +0 -17
  512. package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.CMD +0 -12
  513. package/template/lib/react/node_modules/eslint/node_modules/.bin/eslint.ps1 +0 -41
  514. package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml +0 -17
  515. package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.CMD +0 -12
  516. package/template/lib/react/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +0 -41
  517. package/template/lib/react/node_modules/eslint/package.json +0 -179
  518. package/template/lib/react/node_modules/eslint-import-resolver-typescript/LICENSE +0 -5
  519. package/template/lib/react/node_modules/eslint-import-resolver-typescript/README.md +0 -232
  520. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.cjs +0 -278
  521. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +0 -20
  522. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +0 -251
  523. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js +0 -252
  524. package/template/lib/react/node_modules/eslint-import-resolver-typescript/lib/index.js.map +0 -1
  525. package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +0 -17
  526. package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +0 -12
  527. package/template/lib/react/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +0 -41
  528. package/template/lib/react/node_modules/eslint-import-resolver-typescript/package.json +0 -108
  529. package/template/lib/react/node_modules/eslint-import-resolver-typescript/shim.d.ts +0 -4
  530. package/template/lib/react/node_modules/eslint-plugin-import/CHANGELOG.md +0 -1925
  531. package/template/lib/react/node_modules/eslint-plugin-import/CONTRIBUTING.md +0 -84
  532. package/template/lib/react/node_modules/eslint-plugin-import/LICENSE +0 -22
  533. package/template/lib/react/node_modules/eslint-plugin-import/README.md +0 -500
  534. package/template/lib/react/node_modules/eslint-plugin-import/RELEASE.md +0 -54
  535. package/template/lib/react/node_modules/eslint-plugin-import/SECURITY.md +0 -11
  536. package/template/lib/react/node_modules/eslint-plugin-import/config/electron.js +0 -8
  537. package/template/lib/react/node_modules/eslint-plugin-import/config/errors.js +0 -14
  538. package/template/lib/react/node_modules/eslint-plugin-import/config/react-native.js +0 -13
  539. package/template/lib/react/node_modules/eslint-plugin-import/config/react.js +0 -18
  540. package/template/lib/react/node_modules/eslint-plugin-import/config/recommended.js +0 -28
  541. package/template/lib/react/node_modules/eslint-plugin-import/config/stage-0.js +0 -12
  542. package/template/lib/react/node_modules/eslint-plugin-import/config/typescript.js +0 -34
  543. package/template/lib/react/node_modules/eslint-plugin-import/config/warnings.js +0 -12
  544. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +0 -91
  545. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/default.md +0 -72
  546. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +0 -92
  547. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/export.md +0 -37
  548. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/exports-last.md +0 -51
  549. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/extensions.md +0 -174
  550. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/first.md +0 -75
  551. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/group-exports.md +0 -118
  552. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/imports-first.md +0 -9
  553. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +0 -70
  554. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/named.md +0 -102
  555. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/namespace.md +0 -106
  556. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +0 -167
  557. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +0 -54
  558. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-amd.md +0 -37
  559. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +0 -83
  560. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +0 -96
  561. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +0 -111
  562. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +0 -65
  563. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +0 -62
  564. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +0 -109
  565. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +0 -25
  566. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +0 -49
  567. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +0 -139
  568. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +0 -81
  569. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +0 -136
  570. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +0 -54
  571. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +0 -52
  572. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +0 -53
  573. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +0 -36
  574. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +0 -79
  575. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +0 -44
  576. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +0 -42
  577. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +0 -70
  578. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +0 -123
  579. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +0 -198
  580. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +0 -32
  581. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +0 -60
  582. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +0 -110
  583. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +0 -125
  584. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +0 -85
  585. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +0 -39
  586. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/order.md +0 -365
  587. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +0 -185
  588. package/template/lib/react/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +0 -57
  589. package/template/lib/react/node_modules/eslint-plugin-import/lib/ExportMap.js +0 -856
  590. package/template/lib/react/node_modules/eslint-plugin-import/lib/core/importType.js +0 -129
  591. package/template/lib/react/node_modules/eslint-plugin-import/lib/core/packagePath.js +0 -22
  592. package/template/lib/react/node_modules/eslint-plugin-import/lib/core/staticRequire.js +0 -11
  593. package/template/lib/react/node_modules/eslint-plugin-import/lib/docsUrl.js +0 -8
  594. package/template/lib/react/node_modules/eslint-plugin-import/lib/importDeclaration.js +0 -5
  595. package/template/lib/react/node_modules/eslint-plugin-import/lib/index.js +0 -71
  596. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +0 -221
  597. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/default.js +0 -40
  598. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +0 -120
  599. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/export.js +0 -250
  600. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/exports-last.js +0 -40
  601. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/extensions.js +0 -193
  602. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/first.js +0 -144
  603. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/group-exports.js +0 -155
  604. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/imports-first.js +0 -16
  605. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +0 -60
  606. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/named.js +0 -143
  607. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/namespace.js +0 -218
  608. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +0 -237
  609. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +0 -40
  610. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-amd.js +0 -47
  611. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +0 -103
  612. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +0 -141
  613. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +0 -158
  614. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +0 -43
  615. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +0 -138
  616. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +0 -354
  617. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +0 -77
  618. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +0 -105
  619. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +0 -301
  620. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +0 -85
  621. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +0 -144
  622. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +0 -59
  623. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +0 -96
  624. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +0 -45
  625. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +0 -31
  626. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +0 -39
  627. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +0 -175
  628. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +0 -44
  629. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +0 -71
  630. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +0 -48
  631. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +0 -245
  632. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +0 -39
  633. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +0 -79
  634. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +0 -60
  635. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +0 -945
  636. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +0 -147
  637. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +0 -26
  638. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/order.js +0 -785
  639. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +0 -116
  640. package/template/lib/react/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +0 -38
  641. package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/LICENSE +0 -22
  642. package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/README.md +0 -21
  643. package/template/lib/react/node_modules/eslint-plugin-import/memo-parser/index.js +0 -41
  644. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint +0 -17
  645. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +0 -12
  646. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +0 -41
  647. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver +0 -17
  648. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +0 -12
  649. package/template/lib/react/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +0 -41
  650. package/template/lib/react/node_modules/eslint-plugin-import/package.json +0 -124
  651. package/template/lib/react/node_modules/eslint-plugin-prettier/LICENSE.md +0 -24
  652. package/template/lib/react/node_modules/eslint-plugin-prettier/README.md +0 -202
  653. package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +0 -5
  654. package/template/lib/react/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +0 -254
  655. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +0 -17
  656. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +0 -17
  657. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +0 -12
  658. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +0 -41
  659. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +0 -12
  660. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +0 -41
  661. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +0 -17
  662. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +0 -12
  663. package/template/lib/react/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +0 -41
  664. package/template/lib/react/node_modules/eslint-plugin-prettier/package.json +0 -101
  665. package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.d.ts +0 -5
  666. package/template/lib/react/node_modules/eslint-plugin-prettier/recommended.js +0 -17
  667. package/template/lib/react/node_modules/eslint-plugin-prettier/worker.js +0 -181
  668. package/template/lib/react/node_modules/eslint-plugin-react/LICENSE +0 -22
  669. package/template/lib/react/node_modules/eslint-plugin-react/README.md +0 -420
  670. package/template/lib/react/node_modules/eslint-plugin-react/configs/all.js +0 -39
  671. package/template/lib/react/node_modules/eslint-plugin-react/configs/jsx-runtime.js +0 -18
  672. package/template/lib/react/node_modules/eslint-plugin-react/configs/recommended.js +0 -34
  673. package/template/lib/react/node_modules/eslint-plugin-react/index.js +0 -31
  674. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/boolean-prop-naming.js +0 -400
  675. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/button-has-type.js +0 -163
  676. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/default-props-match-prop-types.js +0 -108
  677. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/destructuring-assignment.js +0 -280
  678. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/display-name.js +0 -283
  679. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js +0 -134
  680. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-dom-props.js +0 -121
  681. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-elements.js +0 -114
  682. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-foreign-prop-types.js +0 -134
  683. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/forbid-prop-types.js +0 -293
  684. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/function-component-definition.js +0 -284
  685. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/hook-use-state.js +0 -203
  686. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/iframe-missing-sandbox.js +0 -142
  687. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/index.js +0 -106
  688. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-boolean-value.js +0 -159
  689. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-child-element-spacing.js +0 -116
  690. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-bracket-location.js +0 -308
  691. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-closing-tag-location.js +0 -73
  692. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-brace-presence.js +0 -414
  693. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-newline.js +0 -184
  694. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-curly-spacing.js +0 -430
  695. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-equals-spacing.js +0 -110
  696. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-filename-extension.js +0 -110
  697. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-first-prop-new-line.js +0 -80
  698. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js +0 -209
  699. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-handler-names.js +0 -171
  700. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent-props.js +0 -213
  701. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-indent.js +0 -441
  702. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-key.js +0 -293
  703. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js +0 -162
  704. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-max-props-per-line.js +0 -154
  705. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-newline.js +0 -168
  706. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-bind.js +0 -208
  707. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-comment-textnodes.js +0 -64
  708. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js +0 -225
  709. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-duplicate-props.js +0 -76
  710. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-leaked-render.js +0 -186
  711. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-literals.js +0 -195
  712. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-script-url.js +0 -97
  713. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-target-blank.js +0 -283
  714. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-undef.js +0 -115
  715. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js +0 -257
  716. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-one-expression-per-line.js +0 -233
  717. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.js +0 -163
  718. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-multi-spaces.js +0 -134
  719. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-props-no-spreading.js +0 -141
  720. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-default-props.js +0 -188
  721. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js +0 -530
  722. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-space-before-closing.js +0 -96
  723. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-tag-spacing.js +0 -323
  724. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-react.js +0 -46
  725. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-uses-vars.js +0 -60
  726. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/jsx-wrap-multilines.js +0 -260
  727. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-access-state-in-setstate.js +0 -187
  728. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-adjacent-inline-elements.js +0 -125
  729. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-array-index-key.js +0 -288
  730. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-arrow-function-lifecycle.js +0 -144
  731. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-children-prop.js +0 -119
  732. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger-with-children.js +0 -155
  733. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-danger.js +0 -74
  734. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js +0 -258
  735. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-mount-set-state.js +0 -10
  736. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-did-update-set-state.js +0 -10
  737. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-direct-mutation-state.js +0 -154
  738. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-find-dom-node.js +0 -50
  739. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-invalid-html-attribute.js +0 -639
  740. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js +0 -55
  741. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-multi-comp.js +0 -80
  742. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-namespace.js +0 -61
  743. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-object-type-as-default-prop.js +0 -103
  744. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-redundant-should-component-update.js +0 -87
  745. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-render-return-value.js +0 -81
  746. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-set-state.js +0 -88
  747. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-string-refs.js +0 -119
  748. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-this-in-sfc.js +0 -46
  749. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-typos.js +0 -257
  750. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unescaped-entities.js +0 -133
  751. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unknown-property.js +0 -609
  752. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unsafe.js +0 -153
  753. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unstable-nested-components.js +0 -491
  754. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-class-component-methods.js +0 -257
  755. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-prop-types.js +0 -173
  756. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-unused-state.js +0 -522
  757. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/no-will-update-set-state.js +0 -14
  758. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-es6-class.js +0 -57
  759. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-exact-props.js +0 -161
  760. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-read-only-props.js +0 -116
  761. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prefer-stateless-function.js +0 -390
  762. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/prop-types.js +0 -201
  763. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/react-in-jsx-scope.js +0 -56
  764. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-default-props.js +0 -193
  765. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-optimization.js +0 -239
  766. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/require-render-return.js +0 -104
  767. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/self-closing-comp.js +0 -103
  768. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-comp.js +0 -446
  769. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-default-props.js +0 -174
  770. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/sort-prop-types.js +0 -266
  771. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/state-in-constructor.js +0 -67
  772. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/static-property-placement.js +0 -187
  773. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/style-prop-object.js +0 -137
  774. package/template/lib/react/node_modules/eslint-plugin-react/lib/rules/void-dom-elements-no-children.js +0 -165
  775. package/template/lib/react/node_modules/eslint-plugin-react/lib/types.d.ts +0 -28
  776. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/Components.js +0 -946
  777. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/annotations.js +0 -32
  778. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/ast.js +0 -461
  779. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/componentUtil.js +0 -182
  780. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/defaultProps.js +0 -268
  781. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/docsUrl.js +0 -7
  782. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/error.js +0 -14
  783. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/getTokenBeforeClosingBracket.js +0 -16
  784. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateContext.js +0 -53
  785. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isCreateElement.js +0 -33
  786. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isDestructuredFromPragmaImport.js +0 -79
  787. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/isFirstLetterCapitalized.js +0 -16
  788. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/jsx.js +0 -196
  789. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/lifecycleMethods.js +0 -30
  790. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/linkComponents.js +0 -49
  791. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/log.js +0 -14
  792. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/makeNoMethodSetStateRule.js +0 -119
  793. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/message.js +0 -8
  794. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/pragma.js +0 -72
  795. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypes.js +0 -1248
  796. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propTypesSort.js +0 -211
  797. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/propWrapper.js +0 -61
  798. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/props.js +0 -103
  799. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/report.js +0 -12
  800. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/usedPropTypes.js +0 -569
  801. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/variable.js +0 -94
  802. package/template/lib/react/node_modules/eslint-plugin-react/lib/util/version.js +0 -161
  803. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint +0 -17
  804. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.CMD +0 -12
  805. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/eslint.ps1 +0 -41
  806. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve +0 -17
  807. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.CMD +0 -12
  808. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/resolve.ps1 +0 -41
  809. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver +0 -17
  810. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.CMD +0 -12
  811. package/template/lib/react/node_modules/eslint-plugin-react/node_modules/.bin/semver.ps1 +0 -41
  812. package/template/lib/react/node_modules/eslint-plugin-react/package.json +0 -106
  813. package/template/lib/react/node_modules/eslint-plugin-react-hooks/LICENSE +0 -21
  814. package/template/lib/react/node_modules/eslint-plugin-react-hooks/README.md +0 -75
  815. package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js +0 -2458
  816. package/template/lib/react/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.min.js +0 -63
  817. package/template/lib/react/node_modules/eslint-plugin-react-hooks/index.js +0 -9
  818. package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint +0 -17
  819. package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.CMD +0 -12
  820. package/template/lib/react/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint.ps1 +0 -41
  821. package/template/lib/react/node_modules/eslint-plugin-react-hooks/package.json +0 -39
  822. package/template/lib/react/node_modules/prettier/LICENSE +0 -4857
  823. package/template/lib/react/node_modules/prettier/README.md +0 -109
  824. package/template/lib/react/node_modules/prettier/bin/prettier.cjs +0 -68
  825. package/template/lib/react/node_modules/prettier/doc.d.ts +0 -243
  826. package/template/lib/react/node_modules/prettier/doc.js +0 -1328
  827. package/template/lib/react/node_modules/prettier/doc.mjs +0 -1300
  828. package/template/lib/react/node_modules/prettier/index.cjs +0 -648
  829. package/template/lib/react/node_modules/prettier/index.d.ts +0 -940
  830. package/template/lib/react/node_modules/prettier/index.mjs +0 -24255
  831. package/template/lib/react/node_modules/prettier/internal/cli.mjs +0 -7089
  832. package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier +0 -17
  833. package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.CMD +0 -12
  834. package/template/lib/react/node_modules/prettier/node_modules/.bin/prettier.ps1 +0 -41
  835. package/template/lib/react/node_modules/prettier/package.json +0 -198
  836. package/template/lib/react/node_modules/prettier/plugins/acorn.d.ts +0 -6
  837. package/template/lib/react/node_modules/prettier/plugins/acorn.js +0 -13
  838. package/template/lib/react/node_modules/prettier/plugins/acorn.mjs +0 -13
  839. package/template/lib/react/node_modules/prettier/plugins/angular.d.ts +0 -8
  840. package/template/lib/react/node_modules/prettier/plugins/angular.js +0 -1
  841. package/template/lib/react/node_modules/prettier/plugins/angular.mjs +0 -1
  842. package/template/lib/react/node_modules/prettier/plugins/babel.d.ts +0 -18
  843. package/template/lib/react/node_modules/prettier/plugins/babel.js +0 -16
  844. package/template/lib/react/node_modules/prettier/plugins/babel.mjs +0 -16
  845. package/template/lib/react/node_modules/prettier/plugins/estree.d.ts +0 -1
  846. package/template/lib/react/node_modules/prettier/plugins/estree.js +0 -36
  847. package/template/lib/react/node_modules/prettier/plugins/estree.mjs +0 -36
  848. package/template/lib/react/node_modules/prettier/plugins/flow.d.ts +0 -5
  849. package/template/lib/react/node_modules/prettier/plugins/flow.js +0 -21
  850. package/template/lib/react/node_modules/prettier/plugins/flow.mjs +0 -21
  851. package/template/lib/react/node_modules/prettier/plugins/glimmer.d.ts +0 -5
  852. package/template/lib/react/node_modules/prettier/plugins/glimmer.js +0 -30
  853. package/template/lib/react/node_modules/prettier/plugins/glimmer.mjs +0 -30
  854. package/template/lib/react/node_modules/prettier/plugins/graphql.d.ts +0 -5
  855. package/template/lib/react/node_modules/prettier/plugins/graphql.js +0 -29
  856. package/template/lib/react/node_modules/prettier/plugins/graphql.mjs +0 -29
  857. package/template/lib/react/node_modules/prettier/plugins/html.d.ts +0 -8
  858. package/template/lib/react/node_modules/prettier/plugins/html.js +0 -19
  859. package/template/lib/react/node_modules/prettier/plugins/html.mjs +0 -19
  860. package/template/lib/react/node_modules/prettier/plugins/markdown.d.ts +0 -7
  861. package/template/lib/react/node_modules/prettier/plugins/markdown.js +0 -59
  862. package/template/lib/react/node_modules/prettier/plugins/markdown.mjs +0 -59
  863. package/template/lib/react/node_modules/prettier/plugins/meriyah.d.ts +0 -5
  864. package/template/lib/react/node_modules/prettier/plugins/meriyah.js +0 -5
  865. package/template/lib/react/node_modules/prettier/plugins/meriyah.mjs +0 -5
  866. package/template/lib/react/node_modules/prettier/plugins/postcss.d.ts +0 -7
  867. package/template/lib/react/node_modules/prettier/plugins/postcss.js +0 -49
  868. package/template/lib/react/node_modules/prettier/plugins/postcss.mjs +0 -49
  869. package/template/lib/react/node_modules/prettier/plugins/typescript.d.ts +0 -5
  870. package/template/lib/react/node_modules/prettier/plugins/typescript.js +0 -25
  871. package/template/lib/react/node_modules/prettier/plugins/typescript.mjs +0 -25
  872. package/template/lib/react/node_modules/prettier/plugins/yaml.d.ts +0 -5
  873. package/template/lib/react/node_modules/prettier/plugins/yaml.js +0 -161
  874. package/template/lib/react/node_modules/prettier/plugins/yaml.mjs +0 -161
  875. package/template/lib/react/node_modules/prettier/standalone.d.ts +0 -33
  876. package/template/lib/react/node_modules/prettier/standalone.js +0 -34
  877. package/template/lib/react/node_modules/prettier/standalone.mjs +0 -34
  878. package/template/lib/react/node_modules/prop-types/LICENSE +0 -21
  879. package/template/lib/react/node_modules/prop-types/README.md +0 -302
  880. package/template/lib/react/node_modules/prop-types/checkPropTypes.js +0 -103
  881. package/template/lib/react/node_modules/prop-types/factory.js +0 -19
  882. package/template/lib/react/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
  883. package/template/lib/react/node_modules/prop-types/factoryWithTypeCheckers.js +0 -610
  884. package/template/lib/react/node_modules/prop-types/index.js +0 -19
  885. package/template/lib/react/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
  886. package/template/lib/react/node_modules/prop-types/lib/has.js +0 -1
  887. package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify +0 -17
  888. package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.CMD +0 -12
  889. package/template/lib/react/node_modules/prop-types/node_modules/.bin/loose-envify.ps1 +0 -41
  890. package/template/lib/react/node_modules/prop-types/package.json +0 -60
  891. package/template/lib/react/node_modules/prop-types/prop-types.js +0 -1315
  892. package/template/lib/react/node_modules/prop-types/prop-types.min.js +0 -1
  893. package/template/lib/react/node_modules/react/LICENSE +0 -21
  894. package/template/lib/react/node_modules/react/README.md +0 -37
  895. package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1296
  896. package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -10
  897. package/template/lib/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -10
  898. package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1314
  899. package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -11
  900. package/template/lib/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -11
  901. package/template/lib/react/node_modules/react/cjs/react.development.js +0 -2739
  902. package/template/lib/react/node_modules/react/cjs/react.production.min.js +0 -26
  903. package/template/lib/react/node_modules/react/cjs/react.shared-subset.development.js +0 -20
  904. package/template/lib/react/node_modules/react/cjs/react.shared-subset.production.min.js +0 -10
  905. package/template/lib/react/node_modules/react/index.js +0 -7
  906. package/template/lib/react/node_modules/react/jsx-dev-runtime.js +0 -7
  907. package/template/lib/react/node_modules/react/jsx-runtime.js +0 -7
  908. package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify +0 -17
  909. package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.CMD +0 -12
  910. package/template/lib/react/node_modules/react/node_modules/.bin/loose-envify.ps1 +0 -41
  911. package/template/lib/react/node_modules/react/package.json +0 -47
  912. package/template/lib/react/node_modules/react/react.shared-subset.js +0 -7
  913. package/template/lib/react/node_modules/react/umd/react.development.js +0 -3342
  914. package/template/lib/react/node_modules/react/umd/react.production.min.js +0 -31
  915. package/template/lib/react/node_modules/react/umd/react.profiling.min.js +0 -31
  916. package/template/lib/react/node_modules/react-dom/LICENSE +0 -21
  917. package/template/lib/react/node_modules/react-dom/README.md +0 -60
  918. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +0 -7018
  919. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +0 -93
  920. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +0 -7078
  921. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js +0 -101
  922. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.development.js +0 -7003
  923. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +0 -96
  924. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.development.js +0 -7059
  925. package/template/lib/react/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +0 -102
  926. package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js +0 -1741
  927. package/template/lib/react/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +0 -40
  928. package/template/lib/react/node_modules/react-dom/cjs/react-dom.development.js +0 -29868
  929. package/template/lib/react/node_modules/react-dom/cjs/react-dom.production.min.js +0 -323
  930. package/template/lib/react/node_modules/react-dom/cjs/react-dom.profiling.min.js +0 -367
  931. package/template/lib/react/node_modules/react-dom/client.js +0 -25
  932. package/template/lib/react/node_modules/react-dom/index.js +0 -38
  933. package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify +0 -17
  934. package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.CMD +0 -12
  935. package/template/lib/react/node_modules/react-dom/node_modules/.bin/loose-envify.ps1 +0 -41
  936. package/template/lib/react/node_modules/react-dom/package.json +0 -62
  937. package/template/lib/react/node_modules/react-dom/profiling.js +0 -38
  938. package/template/lib/react/node_modules/react-dom/server.browser.js +0 -17
  939. package/template/lib/react/node_modules/react-dom/server.js +0 -3
  940. package/template/lib/react/node_modules/react-dom/server.node.js +0 -17
  941. package/template/lib/react/node_modules/react-dom/test-utils.js +0 -7
  942. package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js +0 -7015
  943. package/template/lib/react/node_modules/react-dom/umd/react-dom-server-legacy.browser.production.min.js +0 -75
  944. package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.development.js +0 -7000
  945. package/template/lib/react/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +0 -76
  946. package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.development.js +0 -1737
  947. package/template/lib/react/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +0 -33
  948. package/template/lib/react/node_modules/react-dom/umd/react-dom.development.js +0 -29869
  949. package/template/lib/react/node_modules/react-dom/umd/react-dom.production.min.js +0 -267
  950. package/template/lib/react/node_modules/react-dom/umd/react-dom.profiling.min.js +0 -285
  951. package/template/lib/react/node_modules/stylelint-config-standard-scss/LICENSE +0 -21
  952. package/template/lib/react/node_modules/stylelint-config-standard-scss/README.md +0 -50
  953. package/template/lib/react/node_modules/stylelint-config-standard-scss/index.js +0 -67
  954. package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +0 -17
  955. package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +0 -12
  956. package/template/lib/react/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +0 -41
  957. package/template/lib/react/node_modules/stylelint-config-standard-scss/package.json +0 -58
  958. package/template/lib/ts/node_modules/.bin/acorn +0 -17
  959. package/template/lib/ts/node_modules/.bin/acorn.CMD +0 -12
  960. package/template/lib/ts/node_modules/.bin/acorn.ps1 +0 -41
  961. package/template/lib/ts/node_modules/.bin/eslint +0 -17
  962. package/template/lib/ts/node_modules/.bin/eslint.CMD +0 -12
  963. package/template/lib/ts/node_modules/.bin/eslint.ps1 +0 -41
  964. package/template/lib/ts/node_modules/.bin/prettier +0 -17
  965. package/template/lib/ts/node_modules/.bin/prettier.CMD +0 -12
  966. package/template/lib/ts/node_modules/.bin/prettier.ps1 +0 -41
  967. package/template/lib/ts/node_modules/.bin/stylelint +0 -17
  968. package/template/lib/ts/node_modules/.bin/stylelint.CMD +0 -12
  969. package/template/lib/ts/node_modules/.bin/stylelint.ps1 +0 -41
  970. package/template/lib/ts/node_modules/.bin/tsc +0 -17
  971. package/template/lib/ts/node_modules/.bin/tsc.CMD +0 -12
  972. package/template/lib/ts/node_modules/.bin/tsc.ps1 +0 -41
  973. package/template/lib/ts/node_modules/.bin/tsserver +0 -17
  974. package/template/lib/ts/node_modules/.bin/tsserver.CMD +0 -12
  975. package/template/lib/ts/node_modules/.bin/tsserver.ps1 +0 -41
  976. package/template/lib/ts/node_modules/.bin/vitest +0 -17
  977. package/template/lib/ts/node_modules/.bin/vitest.CMD +0 -12
  978. package/template/lib/ts/node_modules/.bin/vitest.ps1 +0 -41
  979. package/template/lib/ts/node_modules/eslint/LICENSE +0 -19
  980. package/template/lib/ts/node_modules/eslint/README.md +0 -304
  981. package/template/lib/ts/node_modules/eslint/bin/eslint.js +0 -173
  982. package/template/lib/ts/node_modules/eslint/conf/config-schema.js +0 -93
  983. package/template/lib/ts/node_modules/eslint/conf/default-cli-options.js +0 -32
  984. package/template/lib/ts/node_modules/eslint/conf/globals.js +0 -154
  985. package/template/lib/ts/node_modules/eslint/conf/replacements.json +0 -22
  986. package/template/lib/ts/node_modules/eslint/conf/rule-type-list.json +0 -28
  987. package/template/lib/ts/node_modules/eslint/lib/api.js +0 -26
  988. package/template/lib/ts/node_modules/eslint/lib/cli-engine/cli-engine.js +0 -1078
  989. package/template/lib/ts/node_modules/eslint/lib/cli-engine/file-enumerator.js +0 -547
  990. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
  991. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
  992. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/formatters-meta.json +0 -46
  993. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/html.js +0 -351
  994. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
  995. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +0 -16
  996. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/json.js +0 -13
  997. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
  998. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/stylish.js +0 -101
  999. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
  1000. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
  1001. package/template/lib/ts/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
  1002. package/template/lib/ts/node_modules/eslint/lib/cli-engine/hash.js +0 -35
  1003. package/template/lib/ts/node_modules/eslint/lib/cli-engine/index.js +0 -7
  1004. package/template/lib/ts/node_modules/eslint/lib/cli-engine/lint-result-cache.js +0 -203
  1005. package/template/lib/ts/node_modules/eslint/lib/cli-engine/load-rules.js +0 -46
  1006. package/template/lib/ts/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
  1007. package/template/lib/ts/node_modules/eslint/lib/cli.js +0 -471
  1008. package/template/lib/ts/node_modules/eslint/lib/config/default-config.js +0 -67
  1009. package/template/lib/ts/node_modules/eslint/lib/config/flat-config-array.js +0 -274
  1010. package/template/lib/ts/node_modules/eslint/lib/config/flat-config-helpers.js +0 -111
  1011. package/template/lib/ts/node_modules/eslint/lib/config/flat-config-schema.js +0 -583
  1012. package/template/lib/ts/node_modules/eslint/lib/config/rule-validator.js +0 -158
  1013. package/template/lib/ts/node_modules/eslint/lib/eslint/eslint-helpers.js +0 -902
  1014. package/template/lib/ts/node_modules/eslint/lib/eslint/eslint.js +0 -700
  1015. package/template/lib/ts/node_modules/eslint/lib/eslint/flat-eslint.js +0 -1142
  1016. package/template/lib/ts/node_modules/eslint/lib/eslint/index.js +0 -9
  1017. package/template/lib/ts/node_modules/eslint/lib/linter/apply-disable-directives.js +0 -465
  1018. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -852
  1019. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +0 -263
  1020. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +0 -2348
  1021. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +0 -342
  1022. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +0 -203
  1023. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +0 -349
  1024. package/template/lib/ts/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +0 -45
  1025. package/template/lib/ts/node_modules/eslint/lib/linter/config-comment-parser.js +0 -185
  1026. package/template/lib/ts/node_modules/eslint/lib/linter/index.js +0 -13
  1027. package/template/lib/ts/node_modules/eslint/lib/linter/interpolate.js +0 -28
  1028. package/template/lib/ts/node_modules/eslint/lib/linter/linter.js +0 -2119
  1029. package/template/lib/ts/node_modules/eslint/lib/linter/node-event-generator.js +0 -354
  1030. package/template/lib/ts/node_modules/eslint/lib/linter/report-translator.js +0 -369
  1031. package/template/lib/ts/node_modules/eslint/lib/linter/rule-fixer.js +0 -140
  1032. package/template/lib/ts/node_modules/eslint/lib/linter/rules.js +0 -80
  1033. package/template/lib/ts/node_modules/eslint/lib/linter/safe-emitter.js +0 -52
  1034. package/template/lib/ts/node_modules/eslint/lib/linter/source-code-fixer.js +0 -152
  1035. package/template/lib/ts/node_modules/eslint/lib/linter/timing.js +0 -161
  1036. package/template/lib/ts/node_modules/eslint/lib/options.js +0 -398
  1037. package/template/lib/ts/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1122
  1038. package/template/lib/ts/node_modules/eslint/lib/rule-tester/index.js +0 -5
  1039. package/template/lib/ts/node_modules/eslint/lib/rule-tester/rule-tester.js +0 -1206
  1040. package/template/lib/ts/node_modules/eslint/lib/rules/accessor-pairs.js +0 -346
  1041. package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-newline.js +0 -261
  1042. package/template/lib/ts/node_modules/eslint/lib/rules/array-bracket-spacing.js +0 -244
  1043. package/template/lib/ts/node_modules/eslint/lib/rules/array-callback-return.js +0 -446
  1044. package/template/lib/ts/node_modules/eslint/lib/rules/array-element-newline.js +0 -311
  1045. package/template/lib/ts/node_modules/eslint/lib/rules/arrow-body-style.js +0 -296
  1046. package/template/lib/ts/node_modules/eslint/lib/rules/arrow-parens.js +0 -186
  1047. package/template/lib/ts/node_modules/eslint/lib/rules/arrow-spacing.js +0 -164
  1048. package/template/lib/ts/node_modules/eslint/lib/rules/block-scoped-var.js +0 -135
  1049. package/template/lib/ts/node_modules/eslint/lib/rules/block-spacing.js +0 -174
  1050. package/template/lib/ts/node_modules/eslint/lib/rules/brace-style.js +0 -197
  1051. package/template/lib/ts/node_modules/eslint/lib/rules/callback-return.js +0 -187
  1052. package/template/lib/ts/node_modules/eslint/lib/rules/camelcase.js +0 -399
  1053. package/template/lib/ts/node_modules/eslint/lib/rules/capitalized-comments.js +0 -300
  1054. package/template/lib/ts/node_modules/eslint/lib/rules/class-methods-use-this.js +0 -187
  1055. package/template/lib/ts/node_modules/eslint/lib/rules/comma-dangle.js +0 -373
  1056. package/template/lib/ts/node_modules/eslint/lib/rules/comma-spacing.js +0 -192
  1057. package/template/lib/ts/node_modules/eslint/lib/rules/comma-style.js +0 -314
  1058. package/template/lib/ts/node_modules/eslint/lib/rules/complexity.js +0 -165
  1059. package/template/lib/ts/node_modules/eslint/lib/rules/computed-property-spacing.js +0 -208
  1060. package/template/lib/ts/node_modules/eslint/lib/rules/consistent-return.js +0 -210
  1061. package/template/lib/ts/node_modules/eslint/lib/rules/consistent-this.js +0 -153
  1062. package/template/lib/ts/node_modules/eslint/lib/rules/constructor-super.js +0 -446
  1063. package/template/lib/ts/node_modules/eslint/lib/rules/curly.js +0 -486
  1064. package/template/lib/ts/node_modules/eslint/lib/rules/default-case-last.js +0 -44
  1065. package/template/lib/ts/node_modules/eslint/lib/rules/default-case.js +0 -97
  1066. package/template/lib/ts/node_modules/eslint/lib/rules/default-param-last.js +0 -62
  1067. package/template/lib/ts/node_modules/eslint/lib/rules/dot-location.js +0 -108
  1068. package/template/lib/ts/node_modules/eslint/lib/rules/dot-notation.js +0 -176
  1069. package/template/lib/ts/node_modules/eslint/lib/rules/eol-last.js +0 -115
  1070. package/template/lib/ts/node_modules/eslint/lib/rules/eqeqeq.js +0 -174
  1071. package/template/lib/ts/node_modules/eslint/lib/rules/for-direction.js +0 -140
  1072. package/template/lib/ts/node_modules/eslint/lib/rules/func-call-spacing.js +0 -233
  1073. package/template/lib/ts/node_modules/eslint/lib/rules/func-name-matching.js +0 -253
  1074. package/template/lib/ts/node_modules/eslint/lib/rules/func-names.js +0 -191
  1075. package/template/lib/ts/node_modules/eslint/lib/rules/func-style.js +0 -98
  1076. package/template/lib/ts/node_modules/eslint/lib/rules/function-call-argument-newline.js +0 -125
  1077. package/template/lib/ts/node_modules/eslint/lib/rules/function-paren-newline.js +0 -292
  1078. package/template/lib/ts/node_modules/eslint/lib/rules/generator-star-spacing.js +0 -209
  1079. package/template/lib/ts/node_modules/eslint/lib/rules/getter-return.js +0 -204
  1080. package/template/lib/ts/node_modules/eslint/lib/rules/global-require.js +0 -90
  1081. package/template/lib/ts/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +0 -215
  1082. package/template/lib/ts/node_modules/eslint/lib/rules/guard-for-in.js +0 -76
  1083. package/template/lib/ts/node_modules/eslint/lib/rules/handle-callback-err.js +0 -101
  1084. package/template/lib/ts/node_modules/eslint/lib/rules/id-blacklist.js +0 -246
  1085. package/template/lib/ts/node_modules/eslint/lib/rules/id-denylist.js +0 -228
  1086. package/template/lib/ts/node_modules/eslint/lib/rules/id-length.js +0 -177
  1087. package/template/lib/ts/node_modules/eslint/lib/rules/id-match.js +0 -299
  1088. package/template/lib/ts/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +0 -84
  1089. package/template/lib/ts/node_modules/eslint/lib/rules/indent-legacy.js +0 -1126
  1090. package/template/lib/ts/node_modules/eslint/lib/rules/indent.js +0 -1803
  1091. package/template/lib/ts/node_modules/eslint/lib/rules/index.js +0 -306
  1092. package/template/lib/ts/node_modules/eslint/lib/rules/init-declarations.js +0 -139
  1093. package/template/lib/ts/node_modules/eslint/lib/rules/jsx-quotes.js +0 -98
  1094. package/template/lib/ts/node_modules/eslint/lib/rules/key-spacing.js +0 -687
  1095. package/template/lib/ts/node_modules/eslint/lib/rules/keyword-spacing.js +0 -640
  1096. package/template/lib/ts/node_modules/eslint/lib/rules/line-comment-position.js +0 -122
  1097. package/template/lib/ts/node_modules/eslint/lib/rules/linebreak-style.js +0 -108
  1098. package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-comment.js +0 -471
  1099. package/template/lib/ts/node_modules/eslint/lib/rules/lines-around-directive.js +0 -201
  1100. package/template/lib/ts/node_modules/eslint/lib/rules/lines-between-class-members.js +0 -269
  1101. package/template/lib/ts/node_modules/eslint/lib/rules/logical-assignment-operators.js +0 -504
  1102. package/template/lib/ts/node_modules/eslint/lib/rules/max-classes-per-file.js +0 -89
  1103. package/template/lib/ts/node_modules/eslint/lib/rules/max-depth.js +0 -156
  1104. package/template/lib/ts/node_modules/eslint/lib/rules/max-len.js +0 -440
  1105. package/template/lib/ts/node_modules/eslint/lib/rules/max-lines-per-function.js +0 -213
  1106. package/template/lib/ts/node_modules/eslint/lib/rules/max-lines.js +0 -193
  1107. package/template/lib/ts/node_modules/eslint/lib/rules/max-nested-callbacks.js +0 -117
  1108. package/template/lib/ts/node_modules/eslint/lib/rules/max-params.js +0 -102
  1109. package/template/lib/ts/node_modules/eslint/lib/rules/max-statements-per-line.js +0 -199
  1110. package/template/lib/ts/node_modules/eslint/lib/rules/max-statements.js +0 -184
  1111. package/template/lib/ts/node_modules/eslint/lib/rules/multiline-comment-style.js +0 -474
  1112. package/template/lib/ts/node_modules/eslint/lib/rules/multiline-ternary.js +0 -174
  1113. package/template/lib/ts/node_modules/eslint/lib/rules/new-cap.js +0 -276
  1114. package/template/lib/ts/node_modules/eslint/lib/rules/new-parens.js +0 -93
  1115. package/template/lib/ts/node_modules/eslint/lib/rules/newline-after-var.js +0 -253
  1116. package/template/lib/ts/node_modules/eslint/lib/rules/newline-before-return.js +0 -217
  1117. package/template/lib/ts/node_modules/eslint/lib/rules/newline-per-chained-call.js +0 -126
  1118. package/template/lib/ts/node_modules/eslint/lib/rules/no-alert.js +0 -138
  1119. package/template/lib/ts/node_modules/eslint/lib/rules/no-array-constructor.js +0 -133
  1120. package/template/lib/ts/node_modules/eslint/lib/rules/no-async-promise-executor.js +0 -39
  1121. package/template/lib/ts/node_modules/eslint/lib/rules/no-await-in-loop.js +0 -106
  1122. package/template/lib/ts/node_modules/eslint/lib/rules/no-bitwise.js +0 -119
  1123. package/template/lib/ts/node_modules/eslint/lib/rules/no-buffer-constructor.js +0 -50
  1124. package/template/lib/ts/node_modules/eslint/lib/rules/no-caller.js +0 -46
  1125. package/template/lib/ts/node_modules/eslint/lib/rules/no-case-declarations.js +0 -64
  1126. package/template/lib/ts/node_modules/eslint/lib/rules/no-catch-shadow.js +0 -82
  1127. package/template/lib/ts/node_modules/eslint/lib/rules/no-class-assign.js +0 -63
  1128. package/template/lib/ts/node_modules/eslint/lib/rules/no-compare-neg-zero.js +0 -60
  1129. package/template/lib/ts/node_modules/eslint/lib/rules/no-cond-assign.js +0 -159
  1130. package/template/lib/ts/node_modules/eslint/lib/rules/no-confusing-arrow.js +0 -92
  1131. package/template/lib/ts/node_modules/eslint/lib/rules/no-console.js +0 -207
  1132. package/template/lib/ts/node_modules/eslint/lib/rules/no-const-assign.js +0 -56
  1133. package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-binary-expression.js +0 -509
  1134. package/template/lib/ts/node_modules/eslint/lib/rules/no-constant-condition.js +0 -150
  1135. package/template/lib/ts/node_modules/eslint/lib/rules/no-constructor-return.js +0 -62
  1136. package/template/lib/ts/node_modules/eslint/lib/rules/no-continue.js +0 -39
  1137. package/template/lib/ts/node_modules/eslint/lib/rules/no-control-regex.js +0 -138
  1138. package/template/lib/ts/node_modules/eslint/lib/rules/no-debugger.js +0 -43
  1139. package/template/lib/ts/node_modules/eslint/lib/rules/no-delete-var.js +0 -42
  1140. package/template/lib/ts/node_modules/eslint/lib/rules/no-div-regex.js +0 -53
  1141. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-args.js +0 -82
  1142. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-class-members.js +0 -104
  1143. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-else-if.js +0 -122
  1144. package/template/lib/ts/node_modules/eslint/lib/rules/no-dupe-keys.js +0 -142
  1145. package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-case.js +0 -71
  1146. package/template/lib/ts/node_modules/eslint/lib/rules/no-duplicate-imports.js +0 -290
  1147. package/template/lib/ts/node_modules/eslint/lib/rules/no-else-return.js +0 -405
  1148. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-character-class.js +0 -76
  1149. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-function.js +0 -167
  1150. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-pattern.js +0 -78
  1151. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty-static-block.js +0 -47
  1152. package/template/lib/ts/node_modules/eslint/lib/rules/no-empty.js +0 -103
  1153. package/template/lib/ts/node_modules/eslint/lib/rules/no-eq-null.js +0 -46
  1154. package/template/lib/ts/node_modules/eslint/lib/rules/no-eval.js +0 -286
  1155. package/template/lib/ts/node_modules/eslint/lib/rules/no-ex-assign.js +0 -54
  1156. package/template/lib/ts/node_modules/eslint/lib/rules/no-extend-native.js +0 -179
  1157. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-bind.js +0 -213
  1158. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +0 -317
  1159. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-label.js +0 -149
  1160. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-parens.js +0 -1322
  1161. package/template/lib/ts/node_modules/eslint/lib/rules/no-extra-semi.js +0 -147
  1162. package/template/lib/ts/node_modules/eslint/lib/rules/no-fallthrough.js +0 -196
  1163. package/template/lib/ts/node_modules/eslint/lib/rules/no-floating-decimal.js +0 -73
  1164. package/template/lib/ts/node_modules/eslint/lib/rules/no-func-assign.js +0 -78
  1165. package/template/lib/ts/node_modules/eslint/lib/rules/no-global-assign.js +0 -95
  1166. package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-coercion.js +0 -380
  1167. package/template/lib/ts/node_modules/eslint/lib/rules/no-implicit-globals.js +0 -146
  1168. package/template/lib/ts/node_modules/eslint/lib/rules/no-implied-eval.js +0 -132
  1169. package/template/lib/ts/node_modules/eslint/lib/rules/no-import-assign.js +0 -241
  1170. package/template/lib/ts/node_modules/eslint/lib/rules/no-inline-comments.js +0 -110
  1171. package/template/lib/ts/node_modules/eslint/lib/rules/no-inner-declarations.js +0 -110
  1172. package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-regexp.js +0 -194
  1173. package/template/lib/ts/node_modules/eslint/lib/rules/no-invalid-this.js +0 -150
  1174. package/template/lib/ts/node_modules/eslint/lib/rules/no-irregular-whitespace.js +0 -276
  1175. package/template/lib/ts/node_modules/eslint/lib/rules/no-iterator.js +0 -52
  1176. package/template/lib/ts/node_modules/eslint/lib/rules/no-label-var.js +0 -80
  1177. package/template/lib/ts/node_modules/eslint/lib/rules/no-labels.js +0 -149
  1178. package/template/lib/ts/node_modules/eslint/lib/rules/no-lone-blocks.js +0 -136
  1179. package/template/lib/ts/node_modules/eslint/lib/rules/no-lonely-if.js +0 -88
  1180. package/template/lib/ts/node_modules/eslint/lib/rules/no-loop-func.js +0 -206
  1181. package/template/lib/ts/node_modules/eslint/lib/rules/no-loss-of-precision.js +0 -214
  1182. package/template/lib/ts/node_modules/eslint/lib/rules/no-magic-numbers.js +0 -243
  1183. package/template/lib/ts/node_modules/eslint/lib/rules/no-misleading-character-class.js +0 -300
  1184. package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-operators.js +0 -229
  1185. package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-requires.js +0 -238
  1186. package/template/lib/ts/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +0 -116
  1187. package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-assign.js +0 -67
  1188. package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-spaces.js +0 -141
  1189. package/template/lib/ts/node_modules/eslint/lib/rules/no-multi-str.js +0 -65
  1190. package/template/lib/ts/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +0 -154
  1191. package/template/lib/ts/node_modules/eslint/lib/rules/no-native-reassign.js +0 -98
  1192. package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-condition.js +0 -95
  1193. package/template/lib/ts/node_modules/eslint/lib/rules/no-negated-in-lhs.js +0 -46
  1194. package/template/lib/ts/node_modules/eslint/lib/rules/no-nested-ternary.js +0 -44
  1195. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-func.js +0 -87
  1196. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-native-nonconstructor.js +0 -66
  1197. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-object.js +0 -67
  1198. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-require.js +0 -50
  1199. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-symbol.js +0 -56
  1200. package/template/lib/ts/node_modules/eslint/lib/rules/no-new-wrappers.js +0 -60
  1201. package/template/lib/ts/node_modules/eslint/lib/rules/no-new.js +0 -43
  1202. package/template/lib/ts/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +0 -148
  1203. package/template/lib/ts/node_modules/eslint/lib/rules/no-obj-calls.js +0 -86
  1204. package/template/lib/ts/node_modules/eslint/lib/rules/no-object-constructor.js +0 -117
  1205. package/template/lib/ts/node_modules/eslint/lib/rules/no-octal-escape.js +0 -56
  1206. package/template/lib/ts/node_modules/eslint/lib/rules/no-octal.js +0 -45
  1207. package/template/lib/ts/node_modules/eslint/lib/rules/no-param-reassign.js +0 -230
  1208. package/template/lib/ts/node_modules/eslint/lib/rules/no-path-concat.js +0 -64
  1209. package/template/lib/ts/node_modules/eslint/lib/rules/no-plusplus.js +0 -105
  1210. package/template/lib/ts/node_modules/eslint/lib/rules/no-process-env.js +0 -51
  1211. package/template/lib/ts/node_modules/eslint/lib/rules/no-process-exit.js +0 -47
  1212. package/template/lib/ts/node_modules/eslint/lib/rules/no-promise-executor-return.js +0 -263
  1213. package/template/lib/ts/node_modules/eslint/lib/rules/no-proto.js +0 -48
  1214. package/template/lib/ts/node_modules/eslint/lib/rules/no-prototype-builtins.js +0 -159
  1215. package/template/lib/ts/node_modules/eslint/lib/rules/no-redeclare.js +0 -174
  1216. package/template/lib/ts/node_modules/eslint/lib/rules/no-regex-spaces.js +0 -197
  1217. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-exports.js +0 -193
  1218. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-globals.js +0 -124
  1219. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-imports.js +0 -410
  1220. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-modules.js +0 -213
  1221. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-properties.js +0 -168
  1222. package/template/lib/ts/node_modules/eslint/lib/rules/no-restricted-syntax.js +0 -70
  1223. package/template/lib/ts/node_modules/eslint/lib/rules/no-return-assign.js +0 -80
  1224. package/template/lib/ts/node_modules/eslint/lib/rules/no-return-await.js +0 -135
  1225. package/template/lib/ts/node_modules/eslint/lib/rules/no-script-url.js +0 -61
  1226. package/template/lib/ts/node_modules/eslint/lib/rules/no-self-assign.js +0 -183
  1227. package/template/lib/ts/node_modules/eslint/lib/rules/no-self-compare.js +0 -60
  1228. package/template/lib/ts/node_modules/eslint/lib/rules/no-sequences.js +0 -138
  1229. package/template/lib/ts/node_modules/eslint/lib/rules/no-setter-return.js +0 -226
  1230. package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +0 -65
  1231. package/template/lib/ts/node_modules/eslint/lib/rules/no-shadow.js +0 -336
  1232. package/template/lib/ts/node_modules/eslint/lib/rules/no-spaced-func.js +0 -83
  1233. package/template/lib/ts/node_modules/eslint/lib/rules/no-sparse-arrays.js +0 -50
  1234. package/template/lib/ts/node_modules/eslint/lib/rules/no-sync.js +0 -64
  1235. package/template/lib/ts/node_modules/eslint/lib/rules/no-tabs.js +0 -81
  1236. package/template/lib/ts/node_modules/eslint/lib/rules/no-template-curly-in-string.js +0 -44
  1237. package/template/lib/ts/node_modules/eslint/lib/rules/no-ternary.js +0 -41
  1238. package/template/lib/ts/node_modules/eslint/lib/rules/no-this-before-super.js +0 -331
  1239. package/template/lib/ts/node_modules/eslint/lib/rules/no-throw-literal.js +0 -51
  1240. package/template/lib/ts/node_modules/eslint/lib/rules/no-trailing-spaces.js +0 -193
  1241. package/template/lib/ts/node_modules/eslint/lib/rules/no-undef-init.js +0 -75
  1242. package/template/lib/ts/node_modules/eslint/lib/rules/no-undef.js +0 -79
  1243. package/template/lib/ts/node_modules/eslint/lib/rules/no-undefined.js +0 -86
  1244. package/template/lib/ts/node_modules/eslint/lib/rules/no-underscore-dangle.js +0 -335
  1245. package/template/lib/ts/node_modules/eslint/lib/rules/no-unexpected-multiline.js +0 -120
  1246. package/template/lib/ts/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +0 -360
  1247. package/template/lib/ts/node_modules/eslint/lib/rules/no-unneeded-ternary.js +0 -166
  1248. package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable-loop.js +0 -185
  1249. package/template/lib/ts/node_modules/eslint/lib/rules/no-unreachable.js +0 -293
  1250. package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-finally.js +0 -111
  1251. package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-negation.js +0 -128
  1252. package/template/lib/ts/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +0 -205
  1253. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-expressions.js +0 -186
  1254. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-labels.js +0 -143
  1255. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-private-class-members.js +0 -195
  1256. package/template/lib/ts/node_modules/eslint/lib/rules/no-unused-vars.js +0 -718
  1257. package/template/lib/ts/node_modules/eslint/lib/rules/no-use-before-define.js +0 -348
  1258. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-backreference.js +0 -194
  1259. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-call.js +0 -90
  1260. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-catch.js +0 -57
  1261. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-computed-key.js +0 -168
  1262. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-concat.js +0 -115
  1263. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-constructor.js +0 -189
  1264. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-escape.js +0 -333
  1265. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-rename.js +0 -172
  1266. package/template/lib/ts/node_modules/eslint/lib/rules/no-useless-return.js +0 -364
  1267. package/template/lib/ts/node_modules/eslint/lib/rules/no-var.js +0 -334
  1268. package/template/lib/ts/node_modules/eslint/lib/rules/no-void.js +0 -64
  1269. package/template/lib/ts/node_modules/eslint/lib/rules/no-warning-comments.js +0 -201
  1270. package/template/lib/ts/node_modules/eslint/lib/rules/no-whitespace-before-property.js +0 -116
  1271. package/template/lib/ts/node_modules/eslint/lib/rules/no-with.js +0 -39
  1272. package/template/lib/ts/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +0 -127
  1273. package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-newline.js +0 -324
  1274. package/template/lib/ts/node_modules/eslint/lib/rules/object-curly-spacing.js +0 -311
  1275. package/template/lib/ts/node_modules/eslint/lib/rules/object-property-newline.js +0 -102
  1276. package/template/lib/ts/node_modules/eslint/lib/rules/object-shorthand.js +0 -520
  1277. package/template/lib/ts/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +0 -95
  1278. package/template/lib/ts/node_modules/eslint/lib/rules/one-var.js +0 -567
  1279. package/template/lib/ts/node_modules/eslint/lib/rules/operator-assignment.js +0 -209
  1280. package/template/lib/ts/node_modules/eslint/lib/rules/operator-linebreak.js +0 -253
  1281. package/template/lib/ts/node_modules/eslint/lib/rules/padded-blocks.js +0 -310
  1282. package/template/lib/ts/node_modules/eslint/lib/rules/padding-line-between-statements.js +0 -590
  1283. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-arrow-callback.js +0 -381
  1284. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-const.js +0 -501
  1285. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-destructuring.js +0 -301
  1286. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +0 -191
  1287. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-named-capture-group.js +0 -178
  1288. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-numeric-literals.js +0 -148
  1289. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-has-own.js +0 -114
  1290. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-object-spread.js +0 -298
  1291. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +0 -132
  1292. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-reflect.js +0 -127
  1293. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-regex-literals.js +0 -507
  1294. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-rest-params.js +0 -118
  1295. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-spread.js +0 -87
  1296. package/template/lib/ts/node_modules/eslint/lib/rules/prefer-template.js +0 -275
  1297. package/template/lib/ts/node_modules/eslint/lib/rules/quote-props.js +0 -310
  1298. package/template/lib/ts/node_modules/eslint/lib/rules/quotes.js +0 -350
  1299. package/template/lib/ts/node_modules/eslint/lib/rules/radix.js +0 -198
  1300. package/template/lib/ts/node_modules/eslint/lib/rules/require-atomic-updates.js +0 -331
  1301. package/template/lib/ts/node_modules/eslint/lib/rules/require-await.js +0 -113
  1302. package/template/lib/ts/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
  1303. package/template/lib/ts/node_modules/eslint/lib/rules/require-unicode-regexp.js +0 -129
  1304. package/template/lib/ts/node_modules/eslint/lib/rules/require-yield.js +0 -77
  1305. package/template/lib/ts/node_modules/eslint/lib/rules/rest-spread-spacing.js +0 -123
  1306. package/template/lib/ts/node_modules/eslint/lib/rules/semi-spacing.js +0 -248
  1307. package/template/lib/ts/node_modules/eslint/lib/rules/semi-style.js +0 -158
  1308. package/template/lib/ts/node_modules/eslint/lib/rules/semi.js +0 -438
  1309. package/template/lib/ts/node_modules/eslint/lib/rules/sort-imports.js +0 -241
  1310. package/template/lib/ts/node_modules/eslint/lib/rules/sort-keys.js +0 -230
  1311. package/template/lib/ts/node_modules/eslint/lib/rules/sort-vars.js +0 -104
  1312. package/template/lib/ts/node_modules/eslint/lib/rules/space-before-blocks.js +0 -204
  1313. package/template/lib/ts/node_modules/eslint/lib/rules/space-before-function-paren.js +0 -167
  1314. package/template/lib/ts/node_modules/eslint/lib/rules/space-in-parens.js +0 -285
  1315. package/template/lib/ts/node_modules/eslint/lib/rules/space-infix-ops.js +0 -198
  1316. package/template/lib/ts/node_modules/eslint/lib/rules/space-unary-ops.js +0 -324
  1317. package/template/lib/ts/node_modules/eslint/lib/rules/spaced-comment.js +0 -385
  1318. package/template/lib/ts/node_modules/eslint/lib/rules/strict.js +0 -277
  1319. package/template/lib/ts/node_modules/eslint/lib/rules/switch-colon-spacing.js +0 -132
  1320. package/template/lib/ts/node_modules/eslint/lib/rules/symbol-description.js +0 -73
  1321. package/template/lib/ts/node_modules/eslint/lib/rules/template-curly-spacing.js +0 -144
  1322. package/template/lib/ts/node_modules/eslint/lib/rules/template-tag-spacing.js +0 -93
  1323. package/template/lib/ts/node_modules/eslint/lib/rules/unicode-bom.js +0 -73
  1324. package/template/lib/ts/node_modules/eslint/lib/rules/use-isnan.js +0 -141
  1325. package/template/lib/ts/node_modules/eslint/lib/rules/utils/ast-utils.js +0 -2282
  1326. package/template/lib/ts/node_modules/eslint/lib/rules/utils/fix-tracker.js +0 -114
  1327. package/template/lib/ts/node_modules/eslint/lib/rules/utils/keywords.js +0 -67
  1328. package/template/lib/ts/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +0 -115
  1329. package/template/lib/ts/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
  1330. package/template/lib/ts/node_modules/eslint/lib/rules/utils/regular-expressions.js +0 -42
  1331. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/index.js +0 -11
  1332. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +0 -13
  1333. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +0 -13
  1334. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +0 -13
  1335. package/template/lib/ts/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +0 -14
  1336. package/template/lib/ts/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
  1337. package/template/lib/ts/node_modules/eslint/lib/rules/valid-typeof.js +0 -127
  1338. package/template/lib/ts/node_modules/eslint/lib/rules/vars-on-top.js +0 -157
  1339. package/template/lib/ts/node_modules/eslint/lib/rules/wrap-iife.js +0 -207
  1340. package/template/lib/ts/node_modules/eslint/lib/rules/wrap-regex.js +0 -61
  1341. package/template/lib/ts/node_modules/eslint/lib/rules/yield-star-spacing.js +0 -130
  1342. package/template/lib/ts/node_modules/eslint/lib/rules/yoda.js +0 -353
  1343. package/template/lib/ts/node_modules/eslint/lib/shared/ajv.js +0 -34
  1344. package/template/lib/ts/node_modules/eslint/lib/shared/ast-utils.js +0 -29
  1345. package/template/lib/ts/node_modules/eslint/lib/shared/config-validator.js +0 -347
  1346. package/template/lib/ts/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -58
  1347. package/template/lib/ts/node_modules/eslint/lib/shared/directives.js +0 -15
  1348. package/template/lib/ts/node_modules/eslint/lib/shared/logging.js +0 -30
  1349. package/template/lib/ts/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
  1350. package/template/lib/ts/node_modules/eslint/lib/shared/runtime-info.js +0 -167
  1351. package/template/lib/ts/node_modules/eslint/lib/shared/severity.js +0 -49
  1352. package/template/lib/ts/node_modules/eslint/lib/shared/string-utils.js +0 -60
  1353. package/template/lib/ts/node_modules/eslint/lib/shared/traverser.js +0 -195
  1354. package/template/lib/ts/node_modules/eslint/lib/shared/types.js +0 -216
  1355. package/template/lib/ts/node_modules/eslint/lib/source-code/index.js +0 -5
  1356. package/template/lib/ts/node_modules/eslint/lib/source-code/source-code.js +0 -1055
  1357. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +0 -57
  1358. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +0 -58
  1359. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursor.js +0 -76
  1360. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/cursors.js +0 -90
  1361. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +0 -39
  1362. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +0 -43
  1363. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +0 -57
  1364. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +0 -63
  1365. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/index.js +0 -627
  1366. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +0 -40
  1367. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +0 -38
  1368. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +0 -42
  1369. package/template/lib/ts/node_modules/eslint/lib/source-code/token-store/utils.js +0 -107
  1370. package/template/lib/ts/node_modules/eslint/lib/unsupported-api.js +0 -30
  1371. package/template/lib/ts/node_modules/eslint/messages/all-files-ignored.js +0 -16
  1372. package/template/lib/ts/node_modules/eslint/messages/eslintrc-incompat.js +0 -98
  1373. package/template/lib/ts/node_modules/eslint/messages/eslintrc-plugins.js +0 -24
  1374. package/template/lib/ts/node_modules/eslint/messages/extend-config-missing.js +0 -13
  1375. package/template/lib/ts/node_modules/eslint/messages/failed-to-read-json.js +0 -11
  1376. package/template/lib/ts/node_modules/eslint/messages/file-not-found.js +0 -10
  1377. package/template/lib/ts/node_modules/eslint/messages/invalid-rule-options.js +0 -17
  1378. package/template/lib/ts/node_modules/eslint/messages/invalid-rule-severity.js +0 -13
  1379. package/template/lib/ts/node_modules/eslint/messages/no-config-found.js +0 -15
  1380. package/template/lib/ts/node_modules/eslint/messages/plugin-conflict.js +0 -22
  1381. package/template/lib/ts/node_modules/eslint/messages/plugin-invalid.js +0 -16
  1382. package/template/lib/ts/node_modules/eslint/messages/plugin-missing.js +0 -19
  1383. package/template/lib/ts/node_modules/eslint/messages/print-config-with-directory-path.js +0 -8
  1384. package/template/lib/ts/node_modules/eslint/messages/shared.js +0 -18
  1385. package/template/lib/ts/node_modules/eslint/messages/whitespace-found.js +0 -11
  1386. package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint +0 -17
  1387. package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.CMD +0 -12
  1388. package/template/lib/ts/node_modules/eslint/node_modules/.bin/eslint.ps1 +0 -41
  1389. package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml +0 -17
  1390. package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.CMD +0 -12
  1391. package/template/lib/ts/node_modules/eslint/node_modules/.bin/js-yaml.ps1 +0 -41
  1392. package/template/lib/ts/node_modules/eslint/package.json +0 -179
  1393. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/LICENSE +0 -5
  1394. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/README.md +0 -232
  1395. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.cjs +0 -278
  1396. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.d.ts +0 -20
  1397. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +0 -251
  1398. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js +0 -252
  1399. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/lib/index.js.map +0 -1
  1400. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint +0 -17
  1401. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.CMD +0 -12
  1402. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/node_modules/.bin/eslint.ps1 +0 -41
  1403. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/package.json +0 -108
  1404. package/template/lib/ts/node_modules/eslint-import-resolver-typescript/shim.d.ts +0 -4
  1405. package/template/lib/ts/node_modules/eslint-plugin-import/CHANGELOG.md +0 -1925
  1406. package/template/lib/ts/node_modules/eslint-plugin-import/CONTRIBUTING.md +0 -84
  1407. package/template/lib/ts/node_modules/eslint-plugin-import/LICENSE +0 -22
  1408. package/template/lib/ts/node_modules/eslint-plugin-import/README.md +0 -500
  1409. package/template/lib/ts/node_modules/eslint-plugin-import/RELEASE.md +0 -54
  1410. package/template/lib/ts/node_modules/eslint-plugin-import/SECURITY.md +0 -11
  1411. package/template/lib/ts/node_modules/eslint-plugin-import/config/electron.js +0 -8
  1412. package/template/lib/ts/node_modules/eslint-plugin-import/config/errors.js +0 -14
  1413. package/template/lib/ts/node_modules/eslint-plugin-import/config/react-native.js +0 -13
  1414. package/template/lib/ts/node_modules/eslint-plugin-import/config/react.js +0 -18
  1415. package/template/lib/ts/node_modules/eslint-plugin-import/config/recommended.js +0 -28
  1416. package/template/lib/ts/node_modules/eslint-plugin-import/config/stage-0.js +0 -12
  1417. package/template/lib/ts/node_modules/eslint-plugin-import/config/typescript.js +0 -34
  1418. package/template/lib/ts/node_modules/eslint-plugin-import/config/warnings.js +0 -12
  1419. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +0 -91
  1420. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/default.md +0 -72
  1421. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +0 -92
  1422. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/export.md +0 -37
  1423. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/exports-last.md +0 -51
  1424. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/extensions.md +0 -174
  1425. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/first.md +0 -75
  1426. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/group-exports.md +0 -118
  1427. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/imports-first.md +0 -9
  1428. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +0 -70
  1429. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/named.md +0 -102
  1430. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/namespace.md +0 -106
  1431. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +0 -167
  1432. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +0 -54
  1433. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-amd.md +0 -37
  1434. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +0 -83
  1435. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +0 -96
  1436. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +0 -111
  1437. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-default-export.md +0 -65
  1438. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +0 -62
  1439. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +0 -109
  1440. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-dynamic-require.md +0 -25
  1441. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +0 -49
  1442. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +0 -139
  1443. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +0 -81
  1444. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +0 -136
  1445. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +0 -54
  1446. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +0 -52
  1447. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +0 -53
  1448. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +0 -36
  1449. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-named-export.md +0 -79
  1450. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +0 -44
  1451. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +0 -42
  1452. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +0 -70
  1453. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +0 -123
  1454. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +0 -198
  1455. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-self-import.md +0 -32
  1456. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +0 -60
  1457. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +0 -110
  1458. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +0 -125
  1459. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +0 -85
  1460. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +0 -39
  1461. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/order.md +0 -365
  1462. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +0 -185
  1463. package/template/lib/ts/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +0 -57
  1464. package/template/lib/ts/node_modules/eslint-plugin-import/lib/ExportMap.js +0 -856
  1465. package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/importType.js +0 -129
  1466. package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/packagePath.js +0 -22
  1467. package/template/lib/ts/node_modules/eslint-plugin-import/lib/core/staticRequire.js +0 -11
  1468. package/template/lib/ts/node_modules/eslint-plugin-import/lib/docsUrl.js +0 -8
  1469. package/template/lib/ts/node_modules/eslint-plugin-import/lib/importDeclaration.js +0 -5
  1470. package/template/lib/ts/node_modules/eslint-plugin-import/lib/index.js +0 -71
  1471. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/consistent-type-specifier-style.js +0 -221
  1472. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/default.js +0 -40
  1473. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/dynamic-import-chunkname.js +0 -120
  1474. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/export.js +0 -250
  1475. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/exports-last.js +0 -40
  1476. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/extensions.js +0 -193
  1477. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/first.js +0 -144
  1478. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/group-exports.js +0 -155
  1479. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/imports-first.js +0 -16
  1480. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/max-dependencies.js +0 -60
  1481. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/named.js +0 -143
  1482. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/namespace.js +0 -218
  1483. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/newline-after-import.js +0 -237
  1484. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-absolute-path.js +0 -40
  1485. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-amd.js +0 -47
  1486. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-anonymous-default-export.js +0 -103
  1487. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-commonjs.js +0 -141
  1488. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-cycle.js +0 -158
  1489. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-default-export.js +0 -43
  1490. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-deprecated.js +0 -138
  1491. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-duplicates.js +0 -354
  1492. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-dynamic-require.js +0 -77
  1493. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-empty-named-blocks.js +0 -105
  1494. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-extraneous-dependencies.js +0 -301
  1495. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-import-module-exports.js +0 -85
  1496. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-internal-modules.js +0 -144
  1497. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js +0 -59
  1498. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default-member.js +0 -96
  1499. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-as-default.js +0 -45
  1500. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-default.js +0 -31
  1501. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-named-export.js +0 -39
  1502. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-namespace.js +0 -175
  1503. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-nodejs-modules.js +0 -44
  1504. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-packages.js +0 -71
  1505. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-relative-parent-imports.js +0 -48
  1506. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-restricted-paths.js +0 -245
  1507. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-self-import.js +0 -39
  1508. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unassigned-import.js +0 -79
  1509. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js +0 -60
  1510. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-unused-modules.js +0 -945
  1511. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-useless-path-segments.js +0 -147
  1512. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/no-webpack-loader-syntax.js +0 -26
  1513. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/order.js +0 -785
  1514. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/prefer-default-export.js +0 -116
  1515. package/template/lib/ts/node_modules/eslint-plugin-import/lib/rules/unambiguous.js +0 -38
  1516. package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/LICENSE +0 -22
  1517. package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/README.md +0 -21
  1518. package/template/lib/ts/node_modules/eslint-plugin-import/memo-parser/index.js +0 -41
  1519. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint +0 -17
  1520. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.CMD +0 -12
  1521. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/eslint.ps1 +0 -41
  1522. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver +0 -17
  1523. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.CMD +0 -12
  1524. package/template/lib/ts/node_modules/eslint-plugin-import/node_modules/.bin/semver.ps1 +0 -41
  1525. package/template/lib/ts/node_modules/eslint-plugin-import/package.json +0 -124
  1526. package/template/lib/ts/node_modules/eslint-plugin-prettier/LICENSE.md +0 -24
  1527. package/template/lib/ts/node_modules/eslint-plugin-prettier/README.md +0 -202
  1528. package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.d.ts +0 -5
  1529. package/template/lib/ts/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js +0 -254
  1530. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint +0 -17
  1531. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier +0 -17
  1532. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.CMD +0 -12
  1533. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint-config-prettier.ps1 +0 -41
  1534. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.CMD +0 -12
  1535. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/eslint.ps1 +0 -41
  1536. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier +0 -17
  1537. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.CMD +0 -12
  1538. package/template/lib/ts/node_modules/eslint-plugin-prettier/node_modules/.bin/prettier.ps1 +0 -41
  1539. package/template/lib/ts/node_modules/eslint-plugin-prettier/package.json +0 -101
  1540. package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.d.ts +0 -5
  1541. package/template/lib/ts/node_modules/eslint-plugin-prettier/recommended.js +0 -17
  1542. package/template/lib/ts/node_modules/eslint-plugin-prettier/worker.js +0 -181
  1543. package/template/lib/ts/node_modules/prettier/LICENSE +0 -4857
  1544. package/template/lib/ts/node_modules/prettier/README.md +0 -109
  1545. package/template/lib/ts/node_modules/prettier/bin/prettier.cjs +0 -68
  1546. package/template/lib/ts/node_modules/prettier/doc.d.ts +0 -243
  1547. package/template/lib/ts/node_modules/prettier/doc.js +0 -1328
  1548. package/template/lib/ts/node_modules/prettier/doc.mjs +0 -1300
  1549. package/template/lib/ts/node_modules/prettier/index.cjs +0 -648
  1550. package/template/lib/ts/node_modules/prettier/index.d.ts +0 -940
  1551. package/template/lib/ts/node_modules/prettier/index.mjs +0 -24255
  1552. package/template/lib/ts/node_modules/prettier/internal/cli.mjs +0 -7089
  1553. package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier +0 -17
  1554. package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.CMD +0 -12
  1555. package/template/lib/ts/node_modules/prettier/node_modules/.bin/prettier.ps1 +0 -41
  1556. package/template/lib/ts/node_modules/prettier/package.json +0 -198
  1557. package/template/lib/ts/node_modules/prettier/plugins/acorn.d.ts +0 -6
  1558. package/template/lib/ts/node_modules/prettier/plugins/acorn.js +0 -13
  1559. package/template/lib/ts/node_modules/prettier/plugins/acorn.mjs +0 -13
  1560. package/template/lib/ts/node_modules/prettier/plugins/angular.d.ts +0 -8
  1561. package/template/lib/ts/node_modules/prettier/plugins/angular.js +0 -1
  1562. package/template/lib/ts/node_modules/prettier/plugins/angular.mjs +0 -1
  1563. package/template/lib/ts/node_modules/prettier/plugins/babel.d.ts +0 -18
  1564. package/template/lib/ts/node_modules/prettier/plugins/babel.js +0 -16
  1565. package/template/lib/ts/node_modules/prettier/plugins/babel.mjs +0 -16
  1566. package/template/lib/ts/node_modules/prettier/plugins/estree.d.ts +0 -1
  1567. package/template/lib/ts/node_modules/prettier/plugins/estree.js +0 -36
  1568. package/template/lib/ts/node_modules/prettier/plugins/estree.mjs +0 -36
  1569. package/template/lib/ts/node_modules/prettier/plugins/flow.d.ts +0 -5
  1570. package/template/lib/ts/node_modules/prettier/plugins/flow.js +0 -21
  1571. package/template/lib/ts/node_modules/prettier/plugins/flow.mjs +0 -21
  1572. package/template/lib/ts/node_modules/prettier/plugins/glimmer.d.ts +0 -5
  1573. package/template/lib/ts/node_modules/prettier/plugins/glimmer.js +0 -30
  1574. package/template/lib/ts/node_modules/prettier/plugins/glimmer.mjs +0 -30
  1575. package/template/lib/ts/node_modules/prettier/plugins/graphql.d.ts +0 -5
  1576. package/template/lib/ts/node_modules/prettier/plugins/graphql.js +0 -29
  1577. package/template/lib/ts/node_modules/prettier/plugins/graphql.mjs +0 -29
  1578. package/template/lib/ts/node_modules/prettier/plugins/html.d.ts +0 -8
  1579. package/template/lib/ts/node_modules/prettier/plugins/html.js +0 -19
  1580. package/template/lib/ts/node_modules/prettier/plugins/html.mjs +0 -19
  1581. package/template/lib/ts/node_modules/prettier/plugins/markdown.d.ts +0 -7
  1582. package/template/lib/ts/node_modules/prettier/plugins/markdown.js +0 -59
  1583. package/template/lib/ts/node_modules/prettier/plugins/markdown.mjs +0 -59
  1584. package/template/lib/ts/node_modules/prettier/plugins/meriyah.d.ts +0 -5
  1585. package/template/lib/ts/node_modules/prettier/plugins/meriyah.js +0 -5
  1586. package/template/lib/ts/node_modules/prettier/plugins/meriyah.mjs +0 -5
  1587. package/template/lib/ts/node_modules/prettier/plugins/postcss.d.ts +0 -7
  1588. package/template/lib/ts/node_modules/prettier/plugins/postcss.js +0 -49
  1589. package/template/lib/ts/node_modules/prettier/plugins/postcss.mjs +0 -49
  1590. package/template/lib/ts/node_modules/prettier/plugins/typescript.d.ts +0 -5
  1591. package/template/lib/ts/node_modules/prettier/plugins/typescript.js +0 -25
  1592. package/template/lib/ts/node_modules/prettier/plugins/typescript.mjs +0 -25
  1593. package/template/lib/ts/node_modules/prettier/plugins/yaml.d.ts +0 -5
  1594. package/template/lib/ts/node_modules/prettier/plugins/yaml.js +0 -161
  1595. package/template/lib/ts/node_modules/prettier/plugins/yaml.mjs +0 -161
  1596. package/template/lib/ts/node_modules/prettier/standalone.d.ts +0 -33
  1597. package/template/lib/ts/node_modules/prettier/standalone.js +0 -34
  1598. package/template/lib/ts/node_modules/prettier/standalone.mjs +0 -34
  1599. package/template/lib/ts/node_modules/stylelint-config-standard-scss/LICENSE +0 -21
  1600. package/template/lib/ts/node_modules/stylelint-config-standard-scss/README.md +0 -50
  1601. package/template/lib/ts/node_modules/stylelint-config-standard-scss/index.js +0 -67
  1602. package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint +0 -17
  1603. package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.CMD +0 -12
  1604. package/template/lib/ts/node_modules/stylelint-config-standard-scss/node_modules/.bin/stylelint.ps1 +0 -41
  1605. package/template/lib/ts/node_modules/stylelint-config-standard-scss/package.json +0 -58
  1606. /package/template/web-app/{react → react-rspack}/.editorconfig +0 -0
  1607. /package/template/web-app/{react → react-rspack}/.eslintignore +0 -0
  1608. /package/template/web-app/{react → react-rspack}/.gitignore +0 -0
  1609. /package/template/web-app/{react → react-rspack}/.husky/commit-msg +0 -0
  1610. /package/template/web-app/{react → react-rspack}/.husky/pre-commit +0 -0
  1611. /package/template/web-app/{react → react-rspack}/.prettierignore +0 -0
  1612. /package/template/web-app/{react → react-rspack}/.prettierrc +0 -0
  1613. /package/template/web-app/{react → react-rspack}/.stylelintignore +0 -0
  1614. /package/template/web-app/{react → react-rspack}/.stylelintrc +0 -0
  1615. /package/template/web-app/{react → react-rspack}/.vscode/extensions.json +0 -0
  1616. /package/template/web-app/{react → react-rspack}/.vscode/settings.json +0 -0
  1617. /package/template/web-app/{react → react-rspack}/commitlint.config.cjs +0 -0
  1618. /package/template/web-app/{react → react-rspack}/domain/app/app.model.ts +0 -0
  1619. /package/template/web-app/{react → react-rspack}/domain/app/app.styled.ts +0 -0
  1620. /package/template/web-app/{react → react-rspack}/domain/app/components/app-context.tsx +0 -0
  1621. /package/template/web-app/{react → react-rspack}/domain/app/components/app.tsx +0 -0
  1622. /package/template/web-app/{react → react-rspack}/domain/app/components/index.ts +0 -0
  1623. /package/template/web-app/{react → react-rspack}/domain/app/index.ts +0 -0
  1624. /package/template/web-app/{react → react-rspack}/domain/router/home/ids.ts +0 -0
  1625. /package/template/web-app/{react → react-rspack}/domain/router/home/index.ts +0 -0
  1626. /package/template/web-app/{react → react-rspack}/domain/router/home/routes.tsx +0 -0
  1627. /package/template/web-app/{react → react-rspack}/domain/router/ids.ts +0 -0
  1628. /package/template/web-app/{react → react-rspack}/domain/router/index.ts +0 -0
  1629. /package/template/web-app/{react → react-rspack}/domain/router/router.types.ts +0 -0
  1630. /package/template/web-app/{react → react-rspack}/main.tsx +0 -0
  1631. /package/template/web-app/{react → react-rspack}/pages/home/home.styled.ts +0 -0
  1632. /package/template/web-app/{react → react-rspack}/pages/home/home.tsx +0 -0
  1633. /package/template/web-app/{react → react-rspack}/pages/home/index.ts +0 -0
  1634. /package/template/web-app/{react → react-rspack}/pages/index.tsx +0 -0
  1635. /package/template/web-app/{react → react-rspack}/pages/not-found.tsx +0 -0
  1636. /package/template/web-app/{react → react-rspack}/postcss.config.cjs +0 -0
  1637. /package/template/web-app/{react → react-rspack}/scripts/createChunks.ts +0 -0
  1638. /package/template/web-app/{react → react-rspack}/scripts/index.ts +0 -0
  1639. /package/template/web-app/{react → react-rspack}/shared/assets/react.svg +0 -0
  1640. /package/template/web-app/{react → react-rspack}/shared/components/index.ts +0 -0
  1641. /package/template/web-app/{react → react-rspack}/shared/constant/index.ts +0 -0
  1642. /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/defineRouter.types.ts +0 -0
  1643. /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/deineRouter.tsx +0 -0
  1644. /package/template/web-app/{react → react-rspack}/shared/hooks/defineRouter/index.ts +0 -0
  1645. /package/template/web-app/{react → react-rspack}/shared/hooks/index.ts +0 -0
  1646. /package/template/web-app/{react → react-rspack}/shared/hooks/useInterval.ts +0 -0
  1647. /package/template/web-app/{react → react-rspack}/shared/hooks/useLoadingAction.ts +0 -0
  1648. /package/template/web-app/{react → react-rspack}/shared/hooks/useLowPriorityState.ts +0 -0
  1649. /package/template/web-app/{react → react-rspack}/shared/hooks/useSyncState.ts +0 -0
  1650. /package/template/web-app/{react → react-rspack}/shared/hooks/useVisible.ts +0 -0
  1651. /package/template/web-app/{react → react-rspack}/shared/service/api.ts +0 -0
  1652. /package/template/web-app/{react → react-rspack}/shared/service/index.ts +0 -0
  1653. /package/template/web-app/{react → react-rspack}/shared/theme/index.ts +0 -0
  1654. /package/template/web-app/{react → react-rspack}/shared/theme/theme.styled.ts +0 -0
  1655. /package/template/web-app/{react → react-rspack}/shared/tools/componentInstance.tsx +0 -0
  1656. /package/template/web-app/{react → react-rspack}/shared/tools/index.ts +0 -0
  1657. /package/template/web-app/{react → react-rspack}/shared/types/index.ts +0 -0
  1658. /package/template/web-app/{react → react-rspack}/shared/types/utils.ts +0 -0
  1659. /package/template/web-app/{react → react-rspack}/tsconfig.json +0 -0
  1660. /package/template/web-app/{react → react-vite}/.env +0 -0
  1661. /package/template/web-app/{react → react-vite}/.env.development +0 -0
  1662. /package/template/web-app/{react → react-vite}/.eslintrc +0 -0
  1663. /package/template/web-app/{react → react-vite}/README.md +0 -0
  1664. /package/template/web-app/{react → react-vite}/domain/router/router.tsx +0 -0
  1665. /package/template/web-app/{react → react-vite}/index.html +0 -0
  1666. /package/template/web-app/{react → react-vite}/mockUtils.ts +0 -0
  1667. /package/template/web-app/{react → react-vite}/package.json +0 -0
  1668. /package/template/web-app/{react → react-vite}/pages/home/home.mock.ts +0 -0
  1669. /package/template/web-app/{react → react-vite}/public/vite.svg +0 -0
  1670. /package/template/web-app/{react → react-vite}/shared/service/home.ts +0 -0
  1671. /package/template/web-app/{react → react-vite}/shared/service/request.ts +0 -0
  1672. /package/template/web-app/{react → react-vite}/tsconfig.node.json +0 -0
  1673. /package/template/web-app/{react → react-vite}/vite-env.d.ts +0 -0
  1674. /package/template/web-app/{react → react-vite}/vite.config.ts +0 -0
@@ -1,1737 +0,0 @@
1
- /**
2
- * @license React
3
- * react-dom-test-utils.development.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
- (function (global, factory) {
11
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom')) :
12
- typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-dom'], factory) :
13
- (global = global || self, factory(global.ReactTestUtils = {}, global.React, global.ReactDOM));
14
- }(this, (function (exports, React, ReactDOM) { 'use strict';
15
-
16
- var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
17
-
18
- // by calls to these methods by a Babel plugin.
19
- //
20
- // In PROD (or in packages without access to React internals),
21
- // they are left as they are instead.
22
-
23
- function warn(format) {
24
- {
25
- {
26
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
27
- args[_key - 1] = arguments[_key];
28
- }
29
-
30
- printWarning('warn', format, args);
31
- }
32
- }
33
- }
34
- function error(format) {
35
- {
36
- {
37
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
38
- args[_key2 - 1] = arguments[_key2];
39
- }
40
-
41
- printWarning('error', format, args);
42
- }
43
- }
44
- }
45
-
46
- function printWarning(level, format, args) {
47
- // When changing this logic, you might want to also
48
- // update consoleWithStackDev.www.js as well.
49
- {
50
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
51
- var stack = ReactDebugCurrentFrame.getStackAddendum();
52
-
53
- if (stack !== '') {
54
- format += '%s';
55
- args = args.concat([stack]);
56
- } // eslint-disable-next-line react-internal/safe-string-coercion
57
-
58
-
59
- var argsWithFormat = args.map(function (item) {
60
- return String(item);
61
- }); // Careful: RN currently depends on this prefix
62
-
63
- argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
64
- // breaks IE9: https://github.com/facebook/react/issues/13610
65
- // eslint-disable-next-line react-internal/no-production-logging
66
-
67
- Function.prototype.apply.call(console[level], console, argsWithFormat);
68
- }
69
- }
70
-
71
- /**
72
- * `ReactInstanceMap` maintains a mapping from a public facing stateful
73
- * instance (key) and the internal representation (value). This allows public
74
- * methods to accept the user facing instance as an argument and map them back
75
- * to internal methods.
76
- *
77
- * Note that this module is currently shared and assumed to be stateless.
78
- * If this becomes an actual Map, that will break.
79
- */
80
- function get(key) {
81
- return key._reactInternals;
82
- }
83
-
84
- var FunctionComponent = 0;
85
- var ClassComponent = 1;
86
-
87
- var HostRoot = 3; // Root of a host tree. Could be nested inside another node.
88
-
89
- var HostComponent = 5;
90
- var HostText = 6;
91
-
92
- // Don't change these two values. They're used by React Dev Tools.
93
- var NoFlags =
94
- /* */
95
- 0;
96
-
97
- var Placement =
98
- /* */
99
- 2;
100
- var Hydrating =
101
- /* */
102
- 4096;
103
-
104
- var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
105
- function getNearestMountedFiber(fiber) {
106
- var node = fiber;
107
- var nearestMounted = fiber;
108
-
109
- if (!fiber.alternate) {
110
- // If there is no alternate, this might be a new tree that isn't inserted
111
- // yet. If it is, then it will have a pending insertion effect on it.
112
- var nextNode = node;
113
-
114
- do {
115
- node = nextNode;
116
-
117
- if ((node.flags & (Placement | Hydrating)) !== NoFlags) {
118
- // This is an insertion or in-progress hydration. The nearest possible
119
- // mounted fiber is the parent but we need to continue to figure out
120
- // if that one is still mounted.
121
- nearestMounted = node.return;
122
- }
123
-
124
- nextNode = node.return;
125
- } while (nextNode);
126
- } else {
127
- while (node.return) {
128
- node = node.return;
129
- }
130
- }
131
-
132
- if (node.tag === HostRoot) {
133
- // TODO: Check if this was a nested HostRoot when used with
134
- // renderContainerIntoSubtree.
135
- return nearestMounted;
136
- } // If we didn't hit the root, that means that we're in an disconnected tree
137
- // that has been unmounted.
138
-
139
-
140
- return null;
141
- }
142
-
143
- function assertIsMounted(fiber) {
144
- if (getNearestMountedFiber(fiber) !== fiber) {
145
- throw new Error('Unable to find node on an unmounted component.');
146
- }
147
- }
148
-
149
- function findCurrentFiberUsingSlowPath(fiber) {
150
- var alternate = fiber.alternate;
151
-
152
- if (!alternate) {
153
- // If there is no alternate, then we only need to check if it is mounted.
154
- var nearestMounted = getNearestMountedFiber(fiber);
155
-
156
- if (nearestMounted === null) {
157
- throw new Error('Unable to find node on an unmounted component.');
158
- }
159
-
160
- if (nearestMounted !== fiber) {
161
- return null;
162
- }
163
-
164
- return fiber;
165
- } // If we have two possible branches, we'll walk backwards up to the root
166
- // to see what path the root points to. On the way we may hit one of the
167
- // special cases and we'll deal with them.
168
-
169
-
170
- var a = fiber;
171
- var b = alternate;
172
-
173
- while (true) {
174
- var parentA = a.return;
175
-
176
- if (parentA === null) {
177
- // We're at the root.
178
- break;
179
- }
180
-
181
- var parentB = parentA.alternate;
182
-
183
- if (parentB === null) {
184
- // There is no alternate. This is an unusual case. Currently, it only
185
- // happens when a Suspense component is hidden. An extra fragment fiber
186
- // is inserted in between the Suspense fiber and its children. Skip
187
- // over this extra fragment fiber and proceed to the next parent.
188
- var nextParent = parentA.return;
189
-
190
- if (nextParent !== null) {
191
- a = b = nextParent;
192
- continue;
193
- } // If there's no parent, we're at the root.
194
-
195
-
196
- break;
197
- } // If both copies of the parent fiber point to the same child, we can
198
- // assume that the child is current. This happens when we bailout on low
199
- // priority: the bailed out fiber's child reuses the current child.
200
-
201
-
202
- if (parentA.child === parentB.child) {
203
- var child = parentA.child;
204
-
205
- while (child) {
206
- if (child === a) {
207
- // We've determined that A is the current branch.
208
- assertIsMounted(parentA);
209
- return fiber;
210
- }
211
-
212
- if (child === b) {
213
- // We've determined that B is the current branch.
214
- assertIsMounted(parentA);
215
- return alternate;
216
- }
217
-
218
- child = child.sibling;
219
- } // We should never have an alternate for any mounting node. So the only
220
- // way this could possibly happen is if this was unmounted, if at all.
221
-
222
-
223
- throw new Error('Unable to find node on an unmounted component.');
224
- }
225
-
226
- if (a.return !== b.return) {
227
- // The return pointer of A and the return pointer of B point to different
228
- // fibers. We assume that return pointers never criss-cross, so A must
229
- // belong to the child set of A.return, and B must belong to the child
230
- // set of B.return.
231
- a = parentA;
232
- b = parentB;
233
- } else {
234
- // The return pointers point to the same fiber. We'll have to use the
235
- // default, slow path: scan the child sets of each parent alternate to see
236
- // which child belongs to which set.
237
- //
238
- // Search parent A's child set
239
- var didFindChild = false;
240
- var _child = parentA.child;
241
-
242
- while (_child) {
243
- if (_child === a) {
244
- didFindChild = true;
245
- a = parentA;
246
- b = parentB;
247
- break;
248
- }
249
-
250
- if (_child === b) {
251
- didFindChild = true;
252
- b = parentA;
253
- a = parentB;
254
- break;
255
- }
256
-
257
- _child = _child.sibling;
258
- }
259
-
260
- if (!didFindChild) {
261
- // Search parent B's child set
262
- _child = parentB.child;
263
-
264
- while (_child) {
265
- if (_child === a) {
266
- didFindChild = true;
267
- a = parentB;
268
- b = parentA;
269
- break;
270
- }
271
-
272
- if (_child === b) {
273
- didFindChild = true;
274
- b = parentB;
275
- a = parentA;
276
- break;
277
- }
278
-
279
- _child = _child.sibling;
280
- }
281
-
282
- if (!didFindChild) {
283
- throw new Error('Child was not found in either parent set. This indicates a bug ' + 'in React related to the return pointer. Please file an issue.');
284
- }
285
- }
286
- }
287
-
288
- if (a.alternate !== b) {
289
- throw new Error("Return fibers should always be each others' alternates. " + 'This error is likely caused by a bug in React. Please file an issue.');
290
- }
291
- } // If the root is not a host container, we're in a disconnected tree. I.e.
292
- // unmounted.
293
-
294
-
295
- if (a.tag !== HostRoot) {
296
- throw new Error('Unable to find node on an unmounted component.');
297
- }
298
-
299
- if (a.stateNode.current === a) {
300
- // We've determined that A is the current branch.
301
- return fiber;
302
- } // Otherwise B has to be current branch.
303
-
304
-
305
- return alternate;
306
- }
307
-
308
- var assign = Object.assign;
309
-
310
- /**
311
- * `charCode` represents the actual "character code" and is safe to use with
312
- * `String.fromCharCode`. As such, only keys that correspond to printable
313
- * characters produce a valid `charCode`, the only exception to this is Enter.
314
- * The Tab-key is considered non-printable and does not have a `charCode`,
315
- * presumably because it does not produce a tab-character in browsers.
316
- *
317
- * @param {object} nativeEvent Native browser event.
318
- * @return {number} Normalized `charCode` property.
319
- */
320
- function getEventCharCode(nativeEvent) {
321
- var charCode;
322
- var keyCode = nativeEvent.keyCode;
323
-
324
- if ('charCode' in nativeEvent) {
325
- charCode = nativeEvent.charCode; // FF does not set `charCode` for the Enter-key, check against `keyCode`.
326
-
327
- if (charCode === 0 && keyCode === 13) {
328
- charCode = 13;
329
- }
330
- } else {
331
- // IE8 does not implement `charCode`, but `keyCode` has the correct value.
332
- charCode = keyCode;
333
- } // IE and Edge (on Windows) and Chrome / Safari (on Windows and Linux)
334
- // report Enter as charCode 10 when ctrl is pressed.
335
-
336
-
337
- if (charCode === 10) {
338
- charCode = 13;
339
- } // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.
340
- // Must not discard the (non-)printable Enter-key.
341
-
342
-
343
- if (charCode >= 32 || charCode === 13) {
344
- return charCode;
345
- }
346
-
347
- return 0;
348
- }
349
-
350
- function functionThatReturnsTrue() {
351
- return true;
352
- }
353
-
354
- function functionThatReturnsFalse() {
355
- return false;
356
- } // This is intentionally a factory so that we have different returned constructors.
357
- // If we had a single constructor, it would be megamorphic and engines would deopt.
358
-
359
-
360
- function createSyntheticEvent(Interface) {
361
- /**
362
- * Synthetic events are dispatched by event plugins, typically in response to a
363
- * top-level event delegation handler.
364
- *
365
- * These systems should generally use pooling to reduce the frequency of garbage
366
- * collection. The system should check `isPersistent` to determine whether the
367
- * event should be released into the pool after being dispatched. Users that
368
- * need a persisted event should invoke `persist`.
369
- *
370
- * Synthetic events (and subclasses) implement the DOM Level 3 Events API by
371
- * normalizing browser quirks. Subclasses do not necessarily have to implement a
372
- * DOM interface; custom application-specific events can also subclass this.
373
- */
374
- function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) {
375
- this._reactName = reactName;
376
- this._targetInst = targetInst;
377
- this.type = reactEventType;
378
- this.nativeEvent = nativeEvent;
379
- this.target = nativeEventTarget;
380
- this.currentTarget = null;
381
-
382
- for (var _propName in Interface) {
383
- if (!Interface.hasOwnProperty(_propName)) {
384
- continue;
385
- }
386
-
387
- var normalize = Interface[_propName];
388
-
389
- if (normalize) {
390
- this[_propName] = normalize(nativeEvent);
391
- } else {
392
- this[_propName] = nativeEvent[_propName];
393
- }
394
- }
395
-
396
- var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;
397
-
398
- if (defaultPrevented) {
399
- this.isDefaultPrevented = functionThatReturnsTrue;
400
- } else {
401
- this.isDefaultPrevented = functionThatReturnsFalse;
402
- }
403
-
404
- this.isPropagationStopped = functionThatReturnsFalse;
405
- return this;
406
- }
407
-
408
- assign(SyntheticBaseEvent.prototype, {
409
- preventDefault: function () {
410
- this.defaultPrevented = true;
411
- var event = this.nativeEvent;
412
-
413
- if (!event) {
414
- return;
415
- }
416
-
417
- if (event.preventDefault) {
418
- event.preventDefault(); // $FlowFixMe - flow is not aware of `unknown` in IE
419
- } else if (typeof event.returnValue !== 'unknown') {
420
- event.returnValue = false;
421
- }
422
-
423
- this.isDefaultPrevented = functionThatReturnsTrue;
424
- },
425
- stopPropagation: function () {
426
- var event = this.nativeEvent;
427
-
428
- if (!event) {
429
- return;
430
- }
431
-
432
- if (event.stopPropagation) {
433
- event.stopPropagation(); // $FlowFixMe - flow is not aware of `unknown` in IE
434
- } else if (typeof event.cancelBubble !== 'unknown') {
435
- // The ChangeEventPlugin registers a "propertychange" event for
436
- // IE. This event does not support bubbling or cancelling, and
437
- // any references to cancelBubble throw "Member not found". A
438
- // typeof check of "unknown" circumvents this issue (and is also
439
- // IE specific).
440
- event.cancelBubble = true;
441
- }
442
-
443
- this.isPropagationStopped = functionThatReturnsTrue;
444
- },
445
-
446
- /**
447
- * We release all dispatched `SyntheticEvent`s after each event loop, adding
448
- * them back into the pool. This allows a way to hold onto a reference that
449
- * won't be added back into the pool.
450
- */
451
- persist: function () {// Modern event system doesn't use pooling.
452
- },
453
-
454
- /**
455
- * Checks if this event should be released back into the pool.
456
- *
457
- * @return {boolean} True if this should not be released, false otherwise.
458
- */
459
- isPersistent: functionThatReturnsTrue
460
- });
461
- return SyntheticBaseEvent;
462
- }
463
- /**
464
- * @interface Event
465
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
466
- */
467
-
468
-
469
- var EventInterface = {
470
- eventPhase: 0,
471
- bubbles: 0,
472
- cancelable: 0,
473
- timeStamp: function (event) {
474
- return event.timeStamp || Date.now();
475
- },
476
- defaultPrevented: 0,
477
- isTrusted: 0
478
- };
479
- var SyntheticEvent = createSyntheticEvent(EventInterface);
480
-
481
- var UIEventInterface = assign({}, EventInterface, {
482
- view: 0,
483
- detail: 0
484
- });
485
-
486
- var SyntheticUIEvent = createSyntheticEvent(UIEventInterface);
487
- var lastMovementX;
488
- var lastMovementY;
489
- var lastMouseEvent;
490
-
491
- function updateMouseMovementPolyfillState(event) {
492
- if (event !== lastMouseEvent) {
493
- if (lastMouseEvent && event.type === 'mousemove') {
494
- lastMovementX = event.screenX - lastMouseEvent.screenX;
495
- lastMovementY = event.screenY - lastMouseEvent.screenY;
496
- } else {
497
- lastMovementX = 0;
498
- lastMovementY = 0;
499
- }
500
-
501
- lastMouseEvent = event;
502
- }
503
- }
504
- /**
505
- * @interface MouseEvent
506
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
507
- */
508
-
509
-
510
- var MouseEventInterface = assign({}, UIEventInterface, {
511
- screenX: 0,
512
- screenY: 0,
513
- clientX: 0,
514
- clientY: 0,
515
- pageX: 0,
516
- pageY: 0,
517
- ctrlKey: 0,
518
- shiftKey: 0,
519
- altKey: 0,
520
- metaKey: 0,
521
- getModifierState: getEventModifierState,
522
- button: 0,
523
- buttons: 0,
524
- relatedTarget: function (event) {
525
- if (event.relatedTarget === undefined) return event.fromElement === event.srcElement ? event.toElement : event.fromElement;
526
- return event.relatedTarget;
527
- },
528
- movementX: function (event) {
529
- if ('movementX' in event) {
530
- return event.movementX;
531
- }
532
-
533
- updateMouseMovementPolyfillState(event);
534
- return lastMovementX;
535
- },
536
- movementY: function (event) {
537
- if ('movementY' in event) {
538
- return event.movementY;
539
- } // Don't need to call updateMouseMovementPolyfillState() here
540
- // because it's guaranteed to have already run when movementX
541
- // was copied.
542
-
543
-
544
- return lastMovementY;
545
- }
546
- });
547
-
548
- var SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface);
549
- /**
550
- * @interface DragEvent
551
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
552
- */
553
-
554
- var DragEventInterface = assign({}, MouseEventInterface, {
555
- dataTransfer: 0
556
- });
557
-
558
- var SyntheticDragEvent = createSyntheticEvent(DragEventInterface);
559
- /**
560
- * @interface FocusEvent
561
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
562
- */
563
-
564
- var FocusEventInterface = assign({}, UIEventInterface, {
565
- relatedTarget: 0
566
- });
567
-
568
- var SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface);
569
- /**
570
- * @interface Event
571
- * @see http://www.w3.org/TR/css3-animations/#AnimationEvent-interface
572
- * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent
573
- */
574
-
575
- var AnimationEventInterface = assign({}, EventInterface, {
576
- animationName: 0,
577
- elapsedTime: 0,
578
- pseudoElement: 0
579
- });
580
-
581
- var SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface);
582
- /**
583
- * @interface Event
584
- * @see http://www.w3.org/TR/clipboard-apis/
585
- */
586
-
587
- var ClipboardEventInterface = assign({}, EventInterface, {
588
- clipboardData: function (event) {
589
- return 'clipboardData' in event ? event.clipboardData : window.clipboardData;
590
- }
591
- });
592
-
593
- var SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface);
594
- /**
595
- * @interface Event
596
- * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents
597
- */
598
-
599
- var CompositionEventInterface = assign({}, EventInterface, {
600
- data: 0
601
- });
602
-
603
- var SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface);
604
- /**
605
- * Normalization of deprecated HTML5 `key` values
606
- * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
607
- */
608
-
609
- var normalizeKey = {
610
- Esc: 'Escape',
611
- Spacebar: ' ',
612
- Left: 'ArrowLeft',
613
- Up: 'ArrowUp',
614
- Right: 'ArrowRight',
615
- Down: 'ArrowDown',
616
- Del: 'Delete',
617
- Win: 'OS',
618
- Menu: 'ContextMenu',
619
- Apps: 'ContextMenu',
620
- Scroll: 'ScrollLock',
621
- MozPrintableKey: 'Unidentified'
622
- };
623
- /**
624
- * Translation from legacy `keyCode` to HTML5 `key`
625
- * Only special keys supported, all others depend on keyboard layout or browser
626
- * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names
627
- */
628
-
629
- var translateToKey = {
630
- '8': 'Backspace',
631
- '9': 'Tab',
632
- '12': 'Clear',
633
- '13': 'Enter',
634
- '16': 'Shift',
635
- '17': 'Control',
636
- '18': 'Alt',
637
- '19': 'Pause',
638
- '20': 'CapsLock',
639
- '27': 'Escape',
640
- '32': ' ',
641
- '33': 'PageUp',
642
- '34': 'PageDown',
643
- '35': 'End',
644
- '36': 'Home',
645
- '37': 'ArrowLeft',
646
- '38': 'ArrowUp',
647
- '39': 'ArrowRight',
648
- '40': 'ArrowDown',
649
- '45': 'Insert',
650
- '46': 'Delete',
651
- '112': 'F1',
652
- '113': 'F2',
653
- '114': 'F3',
654
- '115': 'F4',
655
- '116': 'F5',
656
- '117': 'F6',
657
- '118': 'F7',
658
- '119': 'F8',
659
- '120': 'F9',
660
- '121': 'F10',
661
- '122': 'F11',
662
- '123': 'F12',
663
- '144': 'NumLock',
664
- '145': 'ScrollLock',
665
- '224': 'Meta'
666
- };
667
- /**
668
- * @param {object} nativeEvent Native browser event.
669
- * @return {string} Normalized `key` property.
670
- */
671
-
672
- function getEventKey(nativeEvent) {
673
- if (nativeEvent.key) {
674
- // Normalize inconsistent values reported by browsers due to
675
- // implementations of a working draft specification.
676
- // FireFox implements `key` but returns `MozPrintableKey` for all
677
- // printable characters (normalized to `Unidentified`), ignore it.
678
- var key = normalizeKey[nativeEvent.key] || nativeEvent.key;
679
-
680
- if (key !== 'Unidentified') {
681
- return key;
682
- }
683
- } // Browser does not implement `key`, polyfill as much of it as we can.
684
-
685
-
686
- if (nativeEvent.type === 'keypress') {
687
- var charCode = getEventCharCode(nativeEvent); // The enter-key is technically both printable and non-printable and can
688
- // thus be captured by `keypress`, no other non-printable key should.
689
-
690
- return charCode === 13 ? 'Enter' : String.fromCharCode(charCode);
691
- }
692
-
693
- if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') {
694
- // While user keyboard layout determines the actual meaning of each
695
- // `keyCode` value, almost all function keys have a universal value.
696
- return translateToKey[nativeEvent.keyCode] || 'Unidentified';
697
- }
698
-
699
- return '';
700
- }
701
- /**
702
- * Translation from modifier key to the associated property in the event.
703
- * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers
704
- */
705
-
706
-
707
- var modifierKeyToProp = {
708
- Alt: 'altKey',
709
- Control: 'ctrlKey',
710
- Meta: 'metaKey',
711
- Shift: 'shiftKey'
712
- }; // Older browsers (Safari <= 10, iOS Safari <= 10.2) do not support
713
- // getModifierState. If getModifierState is not supported, we map it to a set of
714
- // modifier keys exposed by the event. In this case, Lock-keys are not supported.
715
-
716
- function modifierStateGetter(keyArg) {
717
- var syntheticEvent = this;
718
- var nativeEvent = syntheticEvent.nativeEvent;
719
-
720
- if (nativeEvent.getModifierState) {
721
- return nativeEvent.getModifierState(keyArg);
722
- }
723
-
724
- var keyProp = modifierKeyToProp[keyArg];
725
- return keyProp ? !!nativeEvent[keyProp] : false;
726
- }
727
-
728
- function getEventModifierState(nativeEvent) {
729
- return modifierStateGetter;
730
- }
731
- /**
732
- * @interface KeyboardEvent
733
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
734
- */
735
-
736
-
737
- var KeyboardEventInterface = assign({}, UIEventInterface, {
738
- key: getEventKey,
739
- code: 0,
740
- location: 0,
741
- ctrlKey: 0,
742
- shiftKey: 0,
743
- altKey: 0,
744
- metaKey: 0,
745
- repeat: 0,
746
- locale: 0,
747
- getModifierState: getEventModifierState,
748
- // Legacy Interface
749
- charCode: function (event) {
750
- // `charCode` is the result of a KeyPress event and represents the value of
751
- // the actual printable character.
752
- // KeyPress is deprecated, but its replacement is not yet final and not
753
- // implemented in any major browser. Only KeyPress has charCode.
754
- if (event.type === 'keypress') {
755
- return getEventCharCode(event);
756
- }
757
-
758
- return 0;
759
- },
760
- keyCode: function (event) {
761
- // `keyCode` is the result of a KeyDown/Up event and represents the value of
762
- // physical keyboard key.
763
- // The actual meaning of the value depends on the users' keyboard layout
764
- // which cannot be detected. Assuming that it is a US keyboard layout
765
- // provides a surprisingly accurate mapping for US and European users.
766
- // Due to this, it is left to the user to implement at this time.
767
- if (event.type === 'keydown' || event.type === 'keyup') {
768
- return event.keyCode;
769
- }
770
-
771
- return 0;
772
- },
773
- which: function (event) {
774
- // `which` is an alias for either `keyCode` or `charCode` depending on the
775
- // type of the event.
776
- if (event.type === 'keypress') {
777
- return getEventCharCode(event);
778
- }
779
-
780
- if (event.type === 'keydown' || event.type === 'keyup') {
781
- return event.keyCode;
782
- }
783
-
784
- return 0;
785
- }
786
- });
787
-
788
- var SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface);
789
- /**
790
- * @interface PointerEvent
791
- * @see http://www.w3.org/TR/pointerevents/
792
- */
793
-
794
- var PointerEventInterface = assign({}, MouseEventInterface, {
795
- pointerId: 0,
796
- width: 0,
797
- height: 0,
798
- pressure: 0,
799
- tangentialPressure: 0,
800
- tiltX: 0,
801
- tiltY: 0,
802
- twist: 0,
803
- pointerType: 0,
804
- isPrimary: 0
805
- });
806
-
807
- var SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface);
808
- /**
809
- * @interface TouchEvent
810
- * @see http://www.w3.org/TR/touch-events/
811
- */
812
-
813
- var TouchEventInterface = assign({}, UIEventInterface, {
814
- touches: 0,
815
- targetTouches: 0,
816
- changedTouches: 0,
817
- altKey: 0,
818
- metaKey: 0,
819
- ctrlKey: 0,
820
- shiftKey: 0,
821
- getModifierState: getEventModifierState
822
- });
823
-
824
- var SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface);
825
- /**
826
- * @interface Event
827
- * @see http://www.w3.org/TR/2009/WD-css3-transitions-20090320/#transition-events-
828
- * @see https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent
829
- */
830
-
831
- var TransitionEventInterface = assign({}, EventInterface, {
832
- propertyName: 0,
833
- elapsedTime: 0,
834
- pseudoElement: 0
835
- });
836
-
837
- var SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface);
838
- /**
839
- * @interface WheelEvent
840
- * @see http://www.w3.org/TR/DOM-Level-3-Events/
841
- */
842
-
843
- var WheelEventInterface = assign({}, MouseEventInterface, {
844
- deltaX: function (event) {
845
- return 'deltaX' in event ? event.deltaX : // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
846
- 'wheelDeltaX' in event ? -event.wheelDeltaX : 0;
847
- },
848
- deltaY: function (event) {
849
- return 'deltaY' in event ? event.deltaY : // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).
850
- 'wheelDeltaY' in event ? -event.wheelDeltaY : // Fallback to `wheelDelta` for IE<9 and normalize (down is positive).
851
- 'wheelDelta' in event ? -event.wheelDelta : 0;
852
- },
853
- deltaZ: 0,
854
- // Browsers without "deltaMode" is reporting in raw wheel delta where one
855
- // notch on the scroll is always +/- 120, roughly equivalent to pixels.
856
- // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or
857
- // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
858
- deltaMode: 0
859
- });
860
-
861
- var SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface);
862
-
863
- /**
864
- * HTML nodeType values that represent the type of the node
865
- */
866
- var ELEMENT_NODE = 1;
867
-
868
- function invokeGuardedCallbackProd(name, func, context, a, b, c, d, e, f) {
869
- var funcArgs = Array.prototype.slice.call(arguments, 3);
870
-
871
- try {
872
- func.apply(context, funcArgs);
873
- } catch (error) {
874
- this.onError(error);
875
- }
876
- }
877
-
878
- var invokeGuardedCallbackImpl = invokeGuardedCallbackProd;
879
-
880
- {
881
- // In DEV mode, we swap out invokeGuardedCallback for a special version
882
- // that plays more nicely with the browser's DevTools. The idea is to preserve
883
- // "Pause on exceptions" behavior. Because React wraps all user-provided
884
- // functions in invokeGuardedCallback, and the production version of
885
- // invokeGuardedCallback uses a try-catch, all user exceptions are treated
886
- // like caught exceptions, and the DevTools won't pause unless the developer
887
- // takes the extra step of enabling pause on caught exceptions. This is
888
- // unintuitive, though, because even though React has caught the error, from
889
- // the developer's perspective, the error is uncaught.
890
- //
891
- // To preserve the expected "Pause on exceptions" behavior, we don't use a
892
- // try-catch in DEV. Instead, we synchronously dispatch a fake event to a fake
893
- // DOM node, and call the user-provided callback from inside an event handler
894
- // for that fake event. If the callback throws, the error is "captured" using
895
- // a global event handler. But because the error happens in a different
896
- // event loop context, it does not interrupt the normal program flow.
897
- // Effectively, this gives us try-catch behavior without actually using
898
- // try-catch. Neat!
899
- // Check that the browser supports the APIs we need to implement our special
900
- // DEV version of invokeGuardedCallback
901
- if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {
902
- var fakeNode = document.createElement('react');
903
-
904
- invokeGuardedCallbackImpl = function invokeGuardedCallbackDev(name, func, context, a, b, c, d, e, f) {
905
- // If document doesn't exist we know for sure we will crash in this method
906
- // when we call document.createEvent(). However this can cause confusing
907
- // errors: https://github.com/facebook/create-react-app/issues/3482
908
- // So we preemptively throw with a better message instead.
909
- if (typeof document === 'undefined' || document === null) {
910
- throw new Error('The `document` global was defined when React was initialized, but is not ' + 'defined anymore. This can happen in a test environment if a component ' + 'schedules an update from an asynchronous callback, but the test has already ' + 'finished running. To solve this, you can either unmount the component at ' + 'the end of your test (and ensure that any asynchronous operations get ' + 'canceled in `componentWillUnmount`), or you can change the test itself ' + 'to be asynchronous.');
911
- }
912
-
913
- var evt = document.createEvent('Event');
914
- var didCall = false; // Keeps track of whether the user-provided callback threw an error. We
915
- // set this to true at the beginning, then set it to false right after
916
- // calling the function. If the function errors, `didError` will never be
917
- // set to false. This strategy works even if the browser is flaky and
918
- // fails to call our global error handler, because it doesn't rely on
919
- // the error event at all.
920
-
921
- var didError = true; // Keeps track of the value of window.event so that we can reset it
922
- // during the callback to let user code access window.event in the
923
- // browsers that support it.
924
-
925
- var windowEvent = window.event; // Keeps track of the descriptor of window.event to restore it after event
926
- // dispatching: https://github.com/facebook/react/issues/13688
927
-
928
- var windowEventDescriptor = Object.getOwnPropertyDescriptor(window, 'event');
929
-
930
- function restoreAfterDispatch() {
931
- // We immediately remove the callback from event listeners so that
932
- // nested `invokeGuardedCallback` calls do not clash. Otherwise, a
933
- // nested call would trigger the fake event handlers of any call higher
934
- // in the stack.
935
- fakeNode.removeEventListener(evtType, callCallback, false); // We check for window.hasOwnProperty('event') to prevent the
936
- // window.event assignment in both IE <= 10 as they throw an error
937
- // "Member not found" in strict mode, and in Firefox which does not
938
- // support window.event.
939
-
940
- if (typeof window.event !== 'undefined' && window.hasOwnProperty('event')) {
941
- window.event = windowEvent;
942
- }
943
- } // Create an event handler for our fake event. We will synchronously
944
- // dispatch our fake event using `dispatchEvent`. Inside the handler, we
945
- // call the user-provided callback.
946
-
947
-
948
- var funcArgs = Array.prototype.slice.call(arguments, 3);
949
-
950
- function callCallback() {
951
- didCall = true;
952
- restoreAfterDispatch();
953
- func.apply(context, funcArgs);
954
- didError = false;
955
- } // Create a global error event handler. We use this to capture the value
956
- // that was thrown. It's possible that this error handler will fire more
957
- // than once; for example, if non-React code also calls `dispatchEvent`
958
- // and a handler for that event throws. We should be resilient to most of
959
- // those cases. Even if our error event handler fires more than once, the
960
- // last error event is always used. If the callback actually does error,
961
- // we know that the last error event is the correct one, because it's not
962
- // possible for anything else to have happened in between our callback
963
- // erroring and the code that follows the `dispatchEvent` call below. If
964
- // the callback doesn't error, but the error event was fired, we know to
965
- // ignore it because `didError` will be false, as described above.
966
-
967
-
968
- var error; // Use this to track whether the error event is ever called.
969
-
970
- var didSetError = false;
971
- var isCrossOriginError = false;
972
-
973
- function handleWindowError(event) {
974
- error = event.error;
975
- didSetError = true;
976
-
977
- if (error === null && event.colno === 0 && event.lineno === 0) {
978
- isCrossOriginError = true;
979
- }
980
-
981
- if (event.defaultPrevented) {
982
- // Some other error handler has prevented default.
983
- // Browsers silence the error report if this happens.
984
- // We'll remember this to later decide whether to log it or not.
985
- if (error != null && typeof error === 'object') {
986
- try {
987
- error._suppressLogging = true;
988
- } catch (inner) {// Ignore.
989
- }
990
- }
991
- }
992
- } // Create a fake event type.
993
-
994
-
995
- var evtType = "react-" + (name ? name : 'invokeguardedcallback'); // Attach our event handlers
996
-
997
- window.addEventListener('error', handleWindowError);
998
- fakeNode.addEventListener(evtType, callCallback, false); // Synchronously dispatch our fake event. If the user-provided function
999
- // errors, it will trigger our global error handler.
1000
-
1001
- evt.initEvent(evtType, false, false);
1002
- fakeNode.dispatchEvent(evt);
1003
-
1004
- if (windowEventDescriptor) {
1005
- Object.defineProperty(window, 'event', windowEventDescriptor);
1006
- }
1007
-
1008
- if (didCall && didError) {
1009
- if (!didSetError) {
1010
- // The callback errored, but the error event never fired.
1011
- // eslint-disable-next-line react-internal/prod-error-codes
1012
- error = new Error('An error was thrown inside one of your components, but React ' + "doesn't know what it was. This is likely due to browser " + 'flakiness. React does its best to preserve the "Pause on ' + 'exceptions" behavior of the DevTools, which requires some ' + "DEV-mode only tricks. It's possible that these don't work in " + 'your browser. Try triggering the error in production mode, ' + 'or switching to a modern browser. If you suspect that this is ' + 'actually an issue with React, please file an issue.');
1013
- } else if (isCrossOriginError) {
1014
- // eslint-disable-next-line react-internal/prod-error-codes
1015
- error = new Error("A cross-origin error was thrown. React doesn't have access to " + 'the actual error object in development. ' + 'See https://reactjs.org/link/crossorigin-error for more information.');
1016
- }
1017
-
1018
- this.onError(error);
1019
- } // Remove our event listeners
1020
-
1021
-
1022
- window.removeEventListener('error', handleWindowError);
1023
-
1024
- if (!didCall) {
1025
- // Something went really wrong, and our event was not dispatched.
1026
- // https://github.com/facebook/react/issues/16734
1027
- // https://github.com/facebook/react/issues/16585
1028
- // Fall back to the production implementation.
1029
- restoreAfterDispatch();
1030
- return invokeGuardedCallbackProd.apply(this, arguments);
1031
- }
1032
- };
1033
- }
1034
- }
1035
-
1036
- var invokeGuardedCallbackImpl$1 = invokeGuardedCallbackImpl;
1037
-
1038
- var hasError = false;
1039
- var caughtError = null; // Used by event system to capture/rethrow the first error.
1040
-
1041
- var hasRethrowError = false;
1042
- var rethrowError = null;
1043
- var reporter = {
1044
- onError: function (error) {
1045
- hasError = true;
1046
- caughtError = error;
1047
- }
1048
- };
1049
- /**
1050
- * Call a function while guarding against errors that happens within it.
1051
- * Returns an error if it throws, otherwise null.
1052
- *
1053
- * In production, this is implemented using a try-catch. The reason we don't
1054
- * use a try-catch directly is so that we can swap out a different
1055
- * implementation in DEV mode.
1056
- *
1057
- * @param {String} name of the guard to use for logging or debugging
1058
- * @param {Function} func The function to invoke
1059
- * @param {*} context The context to use when calling the function
1060
- * @param {...*} args Arguments for function
1061
- */
1062
-
1063
- function invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {
1064
- hasError = false;
1065
- caughtError = null;
1066
- invokeGuardedCallbackImpl$1.apply(reporter, arguments);
1067
- }
1068
- /**
1069
- * Same as invokeGuardedCallback, but instead of returning an error, it stores
1070
- * it in a global so it can be rethrown by `rethrowCaughtError` later.
1071
- * TODO: See if caughtError and rethrowError can be unified.
1072
- *
1073
- * @param {String} name of the guard to use for logging or debugging
1074
- * @param {Function} func The function to invoke
1075
- * @param {*} context The context to use when calling the function
1076
- * @param {...*} args Arguments for function
1077
- */
1078
-
1079
- function invokeGuardedCallbackAndCatchFirstError(name, func, context, a, b, c, d, e, f) {
1080
- invokeGuardedCallback.apply(this, arguments);
1081
-
1082
- if (hasError) {
1083
- var error = clearCaughtError();
1084
-
1085
- if (!hasRethrowError) {
1086
- hasRethrowError = true;
1087
- rethrowError = error;
1088
- }
1089
- }
1090
- }
1091
- /**
1092
- * During execution of guarded functions we will capture the first error which
1093
- * we will rethrow to be handled by the top level error handler.
1094
- */
1095
-
1096
- function rethrowCaughtError() {
1097
- if (hasRethrowError) {
1098
- var error = rethrowError;
1099
- hasRethrowError = false;
1100
- rethrowError = null;
1101
- throw error;
1102
- }
1103
- }
1104
- function clearCaughtError() {
1105
- if (hasError) {
1106
- var error = caughtError;
1107
- hasError = false;
1108
- caughtError = null;
1109
- return error;
1110
- } else {
1111
- throw new Error('clearCaughtError was called but no error was captured. This error ' + 'is likely caused by a bug in React. Please file an issue.');
1112
- }
1113
- }
1114
-
1115
- var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare
1116
-
1117
- function isArray(a) {
1118
- return isArrayImpl(a);
1119
- }
1120
-
1121
- var SecretInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1122
- var EventInternals = SecretInternals.Events;
1123
- var getInstanceFromNode = EventInternals[0];
1124
- var getNodeFromInstance = EventInternals[1];
1125
- var getFiberCurrentPropsFromNode = EventInternals[2];
1126
- var enqueueStateRestore = EventInternals[3];
1127
- var restoreStateIfNeeded = EventInternals[4];
1128
- var act = React.unstable_act;
1129
-
1130
- function Event(suffix) {}
1131
-
1132
- var hasWarnedAboutDeprecatedMockComponent = false;
1133
- /**
1134
- * @class ReactTestUtils
1135
- */
1136
-
1137
- function findAllInRenderedFiberTreeInternal(fiber, test) {
1138
- if (!fiber) {
1139
- return [];
1140
- }
1141
-
1142
- var currentParent = findCurrentFiberUsingSlowPath(fiber);
1143
-
1144
- if (!currentParent) {
1145
- return [];
1146
- }
1147
-
1148
- var node = currentParent;
1149
- var ret = [];
1150
-
1151
- while (true) {
1152
- if (node.tag === HostComponent || node.tag === HostText || node.tag === ClassComponent || node.tag === FunctionComponent) {
1153
- var publicInst = node.stateNode;
1154
-
1155
- if (test(publicInst)) {
1156
- ret.push(publicInst);
1157
- }
1158
- }
1159
-
1160
- if (node.child) {
1161
- node.child.return = node;
1162
- node = node.child;
1163
- continue;
1164
- }
1165
-
1166
- if (node === currentParent) {
1167
- return ret;
1168
- }
1169
-
1170
- while (!node.sibling) {
1171
- if (!node.return || node.return === currentParent) {
1172
- return ret;
1173
- }
1174
-
1175
- node = node.return;
1176
- }
1177
-
1178
- node.sibling.return = node.return;
1179
- node = node.sibling;
1180
- }
1181
- }
1182
-
1183
- function validateClassInstance(inst, methodName) {
1184
- if (!inst) {
1185
- // This is probably too relaxed but it's existing behavior.
1186
- return;
1187
- }
1188
-
1189
- if (get(inst)) {
1190
- // This is a public instance indeed.
1191
- return;
1192
- }
1193
-
1194
- var received;
1195
- var stringified = String(inst);
1196
-
1197
- if (isArray(inst)) {
1198
- received = 'an array';
1199
- } else if (inst && inst.nodeType === ELEMENT_NODE && inst.tagName) {
1200
- received = 'a DOM node';
1201
- } else if (stringified === '[object Object]') {
1202
- received = 'object with keys {' + Object.keys(inst).join(', ') + '}';
1203
- } else {
1204
- received = stringified;
1205
- }
1206
-
1207
- throw new Error(methodName + "(...): the first argument must be a React class instance. " + ("Instead received: " + received + "."));
1208
- }
1209
- /**
1210
- * Utilities for making it easy to test React components.
1211
- *
1212
- * See https://reactjs.org/docs/test-utils.html
1213
- *
1214
- * Todo: Support the entire DOM.scry query syntax. For now, these simple
1215
- * utilities will suffice for testing purposes.
1216
- * @lends ReactTestUtils
1217
- */
1218
-
1219
-
1220
- function renderIntoDocument(element) {
1221
- var div = document.createElement('div'); // None of our tests actually require attaching the container to the
1222
- // DOM, and doing so creates a mess that we rely on test isolation to
1223
- // clean up, so we're going to stop honoring the name of this method
1224
- // (and probably rename it eventually) if no problems arise.
1225
- // document.documentElement.appendChild(div);
1226
-
1227
- return ReactDOM.render(element, div);
1228
- }
1229
-
1230
- function isElement(element) {
1231
- return React.isValidElement(element);
1232
- }
1233
-
1234
- function isElementOfType(inst, convenienceConstructor) {
1235
- return React.isValidElement(inst) && inst.type === convenienceConstructor;
1236
- }
1237
-
1238
- function isDOMComponent(inst) {
1239
- return !!(inst && inst.nodeType === ELEMENT_NODE && inst.tagName);
1240
- }
1241
-
1242
- function isDOMComponentElement(inst) {
1243
- return !!(inst && React.isValidElement(inst) && !!inst.tagName);
1244
- }
1245
-
1246
- function isCompositeComponent(inst) {
1247
- if (isDOMComponent(inst)) {
1248
- // Accessing inst.setState warns; just return false as that'll be what
1249
- // this returns when we have DOM nodes as refs directly
1250
- return false;
1251
- }
1252
-
1253
- return inst != null && typeof inst.render === 'function' && typeof inst.setState === 'function';
1254
- }
1255
-
1256
- function isCompositeComponentWithType(inst, type) {
1257
- if (!isCompositeComponent(inst)) {
1258
- return false;
1259
- }
1260
-
1261
- var internalInstance = get(inst);
1262
- var constructor = internalInstance.type;
1263
- return constructor === type;
1264
- }
1265
-
1266
- function findAllInRenderedTree(inst, test) {
1267
- validateClassInstance(inst, 'findAllInRenderedTree');
1268
-
1269
- if (!inst) {
1270
- return [];
1271
- }
1272
-
1273
- var internalInstance = get(inst);
1274
- return findAllInRenderedFiberTreeInternal(internalInstance, test);
1275
- }
1276
- /**
1277
- * Finds all instances of components in the rendered tree that are DOM
1278
- * components with the class name matching `className`.
1279
- * @return {array} an array of all the matches.
1280
- */
1281
-
1282
-
1283
- function scryRenderedDOMComponentsWithClass(root, classNames) {
1284
- validateClassInstance(root, 'scryRenderedDOMComponentsWithClass');
1285
- return findAllInRenderedTree(root, function (inst) {
1286
- if (isDOMComponent(inst)) {
1287
- var className = inst.className;
1288
-
1289
- if (typeof className !== 'string') {
1290
- // SVG, probably.
1291
- className = inst.getAttribute('class') || '';
1292
- }
1293
-
1294
- var classList = className.split(/\s+/);
1295
-
1296
- if (!isArray(classNames)) {
1297
- if (classNames === undefined) {
1298
- throw new Error('TestUtils.scryRenderedDOMComponentsWithClass expects a ' + 'className as a second argument.');
1299
- }
1300
-
1301
- classNames = classNames.split(/\s+/);
1302
- }
1303
-
1304
- return classNames.every(function (name) {
1305
- return classList.indexOf(name) !== -1;
1306
- });
1307
- }
1308
-
1309
- return false;
1310
- });
1311
- }
1312
- /**
1313
- * Like scryRenderedDOMComponentsWithClass but expects there to be one result,
1314
- * and returns that one result, or throws exception if there is any other
1315
- * number of matches besides one.
1316
- * @return {!ReactDOMComponent} The one match.
1317
- */
1318
-
1319
-
1320
- function findRenderedDOMComponentWithClass(root, className) {
1321
- validateClassInstance(root, 'findRenderedDOMComponentWithClass');
1322
- var all = scryRenderedDOMComponentsWithClass(root, className);
1323
-
1324
- if (all.length !== 1) {
1325
- throw new Error('Did not find exactly one match (found: ' + all.length + ') ' + 'for class:' + className);
1326
- }
1327
-
1328
- return all[0];
1329
- }
1330
- /**
1331
- * Finds all instances of components in the rendered tree that are DOM
1332
- * components with the tag name matching `tagName`.
1333
- * @return {array} an array of all the matches.
1334
- */
1335
-
1336
-
1337
- function scryRenderedDOMComponentsWithTag(root, tagName) {
1338
- validateClassInstance(root, 'scryRenderedDOMComponentsWithTag');
1339
- return findAllInRenderedTree(root, function (inst) {
1340
- return isDOMComponent(inst) && inst.tagName.toUpperCase() === tagName.toUpperCase();
1341
- });
1342
- }
1343
- /**
1344
- * Like scryRenderedDOMComponentsWithTag but expects there to be one result,
1345
- * and returns that one result, or throws exception if there is any other
1346
- * number of matches besides one.
1347
- * @return {!ReactDOMComponent} The one match.
1348
- */
1349
-
1350
-
1351
- function findRenderedDOMComponentWithTag(root, tagName) {
1352
- validateClassInstance(root, 'findRenderedDOMComponentWithTag');
1353
- var all = scryRenderedDOMComponentsWithTag(root, tagName);
1354
-
1355
- if (all.length !== 1) {
1356
- throw new Error('Did not find exactly one match (found: ' + all.length + ') ' + 'for tag:' + tagName);
1357
- }
1358
-
1359
- return all[0];
1360
- }
1361
- /**
1362
- * Finds all instances of components with type equal to `componentType`.
1363
- * @return {array} an array of all the matches.
1364
- */
1365
-
1366
-
1367
- function scryRenderedComponentsWithType(root, componentType) {
1368
- validateClassInstance(root, 'scryRenderedComponentsWithType');
1369
- return findAllInRenderedTree(root, function (inst) {
1370
- return isCompositeComponentWithType(inst, componentType);
1371
- });
1372
- }
1373
- /**
1374
- * Same as `scryRenderedComponentsWithType` but expects there to be one result
1375
- * and returns that one result, or throws exception if there is any other
1376
- * number of matches besides one.
1377
- * @return {!ReactComponent} The one match.
1378
- */
1379
-
1380
-
1381
- function findRenderedComponentWithType(root, componentType) {
1382
- validateClassInstance(root, 'findRenderedComponentWithType');
1383
- var all = scryRenderedComponentsWithType(root, componentType);
1384
-
1385
- if (all.length !== 1) {
1386
- throw new Error('Did not find exactly one match (found: ' + all.length + ') ' + 'for componentType:' + componentType);
1387
- }
1388
-
1389
- return all[0];
1390
- }
1391
- /**
1392
- * Pass a mocked component module to this method to augment it with
1393
- * useful methods that allow it to be used as a dummy React component.
1394
- * Instead of rendering as usual, the component will become a simple
1395
- * <div> containing any provided children.
1396
- *
1397
- * @param {object} module the mock function object exported from a
1398
- * module that defines the component to be mocked
1399
- * @param {?string} mockTagName optional dummy root tag name to return
1400
- * from render method (overrides
1401
- * module.mockTagName if provided)
1402
- * @return {object} the ReactTestUtils object (for chaining)
1403
- */
1404
-
1405
-
1406
- function mockComponent(module, mockTagName) {
1407
- {
1408
- if (!hasWarnedAboutDeprecatedMockComponent) {
1409
- hasWarnedAboutDeprecatedMockComponent = true;
1410
-
1411
- warn('ReactTestUtils.mockComponent() is deprecated. ' + 'Use shallow rendering or jest.mock() instead.\n\n' + 'See https://reactjs.org/link/test-utils-mock-component for more information.');
1412
- }
1413
- }
1414
-
1415
- mockTagName = mockTagName || module.mockTagName || 'div';
1416
- module.prototype.render.mockImplementation(function () {
1417
- return React.createElement(mockTagName, null, this.props.children);
1418
- });
1419
- return this;
1420
- }
1421
-
1422
- function nativeTouchData(x, y) {
1423
- return {
1424
- touches: [{
1425
- pageX: x,
1426
- pageY: y
1427
- }]
1428
- };
1429
- } // Start of inline: the below functions were inlined from
1430
- // EventPropagator.js, as they deviated from ReactDOM's newer
1431
- // implementations.
1432
-
1433
- /**
1434
- * Dispatch the event to the listener.
1435
- * @param {SyntheticEvent} event SyntheticEvent to handle
1436
- * @param {function} listener Application-level callback
1437
- * @param {*} inst Internal component instance
1438
- */
1439
-
1440
-
1441
- function executeDispatch(event, listener, inst) {
1442
- var type = event.type || 'unknown-event';
1443
- event.currentTarget = getNodeFromInstance(inst);
1444
- invokeGuardedCallbackAndCatchFirstError(type, listener, undefined, event);
1445
- event.currentTarget = null;
1446
- }
1447
- /**
1448
- * Standard/simple iteration through an event's collected dispatches.
1449
- */
1450
-
1451
-
1452
- function executeDispatchesInOrder(event) {
1453
- var dispatchListeners = event._dispatchListeners;
1454
- var dispatchInstances = event._dispatchInstances;
1455
-
1456
- if (isArray(dispatchListeners)) {
1457
- for (var i = 0; i < dispatchListeners.length; i++) {
1458
- if (event.isPropagationStopped()) {
1459
- break;
1460
- } // Listeners and Instances are two parallel arrays that are always in sync.
1461
-
1462
-
1463
- executeDispatch(event, dispatchListeners[i], dispatchInstances[i]);
1464
- }
1465
- } else if (dispatchListeners) {
1466
- executeDispatch(event, dispatchListeners, dispatchInstances);
1467
- }
1468
-
1469
- event._dispatchListeners = null;
1470
- event._dispatchInstances = null;
1471
- }
1472
- /**
1473
- * Dispatches an event and releases it back into the pool, unless persistent.
1474
- *
1475
- * @param {?object} event Synthetic event to be dispatched.
1476
- * @private
1477
- */
1478
-
1479
-
1480
- var executeDispatchesAndRelease = function (event) {
1481
- if (event) {
1482
- executeDispatchesInOrder(event);
1483
-
1484
- if (!event.isPersistent()) {
1485
- event.constructor.release(event);
1486
- }
1487
- }
1488
- };
1489
-
1490
- function isInteractive(tag) {
1491
- return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';
1492
- }
1493
-
1494
- function getParent(inst) {
1495
- do {
1496
- inst = inst.return; // TODO: If this is a HostRoot we might want to bail out.
1497
- // That is depending on if we want nested subtrees (layers) to bubble
1498
- // events to their parent. We could also go through parentNode on the
1499
- // host node but that wouldn't work for React Native and doesn't let us
1500
- // do the portal feature.
1501
- } while (inst && inst.tag !== HostComponent);
1502
-
1503
- if (inst) {
1504
- return inst;
1505
- }
1506
-
1507
- return null;
1508
- }
1509
- /**
1510
- * Simulates the traversal of a two-phase, capture/bubble event dispatch.
1511
- */
1512
-
1513
-
1514
- function traverseTwoPhase(inst, fn, arg) {
1515
- var path = [];
1516
-
1517
- while (inst) {
1518
- path.push(inst);
1519
- inst = getParent(inst);
1520
- }
1521
-
1522
- var i;
1523
-
1524
- for (i = path.length; i-- > 0;) {
1525
- fn(path[i], 'captured', arg);
1526
- }
1527
-
1528
- for (i = 0; i < path.length; i++) {
1529
- fn(path[i], 'bubbled', arg);
1530
- }
1531
- }
1532
-
1533
- function shouldPreventMouseEvent(name, type, props) {
1534
- switch (name) {
1535
- case 'onClick':
1536
- case 'onClickCapture':
1537
- case 'onDoubleClick':
1538
- case 'onDoubleClickCapture':
1539
- case 'onMouseDown':
1540
- case 'onMouseDownCapture':
1541
- case 'onMouseMove':
1542
- case 'onMouseMoveCapture':
1543
- case 'onMouseUp':
1544
- case 'onMouseUpCapture':
1545
- case 'onMouseEnter':
1546
- return !!(props.disabled && isInteractive(type));
1547
-
1548
- default:
1549
- return false;
1550
- }
1551
- }
1552
- /**
1553
- * @param {object} inst The instance, which is the source of events.
1554
- * @param {string} registrationName Name of listener (e.g. `onClick`).
1555
- * @return {?function} The stored callback.
1556
- */
1557
-
1558
-
1559
- function getListener(inst, registrationName) {
1560
- // TODO: shouldPreventMouseEvent is DOM-specific and definitely should not
1561
- // live here; needs to be moved to a better place soon
1562
- var stateNode = inst.stateNode;
1563
-
1564
- if (!stateNode) {
1565
- // Work in progress (ex: onload events in incremental mode).
1566
- return null;
1567
- }
1568
-
1569
- var props = getFiberCurrentPropsFromNode(stateNode);
1570
-
1571
- if (!props) {
1572
- // Work in progress.
1573
- return null;
1574
- }
1575
-
1576
- var listener = props[registrationName];
1577
-
1578
- if (shouldPreventMouseEvent(registrationName, inst.type, props)) {
1579
- return null;
1580
- }
1581
-
1582
- if (listener && typeof listener !== 'function') {
1583
- throw new Error("Expected `" + registrationName + "` listener to be a function, instead got a value of `" + typeof listener + "` type.");
1584
- }
1585
-
1586
- return listener;
1587
- }
1588
-
1589
- function listenerAtPhase(inst, event, propagationPhase) {
1590
- var registrationName = event._reactName;
1591
-
1592
- if (propagationPhase === 'captured') {
1593
- registrationName += 'Capture';
1594
- }
1595
-
1596
- return getListener(inst, registrationName);
1597
- }
1598
-
1599
- function accumulateDispatches(inst, ignoredDirection, event) {
1600
- if (inst && event && event._reactName) {
1601
- var registrationName = event._reactName;
1602
- var listener = getListener(inst, registrationName);
1603
-
1604
- if (listener) {
1605
- if (event._dispatchListeners == null) {
1606
- event._dispatchListeners = [];
1607
- }
1608
-
1609
- if (event._dispatchInstances == null) {
1610
- event._dispatchInstances = [];
1611
- }
1612
-
1613
- event._dispatchListeners.push(listener);
1614
-
1615
- event._dispatchInstances.push(inst);
1616
- }
1617
- }
1618
- }
1619
-
1620
- function accumulateDirectionalDispatches(inst, phase, event) {
1621
- {
1622
- if (!inst) {
1623
- error('Dispatching inst must not be null');
1624
- }
1625
- }
1626
-
1627
- var listener = listenerAtPhase(inst, event, phase);
1628
-
1629
- if (listener) {
1630
- if (event._dispatchListeners == null) {
1631
- event._dispatchListeners = [];
1632
- }
1633
-
1634
- if (event._dispatchInstances == null) {
1635
- event._dispatchInstances = [];
1636
- }
1637
-
1638
- event._dispatchListeners.push(listener);
1639
-
1640
- event._dispatchInstances.push(inst);
1641
- }
1642
- }
1643
-
1644
- function accumulateDirectDispatchesSingle(event) {
1645
- if (event && event._reactName) {
1646
- accumulateDispatches(event._targetInst, null, event);
1647
- }
1648
- }
1649
-
1650
- function accumulateTwoPhaseDispatchesSingle(event) {
1651
- if (event && event._reactName) {
1652
- traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);
1653
- }
1654
- } // End of inline
1655
-
1656
-
1657
- var Simulate = {};
1658
- var directDispatchEventTypes = new Set(['mouseEnter', 'mouseLeave', 'pointerEnter', 'pointerLeave']);
1659
- /**
1660
- * Exports:
1661
- *
1662
- * - `Simulate.click(Element)`
1663
- * - `Simulate.mouseMove(Element)`
1664
- * - `Simulate.change(Element)`
1665
- * - ... (All keys from event plugin `eventTypes` objects)
1666
- */
1667
-
1668
- function makeSimulator(eventType) {
1669
- return function (domNode, eventData) {
1670
- if (React.isValidElement(domNode)) {
1671
- throw new Error('TestUtils.Simulate expected a DOM node as the first argument but received ' + 'a React element. Pass the DOM node you wish to simulate the event on instead. ' + 'Note that TestUtils.Simulate will not work if you are using shallow rendering.');
1672
- }
1673
-
1674
- if (isCompositeComponent(domNode)) {
1675
- throw new Error('TestUtils.Simulate expected a DOM node as the first argument but received ' + 'a component instance. Pass the DOM node you wish to simulate the event on instead.');
1676
- }
1677
-
1678
- var reactName = 'on' + eventType[0].toUpperCase() + eventType.slice(1);
1679
- var fakeNativeEvent = new Event();
1680
- fakeNativeEvent.target = domNode;
1681
- fakeNativeEvent.type = eventType.toLowerCase();
1682
- var targetInst = getInstanceFromNode(domNode);
1683
- var event = new SyntheticEvent(reactName, fakeNativeEvent.type, targetInst, fakeNativeEvent, domNode); // Since we aren't using pooling, always persist the event. This will make
1684
- // sure it's marked and won't warn when setting additional properties.
1685
-
1686
- event.persist();
1687
- assign(event, eventData);
1688
-
1689
- if (directDispatchEventTypes.has(eventType)) {
1690
- accumulateDirectDispatchesSingle(event);
1691
- } else {
1692
- accumulateTwoPhaseDispatchesSingle(event);
1693
- }
1694
-
1695
- ReactDOM.unstable_batchedUpdates(function () {
1696
- // Normally extractEvent enqueues a state restore, but we'll just always
1697
- // do that since we're by-passing it here.
1698
- enqueueStateRestore(domNode);
1699
- executeDispatchesAndRelease(event);
1700
- rethrowCaughtError();
1701
- });
1702
- restoreStateIfNeeded();
1703
- };
1704
- } // A one-time snapshot with no plans to update. We'll probably want to deprecate Simulate API.
1705
-
1706
-
1707
- var simulatedEventTypes = ['blur', 'cancel', 'click', 'close', 'contextMenu', 'copy', 'cut', 'auxClick', 'doubleClick', 'dragEnd', 'dragStart', 'drop', 'focus', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'mouseDown', 'mouseUp', 'paste', 'pause', 'play', 'pointerCancel', 'pointerDown', 'pointerUp', 'rateChange', 'reset', 'resize', 'seeked', 'submit', 'touchCancel', 'touchEnd', 'touchStart', 'volumeChange', 'drag', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'mouseMove', 'mouseOut', 'mouseOver', 'pointerMove', 'pointerOut', 'pointerOver', 'scroll', 'toggle', 'touchMove', 'wheel', 'abort', 'animationEnd', 'animationIteration', 'animationStart', 'canPlay', 'canPlayThrough', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'gotPointerCapture', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'lostPointerCapture', 'playing', 'progress', 'seeking', 'stalled', 'suspend', 'timeUpdate', 'transitionEnd', 'waiting', 'mouseEnter', 'mouseLeave', 'pointerEnter', 'pointerLeave', 'change', 'select', 'beforeInput', 'compositionEnd', 'compositionStart', 'compositionUpdate'];
1708
-
1709
- function buildSimulators() {
1710
- simulatedEventTypes.forEach(function (eventType) {
1711
- Simulate[eventType] = makeSimulator(eventType);
1712
- });
1713
- }
1714
-
1715
- buildSimulators();
1716
-
1717
- exports.Simulate = Simulate;
1718
- exports.act = act;
1719
- exports.findAllInRenderedTree = findAllInRenderedTree;
1720
- exports.findRenderedComponentWithType = findRenderedComponentWithType;
1721
- exports.findRenderedDOMComponentWithClass = findRenderedDOMComponentWithClass;
1722
- exports.findRenderedDOMComponentWithTag = findRenderedDOMComponentWithTag;
1723
- exports.isCompositeComponent = isCompositeComponent;
1724
- exports.isCompositeComponentWithType = isCompositeComponentWithType;
1725
- exports.isDOMComponent = isDOMComponent;
1726
- exports.isDOMComponentElement = isDOMComponentElement;
1727
- exports.isElement = isElement;
1728
- exports.isElementOfType = isElementOfType;
1729
- exports.mockComponent = mockComponent;
1730
- exports.nativeTouchData = nativeTouchData;
1731
- exports.renderIntoDocument = renderIntoDocument;
1732
- exports.scryRenderedComponentsWithType = scryRenderedComponentsWithType;
1733
- exports.scryRenderedDOMComponentsWithClass = scryRenderedDOMComponentsWithClass;
1734
- exports.scryRenderedDOMComponentsWithTag = scryRenderedDOMComponentsWithTag;
1735
- exports.traverseTwoPhase = traverseTwoPhase;
1736
-
1737
- })));