decidim 0.26.0 → 0.27.0.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim might be problematic. Click here for more details.

Files changed (1652) hide show
  1. checksums.yaml +4 -4
  2. data/babel.config.json +4 -6
  3. data/decidim-core/lib/decidim/webpacker/thread_safe_compiler.rb +30 -0
  4. data/decidim-core/lib/decidim/webpacker/webpack/custom.js +15 -3
  5. data/decidim-core/lib/decidim/webpacker/webpacker.yml +1 -1
  6. data/docs/README.adoc +3 -14
  7. data/docs/modules/configure/pages/environment_variables.adoc +833 -29
  8. data/docs/modules/configure/pages/index.adoc +40 -0
  9. data/docs/modules/configure/pages/initializer.adoc +46 -11
  10. data/docs/modules/customize/assets/images/error_max_budget.png +0 -0
  11. data/docs/modules/customize/assets/images/maximum_budget.png +0 -0
  12. data/docs/modules/customize/pages/code.adoc +0 -12
  13. data/docs/modules/customize/pages/cookies.adoc +109 -0
  14. data/docs/modules/customize/pages/index.adoc +28 -0
  15. data/docs/modules/customize/pages/logic.adoc +103 -0
  16. data/docs/modules/customize/pages/styles.adoc +2 -2
  17. data/docs/modules/develop/pages/api.adoc +3 -7
  18. data/docs/modules/develop/pages/guide_development_app.adoc +5 -3
  19. data/docs/modules/develop/pages/guide_migrate_webpacker_app.adoc +46 -6
  20. data/docs/modules/develop/pages/maps.adoc +6 -6
  21. data/docs/modules/develop/pages/metrics.adoc +4 -0
  22. data/docs/modules/develop/pages/modules.adoc +1 -1
  23. data/docs/modules/develop/pages/newsletter_templates.adoc +1 -1
  24. data/docs/modules/develop/pages/notifications.adoc +1 -1
  25. data/docs/modules/develop/pages/releases.adoc +3 -2
  26. data/docs/modules/develop/pages/reminders.adoc +138 -0
  27. data/docs/modules/develop/pages/testing.adoc +68 -4
  28. data/docs/modules/develop/pages/{how_to_fix_metrics.adoc → troubleshooting_metrics.adoc} +0 -0
  29. data/docs/modules/install/pages/checklist.adoc +1 -1
  30. data/docs/modules/install/pages/empty-database.adoc +32 -0
  31. data/docs/modules/install/pages/index.adoc +26 -17
  32. data/docs/modules/install/pages/manual.adoc +9 -5
  33. data/docs/modules/install/pages/update.adoc +3 -3
  34. data/docs/modules/services/pages/index.adoc +12 -0
  35. data/docs/modules/services/pages/maps.adoc +2 -2
  36. data/docs/modules/services/pages/sms.adoc +32 -0
  37. data/lib/decidim/gem_manager.rb +9 -7
  38. data/lib/decidim/version.rb +1 -1
  39. data/lib/decidim.rb +1 -1
  40. data/lib/tasks/decidim_tasks.rake +2 -2
  41. data/package-lock.json +12550 -18192
  42. data/package.json +3 -3
  43. data/packages/browserslist-config/package.json +1 -1
  44. data/packages/core/node_modules/@rails/activestorage/CHANGELOG.md +306 -0
  45. data/packages/core/node_modules/@rails/activestorage/README.md +194 -0
  46. data/packages/core/node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js +942 -0
  47. data/packages/core/node_modules/@rails/activestorage/package.json +41 -0
  48. data/packages/core/node_modules/@rails/activestorage/src/blob_record.js +73 -0
  49. data/packages/core/node_modules/@rails/activestorage/src/blob_upload.js +35 -0
  50. data/packages/core/node_modules/@rails/activestorage/src/direct_upload.js +48 -0
  51. data/packages/core/node_modules/@rails/activestorage/src/direct_upload_controller.js +67 -0
  52. data/packages/core/node_modules/@rails/activestorage/src/direct_uploads_controller.js +50 -0
  53. data/packages/core/node_modules/@rails/activestorage/src/file_checksum.js +53 -0
  54. data/packages/core/node_modules/@rails/activestorage/src/helpers.js +51 -0
  55. data/packages/core/node_modules/@rails/activestorage/src/index.js +11 -0
  56. data/packages/core/node_modules/@rails/activestorage/src/ujs.js +86 -0
  57. data/packages/core/package.json +9 -15
  58. data/packages/dev/package.json +1 -1
  59. data/packages/elections/package.json +5 -5
  60. data/packages/eslint-config/package.json +1 -1
  61. data/packages/stylelint-config/package.json +1 -1
  62. data/packages/webpacker/index.js +5 -4
  63. data/packages/webpacker/node_modules/@eslint/eslintrc/LICENSE +21 -0
  64. data/packages/webpacker/node_modules/@eslint/eslintrc/README.md +61 -0
  65. data/packages/webpacker/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
  66. data/packages/webpacker/node_modules/@eslint/eslintrc/conf/environments.js +203 -0
  67. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +1092 -0
  68. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -0
  69. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +4295 -0
  70. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -0
  71. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +533 -0
  72. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
  73. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +115 -0
  74. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
  75. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
  76. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
  77. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
  78. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1133 -0
  79. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/flat-compat.js +307 -0
  80. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
  81. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/index.js +56 -0
  82. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
  83. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
  84. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
  85. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
  86. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
  87. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
  88. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
  89. data/packages/webpacker/node_modules/@eslint/eslintrc/package.json +81 -0
  90. data/packages/webpacker/node_modules/@eslint/eslintrc/universal.js +9 -0
  91. data/packages/webpacker/node_modules/@humanwhocodes/config-array/CHANGELOG.md +71 -0
  92. data/packages/webpacker/node_modules/@humanwhocodes/config-array/LICENSE +201 -0
  93. data/packages/webpacker/node_modules/@humanwhocodes/config-array/README.md +301 -0
  94. data/packages/webpacker/node_modules/@humanwhocodes/config-array/api.js +695 -0
  95. data/packages/webpacker/node_modules/@humanwhocodes/config-array/package.json +61 -0
  96. data/packages/webpacker/node_modules/@jest/console/LICENSE +21 -0
  97. data/packages/webpacker/node_modules/@jest/console/build/BufferedConsole.d.ts +37 -0
  98. data/packages/webpacker/node_modules/@jest/console/build/BufferedConsole.js +258 -0
  99. data/packages/webpacker/node_modules/@jest/console/build/CustomConsole.d.ts +41 -0
  100. data/packages/webpacker/node_modules/@jest/console/build/CustomConsole.js +240 -0
  101. data/packages/webpacker/node_modules/@jest/console/build/NullConsole.d.ts +23 -0
  102. data/packages/webpacker/node_modules/@jest/console/build/NullConsole.js +50 -0
  103. data/packages/webpacker/node_modules/@jest/console/build/getConsoleOutput.d.ts +10 -0
  104. data/packages/webpacker/node_modules/@jest/console/build/getConsoleOutput.js +101 -0
  105. data/packages/webpacker/node_modules/@jest/console/build/index.d.ts +11 -0
  106. data/packages/webpacker/node_modules/@jest/console/build/index.js +41 -0
  107. data/packages/webpacker/node_modules/@jest/console/build/types.d.ts +20 -0
  108. data/packages/webpacker/node_modules/@jest/console/build/types.js +1 -0
  109. data/packages/webpacker/node_modules/@jest/console/package.json +38 -0
  110. data/packages/webpacker/node_modules/@jest/core/LICENSE +21 -0
  111. data/packages/webpacker/node_modules/@jest/core/README.md +3 -0
  112. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsCache.d.ts +12 -0
  113. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsCache.js +59 -0
  114. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsInteractiveMode.d.ts +31 -0
  115. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsInteractiveMode.js +262 -0
  116. data/packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.d.ts +22 -0
  117. data/packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.js +104 -0
  118. data/packages/webpacker/node_modules/@jest/core/build/SearchSource.d.ts +46 -0
  119. data/packages/webpacker/node_modules/@jest/core/build/SearchSource.js +490 -0
  120. data/packages/webpacker/node_modules/@jest/core/build/SnapshotInteractiveMode.d.ts +30 -0
  121. data/packages/webpacker/node_modules/@jest/core/build/SnapshotInteractiveMode.js +327 -0
  122. data/packages/webpacker/node_modules/@jest/core/build/TestNamePatternPrompt.d.ts +17 -0
  123. data/packages/webpacker/node_modules/@jest/core/build/TestNamePatternPrompt.js +86 -0
  124. data/packages/webpacker/node_modules/@jest/core/build/TestPathPatternPrompt.d.ts +24 -0
  125. data/packages/webpacker/node_modules/@jest/core/build/TestPathPatternPrompt.js +81 -0
  126. data/packages/webpacker/node_modules/@jest/core/build/TestScheduler.d.ts +42 -0
  127. data/packages/webpacker/node_modules/@jest/core/build/TestScheduler.js +570 -0
  128. data/packages/webpacker/node_modules/@jest/core/build/TestWatcher.d.ts +23 -0
  129. data/packages/webpacker/node_modules/@jest/core/build/TestWatcher.js +64 -0
  130. data/packages/webpacker/node_modules/@jest/core/build/assets/jest_logo.png +0 -0
  131. data/packages/webpacker/node_modules/@jest/core/build/cli/index.d.ts +12 -0
  132. data/packages/webpacker/node_modules/@jest/core/build/cli/index.js +399 -0
  133. data/packages/webpacker/node_modules/@jest/core/build/collectHandles.d.ts +10 -0
  134. data/packages/webpacker/node_modules/@jest/core/build/collectHandles.js +269 -0
  135. data/packages/webpacker/node_modules/@jest/core/build/getChangedFilesPromise.d.ts +9 -0
  136. data/packages/webpacker/node_modules/@jest/core/build/getChangedFilesPromise.js +77 -0
  137. data/packages/webpacker/node_modules/@jest/core/build/getConfigsOfProjectsToRun.d.ts +8 -0
  138. data/packages/webpacker/node_modules/@jest/core/build/getConfigsOfProjectsToRun.js +28 -0
  139. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFound.d.ts +9 -0
  140. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFound.js +63 -0
  141. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundFailed.d.ts +8 -0
  142. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundFailed.js +51 -0
  143. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.d.ts +7 -0
  144. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js +30 -0
  145. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.d.ts +8 -0
  146. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js +57 -0
  147. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundVerbose.d.ts +9 -0
  148. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundVerbose.js +95 -0
  149. data/packages/webpacker/node_modules/@jest/core/build/getNoTestsFoundMessage.d.ts +9 -0
  150. data/packages/webpacker/node_modules/@jest/core/build/getNoTestsFoundMessage.js +52 -0
  151. data/packages/webpacker/node_modules/@jest/core/build/getProjectDisplayName.d.ts +8 -0
  152. data/packages/webpacker/node_modules/@jest/core/build/getProjectDisplayName.js +23 -0
  153. data/packages/webpacker/node_modules/@jest/core/build/getProjectNamesMissingWarning.d.ts +8 -0
  154. data/packages/webpacker/node_modules/@jest/core/build/getProjectNamesMissingWarning.js +49 -0
  155. data/packages/webpacker/node_modules/@jest/core/build/getSelectProjectsMessage.d.ts +8 -0
  156. data/packages/webpacker/node_modules/@jest/core/build/getSelectProjectsMessage.js +65 -0
  157. data/packages/webpacker/node_modules/@jest/core/build/jest.d.ts +11 -0
  158. data/packages/webpacker/node_modules/@jest/core/build/jest.js +49 -0
  159. data/packages/webpacker/node_modules/@jest/core/build/lib/activeFiltersMessage.d.ts +9 -0
  160. data/packages/webpacker/node_modules/@jest/core/build/lib/activeFiltersMessage.js +54 -0
  161. data/packages/webpacker/node_modules/@jest/core/build/lib/createContext.d.ts +10 -0
  162. data/packages/webpacker/node_modules/@jest/core/build/lib/createContext.js +35 -0
  163. data/packages/webpacker/node_modules/@jest/core/build/lib/handleDeprecationWarnings.d.ts +8 -0
  164. data/packages/webpacker/node_modules/@jest/core/build/lib/handleDeprecationWarnings.js +72 -0
  165. data/packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.d.ts +8 -0
  166. data/packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.js +29 -0
  167. data/packages/webpacker/node_modules/@jest/core/build/lib/logDebugMessages.d.ts +9 -0
  168. data/packages/webpacker/node_modules/@jest/core/build/lib/logDebugMessages.js +23 -0
  169. data/packages/webpacker/node_modules/@jest/core/build/lib/updateGlobalConfig.d.ts +11 -0
  170. data/packages/webpacker/node_modules/@jest/core/build/lib/updateGlobalConfig.js +121 -0
  171. data/packages/webpacker/node_modules/@jest/core/build/lib/watchPluginsHelpers.d.ts +10 -0
  172. data/packages/webpacker/node_modules/@jest/core/build/lib/watchPluginsHelpers.js +62 -0
  173. data/packages/webpacker/node_modules/@jest/core/build/plugins/FailedTestsInteractive.d.ts +17 -0
  174. data/packages/webpacker/node_modules/@jest/core/build/plugins/FailedTestsInteractive.js +135 -0
  175. data/packages/webpacker/node_modules/@jest/core/build/plugins/Quit.d.ts +18 -0
  176. data/packages/webpacker/node_modules/@jest/core/build/plugins/Quit.js +60 -0
  177. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestNamePattern.d.ts +21 -0
  178. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestNamePattern.js +91 -0
  179. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestPathPattern.d.ts +21 -0
  180. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestPathPattern.js +91 -0
  181. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshots.d.ts +21 -0
  182. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshots.js +70 -0
  183. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts +20 -0
  184. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.js +138 -0
  185. data/packages/webpacker/node_modules/@jest/core/build/pluralize.d.ts +7 -0
  186. data/packages/webpacker/node_modules/@jest/core/build/pluralize.js +16 -0
  187. data/packages/webpacker/node_modules/@jest/core/build/runGlobalHook.d.ts +13 -0
  188. data/packages/webpacker/node_modules/@jest/core/build/runGlobalHook.js +143 -0
  189. data/packages/webpacker/node_modules/@jest/core/build/runJest.d.ts +27 -0
  190. data/packages/webpacker/node_modules/@jest/core/build/runJest.js +423 -0
  191. data/packages/webpacker/node_modules/@jest/core/build/testSchedulerHelper.d.ts +9 -0
  192. data/packages/webpacker/node_modules/@jest/core/build/testSchedulerHelper.js +51 -0
  193. data/packages/webpacker/node_modules/@jest/core/build/types.d.ts +39 -0
  194. data/packages/webpacker/node_modules/@jest/core/build/types.js +1 -0
  195. data/packages/webpacker/node_modules/@jest/core/build/version.d.ts +7 -0
  196. data/packages/webpacker/node_modules/@jest/core/build/version.js +19 -0
  197. data/packages/webpacker/node_modules/@jest/core/build/watch.d.ts +13 -0
  198. data/packages/webpacker/node_modules/@jest/core/build/watch.js +769 -0
  199. data/packages/webpacker/node_modules/@jest/core/package.json +103 -0
  200. data/packages/webpacker/node_modules/@jest/environment/LICENSE +21 -0
  201. data/packages/webpacker/node_modules/@jest/environment/build/index.d.ts +267 -0
  202. data/packages/webpacker/node_modules/@jest/environment/build/index.js +1 -0
  203. data/packages/webpacker/node_modules/@jest/environment/package.json +32 -0
  204. data/packages/webpacker/node_modules/@jest/fake-timers/LICENSE +21 -0
  205. data/packages/webpacker/node_modules/@jest/fake-timers/build/index.d.ts +8 -0
  206. data/packages/webpacker/node_modules/@jest/fake-timers/build/index.js +25 -0
  207. data/packages/webpacker/node_modules/@jest/fake-timers/build/legacyFakeTimers.d.ts +67 -0
  208. data/packages/webpacker/node_modules/@jest/fake-timers/build/legacyFakeTimers.js +673 -0
  209. data/packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts +34 -0
  210. data/packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.js +181 -0
  211. data/packages/webpacker/node_modules/@jest/fake-timers/package.json +37 -0
  212. data/packages/webpacker/node_modules/@jest/globals/LICENSE +21 -0
  213. data/packages/webpacker/node_modules/@jest/globals/build/index.d.ts +23 -0
  214. data/packages/webpacker/node_modules/@jest/globals/build/index.js +25 -0
  215. data/packages/webpacker/node_modules/@jest/globals/package.json +31 -0
  216. data/packages/webpacker/node_modules/@jest/reporters/LICENSE +21 -0
  217. data/packages/webpacker/node_modules/@jest/reporters/build/BaseReporter.d.ts +19 -0
  218. data/packages/webpacker/node_modules/@jest/reporters/build/BaseReporter.js +65 -0
  219. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageReporter.d.ts +24 -0
  220. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageReporter.js +668 -0
  221. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageWorker.d.ts +17 -0
  222. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageWorker.js +103 -0
  223. data/packages/webpacker/node_modules/@jest/reporters/build/DefaultReporter.d.ts +33 -0
  224. data/packages/webpacker/node_modules/@jest/reporters/build/DefaultReporter.js +254 -0
  225. data/packages/webpacker/node_modules/@jest/reporters/build/NotifyReporter.d.ts +19 -0
  226. data/packages/webpacker/node_modules/@jest/reporters/build/NotifyReporter.js +256 -0
  227. data/packages/webpacker/node_modules/@jest/reporters/build/Status.d.ts +42 -0
  228. data/packages/webpacker/node_modules/@jest/reporters/build/Status.js +272 -0
  229. data/packages/webpacker/node_modules/@jest/reporters/build/SummaryReporter.d.ts +22 -0
  230. data/packages/webpacker/node_modules/@jest/reporters/build/SummaryReporter.js +271 -0
  231. data/packages/webpacker/node_modules/@jest/reporters/build/VerboseReporter.d.ts +27 -0
  232. data/packages/webpacker/node_modules/@jest/reporters/build/VerboseReporter.js +226 -0
  233. data/packages/webpacker/node_modules/@jest/reporters/build/generateEmptyCoverage.d.ts +19 -0
  234. data/packages/webpacker/node_modules/@jest/reporters/build/generateEmptyCoverage.js +168 -0
  235. data/packages/webpacker/node_modules/@jest/reporters/build/getResultHeader.d.ts +9 -0
  236. data/packages/webpacker/node_modules/@jest/reporters/build/getResultHeader.js +104 -0
  237. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotStatus.d.ts +8 -0
  238. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotStatus.js +111 -0
  239. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotSummary.d.ts +9 -0
  240. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotSummary.js +203 -0
  241. data/packages/webpacker/node_modules/@jest/reporters/build/getWatermarks.d.ts +9 -0
  242. data/packages/webpacker/node_modules/@jest/reporters/build/getWatermarks.js +47 -0
  243. data/packages/webpacker/node_modules/@jest/reporters/build/index.d.ts +27 -0
  244. data/packages/webpacker/node_modules/@jest/reporters/build/index.js +78 -0
  245. data/packages/webpacker/node_modules/@jest/reporters/build/types.d.ts +75 -0
  246. data/packages/webpacker/node_modules/@jest/reporters/build/types.js +1 -0
  247. data/packages/webpacker/node_modules/@jest/reporters/build/utils.d.ts +18 -0
  248. data/packages/webpacker/node_modules/@jest/reporters/build/utils.js +435 -0
  249. data/packages/webpacker/node_modules/@jest/reporters/package.json +80 -0
  250. data/packages/webpacker/node_modules/@jest/source-map/LICENSE +21 -0
  251. data/packages/webpacker/node_modules/@jest/source-map/build/getCallsite.d.ts +9 -0
  252. data/packages/webpacker/node_modules/@jest/source-map/build/getCallsite.js +108 -0
  253. data/packages/webpacker/node_modules/@jest/source-map/build/index.d.ts +8 -0
  254. data/packages/webpacker/node_modules/@jest/source-map/build/index.js +17 -0
  255. data/packages/webpacker/node_modules/@jest/source-map/build/types.d.ts +7 -0
  256. data/packages/webpacker/node_modules/@jest/source-map/build/types.js +1 -0
  257. data/packages/webpacker/node_modules/@jest/source-map/package.json +34 -0
  258. data/packages/webpacker/node_modules/@jest/test-result/LICENSE +21 -0
  259. data/packages/webpacker/node_modules/@jest/test-result/build/formatTestResults.d.ts +8 -0
  260. data/packages/webpacker/node_modules/@jest/test-result/build/formatTestResults.js +70 -0
  261. data/packages/webpacker/node_modules/@jest/test-result/build/helpers.d.ts +12 -0
  262. data/packages/webpacker/node_modules/@jest/test-result/build/helpers.js +188 -0
  263. data/packages/webpacker/node_modules/@jest/test-result/build/index.d.ts +9 -0
  264. data/packages/webpacker/node_modules/@jest/test-result/build/index.js +43 -0
  265. data/packages/webpacker/node_modules/@jest/test-result/build/types.d.ts +171 -0
  266. data/packages/webpacker/node_modules/@jest/test-result/build/types.js +1 -0
  267. data/packages/webpacker/node_modules/@jest/test-result/package.json +32 -0
  268. data/packages/webpacker/node_modules/@jest/test-sequencer/LICENSE +21 -0
  269. data/packages/webpacker/node_modules/@jest/test-sequencer/build/index.d.ts +51 -0
  270. data/packages/webpacker/node_modules/@jest/test-sequencer/build/index.js +237 -0
  271. data/packages/webpacker/node_modules/@jest/test-sequencer/package.json +35 -0
  272. data/packages/webpacker/node_modules/@jest/transform/LICENSE +21 -0
  273. data/packages/webpacker/node_modules/@jest/transform/build/ScriptTransformer.d.ts +40 -0
  274. data/packages/webpacker/node_modules/@jest/transform/build/ScriptTransformer.js +1115 -0
  275. data/packages/webpacker/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.d.ts +12 -0
  276. data/packages/webpacker/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.js +83 -0
  277. data/packages/webpacker/node_modules/@jest/transform/build/index.d.ts +11 -0
  278. data/packages/webpacker/node_modules/@jest/transform/build/index.js +41 -0
  279. data/packages/webpacker/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.d.ts +10 -0
  280. data/packages/webpacker/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.js +101 -0
  281. data/packages/webpacker/node_modules/@jest/transform/build/shouldInstrument.d.ts +9 -0
  282. data/packages/webpacker/node_modules/@jest/transform/build/shouldInstrument.js +207 -0
  283. data/packages/webpacker/node_modules/@jest/transform/build/types.d.ts +75 -0
  284. data/packages/webpacker/node_modules/@jest/transform/build/types.js +1 -0
  285. data/packages/webpacker/node_modules/@jest/transform/package.json +53 -0
  286. data/packages/webpacker/node_modules/@jest/types/LICENSE +21 -0
  287. data/packages/webpacker/node_modules/@jest/types/build/Circus.d.ts +193 -0
  288. data/packages/webpacker/node_modules/@jest/types/build/Circus.js +1 -0
  289. data/packages/webpacker/node_modules/@jest/types/build/Config.d.ts +462 -0
  290. data/packages/webpacker/node_modules/@jest/types/build/Config.js +1 -0
  291. data/packages/webpacker/node_modules/@jest/types/build/Global.d.ts +95 -0
  292. data/packages/webpacker/node_modules/@jest/types/build/Global.js +1 -0
  293. data/packages/webpacker/node_modules/@jest/types/build/TestResult.d.ts +31 -0
  294. data/packages/webpacker/node_modules/@jest/types/build/TestResult.js +1 -0
  295. data/packages/webpacker/node_modules/@jest/types/build/Transform.d.ts +11 -0
  296. data/packages/webpacker/node_modules/@jest/types/build/Transform.js +1 -0
  297. data/packages/webpacker/node_modules/@jest/types/build/index.d.ts +12 -0
  298. data/packages/webpacker/node_modules/@jest/types/build/index.js +1 -0
  299. data/packages/webpacker/node_modules/@jest/types/package.json +37 -0
  300. data/packages/webpacker/node_modules/@sinonjs/fake-timers/CHANGELOG.md +441 -0
  301. data/packages/webpacker/node_modules/@sinonjs/fake-timers/LICENSE +11 -0
  302. data/packages/webpacker/node_modules/@sinonjs/fake-timers/README.md +353 -0
  303. data/packages/webpacker/node_modules/@sinonjs/fake-timers/package.json +71 -0
  304. data/packages/webpacker/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js +1728 -0
  305. data/packages/webpacker/node_modules/@types/yargs/LICENSE +21 -0
  306. data/packages/webpacker/node_modules/@types/yargs/README.md +16 -0
  307. data/packages/webpacker/node_modules/@types/yargs/helpers.d.ts +5 -0
  308. data/packages/webpacker/node_modules/@types/yargs/index.d.ts +844 -0
  309. data/packages/webpacker/node_modules/@types/yargs/package.json +62 -0
  310. data/packages/webpacker/node_modules/@types/yargs/yargs.d.ts +9 -0
  311. data/packages/webpacker/node_modules/acorn/CHANGELOG.md +788 -0
  312. data/packages/webpacker/node_modules/acorn/LICENSE +21 -0
  313. data/packages/webpacker/node_modules/acorn/README.md +280 -0
  314. data/packages/webpacker/node_modules/acorn/bin/acorn +4 -0
  315. data/packages/webpacker/node_modules/acorn/dist/acorn.d.ts +214 -0
  316. data/packages/webpacker/node_modules/acorn/dist/acorn.js +5619 -0
  317. data/packages/webpacker/node_modules/acorn/dist/acorn.mjs +5588 -0
  318. data/packages/webpacker/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
  319. data/packages/webpacker/node_modules/acorn/dist/bin.js +91 -0
  320. data/packages/webpacker/node_modules/acorn/package.json +46 -0
  321. data/packages/webpacker/node_modules/ansi-styles/index.d.ts +345 -0
  322. data/packages/webpacker/node_modules/ansi-styles/index.js +163 -0
  323. data/packages/webpacker/node_modules/ansi-styles/license +9 -0
  324. data/packages/webpacker/node_modules/ansi-styles/package.json +56 -0
  325. data/packages/webpacker/node_modules/ansi-styles/readme.md +152 -0
  326. data/packages/webpacker/node_modules/babel-jest/LICENSE +21 -0
  327. data/packages/webpacker/node_modules/babel-jest/README.md +25 -0
  328. data/packages/webpacker/node_modules/babel-jest/build/index.d.ts +10 -0
  329. data/packages/webpacker/node_modules/babel-jest/build/index.js +386 -0
  330. data/packages/webpacker/node_modules/babel-jest/build/loadBabelConfig.d.ts +7 -0
  331. data/packages/webpacker/node_modules/babel-jest/build/loadBabelConfig.js +27 -0
  332. data/packages/webpacker/node_modules/babel-jest/package.json +45 -0
  333. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/LICENSE +21 -0
  334. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/README.md +33 -0
  335. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/build/index.d.ts +13 -0
  336. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/build/index.js +389 -0
  337. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/package.json +41 -0
  338. data/packages/webpacker/node_modules/babel-preset-jest/LICENSE +21 -0
  339. data/packages/webpacker/node_modules/babel-preset-jest/README.md +33 -0
  340. data/packages/webpacker/node_modules/babel-preset-jest/index.js +14 -0
  341. data/packages/webpacker/node_modules/babel-preset-jest/package.json +29 -0
  342. data/packages/webpacker/node_modules/camelcase/index.d.ts +103 -0
  343. data/packages/webpacker/node_modules/camelcase/index.js +113 -0
  344. data/packages/webpacker/node_modules/camelcase/license +9 -0
  345. data/packages/webpacker/node_modules/camelcase/package.json +44 -0
  346. data/packages/webpacker/node_modules/camelcase/readme.md +144 -0
  347. data/packages/webpacker/node_modules/chalk/index.d.ts +415 -0
  348. data/packages/webpacker/node_modules/chalk/license +9 -0
  349. data/packages/webpacker/node_modules/chalk/package.json +68 -0
  350. data/packages/webpacker/node_modules/chalk/readme.md +341 -0
  351. data/packages/webpacker/node_modules/chalk/source/index.js +229 -0
  352. data/packages/webpacker/node_modules/chalk/source/templates.js +134 -0
  353. data/packages/webpacker/node_modules/chalk/source/util.js +39 -0
  354. data/packages/webpacker/node_modules/ci-info/CHANGELOG.md +122 -0
  355. data/packages/webpacker/node_modules/ci-info/LICENSE +21 -0
  356. data/packages/webpacker/node_modules/ci-info/README.md +118 -0
  357. data/packages/webpacker/node_modules/ci-info/index.d.ts +62 -0
  358. data/packages/webpacker/node_modules/ci-info/index.js +66 -0
  359. data/packages/webpacker/node_modules/ci-info/package.json +36 -0
  360. data/packages/webpacker/node_modules/ci-info/vendors.json +210 -0
  361. data/packages/webpacker/node_modules/cjs-module-lexer/CHANGELOG.md +40 -0
  362. data/packages/webpacker/node_modules/cjs-module-lexer/LICENSE +10 -0
  363. data/packages/webpacker/node_modules/cjs-module-lexer/README.md +453 -0
  364. data/packages/webpacker/node_modules/cjs-module-lexer/dist/lexer.js +1 -0
  365. data/packages/webpacker/node_modules/cjs-module-lexer/dist/lexer.mjs +2 -0
  366. data/packages/webpacker/node_modules/cjs-module-lexer/lexer.d.ts +7 -0
  367. data/packages/webpacker/node_modules/cjs-module-lexer/lexer.js +1438 -0
  368. data/packages/webpacker/node_modules/cjs-module-lexer/package.json +43 -0
  369. data/packages/webpacker/node_modules/cliui/CHANGELOG.md +121 -0
  370. data/packages/webpacker/node_modules/cliui/LICENSE.txt +14 -0
  371. data/packages/webpacker/node_modules/cliui/README.md +141 -0
  372. data/packages/webpacker/node_modules/cliui/build/index.cjs +302 -0
  373. data/packages/webpacker/node_modules/cliui/build/lib/index.js +287 -0
  374. data/packages/webpacker/node_modules/cliui/build/lib/string-utils.js +27 -0
  375. data/packages/webpacker/node_modules/cliui/index.mjs +13 -0
  376. data/packages/webpacker/node_modules/cliui/package.json +83 -0
  377. data/packages/webpacker/node_modules/color-convert/CHANGELOG.md +54 -0
  378. data/packages/webpacker/node_modules/color-convert/LICENSE +21 -0
  379. data/packages/webpacker/node_modules/color-convert/README.md +68 -0
  380. data/packages/webpacker/node_modules/color-convert/conversions.js +839 -0
  381. data/packages/webpacker/node_modules/color-convert/index.js +81 -0
  382. data/packages/webpacker/node_modules/color-convert/package.json +48 -0
  383. data/packages/webpacker/node_modules/color-convert/route.js +97 -0
  384. data/packages/webpacker/node_modules/color-name/LICENSE +8 -0
  385. data/packages/webpacker/node_modules/color-name/README.md +11 -0
  386. data/packages/webpacker/node_modules/color-name/index.js +152 -0
  387. data/packages/webpacker/node_modules/color-name/package.json +28 -0
  388. data/packages/webpacker/node_modules/diff-sequences/LICENSE +21 -0
  389. data/packages/webpacker/node_modules/diff-sequences/README.md +404 -0
  390. data/packages/webpacker/node_modules/diff-sequences/build/index.d.ts +18 -0
  391. data/packages/webpacker/node_modules/diff-sequences/build/index.js +816 -0
  392. data/packages/webpacker/node_modules/diff-sequences/package.json +42 -0
  393. data/packages/webpacker/node_modules/diff-sequences/perf/example.md +48 -0
  394. data/packages/webpacker/node_modules/diff-sequences/perf/index.js +170 -0
  395. data/packages/webpacker/node_modules/emittery/index.d.ts +432 -0
  396. data/packages/webpacker/node_modules/emittery/index.js +408 -0
  397. data/packages/webpacker/node_modules/emittery/license +9 -0
  398. data/packages/webpacker/node_modules/emittery/package.json +66 -0
  399. data/packages/webpacker/node_modules/emittery/readme.md +409 -0
  400. data/packages/webpacker/node_modules/escape-string-regexp/index.d.ts +18 -0
  401. data/packages/webpacker/node_modules/escape-string-regexp/index.js +13 -0
  402. data/packages/webpacker/node_modules/escape-string-regexp/license +9 -0
  403. data/packages/webpacker/node_modules/escape-string-regexp/package.json +38 -0
  404. data/packages/webpacker/node_modules/escape-string-regexp/readme.md +34 -0
  405. data/packages/webpacker/node_modules/eslint/LICENSE +19 -0
  406. data/packages/webpacker/node_modules/eslint/README.md +304 -0
  407. data/packages/webpacker/node_modules/eslint/bin/eslint.js +142 -0
  408. data/packages/webpacker/node_modules/eslint/conf/config-schema.js +93 -0
  409. data/packages/webpacker/node_modules/eslint/conf/default-cli-options.js +32 -0
  410. data/packages/webpacker/node_modules/eslint/conf/eslint-all.js +31 -0
  411. data/packages/webpacker/node_modules/eslint/conf/eslint-recommended.js +76 -0
  412. data/packages/webpacker/node_modules/eslint/conf/globals.js +144 -0
  413. data/packages/webpacker/node_modules/eslint/conf/replacements.json +22 -0
  414. data/packages/webpacker/node_modules/eslint/conf/rule-type-list.json +36 -0
  415. data/packages/webpacker/node_modules/eslint/lib/api.js +26 -0
  416. data/packages/webpacker/node_modules/eslint/lib/cli-engine/cli-engine.js +1068 -0
  417. data/packages/webpacker/node_modules/eslint/lib/cli-engine/file-enumerator.js +543 -0
  418. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
  419. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
  420. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/html.js +324 -0
  421. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
  422. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
  423. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
  424. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
  425. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
  426. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
  427. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
  428. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
  429. data/packages/webpacker/node_modules/eslint/lib/cli-engine/hash.js +35 -0
  430. data/packages/webpacker/node_modules/eslint/lib/cli-engine/index.js +7 -0
  431. data/packages/webpacker/node_modules/eslint/lib/cli-engine/lint-result-cache.js +191 -0
  432. data/packages/webpacker/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
  433. data/packages/webpacker/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
  434. data/packages/webpacker/node_modules/eslint/lib/cli.js +344 -0
  435. data/packages/webpacker/node_modules/eslint/lib/config/default-config.js +61 -0
  436. data/packages/webpacker/node_modules/eslint/lib/config/flat-config-array.js +134 -0
  437. data/packages/webpacker/node_modules/eslint/lib/config/flat-config-helpers.js +103 -0
  438. data/packages/webpacker/node_modules/eslint/lib/config/flat-config-schema.js +457 -0
  439. data/packages/webpacker/node_modules/eslint/lib/config/rule-validator.js +157 -0
  440. data/packages/webpacker/node_modules/eslint/lib/eslint/eslint.js +712 -0
  441. data/packages/webpacker/node_modules/eslint/lib/eslint/index.js +7 -0
  442. data/packages/webpacker/node_modules/eslint/lib/linter/apply-disable-directives.js +341 -0
  443. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +844 -0
  444. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +235 -0
  445. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +1483 -0
  446. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +247 -0
  447. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
  448. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +248 -0
  449. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
  450. data/packages/webpacker/node_modules/eslint/lib/linter/config-comment-parser.js +145 -0
  451. data/packages/webpacker/node_modules/eslint/lib/linter/index.js +13 -0
  452. data/packages/webpacker/node_modules/eslint/lib/linter/interpolate.js +28 -0
  453. data/packages/webpacker/node_modules/eslint/lib/linter/linter.js +2004 -0
  454. data/packages/webpacker/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
  455. data/packages/webpacker/node_modules/eslint/lib/linter/report-translator.js +368 -0
  456. data/packages/webpacker/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
  457. data/packages/webpacker/node_modules/eslint/lib/linter/rules.js +80 -0
  458. data/packages/webpacker/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
  459. data/packages/webpacker/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
  460. data/packages/webpacker/node_modules/eslint/lib/linter/timing.js +160 -0
  461. data/packages/webpacker/node_modules/eslint/lib/options.js +323 -0
  462. data/packages/webpacker/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1039 -0
  463. data/packages/webpacker/node_modules/eslint/lib/rule-tester/index.js +5 -0
  464. data/packages/webpacker/node_modules/eslint/lib/rule-tester/rule-tester.js +1008 -0
  465. data/packages/webpacker/node_modules/eslint/lib/rules/accessor-pairs.js +354 -0
  466. data/packages/webpacker/node_modules/eslint/lib/rules/array-bracket-newline.js +258 -0
  467. data/packages/webpacker/node_modules/eslint/lib/rules/array-bracket-spacing.js +241 -0
  468. data/packages/webpacker/node_modules/eslint/lib/rules/array-callback-return.js +296 -0
  469. data/packages/webpacker/node_modules/eslint/lib/rules/array-element-newline.js +301 -0
  470. data/packages/webpacker/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
  471. data/packages/webpacker/node_modules/eslint/lib/rules/arrow-parens.js +183 -0
  472. data/packages/webpacker/node_modules/eslint/lib/rules/arrow-spacing.js +161 -0
  473. data/packages/webpacker/node_modules/eslint/lib/rules/block-scoped-var.js +124 -0
  474. data/packages/webpacker/node_modules/eslint/lib/rules/block-spacing.js +171 -0
  475. data/packages/webpacker/node_modules/eslint/lib/rules/brace-style.js +194 -0
  476. data/packages/webpacker/node_modules/eslint/lib/rules/callback-return.js +187 -0
  477. data/packages/webpacker/node_modules/eslint/lib/rules/camelcase.js +398 -0
  478. data/packages/webpacker/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
  479. data/packages/webpacker/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
  480. data/packages/webpacker/node_modules/eslint/lib/rules/comma-dangle.js +350 -0
  481. data/packages/webpacker/node_modules/eslint/lib/rules/comma-spacing.js +195 -0
  482. data/packages/webpacker/node_modules/eslint/lib/rules/comma-style.js +311 -0
  483. data/packages/webpacker/node_modules/eslint/lib/rules/complexity.js +165 -0
  484. data/packages/webpacker/node_modules/eslint/lib/rules/computed-property-spacing.js +205 -0
  485. data/packages/webpacker/node_modules/eslint/lib/rules/consistent-return.js +185 -0
  486. data/packages/webpacker/node_modules/eslint/lib/rules/consistent-this.js +151 -0
  487. data/packages/webpacker/node_modules/eslint/lib/rules/constructor-super.js +423 -0
  488. data/packages/webpacker/node_modules/eslint/lib/rules/curly.js +486 -0
  489. data/packages/webpacker/node_modules/eslint/lib/rules/default-case-last.js +44 -0
  490. data/packages/webpacker/node_modules/eslint/lib/rules/default-case.js +97 -0
  491. data/packages/webpacker/node_modules/eslint/lib/rules/default-param-last.js +62 -0
  492. data/packages/webpacker/node_modules/eslint/lib/rules/dot-location.js +105 -0
  493. data/packages/webpacker/node_modules/eslint/lib/rules/dot-notation.js +177 -0
  494. data/packages/webpacker/node_modules/eslint/lib/rules/eol-last.js +112 -0
  495. data/packages/webpacker/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
  496. data/packages/webpacker/node_modules/eslint/lib/rules/for-direction.js +126 -0
  497. data/packages/webpacker/node_modules/eslint/lib/rules/func-call-spacing.js +230 -0
  498. data/packages/webpacker/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
  499. data/packages/webpacker/node_modules/eslint/lib/rules/func-names.js +191 -0
  500. data/packages/webpacker/node_modules/eslint/lib/rules/func-style.js +98 -0
  501. data/packages/webpacker/node_modules/eslint/lib/rules/function-call-argument-newline.js +122 -0
  502. data/packages/webpacker/node_modules/eslint/lib/rules/function-paren-newline.js +286 -0
  503. data/packages/webpacker/node_modules/eslint/lib/rules/generator-star-spacing.js +206 -0
  504. data/packages/webpacker/node_modules/eslint/lib/rules/getter-return.js +173 -0
  505. data/packages/webpacker/node_modules/eslint/lib/rules/global-require.js +87 -0
  506. data/packages/webpacker/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +224 -0
  507. data/packages/webpacker/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
  508. data/packages/webpacker/node_modules/eslint/lib/rules/handle-callback-err.js +100 -0
  509. data/packages/webpacker/node_modules/eslint/lib/rules/id-blacklist.js +245 -0
  510. data/packages/webpacker/node_modules/eslint/lib/rules/id-denylist.js +227 -0
  511. data/packages/webpacker/node_modules/eslint/lib/rules/id-length.js +169 -0
  512. data/packages/webpacker/node_modules/eslint/lib/rules/id-match.js +298 -0
  513. data/packages/webpacker/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +81 -0
  514. data/packages/webpacker/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
  515. data/packages/webpacker/node_modules/eslint/lib/rules/indent.js +1764 -0
  516. data/packages/webpacker/node_modules/eslint/lib/rules/index.js +301 -0
  517. data/packages/webpacker/node_modules/eslint/lib/rules/init-declarations.js +139 -0
  518. data/packages/webpacker/node_modules/eslint/lib/rules/jsx-quotes.js +95 -0
  519. data/packages/webpacker/node_modules/eslint/lib/rules/key-spacing.js +675 -0
  520. data/packages/webpacker/node_modules/eslint/lib/rules/keyword-spacing.js +637 -0
  521. data/packages/webpacker/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
  522. data/packages/webpacker/node_modules/eslint/lib/rules/linebreak-style.js +105 -0
  523. data/packages/webpacker/node_modules/eslint/lib/rules/lines-around-comment.js +450 -0
  524. data/packages/webpacker/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
  525. data/packages/webpacker/node_modules/eslint/lib/rules/lines-between-class-members.js +181 -0
  526. data/packages/webpacker/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
  527. data/packages/webpacker/node_modules/eslint/lib/rules/max-depth.js +156 -0
  528. data/packages/webpacker/node_modules/eslint/lib/rules/max-len.js +433 -0
  529. data/packages/webpacker/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
  530. data/packages/webpacker/node_modules/eslint/lib/rules/max-lines.js +193 -0
  531. data/packages/webpacker/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
  532. data/packages/webpacker/node_modules/eslint/lib/rules/max-params.js +102 -0
  533. data/packages/webpacker/node_modules/eslint/lib/rules/max-statements-per-line.js +196 -0
  534. data/packages/webpacker/node_modules/eslint/lib/rules/max-statements.js +184 -0
  535. data/packages/webpacker/node_modules/eslint/lib/rules/multiline-comment-style.js +435 -0
  536. data/packages/webpacker/node_modules/eslint/lib/rules/multiline-ternary.js +171 -0
  537. data/packages/webpacker/node_modules/eslint/lib/rules/new-cap.js +276 -0
  538. data/packages/webpacker/node_modules/eslint/lib/rules/new-parens.js +99 -0
  539. data/packages/webpacker/node_modules/eslint/lib/rules/newline-after-var.js +255 -0
  540. data/packages/webpacker/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
  541. data/packages/webpacker/node_modules/eslint/lib/rules/newline-per-chained-call.js +123 -0
  542. data/packages/webpacker/node_modules/eslint/lib/rules/no-alert.js +136 -0
  543. data/packages/webpacker/node_modules/eslint/lib/rules/no-array-constructor.js +54 -0
  544. data/packages/webpacker/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
  545. data/packages/webpacker/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
  546. data/packages/webpacker/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
  547. data/packages/webpacker/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
  548. data/packages/webpacker/node_modules/eslint/lib/rules/no-caller.js +46 -0
  549. data/packages/webpacker/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
  550. data/packages/webpacker/node_modules/eslint/lib/rules/no-catch-shadow.js +80 -0
  551. data/packages/webpacker/node_modules/eslint/lib/rules/no-class-assign.js +61 -0
  552. data/packages/webpacker/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
  553. data/packages/webpacker/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
  554. data/packages/webpacker/node_modules/eslint/lib/rules/no-confusing-arrow.js +89 -0
  555. data/packages/webpacker/node_modules/eslint/lib/rules/no-console.js +134 -0
  556. data/packages/webpacker/node_modules/eslint/lib/rules/no-const-assign.js +54 -0
  557. data/packages/webpacker/node_modules/eslint/lib/rules/no-constant-condition.js +315 -0
  558. data/packages/webpacker/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
  559. data/packages/webpacker/node_modules/eslint/lib/rules/no-continue.js +39 -0
  560. data/packages/webpacker/node_modules/eslint/lib/rules/no-control-regex.js +112 -0
  561. data/packages/webpacker/node_modules/eslint/lib/rules/no-debugger.js +43 -0
  562. data/packages/webpacker/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
  563. data/packages/webpacker/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
  564. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-args.js +80 -0
  565. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
  566. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
  567. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
  568. data/packages/webpacker/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
  569. data/packages/webpacker/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
  570. data/packages/webpacker/node_modules/eslint/lib/rules/no-else-return.js +404 -0
  571. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-character-class.js +55 -0
  572. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
  573. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-pattern.js +43 -0
  574. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty.js +86 -0
  575. data/packages/webpacker/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
  576. data/packages/webpacker/node_modules/eslint/lib/rules/no-eval.js +281 -0
  577. data/packages/webpacker/node_modules/eslint/lib/rules/no-ex-assign.js +52 -0
  578. data/packages/webpacker/node_modules/eslint/lib/rules/no-extend-native.js +178 -0
  579. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
  580. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
  581. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
  582. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-parens.js +1235 -0
  583. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-semi.js +126 -0
  584. data/packages/webpacker/node_modules/eslint/lib/rules/no-fallthrough.js +147 -0
  585. data/packages/webpacker/node_modules/eslint/lib/rules/no-floating-decimal.js +70 -0
  586. data/packages/webpacker/node_modules/eslint/lib/rules/no-func-assign.js +76 -0
  587. data/packages/webpacker/node_modules/eslint/lib/rules/no-global-assign.js +94 -0
  588. data/packages/webpacker/node_modules/eslint/lib/rules/no-implicit-coercion.js +361 -0
  589. data/packages/webpacker/node_modules/eslint/lib/rules/no-implicit-globals.js +140 -0
  590. data/packages/webpacker/node_modules/eslint/lib/rules/no-implied-eval.js +131 -0
  591. data/packages/webpacker/node_modules/eslint/lib/rules/no-import-assign.js +239 -0
  592. data/packages/webpacker/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
  593. data/packages/webpacker/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
  594. data/packages/webpacker/node_modules/eslint/lib/rules/no-invalid-regexp.js +157 -0
  595. data/packages/webpacker/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
  596. data/packages/webpacker/node_modules/eslint/lib/rules/no-irregular-whitespace.js +259 -0
  597. data/packages/webpacker/node_modules/eslint/lib/rules/no-iterator.js +52 -0
  598. data/packages/webpacker/node_modules/eslint/lib/rules/no-label-var.js +79 -0
  599. data/packages/webpacker/node_modules/eslint/lib/rules/no-labels.js +149 -0
  600. data/packages/webpacker/node_modules/eslint/lib/rules/no-lone-blocks.js +134 -0
  601. data/packages/webpacker/node_modules/eslint/lib/rules/no-lonely-if.js +89 -0
  602. data/packages/webpacker/node_modules/eslint/lib/rules/no-loop-func.js +204 -0
  603. data/packages/webpacker/node_modules/eslint/lib/rules/no-loss-of-precision.js +206 -0
  604. data/packages/webpacker/node_modules/eslint/lib/rules/no-magic-numbers.js +226 -0
  605. data/packages/webpacker/node_modules/eslint/lib/rules/no-misleading-character-class.js +200 -0
  606. data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-operators.js +226 -0
  607. data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
  608. data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +113 -0
  609. data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
  610. data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-spaces.js +138 -0
  611. data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
  612. data/packages/webpacker/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +151 -0
  613. data/packages/webpacker/node_modules/eslint/lib/rules/no-native-reassign.js +97 -0
  614. data/packages/webpacker/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
  615. data/packages/webpacker/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
  616. data/packages/webpacker/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
  617. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-func.js +86 -0
  618. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-object.js +57 -0
  619. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-require.js +50 -0
  620. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-symbol.js +54 -0
  621. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-wrappers.js +48 -0
  622. data/packages/webpacker/node_modules/eslint/lib/rules/no-new.js +43 -0
  623. data/packages/webpacker/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
  624. data/packages/webpacker/node_modules/eslint/lib/rules/no-obj-calls.js +84 -0
  625. data/packages/webpacker/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
  626. data/packages/webpacker/node_modules/eslint/lib/rules/no-octal.js +45 -0
  627. data/packages/webpacker/node_modules/eslint/lib/rules/no-param-reassign.js +229 -0
  628. data/packages/webpacker/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
  629. data/packages/webpacker/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
  630. data/packages/webpacker/node_modules/eslint/lib/rules/no-process-env.js +51 -0
  631. data/packages/webpacker/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
  632. data/packages/webpacker/node_modules/eslint/lib/rules/no-promise-executor-return.js +121 -0
  633. data/packages/webpacker/node_modules/eslint/lib/rules/no-proto.js +48 -0
  634. data/packages/webpacker/node_modules/eslint/lib/rules/no-prototype-builtins.js +71 -0
  635. data/packages/webpacker/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
  636. data/packages/webpacker/node_modules/eslint/lib/rules/no-regex-spaces.js +180 -0
  637. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-exports.js +96 -0
  638. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-globals.js +122 -0
  639. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-imports.js +322 -0
  640. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-modules.js +216 -0
  641. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-properties.js +181 -0
  642. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
  643. data/packages/webpacker/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
  644. data/packages/webpacker/node_modules/eslint/lib/rules/no-return-await.js +103 -0
  645. data/packages/webpacker/node_modules/eslint/lib/rules/no-script-url.js +61 -0
  646. data/packages/webpacker/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
  647. data/packages/webpacker/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
  648. data/packages/webpacker/node_modules/eslint/lib/rules/no-sequences.js +138 -0
  649. data/packages/webpacker/node_modules/eslint/lib/rules/no-setter-return.js +225 -0
  650. data/packages/webpacker/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +64 -0
  651. data/packages/webpacker/node_modules/eslint/lib/rules/no-shadow.js +335 -0
  652. data/packages/webpacker/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
  653. data/packages/webpacker/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
  654. data/packages/webpacker/node_modules/eslint/lib/rules/no-sync.js +64 -0
  655. data/packages/webpacker/node_modules/eslint/lib/rules/no-tabs.js +78 -0
  656. data/packages/webpacker/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
  657. data/packages/webpacker/node_modules/eslint/lib/rules/no-ternary.js +41 -0
  658. data/packages/webpacker/node_modules/eslint/lib/rules/no-this-before-super.js +304 -0
  659. data/packages/webpacker/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
  660. data/packages/webpacker/node_modules/eslint/lib/rules/no-trailing-spaces.js +190 -0
  661. data/packages/webpacker/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
  662. data/packages/webpacker/node_modules/eslint/lib/rules/no-undef.js +78 -0
  663. data/packages/webpacker/node_modules/eslint/lib/rules/no-undefined.js +84 -0
  664. data/packages/webpacker/node_modules/eslint/lib/rules/no-underscore-dangle.js +280 -0
  665. data/packages/webpacker/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
  666. data/packages/webpacker/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
  667. data/packages/webpacker/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
  668. data/packages/webpacker/node_modules/eslint/lib/rules/no-unreachable-loop.js +150 -0
  669. data/packages/webpacker/node_modules/eslint/lib/rules/no-unreachable.js +264 -0
  670. data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
  671. data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
  672. data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
  673. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-expressions.js +189 -0
  674. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-labels.js +110 -0
  675. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
  676. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-vars.js +690 -0
  677. data/packages/webpacker/node_modules/eslint/lib/rules/no-use-before-define.js +334 -0
  678. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-backreference.js +192 -0
  679. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
  680. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
  681. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
  682. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
  683. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
  684. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-escape.js +254 -0
  685. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
  686. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-return.js +305 -0
  687. data/packages/webpacker/node_modules/eslint/lib/rules/no-var.js +334 -0
  688. data/packages/webpacker/node_modules/eslint/lib/rules/no-void.js +64 -0
  689. data/packages/webpacker/node_modules/eslint/lib/rules/no-warning-comments.js +196 -0
  690. data/packages/webpacker/node_modules/eslint/lib/rules/no-whitespace-before-property.js +113 -0
  691. data/packages/webpacker/node_modules/eslint/lib/rules/no-with.js +39 -0
  692. data/packages/webpacker/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +124 -0
  693. data/packages/webpacker/node_modules/eslint/lib/rules/object-curly-newline.js +321 -0
  694. data/packages/webpacker/node_modules/eslint/lib/rules/object-curly-spacing.js +308 -0
  695. data/packages/webpacker/node_modules/eslint/lib/rules/object-property-newline.js +99 -0
  696. data/packages/webpacker/node_modules/eslint/lib/rules/object-shorthand.js +504 -0
  697. data/packages/webpacker/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +92 -0
  698. data/packages/webpacker/node_modules/eslint/lib/rules/one-var.js +567 -0
  699. data/packages/webpacker/node_modules/eslint/lib/rules/operator-assignment.js +207 -0
  700. data/packages/webpacker/node_modules/eslint/lib/rules/operator-linebreak.js +250 -0
  701. data/packages/webpacker/node_modules/eslint/lib/rules/padded-blocks.js +307 -0
  702. data/packages/webpacker/node_modules/eslint/lib/rules/padding-line-between-statements.js +634 -0
  703. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-arrow-callback.js +380 -0
  704. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-const.js +489 -0
  705. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
  706. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +190 -0
  707. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-named-capture-group.js +110 -0
  708. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
  709. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-object-has-own.js +112 -0
  710. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-object-spread.js +299 -0
  711. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +131 -0
  712. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
  713. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-regex-literals.js +396 -0
  714. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-rest-params.js +115 -0
  715. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
  716. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-template.js +275 -0
  717. data/packages/webpacker/node_modules/eslint/lib/rules/quote-props.js +307 -0
  718. data/packages/webpacker/node_modules/eslint/lib/rules/quotes.js +347 -0
  719. data/packages/webpacker/node_modules/eslint/lib/rules/radix.js +198 -0
  720. data/packages/webpacker/node_modules/eslint/lib/rules/require-atomic-updates.js +317 -0
  721. data/packages/webpacker/node_modules/eslint/lib/rules/require-await.js +113 -0
  722. data/packages/webpacker/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
  723. data/packages/webpacker/node_modules/eslint/lib/rules/require-unicode-regexp.js +69 -0
  724. data/packages/webpacker/node_modules/eslint/lib/rules/require-yield.js +78 -0
  725. data/packages/webpacker/node_modules/eslint/lib/rules/rest-spread-spacing.js +120 -0
  726. data/packages/webpacker/node_modules/eslint/lib/rules/semi-spacing.js +245 -0
  727. data/packages/webpacker/node_modules/eslint/lib/rules/semi-style.js +155 -0
  728. data/packages/webpacker/node_modules/eslint/lib/rules/semi.js +410 -0
  729. data/packages/webpacker/node_modules/eslint/lib/rules/sort-imports.js +241 -0
  730. data/packages/webpacker/node_modules/eslint/lib/rules/sort-keys.js +187 -0
  731. data/packages/webpacker/node_modules/eslint/lib/rules/sort-vars.js +104 -0
  732. data/packages/webpacker/node_modules/eslint/lib/rules/space-before-blocks.js +201 -0
  733. data/packages/webpacker/node_modules/eslint/lib/rules/space-before-function-paren.js +164 -0
  734. data/packages/webpacker/node_modules/eslint/lib/rules/space-in-parens.js +282 -0
  735. data/packages/webpacker/node_modules/eslint/lib/rules/space-infix-ops.js +195 -0
  736. data/packages/webpacker/node_modules/eslint/lib/rules/space-unary-ops.js +321 -0
  737. data/packages/webpacker/node_modules/eslint/lib/rules/spaced-comment.js +382 -0
  738. data/packages/webpacker/node_modules/eslint/lib/rules/strict.js +277 -0
  739. data/packages/webpacker/node_modules/eslint/lib/rules/switch-colon-spacing.js +129 -0
  740. data/packages/webpacker/node_modules/eslint/lib/rules/symbol-description.js +71 -0
  741. data/packages/webpacker/node_modules/eslint/lib/rules/template-curly-spacing.js +141 -0
  742. data/packages/webpacker/node_modules/eslint/lib/rules/template-tag-spacing.js +90 -0
  743. data/packages/webpacker/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
  744. data/packages/webpacker/node_modules/eslint/lib/rules/use-isnan.js +141 -0
  745. data/packages/webpacker/node_modules/eslint/lib/rules/utils/ast-utils.js +1922 -0
  746. data/packages/webpacker/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
  747. data/packages/webpacker/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
  748. data/packages/webpacker/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
  749. data/packages/webpacker/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
  750. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
  751. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
  752. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
  753. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
  754. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
  755. data/packages/webpacker/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
  756. data/packages/webpacker/node_modules/eslint/lib/rules/valid-typeof.js +85 -0
  757. data/packages/webpacker/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
  758. data/packages/webpacker/node_modules/eslint/lib/rules/wrap-iife.js +204 -0
  759. data/packages/webpacker/node_modules/eslint/lib/rules/wrap-regex.js +59 -0
  760. data/packages/webpacker/node_modules/eslint/lib/rules/yield-star-spacing.js +127 -0
  761. data/packages/webpacker/node_modules/eslint/lib/rules/yoda.js +362 -0
  762. data/packages/webpacker/node_modules/eslint/lib/shared/ajv.js +34 -0
  763. data/packages/webpacker/node_modules/eslint/lib/shared/ast-utils.js +29 -0
  764. data/packages/webpacker/node_modules/eslint/lib/shared/config-validator.js +347 -0
  765. data/packages/webpacker/node_modules/eslint/lib/shared/deprecation-warnings.js +65 -0
  766. data/packages/webpacker/node_modules/eslint/lib/shared/logging.js +30 -0
  767. data/packages/webpacker/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
  768. data/packages/webpacker/node_modules/eslint/lib/shared/runtime-info.js +167 -0
  769. data/packages/webpacker/node_modules/eslint/lib/shared/string-utils.js +22 -0
  770. data/packages/webpacker/node_modules/eslint/lib/shared/traverser.js +195 -0
  771. data/packages/webpacker/node_modules/eslint/lib/shared/types.js +175 -0
  772. data/packages/webpacker/node_modules/eslint/lib/source-code/index.js +5 -0
  773. data/packages/webpacker/node_modules/eslint/lib/source-code/source-code.js +593 -0
  774. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
  775. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
  776. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
  777. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
  778. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
  779. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
  780. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
  781. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
  782. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
  783. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
  784. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
  785. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
  786. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/utils.js +92 -0
  787. data/packages/webpacker/node_modules/eslint/lib/unsupported-api.js +23 -0
  788. data/packages/webpacker/node_modules/eslint/messages/all-files-ignored.js +16 -0
  789. data/packages/webpacker/node_modules/eslint/messages/extend-config-missing.js +13 -0
  790. data/packages/webpacker/node_modules/eslint/messages/failed-to-read-json.js +11 -0
  791. data/packages/webpacker/node_modules/eslint/messages/file-not-found.js +10 -0
  792. data/packages/webpacker/node_modules/eslint/messages/no-config-found.js +15 -0
  793. data/packages/webpacker/node_modules/eslint/messages/plugin-conflict.js +22 -0
  794. data/packages/webpacker/node_modules/eslint/messages/plugin-invalid.js +16 -0
  795. data/packages/webpacker/node_modules/eslint/messages/plugin-missing.js +19 -0
  796. data/packages/webpacker/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
  797. data/packages/webpacker/node_modules/eslint/messages/whitespace-found.js +11 -0
  798. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/LICENSE +201 -0
  799. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/README.md +107 -0
  800. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +382 -0
  801. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
  802. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
  803. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/lib/index.js +65 -0
  804. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/lib/visitor-keys.js +312 -0
  805. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/package.json +62 -0
  806. data/packages/webpacker/node_modules/eslint/node_modules/ignore/LICENSE-MIT +21 -0
  807. data/packages/webpacker/node_modules/eslint/node_modules/ignore/README.md +412 -0
  808. data/packages/webpacker/node_modules/eslint/node_modules/ignore/index.d.ts +61 -0
  809. data/packages/webpacker/node_modules/eslint/node_modules/ignore/index.js +603 -0
  810. data/packages/webpacker/node_modules/eslint/node_modules/ignore/legacy.js +498 -0
  811. data/packages/webpacker/node_modules/eslint/node_modules/ignore/package.json +71 -0
  812. data/packages/webpacker/node_modules/eslint/package.json +150 -0
  813. data/packages/webpacker/node_modules/eslint-scope/LICENSE +22 -0
  814. data/packages/webpacker/node_modules/eslint-scope/README.md +66 -0
  815. data/packages/webpacker/node_modules/eslint-scope/dist/eslint-scope.cjs +2240 -0
  816. data/packages/webpacker/node_modules/eslint-scope/lib/definition.js +85 -0
  817. data/packages/webpacker/node_modules/eslint-scope/lib/index.js +172 -0
  818. data/packages/webpacker/node_modules/eslint-scope/lib/pattern-visitor.js +153 -0
  819. data/packages/webpacker/node_modules/eslint-scope/lib/reference.js +166 -0
  820. data/packages/webpacker/node_modules/eslint-scope/lib/referencer.js +654 -0
  821. data/packages/webpacker/node_modules/eslint-scope/lib/scope-manager.js +255 -0
  822. data/packages/webpacker/node_modules/eslint-scope/lib/scope.js +772 -0
  823. data/packages/webpacker/node_modules/eslint-scope/lib/variable.js +87 -0
  824. data/packages/webpacker/node_modules/eslint-scope/lib/version.js +3 -0
  825. data/packages/webpacker/node_modules/eslint-scope/package.json +62 -0
  826. data/packages/webpacker/node_modules/eslint-utils/LICENSE +21 -0
  827. data/packages/webpacker/node_modules/eslint-utils/README.md +38 -0
  828. data/packages/webpacker/node_modules/eslint-utils/index.js +1956 -0
  829. data/packages/webpacker/node_modules/eslint-utils/index.js.map +1 -0
  830. data/packages/webpacker/node_modules/eslint-utils/index.mjs +1914 -0
  831. data/packages/webpacker/node_modules/eslint-utils/index.mjs.map +1 -0
  832. data/packages/webpacker/node_modules/eslint-utils/package.json +78 -0
  833. data/packages/webpacker/node_modules/espree/LICENSE +25 -0
  834. data/packages/webpacker/node_modules/espree/README.md +250 -0
  835. data/packages/webpacker/node_modules/espree/dist/espree.cjs +917 -0
  836. data/packages/webpacker/node_modules/espree/espree.js +173 -0
  837. data/packages/webpacker/node_modules/espree/lib/espree.js +328 -0
  838. data/packages/webpacker/node_modules/espree/lib/features.js +27 -0
  839. data/packages/webpacker/node_modules/espree/lib/options.js +121 -0
  840. data/packages/webpacker/node_modules/espree/lib/token-translator.js +265 -0
  841. data/packages/webpacker/node_modules/espree/lib/version.js +3 -0
  842. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/LICENSE +201 -0
  843. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/README.md +107 -0
  844. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +382 -0
  845. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
  846. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
  847. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/lib/index.js +65 -0
  848. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/lib/visitor-keys.js +312 -0
  849. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/package.json +62 -0
  850. data/packages/webpacker/node_modules/espree/package.json +86 -0
  851. data/packages/webpacker/node_modules/execa/index.d.ts +564 -0
  852. data/packages/webpacker/node_modules/execa/index.js +268 -0
  853. data/packages/webpacker/node_modules/execa/lib/command.js +52 -0
  854. data/packages/webpacker/node_modules/execa/lib/error.js +88 -0
  855. data/packages/webpacker/node_modules/execa/lib/kill.js +115 -0
  856. data/packages/webpacker/node_modules/execa/lib/promise.js +46 -0
  857. data/packages/webpacker/node_modules/execa/lib/stdio.js +52 -0
  858. data/packages/webpacker/node_modules/execa/lib/stream.js +97 -0
  859. data/packages/webpacker/node_modules/execa/license +9 -0
  860. data/packages/webpacker/node_modules/execa/package.json +74 -0
  861. data/packages/webpacker/node_modules/execa/readme.md +663 -0
  862. data/packages/webpacker/node_modules/expect/LICENSE +21 -0
  863. data/packages/webpacker/node_modules/expect/README.md +3 -0
  864. data/packages/webpacker/node_modules/expect/build/asymmetricMatchers.d.ts +75 -0
  865. data/packages/webpacker/node_modules/expect/build/asymmetricMatchers.js +432 -0
  866. data/packages/webpacker/node_modules/expect/build/extractExpectedAssertionsErrors.d.ts +10 -0
  867. data/packages/webpacker/node_modules/expect/build/extractExpectedAssertionsErrors.js +90 -0
  868. data/packages/webpacker/node_modules/expect/build/index.d.ts +15 -0
  869. data/packages/webpacker/node_modules/expect/build/index.js +485 -0
  870. data/packages/webpacker/node_modules/expect/build/jasmineUtils.d.ts +8 -0
  871. data/packages/webpacker/node_modules/expect/build/jasmineUtils.js +279 -0
  872. data/packages/webpacker/node_modules/expect/build/jestMatchersObject.d.ts +13 -0
  873. data/packages/webpacker/node_modules/expect/build/jestMatchersObject.js +120 -0
  874. data/packages/webpacker/node_modules/expect/build/matchers.d.ts +10 -0
  875. data/packages/webpacker/node_modules/expect/build/matchers.js +1370 -0
  876. data/packages/webpacker/node_modules/expect/build/print.d.ts +15 -0
  877. data/packages/webpacker/node_modules/expect/build/print.js +141 -0
  878. data/packages/webpacker/node_modules/expect/build/spyMatchers.d.ts +9 -0
  879. data/packages/webpacker/node_modules/expect/build/spyMatchers.js +1339 -0
  880. data/packages/webpacker/node_modules/expect/build/toThrowMatchers.d.ts +11 -0
  881. data/packages/webpacker/node_modules/expect/build/toThrowMatchers.js +464 -0
  882. data/packages/webpacker/node_modules/expect/build/types.d.ts +327 -0
  883. data/packages/webpacker/node_modules/expect/build/types.js +3 -0
  884. data/packages/webpacker/node_modules/expect/build/utils.d.ts +26 -0
  885. data/packages/webpacker/node_modules/expect/build/utils.js +458 -0
  886. data/packages/webpacker/node_modules/expect/package.json +42 -0
  887. data/packages/webpacker/node_modules/get-stream/buffer-stream.js +52 -0
  888. data/packages/webpacker/node_modules/get-stream/index.d.ts +105 -0
  889. data/packages/webpacker/node_modules/get-stream/index.js +61 -0
  890. data/packages/webpacker/node_modules/get-stream/license +9 -0
  891. data/packages/webpacker/node_modules/get-stream/package.json +47 -0
  892. data/packages/webpacker/node_modules/get-stream/readme.md +124 -0
  893. data/packages/webpacker/node_modules/glob-parent/LICENSE +15 -0
  894. data/packages/webpacker/node_modules/glob-parent/README.md +134 -0
  895. data/packages/webpacker/node_modules/glob-parent/index.js +75 -0
  896. data/packages/webpacker/node_modules/glob-parent/package.json +54 -0
  897. data/packages/webpacker/node_modules/globals/globals.json +1781 -0
  898. data/packages/webpacker/node_modules/globals/index.d.ts +6 -0
  899. data/packages/webpacker/node_modules/globals/index.js +2 -0
  900. data/packages/webpacker/node_modules/globals/license +9 -0
  901. data/packages/webpacker/node_modules/globals/package.json +55 -0
  902. data/packages/webpacker/node_modules/globals/readme.md +56 -0
  903. data/packages/webpacker/node_modules/has-flag/index.d.ts +39 -0
  904. data/packages/webpacker/node_modules/has-flag/index.js +8 -0
  905. data/packages/webpacker/node_modules/has-flag/license +9 -0
  906. data/packages/webpacker/node_modules/has-flag/package.json +46 -0
  907. data/packages/webpacker/node_modules/has-flag/readme.md +89 -0
  908. data/packages/webpacker/node_modules/human-signals/CHANGELOG.md +11 -0
  909. data/packages/webpacker/node_modules/human-signals/LICENSE +201 -0
  910. data/packages/webpacker/node_modules/human-signals/README.md +165 -0
  911. data/packages/webpacker/node_modules/human-signals/build/src/core.js +273 -0
  912. data/packages/webpacker/node_modules/human-signals/build/src/core.js.map +1 -0
  913. data/packages/webpacker/node_modules/human-signals/build/src/main.d.ts +52 -0
  914. data/packages/webpacker/node_modules/human-signals/build/src/main.js +71 -0
  915. data/packages/webpacker/node_modules/human-signals/build/src/main.js.map +1 -0
  916. data/packages/webpacker/node_modules/human-signals/build/src/realtime.js +19 -0
  917. data/packages/webpacker/node_modules/human-signals/build/src/realtime.js.map +1 -0
  918. data/packages/webpacker/node_modules/human-signals/build/src/signals.js +35 -0
  919. data/packages/webpacker/node_modules/human-signals/build/src/signals.js.map +1 -0
  920. data/packages/webpacker/node_modules/human-signals/package.json +64 -0
  921. data/packages/webpacker/node_modules/jest/LICENSE +21 -0
  922. data/packages/webpacker/node_modules/jest/README.md +11 -0
  923. data/packages/webpacker/node_modules/jest/bin/jest.js +13 -0
  924. data/packages/webpacker/node_modules/jest/build/jest.d.ts +8 -0
  925. data/packages/webpacker/node_modules/jest/build/jest.js +61 -0
  926. data/packages/webpacker/node_modules/jest/package.json +68 -0
  927. data/packages/webpacker/node_modules/jest-changed-files/LICENSE +21 -0
  928. data/packages/webpacker/node_modules/jest-changed-files/README.md +63 -0
  929. data/packages/webpacker/node_modules/jest-changed-files/build/git.d.ts +10 -0
  930. data/packages/webpacker/node_modules/jest-changed-files/build/git.js +179 -0
  931. data/packages/webpacker/node_modules/jest-changed-files/build/hg.d.ts +10 -0
  932. data/packages/webpacker/node_modules/jest-changed-files/build/hg.js +133 -0
  933. data/packages/webpacker/node_modules/jest-changed-files/build/index.d.ts +12 -0
  934. data/packages/webpacker/node_modules/jest-changed-files/build/index.js +86 -0
  935. data/packages/webpacker/node_modules/jest-changed-files/build/types.d.ts +28 -0
  936. data/packages/webpacker/node_modules/jest-changed-files/build/types.js +1 -0
  937. data/packages/webpacker/node_modules/jest-changed-files/package.json +31 -0
  938. data/packages/webpacker/node_modules/jest-cli/LICENSE +21 -0
  939. data/packages/webpacker/node_modules/jest-cli/README.md +11 -0
  940. data/packages/webpacker/node_modules/jest-cli/bin/jest.js +17 -0
  941. data/packages/webpacker/node_modules/jest-cli/build/cli/args.d.ts +448 -0
  942. data/packages/webpacker/node_modules/jest-cli/build/cli/args.js +710 -0
  943. data/packages/webpacker/node_modules/jest-cli/build/cli/index.d.ts +9 -0
  944. data/packages/webpacker/node_modules/jest-cli/build/cli/index.js +265 -0
  945. data/packages/webpacker/node_modules/jest-cli/build/index.d.ts +7 -0
  946. data/packages/webpacker/node_modules/jest-cli/build/index.js +13 -0
  947. data/packages/webpacker/node_modules/jest-cli/build/init/errors.d.ts +12 -0
  948. data/packages/webpacker/node_modules/jest-cli/build/init/errors.js +35 -0
  949. data/packages/webpacker/node_modules/jest-cli/build/init/generateConfigFile.d.ts +8 -0
  950. data/packages/webpacker/node_modules/jest-cli/build/init/generateConfigFile.js +104 -0
  951. data/packages/webpacker/node_modules/jest-cli/build/init/index.d.ts +7 -0
  952. data/packages/webpacker/node_modules/jest-cli/build/init/index.js +246 -0
  953. data/packages/webpacker/node_modules/jest-cli/build/init/modifyPackageJson.d.ts +12 -0
  954. data/packages/webpacker/node_modules/jest-cli/build/init/modifyPackageJson.js +28 -0
  955. data/packages/webpacker/node_modules/jest-cli/build/init/questions.d.ts +10 -0
  956. data/packages/webpacker/node_modules/jest-cli/build/init/questions.js +76 -0
  957. data/packages/webpacker/node_modules/jest-cli/build/init/types.d.ts +12 -0
  958. data/packages/webpacker/node_modules/jest-cli/build/init/types.js +1 -0
  959. data/packages/webpacker/node_modules/jest-cli/package.json +89 -0
  960. data/packages/webpacker/node_modules/jest-config/LICENSE +21 -0
  961. data/packages/webpacker/node_modules/jest-config/build/Defaults.d.ts +9 -0
  962. data/packages/webpacker/node_modules/jest-config/build/Defaults.js +125 -0
  963. data/packages/webpacker/node_modules/jest-config/build/Deprecated.d.ts +9 -0
  964. data/packages/webpacker/node_modules/jest-config/build/Deprecated.js +98 -0
  965. data/packages/webpacker/node_modules/jest-config/build/Descriptions.d.ts +11 -0
  966. data/packages/webpacker/node_modules/jest-config/build/Descriptions.js +107 -0
  967. data/packages/webpacker/node_modules/jest-config/build/ReporterValidationErrors.d.ts +19 -0
  968. data/packages/webpacker/node_modules/jest-config/build/ReporterValidationErrors.js +138 -0
  969. data/packages/webpacker/node_modules/jest-config/build/ValidConfig.d.ts +9 -0
  970. data/packages/webpacker/node_modules/jest-config/build/ValidConfig.js +199 -0
  971. data/packages/webpacker/node_modules/jest-config/build/color.d.ts +10 -0
  972. data/packages/webpacker/node_modules/jest-config/build/color.js +37 -0
  973. data/packages/webpacker/node_modules/jest-config/build/constants.d.ts +17 -0
  974. data/packages/webpacker/node_modules/jest-config/build/constants.js +104 -0
  975. data/packages/webpacker/node_modules/jest-config/build/getCacheDirectory.d.ts +9 -0
  976. data/packages/webpacker/node_modules/jest-config/build/getCacheDirectory.js +104 -0
  977. data/packages/webpacker/node_modules/jest-config/build/getMaxWorkers.d.ts +8 -0
  978. data/packages/webpacker/node_modules/jest-config/build/getMaxWorkers.js +65 -0
  979. data/packages/webpacker/node_modules/jest-config/build/index.d.ts +28 -0
  980. data/packages/webpacker/node_modules/jest-config/build/index.js +495 -0
  981. data/packages/webpacker/node_modules/jest-config/build/normalize.d.ts +13 -0
  982. data/packages/webpacker/node_modules/jest-config/build/normalize.js +1372 -0
  983. data/packages/webpacker/node_modules/jest-config/build/readConfigFileAndSetRootDir.d.ts +8 -0
  984. data/packages/webpacker/node_modules/jest-config/build/readConfigFileAndSetRootDir.js +204 -0
  985. data/packages/webpacker/node_modules/jest-config/build/resolveConfigPath.d.ts +8 -0
  986. data/packages/webpacker/node_modules/jest-config/build/resolveConfigPath.js +247 -0
  987. data/packages/webpacker/node_modules/jest-config/build/setFromArgv.d.ts +8 -0
  988. data/packages/webpacker/node_modules/jest-config/build/setFromArgv.js +68 -0
  989. data/packages/webpacker/node_modules/jest-config/build/utils.d.ts +27 -0
  990. data/packages/webpacker/node_modules/jest-config/build/utils.js +209 -0
  991. data/packages/webpacker/node_modules/jest-config/build/validatePattern.d.ts +7 -0
  992. data/packages/webpacker/node_modules/jest-config/build/validatePattern.js +25 -0
  993. data/packages/webpacker/node_modules/jest-config/package.json +68 -0
  994. data/packages/webpacker/node_modules/jest-diff/LICENSE +21 -0
  995. data/packages/webpacker/node_modules/jest-diff/README.md +671 -0
  996. data/packages/webpacker/node_modules/jest-diff/build/cleanupSemantic.d.ts +57 -0
  997. data/packages/webpacker/node_modules/jest-diff/build/cleanupSemantic.js +655 -0
  998. data/packages/webpacker/node_modules/jest-diff/build/constants.d.ts +8 -0
  999. data/packages/webpacker/node_modules/jest-diff/build/constants.js +19 -0
  1000. data/packages/webpacker/node_modules/jest-diff/build/diffLines.d.ts +12 -0
  1001. data/packages/webpacker/node_modules/jest-diff/build/diffLines.js +220 -0
  1002. data/packages/webpacker/node_modules/jest-diff/build/diffStrings.d.ts +9 -0
  1003. data/packages/webpacker/node_modules/jest-diff/build/diffStrings.js +78 -0
  1004. data/packages/webpacker/node_modules/jest-diff/build/getAlignedDiffs.d.ts +10 -0
  1005. data/packages/webpacker/node_modules/jest-diff/build/getAlignedDiffs.js +244 -0
  1006. data/packages/webpacker/node_modules/jest-diff/build/index.d.ts +15 -0
  1007. data/packages/webpacker/node_modules/jest-diff/build/index.js +267 -0
  1008. data/packages/webpacker/node_modules/jest-diff/build/joinAlignedDiffs.d.ts +10 -0
  1009. data/packages/webpacker/node_modules/jest-diff/build/joinAlignedDiffs.js +303 -0
  1010. data/packages/webpacker/node_modules/jest-diff/build/normalizeDiffOptions.d.ts +9 -0
  1011. data/packages/webpacker/node_modules/jest-diff/build/normalizeDiffOptions.js +64 -0
  1012. data/packages/webpacker/node_modules/jest-diff/build/printDiffs.d.ts +10 -0
  1013. data/packages/webpacker/node_modules/jest-diff/build/printDiffs.js +85 -0
  1014. data/packages/webpacker/node_modules/jest-diff/build/types.d.ts +48 -0
  1015. data/packages/webpacker/node_modules/jest-diff/build/types.js +1 -0
  1016. data/packages/webpacker/node_modules/jest-diff/package.json +36 -0
  1017. data/packages/webpacker/node_modules/jest-docblock/LICENSE +21 -0
  1018. data/packages/webpacker/node_modules/jest-docblock/README.md +108 -0
  1019. data/packages/webpacker/node_modules/jest-docblock/build/index.d.ts +19 -0
  1020. data/packages/webpacker/node_modules/jest-docblock/build/index.js +153 -0
  1021. data/packages/webpacker/node_modules/jest-docblock/package.json +32 -0
  1022. data/packages/webpacker/node_modules/jest-each/LICENSE +21 -0
  1023. data/packages/webpacker/node_modules/jest-each/README.md +548 -0
  1024. data/packages/webpacker/node_modules/jest-each/build/bind.d.ts +15 -0
  1025. data/packages/webpacker/node_modules/jest-each/build/bind.js +79 -0
  1026. data/packages/webpacker/node_modules/jest-each/build/index.d.ts +79 -0
  1027. data/packages/webpacker/node_modules/jest-each/build/index.js +97 -0
  1028. data/packages/webpacker/node_modules/jest-each/build/table/array.d.ts +10 -0
  1029. data/packages/webpacker/node_modules/jest-each/build/table/array.js +151 -0
  1030. data/packages/webpacker/node_modules/jest-each/build/table/interpolation.d.ts +17 -0
  1031. data/packages/webpacker/node_modules/jest-each/build/table/interpolation.js +69 -0
  1032. data/packages/webpacker/node_modules/jest-each/build/table/template.d.ts +11 -0
  1033. data/packages/webpacker/node_modules/jest-each/build/table/template.js +45 -0
  1034. data/packages/webpacker/node_modules/jest-each/build/validation.d.ts +11 -0
  1035. data/packages/webpacker/node_modules/jest-each/build/validation.js +133 -0
  1036. data/packages/webpacker/node_modules/jest-each/package.json +41 -0
  1037. data/packages/webpacker/node_modules/jest-environment-jsdom/LICENSE +21 -0
  1038. data/packages/webpacker/node_modules/jest-environment-jsdom/build/index.d.ts +30 -0
  1039. data/packages/webpacker/node_modules/jest-environment-jsdom/build/index.js +195 -0
  1040. data/packages/webpacker/node_modules/jest-environment-jsdom/package.json +39 -0
  1041. data/packages/webpacker/node_modules/jest-environment-node/LICENSE +21 -0
  1042. data/packages/webpacker/node_modules/jest-environment-node/build/index.d.ts +29 -0
  1043. data/packages/webpacker/node_modules/jest-environment-node/build/index.js +184 -0
  1044. data/packages/webpacker/node_modules/jest-environment-node/package.json +37 -0
  1045. data/packages/webpacker/node_modules/jest-get-type/LICENSE +21 -0
  1046. data/packages/webpacker/node_modules/jest-get-type/build/index.d.ts +10 -0
  1047. data/packages/webpacker/node_modules/jest-get-type/build/index.js +57 -0
  1048. data/packages/webpacker/node_modules/jest-get-type/package.json +27 -0
  1049. data/packages/webpacker/node_modules/jest-haste-map/LICENSE +21 -0
  1050. data/packages/webpacker/node_modules/jest-haste-map/build/HasteFS.d.ts +27 -0
  1051. data/packages/webpacker/node_modules/jest-haste-map/build/HasteFS.js +179 -0
  1052. data/packages/webpacker/node_modules/jest-haste-map/build/ModuleMap.d.ts +41 -0
  1053. data/packages/webpacker/node_modules/jest-haste-map/build/ModuleMap.js +305 -0
  1054. data/packages/webpacker/node_modules/jest-haste-map/build/blacklist.d.ts +8 -0
  1055. data/packages/webpacker/node_modules/jest-haste-map/build/blacklist.js +59 -0
  1056. data/packages/webpacker/node_modules/jest-haste-map/build/constants.d.ts +9 -0
  1057. data/packages/webpacker/node_modules/jest-haste-map/build/constants.js +52 -0
  1058. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/node.d.ts +12 -0
  1059. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/node.js +309 -0
  1060. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/watchman.d.ts +13 -0
  1061. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/watchman.js +385 -0
  1062. data/packages/webpacker/node_modules/jest-haste-map/build/getMockName.d.ts +8 -0
  1063. data/packages/webpacker/node_modules/jest-haste-map/build/getMockName.js +76 -0
  1064. data/packages/webpacker/node_modules/jest-haste-map/build/index.d.ts +184 -0
  1065. data/packages/webpacker/node_modules/jest-haste-map/build/index.js +1266 -0
  1066. data/packages/webpacker/node_modules/jest-haste-map/build/lib/dependencyExtractor.d.ts +7 -0
  1067. data/packages/webpacker/node_modules/jest-haste-map/build/lib/dependencyExtractor.js +99 -0
  1068. data/packages/webpacker/node_modules/jest-haste-map/build/lib/fast_path.d.ts +8 -0
  1069. data/packages/webpacker/node_modules/jest-haste-map/build/lib/fast_path.js +81 -0
  1070. data/packages/webpacker/node_modules/jest-haste-map/build/lib/getPlatformExtension.d.ts +7 -0
  1071. data/packages/webpacker/node_modules/jest-haste-map/build/lib/getPlatformExtension.js +31 -0
  1072. data/packages/webpacker/node_modules/jest-haste-map/build/lib/isRegExpSupported.d.ts +7 -0
  1073. data/packages/webpacker/node_modules/jest-haste-map/build/lib/isRegExpSupported.js +22 -0
  1074. data/packages/webpacker/node_modules/jest-haste-map/build/lib/normalizePathSep.d.ts +8 -0
  1075. data/packages/webpacker/node_modules/jest-haste-map/build/lib/normalizePathSep.js +75 -0
  1076. data/packages/webpacker/node_modules/jest-haste-map/build/types.d.ts +126 -0
  1077. data/packages/webpacker/node_modules/jest-haste-map/build/types.js +1 -0
  1078. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/FSEventsWatcher.d.ts +44 -0
  1079. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/FSEventsWatcher.js +294 -0
  1080. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/NodeWatcher.js +375 -0
  1081. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/RecrawlWarning.js +57 -0
  1082. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/WatchmanWatcher.js +418 -0
  1083. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/common.js +114 -0
  1084. data/packages/webpacker/node_modules/jest-haste-map/build/worker.d.ts +9 -0
  1085. data/packages/webpacker/node_modules/jest-haste-map/build/worker.js +197 -0
  1086. data/packages/webpacker/node_modules/jest-haste-map/package.json +49 -0
  1087. data/packages/webpacker/node_modules/jest-jasmine2/LICENSE +21 -0
  1088. data/packages/webpacker/node_modules/jest-jasmine2/build/ExpectationFailed.d.ts +8 -0
  1089. data/packages/webpacker/node_modules/jest-jasmine2/build/ExpectationFailed.js +16 -0
  1090. data/packages/webpacker/node_modules/jest-jasmine2/build/PCancelable.d.ts +17 -0
  1091. data/packages/webpacker/node_modules/jest-jasmine2/build/PCancelable.js +139 -0
  1092. data/packages/webpacker/node_modules/jest-jasmine2/build/assertionErrorMessage.d.ts +10 -0
  1093. data/packages/webpacker/node_modules/jest-jasmine2/build/assertionErrorMessage.js +156 -0
  1094. data/packages/webpacker/node_modules/jest-jasmine2/build/each.d.ts +8 -0
  1095. data/packages/webpacker/node_modules/jest-jasmine2/build/each.js +44 -0
  1096. data/packages/webpacker/node_modules/jest-jasmine2/build/errorOnPrivate.d.ts +8 -0
  1097. data/packages/webpacker/node_modules/jest-jasmine2/build/errorOnPrivate.js +66 -0
  1098. data/packages/webpacker/node_modules/jest-jasmine2/build/expectationResultFactory.d.ts +16 -0
  1099. data/packages/webpacker/node_modules/jest-jasmine2/build/expectationResultFactory.js +93 -0
  1100. data/packages/webpacker/node_modules/jest-jasmine2/build/index.d.ts +12 -0
  1101. data/packages/webpacker/node_modules/jest-jasmine2/build/index.js +247 -0
  1102. data/packages/webpacker/node_modules/jest-jasmine2/build/isError.d.ts +10 -0
  1103. data/packages/webpacker/node_modules/jest-jasmine2/build/isError.js +32 -0
  1104. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/CallTracker.d.ts +25 -0
  1105. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/CallTracker.js +121 -0
  1106. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Env.d.ts +43 -0
  1107. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Env.js +716 -0
  1108. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/JsApiReporter.d.ts +31 -0
  1109. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/JsApiReporter.js +173 -0
  1110. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.d.ts +22 -0
  1111. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.js +127 -0
  1112. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Spec.d.ts +81 -0
  1113. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Spec.js +298 -0
  1114. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/SpyStrategy.d.ts +22 -0
  1115. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/SpyStrategy.js +143 -0
  1116. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Suite.d.ts +61 -0
  1117. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Suite.js +235 -0
  1118. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Timer.d.ts +14 -0
  1119. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Timer.js +79 -0
  1120. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/createSpy.d.ts +13 -0
  1121. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/createSpy.js +88 -0
  1122. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/jasmineLight.d.ts +27 -0
  1123. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/jasmineLight.js +171 -0
  1124. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/spyRegistry.d.ts +18 -0
  1125. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/spyRegistry.js +222 -0
  1126. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmineAsyncInstall.d.ts +8 -0
  1127. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js +259 -0
  1128. data/packages/webpacker/node_modules/jest-jasmine2/build/jestExpect.d.ts +9 -0
  1129. data/packages/webpacker/node_modules/jest-jasmine2/build/jestExpect.js +69 -0
  1130. data/packages/webpacker/node_modules/jest-jasmine2/build/pTimeout.d.ts +7 -0
  1131. data/packages/webpacker/node_modules/jest-jasmine2/build/pTimeout.js +78 -0
  1132. data/packages/webpacker/node_modules/jest-jasmine2/build/queueRunner.d.ts +29 -0
  1133. data/packages/webpacker/node_modules/jest-jasmine2/build/queueRunner.js +127 -0
  1134. data/packages/webpacker/node_modules/jest-jasmine2/build/reporter.d.ts +31 -0
  1135. data/packages/webpacker/node_modules/jest-jasmine2/build/reporter.js +250 -0
  1136. data/packages/webpacker/node_modules/jest-jasmine2/build/setup_jest_globals.d.ts +16 -0
  1137. data/packages/webpacker/node_modules/jest-jasmine2/build/setup_jest_globals.js +121 -0
  1138. data/packages/webpacker/node_modules/jest-jasmine2/build/treeProcessor.d.ts +26 -0
  1139. data/packages/webpacker/node_modules/jest-jasmine2/build/treeProcessor.js +82 -0
  1140. data/packages/webpacker/node_modules/jest-jasmine2/build/types.d.ts +82 -0
  1141. data/packages/webpacker/node_modules/jest-jasmine2/build/types.js +7 -0
  1142. data/packages/webpacker/node_modules/jest-jasmine2/package.json +48 -0
  1143. data/packages/webpacker/node_modules/jest-leak-detector/LICENSE +21 -0
  1144. data/packages/webpacker/node_modules/jest-leak-detector/README.md +27 -0
  1145. data/packages/webpacker/node_modules/jest-leak-detector/build/index.d.ts +12 -0
  1146. data/packages/webpacker/node_modules/jest-leak-detector/build/index.js +135 -0
  1147. data/packages/webpacker/node_modules/jest-leak-detector/package.json +34 -0
  1148. data/packages/webpacker/node_modules/jest-matcher-utils/LICENSE +21 -0
  1149. data/packages/webpacker/node_modules/jest-matcher-utils/README.md +24 -0
  1150. data/packages/webpacker/node_modules/jest-matcher-utils/build/Replaceable.d.ts +17 -0
  1151. data/packages/webpacker/node_modules/jest-matcher-utils/build/Replaceable.js +82 -0
  1152. data/packages/webpacker/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.d.ts +7 -0
  1153. data/packages/webpacker/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.js +110 -0
  1154. data/packages/webpacker/node_modules/jest-matcher-utils/build/index.d.ts +53 -0
  1155. data/packages/webpacker/node_modules/jest-matcher-utils/build/index.js +590 -0
  1156. data/packages/webpacker/node_modules/jest-matcher-utils/package.json +37 -0
  1157. data/packages/webpacker/node_modules/jest-message-util/LICENSE +21 -0
  1158. data/packages/webpacker/node_modules/jest-message-util/build/index.d.ts +23 -0
  1159. data/packages/webpacker/node_modules/jest-message-util/build/index.js +501 -0
  1160. data/packages/webpacker/node_modules/jest-message-util/build/types.d.ts +10 -0
  1161. data/packages/webpacker/node_modules/jest-message-util/build/types.js +1 -0
  1162. data/packages/webpacker/node_modules/jest-message-util/package.json +42 -0
  1163. data/packages/webpacker/node_modules/jest-mock/LICENSE +21 -0
  1164. data/packages/webpacker/node_modules/jest-mock/README.md +92 -0
  1165. data/packages/webpacker/node_modules/jest-mock/build/index.d.ts +185 -0
  1166. data/packages/webpacker/node_modules/jest-mock/build/index.js +964 -0
  1167. data/packages/webpacker/node_modules/jest-mock/package.json +30 -0
  1168. data/packages/webpacker/node_modules/jest-regex-util/LICENSE +21 -0
  1169. data/packages/webpacker/node_modules/jest-regex-util/build/index.d.ts +10 -0
  1170. data/packages/webpacker/node_modules/jest-regex-util/build/index.js +48 -0
  1171. data/packages/webpacker/node_modules/jest-regex-util/package.json +29 -0
  1172. data/packages/webpacker/node_modules/jest-resolve/LICENSE +21 -0
  1173. data/packages/webpacker/node_modules/jest-resolve/build/ModuleNotFoundError.d.ts +18 -0
  1174. data/packages/webpacker/node_modules/jest-resolve/build/ModuleNotFoundError.js +146 -0
  1175. data/packages/webpacker/node_modules/jest-resolve/build/defaultResolver.d.ts +29 -0
  1176. data/packages/webpacker/node_modules/jest-resolve/build/defaultResolver.js +123 -0
  1177. data/packages/webpacker/node_modules/jest-resolve/build/fileWalkers.d.ts +14 -0
  1178. data/packages/webpacker/node_modules/jest-resolve/build/fileWalkers.js +214 -0
  1179. data/packages/webpacker/node_modules/jest-resolve/build/index.d.ts +10 -0
  1180. data/packages/webpacker/node_modules/jest-resolve/build/index.js +36 -0
  1181. data/packages/webpacker/node_modules/jest-resolve/build/isBuiltinModule.d.ts +7 -0
  1182. data/packages/webpacker/node_modules/jest-resolve/build/isBuiltinModule.js +36 -0
  1183. data/packages/webpacker/node_modules/jest-resolve/build/nodeModulesPaths.d.ts +15 -0
  1184. data/packages/webpacker/node_modules/jest-resolve/build/nodeModulesPaths.js +128 -0
  1185. data/packages/webpacker/node_modules/jest-resolve/build/resolver.d.ts +58 -0
  1186. data/packages/webpacker/node_modules/jest-resolve/build/resolver.js +595 -0
  1187. data/packages/webpacker/node_modules/jest-resolve/build/shouldLoadAsEsm.d.ts +9 -0
  1188. data/packages/webpacker/node_modules/jest-resolve/build/shouldLoadAsEsm.js +112 -0
  1189. data/packages/webpacker/node_modules/jest-resolve/build/types.d.ts +23 -0
  1190. data/packages/webpacker/node_modules/jest-resolve/build/types.js +1 -0
  1191. data/packages/webpacker/node_modules/jest-resolve/build/utils.d.ts +51 -0
  1192. data/packages/webpacker/node_modules/jest-resolve/build/utils.js +269 -0
  1193. data/packages/webpacker/node_modules/jest-resolve/package.json +42 -0
  1194. data/packages/webpacker/node_modules/jest-resolve-dependencies/LICENSE +21 -0
  1195. data/packages/webpacker/node_modules/jest-resolve-dependencies/build/index.d.ts +27 -0
  1196. data/packages/webpacker/node_modules/jest-resolve-dependencies/build/index.js +238 -0
  1197. data/packages/webpacker/node_modules/jest-resolve-dependencies/package.json +37 -0
  1198. data/packages/webpacker/node_modules/jest-runner/LICENSE +21 -0
  1199. data/packages/webpacker/node_modules/jest-runner/build/index.d.ts +24 -0
  1200. data/packages/webpacker/node_modules/jest-runner/build/index.js +300 -0
  1201. data/packages/webpacker/node_modules/jest-runner/build/runTest.d.ts +12 -0
  1202. data/packages/webpacker/node_modules/jest-runner/build/runTest.js +494 -0
  1203. data/packages/webpacker/node_modules/jest-runner/build/testWorker.d.ts +26 -0
  1204. data/packages/webpacker/node_modules/jest-runner/build/testWorker.js +150 -0
  1205. data/packages/webpacker/node_modules/jest-runner/build/types.d.ts +41 -0
  1206. data/packages/webpacker/node_modules/jest-runner/build/types.js +15 -0
  1207. data/packages/webpacker/node_modules/jest-runner/package.json +55 -0
  1208. data/packages/webpacker/node_modules/jest-runtime/LICENSE +21 -0
  1209. data/packages/webpacker/node_modules/jest-runtime/build/helpers.d.ts +10 -0
  1210. data/packages/webpacker/node_modules/jest-runtime/build/helpers.js +157 -0
  1211. data/packages/webpacker/node_modules/jest-runtime/build/index.d.ts +142 -0
  1212. data/packages/webpacker/node_modules/jest-runtime/build/index.js +2454 -0
  1213. data/packages/webpacker/node_modules/jest-runtime/build/types.d.ts +15 -0
  1214. data/packages/webpacker/node_modules/jest-runtime/build/types.js +1 -0
  1215. data/packages/webpacker/node_modules/jest-runtime/package.json +57 -0
  1216. data/packages/webpacker/node_modules/jest-serializer/LICENSE +21 -0
  1217. data/packages/webpacker/node_modules/jest-serializer/README.md +47 -0
  1218. data/packages/webpacker/node_modules/jest-serializer/build/index.d.ts +20 -0
  1219. data/packages/webpacker/node_modules/jest-serializer/build/index.js +109 -0
  1220. data/packages/webpacker/node_modules/jest-serializer/package.json +33 -0
  1221. data/packages/webpacker/node_modules/jest-serializer/v8.d.ts +11 -0
  1222. data/packages/webpacker/node_modules/jest-snapshot/LICENSE +21 -0
  1223. data/packages/webpacker/node_modules/jest-snapshot/build/InlineSnapshots.d.ts +15 -0
  1224. data/packages/webpacker/node_modules/jest-snapshot/build/InlineSnapshots.js +503 -0
  1225. data/packages/webpacker/node_modules/jest-snapshot/build/SnapshotResolver.d.ts +18 -0
  1226. data/packages/webpacker/node_modules/jest-snapshot/build/SnapshotResolver.js +179 -0
  1227. data/packages/webpacker/node_modules/jest-snapshot/build/State.d.ts +62 -0
  1228. data/packages/webpacker/node_modules/jest-snapshot/build/State.js +389 -0
  1229. data/packages/webpacker/node_modules/jest-snapshot/build/colors.d.ts +15 -0
  1230. data/packages/webpacker/node_modules/jest-snapshot/build/colors.js +38 -0
  1231. data/packages/webpacker/node_modules/jest-snapshot/build/dedentLines.d.ts +7 -0
  1232. data/packages/webpacker/node_modules/jest-snapshot/build/dedentLines.js +149 -0
  1233. data/packages/webpacker/node_modules/jest-snapshot/build/index.d.ts +34 -0
  1234. data/packages/webpacker/node_modules/jest-snapshot/build/index.js +645 -0
  1235. data/packages/webpacker/node_modules/jest-snapshot/build/mockSerializer.d.ts +11 -0
  1236. data/packages/webpacker/node_modules/jest-snapshot/build/mockSerializer.js +52 -0
  1237. data/packages/webpacker/node_modules/jest-snapshot/build/plugins.d.ts +9 -0
  1238. data/packages/webpacker/node_modules/jest-snapshot/build/plugins.js +48 -0
  1239. data/packages/webpacker/node_modules/jest-snapshot/build/printSnapshot.d.ts +24 -0
  1240. data/packages/webpacker/node_modules/jest-snapshot/build/printSnapshot.js +407 -0
  1241. data/packages/webpacker/node_modules/jest-snapshot/build/types.d.ts +25 -0
  1242. data/packages/webpacker/node_modules/jest-snapshot/build/types.js +1 -0
  1243. data/packages/webpacker/node_modules/jest-snapshot/build/utils.d.ts +28 -0
  1244. data/packages/webpacker/node_modules/jest-snapshot/build/utils.js +460 -0
  1245. data/packages/webpacker/node_modules/jest-snapshot/package.json +61 -0
  1246. data/packages/webpacker/node_modules/jest-util/LICENSE +21 -0
  1247. data/packages/webpacker/node_modules/jest-util/build/ErrorWithStack.d.ts +9 -0
  1248. data/packages/webpacker/node_modules/jest-util/build/ErrorWithStack.js +33 -0
  1249. data/packages/webpacker/node_modules/jest-util/build/clearLine.d.ts +8 -0
  1250. data/packages/webpacker/node_modules/jest-util/build/clearLine.js +18 -0
  1251. data/packages/webpacker/node_modules/jest-util/build/convertDescriptorToString.d.ts +7 -0
  1252. data/packages/webpacker/node_modules/jest-util/build/convertDescriptorToString.js +41 -0
  1253. data/packages/webpacker/node_modules/jest-util/build/createDirectory.d.ts +8 -0
  1254. data/packages/webpacker/node_modules/jest-util/build/createDirectory.js +76 -0
  1255. data/packages/webpacker/node_modules/jest-util/build/createProcessObject.d.ts +8 -0
  1256. data/packages/webpacker/node_modules/jest-util/build/createProcessObject.js +126 -0
  1257. data/packages/webpacker/node_modules/jest-util/build/deepCyclicCopy.d.ts +11 -0
  1258. data/packages/webpacker/node_modules/jest-util/build/deepCyclicCopy.js +84 -0
  1259. data/packages/webpacker/node_modules/jest-util/build/formatTime.d.ts +7 -0
  1260. data/packages/webpacker/node_modules/jest-util/build/formatTime.js +24 -0
  1261. data/packages/webpacker/node_modules/jest-util/build/globsToMatcher.d.ts +27 -0
  1262. data/packages/webpacker/node_modules/jest-util/build/globsToMatcher.js +108 -0
  1263. data/packages/webpacker/node_modules/jest-util/build/index.d.ts +25 -0
  1264. data/packages/webpacker/node_modules/jest-util/build/index.js +209 -0
  1265. data/packages/webpacker/node_modules/jest-util/build/installCommonGlobals.d.ts +8 -0
  1266. data/packages/webpacker/node_modules/jest-util/build/installCommonGlobals.js +123 -0
  1267. data/packages/webpacker/node_modules/jest-util/build/interopRequireDefault.d.ts +7 -0
  1268. data/packages/webpacker/node_modules/jest-util/build/interopRequireDefault.js +22 -0
  1269. data/packages/webpacker/node_modules/jest-util/build/isInteractive.d.ts +8 -0
  1270. data/packages/webpacker/node_modules/jest-util/build/isInteractive.js +27 -0
  1271. data/packages/webpacker/node_modules/jest-util/build/isPromise.d.ts +8 -0
  1272. data/packages/webpacker/node_modules/jest-util/build/isPromise.js +20 -0
  1273. data/packages/webpacker/node_modules/jest-util/build/pluralize.d.ts +7 -0
  1274. data/packages/webpacker/node_modules/jest-util/build/pluralize.js +16 -0
  1275. data/packages/webpacker/node_modules/jest-util/build/preRunMessage.d.ts +9 -0
  1276. data/packages/webpacker/node_modules/jest-util/build/preRunMessage.js +48 -0
  1277. data/packages/webpacker/node_modules/jest-util/build/replacePathSepForGlob.d.ts +8 -0
  1278. data/packages/webpacker/node_modules/jest-util/build/replacePathSepForGlob.js +16 -0
  1279. data/packages/webpacker/node_modules/jest-util/build/requireOrImportModule.d.ts +8 -0
  1280. data/packages/webpacker/node_modules/jest-util/build/requireOrImportModule.js +91 -0
  1281. data/packages/webpacker/node_modules/jest-util/build/setGlobal.d.ts +7 -0
  1282. data/packages/webpacker/node_modules/jest-util/build/setGlobal.js +17 -0
  1283. data/packages/webpacker/node_modules/jest-util/build/specialChars.d.ts +14 -0
  1284. data/packages/webpacker/node_modules/jest-util/build/specialChars.js +25 -0
  1285. data/packages/webpacker/node_modules/jest-util/build/testPathPatternToRegExp.d.ts +8 -0
  1286. data/packages/webpacker/node_modules/jest-util/build/testPathPatternToRegExp.js +19 -0
  1287. data/packages/webpacker/node_modules/jest-util/build/tryRealpath.d.ts +8 -0
  1288. data/packages/webpacker/node_modules/jest-util/build/tryRealpath.js +34 -0
  1289. data/packages/webpacker/node_modules/jest-util/package.json +39 -0
  1290. data/packages/webpacker/node_modules/jest-validate/LICENSE +21 -0
  1291. data/packages/webpacker/node_modules/jest-validate/README.md +196 -0
  1292. data/packages/webpacker/node_modules/jest-validate/build/condition.d.ts +9 -0
  1293. data/packages/webpacker/node_modules/jest-validate/build/condition.js +48 -0
  1294. data/packages/webpacker/node_modules/jest-validate/build/defaultConfig.d.ts +9 -0
  1295. data/packages/webpacker/node_modules/jest-validate/build/defaultConfig.js +42 -0
  1296. data/packages/webpacker/node_modules/jest-validate/build/deprecated.d.ts +8 -0
  1297. data/packages/webpacker/node_modules/jest-validate/build/deprecated.js +32 -0
  1298. data/packages/webpacker/node_modules/jest-validate/build/errors.d.ts +8 -0
  1299. data/packages/webpacker/node_modules/jest-validate/build/errors.js +75 -0
  1300. data/packages/webpacker/node_modules/jest-validate/build/exampleConfig.d.ts +9 -0
  1301. data/packages/webpacker/node_modules/jest-validate/build/exampleConfig.js +36 -0
  1302. data/packages/webpacker/node_modules/jest-validate/build/index.d.ts +11 -0
  1303. data/packages/webpacker/node_modules/jest-validate/build/index.js +61 -0
  1304. data/packages/webpacker/node_modules/jest-validate/build/types.d.ts +26 -0
  1305. data/packages/webpacker/node_modules/jest-validate/build/types.js +1 -0
  1306. data/packages/webpacker/node_modules/jest-validate/build/utils.d.ts +18 -0
  1307. data/packages/webpacker/node_modules/jest-validate/build/utils.js +129 -0
  1308. data/packages/webpacker/node_modules/jest-validate/build/validate.d.ts +13 -0
  1309. data/packages/webpacker/node_modules/jest-validate/build/validate.js +131 -0
  1310. data/packages/webpacker/node_modules/jest-validate/build/validateCLIOptions.d.ts +14 -0
  1311. data/packages/webpacker/node_modules/jest-validate/build/validateCLIOptions.js +141 -0
  1312. data/packages/webpacker/node_modules/jest-validate/build/warnings.d.ts +8 -0
  1313. data/packages/webpacker/node_modules/jest-validate/build/warnings.js +48 -0
  1314. data/packages/webpacker/node_modules/jest-validate/package.json +37 -0
  1315. data/packages/webpacker/node_modules/jest-watcher/LICENSE +21 -0
  1316. data/packages/webpacker/node_modules/jest-watcher/build/BaseWatchPlugin.d.ts +22 -0
  1317. data/packages/webpacker/node_modules/jest-watcher/build/BaseWatchPlugin.js +52 -0
  1318. data/packages/webpacker/node_modules/jest-watcher/build/JestHooks.d.ts +18 -0
  1319. data/packages/webpacker/node_modules/jest-watcher/build/JestHooks.js +91 -0
  1320. data/packages/webpacker/node_modules/jest-watcher/build/PatternPrompt.d.ts +20 -0
  1321. data/packages/webpacker/node_modules/jest-watcher/build/PatternPrompt.js +113 -0
  1322. data/packages/webpacker/node_modules/jest-watcher/build/constants.d.ts +18 -0
  1323. data/packages/webpacker/node_modules/jest-watcher/build/constants.js +27 -0
  1324. data/packages/webpacker/node_modules/jest-watcher/build/index.d.ts +13 -0
  1325. data/packages/webpacker/node_modules/jest-watcher/build/index.js +75 -0
  1326. data/packages/webpacker/node_modules/jest-watcher/build/lib/Prompt.d.ts +25 -0
  1327. data/packages/webpacker/node_modules/jest-watcher/build/lib/Prompt.js +158 -0
  1328. data/packages/webpacker/node_modules/jest-watcher/build/lib/colorize.d.ts +7 -0
  1329. data/packages/webpacker/node_modules/jest-watcher/build/lib/colorize.js +34 -0
  1330. data/packages/webpacker/node_modules/jest-watcher/build/lib/formatTestNameByPattern.d.ts +7 -0
  1331. data/packages/webpacker/node_modules/jest-watcher/build/lib/formatTestNameByPattern.js +81 -0
  1332. data/packages/webpacker/node_modules/jest-watcher/build/lib/patternModeHelpers.d.ts +9 -0
  1333. data/packages/webpacker/node_modules/jest-watcher/build/lib/patternModeHelpers.js +68 -0
  1334. data/packages/webpacker/node_modules/jest-watcher/build/lib/scroll.d.ts +12 -0
  1335. data/packages/webpacker/node_modules/jest-watcher/build/lib/scroll.js +34 -0
  1336. data/packages/webpacker/node_modules/jest-watcher/build/types.d.ts +60 -0
  1337. data/packages/webpacker/node_modules/jest-watcher/build/types.js +1 -0
  1338. data/packages/webpacker/node_modules/jest-watcher/package.json +40 -0
  1339. data/packages/webpacker/node_modules/jest-worker/LICENSE +21 -0
  1340. data/packages/webpacker/node_modules/jest-worker/README.md +247 -0
  1341. data/packages/webpacker/node_modules/jest-worker/build/Farm.d.ts +29 -0
  1342. data/packages/webpacker/node_modules/jest-worker/build/Farm.js +206 -0
  1343. data/packages/webpacker/node_modules/jest-worker/build/FifoQueue.d.ts +18 -0
  1344. data/packages/webpacker/node_modules/jest-worker/build/FifoQueue.js +171 -0
  1345. data/packages/webpacker/node_modules/jest-worker/build/PriorityQueue.d.ts +41 -0
  1346. data/packages/webpacker/node_modules/jest-worker/build/PriorityQueue.js +188 -0
  1347. data/packages/webpacker/node_modules/jest-worker/build/WorkerPool.d.ts +13 -0
  1348. data/packages/webpacker/node_modules/jest-worker/build/WorkerPool.js +49 -0
  1349. data/packages/webpacker/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts +21 -0
  1350. data/packages/webpacker/node_modules/jest-worker/build/base/BaseWorkerPool.js +201 -0
  1351. data/packages/webpacker/node_modules/jest-worker/build/index.d.ts +49 -0
  1352. data/packages/webpacker/node_modules/jest-worker/build/index.js +223 -0
  1353. data/packages/webpacker/node_modules/jest-worker/build/types.d.ts +143 -0
  1354. data/packages/webpacker/node_modules/jest-worker/build/types.js +39 -0
  1355. data/packages/webpacker/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts +51 -0
  1356. data/packages/webpacker/node_modules/jest-worker/build/workers/ChildProcessWorker.js +333 -0
  1357. data/packages/webpacker/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts +34 -0
  1358. data/packages/webpacker/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +344 -0
  1359. data/packages/webpacker/node_modules/jest-worker/build/workers/messageParent.d.ts +8 -0
  1360. data/packages/webpacker/node_modules/jest-worker/build/workers/messageParent.js +38 -0
  1361. data/packages/webpacker/node_modules/jest-worker/build/workers/processChild.d.ts +7 -0
  1362. data/packages/webpacker/node_modules/jest-worker/build/workers/processChild.js +148 -0
  1363. data/packages/webpacker/node_modules/jest-worker/build/workers/threadChild.d.ts +7 -0
  1364. data/packages/webpacker/node_modules/jest-worker/build/workers/threadChild.js +159 -0
  1365. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/browser.js +24 -0
  1366. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/index.js +152 -0
  1367. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/license +9 -0
  1368. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/package.json +58 -0
  1369. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/readme.md +77 -0
  1370. data/packages/webpacker/node_modules/jest-worker/package.json +38 -0
  1371. data/packages/webpacker/node_modules/pretty-format/LICENSE +21 -0
  1372. data/packages/webpacker/node_modules/pretty-format/README.md +458 -0
  1373. data/packages/webpacker/node_modules/pretty-format/build/collections.d.ts +32 -0
  1374. data/packages/webpacker/node_modules/pretty-format/build/collections.js +187 -0
  1375. data/packages/webpacker/node_modules/pretty-format/build/index.d.ts +25 -0
  1376. data/packages/webpacker/node_modules/pretty-format/build/index.js +597 -0
  1377. data/packages/webpacker/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts +11 -0
  1378. data/packages/webpacker/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +117 -0
  1379. data/packages/webpacker/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts +11 -0
  1380. data/packages/webpacker/node_modules/pretty-format/build/plugins/ConvertAnsi.js +96 -0
  1381. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMCollection.d.ts +11 -0
  1382. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMCollection.js +80 -0
  1383. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMElement.d.ts +11 -0
  1384. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMElement.js +128 -0
  1385. data/packages/webpacker/node_modules/pretty-format/build/plugins/Immutable.d.ts +11 -0
  1386. data/packages/webpacker/node_modules/pretty-format/build/plugins/Immutable.js +247 -0
  1387. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactElement.d.ts +11 -0
  1388. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactElement.js +166 -0
  1389. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts +18 -0
  1390. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactTestComponent.js +79 -0
  1391. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts +7 -0
  1392. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.js +16 -0
  1393. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/markup.d.ts +13 -0
  1394. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/markup.js +153 -0
  1395. data/packages/webpacker/node_modules/pretty-format/build/types.d.ts +108 -0
  1396. data/packages/webpacker/node_modules/pretty-format/build/types.js +1 -0
  1397. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/index.d.ts +167 -0
  1398. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/index.js +164 -0
  1399. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/license +9 -0
  1400. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/package.json +52 -0
  1401. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/readme.md +144 -0
  1402. data/packages/webpacker/node_modules/pretty-format/package.json +44 -0
  1403. data/packages/webpacker/node_modules/react-is/LICENSE +21 -0
  1404. data/packages/webpacker/node_modules/react-is/README.md +104 -0
  1405. data/packages/webpacker/node_modules/react-is/build-info.json +8 -0
  1406. data/packages/webpacker/node_modules/react-is/cjs/react-is.development.js +226 -0
  1407. data/packages/webpacker/node_modules/react-is/cjs/react-is.production.min.js +14 -0
  1408. data/packages/webpacker/node_modules/react-is/index.js +7 -0
  1409. data/packages/webpacker/node_modules/react-is/package.json +27 -0
  1410. data/packages/webpacker/node_modules/react-is/umd/react-is.development.js +225 -0
  1411. data/packages/webpacker/node_modules/react-is/umd/react-is.production.min.js +14 -0
  1412. data/packages/webpacker/node_modules/semver/CHANGELOG.md +111 -0
  1413. data/packages/webpacker/node_modules/semver/LICENSE +15 -0
  1414. data/packages/webpacker/node_modules/semver/README.md +566 -0
  1415. data/packages/webpacker/node_modules/semver/bin/semver.js +173 -0
  1416. data/packages/webpacker/node_modules/semver/classes/comparator.js +135 -0
  1417. data/packages/webpacker/node_modules/semver/classes/index.js +5 -0
  1418. data/packages/webpacker/node_modules/semver/classes/range.js +510 -0
  1419. data/packages/webpacker/node_modules/semver/classes/semver.js +287 -0
  1420. data/packages/webpacker/node_modules/semver/functions/clean.js +6 -0
  1421. data/packages/webpacker/node_modules/semver/functions/cmp.js +48 -0
  1422. data/packages/webpacker/node_modules/semver/functions/coerce.js +51 -0
  1423. data/packages/webpacker/node_modules/semver/functions/compare-build.js +7 -0
  1424. data/packages/webpacker/node_modules/semver/functions/compare-loose.js +3 -0
  1425. data/packages/webpacker/node_modules/semver/functions/compare.js +5 -0
  1426. data/packages/webpacker/node_modules/semver/functions/diff.js +23 -0
  1427. data/packages/webpacker/node_modules/semver/functions/eq.js +3 -0
  1428. data/packages/webpacker/node_modules/semver/functions/gt.js +3 -0
  1429. data/packages/webpacker/node_modules/semver/functions/gte.js +3 -0
  1430. data/packages/webpacker/node_modules/semver/functions/inc.js +15 -0
  1431. data/packages/webpacker/node_modules/semver/functions/lt.js +3 -0
  1432. data/packages/webpacker/node_modules/semver/functions/lte.js +3 -0
  1433. data/packages/webpacker/node_modules/semver/functions/major.js +3 -0
  1434. data/packages/webpacker/node_modules/semver/functions/minor.js +3 -0
  1435. data/packages/webpacker/node_modules/semver/functions/neq.js +3 -0
  1436. data/packages/webpacker/node_modules/semver/functions/parse.js +33 -0
  1437. data/packages/webpacker/node_modules/semver/functions/patch.js +3 -0
  1438. data/packages/webpacker/node_modules/semver/functions/prerelease.js +6 -0
  1439. data/packages/webpacker/node_modules/semver/functions/rcompare.js +3 -0
  1440. data/packages/webpacker/node_modules/semver/functions/rsort.js +3 -0
  1441. data/packages/webpacker/node_modules/semver/functions/satisfies.js +10 -0
  1442. data/packages/webpacker/node_modules/semver/functions/sort.js +3 -0
  1443. data/packages/webpacker/node_modules/semver/functions/valid.js +6 -0
  1444. data/packages/webpacker/node_modules/semver/index.js +48 -0
  1445. data/packages/webpacker/node_modules/semver/internal/constants.js +17 -0
  1446. data/packages/webpacker/node_modules/semver/internal/debug.js +9 -0
  1447. data/packages/webpacker/node_modules/semver/internal/identifiers.js +23 -0
  1448. data/packages/webpacker/node_modules/semver/internal/parse-options.js +11 -0
  1449. data/packages/webpacker/node_modules/semver/internal/re.js +182 -0
  1450. data/packages/webpacker/node_modules/semver/package.json +41 -0
  1451. data/packages/webpacker/node_modules/semver/preload.js +2 -0
  1452. data/packages/webpacker/node_modules/semver/range.bnf +16 -0
  1453. data/packages/webpacker/node_modules/semver/ranges/gtr.js +4 -0
  1454. data/packages/webpacker/node_modules/semver/ranges/intersects.js +7 -0
  1455. data/packages/webpacker/node_modules/semver/ranges/ltr.js +4 -0
  1456. data/packages/webpacker/node_modules/semver/ranges/max-satisfying.js +25 -0
  1457. data/packages/webpacker/node_modules/semver/ranges/min-satisfying.js +24 -0
  1458. data/packages/webpacker/node_modules/semver/ranges/min-version.js +60 -0
  1459. data/packages/webpacker/node_modules/semver/ranges/outside.js +80 -0
  1460. data/packages/webpacker/node_modules/semver/ranges/simplify.js +44 -0
  1461. data/packages/webpacker/node_modules/semver/ranges/subset.js +222 -0
  1462. data/packages/webpacker/node_modules/semver/ranges/to-comparators.js +8 -0
  1463. data/packages/webpacker/node_modules/semver/ranges/valid.js +11 -0
  1464. data/packages/webpacker/node_modules/source-map/CHANGELOG.md +301 -0
  1465. data/packages/webpacker/node_modules/source-map/LICENSE +28 -0
  1466. data/packages/webpacker/node_modules/source-map/README.md +742 -0
  1467. data/packages/webpacker/node_modules/source-map/dist/source-map.debug.js +3234 -0
  1468. data/packages/webpacker/node_modules/source-map/dist/source-map.js +3233 -0
  1469. data/packages/webpacker/node_modules/source-map/dist/source-map.min.js +2 -0
  1470. data/packages/webpacker/node_modules/source-map/dist/source-map.min.js.map +1 -0
  1471. data/packages/webpacker/node_modules/source-map/lib/array-set.js +121 -0
  1472. data/packages/webpacker/node_modules/source-map/lib/base64-vlq.js +140 -0
  1473. data/packages/webpacker/node_modules/source-map/lib/base64.js +67 -0
  1474. data/packages/webpacker/node_modules/source-map/lib/binary-search.js +111 -0
  1475. data/packages/webpacker/node_modules/source-map/lib/mapping-list.js +79 -0
  1476. data/packages/webpacker/node_modules/source-map/lib/quick-sort.js +114 -0
  1477. data/packages/webpacker/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  1478. data/packages/webpacker/node_modules/source-map/lib/source-map-generator.js +425 -0
  1479. data/packages/webpacker/node_modules/source-map/lib/source-node.js +413 -0
  1480. data/packages/webpacker/node_modules/source-map/lib/util.js +488 -0
  1481. data/packages/webpacker/node_modules/source-map/package.json +73 -0
  1482. data/packages/webpacker/node_modules/source-map/source-map.d.ts +98 -0
  1483. data/packages/webpacker/node_modules/source-map/source-map.js +8 -0
  1484. data/packages/webpacker/node_modules/supports-color/browser.js +5 -0
  1485. data/packages/webpacker/node_modules/supports-color/index.js +135 -0
  1486. data/packages/webpacker/node_modules/supports-color/license +9 -0
  1487. data/packages/webpacker/node_modules/supports-color/package.json +53 -0
  1488. data/packages/webpacker/node_modules/supports-color/readme.md +76 -0
  1489. data/packages/webpacker/node_modules/throat/LICENSE +19 -0
  1490. data/packages/webpacker/node_modules/throat/README.md +55 -0
  1491. data/packages/webpacker/node_modules/throat/index.d.ts +32 -0
  1492. data/packages/webpacker/node_modules/throat/index.js +145 -0
  1493. data/packages/webpacker/node_modules/throat/index.js.flow +7 -0
  1494. data/packages/webpacker/node_modules/throat/package.json +47 -0
  1495. data/packages/webpacker/node_modules/type-fest/base.d.ts +38 -0
  1496. data/packages/webpacker/node_modules/type-fest/index.d.ts +2 -0
  1497. data/packages/webpacker/node_modules/type-fest/license +9 -0
  1498. data/packages/webpacker/node_modules/type-fest/package.json +58 -0
  1499. data/packages/webpacker/node_modules/type-fest/readme.md +658 -0
  1500. data/packages/webpacker/node_modules/type-fest/source/async-return-type.d.ts +23 -0
  1501. data/packages/webpacker/node_modules/type-fest/source/asyncify.d.ts +31 -0
  1502. data/packages/webpacker/node_modules/type-fest/source/basic.d.ts +67 -0
  1503. data/packages/webpacker/node_modules/type-fest/source/conditional-except.d.ts +43 -0
  1504. data/packages/webpacker/node_modules/type-fest/source/conditional-keys.d.ts +43 -0
  1505. data/packages/webpacker/node_modules/type-fest/source/conditional-pick.d.ts +42 -0
  1506. data/packages/webpacker/node_modules/type-fest/source/entries.d.ts +57 -0
  1507. data/packages/webpacker/node_modules/type-fest/source/entry.d.ts +60 -0
  1508. data/packages/webpacker/node_modules/type-fest/source/except.d.ts +22 -0
  1509. data/packages/webpacker/node_modules/type-fest/source/fixed-length-array.d.ts +38 -0
  1510. data/packages/webpacker/node_modules/type-fest/source/iterable-element.d.ts +46 -0
  1511. data/packages/webpacker/node_modules/type-fest/source/literal-union.d.ts +33 -0
  1512. data/packages/webpacker/node_modules/type-fest/source/merge-exclusive.d.ts +39 -0
  1513. data/packages/webpacker/node_modules/type-fest/source/merge.d.ts +22 -0
  1514. data/packages/webpacker/node_modules/type-fest/source/mutable.d.ts +22 -0
  1515. data/packages/webpacker/node_modules/type-fest/source/opaque.d.ts +65 -0
  1516. data/packages/webpacker/node_modules/type-fest/source/package-json.d.ts +611 -0
  1517. data/packages/webpacker/node_modules/type-fest/source/partial-deep.d.ts +72 -0
  1518. data/packages/webpacker/node_modules/type-fest/source/promisable.d.ts +23 -0
  1519. data/packages/webpacker/node_modules/type-fest/source/promise-value.d.ts +27 -0
  1520. data/packages/webpacker/node_modules/type-fest/source/readonly-deep.d.ts +59 -0
  1521. data/packages/webpacker/node_modules/type-fest/source/require-at-least-one.d.ts +33 -0
  1522. data/packages/webpacker/node_modules/type-fest/source/require-exactly-one.d.ts +35 -0
  1523. data/packages/webpacker/node_modules/type-fest/source/set-optional.d.ts +34 -0
  1524. data/packages/webpacker/node_modules/type-fest/source/set-required.d.ts +34 -0
  1525. data/packages/webpacker/node_modules/type-fest/source/set-return-type.d.ts +29 -0
  1526. data/packages/webpacker/node_modules/type-fest/source/stringified.d.ts +21 -0
  1527. data/packages/webpacker/node_modules/type-fest/source/tsconfig-json.d.ts +870 -0
  1528. data/packages/webpacker/node_modules/type-fest/source/union-to-intersection.d.ts +58 -0
  1529. data/packages/webpacker/node_modules/type-fest/source/utilities.d.ts +3 -0
  1530. data/packages/webpacker/node_modules/type-fest/source/value-of.d.ts +40 -0
  1531. data/packages/webpacker/node_modules/type-fest/ts41/camel-case.d.ts +72 -0
  1532. data/packages/webpacker/node_modules/type-fest/ts41/delimiter-case.d.ts +85 -0
  1533. data/packages/webpacker/node_modules/type-fest/ts41/index.d.ts +9 -0
  1534. data/packages/webpacker/node_modules/type-fest/ts41/kebab-case.d.ts +36 -0
  1535. data/packages/webpacker/node_modules/type-fest/ts41/pascal-case.d.ts +36 -0
  1536. data/packages/webpacker/node_modules/type-fest/ts41/snake-case.d.ts +35 -0
  1537. data/packages/webpacker/node_modules/v8-to-istanbul/CHANGELOG.md +380 -0
  1538. data/packages/webpacker/node_modules/v8-to-istanbul/LICENSE.txt +14 -0
  1539. data/packages/webpacker/node_modules/v8-to-istanbul/README.md +90 -0
  1540. data/packages/webpacker/node_modules/v8-to-istanbul/index.d.ts +25 -0
  1541. data/packages/webpacker/node_modules/v8-to-istanbul/index.js +5 -0
  1542. data/packages/webpacker/node_modules/v8-to-istanbul/lib/branch.js +28 -0
  1543. data/packages/webpacker/node_modules/v8-to-istanbul/lib/function.js +29 -0
  1544. data/packages/webpacker/node_modules/v8-to-istanbul/lib/line.js +34 -0
  1545. data/packages/webpacker/node_modules/v8-to-istanbul/lib/range.js +33 -0
  1546. data/packages/webpacker/node_modules/v8-to-istanbul/lib/source.js +245 -0
  1547. data/packages/webpacker/node_modules/v8-to-istanbul/lib/v8-to-istanbul.js +318 -0
  1548. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/CHANGELOG.md +344 -0
  1549. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/LICENSE +28 -0
  1550. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/README.md +822 -0
  1551. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/dist/source-map.js +3351 -0
  1552. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/array-set.js +100 -0
  1553. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/base64-vlq.js +111 -0
  1554. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/base64.js +18 -0
  1555. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/binary-search.js +107 -0
  1556. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/mapping-list.js +80 -0
  1557. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/mappings.wasm +0 -0
  1558. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/read-wasm.js +40 -0
  1559. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-consumer.js +1254 -0
  1560. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-generator.js +413 -0
  1561. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-node.js +404 -0
  1562. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/util.js +546 -0
  1563. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/wasm.js +107 -0
  1564. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/package.json +90 -0
  1565. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/source-map.d.ts +369 -0
  1566. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/source-map.js +8 -0
  1567. data/packages/webpacker/node_modules/v8-to-istanbul/package.json +48 -0
  1568. data/packages/webpacker/node_modules/wrap-ansi/index.js +216 -0
  1569. data/packages/webpacker/node_modules/wrap-ansi/license +9 -0
  1570. data/packages/webpacker/node_modules/wrap-ansi/package.json +62 -0
  1571. data/packages/webpacker/node_modules/wrap-ansi/readme.md +91 -0
  1572. data/packages/webpacker/node_modules/y18n/CHANGELOG.md +100 -0
  1573. data/packages/webpacker/node_modules/y18n/LICENSE +13 -0
  1574. data/packages/webpacker/node_modules/y18n/README.md +127 -0
  1575. data/packages/webpacker/node_modules/y18n/build/index.cjs +203 -0
  1576. data/packages/webpacker/node_modules/y18n/build/lib/cjs.js +6 -0
  1577. data/packages/webpacker/node_modules/y18n/build/lib/index.js +174 -0
  1578. data/packages/webpacker/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
  1579. data/packages/webpacker/node_modules/y18n/index.mjs +8 -0
  1580. data/packages/webpacker/node_modules/y18n/package.json +70 -0
  1581. data/packages/webpacker/node_modules/yargs/CHANGELOG.md +88 -0
  1582. data/packages/webpacker/node_modules/yargs/LICENSE +21 -0
  1583. data/packages/webpacker/node_modules/yargs/README.md +202 -0
  1584. data/packages/webpacker/node_modules/yargs/browser.mjs +7 -0
  1585. data/packages/webpacker/node_modules/yargs/build/index.cjs +2920 -0
  1586. data/packages/webpacker/node_modules/yargs/build/lib/argsert.js +62 -0
  1587. data/packages/webpacker/node_modules/yargs/build/lib/command.js +382 -0
  1588. data/packages/webpacker/node_modules/yargs/build/lib/completion-templates.js +47 -0
  1589. data/packages/webpacker/node_modules/yargs/build/lib/completion.js +128 -0
  1590. data/packages/webpacker/node_modules/yargs/build/lib/middleware.js +53 -0
  1591. data/packages/webpacker/node_modules/yargs/build/lib/parse-command.js +32 -0
  1592. data/packages/webpacker/node_modules/yargs/build/lib/typings/common-types.js +9 -0
  1593. data/packages/webpacker/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
  1594. data/packages/webpacker/node_modules/yargs/build/lib/usage.js +548 -0
  1595. data/packages/webpacker/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
  1596. data/packages/webpacker/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
  1597. data/packages/webpacker/node_modules/yargs/build/lib/utils/levenshtein.js +26 -0
  1598. data/packages/webpacker/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
  1599. data/packages/webpacker/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
  1600. data/packages/webpacker/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
  1601. data/packages/webpacker/node_modules/yargs/build/lib/utils/which-module.js +10 -0
  1602. data/packages/webpacker/node_modules/yargs/build/lib/validation.js +308 -0
  1603. data/packages/webpacker/node_modules/yargs/build/lib/yargs-factory.js +1143 -0
  1604. data/packages/webpacker/node_modules/yargs/build/lib/yerror.js +7 -0
  1605. data/packages/webpacker/node_modules/yargs/helpers/helpers.mjs +10 -0
  1606. data/packages/webpacker/node_modules/yargs/helpers/index.js +14 -0
  1607. data/packages/webpacker/node_modules/yargs/helpers/package.json +3 -0
  1608. data/packages/webpacker/node_modules/yargs/index.cjs +39 -0
  1609. data/packages/webpacker/node_modules/yargs/index.mjs +8 -0
  1610. data/packages/webpacker/node_modules/yargs/lib/platform-shims/browser.mjs +92 -0
  1611. data/packages/webpacker/node_modules/yargs/lib/platform-shims/esm.mjs +67 -0
  1612. data/packages/webpacker/node_modules/yargs/locales/be.json +46 -0
  1613. data/packages/webpacker/node_modules/yargs/locales/de.json +46 -0
  1614. data/packages/webpacker/node_modules/yargs/locales/en.json +51 -0
  1615. data/packages/webpacker/node_modules/yargs/locales/es.json +46 -0
  1616. data/packages/webpacker/node_modules/yargs/locales/fi.json +49 -0
  1617. data/packages/webpacker/node_modules/yargs/locales/fr.json +53 -0
  1618. data/packages/webpacker/node_modules/yargs/locales/hi.json +49 -0
  1619. data/packages/webpacker/node_modules/yargs/locales/hu.json +46 -0
  1620. data/packages/webpacker/node_modules/yargs/locales/id.json +50 -0
  1621. data/packages/webpacker/node_modules/yargs/locales/it.json +46 -0
  1622. data/packages/webpacker/node_modules/yargs/locales/ja.json +51 -0
  1623. data/packages/webpacker/node_modules/yargs/locales/ko.json +49 -0
  1624. data/packages/webpacker/node_modules/yargs/locales/nb.json +44 -0
  1625. data/packages/webpacker/node_modules/yargs/locales/nl.json +49 -0
  1626. data/packages/webpacker/node_modules/yargs/locales/nn.json +44 -0
  1627. data/packages/webpacker/node_modules/yargs/locales/pirate.json +13 -0
  1628. data/packages/webpacker/node_modules/yargs/locales/pl.json +49 -0
  1629. data/packages/webpacker/node_modules/yargs/locales/pt.json +45 -0
  1630. data/packages/webpacker/node_modules/yargs/locales/pt_BR.json +48 -0
  1631. data/packages/webpacker/node_modules/yargs/locales/ru.json +46 -0
  1632. data/packages/webpacker/node_modules/yargs/locales/th.json +46 -0
  1633. data/packages/webpacker/node_modules/yargs/locales/tr.json +48 -0
  1634. data/packages/webpacker/node_modules/yargs/locales/zh_CN.json +48 -0
  1635. data/packages/webpacker/node_modules/yargs/locales/zh_TW.json +47 -0
  1636. data/packages/webpacker/node_modules/yargs/package.json +122 -0
  1637. data/packages/webpacker/node_modules/yargs/yargs +9 -0
  1638. data/packages/webpacker/node_modules/yargs-parser/CHANGELOG.md +263 -0
  1639. data/packages/webpacker/node_modules/yargs-parser/LICENSE.txt +14 -0
  1640. data/packages/webpacker/node_modules/yargs-parser/README.md +518 -0
  1641. data/packages/webpacker/node_modules/yargs-parser/browser.js +29 -0
  1642. data/packages/webpacker/node_modules/yargs-parser/build/index.cjs +1042 -0
  1643. data/packages/webpacker/node_modules/yargs-parser/build/lib/index.js +59 -0
  1644. data/packages/webpacker/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
  1645. data/packages/webpacker/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
  1646. data/packages/webpacker/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
  1647. data/packages/webpacker/node_modules/yargs-parser/build/lib/yargs-parser.js +1037 -0
  1648. data/packages/webpacker/node_modules/yargs-parser/package.json +87 -0
  1649. data/packages/webpacker/package.json +42 -31
  1650. data/packages/webpacker/src/loaders/decidim-sass-loader.js +88 -0
  1651. data/packages/webpacker/src/override-config.js +42 -41
  1652. metadata +1657 -47
@@ -0,0 +1,1266 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', {
4
+ value: true
5
+ });
6
+ exports.DuplicateError = void 0;
7
+ Object.defineProperty(exports, 'ModuleMap', {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _ModuleMap.default;
11
+ }
12
+ });
13
+ exports.default = void 0;
14
+
15
+ function _child_process() {
16
+ const data = require('child_process');
17
+
18
+ _child_process = function () {
19
+ return data;
20
+ };
21
+
22
+ return data;
23
+ }
24
+
25
+ function _crypto() {
26
+ const data = require('crypto');
27
+
28
+ _crypto = function () {
29
+ return data;
30
+ };
31
+
32
+ return data;
33
+ }
34
+
35
+ function _events() {
36
+ const data = require('events');
37
+
38
+ _events = function () {
39
+ return data;
40
+ };
41
+
42
+ return data;
43
+ }
44
+
45
+ function _os() {
46
+ const data = require('os');
47
+
48
+ _os = function () {
49
+ return data;
50
+ };
51
+
52
+ return data;
53
+ }
54
+
55
+ function path() {
56
+ const data = _interopRequireWildcard(require('path'));
57
+
58
+ path = function () {
59
+ return data;
60
+ };
61
+
62
+ return data;
63
+ }
64
+
65
+ function _jestRegexUtil() {
66
+ const data = require('jest-regex-util');
67
+
68
+ _jestRegexUtil = function () {
69
+ return data;
70
+ };
71
+
72
+ return data;
73
+ }
74
+
75
+ function _jestSerializer() {
76
+ const data = _interopRequireDefault(require('jest-serializer'));
77
+
78
+ _jestSerializer = function () {
79
+ return data;
80
+ };
81
+
82
+ return data;
83
+ }
84
+
85
+ function _jestWorker() {
86
+ const data = require('jest-worker');
87
+
88
+ _jestWorker = function () {
89
+ return data;
90
+ };
91
+
92
+ return data;
93
+ }
94
+
95
+ var _HasteFS = _interopRequireDefault(require('./HasteFS'));
96
+
97
+ var _ModuleMap = _interopRequireDefault(require('./ModuleMap'));
98
+
99
+ var _constants = _interopRequireDefault(require('./constants'));
100
+
101
+ var _node = _interopRequireDefault(require('./crawlers/node'));
102
+
103
+ var _watchman = _interopRequireDefault(require('./crawlers/watchman'));
104
+
105
+ var _getMockName = _interopRequireDefault(require('./getMockName'));
106
+
107
+ var fastPath = _interopRequireWildcard(require('./lib/fast_path'));
108
+
109
+ var _getPlatformExtension = _interopRequireDefault(
110
+ require('./lib/getPlatformExtension')
111
+ );
112
+
113
+ var _normalizePathSep = _interopRequireDefault(
114
+ require('./lib/normalizePathSep')
115
+ );
116
+
117
+ var _FSEventsWatcher = _interopRequireDefault(
118
+ require('./watchers/FSEventsWatcher')
119
+ );
120
+
121
+ var _NodeWatcher = _interopRequireDefault(require('./watchers/NodeWatcher'));
122
+
123
+ var _WatchmanWatcher = _interopRequireDefault(
124
+ require('./watchers/WatchmanWatcher')
125
+ );
126
+
127
+ var _worker = require('./worker');
128
+
129
+ function _interopRequireDefault(obj) {
130
+ return obj && obj.__esModule ? obj : {default: obj};
131
+ }
132
+
133
+ function _getRequireWildcardCache(nodeInterop) {
134
+ if (typeof WeakMap !== 'function') return null;
135
+ var cacheBabelInterop = new WeakMap();
136
+ var cacheNodeInterop = new WeakMap();
137
+ return (_getRequireWildcardCache = function (nodeInterop) {
138
+ return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
139
+ })(nodeInterop);
140
+ }
141
+
142
+ function _interopRequireWildcard(obj, nodeInterop) {
143
+ if (!nodeInterop && obj && obj.__esModule) {
144
+ return obj;
145
+ }
146
+ if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) {
147
+ return {default: obj};
148
+ }
149
+ var cache = _getRequireWildcardCache(nodeInterop);
150
+ if (cache && cache.has(obj)) {
151
+ return cache.get(obj);
152
+ }
153
+ var newObj = {};
154
+ var hasPropertyDescriptor =
155
+ Object.defineProperty && Object.getOwnPropertyDescriptor;
156
+ for (var key in obj) {
157
+ if (key !== 'default' && Object.prototype.hasOwnProperty.call(obj, key)) {
158
+ var desc = hasPropertyDescriptor
159
+ ? Object.getOwnPropertyDescriptor(obj, key)
160
+ : null;
161
+ if (desc && (desc.get || desc.set)) {
162
+ Object.defineProperty(newObj, key, desc);
163
+ } else {
164
+ newObj[key] = obj[key];
165
+ }
166
+ }
167
+ }
168
+ newObj.default = obj;
169
+ if (cache) {
170
+ cache.set(obj, newObj);
171
+ }
172
+ return newObj;
173
+ }
174
+
175
+ function _defineProperty(obj, key, value) {
176
+ if (key in obj) {
177
+ Object.defineProperty(obj, key, {
178
+ value: value,
179
+ enumerable: true,
180
+ configurable: true,
181
+ writable: true
182
+ });
183
+ } else {
184
+ obj[key] = value;
185
+ }
186
+ return obj;
187
+ }
188
+
189
+ // TypeScript doesn't like us importing from outside `rootDir`, but it doesn't
190
+ // understand `require`.
191
+ const {version: VERSION} = require('../package.json');
192
+
193
+ const CHANGE_INTERVAL = 30;
194
+ const MAX_WAIT_TIME = 240000;
195
+ const NODE_MODULES = path().sep + 'node_modules' + path().sep;
196
+ const PACKAGE_JSON = path().sep + 'package.json';
197
+ const VCS_DIRECTORIES = ['.git', '.hg']
198
+ .map(vcs =>
199
+ (0, _jestRegexUtil().escapePathForRegex)(path().sep + vcs + path().sep)
200
+ )
201
+ .join('|');
202
+
203
+ const canUseWatchman = (() => {
204
+ try {
205
+ (0, _child_process().execSync)('watchman --version', {
206
+ stdio: ['ignore']
207
+ });
208
+ return true;
209
+ } catch {}
210
+
211
+ return false;
212
+ })();
213
+
214
+ function invariant(condition, message) {
215
+ if (!condition) {
216
+ throw new Error(message);
217
+ }
218
+ }
219
+ /**
220
+ * HasteMap is a JavaScript implementation of Facebook's haste module system.
221
+ *
222
+ * This implementation is inspired by https://github.com/facebook/node-haste
223
+ * and was built with for high-performance in large code repositories with
224
+ * hundreds of thousands of files. This implementation is scalable and provides
225
+ * predictable performance.
226
+ *
227
+ * Because the haste map creation and synchronization is critical to startup
228
+ * performance and most tasks are blocked by I/O this class makes heavy use of
229
+ * synchronous operations. It uses worker processes for parallelizing file
230
+ * access and metadata extraction.
231
+ *
232
+ * The data structures created by `jest-haste-map` can be used directly from the
233
+ * cache without further processing. The metadata objects in the `files` and
234
+ * `map` objects contain cross-references: a metadata object from one can look
235
+ * up the corresponding metadata object in the other map. Note that in most
236
+ * projects, the number of files will be greater than the number of haste
237
+ * modules one module can refer to many files based on platform extensions.
238
+ *
239
+ * type HasteMap = {
240
+ * clocks: WatchmanClocks,
241
+ * files: {[filepath: string]: FileMetaData},
242
+ * map: {[id: string]: ModuleMapItem},
243
+ * mocks: {[id: string]: string},
244
+ * }
245
+ *
246
+ * // Watchman clocks are used for query synchronization and file system deltas.
247
+ * type WatchmanClocks = {[filepath: string]: string};
248
+ *
249
+ * type FileMetaData = {
250
+ * id: ?string, // used to look up module metadata objects in `map`.
251
+ * mtime: number, // check for outdated files.
252
+ * size: number, // size of the file in bytes.
253
+ * visited: boolean, // whether the file has been parsed or not.
254
+ * dependencies: Array<string>, // all relative dependencies of this file.
255
+ * sha1: ?string, // SHA-1 of the file, if requested via options.
256
+ * };
257
+ *
258
+ * // Modules can be targeted to a specific platform based on the file name.
259
+ * // Example: platform.ios.js and Platform.android.js will both map to the same
260
+ * // `Platform` module. The platform should be specified during resolution.
261
+ * type ModuleMapItem = {[platform: string]: ModuleMetaData};
262
+ *
263
+ * //
264
+ * type ModuleMetaData = {
265
+ * path: string, // the path to look up the file object in `files`.
266
+ * type: string, // the module type (either `package` or `module`).
267
+ * };
268
+ *
269
+ * Note that the data structures described above are conceptual only. The actual
270
+ * implementation uses arrays and constant keys for metadata storage. Instead of
271
+ * `{id: 'flatMap', mtime: 3421, size: 42, visited: true, dependencies: []}` the real
272
+ * representation is similar to `['flatMap', 3421, 42, 1, []]` to save storage space
273
+ * and reduce parse and write time of a big JSON blob.
274
+ *
275
+ * The HasteMap is created as follows:
276
+ * 1. read data from the cache or create an empty structure.
277
+ *
278
+ * 2. crawl the file system.
279
+ * * empty cache: crawl the entire file system.
280
+ * * cache available:
281
+ * * if watchman is available: get file system delta changes.
282
+ * * if watchman is unavailable: crawl the entire file system.
283
+ * * build metadata objects for every file. This builds the `files` part of
284
+ * the `HasteMap`.
285
+ *
286
+ * 3. parse and extract metadata from changed files.
287
+ * * this is done in parallel over worker processes to improve performance.
288
+ * * the worst case is to parse all files.
289
+ * * the best case is no file system access and retrieving all data from
290
+ * the cache.
291
+ * * the average case is a small number of changed files.
292
+ *
293
+ * 4. serialize the new `HasteMap` in a cache file.
294
+ * Worker processes can directly access the cache through `HasteMap.read()`.
295
+ *
296
+ */
297
+
298
+ class HasteMap extends _events().EventEmitter {
299
+ static getStatic(config) {
300
+ if (config.haste.hasteMapModulePath) {
301
+ return require(config.haste.hasteMapModulePath);
302
+ }
303
+
304
+ return HasteMap;
305
+ }
306
+
307
+ static create(options) {
308
+ if (options.hasteMapModulePath) {
309
+ const CustomHasteMap = require(options.hasteMapModulePath);
310
+
311
+ return new CustomHasteMap(options);
312
+ }
313
+
314
+ return new HasteMap(options);
315
+ }
316
+
317
+ constructor(options) {
318
+ super();
319
+
320
+ _defineProperty(this, '_buildPromise', void 0);
321
+
322
+ _defineProperty(this, '_cachePath', void 0);
323
+
324
+ _defineProperty(this, '_changeInterval', void 0);
325
+
326
+ _defineProperty(this, '_console', void 0);
327
+
328
+ _defineProperty(this, '_options', void 0);
329
+
330
+ _defineProperty(this, '_watchers', void 0);
331
+
332
+ _defineProperty(this, '_worker', void 0);
333
+
334
+ this._options = {
335
+ cacheDirectory: options.cacheDirectory || (0, _os().tmpdir)(),
336
+ computeDependencies:
337
+ options.computeDependencies === undefined
338
+ ? true
339
+ : options.computeDependencies,
340
+ computeSha1: options.computeSha1 || false,
341
+ dependencyExtractor: options.dependencyExtractor || null,
342
+ enableSymlinks: options.enableSymlinks || false,
343
+ extensions: options.extensions,
344
+ forceNodeFilesystemAPI: !!options.forceNodeFilesystemAPI,
345
+ hasteImplModulePath: options.hasteImplModulePath,
346
+ maxWorkers: options.maxWorkers,
347
+ mocksPattern: options.mocksPattern
348
+ ? new RegExp(options.mocksPattern)
349
+ : null,
350
+ name: options.name,
351
+ platforms: options.platforms,
352
+ resetCache: options.resetCache,
353
+ retainAllFiles: options.retainAllFiles,
354
+ rootDir: options.rootDir,
355
+ roots: Array.from(new Set(options.roots)),
356
+ skipPackageJson: !!options.skipPackageJson,
357
+ throwOnModuleCollision: !!options.throwOnModuleCollision,
358
+ useWatchman: options.useWatchman == null ? true : options.useWatchman,
359
+ watch: !!options.watch
360
+ };
361
+ this._console = options.console || global.console;
362
+
363
+ if (options.ignorePattern) {
364
+ if (options.ignorePattern instanceof RegExp) {
365
+ this._options.ignorePattern = new RegExp(
366
+ options.ignorePattern.source.concat('|' + VCS_DIRECTORIES),
367
+ options.ignorePattern.flags
368
+ );
369
+ } else {
370
+ throw new Error(
371
+ 'jest-haste-map: the `ignorePattern` option must be a RegExp'
372
+ );
373
+ }
374
+ } else {
375
+ this._options.ignorePattern = new RegExp(VCS_DIRECTORIES);
376
+ }
377
+
378
+ if (this._options.enableSymlinks && this._options.useWatchman) {
379
+ throw new Error(
380
+ 'jest-haste-map: enableSymlinks config option was set, but ' +
381
+ 'is incompatible with watchman.\n' +
382
+ 'Set either `enableSymlinks` to false or `useWatchman` to false.'
383
+ );
384
+ }
385
+
386
+ const rootDirHash = (0, _crypto().createHash)('md5')
387
+ .update(options.rootDir)
388
+ .digest('hex');
389
+ let hasteImplHash = '';
390
+ let dependencyExtractorHash = '';
391
+
392
+ if (options.hasteImplModulePath) {
393
+ const hasteImpl = require(options.hasteImplModulePath);
394
+
395
+ if (hasteImpl.getCacheKey) {
396
+ hasteImplHash = String(hasteImpl.getCacheKey());
397
+ }
398
+ }
399
+
400
+ if (options.dependencyExtractor) {
401
+ const dependencyExtractor = require(options.dependencyExtractor);
402
+
403
+ if (dependencyExtractor.getCacheKey) {
404
+ dependencyExtractorHash = String(dependencyExtractor.getCacheKey());
405
+ }
406
+ }
407
+
408
+ this._cachePath = HasteMap.getCacheFilePath(
409
+ this._options.cacheDirectory,
410
+ `haste-map-${this._options.name}-${rootDirHash}`,
411
+ VERSION,
412
+ this._options.name,
413
+ this._options.roots
414
+ .map(root => fastPath.relative(options.rootDir, root))
415
+ .join(':'),
416
+ this._options.extensions.join(':'),
417
+ this._options.platforms.join(':'),
418
+ this._options.computeSha1.toString(),
419
+ options.mocksPattern || '',
420
+ (options.ignorePattern || '').toString(),
421
+ hasteImplHash,
422
+ dependencyExtractorHash,
423
+ this._options.computeDependencies.toString()
424
+ );
425
+ this._buildPromise = null;
426
+ this._watchers = [];
427
+ this._worker = null;
428
+ }
429
+
430
+ static getCacheFilePath(tmpdir, name, ...extra) {
431
+ const hash = (0, _crypto().createHash)('md5').update(extra.join(''));
432
+ return path().join(
433
+ tmpdir,
434
+ name.replace(/\W/g, '-') + '-' + hash.digest('hex')
435
+ );
436
+ }
437
+
438
+ static getModuleMapFromJSON(json) {
439
+ return _ModuleMap.default.fromJSON(json);
440
+ }
441
+
442
+ getCacheFilePath() {
443
+ return this._cachePath;
444
+ }
445
+
446
+ build() {
447
+ if (!this._buildPromise) {
448
+ this._buildPromise = (async () => {
449
+ const data = await this._buildFileMap(); // Persist when we don't know if files changed (changedFiles undefined)
450
+ // or when we know a file was changed or deleted.
451
+
452
+ let hasteMap;
453
+
454
+ if (
455
+ data.changedFiles === undefined ||
456
+ data.changedFiles.size > 0 ||
457
+ data.removedFiles.size > 0
458
+ ) {
459
+ hasteMap = await this._buildHasteMap(data);
460
+
461
+ this._persist(hasteMap);
462
+ } else {
463
+ hasteMap = data.hasteMap;
464
+ }
465
+
466
+ const rootDir = this._options.rootDir;
467
+ const hasteFS = new _HasteFS.default({
468
+ files: hasteMap.files,
469
+ rootDir
470
+ });
471
+ const moduleMap = new _ModuleMap.default({
472
+ duplicates: hasteMap.duplicates,
473
+ map: hasteMap.map,
474
+ mocks: hasteMap.mocks,
475
+ rootDir
476
+ });
477
+
478
+ const __hasteMapForTest =
479
+ (process.env.NODE_ENV === 'test' && hasteMap) || null;
480
+
481
+ await this._watch(hasteMap);
482
+ return {
483
+ __hasteMapForTest,
484
+ hasteFS,
485
+ moduleMap
486
+ };
487
+ })();
488
+ }
489
+
490
+ return this._buildPromise;
491
+ }
492
+ /**
493
+ * 1. read data from the cache or create an empty structure.
494
+ */
495
+
496
+ read() {
497
+ let hasteMap;
498
+
499
+ try {
500
+ hasteMap = _jestSerializer().default.readFileSync(this._cachePath);
501
+ } catch {
502
+ hasteMap = this._createEmptyMap();
503
+ }
504
+
505
+ return hasteMap;
506
+ }
507
+
508
+ readModuleMap() {
509
+ const data = this.read();
510
+ return new _ModuleMap.default({
511
+ duplicates: data.duplicates,
512
+ map: data.map,
513
+ mocks: data.mocks,
514
+ rootDir: this._options.rootDir
515
+ });
516
+ }
517
+ /**
518
+ * 2. crawl the file system.
519
+ */
520
+
521
+ async _buildFileMap() {
522
+ let hasteMap;
523
+
524
+ try {
525
+ const read = this._options.resetCache ? this._createEmptyMap : this.read;
526
+ hasteMap = await read.call(this);
527
+ } catch {
528
+ hasteMap = this._createEmptyMap();
529
+ }
530
+
531
+ return this._crawl(hasteMap);
532
+ }
533
+ /**
534
+ * 3. parse and extract metadata from changed files.
535
+ */
536
+
537
+ _processFile(hasteMap, map, mocks, filePath, workerOptions) {
538
+ const rootDir = this._options.rootDir;
539
+
540
+ const setModule = (id, module) => {
541
+ let moduleMap = map.get(id);
542
+
543
+ if (!moduleMap) {
544
+ moduleMap = Object.create(null);
545
+ map.set(id, moduleMap);
546
+ }
547
+
548
+ const platform =
549
+ (0, _getPlatformExtension.default)(
550
+ module[_constants.default.PATH],
551
+ this._options.platforms
552
+ ) || _constants.default.GENERIC_PLATFORM;
553
+
554
+ const existingModule = moduleMap[platform];
555
+
556
+ if (
557
+ existingModule &&
558
+ existingModule[_constants.default.PATH] !==
559
+ module[_constants.default.PATH]
560
+ ) {
561
+ const method = this._options.throwOnModuleCollision ? 'error' : 'warn';
562
+
563
+ this._console[method](
564
+ [
565
+ 'jest-haste-map: Haste module naming collision: ' + id,
566
+ ' The following files share their name; please adjust your hasteImpl:',
567
+ ' * <rootDir>' +
568
+ path().sep +
569
+ existingModule[_constants.default.PATH],
570
+ ' * <rootDir>' + path().sep + module[_constants.default.PATH],
571
+ ''
572
+ ].join('\n')
573
+ );
574
+
575
+ if (this._options.throwOnModuleCollision) {
576
+ throw new DuplicateError(
577
+ existingModule[_constants.default.PATH],
578
+ module[_constants.default.PATH]
579
+ );
580
+ } // We do NOT want consumers to use a module that is ambiguous.
581
+
582
+ delete moduleMap[platform];
583
+
584
+ if (Object.keys(moduleMap).length === 1) {
585
+ map.delete(id);
586
+ }
587
+
588
+ let dupsByPlatform = hasteMap.duplicates.get(id);
589
+
590
+ if (dupsByPlatform == null) {
591
+ dupsByPlatform = new Map();
592
+ hasteMap.duplicates.set(id, dupsByPlatform);
593
+ }
594
+
595
+ const dups = new Map([
596
+ [module[_constants.default.PATH], module[_constants.default.TYPE]],
597
+ [
598
+ existingModule[_constants.default.PATH],
599
+ existingModule[_constants.default.TYPE]
600
+ ]
601
+ ]);
602
+ dupsByPlatform.set(platform, dups);
603
+ return;
604
+ }
605
+
606
+ const dupsByPlatform = hasteMap.duplicates.get(id);
607
+
608
+ if (dupsByPlatform != null) {
609
+ const dups = dupsByPlatform.get(platform);
610
+
611
+ if (dups != null) {
612
+ dups.set(
613
+ module[_constants.default.PATH],
614
+ module[_constants.default.TYPE]
615
+ );
616
+ }
617
+
618
+ return;
619
+ }
620
+
621
+ moduleMap[platform] = module;
622
+ };
623
+
624
+ const relativeFilePath = fastPath.relative(rootDir, filePath);
625
+ const fileMetadata = hasteMap.files.get(relativeFilePath);
626
+
627
+ if (!fileMetadata) {
628
+ throw new Error(
629
+ 'jest-haste-map: File to process was not found in the haste map.'
630
+ );
631
+ }
632
+
633
+ const moduleMetadata = hasteMap.map.get(
634
+ fileMetadata[_constants.default.ID]
635
+ );
636
+ const computeSha1 =
637
+ this._options.computeSha1 && !fileMetadata[_constants.default.SHA1]; // Callback called when the response from the worker is successful.
638
+
639
+ const workerReply = metadata => {
640
+ // `1` for truthy values instead of `true` to save cache space.
641
+ fileMetadata[_constants.default.VISITED] = 1;
642
+ const metadataId = metadata.id;
643
+ const metadataModule = metadata.module;
644
+
645
+ if (metadataId && metadataModule) {
646
+ fileMetadata[_constants.default.ID] = metadataId;
647
+ setModule(metadataId, metadataModule);
648
+ }
649
+
650
+ fileMetadata[_constants.default.DEPENDENCIES] = metadata.dependencies
651
+ ? metadata.dependencies.join(_constants.default.DEPENDENCY_DELIM)
652
+ : '';
653
+
654
+ if (computeSha1) {
655
+ fileMetadata[_constants.default.SHA1] = metadata.sha1;
656
+ }
657
+ }; // Callback called when the response from the worker is an error.
658
+
659
+ const workerError = error => {
660
+ if (typeof error !== 'object' || !error.message || !error.stack) {
661
+ error = new Error(error);
662
+ error.stack = ''; // Remove stack for stack-less errors.
663
+ }
664
+
665
+ if (!['ENOENT', 'EACCES'].includes(error.code)) {
666
+ throw error;
667
+ } // If a file cannot be read we remove it from the file list and
668
+ // ignore the failure silently.
669
+
670
+ hasteMap.files.delete(relativeFilePath);
671
+ }; // If we retain all files in the virtual HasteFS representation, we avoid
672
+ // reading them if they aren't important (node_modules).
673
+
674
+ if (this._options.retainAllFiles && filePath.includes(NODE_MODULES)) {
675
+ if (computeSha1) {
676
+ return this._getWorker(workerOptions)
677
+ .getSha1({
678
+ computeDependencies: this._options.computeDependencies,
679
+ computeSha1,
680
+ dependencyExtractor: this._options.dependencyExtractor,
681
+ filePath,
682
+ hasteImplModulePath: this._options.hasteImplModulePath,
683
+ rootDir
684
+ })
685
+ .then(workerReply, workerError);
686
+ }
687
+
688
+ return null;
689
+ }
690
+
691
+ if (
692
+ this._options.mocksPattern &&
693
+ this._options.mocksPattern.test(filePath)
694
+ ) {
695
+ const mockPath = (0, _getMockName.default)(filePath);
696
+ const existingMockPath = mocks.get(mockPath);
697
+
698
+ if (existingMockPath) {
699
+ const secondMockPath = fastPath.relative(rootDir, filePath);
700
+
701
+ if (existingMockPath !== secondMockPath) {
702
+ const method = this._options.throwOnModuleCollision
703
+ ? 'error'
704
+ : 'warn';
705
+
706
+ this._console[method](
707
+ [
708
+ 'jest-haste-map: duplicate manual mock found: ' + mockPath,
709
+ ' The following files share their name; please delete one of them:',
710
+ ' * <rootDir>' + path().sep + existingMockPath,
711
+ ' * <rootDir>' + path().sep + secondMockPath,
712
+ ''
713
+ ].join('\n')
714
+ );
715
+
716
+ if (this._options.throwOnModuleCollision) {
717
+ throw new DuplicateError(existingMockPath, secondMockPath);
718
+ }
719
+ }
720
+ }
721
+
722
+ mocks.set(mockPath, relativeFilePath);
723
+ }
724
+
725
+ if (fileMetadata[_constants.default.VISITED]) {
726
+ if (!fileMetadata[_constants.default.ID]) {
727
+ return null;
728
+ }
729
+
730
+ if (moduleMetadata != null) {
731
+ const platform =
732
+ (0, _getPlatformExtension.default)(
733
+ filePath,
734
+ this._options.platforms
735
+ ) || _constants.default.GENERIC_PLATFORM;
736
+
737
+ const module = moduleMetadata[platform];
738
+
739
+ if (module == null) {
740
+ return null;
741
+ }
742
+
743
+ const moduleId = fileMetadata[_constants.default.ID];
744
+ let modulesByPlatform = map.get(moduleId);
745
+
746
+ if (!modulesByPlatform) {
747
+ modulesByPlatform = Object.create(null);
748
+ map.set(moduleId, modulesByPlatform);
749
+ }
750
+
751
+ modulesByPlatform[platform] = module;
752
+ return null;
753
+ }
754
+ }
755
+
756
+ return this._getWorker(workerOptions)
757
+ .worker({
758
+ computeDependencies: this._options.computeDependencies,
759
+ computeSha1,
760
+ dependencyExtractor: this._options.dependencyExtractor,
761
+ filePath,
762
+ hasteImplModulePath: this._options.hasteImplModulePath,
763
+ rootDir
764
+ })
765
+ .then(workerReply, workerError);
766
+ }
767
+
768
+ _buildHasteMap(data) {
769
+ const {removedFiles, changedFiles, hasteMap} = data; // If any files were removed or we did not track what files changed, process
770
+ // every file looking for changes. Otherwise, process only changed files.
771
+
772
+ let map;
773
+ let mocks;
774
+ let filesToProcess;
775
+
776
+ if (changedFiles === undefined || removedFiles.size) {
777
+ map = new Map();
778
+ mocks = new Map();
779
+ filesToProcess = hasteMap.files;
780
+ } else {
781
+ map = hasteMap.map;
782
+ mocks = hasteMap.mocks;
783
+ filesToProcess = changedFiles;
784
+ }
785
+
786
+ for (const [relativeFilePath, fileMetadata] of removedFiles) {
787
+ this._recoverDuplicates(
788
+ hasteMap,
789
+ relativeFilePath,
790
+ fileMetadata[_constants.default.ID]
791
+ );
792
+ }
793
+
794
+ const promises = [];
795
+
796
+ for (const relativeFilePath of filesToProcess.keys()) {
797
+ if (
798
+ this._options.skipPackageJson &&
799
+ relativeFilePath.endsWith(PACKAGE_JSON)
800
+ ) {
801
+ continue;
802
+ } // SHA-1, if requested, should already be present thanks to the crawler.
803
+
804
+ const filePath = fastPath.resolve(
805
+ this._options.rootDir,
806
+ relativeFilePath
807
+ );
808
+
809
+ const promise = this._processFile(hasteMap, map, mocks, filePath);
810
+
811
+ if (promise) {
812
+ promises.push(promise);
813
+ }
814
+ }
815
+
816
+ return Promise.all(promises).then(
817
+ () => {
818
+ this._cleanup();
819
+
820
+ hasteMap.map = map;
821
+ hasteMap.mocks = mocks;
822
+ return hasteMap;
823
+ },
824
+ error => {
825
+ this._cleanup();
826
+
827
+ throw error;
828
+ }
829
+ );
830
+ }
831
+
832
+ _cleanup() {
833
+ const worker = this._worker; // @ts-expect-error
834
+
835
+ if (worker && typeof worker.end === 'function') {
836
+ // @ts-expect-error
837
+ worker.end();
838
+ }
839
+
840
+ this._worker = null;
841
+ }
842
+ /**
843
+ * 4. serialize the new `HasteMap` in a cache file.
844
+ */
845
+
846
+ _persist(hasteMap) {
847
+ _jestSerializer().default.writeFileSync(this._cachePath, hasteMap);
848
+ }
849
+ /**
850
+ * Creates workers or parses files and extracts metadata in-process.
851
+ */
852
+
853
+ _getWorker(options) {
854
+ if (!this._worker) {
855
+ if ((options && options.forceInBand) || this._options.maxWorkers <= 1) {
856
+ this._worker = {
857
+ getSha1: _worker.getSha1,
858
+ worker: _worker.worker
859
+ };
860
+ } else {
861
+ // @ts-expect-error: assignment of a worker with custom properties.
862
+ this._worker = new (_jestWorker().Worker)(require.resolve('./worker'), {
863
+ exposedMethods: ['getSha1', 'worker'],
864
+ maxRetries: 3,
865
+ numWorkers: this._options.maxWorkers
866
+ });
867
+ }
868
+ }
869
+
870
+ return this._worker;
871
+ }
872
+
873
+ _crawl(hasteMap) {
874
+ const options = this._options;
875
+
876
+ const ignore = this._ignore.bind(this);
877
+
878
+ const crawl =
879
+ canUseWatchman && this._options.useWatchman
880
+ ? _watchman.default
881
+ : _node.default;
882
+ const crawlerOptions = {
883
+ computeSha1: options.computeSha1,
884
+ data: hasteMap,
885
+ enableSymlinks: options.enableSymlinks,
886
+ extensions: options.extensions,
887
+ forceNodeFilesystemAPI: options.forceNodeFilesystemAPI,
888
+ ignore,
889
+ rootDir: options.rootDir,
890
+ roots: options.roots
891
+ };
892
+
893
+ const retry = error => {
894
+ if (crawl === _watchman.default) {
895
+ this._console.warn(
896
+ 'jest-haste-map: Watchman crawl failed. Retrying once with node ' +
897
+ 'crawler.\n' +
898
+ " Usually this happens when watchman isn't running. Create an " +
899
+ "empty `.watchmanconfig` file in your project's root folder or " +
900
+ 'initialize a git or hg repository in your project.\n' +
901
+ ' ' +
902
+ error
903
+ );
904
+
905
+ return (0, _node.default)(crawlerOptions).catch(e => {
906
+ throw new Error(
907
+ 'Crawler retry failed:\n' +
908
+ ` Original error: ${error.message}\n` +
909
+ ` Retry error: ${e.message}\n`
910
+ );
911
+ });
912
+ }
913
+
914
+ throw error;
915
+ };
916
+
917
+ try {
918
+ return crawl(crawlerOptions).catch(retry);
919
+ } catch (error) {
920
+ return retry(error);
921
+ }
922
+ }
923
+ /**
924
+ * Watch mode
925
+ */
926
+
927
+ _watch(hasteMap) {
928
+ if (!this._options.watch) {
929
+ return Promise.resolve();
930
+ } // In watch mode, we'll only warn about module collisions and we'll retain
931
+ // all files, even changes to node_modules.
932
+
933
+ this._options.throwOnModuleCollision = false;
934
+ this._options.retainAllFiles = true; // WatchmanWatcher > FSEventsWatcher > sane.NodeWatcher
935
+
936
+ const Watcher =
937
+ canUseWatchman && this._options.useWatchman
938
+ ? _WatchmanWatcher.default
939
+ : _FSEventsWatcher.default.isSupported()
940
+ ? _FSEventsWatcher.default
941
+ : _NodeWatcher.default;
942
+ const extensions = this._options.extensions;
943
+ const ignorePattern = this._options.ignorePattern;
944
+ const rootDir = this._options.rootDir;
945
+ let changeQueue = Promise.resolve();
946
+ let eventsQueue = []; // We only need to copy the entire haste map once on every "frame".
947
+
948
+ let mustCopy = true;
949
+
950
+ const createWatcher = root => {
951
+ const watcher = new Watcher(root, {
952
+ dot: true,
953
+ glob: extensions.map(extension => '**/*.' + extension),
954
+ ignored: ignorePattern
955
+ });
956
+ return new Promise((resolve, reject) => {
957
+ const rejectTimeout = setTimeout(
958
+ () => reject(new Error('Failed to start watch mode.')),
959
+ MAX_WAIT_TIME
960
+ );
961
+ watcher.once('ready', () => {
962
+ clearTimeout(rejectTimeout);
963
+ watcher.on('all', onChange);
964
+ resolve(watcher);
965
+ });
966
+ });
967
+ };
968
+
969
+ const emitChange = () => {
970
+ if (eventsQueue.length) {
971
+ mustCopy = true;
972
+ const changeEvent = {
973
+ eventsQueue,
974
+ hasteFS: new _HasteFS.default({
975
+ files: hasteMap.files,
976
+ rootDir
977
+ }),
978
+ moduleMap: new _ModuleMap.default({
979
+ duplicates: hasteMap.duplicates,
980
+ map: hasteMap.map,
981
+ mocks: hasteMap.mocks,
982
+ rootDir
983
+ })
984
+ };
985
+ this.emit('change', changeEvent);
986
+ eventsQueue = [];
987
+ }
988
+ };
989
+
990
+ const onChange = (type, filePath, root, stat) => {
991
+ filePath = path().join(root, (0, _normalizePathSep.default)(filePath));
992
+
993
+ if (
994
+ (stat && stat.isDirectory()) ||
995
+ this._ignore(filePath) ||
996
+ !extensions.some(extension => filePath.endsWith(extension))
997
+ ) {
998
+ return;
999
+ }
1000
+
1001
+ const relativeFilePath = fastPath.relative(rootDir, filePath);
1002
+ const fileMetadata = hasteMap.files.get(relativeFilePath); // The file has been accessed, not modified
1003
+
1004
+ if (
1005
+ type === 'change' &&
1006
+ fileMetadata &&
1007
+ stat &&
1008
+ fileMetadata[_constants.default.MTIME] === stat.mtime.getTime()
1009
+ ) {
1010
+ return;
1011
+ }
1012
+
1013
+ changeQueue = changeQueue
1014
+ .then(() => {
1015
+ // If we get duplicate events for the same file, ignore them.
1016
+ if (
1017
+ eventsQueue.find(
1018
+ event =>
1019
+ event.type === type &&
1020
+ event.filePath === filePath &&
1021
+ ((!event.stat && !stat) ||
1022
+ (!!event.stat &&
1023
+ !!stat &&
1024
+ event.stat.mtime.getTime() === stat.mtime.getTime()))
1025
+ )
1026
+ ) {
1027
+ return null;
1028
+ }
1029
+
1030
+ if (mustCopy) {
1031
+ mustCopy = false;
1032
+ hasteMap = {
1033
+ clocks: new Map(hasteMap.clocks),
1034
+ duplicates: new Map(hasteMap.duplicates),
1035
+ files: new Map(hasteMap.files),
1036
+ map: new Map(hasteMap.map),
1037
+ mocks: new Map(hasteMap.mocks)
1038
+ };
1039
+ }
1040
+
1041
+ const add = () => {
1042
+ eventsQueue.push({
1043
+ filePath,
1044
+ stat,
1045
+ type
1046
+ });
1047
+ return null;
1048
+ };
1049
+
1050
+ const fileMetadata = hasteMap.files.get(relativeFilePath); // If it's not an addition, delete the file and all its metadata
1051
+
1052
+ if (fileMetadata != null) {
1053
+ const moduleName = fileMetadata[_constants.default.ID];
1054
+
1055
+ const platform =
1056
+ (0, _getPlatformExtension.default)(
1057
+ filePath,
1058
+ this._options.platforms
1059
+ ) || _constants.default.GENERIC_PLATFORM;
1060
+
1061
+ hasteMap.files.delete(relativeFilePath);
1062
+ let moduleMap = hasteMap.map.get(moduleName);
1063
+
1064
+ if (moduleMap != null) {
1065
+ // We are forced to copy the object because jest-haste-map exposes
1066
+ // the map as an immutable entity.
1067
+ moduleMap = copy(moduleMap);
1068
+ delete moduleMap[platform];
1069
+
1070
+ if (Object.keys(moduleMap).length === 0) {
1071
+ hasteMap.map.delete(moduleName);
1072
+ } else {
1073
+ hasteMap.map.set(moduleName, moduleMap);
1074
+ }
1075
+ }
1076
+
1077
+ if (
1078
+ this._options.mocksPattern &&
1079
+ this._options.mocksPattern.test(filePath)
1080
+ ) {
1081
+ const mockName = (0, _getMockName.default)(filePath);
1082
+ hasteMap.mocks.delete(mockName);
1083
+ }
1084
+
1085
+ this._recoverDuplicates(hasteMap, relativeFilePath, moduleName);
1086
+ } // If the file was added or changed,
1087
+ // parse it and update the haste map.
1088
+
1089
+ if (type === 'add' || type === 'change') {
1090
+ invariant(
1091
+ stat,
1092
+ 'since the file exists or changed, it should have stats'
1093
+ );
1094
+ const fileMetadata = [
1095
+ '',
1096
+ stat.mtime.getTime(),
1097
+ stat.size,
1098
+ 0,
1099
+ '',
1100
+ null
1101
+ ];
1102
+ hasteMap.files.set(relativeFilePath, fileMetadata);
1103
+
1104
+ const promise = this._processFile(
1105
+ hasteMap,
1106
+ hasteMap.map,
1107
+ hasteMap.mocks,
1108
+ filePath,
1109
+ {
1110
+ forceInBand: true
1111
+ }
1112
+ ); // Cleanup
1113
+
1114
+ this._cleanup();
1115
+
1116
+ if (promise) {
1117
+ return promise.then(add);
1118
+ } else {
1119
+ // If a file in node_modules has changed,
1120
+ // emit an event regardless.
1121
+ add();
1122
+ }
1123
+ } else {
1124
+ add();
1125
+ }
1126
+
1127
+ return null;
1128
+ })
1129
+ .catch(error => {
1130
+ this._console.error(
1131
+ `jest-haste-map: watch error:\n ${error.stack}\n`
1132
+ );
1133
+ });
1134
+ };
1135
+
1136
+ this._changeInterval = setInterval(emitChange, CHANGE_INTERVAL);
1137
+ return Promise.all(this._options.roots.map(createWatcher)).then(
1138
+ watchers => {
1139
+ this._watchers = watchers;
1140
+ }
1141
+ );
1142
+ }
1143
+ /**
1144
+ * This function should be called when the file under `filePath` is removed
1145
+ * or changed. When that happens, we want to figure out if that file was
1146
+ * part of a group of files that had the same ID. If it was, we want to
1147
+ * remove it from the group. Furthermore, if there is only one file
1148
+ * remaining in the group, then we want to restore that single file as the
1149
+ * correct resolution for its ID, and cleanup the duplicates index.
1150
+ */
1151
+
1152
+ _recoverDuplicates(hasteMap, relativeFilePath, moduleName) {
1153
+ let dupsByPlatform = hasteMap.duplicates.get(moduleName);
1154
+
1155
+ if (dupsByPlatform == null) {
1156
+ return;
1157
+ }
1158
+
1159
+ const platform =
1160
+ (0, _getPlatformExtension.default)(
1161
+ relativeFilePath,
1162
+ this._options.platforms
1163
+ ) || _constants.default.GENERIC_PLATFORM;
1164
+
1165
+ let dups = dupsByPlatform.get(platform);
1166
+
1167
+ if (dups == null) {
1168
+ return;
1169
+ }
1170
+
1171
+ dupsByPlatform = copyMap(dupsByPlatform);
1172
+ hasteMap.duplicates.set(moduleName, dupsByPlatform);
1173
+ dups = copyMap(dups);
1174
+ dupsByPlatform.set(platform, dups);
1175
+ dups.delete(relativeFilePath);
1176
+
1177
+ if (dups.size !== 1) {
1178
+ return;
1179
+ }
1180
+
1181
+ const uniqueModule = dups.entries().next().value;
1182
+
1183
+ if (!uniqueModule) {
1184
+ return;
1185
+ }
1186
+
1187
+ let dedupMap = hasteMap.map.get(moduleName);
1188
+
1189
+ if (dedupMap == null) {
1190
+ dedupMap = Object.create(null);
1191
+ hasteMap.map.set(moduleName, dedupMap);
1192
+ }
1193
+
1194
+ dedupMap[platform] = uniqueModule;
1195
+ dupsByPlatform.delete(platform);
1196
+
1197
+ if (dupsByPlatform.size === 0) {
1198
+ hasteMap.duplicates.delete(moduleName);
1199
+ }
1200
+ }
1201
+
1202
+ async end() {
1203
+ if (this._changeInterval) {
1204
+ clearInterval(this._changeInterval);
1205
+ }
1206
+
1207
+ if (!this._watchers.length) {
1208
+ return;
1209
+ }
1210
+
1211
+ await Promise.all(this._watchers.map(watcher => watcher.close()));
1212
+ this._watchers = [];
1213
+ }
1214
+ /**
1215
+ * Helpers
1216
+ */
1217
+
1218
+ _ignore(filePath) {
1219
+ const ignorePattern = this._options.ignorePattern;
1220
+ const ignoreMatched =
1221
+ ignorePattern instanceof RegExp
1222
+ ? ignorePattern.test(filePath)
1223
+ : ignorePattern && ignorePattern(filePath);
1224
+ return (
1225
+ ignoreMatched ||
1226
+ (!this._options.retainAllFiles && filePath.includes(NODE_MODULES))
1227
+ );
1228
+ }
1229
+
1230
+ _createEmptyMap() {
1231
+ return {
1232
+ clocks: new Map(),
1233
+ duplicates: new Map(),
1234
+ files: new Map(),
1235
+ map: new Map(),
1236
+ mocks: new Map()
1237
+ };
1238
+ }
1239
+ }
1240
+
1241
+ exports.default = HasteMap;
1242
+
1243
+ _defineProperty(HasteMap, 'H', _constants.default);
1244
+
1245
+ class DuplicateError extends Error {
1246
+ constructor(mockPath1, mockPath2) {
1247
+ super('Duplicated files or mocks. Please check the console for more info');
1248
+
1249
+ _defineProperty(this, 'mockPath1', void 0);
1250
+
1251
+ _defineProperty(this, 'mockPath2', void 0);
1252
+
1253
+ this.mockPath1 = mockPath1;
1254
+ this.mockPath2 = mockPath2;
1255
+ }
1256
+ }
1257
+
1258
+ exports.DuplicateError = DuplicateError;
1259
+
1260
+ function copy(object) {
1261
+ return Object.assign(Object.create(null), object);
1262
+ }
1263
+
1264
+ function copyMap(input) {
1265
+ return new Map(input);
1266
+ }