decidim 0.26.2 → 0.26.3

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 (1612) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +22 -4
  3. data/lib/decidim/gem_manager.rb +23 -4
  4. data/lib/decidim/version.rb +1 -1
  5. data/package-lock.json +7 -7
  6. data/packages/browserslist-config/package.json +1 -1
  7. data/packages/core/node_modules/@rails/activestorage/CHANGELOG.md +306 -0
  8. data/packages/core/node_modules/@rails/activestorage/README.md +194 -0
  9. data/packages/core/node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js +942 -0
  10. data/packages/core/node_modules/@rails/activestorage/package.json +41 -0
  11. data/packages/core/node_modules/@rails/activestorage/src/blob_record.js +73 -0
  12. data/packages/core/node_modules/@rails/activestorage/src/blob_upload.js +35 -0
  13. data/packages/core/node_modules/@rails/activestorage/src/direct_upload.js +48 -0
  14. data/packages/core/node_modules/@rails/activestorage/src/direct_upload_controller.js +67 -0
  15. data/packages/core/node_modules/@rails/activestorage/src/direct_uploads_controller.js +50 -0
  16. data/packages/core/node_modules/@rails/activestorage/src/file_checksum.js +53 -0
  17. data/packages/core/node_modules/@rails/activestorage/src/helpers.js +51 -0
  18. data/packages/core/node_modules/@rails/activestorage/src/index.js +11 -0
  19. data/packages/core/node_modules/@rails/activestorage/src/ujs.js +86 -0
  20. data/packages/core/package.json +1 -1
  21. data/packages/dev/package.json +1 -1
  22. data/packages/elections/package.json +1 -1
  23. data/packages/eslint-config/package.json +1 -1
  24. data/packages/stylelint-config/package.json +1 -1
  25. data/packages/webpacker/node_modules/@eslint/eslintrc/LICENSE +21 -0
  26. data/packages/webpacker/node_modules/@eslint/eslintrc/README.md +61 -0
  27. data/packages/webpacker/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
  28. data/packages/webpacker/node_modules/@eslint/eslintrc/conf/environments.js +203 -0
  29. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +1092 -0
  30. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -0
  31. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +4295 -0
  32. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -0
  33. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +533 -0
  34. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
  35. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +115 -0
  36. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
  37. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
  38. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
  39. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
  40. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1133 -0
  41. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/flat-compat.js +307 -0
  42. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
  43. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/index.js +56 -0
  44. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
  45. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
  46. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
  47. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
  48. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
  49. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
  50. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
  51. data/packages/webpacker/node_modules/@eslint/eslintrc/package.json +81 -0
  52. data/packages/webpacker/node_modules/@eslint/eslintrc/universal.js +9 -0
  53. data/packages/webpacker/node_modules/@humanwhocodes/config-array/CHANGELOG.md +71 -0
  54. data/packages/webpacker/node_modules/@humanwhocodes/config-array/LICENSE +201 -0
  55. data/packages/webpacker/node_modules/@humanwhocodes/config-array/README.md +301 -0
  56. data/packages/webpacker/node_modules/@humanwhocodes/config-array/api.js +695 -0
  57. data/packages/webpacker/node_modules/@humanwhocodes/config-array/package.json +61 -0
  58. data/packages/webpacker/node_modules/@jest/console/LICENSE +21 -0
  59. data/packages/webpacker/node_modules/@jest/console/build/BufferedConsole.d.ts +37 -0
  60. data/packages/webpacker/node_modules/@jest/console/build/BufferedConsole.js +258 -0
  61. data/packages/webpacker/node_modules/@jest/console/build/CustomConsole.d.ts +41 -0
  62. data/packages/webpacker/node_modules/@jest/console/build/CustomConsole.js +240 -0
  63. data/packages/webpacker/node_modules/@jest/console/build/NullConsole.d.ts +23 -0
  64. data/packages/webpacker/node_modules/@jest/console/build/NullConsole.js +50 -0
  65. data/packages/webpacker/node_modules/@jest/console/build/getConsoleOutput.d.ts +10 -0
  66. data/packages/webpacker/node_modules/@jest/console/build/getConsoleOutput.js +101 -0
  67. data/packages/webpacker/node_modules/@jest/console/build/index.d.ts +11 -0
  68. data/packages/webpacker/node_modules/@jest/console/build/index.js +41 -0
  69. data/packages/webpacker/node_modules/@jest/console/build/types.d.ts +20 -0
  70. data/packages/webpacker/node_modules/@jest/console/build/types.js +1 -0
  71. data/packages/webpacker/node_modules/@jest/console/package.json +38 -0
  72. data/packages/webpacker/node_modules/@jest/core/LICENSE +21 -0
  73. data/packages/webpacker/node_modules/@jest/core/README.md +3 -0
  74. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsCache.d.ts +12 -0
  75. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsCache.js +59 -0
  76. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsInteractiveMode.d.ts +31 -0
  77. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsInteractiveMode.js +262 -0
  78. data/packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.d.ts +22 -0
  79. data/packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.js +104 -0
  80. data/packages/webpacker/node_modules/@jest/core/build/SearchSource.d.ts +46 -0
  81. data/packages/webpacker/node_modules/@jest/core/build/SearchSource.js +490 -0
  82. data/packages/webpacker/node_modules/@jest/core/build/SnapshotInteractiveMode.d.ts +30 -0
  83. data/packages/webpacker/node_modules/@jest/core/build/SnapshotInteractiveMode.js +327 -0
  84. data/packages/webpacker/node_modules/@jest/core/build/TestNamePatternPrompt.d.ts +17 -0
  85. data/packages/webpacker/node_modules/@jest/core/build/TestNamePatternPrompt.js +86 -0
  86. data/packages/webpacker/node_modules/@jest/core/build/TestPathPatternPrompt.d.ts +24 -0
  87. data/packages/webpacker/node_modules/@jest/core/build/TestPathPatternPrompt.js +81 -0
  88. data/packages/webpacker/node_modules/@jest/core/build/TestScheduler.d.ts +42 -0
  89. data/packages/webpacker/node_modules/@jest/core/build/TestScheduler.js +570 -0
  90. data/packages/webpacker/node_modules/@jest/core/build/TestWatcher.d.ts +23 -0
  91. data/packages/webpacker/node_modules/@jest/core/build/TestWatcher.js +64 -0
  92. data/packages/webpacker/node_modules/@jest/core/build/assets/jest_logo.png +0 -0
  93. data/packages/webpacker/node_modules/@jest/core/build/cli/index.d.ts +12 -0
  94. data/packages/webpacker/node_modules/@jest/core/build/cli/index.js +399 -0
  95. data/packages/webpacker/node_modules/@jest/core/build/collectHandles.d.ts +10 -0
  96. data/packages/webpacker/node_modules/@jest/core/build/collectHandles.js +269 -0
  97. data/packages/webpacker/node_modules/@jest/core/build/getChangedFilesPromise.d.ts +9 -0
  98. data/packages/webpacker/node_modules/@jest/core/build/getChangedFilesPromise.js +77 -0
  99. data/packages/webpacker/node_modules/@jest/core/build/getConfigsOfProjectsToRun.d.ts +8 -0
  100. data/packages/webpacker/node_modules/@jest/core/build/getConfigsOfProjectsToRun.js +28 -0
  101. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFound.d.ts +9 -0
  102. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFound.js +63 -0
  103. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundFailed.d.ts +8 -0
  104. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundFailed.js +51 -0
  105. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.d.ts +7 -0
  106. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js +30 -0
  107. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.d.ts +8 -0
  108. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js +57 -0
  109. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundVerbose.d.ts +9 -0
  110. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundVerbose.js +95 -0
  111. data/packages/webpacker/node_modules/@jest/core/build/getNoTestsFoundMessage.d.ts +9 -0
  112. data/packages/webpacker/node_modules/@jest/core/build/getNoTestsFoundMessage.js +52 -0
  113. data/packages/webpacker/node_modules/@jest/core/build/getProjectDisplayName.d.ts +8 -0
  114. data/packages/webpacker/node_modules/@jest/core/build/getProjectDisplayName.js +23 -0
  115. data/packages/webpacker/node_modules/@jest/core/build/getProjectNamesMissingWarning.d.ts +8 -0
  116. data/packages/webpacker/node_modules/@jest/core/build/getProjectNamesMissingWarning.js +49 -0
  117. data/packages/webpacker/node_modules/@jest/core/build/getSelectProjectsMessage.d.ts +8 -0
  118. data/packages/webpacker/node_modules/@jest/core/build/getSelectProjectsMessage.js +65 -0
  119. data/packages/webpacker/node_modules/@jest/core/build/jest.d.ts +11 -0
  120. data/packages/webpacker/node_modules/@jest/core/build/jest.js +49 -0
  121. data/packages/webpacker/node_modules/@jest/core/build/lib/activeFiltersMessage.d.ts +9 -0
  122. data/packages/webpacker/node_modules/@jest/core/build/lib/activeFiltersMessage.js +54 -0
  123. data/packages/webpacker/node_modules/@jest/core/build/lib/createContext.d.ts +10 -0
  124. data/packages/webpacker/node_modules/@jest/core/build/lib/createContext.js +35 -0
  125. data/packages/webpacker/node_modules/@jest/core/build/lib/handleDeprecationWarnings.d.ts +8 -0
  126. data/packages/webpacker/node_modules/@jest/core/build/lib/handleDeprecationWarnings.js +72 -0
  127. data/packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.d.ts +8 -0
  128. data/packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.js +29 -0
  129. data/packages/webpacker/node_modules/@jest/core/build/lib/logDebugMessages.d.ts +9 -0
  130. data/packages/webpacker/node_modules/@jest/core/build/lib/logDebugMessages.js +23 -0
  131. data/packages/webpacker/node_modules/@jest/core/build/lib/updateGlobalConfig.d.ts +11 -0
  132. data/packages/webpacker/node_modules/@jest/core/build/lib/updateGlobalConfig.js +121 -0
  133. data/packages/webpacker/node_modules/@jest/core/build/lib/watchPluginsHelpers.d.ts +10 -0
  134. data/packages/webpacker/node_modules/@jest/core/build/lib/watchPluginsHelpers.js +62 -0
  135. data/packages/webpacker/node_modules/@jest/core/build/plugins/FailedTestsInteractive.d.ts +17 -0
  136. data/packages/webpacker/node_modules/@jest/core/build/plugins/FailedTestsInteractive.js +135 -0
  137. data/packages/webpacker/node_modules/@jest/core/build/plugins/Quit.d.ts +18 -0
  138. data/packages/webpacker/node_modules/@jest/core/build/plugins/Quit.js +60 -0
  139. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestNamePattern.d.ts +21 -0
  140. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestNamePattern.js +91 -0
  141. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestPathPattern.d.ts +21 -0
  142. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestPathPattern.js +91 -0
  143. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshots.d.ts +21 -0
  144. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshots.js +70 -0
  145. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts +20 -0
  146. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.js +138 -0
  147. data/packages/webpacker/node_modules/@jest/core/build/pluralize.d.ts +7 -0
  148. data/packages/webpacker/node_modules/@jest/core/build/pluralize.js +16 -0
  149. data/packages/webpacker/node_modules/@jest/core/build/runGlobalHook.d.ts +13 -0
  150. data/packages/webpacker/node_modules/@jest/core/build/runGlobalHook.js +143 -0
  151. data/packages/webpacker/node_modules/@jest/core/build/runJest.d.ts +27 -0
  152. data/packages/webpacker/node_modules/@jest/core/build/runJest.js +423 -0
  153. data/packages/webpacker/node_modules/@jest/core/build/testSchedulerHelper.d.ts +9 -0
  154. data/packages/webpacker/node_modules/@jest/core/build/testSchedulerHelper.js +51 -0
  155. data/packages/webpacker/node_modules/@jest/core/build/types.d.ts +39 -0
  156. data/packages/webpacker/node_modules/@jest/core/build/types.js +1 -0
  157. data/packages/webpacker/node_modules/@jest/core/build/version.d.ts +7 -0
  158. data/packages/webpacker/node_modules/@jest/core/build/version.js +19 -0
  159. data/packages/webpacker/node_modules/@jest/core/build/watch.d.ts +13 -0
  160. data/packages/webpacker/node_modules/@jest/core/build/watch.js +769 -0
  161. data/packages/webpacker/node_modules/@jest/core/package.json +103 -0
  162. data/packages/webpacker/node_modules/@jest/environment/LICENSE +21 -0
  163. data/packages/webpacker/node_modules/@jest/environment/build/index.d.ts +267 -0
  164. data/packages/webpacker/node_modules/@jest/environment/build/index.js +1 -0
  165. data/packages/webpacker/node_modules/@jest/environment/package.json +32 -0
  166. data/packages/webpacker/node_modules/@jest/fake-timers/LICENSE +21 -0
  167. data/packages/webpacker/node_modules/@jest/fake-timers/build/index.d.ts +8 -0
  168. data/packages/webpacker/node_modules/@jest/fake-timers/build/index.js +25 -0
  169. data/packages/webpacker/node_modules/@jest/fake-timers/build/legacyFakeTimers.d.ts +67 -0
  170. data/packages/webpacker/node_modules/@jest/fake-timers/build/legacyFakeTimers.js +673 -0
  171. data/packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts +34 -0
  172. data/packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.js +181 -0
  173. data/packages/webpacker/node_modules/@jest/fake-timers/package.json +37 -0
  174. data/packages/webpacker/node_modules/@jest/globals/LICENSE +21 -0
  175. data/packages/webpacker/node_modules/@jest/globals/build/index.d.ts +23 -0
  176. data/packages/webpacker/node_modules/@jest/globals/build/index.js +25 -0
  177. data/packages/webpacker/node_modules/@jest/globals/package.json +31 -0
  178. data/packages/webpacker/node_modules/@jest/reporters/LICENSE +21 -0
  179. data/packages/webpacker/node_modules/@jest/reporters/build/BaseReporter.d.ts +19 -0
  180. data/packages/webpacker/node_modules/@jest/reporters/build/BaseReporter.js +65 -0
  181. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageReporter.d.ts +24 -0
  182. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageReporter.js +668 -0
  183. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageWorker.d.ts +17 -0
  184. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageWorker.js +103 -0
  185. data/packages/webpacker/node_modules/@jest/reporters/build/DefaultReporter.d.ts +33 -0
  186. data/packages/webpacker/node_modules/@jest/reporters/build/DefaultReporter.js +254 -0
  187. data/packages/webpacker/node_modules/@jest/reporters/build/NotifyReporter.d.ts +19 -0
  188. data/packages/webpacker/node_modules/@jest/reporters/build/NotifyReporter.js +256 -0
  189. data/packages/webpacker/node_modules/@jest/reporters/build/Status.d.ts +42 -0
  190. data/packages/webpacker/node_modules/@jest/reporters/build/Status.js +272 -0
  191. data/packages/webpacker/node_modules/@jest/reporters/build/SummaryReporter.d.ts +22 -0
  192. data/packages/webpacker/node_modules/@jest/reporters/build/SummaryReporter.js +271 -0
  193. data/packages/webpacker/node_modules/@jest/reporters/build/VerboseReporter.d.ts +27 -0
  194. data/packages/webpacker/node_modules/@jest/reporters/build/VerboseReporter.js +226 -0
  195. data/packages/webpacker/node_modules/@jest/reporters/build/generateEmptyCoverage.d.ts +19 -0
  196. data/packages/webpacker/node_modules/@jest/reporters/build/generateEmptyCoverage.js +168 -0
  197. data/packages/webpacker/node_modules/@jest/reporters/build/getResultHeader.d.ts +9 -0
  198. data/packages/webpacker/node_modules/@jest/reporters/build/getResultHeader.js +104 -0
  199. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotStatus.d.ts +8 -0
  200. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotStatus.js +111 -0
  201. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotSummary.d.ts +9 -0
  202. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotSummary.js +203 -0
  203. data/packages/webpacker/node_modules/@jest/reporters/build/getWatermarks.d.ts +9 -0
  204. data/packages/webpacker/node_modules/@jest/reporters/build/getWatermarks.js +47 -0
  205. data/packages/webpacker/node_modules/@jest/reporters/build/index.d.ts +27 -0
  206. data/packages/webpacker/node_modules/@jest/reporters/build/index.js +78 -0
  207. data/packages/webpacker/node_modules/@jest/reporters/build/types.d.ts +75 -0
  208. data/packages/webpacker/node_modules/@jest/reporters/build/types.js +1 -0
  209. data/packages/webpacker/node_modules/@jest/reporters/build/utils.d.ts +18 -0
  210. data/packages/webpacker/node_modules/@jest/reporters/build/utils.js +435 -0
  211. data/packages/webpacker/node_modules/@jest/reporters/package.json +80 -0
  212. data/packages/webpacker/node_modules/@jest/source-map/LICENSE +21 -0
  213. data/packages/webpacker/node_modules/@jest/source-map/build/getCallsite.d.ts +9 -0
  214. data/packages/webpacker/node_modules/@jest/source-map/build/getCallsite.js +108 -0
  215. data/packages/webpacker/node_modules/@jest/source-map/build/index.d.ts +8 -0
  216. data/packages/webpacker/node_modules/@jest/source-map/build/index.js +17 -0
  217. data/packages/webpacker/node_modules/@jest/source-map/build/types.d.ts +7 -0
  218. data/packages/webpacker/node_modules/@jest/source-map/build/types.js +1 -0
  219. data/packages/webpacker/node_modules/@jest/source-map/package.json +34 -0
  220. data/packages/webpacker/node_modules/@jest/test-result/LICENSE +21 -0
  221. data/packages/webpacker/node_modules/@jest/test-result/build/formatTestResults.d.ts +8 -0
  222. data/packages/webpacker/node_modules/@jest/test-result/build/formatTestResults.js +70 -0
  223. data/packages/webpacker/node_modules/@jest/test-result/build/helpers.d.ts +12 -0
  224. data/packages/webpacker/node_modules/@jest/test-result/build/helpers.js +188 -0
  225. data/packages/webpacker/node_modules/@jest/test-result/build/index.d.ts +9 -0
  226. data/packages/webpacker/node_modules/@jest/test-result/build/index.js +43 -0
  227. data/packages/webpacker/node_modules/@jest/test-result/build/types.d.ts +171 -0
  228. data/packages/webpacker/node_modules/@jest/test-result/build/types.js +1 -0
  229. data/packages/webpacker/node_modules/@jest/test-result/package.json +32 -0
  230. data/packages/webpacker/node_modules/@jest/test-sequencer/LICENSE +21 -0
  231. data/packages/webpacker/node_modules/@jest/test-sequencer/build/index.d.ts +51 -0
  232. data/packages/webpacker/node_modules/@jest/test-sequencer/build/index.js +237 -0
  233. data/packages/webpacker/node_modules/@jest/test-sequencer/package.json +35 -0
  234. data/packages/webpacker/node_modules/@jest/transform/LICENSE +21 -0
  235. data/packages/webpacker/node_modules/@jest/transform/build/ScriptTransformer.d.ts +40 -0
  236. data/packages/webpacker/node_modules/@jest/transform/build/ScriptTransformer.js +1115 -0
  237. data/packages/webpacker/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.d.ts +12 -0
  238. data/packages/webpacker/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.js +83 -0
  239. data/packages/webpacker/node_modules/@jest/transform/build/index.d.ts +11 -0
  240. data/packages/webpacker/node_modules/@jest/transform/build/index.js +41 -0
  241. data/packages/webpacker/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.d.ts +10 -0
  242. data/packages/webpacker/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.js +101 -0
  243. data/packages/webpacker/node_modules/@jest/transform/build/shouldInstrument.d.ts +9 -0
  244. data/packages/webpacker/node_modules/@jest/transform/build/shouldInstrument.js +207 -0
  245. data/packages/webpacker/node_modules/@jest/transform/build/types.d.ts +75 -0
  246. data/packages/webpacker/node_modules/@jest/transform/build/types.js +1 -0
  247. data/packages/webpacker/node_modules/@jest/transform/package.json +53 -0
  248. data/packages/webpacker/node_modules/@jest/types/LICENSE +21 -0
  249. data/packages/webpacker/node_modules/@jest/types/build/Circus.d.ts +193 -0
  250. data/packages/webpacker/node_modules/@jest/types/build/Circus.js +1 -0
  251. data/packages/webpacker/node_modules/@jest/types/build/Config.d.ts +462 -0
  252. data/packages/webpacker/node_modules/@jest/types/build/Config.js +1 -0
  253. data/packages/webpacker/node_modules/@jest/types/build/Global.d.ts +95 -0
  254. data/packages/webpacker/node_modules/@jest/types/build/Global.js +1 -0
  255. data/packages/webpacker/node_modules/@jest/types/build/TestResult.d.ts +31 -0
  256. data/packages/webpacker/node_modules/@jest/types/build/TestResult.js +1 -0
  257. data/packages/webpacker/node_modules/@jest/types/build/Transform.d.ts +11 -0
  258. data/packages/webpacker/node_modules/@jest/types/build/Transform.js +1 -0
  259. data/packages/webpacker/node_modules/@jest/types/build/index.d.ts +12 -0
  260. data/packages/webpacker/node_modules/@jest/types/build/index.js +1 -0
  261. data/packages/webpacker/node_modules/@jest/types/package.json +37 -0
  262. data/packages/webpacker/node_modules/@sinonjs/fake-timers/CHANGELOG.md +441 -0
  263. data/packages/webpacker/node_modules/@sinonjs/fake-timers/LICENSE +11 -0
  264. data/packages/webpacker/node_modules/@sinonjs/fake-timers/README.md +353 -0
  265. data/packages/webpacker/node_modules/@sinonjs/fake-timers/package.json +71 -0
  266. data/packages/webpacker/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js +1728 -0
  267. data/packages/webpacker/node_modules/@types/yargs/LICENSE +21 -0
  268. data/packages/webpacker/node_modules/@types/yargs/README.md +16 -0
  269. data/packages/webpacker/node_modules/@types/yargs/helpers.d.ts +5 -0
  270. data/packages/webpacker/node_modules/@types/yargs/index.d.ts +844 -0
  271. data/packages/webpacker/node_modules/@types/yargs/package.json +62 -0
  272. data/packages/webpacker/node_modules/@types/yargs/yargs.d.ts +9 -0
  273. data/packages/webpacker/node_modules/acorn/CHANGELOG.md +788 -0
  274. data/packages/webpacker/node_modules/acorn/LICENSE +21 -0
  275. data/packages/webpacker/node_modules/acorn/README.md +280 -0
  276. data/packages/webpacker/node_modules/acorn/bin/acorn +4 -0
  277. data/packages/webpacker/node_modules/acorn/dist/acorn.d.ts +214 -0
  278. data/packages/webpacker/node_modules/acorn/dist/acorn.js +5619 -0
  279. data/packages/webpacker/node_modules/acorn/dist/acorn.mjs +5588 -0
  280. data/packages/webpacker/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
  281. data/packages/webpacker/node_modules/acorn/dist/bin.js +91 -0
  282. data/packages/webpacker/node_modules/acorn/package.json +46 -0
  283. data/packages/webpacker/node_modules/ansi-styles/index.d.ts +345 -0
  284. data/packages/webpacker/node_modules/ansi-styles/index.js +163 -0
  285. data/packages/webpacker/node_modules/ansi-styles/license +9 -0
  286. data/packages/webpacker/node_modules/ansi-styles/package.json +56 -0
  287. data/packages/webpacker/node_modules/ansi-styles/readme.md +152 -0
  288. data/packages/webpacker/node_modules/babel-jest/LICENSE +21 -0
  289. data/packages/webpacker/node_modules/babel-jest/README.md +25 -0
  290. data/packages/webpacker/node_modules/babel-jest/build/index.d.ts +10 -0
  291. data/packages/webpacker/node_modules/babel-jest/build/index.js +386 -0
  292. data/packages/webpacker/node_modules/babel-jest/build/loadBabelConfig.d.ts +7 -0
  293. data/packages/webpacker/node_modules/babel-jest/build/loadBabelConfig.js +27 -0
  294. data/packages/webpacker/node_modules/babel-jest/package.json +45 -0
  295. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/LICENSE +21 -0
  296. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/README.md +33 -0
  297. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/build/index.d.ts +13 -0
  298. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/build/index.js +389 -0
  299. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/package.json +41 -0
  300. data/packages/webpacker/node_modules/babel-preset-jest/LICENSE +21 -0
  301. data/packages/webpacker/node_modules/babel-preset-jest/README.md +33 -0
  302. data/packages/webpacker/node_modules/babel-preset-jest/index.js +14 -0
  303. data/packages/webpacker/node_modules/babel-preset-jest/package.json +29 -0
  304. data/packages/webpacker/node_modules/camelcase/index.d.ts +103 -0
  305. data/packages/webpacker/node_modules/camelcase/index.js +113 -0
  306. data/packages/webpacker/node_modules/camelcase/license +9 -0
  307. data/packages/webpacker/node_modules/camelcase/package.json +44 -0
  308. data/packages/webpacker/node_modules/camelcase/readme.md +144 -0
  309. data/packages/webpacker/node_modules/chalk/index.d.ts +415 -0
  310. data/packages/webpacker/node_modules/chalk/license +9 -0
  311. data/packages/webpacker/node_modules/chalk/package.json +68 -0
  312. data/packages/webpacker/node_modules/chalk/readme.md +341 -0
  313. data/packages/webpacker/node_modules/chalk/source/index.js +229 -0
  314. data/packages/webpacker/node_modules/chalk/source/templates.js +134 -0
  315. data/packages/webpacker/node_modules/chalk/source/util.js +39 -0
  316. data/packages/webpacker/node_modules/ci-info/CHANGELOG.md +122 -0
  317. data/packages/webpacker/node_modules/ci-info/LICENSE +21 -0
  318. data/packages/webpacker/node_modules/ci-info/README.md +118 -0
  319. data/packages/webpacker/node_modules/ci-info/index.d.ts +62 -0
  320. data/packages/webpacker/node_modules/ci-info/index.js +66 -0
  321. data/packages/webpacker/node_modules/ci-info/package.json +36 -0
  322. data/packages/webpacker/node_modules/ci-info/vendors.json +210 -0
  323. data/packages/webpacker/node_modules/cjs-module-lexer/CHANGELOG.md +40 -0
  324. data/packages/webpacker/node_modules/cjs-module-lexer/LICENSE +10 -0
  325. data/packages/webpacker/node_modules/cjs-module-lexer/README.md +453 -0
  326. data/packages/webpacker/node_modules/cjs-module-lexer/dist/lexer.js +1 -0
  327. data/packages/webpacker/node_modules/cjs-module-lexer/dist/lexer.mjs +2 -0
  328. data/packages/webpacker/node_modules/cjs-module-lexer/lexer.d.ts +7 -0
  329. data/packages/webpacker/node_modules/cjs-module-lexer/lexer.js +1438 -0
  330. data/packages/webpacker/node_modules/cjs-module-lexer/package.json +43 -0
  331. data/packages/webpacker/node_modules/cliui/CHANGELOG.md +121 -0
  332. data/packages/webpacker/node_modules/cliui/LICENSE.txt +14 -0
  333. data/packages/webpacker/node_modules/cliui/README.md +141 -0
  334. data/packages/webpacker/node_modules/cliui/build/index.cjs +302 -0
  335. data/packages/webpacker/node_modules/cliui/build/lib/index.js +287 -0
  336. data/packages/webpacker/node_modules/cliui/build/lib/string-utils.js +27 -0
  337. data/packages/webpacker/node_modules/cliui/index.mjs +13 -0
  338. data/packages/webpacker/node_modules/cliui/package.json +83 -0
  339. data/packages/webpacker/node_modules/color-convert/CHANGELOG.md +54 -0
  340. data/packages/webpacker/node_modules/color-convert/LICENSE +21 -0
  341. data/packages/webpacker/node_modules/color-convert/README.md +68 -0
  342. data/packages/webpacker/node_modules/color-convert/conversions.js +839 -0
  343. data/packages/webpacker/node_modules/color-convert/index.js +81 -0
  344. data/packages/webpacker/node_modules/color-convert/package.json +48 -0
  345. data/packages/webpacker/node_modules/color-convert/route.js +97 -0
  346. data/packages/webpacker/node_modules/color-name/LICENSE +8 -0
  347. data/packages/webpacker/node_modules/color-name/README.md +11 -0
  348. data/packages/webpacker/node_modules/color-name/index.js +152 -0
  349. data/packages/webpacker/node_modules/color-name/package.json +28 -0
  350. data/packages/webpacker/node_modules/diff-sequences/LICENSE +21 -0
  351. data/packages/webpacker/node_modules/diff-sequences/README.md +404 -0
  352. data/packages/webpacker/node_modules/diff-sequences/build/index.d.ts +18 -0
  353. data/packages/webpacker/node_modules/diff-sequences/build/index.js +816 -0
  354. data/packages/webpacker/node_modules/diff-sequences/package.json +42 -0
  355. data/packages/webpacker/node_modules/diff-sequences/perf/example.md +48 -0
  356. data/packages/webpacker/node_modules/diff-sequences/perf/index.js +170 -0
  357. data/packages/webpacker/node_modules/emittery/index.d.ts +432 -0
  358. data/packages/webpacker/node_modules/emittery/index.js +408 -0
  359. data/packages/webpacker/node_modules/emittery/license +9 -0
  360. data/packages/webpacker/node_modules/emittery/package.json +66 -0
  361. data/packages/webpacker/node_modules/emittery/readme.md +409 -0
  362. data/packages/webpacker/node_modules/escape-string-regexp/index.d.ts +18 -0
  363. data/packages/webpacker/node_modules/escape-string-regexp/index.js +13 -0
  364. data/packages/webpacker/node_modules/escape-string-regexp/license +9 -0
  365. data/packages/webpacker/node_modules/escape-string-regexp/package.json +38 -0
  366. data/packages/webpacker/node_modules/escape-string-regexp/readme.md +34 -0
  367. data/packages/webpacker/node_modules/eslint/LICENSE +19 -0
  368. data/packages/webpacker/node_modules/eslint/README.md +304 -0
  369. data/packages/webpacker/node_modules/eslint/bin/eslint.js +142 -0
  370. data/packages/webpacker/node_modules/eslint/conf/config-schema.js +93 -0
  371. data/packages/webpacker/node_modules/eslint/conf/default-cli-options.js +32 -0
  372. data/packages/webpacker/node_modules/eslint/conf/eslint-all.js +31 -0
  373. data/packages/webpacker/node_modules/eslint/conf/eslint-recommended.js +76 -0
  374. data/packages/webpacker/node_modules/eslint/conf/globals.js +144 -0
  375. data/packages/webpacker/node_modules/eslint/conf/replacements.json +22 -0
  376. data/packages/webpacker/node_modules/eslint/conf/rule-type-list.json +36 -0
  377. data/packages/webpacker/node_modules/eslint/lib/api.js +26 -0
  378. data/packages/webpacker/node_modules/eslint/lib/cli-engine/cli-engine.js +1068 -0
  379. data/packages/webpacker/node_modules/eslint/lib/cli-engine/file-enumerator.js +543 -0
  380. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +60 -0
  381. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/compact.js +60 -0
  382. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/html.js +324 -0
  383. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +41 -0
  384. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +16 -0
  385. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/json.js +13 -0
  386. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/junit.js +82 -0
  387. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/stylish.js +101 -0
  388. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/tap.js +95 -0
  389. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/unix.js +58 -0
  390. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +63 -0
  391. data/packages/webpacker/node_modules/eslint/lib/cli-engine/hash.js +35 -0
  392. data/packages/webpacker/node_modules/eslint/lib/cli-engine/index.js +7 -0
  393. data/packages/webpacker/node_modules/eslint/lib/cli-engine/lint-result-cache.js +191 -0
  394. data/packages/webpacker/node_modules/eslint/lib/cli-engine/load-rules.js +46 -0
  395. data/packages/webpacker/node_modules/eslint/lib/cli-engine/xml-escape.js +34 -0
  396. data/packages/webpacker/node_modules/eslint/lib/cli.js +344 -0
  397. data/packages/webpacker/node_modules/eslint/lib/config/default-config.js +61 -0
  398. data/packages/webpacker/node_modules/eslint/lib/config/flat-config-array.js +134 -0
  399. data/packages/webpacker/node_modules/eslint/lib/config/flat-config-helpers.js +103 -0
  400. data/packages/webpacker/node_modules/eslint/lib/config/flat-config-schema.js +457 -0
  401. data/packages/webpacker/node_modules/eslint/lib/config/rule-validator.js +157 -0
  402. data/packages/webpacker/node_modules/eslint/lib/eslint/eslint.js +712 -0
  403. data/packages/webpacker/node_modules/eslint/lib/eslint/index.js +7 -0
  404. data/packages/webpacker/node_modules/eslint/lib/linter/apply-disable-directives.js +341 -0
  405. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +844 -0
  406. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +235 -0
  407. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +1483 -0
  408. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +247 -0
  409. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +203 -0
  410. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +248 -0
  411. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +45 -0
  412. data/packages/webpacker/node_modules/eslint/lib/linter/config-comment-parser.js +145 -0
  413. data/packages/webpacker/node_modules/eslint/lib/linter/index.js +13 -0
  414. data/packages/webpacker/node_modules/eslint/lib/linter/interpolate.js +28 -0
  415. data/packages/webpacker/node_modules/eslint/lib/linter/linter.js +2004 -0
  416. data/packages/webpacker/node_modules/eslint/lib/linter/node-event-generator.js +354 -0
  417. data/packages/webpacker/node_modules/eslint/lib/linter/report-translator.js +368 -0
  418. data/packages/webpacker/node_modules/eslint/lib/linter/rule-fixer.js +140 -0
  419. data/packages/webpacker/node_modules/eslint/lib/linter/rules.js +80 -0
  420. data/packages/webpacker/node_modules/eslint/lib/linter/safe-emitter.js +52 -0
  421. data/packages/webpacker/node_modules/eslint/lib/linter/source-code-fixer.js +152 -0
  422. data/packages/webpacker/node_modules/eslint/lib/linter/timing.js +160 -0
  423. data/packages/webpacker/node_modules/eslint/lib/options.js +323 -0
  424. data/packages/webpacker/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +1039 -0
  425. data/packages/webpacker/node_modules/eslint/lib/rule-tester/index.js +5 -0
  426. data/packages/webpacker/node_modules/eslint/lib/rule-tester/rule-tester.js +1008 -0
  427. data/packages/webpacker/node_modules/eslint/lib/rules/accessor-pairs.js +354 -0
  428. data/packages/webpacker/node_modules/eslint/lib/rules/array-bracket-newline.js +258 -0
  429. data/packages/webpacker/node_modules/eslint/lib/rules/array-bracket-spacing.js +241 -0
  430. data/packages/webpacker/node_modules/eslint/lib/rules/array-callback-return.js +296 -0
  431. data/packages/webpacker/node_modules/eslint/lib/rules/array-element-newline.js +301 -0
  432. data/packages/webpacker/node_modules/eslint/lib/rules/arrow-body-style.js +296 -0
  433. data/packages/webpacker/node_modules/eslint/lib/rules/arrow-parens.js +183 -0
  434. data/packages/webpacker/node_modules/eslint/lib/rules/arrow-spacing.js +161 -0
  435. data/packages/webpacker/node_modules/eslint/lib/rules/block-scoped-var.js +124 -0
  436. data/packages/webpacker/node_modules/eslint/lib/rules/block-spacing.js +171 -0
  437. data/packages/webpacker/node_modules/eslint/lib/rules/brace-style.js +194 -0
  438. data/packages/webpacker/node_modules/eslint/lib/rules/callback-return.js +187 -0
  439. data/packages/webpacker/node_modules/eslint/lib/rules/camelcase.js +398 -0
  440. data/packages/webpacker/node_modules/eslint/lib/rules/capitalized-comments.js +300 -0
  441. data/packages/webpacker/node_modules/eslint/lib/rules/class-methods-use-this.js +187 -0
  442. data/packages/webpacker/node_modules/eslint/lib/rules/comma-dangle.js +350 -0
  443. data/packages/webpacker/node_modules/eslint/lib/rules/comma-spacing.js +195 -0
  444. data/packages/webpacker/node_modules/eslint/lib/rules/comma-style.js +311 -0
  445. data/packages/webpacker/node_modules/eslint/lib/rules/complexity.js +165 -0
  446. data/packages/webpacker/node_modules/eslint/lib/rules/computed-property-spacing.js +205 -0
  447. data/packages/webpacker/node_modules/eslint/lib/rules/consistent-return.js +185 -0
  448. data/packages/webpacker/node_modules/eslint/lib/rules/consistent-this.js +151 -0
  449. data/packages/webpacker/node_modules/eslint/lib/rules/constructor-super.js +423 -0
  450. data/packages/webpacker/node_modules/eslint/lib/rules/curly.js +486 -0
  451. data/packages/webpacker/node_modules/eslint/lib/rules/default-case-last.js +44 -0
  452. data/packages/webpacker/node_modules/eslint/lib/rules/default-case.js +97 -0
  453. data/packages/webpacker/node_modules/eslint/lib/rules/default-param-last.js +62 -0
  454. data/packages/webpacker/node_modules/eslint/lib/rules/dot-location.js +105 -0
  455. data/packages/webpacker/node_modules/eslint/lib/rules/dot-notation.js +177 -0
  456. data/packages/webpacker/node_modules/eslint/lib/rules/eol-last.js +112 -0
  457. data/packages/webpacker/node_modules/eslint/lib/rules/eqeqeq.js +174 -0
  458. data/packages/webpacker/node_modules/eslint/lib/rules/for-direction.js +126 -0
  459. data/packages/webpacker/node_modules/eslint/lib/rules/func-call-spacing.js +230 -0
  460. data/packages/webpacker/node_modules/eslint/lib/rules/func-name-matching.js +253 -0
  461. data/packages/webpacker/node_modules/eslint/lib/rules/func-names.js +191 -0
  462. data/packages/webpacker/node_modules/eslint/lib/rules/func-style.js +98 -0
  463. data/packages/webpacker/node_modules/eslint/lib/rules/function-call-argument-newline.js +122 -0
  464. data/packages/webpacker/node_modules/eslint/lib/rules/function-paren-newline.js +286 -0
  465. data/packages/webpacker/node_modules/eslint/lib/rules/generator-star-spacing.js +206 -0
  466. data/packages/webpacker/node_modules/eslint/lib/rules/getter-return.js +173 -0
  467. data/packages/webpacker/node_modules/eslint/lib/rules/global-require.js +87 -0
  468. data/packages/webpacker/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +224 -0
  469. data/packages/webpacker/node_modules/eslint/lib/rules/guard-for-in.js +76 -0
  470. data/packages/webpacker/node_modules/eslint/lib/rules/handle-callback-err.js +100 -0
  471. data/packages/webpacker/node_modules/eslint/lib/rules/id-blacklist.js +245 -0
  472. data/packages/webpacker/node_modules/eslint/lib/rules/id-denylist.js +227 -0
  473. data/packages/webpacker/node_modules/eslint/lib/rules/id-length.js +169 -0
  474. data/packages/webpacker/node_modules/eslint/lib/rules/id-match.js +298 -0
  475. data/packages/webpacker/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +81 -0
  476. data/packages/webpacker/node_modules/eslint/lib/rules/indent-legacy.js +1126 -0
  477. data/packages/webpacker/node_modules/eslint/lib/rules/indent.js +1764 -0
  478. data/packages/webpacker/node_modules/eslint/lib/rules/index.js +301 -0
  479. data/packages/webpacker/node_modules/eslint/lib/rules/init-declarations.js +139 -0
  480. data/packages/webpacker/node_modules/eslint/lib/rules/jsx-quotes.js +95 -0
  481. data/packages/webpacker/node_modules/eslint/lib/rules/key-spacing.js +675 -0
  482. data/packages/webpacker/node_modules/eslint/lib/rules/keyword-spacing.js +637 -0
  483. data/packages/webpacker/node_modules/eslint/lib/rules/line-comment-position.js +122 -0
  484. data/packages/webpacker/node_modules/eslint/lib/rules/linebreak-style.js +105 -0
  485. data/packages/webpacker/node_modules/eslint/lib/rules/lines-around-comment.js +450 -0
  486. data/packages/webpacker/node_modules/eslint/lib/rules/lines-around-directive.js +201 -0
  487. data/packages/webpacker/node_modules/eslint/lib/rules/lines-between-class-members.js +181 -0
  488. data/packages/webpacker/node_modules/eslint/lib/rules/max-classes-per-file.js +89 -0
  489. data/packages/webpacker/node_modules/eslint/lib/rules/max-depth.js +156 -0
  490. data/packages/webpacker/node_modules/eslint/lib/rules/max-len.js +433 -0
  491. data/packages/webpacker/node_modules/eslint/lib/rules/max-lines-per-function.js +213 -0
  492. data/packages/webpacker/node_modules/eslint/lib/rules/max-lines.js +193 -0
  493. data/packages/webpacker/node_modules/eslint/lib/rules/max-nested-callbacks.js +117 -0
  494. data/packages/webpacker/node_modules/eslint/lib/rules/max-params.js +102 -0
  495. data/packages/webpacker/node_modules/eslint/lib/rules/max-statements-per-line.js +196 -0
  496. data/packages/webpacker/node_modules/eslint/lib/rules/max-statements.js +184 -0
  497. data/packages/webpacker/node_modules/eslint/lib/rules/multiline-comment-style.js +435 -0
  498. data/packages/webpacker/node_modules/eslint/lib/rules/multiline-ternary.js +171 -0
  499. data/packages/webpacker/node_modules/eslint/lib/rules/new-cap.js +276 -0
  500. data/packages/webpacker/node_modules/eslint/lib/rules/new-parens.js +99 -0
  501. data/packages/webpacker/node_modules/eslint/lib/rules/newline-after-var.js +255 -0
  502. data/packages/webpacker/node_modules/eslint/lib/rules/newline-before-return.js +217 -0
  503. data/packages/webpacker/node_modules/eslint/lib/rules/newline-per-chained-call.js +123 -0
  504. data/packages/webpacker/node_modules/eslint/lib/rules/no-alert.js +136 -0
  505. data/packages/webpacker/node_modules/eslint/lib/rules/no-array-constructor.js +54 -0
  506. data/packages/webpacker/node_modules/eslint/lib/rules/no-async-promise-executor.js +39 -0
  507. data/packages/webpacker/node_modules/eslint/lib/rules/no-await-in-loop.js +106 -0
  508. data/packages/webpacker/node_modules/eslint/lib/rules/no-bitwise.js +119 -0
  509. data/packages/webpacker/node_modules/eslint/lib/rules/no-buffer-constructor.js +50 -0
  510. data/packages/webpacker/node_modules/eslint/lib/rules/no-caller.js +46 -0
  511. data/packages/webpacker/node_modules/eslint/lib/rules/no-case-declarations.js +64 -0
  512. data/packages/webpacker/node_modules/eslint/lib/rules/no-catch-shadow.js +80 -0
  513. data/packages/webpacker/node_modules/eslint/lib/rules/no-class-assign.js +61 -0
  514. data/packages/webpacker/node_modules/eslint/lib/rules/no-compare-neg-zero.js +60 -0
  515. data/packages/webpacker/node_modules/eslint/lib/rules/no-cond-assign.js +159 -0
  516. data/packages/webpacker/node_modules/eslint/lib/rules/no-confusing-arrow.js +89 -0
  517. data/packages/webpacker/node_modules/eslint/lib/rules/no-console.js +134 -0
  518. data/packages/webpacker/node_modules/eslint/lib/rules/no-const-assign.js +54 -0
  519. data/packages/webpacker/node_modules/eslint/lib/rules/no-constant-condition.js +315 -0
  520. data/packages/webpacker/node_modules/eslint/lib/rules/no-constructor-return.js +62 -0
  521. data/packages/webpacker/node_modules/eslint/lib/rules/no-continue.js +39 -0
  522. data/packages/webpacker/node_modules/eslint/lib/rules/no-control-regex.js +112 -0
  523. data/packages/webpacker/node_modules/eslint/lib/rules/no-debugger.js +43 -0
  524. data/packages/webpacker/node_modules/eslint/lib/rules/no-delete-var.js +42 -0
  525. data/packages/webpacker/node_modules/eslint/lib/rules/no-div-regex.js +53 -0
  526. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-args.js +80 -0
  527. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-class-members.js +104 -0
  528. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-else-if.js +122 -0
  529. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-keys.js +142 -0
  530. data/packages/webpacker/node_modules/eslint/lib/rules/no-duplicate-case.js +71 -0
  531. data/packages/webpacker/node_modules/eslint/lib/rules/no-duplicate-imports.js +290 -0
  532. data/packages/webpacker/node_modules/eslint/lib/rules/no-else-return.js +404 -0
  533. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-character-class.js +55 -0
  534. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-function.js +167 -0
  535. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-pattern.js +43 -0
  536. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty.js +86 -0
  537. data/packages/webpacker/node_modules/eslint/lib/rules/no-eq-null.js +46 -0
  538. data/packages/webpacker/node_modules/eslint/lib/rules/no-eval.js +281 -0
  539. data/packages/webpacker/node_modules/eslint/lib/rules/no-ex-assign.js +52 -0
  540. data/packages/webpacker/node_modules/eslint/lib/rules/no-extend-native.js +178 -0
  541. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-bind.js +213 -0
  542. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +317 -0
  543. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-label.js +149 -0
  544. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-parens.js +1235 -0
  545. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-semi.js +126 -0
  546. data/packages/webpacker/node_modules/eslint/lib/rules/no-fallthrough.js +147 -0
  547. data/packages/webpacker/node_modules/eslint/lib/rules/no-floating-decimal.js +70 -0
  548. data/packages/webpacker/node_modules/eslint/lib/rules/no-func-assign.js +76 -0
  549. data/packages/webpacker/node_modules/eslint/lib/rules/no-global-assign.js +94 -0
  550. data/packages/webpacker/node_modules/eslint/lib/rules/no-implicit-coercion.js +361 -0
  551. data/packages/webpacker/node_modules/eslint/lib/rules/no-implicit-globals.js +140 -0
  552. data/packages/webpacker/node_modules/eslint/lib/rules/no-implied-eval.js +131 -0
  553. data/packages/webpacker/node_modules/eslint/lib/rules/no-import-assign.js +239 -0
  554. data/packages/webpacker/node_modules/eslint/lib/rules/no-inline-comments.js +110 -0
  555. data/packages/webpacker/node_modules/eslint/lib/rules/no-inner-declarations.js +110 -0
  556. data/packages/webpacker/node_modules/eslint/lib/rules/no-invalid-regexp.js +157 -0
  557. data/packages/webpacker/node_modules/eslint/lib/rules/no-invalid-this.js +150 -0
  558. data/packages/webpacker/node_modules/eslint/lib/rules/no-irregular-whitespace.js +259 -0
  559. data/packages/webpacker/node_modules/eslint/lib/rules/no-iterator.js +52 -0
  560. data/packages/webpacker/node_modules/eslint/lib/rules/no-label-var.js +79 -0
  561. data/packages/webpacker/node_modules/eslint/lib/rules/no-labels.js +149 -0
  562. data/packages/webpacker/node_modules/eslint/lib/rules/no-lone-blocks.js +134 -0
  563. data/packages/webpacker/node_modules/eslint/lib/rules/no-lonely-if.js +89 -0
  564. data/packages/webpacker/node_modules/eslint/lib/rules/no-loop-func.js +204 -0
  565. data/packages/webpacker/node_modules/eslint/lib/rules/no-loss-of-precision.js +206 -0
  566. data/packages/webpacker/node_modules/eslint/lib/rules/no-magic-numbers.js +226 -0
  567. data/packages/webpacker/node_modules/eslint/lib/rules/no-misleading-character-class.js +200 -0
  568. data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-operators.js +226 -0
  569. data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-requires.js +238 -0
  570. data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +113 -0
  571. data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-assign.js +67 -0
  572. data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-spaces.js +138 -0
  573. data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-str.js +65 -0
  574. data/packages/webpacker/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +151 -0
  575. data/packages/webpacker/node_modules/eslint/lib/rules/no-native-reassign.js +97 -0
  576. data/packages/webpacker/node_modules/eslint/lib/rules/no-negated-condition.js +95 -0
  577. data/packages/webpacker/node_modules/eslint/lib/rules/no-negated-in-lhs.js +46 -0
  578. data/packages/webpacker/node_modules/eslint/lib/rules/no-nested-ternary.js +44 -0
  579. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-func.js +86 -0
  580. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-object.js +57 -0
  581. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-require.js +50 -0
  582. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-symbol.js +54 -0
  583. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-wrappers.js +48 -0
  584. data/packages/webpacker/node_modules/eslint/lib/rules/no-new.js +43 -0
  585. data/packages/webpacker/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +148 -0
  586. data/packages/webpacker/node_modules/eslint/lib/rules/no-obj-calls.js +84 -0
  587. data/packages/webpacker/node_modules/eslint/lib/rules/no-octal-escape.js +56 -0
  588. data/packages/webpacker/node_modules/eslint/lib/rules/no-octal.js +45 -0
  589. data/packages/webpacker/node_modules/eslint/lib/rules/no-param-reassign.js +229 -0
  590. data/packages/webpacker/node_modules/eslint/lib/rules/no-path-concat.js +64 -0
  591. data/packages/webpacker/node_modules/eslint/lib/rules/no-plusplus.js +105 -0
  592. data/packages/webpacker/node_modules/eslint/lib/rules/no-process-env.js +51 -0
  593. data/packages/webpacker/node_modules/eslint/lib/rules/no-process-exit.js +47 -0
  594. data/packages/webpacker/node_modules/eslint/lib/rules/no-promise-executor-return.js +121 -0
  595. data/packages/webpacker/node_modules/eslint/lib/rules/no-proto.js +48 -0
  596. data/packages/webpacker/node_modules/eslint/lib/rules/no-prototype-builtins.js +71 -0
  597. data/packages/webpacker/node_modules/eslint/lib/rules/no-redeclare.js +174 -0
  598. data/packages/webpacker/node_modules/eslint/lib/rules/no-regex-spaces.js +180 -0
  599. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-exports.js +96 -0
  600. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-globals.js +122 -0
  601. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-imports.js +322 -0
  602. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-modules.js +216 -0
  603. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-properties.js +181 -0
  604. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-syntax.js +70 -0
  605. data/packages/webpacker/node_modules/eslint/lib/rules/no-return-assign.js +80 -0
  606. data/packages/webpacker/node_modules/eslint/lib/rules/no-return-await.js +103 -0
  607. data/packages/webpacker/node_modules/eslint/lib/rules/no-script-url.js +61 -0
  608. data/packages/webpacker/node_modules/eslint/lib/rules/no-self-assign.js +183 -0
  609. data/packages/webpacker/node_modules/eslint/lib/rules/no-self-compare.js +60 -0
  610. data/packages/webpacker/node_modules/eslint/lib/rules/no-sequences.js +138 -0
  611. data/packages/webpacker/node_modules/eslint/lib/rules/no-setter-return.js +225 -0
  612. data/packages/webpacker/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +64 -0
  613. data/packages/webpacker/node_modules/eslint/lib/rules/no-shadow.js +335 -0
  614. data/packages/webpacker/node_modules/eslint/lib/rules/no-spaced-func.js +83 -0
  615. data/packages/webpacker/node_modules/eslint/lib/rules/no-sparse-arrays.js +50 -0
  616. data/packages/webpacker/node_modules/eslint/lib/rules/no-sync.js +64 -0
  617. data/packages/webpacker/node_modules/eslint/lib/rules/no-tabs.js +78 -0
  618. data/packages/webpacker/node_modules/eslint/lib/rules/no-template-curly-in-string.js +44 -0
  619. data/packages/webpacker/node_modules/eslint/lib/rules/no-ternary.js +41 -0
  620. data/packages/webpacker/node_modules/eslint/lib/rules/no-this-before-super.js +304 -0
  621. data/packages/webpacker/node_modules/eslint/lib/rules/no-throw-literal.js +51 -0
  622. data/packages/webpacker/node_modules/eslint/lib/rules/no-trailing-spaces.js +190 -0
  623. data/packages/webpacker/node_modules/eslint/lib/rules/no-undef-init.js +75 -0
  624. data/packages/webpacker/node_modules/eslint/lib/rules/no-undef.js +78 -0
  625. data/packages/webpacker/node_modules/eslint/lib/rules/no-undefined.js +84 -0
  626. data/packages/webpacker/node_modules/eslint/lib/rules/no-underscore-dangle.js +280 -0
  627. data/packages/webpacker/node_modules/eslint/lib/rules/no-unexpected-multiline.js +120 -0
  628. data/packages/webpacker/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +360 -0
  629. data/packages/webpacker/node_modules/eslint/lib/rules/no-unneeded-ternary.js +166 -0
  630. data/packages/webpacker/node_modules/eslint/lib/rules/no-unreachable-loop.js +150 -0
  631. data/packages/webpacker/node_modules/eslint/lib/rules/no-unreachable.js +264 -0
  632. data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-finally.js +111 -0
  633. data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-negation.js +128 -0
  634. data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +205 -0
  635. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-expressions.js +189 -0
  636. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-labels.js +110 -0
  637. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-private-class-members.js +195 -0
  638. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-vars.js +690 -0
  639. data/packages/webpacker/node_modules/eslint/lib/rules/no-use-before-define.js +334 -0
  640. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-backreference.js +192 -0
  641. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-call.js +90 -0
  642. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-catch.js +57 -0
  643. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-computed-key.js +168 -0
  644. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-concat.js +115 -0
  645. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-constructor.js +189 -0
  646. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-escape.js +254 -0
  647. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-rename.js +172 -0
  648. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-return.js +305 -0
  649. data/packages/webpacker/node_modules/eslint/lib/rules/no-var.js +334 -0
  650. data/packages/webpacker/node_modules/eslint/lib/rules/no-void.js +64 -0
  651. data/packages/webpacker/node_modules/eslint/lib/rules/no-warning-comments.js +196 -0
  652. data/packages/webpacker/node_modules/eslint/lib/rules/no-whitespace-before-property.js +113 -0
  653. data/packages/webpacker/node_modules/eslint/lib/rules/no-with.js +39 -0
  654. data/packages/webpacker/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +124 -0
  655. data/packages/webpacker/node_modules/eslint/lib/rules/object-curly-newline.js +321 -0
  656. data/packages/webpacker/node_modules/eslint/lib/rules/object-curly-spacing.js +308 -0
  657. data/packages/webpacker/node_modules/eslint/lib/rules/object-property-newline.js +99 -0
  658. data/packages/webpacker/node_modules/eslint/lib/rules/object-shorthand.js +504 -0
  659. data/packages/webpacker/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +92 -0
  660. data/packages/webpacker/node_modules/eslint/lib/rules/one-var.js +567 -0
  661. data/packages/webpacker/node_modules/eslint/lib/rules/operator-assignment.js +207 -0
  662. data/packages/webpacker/node_modules/eslint/lib/rules/operator-linebreak.js +250 -0
  663. data/packages/webpacker/node_modules/eslint/lib/rules/padded-blocks.js +307 -0
  664. data/packages/webpacker/node_modules/eslint/lib/rules/padding-line-between-statements.js +634 -0
  665. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-arrow-callback.js +380 -0
  666. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-const.js +489 -0
  667. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-destructuring.js +301 -0
  668. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +190 -0
  669. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-named-capture-group.js +110 -0
  670. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-numeric-literals.js +148 -0
  671. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-object-has-own.js +112 -0
  672. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-object-spread.js +299 -0
  673. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +131 -0
  674. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-reflect.js +127 -0
  675. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-regex-literals.js +396 -0
  676. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-rest-params.js +115 -0
  677. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-spread.js +87 -0
  678. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-template.js +275 -0
  679. data/packages/webpacker/node_modules/eslint/lib/rules/quote-props.js +307 -0
  680. data/packages/webpacker/node_modules/eslint/lib/rules/quotes.js +347 -0
  681. data/packages/webpacker/node_modules/eslint/lib/rules/radix.js +198 -0
  682. data/packages/webpacker/node_modules/eslint/lib/rules/require-atomic-updates.js +317 -0
  683. data/packages/webpacker/node_modules/eslint/lib/rules/require-await.js +113 -0
  684. data/packages/webpacker/node_modules/eslint/lib/rules/require-jsdoc.js +122 -0
  685. data/packages/webpacker/node_modules/eslint/lib/rules/require-unicode-regexp.js +69 -0
  686. data/packages/webpacker/node_modules/eslint/lib/rules/require-yield.js +78 -0
  687. data/packages/webpacker/node_modules/eslint/lib/rules/rest-spread-spacing.js +120 -0
  688. data/packages/webpacker/node_modules/eslint/lib/rules/semi-spacing.js +245 -0
  689. data/packages/webpacker/node_modules/eslint/lib/rules/semi-style.js +155 -0
  690. data/packages/webpacker/node_modules/eslint/lib/rules/semi.js +410 -0
  691. data/packages/webpacker/node_modules/eslint/lib/rules/sort-imports.js +241 -0
  692. data/packages/webpacker/node_modules/eslint/lib/rules/sort-keys.js +187 -0
  693. data/packages/webpacker/node_modules/eslint/lib/rules/sort-vars.js +104 -0
  694. data/packages/webpacker/node_modules/eslint/lib/rules/space-before-blocks.js +201 -0
  695. data/packages/webpacker/node_modules/eslint/lib/rules/space-before-function-paren.js +164 -0
  696. data/packages/webpacker/node_modules/eslint/lib/rules/space-in-parens.js +282 -0
  697. data/packages/webpacker/node_modules/eslint/lib/rules/space-infix-ops.js +195 -0
  698. data/packages/webpacker/node_modules/eslint/lib/rules/space-unary-ops.js +321 -0
  699. data/packages/webpacker/node_modules/eslint/lib/rules/spaced-comment.js +382 -0
  700. data/packages/webpacker/node_modules/eslint/lib/rules/strict.js +277 -0
  701. data/packages/webpacker/node_modules/eslint/lib/rules/switch-colon-spacing.js +129 -0
  702. data/packages/webpacker/node_modules/eslint/lib/rules/symbol-description.js +71 -0
  703. data/packages/webpacker/node_modules/eslint/lib/rules/template-curly-spacing.js +141 -0
  704. data/packages/webpacker/node_modules/eslint/lib/rules/template-tag-spacing.js +90 -0
  705. data/packages/webpacker/node_modules/eslint/lib/rules/unicode-bom.js +73 -0
  706. data/packages/webpacker/node_modules/eslint/lib/rules/use-isnan.js +141 -0
  707. data/packages/webpacker/node_modules/eslint/lib/rules/utils/ast-utils.js +1922 -0
  708. data/packages/webpacker/node_modules/eslint/lib/rules/utils/fix-tracker.js +114 -0
  709. data/packages/webpacker/node_modules/eslint/lib/rules/utils/keywords.js +67 -0
  710. data/packages/webpacker/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +115 -0
  711. data/packages/webpacker/node_modules/eslint/lib/rules/utils/patterns/letters.js +36 -0
  712. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/index.js +11 -0
  713. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +13 -0
  714. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
  715. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
  716. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
  717. data/packages/webpacker/node_modules/eslint/lib/rules/valid-jsdoc.js +516 -0
  718. data/packages/webpacker/node_modules/eslint/lib/rules/valid-typeof.js +85 -0
  719. data/packages/webpacker/node_modules/eslint/lib/rules/vars-on-top.js +157 -0
  720. data/packages/webpacker/node_modules/eslint/lib/rules/wrap-iife.js +204 -0
  721. data/packages/webpacker/node_modules/eslint/lib/rules/wrap-regex.js +59 -0
  722. data/packages/webpacker/node_modules/eslint/lib/rules/yield-star-spacing.js +127 -0
  723. data/packages/webpacker/node_modules/eslint/lib/rules/yoda.js +362 -0
  724. data/packages/webpacker/node_modules/eslint/lib/shared/ajv.js +34 -0
  725. data/packages/webpacker/node_modules/eslint/lib/shared/ast-utils.js +29 -0
  726. data/packages/webpacker/node_modules/eslint/lib/shared/config-validator.js +347 -0
  727. data/packages/webpacker/node_modules/eslint/lib/shared/deprecation-warnings.js +65 -0
  728. data/packages/webpacker/node_modules/eslint/lib/shared/logging.js +30 -0
  729. data/packages/webpacker/node_modules/eslint/lib/shared/relative-module-resolver.js +50 -0
  730. data/packages/webpacker/node_modules/eslint/lib/shared/runtime-info.js +167 -0
  731. data/packages/webpacker/node_modules/eslint/lib/shared/string-utils.js +22 -0
  732. data/packages/webpacker/node_modules/eslint/lib/shared/traverser.js +195 -0
  733. data/packages/webpacker/node_modules/eslint/lib/shared/types.js +175 -0
  734. data/packages/webpacker/node_modules/eslint/lib/source-code/index.js +5 -0
  735. data/packages/webpacker/node_modules/eslint/lib/source-code/source-code.js +593 -0
  736. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
  737. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +58 -0
  738. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/cursor.js +76 -0
  739. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/cursors.js +90 -0
  740. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +39 -0
  741. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +43 -0
  742. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
  743. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +63 -0
  744. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/index.js +627 -0
  745. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +40 -0
  746. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +38 -0
  747. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +42 -0
  748. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/utils.js +92 -0
  749. data/packages/webpacker/node_modules/eslint/lib/unsupported-api.js +23 -0
  750. data/packages/webpacker/node_modules/eslint/messages/all-files-ignored.js +16 -0
  751. data/packages/webpacker/node_modules/eslint/messages/extend-config-missing.js +13 -0
  752. data/packages/webpacker/node_modules/eslint/messages/failed-to-read-json.js +11 -0
  753. data/packages/webpacker/node_modules/eslint/messages/file-not-found.js +10 -0
  754. data/packages/webpacker/node_modules/eslint/messages/no-config-found.js +15 -0
  755. data/packages/webpacker/node_modules/eslint/messages/plugin-conflict.js +22 -0
  756. data/packages/webpacker/node_modules/eslint/messages/plugin-invalid.js +16 -0
  757. data/packages/webpacker/node_modules/eslint/messages/plugin-missing.js +19 -0
  758. data/packages/webpacker/node_modules/eslint/messages/print-config-with-directory-path.js +8 -0
  759. data/packages/webpacker/node_modules/eslint/messages/whitespace-found.js +11 -0
  760. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/LICENSE +201 -0
  761. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/README.md +107 -0
  762. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +382 -0
  763. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
  764. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
  765. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/lib/index.js +65 -0
  766. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/lib/visitor-keys.js +312 -0
  767. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/package.json +62 -0
  768. data/packages/webpacker/node_modules/eslint/node_modules/ignore/LICENSE-MIT +21 -0
  769. data/packages/webpacker/node_modules/eslint/node_modules/ignore/README.md +412 -0
  770. data/packages/webpacker/node_modules/eslint/node_modules/ignore/index.d.ts +61 -0
  771. data/packages/webpacker/node_modules/eslint/node_modules/ignore/index.js +603 -0
  772. data/packages/webpacker/node_modules/eslint/node_modules/ignore/legacy.js +498 -0
  773. data/packages/webpacker/node_modules/eslint/node_modules/ignore/package.json +71 -0
  774. data/packages/webpacker/node_modules/eslint/package.json +150 -0
  775. data/packages/webpacker/node_modules/eslint-scope/LICENSE +22 -0
  776. data/packages/webpacker/node_modules/eslint-scope/README.md +66 -0
  777. data/packages/webpacker/node_modules/eslint-scope/dist/eslint-scope.cjs +2240 -0
  778. data/packages/webpacker/node_modules/eslint-scope/lib/definition.js +85 -0
  779. data/packages/webpacker/node_modules/eslint-scope/lib/index.js +172 -0
  780. data/packages/webpacker/node_modules/eslint-scope/lib/pattern-visitor.js +153 -0
  781. data/packages/webpacker/node_modules/eslint-scope/lib/reference.js +166 -0
  782. data/packages/webpacker/node_modules/eslint-scope/lib/referencer.js +654 -0
  783. data/packages/webpacker/node_modules/eslint-scope/lib/scope-manager.js +255 -0
  784. data/packages/webpacker/node_modules/eslint-scope/lib/scope.js +772 -0
  785. data/packages/webpacker/node_modules/eslint-scope/lib/variable.js +87 -0
  786. data/packages/webpacker/node_modules/eslint-scope/lib/version.js +3 -0
  787. data/packages/webpacker/node_modules/eslint-scope/package.json +62 -0
  788. data/packages/webpacker/node_modules/eslint-utils/LICENSE +21 -0
  789. data/packages/webpacker/node_modules/eslint-utils/README.md +38 -0
  790. data/packages/webpacker/node_modules/eslint-utils/index.js +1956 -0
  791. data/packages/webpacker/node_modules/eslint-utils/index.js.map +1 -0
  792. data/packages/webpacker/node_modules/eslint-utils/index.mjs +1914 -0
  793. data/packages/webpacker/node_modules/eslint-utils/index.mjs.map +1 -0
  794. data/packages/webpacker/node_modules/eslint-utils/package.json +78 -0
  795. data/packages/webpacker/node_modules/espree/LICENSE +25 -0
  796. data/packages/webpacker/node_modules/espree/README.md +250 -0
  797. data/packages/webpacker/node_modules/espree/dist/espree.cjs +917 -0
  798. data/packages/webpacker/node_modules/espree/espree.js +173 -0
  799. data/packages/webpacker/node_modules/espree/lib/espree.js +328 -0
  800. data/packages/webpacker/node_modules/espree/lib/features.js +27 -0
  801. data/packages/webpacker/node_modules/espree/lib/options.js +121 -0
  802. data/packages/webpacker/node_modules/espree/lib/token-translator.js +265 -0
  803. data/packages/webpacker/node_modules/espree/lib/version.js +3 -0
  804. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/LICENSE +201 -0
  805. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/README.md +107 -0
  806. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +382 -0
  807. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/index.d.ts +18 -0
  808. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +10 -0
  809. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/lib/index.js +65 -0
  810. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/lib/visitor-keys.js +312 -0
  811. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/package.json +62 -0
  812. data/packages/webpacker/node_modules/espree/package.json +86 -0
  813. data/packages/webpacker/node_modules/execa/index.d.ts +564 -0
  814. data/packages/webpacker/node_modules/execa/index.js +268 -0
  815. data/packages/webpacker/node_modules/execa/lib/command.js +52 -0
  816. data/packages/webpacker/node_modules/execa/lib/error.js +88 -0
  817. data/packages/webpacker/node_modules/execa/lib/kill.js +115 -0
  818. data/packages/webpacker/node_modules/execa/lib/promise.js +46 -0
  819. data/packages/webpacker/node_modules/execa/lib/stdio.js +52 -0
  820. data/packages/webpacker/node_modules/execa/lib/stream.js +97 -0
  821. data/packages/webpacker/node_modules/execa/license +9 -0
  822. data/packages/webpacker/node_modules/execa/package.json +74 -0
  823. data/packages/webpacker/node_modules/execa/readme.md +663 -0
  824. data/packages/webpacker/node_modules/expect/LICENSE +21 -0
  825. data/packages/webpacker/node_modules/expect/README.md +3 -0
  826. data/packages/webpacker/node_modules/expect/build/asymmetricMatchers.d.ts +75 -0
  827. data/packages/webpacker/node_modules/expect/build/asymmetricMatchers.js +432 -0
  828. data/packages/webpacker/node_modules/expect/build/extractExpectedAssertionsErrors.d.ts +10 -0
  829. data/packages/webpacker/node_modules/expect/build/extractExpectedAssertionsErrors.js +90 -0
  830. data/packages/webpacker/node_modules/expect/build/index.d.ts +15 -0
  831. data/packages/webpacker/node_modules/expect/build/index.js +485 -0
  832. data/packages/webpacker/node_modules/expect/build/jasmineUtils.d.ts +8 -0
  833. data/packages/webpacker/node_modules/expect/build/jasmineUtils.js +279 -0
  834. data/packages/webpacker/node_modules/expect/build/jestMatchersObject.d.ts +13 -0
  835. data/packages/webpacker/node_modules/expect/build/jestMatchersObject.js +120 -0
  836. data/packages/webpacker/node_modules/expect/build/matchers.d.ts +10 -0
  837. data/packages/webpacker/node_modules/expect/build/matchers.js +1370 -0
  838. data/packages/webpacker/node_modules/expect/build/print.d.ts +15 -0
  839. data/packages/webpacker/node_modules/expect/build/print.js +141 -0
  840. data/packages/webpacker/node_modules/expect/build/spyMatchers.d.ts +9 -0
  841. data/packages/webpacker/node_modules/expect/build/spyMatchers.js +1339 -0
  842. data/packages/webpacker/node_modules/expect/build/toThrowMatchers.d.ts +11 -0
  843. data/packages/webpacker/node_modules/expect/build/toThrowMatchers.js +464 -0
  844. data/packages/webpacker/node_modules/expect/build/types.d.ts +327 -0
  845. data/packages/webpacker/node_modules/expect/build/types.js +3 -0
  846. data/packages/webpacker/node_modules/expect/build/utils.d.ts +26 -0
  847. data/packages/webpacker/node_modules/expect/build/utils.js +458 -0
  848. data/packages/webpacker/node_modules/expect/package.json +42 -0
  849. data/packages/webpacker/node_modules/get-stream/buffer-stream.js +52 -0
  850. data/packages/webpacker/node_modules/get-stream/index.d.ts +105 -0
  851. data/packages/webpacker/node_modules/get-stream/index.js +61 -0
  852. data/packages/webpacker/node_modules/get-stream/license +9 -0
  853. data/packages/webpacker/node_modules/get-stream/package.json +47 -0
  854. data/packages/webpacker/node_modules/get-stream/readme.md +124 -0
  855. data/packages/webpacker/node_modules/glob-parent/LICENSE +15 -0
  856. data/packages/webpacker/node_modules/glob-parent/README.md +134 -0
  857. data/packages/webpacker/node_modules/glob-parent/index.js +75 -0
  858. data/packages/webpacker/node_modules/glob-parent/package.json +54 -0
  859. data/packages/webpacker/node_modules/globals/globals.json +1781 -0
  860. data/packages/webpacker/node_modules/globals/index.d.ts +6 -0
  861. data/packages/webpacker/node_modules/globals/index.js +2 -0
  862. data/packages/webpacker/node_modules/globals/license +9 -0
  863. data/packages/webpacker/node_modules/globals/package.json +55 -0
  864. data/packages/webpacker/node_modules/globals/readme.md +56 -0
  865. data/packages/webpacker/node_modules/has-flag/index.d.ts +39 -0
  866. data/packages/webpacker/node_modules/has-flag/index.js +8 -0
  867. data/packages/webpacker/node_modules/has-flag/license +9 -0
  868. data/packages/webpacker/node_modules/has-flag/package.json +46 -0
  869. data/packages/webpacker/node_modules/has-flag/readme.md +89 -0
  870. data/packages/webpacker/node_modules/human-signals/CHANGELOG.md +11 -0
  871. data/packages/webpacker/node_modules/human-signals/LICENSE +201 -0
  872. data/packages/webpacker/node_modules/human-signals/README.md +165 -0
  873. data/packages/webpacker/node_modules/human-signals/build/src/core.js +273 -0
  874. data/packages/webpacker/node_modules/human-signals/build/src/core.js.map +1 -0
  875. data/packages/webpacker/node_modules/human-signals/build/src/main.d.ts +52 -0
  876. data/packages/webpacker/node_modules/human-signals/build/src/main.js +71 -0
  877. data/packages/webpacker/node_modules/human-signals/build/src/main.js.map +1 -0
  878. data/packages/webpacker/node_modules/human-signals/build/src/realtime.js +19 -0
  879. data/packages/webpacker/node_modules/human-signals/build/src/realtime.js.map +1 -0
  880. data/packages/webpacker/node_modules/human-signals/build/src/signals.js +35 -0
  881. data/packages/webpacker/node_modules/human-signals/build/src/signals.js.map +1 -0
  882. data/packages/webpacker/node_modules/human-signals/package.json +64 -0
  883. data/packages/webpacker/node_modules/jest/LICENSE +21 -0
  884. data/packages/webpacker/node_modules/jest/README.md +11 -0
  885. data/packages/webpacker/node_modules/jest/bin/jest.js +13 -0
  886. data/packages/webpacker/node_modules/jest/build/jest.d.ts +8 -0
  887. data/packages/webpacker/node_modules/jest/build/jest.js +61 -0
  888. data/packages/webpacker/node_modules/jest/package.json +68 -0
  889. data/packages/webpacker/node_modules/jest-changed-files/LICENSE +21 -0
  890. data/packages/webpacker/node_modules/jest-changed-files/README.md +63 -0
  891. data/packages/webpacker/node_modules/jest-changed-files/build/git.d.ts +10 -0
  892. data/packages/webpacker/node_modules/jest-changed-files/build/git.js +179 -0
  893. data/packages/webpacker/node_modules/jest-changed-files/build/hg.d.ts +10 -0
  894. data/packages/webpacker/node_modules/jest-changed-files/build/hg.js +133 -0
  895. data/packages/webpacker/node_modules/jest-changed-files/build/index.d.ts +12 -0
  896. data/packages/webpacker/node_modules/jest-changed-files/build/index.js +86 -0
  897. data/packages/webpacker/node_modules/jest-changed-files/build/types.d.ts +28 -0
  898. data/packages/webpacker/node_modules/jest-changed-files/build/types.js +1 -0
  899. data/packages/webpacker/node_modules/jest-changed-files/package.json +31 -0
  900. data/packages/webpacker/node_modules/jest-cli/LICENSE +21 -0
  901. data/packages/webpacker/node_modules/jest-cli/README.md +11 -0
  902. data/packages/webpacker/node_modules/jest-cli/bin/jest.js +17 -0
  903. data/packages/webpacker/node_modules/jest-cli/build/cli/args.d.ts +448 -0
  904. data/packages/webpacker/node_modules/jest-cli/build/cli/args.js +710 -0
  905. data/packages/webpacker/node_modules/jest-cli/build/cli/index.d.ts +9 -0
  906. data/packages/webpacker/node_modules/jest-cli/build/cli/index.js +265 -0
  907. data/packages/webpacker/node_modules/jest-cli/build/index.d.ts +7 -0
  908. data/packages/webpacker/node_modules/jest-cli/build/index.js +13 -0
  909. data/packages/webpacker/node_modules/jest-cli/build/init/errors.d.ts +12 -0
  910. data/packages/webpacker/node_modules/jest-cli/build/init/errors.js +35 -0
  911. data/packages/webpacker/node_modules/jest-cli/build/init/generateConfigFile.d.ts +8 -0
  912. data/packages/webpacker/node_modules/jest-cli/build/init/generateConfigFile.js +104 -0
  913. data/packages/webpacker/node_modules/jest-cli/build/init/index.d.ts +7 -0
  914. data/packages/webpacker/node_modules/jest-cli/build/init/index.js +246 -0
  915. data/packages/webpacker/node_modules/jest-cli/build/init/modifyPackageJson.d.ts +12 -0
  916. data/packages/webpacker/node_modules/jest-cli/build/init/modifyPackageJson.js +28 -0
  917. data/packages/webpacker/node_modules/jest-cli/build/init/questions.d.ts +10 -0
  918. data/packages/webpacker/node_modules/jest-cli/build/init/questions.js +76 -0
  919. data/packages/webpacker/node_modules/jest-cli/build/init/types.d.ts +12 -0
  920. data/packages/webpacker/node_modules/jest-cli/build/init/types.js +1 -0
  921. data/packages/webpacker/node_modules/jest-cli/package.json +89 -0
  922. data/packages/webpacker/node_modules/jest-config/LICENSE +21 -0
  923. data/packages/webpacker/node_modules/jest-config/build/Defaults.d.ts +9 -0
  924. data/packages/webpacker/node_modules/jest-config/build/Defaults.js +125 -0
  925. data/packages/webpacker/node_modules/jest-config/build/Deprecated.d.ts +9 -0
  926. data/packages/webpacker/node_modules/jest-config/build/Deprecated.js +98 -0
  927. data/packages/webpacker/node_modules/jest-config/build/Descriptions.d.ts +11 -0
  928. data/packages/webpacker/node_modules/jest-config/build/Descriptions.js +107 -0
  929. data/packages/webpacker/node_modules/jest-config/build/ReporterValidationErrors.d.ts +19 -0
  930. data/packages/webpacker/node_modules/jest-config/build/ReporterValidationErrors.js +138 -0
  931. data/packages/webpacker/node_modules/jest-config/build/ValidConfig.d.ts +9 -0
  932. data/packages/webpacker/node_modules/jest-config/build/ValidConfig.js +199 -0
  933. data/packages/webpacker/node_modules/jest-config/build/color.d.ts +10 -0
  934. data/packages/webpacker/node_modules/jest-config/build/color.js +37 -0
  935. data/packages/webpacker/node_modules/jest-config/build/constants.d.ts +17 -0
  936. data/packages/webpacker/node_modules/jest-config/build/constants.js +104 -0
  937. data/packages/webpacker/node_modules/jest-config/build/getCacheDirectory.d.ts +9 -0
  938. data/packages/webpacker/node_modules/jest-config/build/getCacheDirectory.js +104 -0
  939. data/packages/webpacker/node_modules/jest-config/build/getMaxWorkers.d.ts +8 -0
  940. data/packages/webpacker/node_modules/jest-config/build/getMaxWorkers.js +65 -0
  941. data/packages/webpacker/node_modules/jest-config/build/index.d.ts +28 -0
  942. data/packages/webpacker/node_modules/jest-config/build/index.js +495 -0
  943. data/packages/webpacker/node_modules/jest-config/build/normalize.d.ts +13 -0
  944. data/packages/webpacker/node_modules/jest-config/build/normalize.js +1372 -0
  945. data/packages/webpacker/node_modules/jest-config/build/readConfigFileAndSetRootDir.d.ts +8 -0
  946. data/packages/webpacker/node_modules/jest-config/build/readConfigFileAndSetRootDir.js +204 -0
  947. data/packages/webpacker/node_modules/jest-config/build/resolveConfigPath.d.ts +8 -0
  948. data/packages/webpacker/node_modules/jest-config/build/resolveConfigPath.js +247 -0
  949. data/packages/webpacker/node_modules/jest-config/build/setFromArgv.d.ts +8 -0
  950. data/packages/webpacker/node_modules/jest-config/build/setFromArgv.js +68 -0
  951. data/packages/webpacker/node_modules/jest-config/build/utils.d.ts +27 -0
  952. data/packages/webpacker/node_modules/jest-config/build/utils.js +209 -0
  953. data/packages/webpacker/node_modules/jest-config/build/validatePattern.d.ts +7 -0
  954. data/packages/webpacker/node_modules/jest-config/build/validatePattern.js +25 -0
  955. data/packages/webpacker/node_modules/jest-config/package.json +68 -0
  956. data/packages/webpacker/node_modules/jest-diff/LICENSE +21 -0
  957. data/packages/webpacker/node_modules/jest-diff/README.md +671 -0
  958. data/packages/webpacker/node_modules/jest-diff/build/cleanupSemantic.d.ts +57 -0
  959. data/packages/webpacker/node_modules/jest-diff/build/cleanupSemantic.js +655 -0
  960. data/packages/webpacker/node_modules/jest-diff/build/constants.d.ts +8 -0
  961. data/packages/webpacker/node_modules/jest-diff/build/constants.js +19 -0
  962. data/packages/webpacker/node_modules/jest-diff/build/diffLines.d.ts +12 -0
  963. data/packages/webpacker/node_modules/jest-diff/build/diffLines.js +220 -0
  964. data/packages/webpacker/node_modules/jest-diff/build/diffStrings.d.ts +9 -0
  965. data/packages/webpacker/node_modules/jest-diff/build/diffStrings.js +78 -0
  966. data/packages/webpacker/node_modules/jest-diff/build/getAlignedDiffs.d.ts +10 -0
  967. data/packages/webpacker/node_modules/jest-diff/build/getAlignedDiffs.js +244 -0
  968. data/packages/webpacker/node_modules/jest-diff/build/index.d.ts +15 -0
  969. data/packages/webpacker/node_modules/jest-diff/build/index.js +267 -0
  970. data/packages/webpacker/node_modules/jest-diff/build/joinAlignedDiffs.d.ts +10 -0
  971. data/packages/webpacker/node_modules/jest-diff/build/joinAlignedDiffs.js +303 -0
  972. data/packages/webpacker/node_modules/jest-diff/build/normalizeDiffOptions.d.ts +9 -0
  973. data/packages/webpacker/node_modules/jest-diff/build/normalizeDiffOptions.js +64 -0
  974. data/packages/webpacker/node_modules/jest-diff/build/printDiffs.d.ts +10 -0
  975. data/packages/webpacker/node_modules/jest-diff/build/printDiffs.js +85 -0
  976. data/packages/webpacker/node_modules/jest-diff/build/types.d.ts +48 -0
  977. data/packages/webpacker/node_modules/jest-diff/build/types.js +1 -0
  978. data/packages/webpacker/node_modules/jest-diff/package.json +36 -0
  979. data/packages/webpacker/node_modules/jest-docblock/LICENSE +21 -0
  980. data/packages/webpacker/node_modules/jest-docblock/README.md +108 -0
  981. data/packages/webpacker/node_modules/jest-docblock/build/index.d.ts +19 -0
  982. data/packages/webpacker/node_modules/jest-docblock/build/index.js +153 -0
  983. data/packages/webpacker/node_modules/jest-docblock/package.json +32 -0
  984. data/packages/webpacker/node_modules/jest-each/LICENSE +21 -0
  985. data/packages/webpacker/node_modules/jest-each/README.md +548 -0
  986. data/packages/webpacker/node_modules/jest-each/build/bind.d.ts +15 -0
  987. data/packages/webpacker/node_modules/jest-each/build/bind.js +79 -0
  988. data/packages/webpacker/node_modules/jest-each/build/index.d.ts +79 -0
  989. data/packages/webpacker/node_modules/jest-each/build/index.js +97 -0
  990. data/packages/webpacker/node_modules/jest-each/build/table/array.d.ts +10 -0
  991. data/packages/webpacker/node_modules/jest-each/build/table/array.js +151 -0
  992. data/packages/webpacker/node_modules/jest-each/build/table/interpolation.d.ts +17 -0
  993. data/packages/webpacker/node_modules/jest-each/build/table/interpolation.js +69 -0
  994. data/packages/webpacker/node_modules/jest-each/build/table/template.d.ts +11 -0
  995. data/packages/webpacker/node_modules/jest-each/build/table/template.js +45 -0
  996. data/packages/webpacker/node_modules/jest-each/build/validation.d.ts +11 -0
  997. data/packages/webpacker/node_modules/jest-each/build/validation.js +133 -0
  998. data/packages/webpacker/node_modules/jest-each/package.json +41 -0
  999. data/packages/webpacker/node_modules/jest-environment-jsdom/LICENSE +21 -0
  1000. data/packages/webpacker/node_modules/jest-environment-jsdom/build/index.d.ts +30 -0
  1001. data/packages/webpacker/node_modules/jest-environment-jsdom/build/index.js +195 -0
  1002. data/packages/webpacker/node_modules/jest-environment-jsdom/package.json +39 -0
  1003. data/packages/webpacker/node_modules/jest-environment-node/LICENSE +21 -0
  1004. data/packages/webpacker/node_modules/jest-environment-node/build/index.d.ts +29 -0
  1005. data/packages/webpacker/node_modules/jest-environment-node/build/index.js +184 -0
  1006. data/packages/webpacker/node_modules/jest-environment-node/package.json +37 -0
  1007. data/packages/webpacker/node_modules/jest-get-type/LICENSE +21 -0
  1008. data/packages/webpacker/node_modules/jest-get-type/build/index.d.ts +10 -0
  1009. data/packages/webpacker/node_modules/jest-get-type/build/index.js +57 -0
  1010. data/packages/webpacker/node_modules/jest-get-type/package.json +27 -0
  1011. data/packages/webpacker/node_modules/jest-haste-map/LICENSE +21 -0
  1012. data/packages/webpacker/node_modules/jest-haste-map/build/HasteFS.d.ts +27 -0
  1013. data/packages/webpacker/node_modules/jest-haste-map/build/HasteFS.js +179 -0
  1014. data/packages/webpacker/node_modules/jest-haste-map/build/ModuleMap.d.ts +41 -0
  1015. data/packages/webpacker/node_modules/jest-haste-map/build/ModuleMap.js +305 -0
  1016. data/packages/webpacker/node_modules/jest-haste-map/build/blacklist.d.ts +8 -0
  1017. data/packages/webpacker/node_modules/jest-haste-map/build/blacklist.js +59 -0
  1018. data/packages/webpacker/node_modules/jest-haste-map/build/constants.d.ts +9 -0
  1019. data/packages/webpacker/node_modules/jest-haste-map/build/constants.js +52 -0
  1020. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/node.d.ts +12 -0
  1021. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/node.js +309 -0
  1022. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/watchman.d.ts +13 -0
  1023. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/watchman.js +385 -0
  1024. data/packages/webpacker/node_modules/jest-haste-map/build/getMockName.d.ts +8 -0
  1025. data/packages/webpacker/node_modules/jest-haste-map/build/getMockName.js +76 -0
  1026. data/packages/webpacker/node_modules/jest-haste-map/build/index.d.ts +184 -0
  1027. data/packages/webpacker/node_modules/jest-haste-map/build/index.js +1266 -0
  1028. data/packages/webpacker/node_modules/jest-haste-map/build/lib/dependencyExtractor.d.ts +7 -0
  1029. data/packages/webpacker/node_modules/jest-haste-map/build/lib/dependencyExtractor.js +99 -0
  1030. data/packages/webpacker/node_modules/jest-haste-map/build/lib/fast_path.d.ts +8 -0
  1031. data/packages/webpacker/node_modules/jest-haste-map/build/lib/fast_path.js +81 -0
  1032. data/packages/webpacker/node_modules/jest-haste-map/build/lib/getPlatformExtension.d.ts +7 -0
  1033. data/packages/webpacker/node_modules/jest-haste-map/build/lib/getPlatformExtension.js +31 -0
  1034. data/packages/webpacker/node_modules/jest-haste-map/build/lib/isRegExpSupported.d.ts +7 -0
  1035. data/packages/webpacker/node_modules/jest-haste-map/build/lib/isRegExpSupported.js +22 -0
  1036. data/packages/webpacker/node_modules/jest-haste-map/build/lib/normalizePathSep.d.ts +8 -0
  1037. data/packages/webpacker/node_modules/jest-haste-map/build/lib/normalizePathSep.js +75 -0
  1038. data/packages/webpacker/node_modules/jest-haste-map/build/types.d.ts +126 -0
  1039. data/packages/webpacker/node_modules/jest-haste-map/build/types.js +1 -0
  1040. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/FSEventsWatcher.d.ts +44 -0
  1041. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/FSEventsWatcher.js +294 -0
  1042. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/NodeWatcher.js +375 -0
  1043. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/RecrawlWarning.js +57 -0
  1044. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/WatchmanWatcher.js +418 -0
  1045. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/common.js +114 -0
  1046. data/packages/webpacker/node_modules/jest-haste-map/build/worker.d.ts +9 -0
  1047. data/packages/webpacker/node_modules/jest-haste-map/build/worker.js +197 -0
  1048. data/packages/webpacker/node_modules/jest-haste-map/package.json +49 -0
  1049. data/packages/webpacker/node_modules/jest-jasmine2/LICENSE +21 -0
  1050. data/packages/webpacker/node_modules/jest-jasmine2/build/ExpectationFailed.d.ts +8 -0
  1051. data/packages/webpacker/node_modules/jest-jasmine2/build/ExpectationFailed.js +16 -0
  1052. data/packages/webpacker/node_modules/jest-jasmine2/build/PCancelable.d.ts +17 -0
  1053. data/packages/webpacker/node_modules/jest-jasmine2/build/PCancelable.js +139 -0
  1054. data/packages/webpacker/node_modules/jest-jasmine2/build/assertionErrorMessage.d.ts +10 -0
  1055. data/packages/webpacker/node_modules/jest-jasmine2/build/assertionErrorMessage.js +156 -0
  1056. data/packages/webpacker/node_modules/jest-jasmine2/build/each.d.ts +8 -0
  1057. data/packages/webpacker/node_modules/jest-jasmine2/build/each.js +44 -0
  1058. data/packages/webpacker/node_modules/jest-jasmine2/build/errorOnPrivate.d.ts +8 -0
  1059. data/packages/webpacker/node_modules/jest-jasmine2/build/errorOnPrivate.js +66 -0
  1060. data/packages/webpacker/node_modules/jest-jasmine2/build/expectationResultFactory.d.ts +16 -0
  1061. data/packages/webpacker/node_modules/jest-jasmine2/build/expectationResultFactory.js +93 -0
  1062. data/packages/webpacker/node_modules/jest-jasmine2/build/index.d.ts +12 -0
  1063. data/packages/webpacker/node_modules/jest-jasmine2/build/index.js +247 -0
  1064. data/packages/webpacker/node_modules/jest-jasmine2/build/isError.d.ts +10 -0
  1065. data/packages/webpacker/node_modules/jest-jasmine2/build/isError.js +32 -0
  1066. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/CallTracker.d.ts +25 -0
  1067. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/CallTracker.js +121 -0
  1068. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Env.d.ts +43 -0
  1069. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Env.js +716 -0
  1070. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/JsApiReporter.d.ts +31 -0
  1071. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/JsApiReporter.js +173 -0
  1072. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.d.ts +22 -0
  1073. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.js +127 -0
  1074. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Spec.d.ts +81 -0
  1075. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Spec.js +298 -0
  1076. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/SpyStrategy.d.ts +22 -0
  1077. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/SpyStrategy.js +143 -0
  1078. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Suite.d.ts +61 -0
  1079. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Suite.js +235 -0
  1080. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Timer.d.ts +14 -0
  1081. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Timer.js +79 -0
  1082. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/createSpy.d.ts +13 -0
  1083. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/createSpy.js +88 -0
  1084. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/jasmineLight.d.ts +27 -0
  1085. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/jasmineLight.js +171 -0
  1086. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/spyRegistry.d.ts +18 -0
  1087. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/spyRegistry.js +222 -0
  1088. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmineAsyncInstall.d.ts +8 -0
  1089. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js +259 -0
  1090. data/packages/webpacker/node_modules/jest-jasmine2/build/jestExpect.d.ts +9 -0
  1091. data/packages/webpacker/node_modules/jest-jasmine2/build/jestExpect.js +69 -0
  1092. data/packages/webpacker/node_modules/jest-jasmine2/build/pTimeout.d.ts +7 -0
  1093. data/packages/webpacker/node_modules/jest-jasmine2/build/pTimeout.js +78 -0
  1094. data/packages/webpacker/node_modules/jest-jasmine2/build/queueRunner.d.ts +29 -0
  1095. data/packages/webpacker/node_modules/jest-jasmine2/build/queueRunner.js +127 -0
  1096. data/packages/webpacker/node_modules/jest-jasmine2/build/reporter.d.ts +31 -0
  1097. data/packages/webpacker/node_modules/jest-jasmine2/build/reporter.js +250 -0
  1098. data/packages/webpacker/node_modules/jest-jasmine2/build/setup_jest_globals.d.ts +16 -0
  1099. data/packages/webpacker/node_modules/jest-jasmine2/build/setup_jest_globals.js +121 -0
  1100. data/packages/webpacker/node_modules/jest-jasmine2/build/treeProcessor.d.ts +26 -0
  1101. data/packages/webpacker/node_modules/jest-jasmine2/build/treeProcessor.js +82 -0
  1102. data/packages/webpacker/node_modules/jest-jasmine2/build/types.d.ts +82 -0
  1103. data/packages/webpacker/node_modules/jest-jasmine2/build/types.js +7 -0
  1104. data/packages/webpacker/node_modules/jest-jasmine2/package.json +48 -0
  1105. data/packages/webpacker/node_modules/jest-leak-detector/LICENSE +21 -0
  1106. data/packages/webpacker/node_modules/jest-leak-detector/README.md +27 -0
  1107. data/packages/webpacker/node_modules/jest-leak-detector/build/index.d.ts +12 -0
  1108. data/packages/webpacker/node_modules/jest-leak-detector/build/index.js +135 -0
  1109. data/packages/webpacker/node_modules/jest-leak-detector/package.json +34 -0
  1110. data/packages/webpacker/node_modules/jest-matcher-utils/LICENSE +21 -0
  1111. data/packages/webpacker/node_modules/jest-matcher-utils/README.md +24 -0
  1112. data/packages/webpacker/node_modules/jest-matcher-utils/build/Replaceable.d.ts +17 -0
  1113. data/packages/webpacker/node_modules/jest-matcher-utils/build/Replaceable.js +82 -0
  1114. data/packages/webpacker/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.d.ts +7 -0
  1115. data/packages/webpacker/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.js +110 -0
  1116. data/packages/webpacker/node_modules/jest-matcher-utils/build/index.d.ts +53 -0
  1117. data/packages/webpacker/node_modules/jest-matcher-utils/build/index.js +590 -0
  1118. data/packages/webpacker/node_modules/jest-matcher-utils/package.json +37 -0
  1119. data/packages/webpacker/node_modules/jest-message-util/LICENSE +21 -0
  1120. data/packages/webpacker/node_modules/jest-message-util/build/index.d.ts +23 -0
  1121. data/packages/webpacker/node_modules/jest-message-util/build/index.js +501 -0
  1122. data/packages/webpacker/node_modules/jest-message-util/build/types.d.ts +10 -0
  1123. data/packages/webpacker/node_modules/jest-message-util/build/types.js +1 -0
  1124. data/packages/webpacker/node_modules/jest-message-util/package.json +42 -0
  1125. data/packages/webpacker/node_modules/jest-mock/LICENSE +21 -0
  1126. data/packages/webpacker/node_modules/jest-mock/README.md +92 -0
  1127. data/packages/webpacker/node_modules/jest-mock/build/index.d.ts +185 -0
  1128. data/packages/webpacker/node_modules/jest-mock/build/index.js +964 -0
  1129. data/packages/webpacker/node_modules/jest-mock/package.json +30 -0
  1130. data/packages/webpacker/node_modules/jest-regex-util/LICENSE +21 -0
  1131. data/packages/webpacker/node_modules/jest-regex-util/build/index.d.ts +10 -0
  1132. data/packages/webpacker/node_modules/jest-regex-util/build/index.js +48 -0
  1133. data/packages/webpacker/node_modules/jest-regex-util/package.json +29 -0
  1134. data/packages/webpacker/node_modules/jest-resolve/LICENSE +21 -0
  1135. data/packages/webpacker/node_modules/jest-resolve/build/ModuleNotFoundError.d.ts +18 -0
  1136. data/packages/webpacker/node_modules/jest-resolve/build/ModuleNotFoundError.js +146 -0
  1137. data/packages/webpacker/node_modules/jest-resolve/build/defaultResolver.d.ts +29 -0
  1138. data/packages/webpacker/node_modules/jest-resolve/build/defaultResolver.js +123 -0
  1139. data/packages/webpacker/node_modules/jest-resolve/build/fileWalkers.d.ts +14 -0
  1140. data/packages/webpacker/node_modules/jest-resolve/build/fileWalkers.js +214 -0
  1141. data/packages/webpacker/node_modules/jest-resolve/build/index.d.ts +10 -0
  1142. data/packages/webpacker/node_modules/jest-resolve/build/index.js +36 -0
  1143. data/packages/webpacker/node_modules/jest-resolve/build/isBuiltinModule.d.ts +7 -0
  1144. data/packages/webpacker/node_modules/jest-resolve/build/isBuiltinModule.js +36 -0
  1145. data/packages/webpacker/node_modules/jest-resolve/build/nodeModulesPaths.d.ts +15 -0
  1146. data/packages/webpacker/node_modules/jest-resolve/build/nodeModulesPaths.js +128 -0
  1147. data/packages/webpacker/node_modules/jest-resolve/build/resolver.d.ts +58 -0
  1148. data/packages/webpacker/node_modules/jest-resolve/build/resolver.js +595 -0
  1149. data/packages/webpacker/node_modules/jest-resolve/build/shouldLoadAsEsm.d.ts +9 -0
  1150. data/packages/webpacker/node_modules/jest-resolve/build/shouldLoadAsEsm.js +112 -0
  1151. data/packages/webpacker/node_modules/jest-resolve/build/types.d.ts +23 -0
  1152. data/packages/webpacker/node_modules/jest-resolve/build/types.js +1 -0
  1153. data/packages/webpacker/node_modules/jest-resolve/build/utils.d.ts +51 -0
  1154. data/packages/webpacker/node_modules/jest-resolve/build/utils.js +269 -0
  1155. data/packages/webpacker/node_modules/jest-resolve/package.json +42 -0
  1156. data/packages/webpacker/node_modules/jest-resolve-dependencies/LICENSE +21 -0
  1157. data/packages/webpacker/node_modules/jest-resolve-dependencies/build/index.d.ts +27 -0
  1158. data/packages/webpacker/node_modules/jest-resolve-dependencies/build/index.js +238 -0
  1159. data/packages/webpacker/node_modules/jest-resolve-dependencies/package.json +37 -0
  1160. data/packages/webpacker/node_modules/jest-runner/LICENSE +21 -0
  1161. data/packages/webpacker/node_modules/jest-runner/build/index.d.ts +24 -0
  1162. data/packages/webpacker/node_modules/jest-runner/build/index.js +300 -0
  1163. data/packages/webpacker/node_modules/jest-runner/build/runTest.d.ts +12 -0
  1164. data/packages/webpacker/node_modules/jest-runner/build/runTest.js +494 -0
  1165. data/packages/webpacker/node_modules/jest-runner/build/testWorker.d.ts +26 -0
  1166. data/packages/webpacker/node_modules/jest-runner/build/testWorker.js +150 -0
  1167. data/packages/webpacker/node_modules/jest-runner/build/types.d.ts +41 -0
  1168. data/packages/webpacker/node_modules/jest-runner/build/types.js +15 -0
  1169. data/packages/webpacker/node_modules/jest-runner/package.json +55 -0
  1170. data/packages/webpacker/node_modules/jest-runtime/LICENSE +21 -0
  1171. data/packages/webpacker/node_modules/jest-runtime/build/helpers.d.ts +10 -0
  1172. data/packages/webpacker/node_modules/jest-runtime/build/helpers.js +157 -0
  1173. data/packages/webpacker/node_modules/jest-runtime/build/index.d.ts +142 -0
  1174. data/packages/webpacker/node_modules/jest-runtime/build/index.js +2454 -0
  1175. data/packages/webpacker/node_modules/jest-runtime/build/types.d.ts +15 -0
  1176. data/packages/webpacker/node_modules/jest-runtime/build/types.js +1 -0
  1177. data/packages/webpacker/node_modules/jest-runtime/package.json +57 -0
  1178. data/packages/webpacker/node_modules/jest-serializer/LICENSE +21 -0
  1179. data/packages/webpacker/node_modules/jest-serializer/README.md +47 -0
  1180. data/packages/webpacker/node_modules/jest-serializer/build/index.d.ts +20 -0
  1181. data/packages/webpacker/node_modules/jest-serializer/build/index.js +109 -0
  1182. data/packages/webpacker/node_modules/jest-serializer/package.json +33 -0
  1183. data/packages/webpacker/node_modules/jest-serializer/v8.d.ts +11 -0
  1184. data/packages/webpacker/node_modules/jest-snapshot/LICENSE +21 -0
  1185. data/packages/webpacker/node_modules/jest-snapshot/build/InlineSnapshots.d.ts +15 -0
  1186. data/packages/webpacker/node_modules/jest-snapshot/build/InlineSnapshots.js +503 -0
  1187. data/packages/webpacker/node_modules/jest-snapshot/build/SnapshotResolver.d.ts +18 -0
  1188. data/packages/webpacker/node_modules/jest-snapshot/build/SnapshotResolver.js +179 -0
  1189. data/packages/webpacker/node_modules/jest-snapshot/build/State.d.ts +62 -0
  1190. data/packages/webpacker/node_modules/jest-snapshot/build/State.js +389 -0
  1191. data/packages/webpacker/node_modules/jest-snapshot/build/colors.d.ts +15 -0
  1192. data/packages/webpacker/node_modules/jest-snapshot/build/colors.js +38 -0
  1193. data/packages/webpacker/node_modules/jest-snapshot/build/dedentLines.d.ts +7 -0
  1194. data/packages/webpacker/node_modules/jest-snapshot/build/dedentLines.js +149 -0
  1195. data/packages/webpacker/node_modules/jest-snapshot/build/index.d.ts +34 -0
  1196. data/packages/webpacker/node_modules/jest-snapshot/build/index.js +645 -0
  1197. data/packages/webpacker/node_modules/jest-snapshot/build/mockSerializer.d.ts +11 -0
  1198. data/packages/webpacker/node_modules/jest-snapshot/build/mockSerializer.js +52 -0
  1199. data/packages/webpacker/node_modules/jest-snapshot/build/plugins.d.ts +9 -0
  1200. data/packages/webpacker/node_modules/jest-snapshot/build/plugins.js +48 -0
  1201. data/packages/webpacker/node_modules/jest-snapshot/build/printSnapshot.d.ts +24 -0
  1202. data/packages/webpacker/node_modules/jest-snapshot/build/printSnapshot.js +407 -0
  1203. data/packages/webpacker/node_modules/jest-snapshot/build/types.d.ts +25 -0
  1204. data/packages/webpacker/node_modules/jest-snapshot/build/types.js +1 -0
  1205. data/packages/webpacker/node_modules/jest-snapshot/build/utils.d.ts +28 -0
  1206. data/packages/webpacker/node_modules/jest-snapshot/build/utils.js +460 -0
  1207. data/packages/webpacker/node_modules/jest-snapshot/package.json +61 -0
  1208. data/packages/webpacker/node_modules/jest-util/LICENSE +21 -0
  1209. data/packages/webpacker/node_modules/jest-util/build/ErrorWithStack.d.ts +9 -0
  1210. data/packages/webpacker/node_modules/jest-util/build/ErrorWithStack.js +33 -0
  1211. data/packages/webpacker/node_modules/jest-util/build/clearLine.d.ts +8 -0
  1212. data/packages/webpacker/node_modules/jest-util/build/clearLine.js +18 -0
  1213. data/packages/webpacker/node_modules/jest-util/build/convertDescriptorToString.d.ts +7 -0
  1214. data/packages/webpacker/node_modules/jest-util/build/convertDescriptorToString.js +41 -0
  1215. data/packages/webpacker/node_modules/jest-util/build/createDirectory.d.ts +8 -0
  1216. data/packages/webpacker/node_modules/jest-util/build/createDirectory.js +76 -0
  1217. data/packages/webpacker/node_modules/jest-util/build/createProcessObject.d.ts +8 -0
  1218. data/packages/webpacker/node_modules/jest-util/build/createProcessObject.js +126 -0
  1219. data/packages/webpacker/node_modules/jest-util/build/deepCyclicCopy.d.ts +11 -0
  1220. data/packages/webpacker/node_modules/jest-util/build/deepCyclicCopy.js +84 -0
  1221. data/packages/webpacker/node_modules/jest-util/build/formatTime.d.ts +7 -0
  1222. data/packages/webpacker/node_modules/jest-util/build/formatTime.js +24 -0
  1223. data/packages/webpacker/node_modules/jest-util/build/globsToMatcher.d.ts +27 -0
  1224. data/packages/webpacker/node_modules/jest-util/build/globsToMatcher.js +108 -0
  1225. data/packages/webpacker/node_modules/jest-util/build/index.d.ts +25 -0
  1226. data/packages/webpacker/node_modules/jest-util/build/index.js +209 -0
  1227. data/packages/webpacker/node_modules/jest-util/build/installCommonGlobals.d.ts +8 -0
  1228. data/packages/webpacker/node_modules/jest-util/build/installCommonGlobals.js +123 -0
  1229. data/packages/webpacker/node_modules/jest-util/build/interopRequireDefault.d.ts +7 -0
  1230. data/packages/webpacker/node_modules/jest-util/build/interopRequireDefault.js +22 -0
  1231. data/packages/webpacker/node_modules/jest-util/build/isInteractive.d.ts +8 -0
  1232. data/packages/webpacker/node_modules/jest-util/build/isInteractive.js +27 -0
  1233. data/packages/webpacker/node_modules/jest-util/build/isPromise.d.ts +8 -0
  1234. data/packages/webpacker/node_modules/jest-util/build/isPromise.js +20 -0
  1235. data/packages/webpacker/node_modules/jest-util/build/pluralize.d.ts +7 -0
  1236. data/packages/webpacker/node_modules/jest-util/build/pluralize.js +16 -0
  1237. data/packages/webpacker/node_modules/jest-util/build/preRunMessage.d.ts +9 -0
  1238. data/packages/webpacker/node_modules/jest-util/build/preRunMessage.js +48 -0
  1239. data/packages/webpacker/node_modules/jest-util/build/replacePathSepForGlob.d.ts +8 -0
  1240. data/packages/webpacker/node_modules/jest-util/build/replacePathSepForGlob.js +16 -0
  1241. data/packages/webpacker/node_modules/jest-util/build/requireOrImportModule.d.ts +8 -0
  1242. data/packages/webpacker/node_modules/jest-util/build/requireOrImportModule.js +91 -0
  1243. data/packages/webpacker/node_modules/jest-util/build/setGlobal.d.ts +7 -0
  1244. data/packages/webpacker/node_modules/jest-util/build/setGlobal.js +17 -0
  1245. data/packages/webpacker/node_modules/jest-util/build/specialChars.d.ts +14 -0
  1246. data/packages/webpacker/node_modules/jest-util/build/specialChars.js +25 -0
  1247. data/packages/webpacker/node_modules/jest-util/build/testPathPatternToRegExp.d.ts +8 -0
  1248. data/packages/webpacker/node_modules/jest-util/build/testPathPatternToRegExp.js +19 -0
  1249. data/packages/webpacker/node_modules/jest-util/build/tryRealpath.d.ts +8 -0
  1250. data/packages/webpacker/node_modules/jest-util/build/tryRealpath.js +34 -0
  1251. data/packages/webpacker/node_modules/jest-util/package.json +39 -0
  1252. data/packages/webpacker/node_modules/jest-validate/LICENSE +21 -0
  1253. data/packages/webpacker/node_modules/jest-validate/README.md +196 -0
  1254. data/packages/webpacker/node_modules/jest-validate/build/condition.d.ts +9 -0
  1255. data/packages/webpacker/node_modules/jest-validate/build/condition.js +48 -0
  1256. data/packages/webpacker/node_modules/jest-validate/build/defaultConfig.d.ts +9 -0
  1257. data/packages/webpacker/node_modules/jest-validate/build/defaultConfig.js +42 -0
  1258. data/packages/webpacker/node_modules/jest-validate/build/deprecated.d.ts +8 -0
  1259. data/packages/webpacker/node_modules/jest-validate/build/deprecated.js +32 -0
  1260. data/packages/webpacker/node_modules/jest-validate/build/errors.d.ts +8 -0
  1261. data/packages/webpacker/node_modules/jest-validate/build/errors.js +75 -0
  1262. data/packages/webpacker/node_modules/jest-validate/build/exampleConfig.d.ts +9 -0
  1263. data/packages/webpacker/node_modules/jest-validate/build/exampleConfig.js +36 -0
  1264. data/packages/webpacker/node_modules/jest-validate/build/index.d.ts +11 -0
  1265. data/packages/webpacker/node_modules/jest-validate/build/index.js +61 -0
  1266. data/packages/webpacker/node_modules/jest-validate/build/types.d.ts +26 -0
  1267. data/packages/webpacker/node_modules/jest-validate/build/types.js +1 -0
  1268. data/packages/webpacker/node_modules/jest-validate/build/utils.d.ts +18 -0
  1269. data/packages/webpacker/node_modules/jest-validate/build/utils.js +129 -0
  1270. data/packages/webpacker/node_modules/jest-validate/build/validate.d.ts +13 -0
  1271. data/packages/webpacker/node_modules/jest-validate/build/validate.js +131 -0
  1272. data/packages/webpacker/node_modules/jest-validate/build/validateCLIOptions.d.ts +14 -0
  1273. data/packages/webpacker/node_modules/jest-validate/build/validateCLIOptions.js +141 -0
  1274. data/packages/webpacker/node_modules/jest-validate/build/warnings.d.ts +8 -0
  1275. data/packages/webpacker/node_modules/jest-validate/build/warnings.js +48 -0
  1276. data/packages/webpacker/node_modules/jest-validate/package.json +37 -0
  1277. data/packages/webpacker/node_modules/jest-watcher/LICENSE +21 -0
  1278. data/packages/webpacker/node_modules/jest-watcher/build/BaseWatchPlugin.d.ts +22 -0
  1279. data/packages/webpacker/node_modules/jest-watcher/build/BaseWatchPlugin.js +52 -0
  1280. data/packages/webpacker/node_modules/jest-watcher/build/JestHooks.d.ts +18 -0
  1281. data/packages/webpacker/node_modules/jest-watcher/build/JestHooks.js +91 -0
  1282. data/packages/webpacker/node_modules/jest-watcher/build/PatternPrompt.d.ts +20 -0
  1283. data/packages/webpacker/node_modules/jest-watcher/build/PatternPrompt.js +113 -0
  1284. data/packages/webpacker/node_modules/jest-watcher/build/constants.d.ts +18 -0
  1285. data/packages/webpacker/node_modules/jest-watcher/build/constants.js +27 -0
  1286. data/packages/webpacker/node_modules/jest-watcher/build/index.d.ts +13 -0
  1287. data/packages/webpacker/node_modules/jest-watcher/build/index.js +75 -0
  1288. data/packages/webpacker/node_modules/jest-watcher/build/lib/Prompt.d.ts +25 -0
  1289. data/packages/webpacker/node_modules/jest-watcher/build/lib/Prompt.js +158 -0
  1290. data/packages/webpacker/node_modules/jest-watcher/build/lib/colorize.d.ts +7 -0
  1291. data/packages/webpacker/node_modules/jest-watcher/build/lib/colorize.js +34 -0
  1292. data/packages/webpacker/node_modules/jest-watcher/build/lib/formatTestNameByPattern.d.ts +7 -0
  1293. data/packages/webpacker/node_modules/jest-watcher/build/lib/formatTestNameByPattern.js +81 -0
  1294. data/packages/webpacker/node_modules/jest-watcher/build/lib/patternModeHelpers.d.ts +9 -0
  1295. data/packages/webpacker/node_modules/jest-watcher/build/lib/patternModeHelpers.js +68 -0
  1296. data/packages/webpacker/node_modules/jest-watcher/build/lib/scroll.d.ts +12 -0
  1297. data/packages/webpacker/node_modules/jest-watcher/build/lib/scroll.js +34 -0
  1298. data/packages/webpacker/node_modules/jest-watcher/build/types.d.ts +60 -0
  1299. data/packages/webpacker/node_modules/jest-watcher/build/types.js +1 -0
  1300. data/packages/webpacker/node_modules/jest-watcher/package.json +40 -0
  1301. data/packages/webpacker/node_modules/jest-worker/LICENSE +21 -0
  1302. data/packages/webpacker/node_modules/jest-worker/README.md +247 -0
  1303. data/packages/webpacker/node_modules/jest-worker/build/Farm.d.ts +29 -0
  1304. data/packages/webpacker/node_modules/jest-worker/build/Farm.js +206 -0
  1305. data/packages/webpacker/node_modules/jest-worker/build/FifoQueue.d.ts +18 -0
  1306. data/packages/webpacker/node_modules/jest-worker/build/FifoQueue.js +171 -0
  1307. data/packages/webpacker/node_modules/jest-worker/build/PriorityQueue.d.ts +41 -0
  1308. data/packages/webpacker/node_modules/jest-worker/build/PriorityQueue.js +188 -0
  1309. data/packages/webpacker/node_modules/jest-worker/build/WorkerPool.d.ts +13 -0
  1310. data/packages/webpacker/node_modules/jest-worker/build/WorkerPool.js +49 -0
  1311. data/packages/webpacker/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts +21 -0
  1312. data/packages/webpacker/node_modules/jest-worker/build/base/BaseWorkerPool.js +201 -0
  1313. data/packages/webpacker/node_modules/jest-worker/build/index.d.ts +49 -0
  1314. data/packages/webpacker/node_modules/jest-worker/build/index.js +223 -0
  1315. data/packages/webpacker/node_modules/jest-worker/build/types.d.ts +143 -0
  1316. data/packages/webpacker/node_modules/jest-worker/build/types.js +39 -0
  1317. data/packages/webpacker/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts +51 -0
  1318. data/packages/webpacker/node_modules/jest-worker/build/workers/ChildProcessWorker.js +333 -0
  1319. data/packages/webpacker/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts +34 -0
  1320. data/packages/webpacker/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +344 -0
  1321. data/packages/webpacker/node_modules/jest-worker/build/workers/messageParent.d.ts +8 -0
  1322. data/packages/webpacker/node_modules/jest-worker/build/workers/messageParent.js +38 -0
  1323. data/packages/webpacker/node_modules/jest-worker/build/workers/processChild.d.ts +7 -0
  1324. data/packages/webpacker/node_modules/jest-worker/build/workers/processChild.js +148 -0
  1325. data/packages/webpacker/node_modules/jest-worker/build/workers/threadChild.d.ts +7 -0
  1326. data/packages/webpacker/node_modules/jest-worker/build/workers/threadChild.js +159 -0
  1327. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/browser.js +24 -0
  1328. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/index.js +152 -0
  1329. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/license +9 -0
  1330. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/package.json +58 -0
  1331. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/readme.md +77 -0
  1332. data/packages/webpacker/node_modules/jest-worker/package.json +38 -0
  1333. data/packages/webpacker/node_modules/pretty-format/LICENSE +21 -0
  1334. data/packages/webpacker/node_modules/pretty-format/README.md +458 -0
  1335. data/packages/webpacker/node_modules/pretty-format/build/collections.d.ts +32 -0
  1336. data/packages/webpacker/node_modules/pretty-format/build/collections.js +187 -0
  1337. data/packages/webpacker/node_modules/pretty-format/build/index.d.ts +25 -0
  1338. data/packages/webpacker/node_modules/pretty-format/build/index.js +597 -0
  1339. data/packages/webpacker/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts +11 -0
  1340. data/packages/webpacker/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +117 -0
  1341. data/packages/webpacker/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts +11 -0
  1342. data/packages/webpacker/node_modules/pretty-format/build/plugins/ConvertAnsi.js +96 -0
  1343. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMCollection.d.ts +11 -0
  1344. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMCollection.js +80 -0
  1345. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMElement.d.ts +11 -0
  1346. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMElement.js +128 -0
  1347. data/packages/webpacker/node_modules/pretty-format/build/plugins/Immutable.d.ts +11 -0
  1348. data/packages/webpacker/node_modules/pretty-format/build/plugins/Immutable.js +247 -0
  1349. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactElement.d.ts +11 -0
  1350. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactElement.js +166 -0
  1351. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts +18 -0
  1352. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactTestComponent.js +79 -0
  1353. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts +7 -0
  1354. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.js +16 -0
  1355. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/markup.d.ts +13 -0
  1356. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/markup.js +153 -0
  1357. data/packages/webpacker/node_modules/pretty-format/build/types.d.ts +108 -0
  1358. data/packages/webpacker/node_modules/pretty-format/build/types.js +1 -0
  1359. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/index.d.ts +167 -0
  1360. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/index.js +164 -0
  1361. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/license +9 -0
  1362. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/package.json +52 -0
  1363. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/readme.md +144 -0
  1364. data/packages/webpacker/node_modules/pretty-format/package.json +44 -0
  1365. data/packages/webpacker/node_modules/react-is/LICENSE +21 -0
  1366. data/packages/webpacker/node_modules/react-is/README.md +104 -0
  1367. data/packages/webpacker/node_modules/react-is/build-info.json +8 -0
  1368. data/packages/webpacker/node_modules/react-is/cjs/react-is.development.js +226 -0
  1369. data/packages/webpacker/node_modules/react-is/cjs/react-is.production.min.js +14 -0
  1370. data/packages/webpacker/node_modules/react-is/index.js +7 -0
  1371. data/packages/webpacker/node_modules/react-is/package.json +27 -0
  1372. data/packages/webpacker/node_modules/react-is/umd/react-is.development.js +225 -0
  1373. data/packages/webpacker/node_modules/react-is/umd/react-is.production.min.js +14 -0
  1374. data/packages/webpacker/node_modules/semver/CHANGELOG.md +111 -0
  1375. data/packages/webpacker/node_modules/semver/LICENSE +15 -0
  1376. data/packages/webpacker/node_modules/semver/README.md +566 -0
  1377. data/packages/webpacker/node_modules/semver/bin/semver.js +173 -0
  1378. data/packages/webpacker/node_modules/semver/classes/comparator.js +135 -0
  1379. data/packages/webpacker/node_modules/semver/classes/index.js +5 -0
  1380. data/packages/webpacker/node_modules/semver/classes/range.js +510 -0
  1381. data/packages/webpacker/node_modules/semver/classes/semver.js +287 -0
  1382. data/packages/webpacker/node_modules/semver/functions/clean.js +6 -0
  1383. data/packages/webpacker/node_modules/semver/functions/cmp.js +48 -0
  1384. data/packages/webpacker/node_modules/semver/functions/coerce.js +51 -0
  1385. data/packages/webpacker/node_modules/semver/functions/compare-build.js +7 -0
  1386. data/packages/webpacker/node_modules/semver/functions/compare-loose.js +3 -0
  1387. data/packages/webpacker/node_modules/semver/functions/compare.js +5 -0
  1388. data/packages/webpacker/node_modules/semver/functions/diff.js +23 -0
  1389. data/packages/webpacker/node_modules/semver/functions/eq.js +3 -0
  1390. data/packages/webpacker/node_modules/semver/functions/gt.js +3 -0
  1391. data/packages/webpacker/node_modules/semver/functions/gte.js +3 -0
  1392. data/packages/webpacker/node_modules/semver/functions/inc.js +15 -0
  1393. data/packages/webpacker/node_modules/semver/functions/lt.js +3 -0
  1394. data/packages/webpacker/node_modules/semver/functions/lte.js +3 -0
  1395. data/packages/webpacker/node_modules/semver/functions/major.js +3 -0
  1396. data/packages/webpacker/node_modules/semver/functions/minor.js +3 -0
  1397. data/packages/webpacker/node_modules/semver/functions/neq.js +3 -0
  1398. data/packages/webpacker/node_modules/semver/functions/parse.js +33 -0
  1399. data/packages/webpacker/node_modules/semver/functions/patch.js +3 -0
  1400. data/packages/webpacker/node_modules/semver/functions/prerelease.js +6 -0
  1401. data/packages/webpacker/node_modules/semver/functions/rcompare.js +3 -0
  1402. data/packages/webpacker/node_modules/semver/functions/rsort.js +3 -0
  1403. data/packages/webpacker/node_modules/semver/functions/satisfies.js +10 -0
  1404. data/packages/webpacker/node_modules/semver/functions/sort.js +3 -0
  1405. data/packages/webpacker/node_modules/semver/functions/valid.js +6 -0
  1406. data/packages/webpacker/node_modules/semver/index.js +48 -0
  1407. data/packages/webpacker/node_modules/semver/internal/constants.js +17 -0
  1408. data/packages/webpacker/node_modules/semver/internal/debug.js +9 -0
  1409. data/packages/webpacker/node_modules/semver/internal/identifiers.js +23 -0
  1410. data/packages/webpacker/node_modules/semver/internal/parse-options.js +11 -0
  1411. data/packages/webpacker/node_modules/semver/internal/re.js +182 -0
  1412. data/packages/webpacker/node_modules/semver/package.json +41 -0
  1413. data/packages/webpacker/node_modules/semver/preload.js +2 -0
  1414. data/packages/webpacker/node_modules/semver/range.bnf +16 -0
  1415. data/packages/webpacker/node_modules/semver/ranges/gtr.js +4 -0
  1416. data/packages/webpacker/node_modules/semver/ranges/intersects.js +7 -0
  1417. data/packages/webpacker/node_modules/semver/ranges/ltr.js +4 -0
  1418. data/packages/webpacker/node_modules/semver/ranges/max-satisfying.js +25 -0
  1419. data/packages/webpacker/node_modules/semver/ranges/min-satisfying.js +24 -0
  1420. data/packages/webpacker/node_modules/semver/ranges/min-version.js +60 -0
  1421. data/packages/webpacker/node_modules/semver/ranges/outside.js +80 -0
  1422. data/packages/webpacker/node_modules/semver/ranges/simplify.js +44 -0
  1423. data/packages/webpacker/node_modules/semver/ranges/subset.js +222 -0
  1424. data/packages/webpacker/node_modules/semver/ranges/to-comparators.js +8 -0
  1425. data/packages/webpacker/node_modules/semver/ranges/valid.js +11 -0
  1426. data/packages/webpacker/node_modules/source-map/CHANGELOG.md +301 -0
  1427. data/packages/webpacker/node_modules/source-map/LICENSE +28 -0
  1428. data/packages/webpacker/node_modules/source-map/README.md +742 -0
  1429. data/packages/webpacker/node_modules/source-map/dist/source-map.debug.js +3234 -0
  1430. data/packages/webpacker/node_modules/source-map/dist/source-map.js +3233 -0
  1431. data/packages/webpacker/node_modules/source-map/dist/source-map.min.js +2 -0
  1432. data/packages/webpacker/node_modules/source-map/dist/source-map.min.js.map +1 -0
  1433. data/packages/webpacker/node_modules/source-map/lib/array-set.js +121 -0
  1434. data/packages/webpacker/node_modules/source-map/lib/base64-vlq.js +140 -0
  1435. data/packages/webpacker/node_modules/source-map/lib/base64.js +67 -0
  1436. data/packages/webpacker/node_modules/source-map/lib/binary-search.js +111 -0
  1437. data/packages/webpacker/node_modules/source-map/lib/mapping-list.js +79 -0
  1438. data/packages/webpacker/node_modules/source-map/lib/quick-sort.js +114 -0
  1439. data/packages/webpacker/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  1440. data/packages/webpacker/node_modules/source-map/lib/source-map-generator.js +425 -0
  1441. data/packages/webpacker/node_modules/source-map/lib/source-node.js +413 -0
  1442. data/packages/webpacker/node_modules/source-map/lib/util.js +488 -0
  1443. data/packages/webpacker/node_modules/source-map/package.json +73 -0
  1444. data/packages/webpacker/node_modules/source-map/source-map.d.ts +98 -0
  1445. data/packages/webpacker/node_modules/source-map/source-map.js +8 -0
  1446. data/packages/webpacker/node_modules/supports-color/browser.js +5 -0
  1447. data/packages/webpacker/node_modules/supports-color/index.js +135 -0
  1448. data/packages/webpacker/node_modules/supports-color/license +9 -0
  1449. data/packages/webpacker/node_modules/supports-color/package.json +53 -0
  1450. data/packages/webpacker/node_modules/supports-color/readme.md +76 -0
  1451. data/packages/webpacker/node_modules/throat/LICENSE +19 -0
  1452. data/packages/webpacker/node_modules/throat/README.md +55 -0
  1453. data/packages/webpacker/node_modules/throat/index.d.ts +32 -0
  1454. data/packages/webpacker/node_modules/throat/index.js +145 -0
  1455. data/packages/webpacker/node_modules/throat/index.js.flow +7 -0
  1456. data/packages/webpacker/node_modules/throat/package.json +47 -0
  1457. data/packages/webpacker/node_modules/type-fest/base.d.ts +38 -0
  1458. data/packages/webpacker/node_modules/type-fest/index.d.ts +2 -0
  1459. data/packages/webpacker/node_modules/type-fest/license +9 -0
  1460. data/packages/webpacker/node_modules/type-fest/package.json +58 -0
  1461. data/packages/webpacker/node_modules/type-fest/readme.md +658 -0
  1462. data/packages/webpacker/node_modules/type-fest/source/async-return-type.d.ts +23 -0
  1463. data/packages/webpacker/node_modules/type-fest/source/asyncify.d.ts +31 -0
  1464. data/packages/webpacker/node_modules/type-fest/source/basic.d.ts +67 -0
  1465. data/packages/webpacker/node_modules/type-fest/source/conditional-except.d.ts +43 -0
  1466. data/packages/webpacker/node_modules/type-fest/source/conditional-keys.d.ts +43 -0
  1467. data/packages/webpacker/node_modules/type-fest/source/conditional-pick.d.ts +42 -0
  1468. data/packages/webpacker/node_modules/type-fest/source/entries.d.ts +57 -0
  1469. data/packages/webpacker/node_modules/type-fest/source/entry.d.ts +60 -0
  1470. data/packages/webpacker/node_modules/type-fest/source/except.d.ts +22 -0
  1471. data/packages/webpacker/node_modules/type-fest/source/fixed-length-array.d.ts +38 -0
  1472. data/packages/webpacker/node_modules/type-fest/source/iterable-element.d.ts +46 -0
  1473. data/packages/webpacker/node_modules/type-fest/source/literal-union.d.ts +33 -0
  1474. data/packages/webpacker/node_modules/type-fest/source/merge-exclusive.d.ts +39 -0
  1475. data/packages/webpacker/node_modules/type-fest/source/merge.d.ts +22 -0
  1476. data/packages/webpacker/node_modules/type-fest/source/mutable.d.ts +22 -0
  1477. data/packages/webpacker/node_modules/type-fest/source/opaque.d.ts +65 -0
  1478. data/packages/webpacker/node_modules/type-fest/source/package-json.d.ts +611 -0
  1479. data/packages/webpacker/node_modules/type-fest/source/partial-deep.d.ts +72 -0
  1480. data/packages/webpacker/node_modules/type-fest/source/promisable.d.ts +23 -0
  1481. data/packages/webpacker/node_modules/type-fest/source/promise-value.d.ts +27 -0
  1482. data/packages/webpacker/node_modules/type-fest/source/readonly-deep.d.ts +59 -0
  1483. data/packages/webpacker/node_modules/type-fest/source/require-at-least-one.d.ts +33 -0
  1484. data/packages/webpacker/node_modules/type-fest/source/require-exactly-one.d.ts +35 -0
  1485. data/packages/webpacker/node_modules/type-fest/source/set-optional.d.ts +34 -0
  1486. data/packages/webpacker/node_modules/type-fest/source/set-required.d.ts +34 -0
  1487. data/packages/webpacker/node_modules/type-fest/source/set-return-type.d.ts +29 -0
  1488. data/packages/webpacker/node_modules/type-fest/source/stringified.d.ts +21 -0
  1489. data/packages/webpacker/node_modules/type-fest/source/tsconfig-json.d.ts +870 -0
  1490. data/packages/webpacker/node_modules/type-fest/source/union-to-intersection.d.ts +58 -0
  1491. data/packages/webpacker/node_modules/type-fest/source/utilities.d.ts +3 -0
  1492. data/packages/webpacker/node_modules/type-fest/source/value-of.d.ts +40 -0
  1493. data/packages/webpacker/node_modules/type-fest/ts41/camel-case.d.ts +72 -0
  1494. data/packages/webpacker/node_modules/type-fest/ts41/delimiter-case.d.ts +85 -0
  1495. data/packages/webpacker/node_modules/type-fest/ts41/index.d.ts +9 -0
  1496. data/packages/webpacker/node_modules/type-fest/ts41/kebab-case.d.ts +36 -0
  1497. data/packages/webpacker/node_modules/type-fest/ts41/pascal-case.d.ts +36 -0
  1498. data/packages/webpacker/node_modules/type-fest/ts41/snake-case.d.ts +35 -0
  1499. data/packages/webpacker/node_modules/v8-to-istanbul/CHANGELOG.md +380 -0
  1500. data/packages/webpacker/node_modules/v8-to-istanbul/LICENSE.txt +14 -0
  1501. data/packages/webpacker/node_modules/v8-to-istanbul/README.md +90 -0
  1502. data/packages/webpacker/node_modules/v8-to-istanbul/index.d.ts +25 -0
  1503. data/packages/webpacker/node_modules/v8-to-istanbul/index.js +5 -0
  1504. data/packages/webpacker/node_modules/v8-to-istanbul/lib/branch.js +28 -0
  1505. data/packages/webpacker/node_modules/v8-to-istanbul/lib/function.js +29 -0
  1506. data/packages/webpacker/node_modules/v8-to-istanbul/lib/line.js +34 -0
  1507. data/packages/webpacker/node_modules/v8-to-istanbul/lib/range.js +33 -0
  1508. data/packages/webpacker/node_modules/v8-to-istanbul/lib/source.js +245 -0
  1509. data/packages/webpacker/node_modules/v8-to-istanbul/lib/v8-to-istanbul.js +318 -0
  1510. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/CHANGELOG.md +344 -0
  1511. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/LICENSE +28 -0
  1512. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/README.md +822 -0
  1513. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/dist/source-map.js +3351 -0
  1514. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/array-set.js +100 -0
  1515. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/base64-vlq.js +111 -0
  1516. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/base64.js +18 -0
  1517. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/binary-search.js +107 -0
  1518. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/mapping-list.js +80 -0
  1519. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/mappings.wasm +0 -0
  1520. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/read-wasm.js +40 -0
  1521. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-consumer.js +1254 -0
  1522. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-generator.js +413 -0
  1523. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-node.js +404 -0
  1524. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/util.js +546 -0
  1525. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/wasm.js +107 -0
  1526. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/package.json +90 -0
  1527. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/source-map.d.ts +369 -0
  1528. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/source-map.js +8 -0
  1529. data/packages/webpacker/node_modules/v8-to-istanbul/package.json +48 -0
  1530. data/packages/webpacker/node_modules/wrap-ansi/index.js +216 -0
  1531. data/packages/webpacker/node_modules/wrap-ansi/license +9 -0
  1532. data/packages/webpacker/node_modules/wrap-ansi/package.json +62 -0
  1533. data/packages/webpacker/node_modules/wrap-ansi/readme.md +91 -0
  1534. data/packages/webpacker/node_modules/y18n/CHANGELOG.md +100 -0
  1535. data/packages/webpacker/node_modules/y18n/LICENSE +13 -0
  1536. data/packages/webpacker/node_modules/y18n/README.md +127 -0
  1537. data/packages/webpacker/node_modules/y18n/build/index.cjs +203 -0
  1538. data/packages/webpacker/node_modules/y18n/build/lib/cjs.js +6 -0
  1539. data/packages/webpacker/node_modules/y18n/build/lib/index.js +174 -0
  1540. data/packages/webpacker/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
  1541. data/packages/webpacker/node_modules/y18n/index.mjs +8 -0
  1542. data/packages/webpacker/node_modules/y18n/package.json +70 -0
  1543. data/packages/webpacker/node_modules/yargs/CHANGELOG.md +88 -0
  1544. data/packages/webpacker/node_modules/yargs/LICENSE +21 -0
  1545. data/packages/webpacker/node_modules/yargs/README.md +202 -0
  1546. data/packages/webpacker/node_modules/yargs/browser.mjs +7 -0
  1547. data/packages/webpacker/node_modules/yargs/build/index.cjs +2920 -0
  1548. data/packages/webpacker/node_modules/yargs/build/lib/argsert.js +62 -0
  1549. data/packages/webpacker/node_modules/yargs/build/lib/command.js +382 -0
  1550. data/packages/webpacker/node_modules/yargs/build/lib/completion-templates.js +47 -0
  1551. data/packages/webpacker/node_modules/yargs/build/lib/completion.js +128 -0
  1552. data/packages/webpacker/node_modules/yargs/build/lib/middleware.js +53 -0
  1553. data/packages/webpacker/node_modules/yargs/build/lib/parse-command.js +32 -0
  1554. data/packages/webpacker/node_modules/yargs/build/lib/typings/common-types.js +9 -0
  1555. data/packages/webpacker/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
  1556. data/packages/webpacker/node_modules/yargs/build/lib/usage.js +548 -0
  1557. data/packages/webpacker/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
  1558. data/packages/webpacker/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
  1559. data/packages/webpacker/node_modules/yargs/build/lib/utils/levenshtein.js +26 -0
  1560. data/packages/webpacker/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
  1561. data/packages/webpacker/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
  1562. data/packages/webpacker/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
  1563. data/packages/webpacker/node_modules/yargs/build/lib/utils/which-module.js +10 -0
  1564. data/packages/webpacker/node_modules/yargs/build/lib/validation.js +308 -0
  1565. data/packages/webpacker/node_modules/yargs/build/lib/yargs-factory.js +1143 -0
  1566. data/packages/webpacker/node_modules/yargs/build/lib/yerror.js +7 -0
  1567. data/packages/webpacker/node_modules/yargs/helpers/helpers.mjs +10 -0
  1568. data/packages/webpacker/node_modules/yargs/helpers/index.js +14 -0
  1569. data/packages/webpacker/node_modules/yargs/helpers/package.json +3 -0
  1570. data/packages/webpacker/node_modules/yargs/index.cjs +39 -0
  1571. data/packages/webpacker/node_modules/yargs/index.mjs +8 -0
  1572. data/packages/webpacker/node_modules/yargs/lib/platform-shims/browser.mjs +92 -0
  1573. data/packages/webpacker/node_modules/yargs/lib/platform-shims/esm.mjs +67 -0
  1574. data/packages/webpacker/node_modules/yargs/locales/be.json +46 -0
  1575. data/packages/webpacker/node_modules/yargs/locales/de.json +46 -0
  1576. data/packages/webpacker/node_modules/yargs/locales/en.json +51 -0
  1577. data/packages/webpacker/node_modules/yargs/locales/es.json +46 -0
  1578. data/packages/webpacker/node_modules/yargs/locales/fi.json +49 -0
  1579. data/packages/webpacker/node_modules/yargs/locales/fr.json +53 -0
  1580. data/packages/webpacker/node_modules/yargs/locales/hi.json +49 -0
  1581. data/packages/webpacker/node_modules/yargs/locales/hu.json +46 -0
  1582. data/packages/webpacker/node_modules/yargs/locales/id.json +50 -0
  1583. data/packages/webpacker/node_modules/yargs/locales/it.json +46 -0
  1584. data/packages/webpacker/node_modules/yargs/locales/ja.json +51 -0
  1585. data/packages/webpacker/node_modules/yargs/locales/ko.json +49 -0
  1586. data/packages/webpacker/node_modules/yargs/locales/nb.json +44 -0
  1587. data/packages/webpacker/node_modules/yargs/locales/nl.json +49 -0
  1588. data/packages/webpacker/node_modules/yargs/locales/nn.json +44 -0
  1589. data/packages/webpacker/node_modules/yargs/locales/pirate.json +13 -0
  1590. data/packages/webpacker/node_modules/yargs/locales/pl.json +49 -0
  1591. data/packages/webpacker/node_modules/yargs/locales/pt.json +45 -0
  1592. data/packages/webpacker/node_modules/yargs/locales/pt_BR.json +48 -0
  1593. data/packages/webpacker/node_modules/yargs/locales/ru.json +46 -0
  1594. data/packages/webpacker/node_modules/yargs/locales/th.json +46 -0
  1595. data/packages/webpacker/node_modules/yargs/locales/tr.json +48 -0
  1596. data/packages/webpacker/node_modules/yargs/locales/zh_CN.json +48 -0
  1597. data/packages/webpacker/node_modules/yargs/locales/zh_TW.json +47 -0
  1598. data/packages/webpacker/node_modules/yargs/package.json +122 -0
  1599. data/packages/webpacker/node_modules/yargs/yargs +9 -0
  1600. data/packages/webpacker/node_modules/yargs-parser/CHANGELOG.md +263 -0
  1601. data/packages/webpacker/node_modules/yargs-parser/LICENSE.txt +14 -0
  1602. data/packages/webpacker/node_modules/yargs-parser/README.md +518 -0
  1603. data/packages/webpacker/node_modules/yargs-parser/browser.js +29 -0
  1604. data/packages/webpacker/node_modules/yargs-parser/build/index.cjs +1042 -0
  1605. data/packages/webpacker/node_modules/yargs-parser/build/lib/index.js +59 -0
  1606. data/packages/webpacker/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
  1607. data/packages/webpacker/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
  1608. data/packages/webpacker/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
  1609. data/packages/webpacker/node_modules/yargs-parser/build/lib/yargs-parser.js +1037 -0
  1610. data/packages/webpacker/node_modules/yargs-parser/package.json +87 -0
  1611. data/packages/webpacker/package.json +1 -1
  1612. metadata +1641 -42
@@ -0,0 +1,1914 @@
1
+ /*! @author Toru Nagashima <https://github.com/mysticatea> */
2
+ import evk from 'eslint-visitor-keys';
3
+
4
+ /**
5
+ * Get the innermost scope which contains a given location.
6
+ * @param {Scope} initialScope The initial scope to search.
7
+ * @param {Node} node The location to search.
8
+ * @returns {Scope} The innermost scope.
9
+ */
10
+ function getInnermostScope(initialScope, node) {
11
+ const location = node.range[0];
12
+
13
+ let scope = initialScope;
14
+ let found = false;
15
+ do {
16
+ found = false;
17
+ for (const childScope of scope.childScopes) {
18
+ const range = childScope.block.range;
19
+
20
+ if (range[0] <= location && location < range[1]) {
21
+ scope = childScope;
22
+ found = true;
23
+ break
24
+ }
25
+ }
26
+ } while (found)
27
+
28
+ return scope
29
+ }
30
+
31
+ /**
32
+ * Find the variable of a given name.
33
+ * @param {Scope} initialScope The scope to start finding.
34
+ * @param {string|Node} nameOrNode The variable name to find. If this is a Node object then it should be an Identifier node.
35
+ * @returns {Variable|null} The found variable or null.
36
+ */
37
+ function findVariable(initialScope, nameOrNode) {
38
+ let name = "";
39
+ let scope = initialScope;
40
+
41
+ if (typeof nameOrNode === "string") {
42
+ name = nameOrNode;
43
+ } else {
44
+ name = nameOrNode.name;
45
+ scope = getInnermostScope(scope, nameOrNode);
46
+ }
47
+
48
+ while (scope != null) {
49
+ const variable = scope.set.get(name);
50
+ if (variable != null) {
51
+ return variable
52
+ }
53
+ scope = scope.upper;
54
+ }
55
+
56
+ return null
57
+ }
58
+
59
+ /**
60
+ * Negate the result of `this` calling.
61
+ * @param {Token} token The token to check.
62
+ * @returns {boolean} `true` if the result of `this(token)` is `false`.
63
+ */
64
+ function negate0(token) {
65
+ return !this(token) //eslint-disable-line no-invalid-this
66
+ }
67
+
68
+ /**
69
+ * Creates the negate function of the given function.
70
+ * @param {function(Token):boolean} f - The function to negate.
71
+ * @returns {function(Token):boolean} Negated function.
72
+ */
73
+ function negate(f) {
74
+ return negate0.bind(f)
75
+ }
76
+
77
+ /**
78
+ * Checks if the given token is a PunctuatorToken with the given value
79
+ * @param {Token} token - The token to check.
80
+ * @param {string} value - The value to check.
81
+ * @returns {boolean} `true` if the token is a PunctuatorToken with the given value.
82
+ */
83
+ function isPunctuatorTokenWithValue(token, value) {
84
+ return token.type === "Punctuator" && token.value === value
85
+ }
86
+
87
+ /**
88
+ * Checks if the given token is an arrow token or not.
89
+ * @param {Token} token - The token to check.
90
+ * @returns {boolean} `true` if the token is an arrow token.
91
+ */
92
+ function isArrowToken(token) {
93
+ return isPunctuatorTokenWithValue(token, "=>")
94
+ }
95
+
96
+ /**
97
+ * Checks if the given token is a comma token or not.
98
+ * @param {Token} token - The token to check.
99
+ * @returns {boolean} `true` if the token is a comma token.
100
+ */
101
+ function isCommaToken(token) {
102
+ return isPunctuatorTokenWithValue(token, ",")
103
+ }
104
+
105
+ /**
106
+ * Checks if the given token is a semicolon token or not.
107
+ * @param {Token} token - The token to check.
108
+ * @returns {boolean} `true` if the token is a semicolon token.
109
+ */
110
+ function isSemicolonToken(token) {
111
+ return isPunctuatorTokenWithValue(token, ";")
112
+ }
113
+
114
+ /**
115
+ * Checks if the given token is a colon token or not.
116
+ * @param {Token} token - The token to check.
117
+ * @returns {boolean} `true` if the token is a colon token.
118
+ */
119
+ function isColonToken(token) {
120
+ return isPunctuatorTokenWithValue(token, ":")
121
+ }
122
+
123
+ /**
124
+ * Checks if the given token is an opening parenthesis token or not.
125
+ * @param {Token} token - The token to check.
126
+ * @returns {boolean} `true` if the token is an opening parenthesis token.
127
+ */
128
+ function isOpeningParenToken(token) {
129
+ return isPunctuatorTokenWithValue(token, "(")
130
+ }
131
+
132
+ /**
133
+ * Checks if the given token is a closing parenthesis token or not.
134
+ * @param {Token} token - The token to check.
135
+ * @returns {boolean} `true` if the token is a closing parenthesis token.
136
+ */
137
+ function isClosingParenToken(token) {
138
+ return isPunctuatorTokenWithValue(token, ")")
139
+ }
140
+
141
+ /**
142
+ * Checks if the given token is an opening square bracket token or not.
143
+ * @param {Token} token - The token to check.
144
+ * @returns {boolean} `true` if the token is an opening square bracket token.
145
+ */
146
+ function isOpeningBracketToken(token) {
147
+ return isPunctuatorTokenWithValue(token, "[")
148
+ }
149
+
150
+ /**
151
+ * Checks if the given token is a closing square bracket token or not.
152
+ * @param {Token} token - The token to check.
153
+ * @returns {boolean} `true` if the token is a closing square bracket token.
154
+ */
155
+ function isClosingBracketToken(token) {
156
+ return isPunctuatorTokenWithValue(token, "]")
157
+ }
158
+
159
+ /**
160
+ * Checks if the given token is an opening brace token or not.
161
+ * @param {Token} token - The token to check.
162
+ * @returns {boolean} `true` if the token is an opening brace token.
163
+ */
164
+ function isOpeningBraceToken(token) {
165
+ return isPunctuatorTokenWithValue(token, "{")
166
+ }
167
+
168
+ /**
169
+ * Checks if the given token is a closing brace token or not.
170
+ * @param {Token} token - The token to check.
171
+ * @returns {boolean} `true` if the token is a closing brace token.
172
+ */
173
+ function isClosingBraceToken(token) {
174
+ return isPunctuatorTokenWithValue(token, "}")
175
+ }
176
+
177
+ /**
178
+ * Checks if the given token is a comment token or not.
179
+ * @param {Token} token - The token to check.
180
+ * @returns {boolean} `true` if the token is a comment token.
181
+ */
182
+ function isCommentToken(token) {
183
+ return ["Block", "Line", "Shebang"].includes(token.type)
184
+ }
185
+
186
+ const isNotArrowToken = negate(isArrowToken);
187
+ const isNotCommaToken = negate(isCommaToken);
188
+ const isNotSemicolonToken = negate(isSemicolonToken);
189
+ const isNotColonToken = negate(isColonToken);
190
+ const isNotOpeningParenToken = negate(isOpeningParenToken);
191
+ const isNotClosingParenToken = negate(isClosingParenToken);
192
+ const isNotOpeningBracketToken = negate(isOpeningBracketToken);
193
+ const isNotClosingBracketToken = negate(isClosingBracketToken);
194
+ const isNotOpeningBraceToken = negate(isOpeningBraceToken);
195
+ const isNotClosingBraceToken = negate(isClosingBraceToken);
196
+ const isNotCommentToken = negate(isCommentToken);
197
+
198
+ /**
199
+ * Get the `(` token of the given function node.
200
+ * @param {Node} node - The function node to get.
201
+ * @param {SourceCode} sourceCode - The source code object to get tokens.
202
+ * @returns {Token} `(` token.
203
+ */
204
+ function getOpeningParenOfParams(node, sourceCode) {
205
+ return node.id
206
+ ? sourceCode.getTokenAfter(node.id, isOpeningParenToken)
207
+ : sourceCode.getFirstToken(node, isOpeningParenToken)
208
+ }
209
+
210
+ /**
211
+ * Get the location of the given function node for reporting.
212
+ * @param {Node} node - The function node to get.
213
+ * @param {SourceCode} sourceCode - The source code object to get tokens.
214
+ * @returns {string} The location of the function node for reporting.
215
+ */
216
+ function getFunctionHeadLocation(node, sourceCode) {
217
+ const parent = node.parent;
218
+ let start = null;
219
+ let end = null;
220
+
221
+ if (node.type === "ArrowFunctionExpression") {
222
+ const arrowToken = sourceCode.getTokenBefore(node.body, isArrowToken);
223
+
224
+ start = arrowToken.loc.start;
225
+ end = arrowToken.loc.end;
226
+ } else if (
227
+ parent.type === "Property" ||
228
+ parent.type === "MethodDefinition" ||
229
+ parent.type === "PropertyDefinition"
230
+ ) {
231
+ start = parent.loc.start;
232
+ end = getOpeningParenOfParams(node, sourceCode).loc.start;
233
+ } else {
234
+ start = node.loc.start;
235
+ end = getOpeningParenOfParams(node, sourceCode).loc.start;
236
+ }
237
+
238
+ return {
239
+ start: { ...start },
240
+ end: { ...end },
241
+ }
242
+ }
243
+
244
+ /* globals globalThis, global, self, window */
245
+
246
+ const globalObject =
247
+ typeof globalThis !== "undefined"
248
+ ? globalThis
249
+ : typeof self !== "undefined"
250
+ ? self
251
+ : typeof window !== "undefined"
252
+ ? window
253
+ : typeof global !== "undefined"
254
+ ? global
255
+ : {};
256
+
257
+ const builtinNames = Object.freeze(
258
+ new Set([
259
+ "Array",
260
+ "ArrayBuffer",
261
+ "BigInt",
262
+ "BigInt64Array",
263
+ "BigUint64Array",
264
+ "Boolean",
265
+ "DataView",
266
+ "Date",
267
+ "decodeURI",
268
+ "decodeURIComponent",
269
+ "encodeURI",
270
+ "encodeURIComponent",
271
+ "escape",
272
+ "Float32Array",
273
+ "Float64Array",
274
+ "Function",
275
+ "Infinity",
276
+ "Int16Array",
277
+ "Int32Array",
278
+ "Int8Array",
279
+ "isFinite",
280
+ "isNaN",
281
+ "isPrototypeOf",
282
+ "JSON",
283
+ "Map",
284
+ "Math",
285
+ "NaN",
286
+ "Number",
287
+ "Object",
288
+ "parseFloat",
289
+ "parseInt",
290
+ "Promise",
291
+ "Proxy",
292
+ "Reflect",
293
+ "RegExp",
294
+ "Set",
295
+ "String",
296
+ "Symbol",
297
+ "Uint16Array",
298
+ "Uint32Array",
299
+ "Uint8Array",
300
+ "Uint8ClampedArray",
301
+ "undefined",
302
+ "unescape",
303
+ "WeakMap",
304
+ "WeakSet",
305
+ ]),
306
+ );
307
+ const callAllowed = new Set(
308
+ [
309
+ Array.isArray,
310
+ typeof BigInt === "function" ? BigInt : undefined,
311
+ Boolean,
312
+ Date,
313
+ Date.parse,
314
+ decodeURI,
315
+ decodeURIComponent,
316
+ encodeURI,
317
+ encodeURIComponent,
318
+ escape,
319
+ isFinite,
320
+ isNaN,
321
+ isPrototypeOf,
322
+ ...Object.getOwnPropertyNames(Math)
323
+ .map((k) => Math[k])
324
+ .filter((f) => typeof f === "function"),
325
+ Number,
326
+ Number.isFinite,
327
+ Number.isNaN,
328
+ Number.parseFloat,
329
+ Number.parseInt,
330
+ Object,
331
+ Object.entries,
332
+ Object.is,
333
+ Object.isExtensible,
334
+ Object.isFrozen,
335
+ Object.isSealed,
336
+ Object.keys,
337
+ Object.values,
338
+ parseFloat,
339
+ parseInt,
340
+ RegExp,
341
+ String,
342
+ String.fromCharCode,
343
+ String.fromCodePoint,
344
+ String.raw,
345
+ Symbol.for,
346
+ Symbol.keyFor,
347
+ unescape,
348
+ ].filter((f) => typeof f === "function"),
349
+ );
350
+ const callPassThrough = new Set([
351
+ Object.freeze,
352
+ Object.preventExtensions,
353
+ Object.seal,
354
+ ]);
355
+
356
+ /**
357
+ * Get the property descriptor.
358
+ * @param {object} object The object to get.
359
+ * @param {string|number|symbol} name The property name to get.
360
+ */
361
+ function getPropertyDescriptor(object, name) {
362
+ let x = object;
363
+ while ((typeof x === "object" || typeof x === "function") && x !== null) {
364
+ const d = Object.getOwnPropertyDescriptor(x, name);
365
+ if (d) {
366
+ return d
367
+ }
368
+ x = Object.getPrototypeOf(x);
369
+ }
370
+ return null
371
+ }
372
+
373
+ /**
374
+ * Check if a property is getter or not.
375
+ * @param {object} object The object to check.
376
+ * @param {string|number|symbol} name The property name to check.
377
+ */
378
+ function isGetter(object, name) {
379
+ const d = getPropertyDescriptor(object, name);
380
+ return d != null && d.get != null
381
+ }
382
+
383
+ /**
384
+ * Get the element values of a given node list.
385
+ * @param {Node[]} nodeList The node list to get values.
386
+ * @param {Scope|undefined} initialScope The initial scope to find variables.
387
+ * @returns {any[]|null} The value list if all nodes are constant. Otherwise, null.
388
+ */
389
+ function getElementValues(nodeList, initialScope) {
390
+ const valueList = [];
391
+
392
+ for (let i = 0; i < nodeList.length; ++i) {
393
+ const elementNode = nodeList[i];
394
+
395
+ if (elementNode == null) {
396
+ valueList.length = i + 1;
397
+ } else if (elementNode.type === "SpreadElement") {
398
+ const argument = getStaticValueR(elementNode.argument, initialScope);
399
+ if (argument == null) {
400
+ return null
401
+ }
402
+ valueList.push(...argument.value);
403
+ } else {
404
+ const element = getStaticValueR(elementNode, initialScope);
405
+ if (element == null) {
406
+ return null
407
+ }
408
+ valueList.push(element.value);
409
+ }
410
+ }
411
+
412
+ return valueList
413
+ }
414
+
415
+ const operations = Object.freeze({
416
+ ArrayExpression(node, initialScope) {
417
+ const elements = getElementValues(node.elements, initialScope);
418
+ return elements != null ? { value: elements } : null
419
+ },
420
+
421
+ AssignmentExpression(node, initialScope) {
422
+ if (node.operator === "=") {
423
+ return getStaticValueR(node.right, initialScope)
424
+ }
425
+ return null
426
+ },
427
+
428
+ //eslint-disable-next-line complexity
429
+ BinaryExpression(node, initialScope) {
430
+ if (node.operator === "in" || node.operator === "instanceof") {
431
+ // Not supported.
432
+ return null
433
+ }
434
+
435
+ const left = getStaticValueR(node.left, initialScope);
436
+ const right = getStaticValueR(node.right, initialScope);
437
+ if (left != null && right != null) {
438
+ switch (node.operator) {
439
+ case "==":
440
+ return { value: left.value == right.value } //eslint-disable-line eqeqeq
441
+ case "!=":
442
+ return { value: left.value != right.value } //eslint-disable-line eqeqeq
443
+ case "===":
444
+ return { value: left.value === right.value }
445
+ case "!==":
446
+ return { value: left.value !== right.value }
447
+ case "<":
448
+ return { value: left.value < right.value }
449
+ case "<=":
450
+ return { value: left.value <= right.value }
451
+ case ">":
452
+ return { value: left.value > right.value }
453
+ case ">=":
454
+ return { value: left.value >= right.value }
455
+ case "<<":
456
+ return { value: left.value << right.value }
457
+ case ">>":
458
+ return { value: left.value >> right.value }
459
+ case ">>>":
460
+ return { value: left.value >>> right.value }
461
+ case "+":
462
+ return { value: left.value + right.value }
463
+ case "-":
464
+ return { value: left.value - right.value }
465
+ case "*":
466
+ return { value: left.value * right.value }
467
+ case "/":
468
+ return { value: left.value / right.value }
469
+ case "%":
470
+ return { value: left.value % right.value }
471
+ case "**":
472
+ return { value: Math.pow(left.value, right.value) }
473
+ case "|":
474
+ return { value: left.value | right.value }
475
+ case "^":
476
+ return { value: left.value ^ right.value }
477
+ case "&":
478
+ return { value: left.value & right.value }
479
+
480
+ // no default
481
+ }
482
+ }
483
+
484
+ return null
485
+ },
486
+
487
+ CallExpression(node, initialScope) {
488
+ const calleeNode = node.callee;
489
+ const args = getElementValues(node.arguments, initialScope);
490
+
491
+ if (args != null) {
492
+ if (calleeNode.type === "MemberExpression") {
493
+ if (calleeNode.property.type === "PrivateIdentifier") {
494
+ return null
495
+ }
496
+ const object = getStaticValueR(calleeNode.object, initialScope);
497
+ if (object != null) {
498
+ if (
499
+ object.value == null &&
500
+ (object.optional || node.optional)
501
+ ) {
502
+ return { value: undefined, optional: true }
503
+ }
504
+ const property = getStaticPropertyNameValue(
505
+ calleeNode,
506
+ initialScope,
507
+ );
508
+
509
+ if (property != null) {
510
+ const receiver = object.value;
511
+ const methodName = property.value;
512
+ if (callAllowed.has(receiver[methodName])) {
513
+ return { value: receiver[methodName](...args) }
514
+ }
515
+ if (callPassThrough.has(receiver[methodName])) {
516
+ return { value: args[0] }
517
+ }
518
+ }
519
+ }
520
+ } else {
521
+ const callee = getStaticValueR(calleeNode, initialScope);
522
+ if (callee != null) {
523
+ if (callee.value == null && node.optional) {
524
+ return { value: undefined, optional: true }
525
+ }
526
+ const func = callee.value;
527
+ if (callAllowed.has(func)) {
528
+ return { value: func(...args) }
529
+ }
530
+ if (callPassThrough.has(func)) {
531
+ return { value: args[0] }
532
+ }
533
+ }
534
+ }
535
+ }
536
+
537
+ return null
538
+ },
539
+
540
+ ConditionalExpression(node, initialScope) {
541
+ const test = getStaticValueR(node.test, initialScope);
542
+ if (test != null) {
543
+ return test.value
544
+ ? getStaticValueR(node.consequent, initialScope)
545
+ : getStaticValueR(node.alternate, initialScope)
546
+ }
547
+ return null
548
+ },
549
+
550
+ ExpressionStatement(node, initialScope) {
551
+ return getStaticValueR(node.expression, initialScope)
552
+ },
553
+
554
+ Identifier(node, initialScope) {
555
+ if (initialScope != null) {
556
+ const variable = findVariable(initialScope, node);
557
+
558
+ // Built-in globals.
559
+ if (
560
+ variable != null &&
561
+ variable.defs.length === 0 &&
562
+ builtinNames.has(variable.name) &&
563
+ variable.name in globalObject
564
+ ) {
565
+ return { value: globalObject[variable.name] }
566
+ }
567
+
568
+ // Constants.
569
+ if (variable != null && variable.defs.length === 1) {
570
+ const def = variable.defs[0];
571
+ if (
572
+ def.parent &&
573
+ def.parent.kind === "const" &&
574
+ // TODO(mysticatea): don't support destructuring here.
575
+ def.node.id.type === "Identifier"
576
+ ) {
577
+ return getStaticValueR(def.node.init, initialScope)
578
+ }
579
+ }
580
+ }
581
+ return null
582
+ },
583
+
584
+ Literal(node) {
585
+ //istanbul ignore if : this is implementation-specific behavior.
586
+ if ((node.regex != null || node.bigint != null) && node.value == null) {
587
+ // It was a RegExp/BigInt literal, but Node.js didn't support it.
588
+ return null
589
+ }
590
+ return { value: node.value }
591
+ },
592
+
593
+ LogicalExpression(node, initialScope) {
594
+ const left = getStaticValueR(node.left, initialScope);
595
+ if (left != null) {
596
+ if (
597
+ (node.operator === "||" && Boolean(left.value) === true) ||
598
+ (node.operator === "&&" && Boolean(left.value) === false) ||
599
+ (node.operator === "??" && left.value != null)
600
+ ) {
601
+ return left
602
+ }
603
+
604
+ const right = getStaticValueR(node.right, initialScope);
605
+ if (right != null) {
606
+ return right
607
+ }
608
+ }
609
+
610
+ return null
611
+ },
612
+
613
+ MemberExpression(node, initialScope) {
614
+ if (node.property.type === "PrivateIdentifier") {
615
+ return null
616
+ }
617
+ const object = getStaticValueR(node.object, initialScope);
618
+ if (object != null) {
619
+ if (object.value == null && (object.optional || node.optional)) {
620
+ return { value: undefined, optional: true }
621
+ }
622
+ const property = getStaticPropertyNameValue(node, initialScope);
623
+
624
+ if (property != null && !isGetter(object.value, property.value)) {
625
+ return { value: object.value[property.value] }
626
+ }
627
+ }
628
+ return null
629
+ },
630
+
631
+ ChainExpression(node, initialScope) {
632
+ const expression = getStaticValueR(node.expression, initialScope);
633
+ if (expression != null) {
634
+ return { value: expression.value }
635
+ }
636
+ return null
637
+ },
638
+
639
+ NewExpression(node, initialScope) {
640
+ const callee = getStaticValueR(node.callee, initialScope);
641
+ const args = getElementValues(node.arguments, initialScope);
642
+
643
+ if (callee != null && args != null) {
644
+ const Func = callee.value;
645
+ if (callAllowed.has(Func)) {
646
+ return { value: new Func(...args) }
647
+ }
648
+ }
649
+
650
+ return null
651
+ },
652
+
653
+ ObjectExpression(node, initialScope) {
654
+ const object = {};
655
+
656
+ for (const propertyNode of node.properties) {
657
+ if (propertyNode.type === "Property") {
658
+ if (propertyNode.kind !== "init") {
659
+ return null
660
+ }
661
+ const key = getStaticPropertyNameValue(
662
+ propertyNode,
663
+ initialScope,
664
+ );
665
+ const value = getStaticValueR(propertyNode.value, initialScope);
666
+ if (key == null || value == null) {
667
+ return null
668
+ }
669
+ object[key.value] = value.value;
670
+ } else if (
671
+ propertyNode.type === "SpreadElement" ||
672
+ propertyNode.type === "ExperimentalSpreadProperty"
673
+ ) {
674
+ const argument = getStaticValueR(
675
+ propertyNode.argument,
676
+ initialScope,
677
+ );
678
+ if (argument == null) {
679
+ return null
680
+ }
681
+ Object.assign(object, argument.value);
682
+ } else {
683
+ return null
684
+ }
685
+ }
686
+
687
+ return { value: object }
688
+ },
689
+
690
+ SequenceExpression(node, initialScope) {
691
+ const last = node.expressions[node.expressions.length - 1];
692
+ return getStaticValueR(last, initialScope)
693
+ },
694
+
695
+ TaggedTemplateExpression(node, initialScope) {
696
+ const tag = getStaticValueR(node.tag, initialScope);
697
+ const expressions = getElementValues(
698
+ node.quasi.expressions,
699
+ initialScope,
700
+ );
701
+
702
+ if (tag != null && expressions != null) {
703
+ const func = tag.value;
704
+ const strings = node.quasi.quasis.map((q) => q.value.cooked);
705
+ strings.raw = node.quasi.quasis.map((q) => q.value.raw);
706
+
707
+ if (func === String.raw) {
708
+ return { value: func(strings, ...expressions) }
709
+ }
710
+ }
711
+
712
+ return null
713
+ },
714
+
715
+ TemplateLiteral(node, initialScope) {
716
+ const expressions = getElementValues(node.expressions, initialScope);
717
+ if (expressions != null) {
718
+ let value = node.quasis[0].value.cooked;
719
+ for (let i = 0; i < expressions.length; ++i) {
720
+ value += expressions[i];
721
+ value += node.quasis[i + 1].value.cooked;
722
+ }
723
+ return { value }
724
+ }
725
+ return null
726
+ },
727
+
728
+ UnaryExpression(node, initialScope) {
729
+ if (node.operator === "delete") {
730
+ // Not supported.
731
+ return null
732
+ }
733
+ if (node.operator === "void") {
734
+ return { value: undefined }
735
+ }
736
+
737
+ const arg = getStaticValueR(node.argument, initialScope);
738
+ if (arg != null) {
739
+ switch (node.operator) {
740
+ case "-":
741
+ return { value: -arg.value }
742
+ case "+":
743
+ return { value: +arg.value } //eslint-disable-line no-implicit-coercion
744
+ case "!":
745
+ return { value: !arg.value }
746
+ case "~":
747
+ return { value: ~arg.value }
748
+ case "typeof":
749
+ return { value: typeof arg.value }
750
+
751
+ // no default
752
+ }
753
+ }
754
+
755
+ return null
756
+ },
757
+ });
758
+
759
+ /**
760
+ * Get the value of a given node if it's a static value.
761
+ * @param {Node} node The node to get.
762
+ * @param {Scope|undefined} initialScope The scope to start finding variable.
763
+ * @returns {{value:any}|{value:undefined,optional?:true}|null} The static value of the node, or `null`.
764
+ */
765
+ function getStaticValueR(node, initialScope) {
766
+ if (node != null && Object.hasOwnProperty.call(operations, node.type)) {
767
+ return operations[node.type](node, initialScope)
768
+ }
769
+ return null
770
+ }
771
+
772
+ /**
773
+ * Get the static value of property name from a MemberExpression node or a Property node.
774
+ * @param {Node} node The node to get.
775
+ * @param {Scope} [initialScope] The scope to start finding variable. Optional. If the node is a computed property node and this scope was given, this checks the computed property name by the `getStringIfConstant` function with the scope, and returns the value of it.
776
+ * @returns {{value:any}|{value:undefined,optional?:true}|null} The static value of the property name of the node, or `null`.
777
+ */
778
+ function getStaticPropertyNameValue(node, initialScope) {
779
+ const nameNode = node.type === "Property" ? node.key : node.property;
780
+
781
+ if (node.computed) {
782
+ return getStaticValueR(nameNode, initialScope)
783
+ }
784
+
785
+ if (nameNode.type === "Identifier") {
786
+ return { value: nameNode.name }
787
+ }
788
+
789
+ if (nameNode.type === "Literal") {
790
+ if (nameNode.bigint) {
791
+ return { value: nameNode.bigint }
792
+ }
793
+ return { value: String(nameNode.value) }
794
+ }
795
+
796
+ return null
797
+ }
798
+
799
+ /**
800
+ * Get the value of a given node if it's a static value.
801
+ * @param {Node} node The node to get.
802
+ * @param {Scope} [initialScope] The scope to start finding variable. Optional. If this scope was given, this tries to resolve identifier references which are in the given node as much as possible.
803
+ * @returns {{value:any}|{value:undefined,optional?:true}|null} The static value of the node, or `null`.
804
+ */
805
+ function getStaticValue(node, initialScope = null) {
806
+ try {
807
+ return getStaticValueR(node, initialScope)
808
+ } catch (_error) {
809
+ return null
810
+ }
811
+ }
812
+
813
+ /**
814
+ * Get the value of a given node if it's a literal or a template literal.
815
+ * @param {Node} node The node to get.
816
+ * @param {Scope} [initialScope] The scope to start finding variable. Optional. If the node is an Identifier node and this scope was given, this checks the variable of the identifier, and returns the value of it if the variable is a constant.
817
+ * @returns {string|null} The value of the node, or `null`.
818
+ */
819
+ function getStringIfConstant(node, initialScope = null) {
820
+ // Handle the literals that the platform doesn't support natively.
821
+ if (node && node.type === "Literal" && node.value === null) {
822
+ if (node.regex) {
823
+ return `/${node.regex.pattern}/${node.regex.flags}`
824
+ }
825
+ if (node.bigint) {
826
+ return node.bigint
827
+ }
828
+ }
829
+
830
+ const evaluated = getStaticValue(node, initialScope);
831
+ return evaluated && String(evaluated.value)
832
+ }
833
+
834
+ /**
835
+ * Get the property name from a MemberExpression node or a Property node.
836
+ * @param {Node} node The node to get.
837
+ * @param {Scope} [initialScope] The scope to start finding variable. Optional. If the node is a computed property node and this scope was given, this checks the computed property name by the `getStringIfConstant` function with the scope, and returns the value of it.
838
+ * @returns {string|null} The property name of the node.
839
+ */
840
+ function getPropertyName(node, initialScope) {
841
+ switch (node.type) {
842
+ case "MemberExpression":
843
+ if (node.computed) {
844
+ return getStringIfConstant(node.property, initialScope)
845
+ }
846
+ if (node.property.type === "PrivateIdentifier") {
847
+ return null
848
+ }
849
+ return node.property.name
850
+
851
+ case "Property":
852
+ case "MethodDefinition":
853
+ case "PropertyDefinition":
854
+ if (node.computed) {
855
+ return getStringIfConstant(node.key, initialScope)
856
+ }
857
+ if (node.key.type === "Literal") {
858
+ return String(node.key.value)
859
+ }
860
+ if (node.key.type === "PrivateIdentifier") {
861
+ return null
862
+ }
863
+ return node.key.name
864
+
865
+ // no default
866
+ }
867
+
868
+ return null
869
+ }
870
+
871
+ /**
872
+ * Get the name and kind of the given function node.
873
+ * @param {ASTNode} node - The function node to get.
874
+ * @param {SourceCode} [sourceCode] The source code object to get the code of computed property keys.
875
+ * @returns {string} The name and kind of the function node.
876
+ */
877
+ // eslint-disable-next-line complexity
878
+ function getFunctionNameWithKind(node, sourceCode) {
879
+ const parent = node.parent;
880
+ const tokens = [];
881
+ const isObjectMethod = parent.type === "Property" && parent.value === node;
882
+ const isClassMethod =
883
+ parent.type === "MethodDefinition" && parent.value === node;
884
+ const isClassFieldMethod =
885
+ parent.type === "PropertyDefinition" && parent.value === node;
886
+
887
+ // Modifiers.
888
+ if (isClassMethod || isClassFieldMethod) {
889
+ if (parent.static) {
890
+ tokens.push("static");
891
+ }
892
+ if (parent.key.type === "PrivateIdentifier") {
893
+ tokens.push("private");
894
+ }
895
+ }
896
+ if (node.async) {
897
+ tokens.push("async");
898
+ }
899
+ if (node.generator) {
900
+ tokens.push("generator");
901
+ }
902
+
903
+ // Kinds.
904
+ if (isObjectMethod || isClassMethod) {
905
+ if (parent.kind === "constructor") {
906
+ return "constructor"
907
+ }
908
+ if (parent.kind === "get") {
909
+ tokens.push("getter");
910
+ } else if (parent.kind === "set") {
911
+ tokens.push("setter");
912
+ } else {
913
+ tokens.push("method");
914
+ }
915
+ } else if (isClassFieldMethod) {
916
+ tokens.push("method");
917
+ } else {
918
+ if (node.type === "ArrowFunctionExpression") {
919
+ tokens.push("arrow");
920
+ }
921
+ tokens.push("function");
922
+ }
923
+
924
+ // Names.
925
+ if (isObjectMethod || isClassMethod || isClassFieldMethod) {
926
+ if (parent.key.type === "PrivateIdentifier") {
927
+ tokens.push(`#${parent.key.name}`);
928
+ } else {
929
+ const name = getPropertyName(parent);
930
+ if (name) {
931
+ tokens.push(`'${name}'`);
932
+ } else if (sourceCode) {
933
+ const keyText = sourceCode.getText(parent.key);
934
+ if (!keyText.includes("\n")) {
935
+ tokens.push(`[${keyText}]`);
936
+ }
937
+ }
938
+ }
939
+ } else if (node.id) {
940
+ tokens.push(`'${node.id.name}'`);
941
+ } else if (
942
+ parent.type === "VariableDeclarator" &&
943
+ parent.id &&
944
+ parent.id.type === "Identifier"
945
+ ) {
946
+ tokens.push(`'${parent.id.name}'`);
947
+ } else if (
948
+ (parent.type === "AssignmentExpression" ||
949
+ parent.type === "AssignmentPattern") &&
950
+ parent.left &&
951
+ parent.left.type === "Identifier"
952
+ ) {
953
+ tokens.push(`'${parent.left.name}'`);
954
+ }
955
+
956
+ return tokens.join(" ")
957
+ }
958
+
959
+ const typeConversionBinaryOps = Object.freeze(
960
+ new Set([
961
+ "==",
962
+ "!=",
963
+ "<",
964
+ "<=",
965
+ ">",
966
+ ">=",
967
+ "<<",
968
+ ">>",
969
+ ">>>",
970
+ "+",
971
+ "-",
972
+ "*",
973
+ "/",
974
+ "%",
975
+ "|",
976
+ "^",
977
+ "&",
978
+ "in",
979
+ ]),
980
+ );
981
+ const typeConversionUnaryOps = Object.freeze(new Set(["-", "+", "!", "~"]));
982
+
983
+ /**
984
+ * Check whether the given value is an ASTNode or not.
985
+ * @param {any} x The value to check.
986
+ * @returns {boolean} `true` if the value is an ASTNode.
987
+ */
988
+ function isNode(x) {
989
+ return x !== null && typeof x === "object" && typeof x.type === "string"
990
+ }
991
+
992
+ const visitor = Object.freeze(
993
+ Object.assign(Object.create(null), {
994
+ $visit(node, options, visitorKeys) {
995
+ const { type } = node;
996
+
997
+ if (typeof this[type] === "function") {
998
+ return this[type](node, options, visitorKeys)
999
+ }
1000
+
1001
+ return this.$visitChildren(node, options, visitorKeys)
1002
+ },
1003
+
1004
+ $visitChildren(node, options, visitorKeys) {
1005
+ const { type } = node;
1006
+
1007
+ for (const key of visitorKeys[type] || evk.getKeys(node)) {
1008
+ const value = node[key];
1009
+
1010
+ if (Array.isArray(value)) {
1011
+ for (const element of value) {
1012
+ if (
1013
+ isNode(element) &&
1014
+ this.$visit(element, options, visitorKeys)
1015
+ ) {
1016
+ return true
1017
+ }
1018
+ }
1019
+ } else if (
1020
+ isNode(value) &&
1021
+ this.$visit(value, options, visitorKeys)
1022
+ ) {
1023
+ return true
1024
+ }
1025
+ }
1026
+
1027
+ return false
1028
+ },
1029
+
1030
+ ArrowFunctionExpression() {
1031
+ return false
1032
+ },
1033
+ AssignmentExpression() {
1034
+ return true
1035
+ },
1036
+ AwaitExpression() {
1037
+ return true
1038
+ },
1039
+ BinaryExpression(node, options, visitorKeys) {
1040
+ if (
1041
+ options.considerImplicitTypeConversion &&
1042
+ typeConversionBinaryOps.has(node.operator) &&
1043
+ (node.left.type !== "Literal" || node.right.type !== "Literal")
1044
+ ) {
1045
+ return true
1046
+ }
1047
+ return this.$visitChildren(node, options, visitorKeys)
1048
+ },
1049
+ CallExpression() {
1050
+ return true
1051
+ },
1052
+ FunctionExpression() {
1053
+ return false
1054
+ },
1055
+ ImportExpression() {
1056
+ return true
1057
+ },
1058
+ MemberExpression(node, options, visitorKeys) {
1059
+ if (options.considerGetters) {
1060
+ return true
1061
+ }
1062
+ if (
1063
+ options.considerImplicitTypeConversion &&
1064
+ node.computed &&
1065
+ node.property.type !== "Literal"
1066
+ ) {
1067
+ return true
1068
+ }
1069
+ return this.$visitChildren(node, options, visitorKeys)
1070
+ },
1071
+ MethodDefinition(node, options, visitorKeys) {
1072
+ if (
1073
+ options.considerImplicitTypeConversion &&
1074
+ node.computed &&
1075
+ node.key.type !== "Literal"
1076
+ ) {
1077
+ return true
1078
+ }
1079
+ return this.$visitChildren(node, options, visitorKeys)
1080
+ },
1081
+ NewExpression() {
1082
+ return true
1083
+ },
1084
+ Property(node, options, visitorKeys) {
1085
+ if (
1086
+ options.considerImplicitTypeConversion &&
1087
+ node.computed &&
1088
+ node.key.type !== "Literal"
1089
+ ) {
1090
+ return true
1091
+ }
1092
+ return this.$visitChildren(node, options, visitorKeys)
1093
+ },
1094
+ PropertyDefinition(node, options, visitorKeys) {
1095
+ if (
1096
+ options.considerImplicitTypeConversion &&
1097
+ node.computed &&
1098
+ node.key.type !== "Literal"
1099
+ ) {
1100
+ return true
1101
+ }
1102
+ return this.$visitChildren(node, options, visitorKeys)
1103
+ },
1104
+ UnaryExpression(node, options, visitorKeys) {
1105
+ if (node.operator === "delete") {
1106
+ return true
1107
+ }
1108
+ if (
1109
+ options.considerImplicitTypeConversion &&
1110
+ typeConversionUnaryOps.has(node.operator) &&
1111
+ node.argument.type !== "Literal"
1112
+ ) {
1113
+ return true
1114
+ }
1115
+ return this.$visitChildren(node, options, visitorKeys)
1116
+ },
1117
+ UpdateExpression() {
1118
+ return true
1119
+ },
1120
+ YieldExpression() {
1121
+ return true
1122
+ },
1123
+ }),
1124
+ );
1125
+
1126
+ /**
1127
+ * Check whether a given node has any side effect or not.
1128
+ * @param {Node} node The node to get.
1129
+ * @param {SourceCode} sourceCode The source code object.
1130
+ * @param {object} [options] The option object.
1131
+ * @param {boolean} [options.considerGetters=false] If `true` then it considers member accesses as the node which has side effects.
1132
+ * @param {boolean} [options.considerImplicitTypeConversion=false] If `true` then it considers implicit type conversion as the node which has side effects.
1133
+ * @param {object} [options.visitorKeys=evk.KEYS] The keys to traverse nodes. Use `context.getSourceCode().visitorKeys`.
1134
+ * @returns {boolean} `true` if the node has a certain side effect.
1135
+ */
1136
+ function hasSideEffect(
1137
+ node,
1138
+ sourceCode,
1139
+ { considerGetters = false, considerImplicitTypeConversion = false } = {},
1140
+ ) {
1141
+ return visitor.$visit(
1142
+ node,
1143
+ { considerGetters, considerImplicitTypeConversion },
1144
+ sourceCode.visitorKeys || evk.KEYS,
1145
+ )
1146
+ }
1147
+
1148
+ /**
1149
+ * Get the left parenthesis of the parent node syntax if it exists.
1150
+ * E.g., `if (a) {}` then the `(`.
1151
+ * @param {Node} node The AST node to check.
1152
+ * @param {SourceCode} sourceCode The source code object to get tokens.
1153
+ * @returns {Token|null} The left parenthesis of the parent node syntax
1154
+ */
1155
+ function getParentSyntaxParen(node, sourceCode) {
1156
+ const parent = node.parent;
1157
+
1158
+ switch (parent.type) {
1159
+ case "CallExpression":
1160
+ case "NewExpression":
1161
+ if (parent.arguments.length === 1 && parent.arguments[0] === node) {
1162
+ return sourceCode.getTokenAfter(
1163
+ parent.callee,
1164
+ isOpeningParenToken,
1165
+ )
1166
+ }
1167
+ return null
1168
+
1169
+ case "DoWhileStatement":
1170
+ if (parent.test === node) {
1171
+ return sourceCode.getTokenAfter(
1172
+ parent.body,
1173
+ isOpeningParenToken,
1174
+ )
1175
+ }
1176
+ return null
1177
+
1178
+ case "IfStatement":
1179
+ case "WhileStatement":
1180
+ if (parent.test === node) {
1181
+ return sourceCode.getFirstToken(parent, 1)
1182
+ }
1183
+ return null
1184
+
1185
+ case "ImportExpression":
1186
+ if (parent.source === node) {
1187
+ return sourceCode.getFirstToken(parent, 1)
1188
+ }
1189
+ return null
1190
+
1191
+ case "SwitchStatement":
1192
+ if (parent.discriminant === node) {
1193
+ return sourceCode.getFirstToken(parent, 1)
1194
+ }
1195
+ return null
1196
+
1197
+ case "WithStatement":
1198
+ if (parent.object === node) {
1199
+ return sourceCode.getFirstToken(parent, 1)
1200
+ }
1201
+ return null
1202
+
1203
+ default:
1204
+ return null
1205
+ }
1206
+ }
1207
+
1208
+ /**
1209
+ * Check whether a given node is parenthesized or not.
1210
+ * @param {number} times The number of parantheses.
1211
+ * @param {Node} node The AST node to check.
1212
+ * @param {SourceCode} sourceCode The source code object to get tokens.
1213
+ * @returns {boolean} `true` if the node is parenthesized the given times.
1214
+ */
1215
+ /**
1216
+ * Check whether a given node is parenthesized or not.
1217
+ * @param {Node} node The AST node to check.
1218
+ * @param {SourceCode} sourceCode The source code object to get tokens.
1219
+ * @returns {boolean} `true` if the node is parenthesized.
1220
+ */
1221
+ function isParenthesized(
1222
+ timesOrNode,
1223
+ nodeOrSourceCode,
1224
+ optionalSourceCode,
1225
+ ) {
1226
+ let times, node, sourceCode, maybeLeftParen, maybeRightParen;
1227
+ if (typeof timesOrNode === "number") {
1228
+ times = timesOrNode | 0;
1229
+ node = nodeOrSourceCode;
1230
+ sourceCode = optionalSourceCode;
1231
+ if (!(times >= 1)) {
1232
+ throw new TypeError("'times' should be a positive integer.")
1233
+ }
1234
+ } else {
1235
+ times = 1;
1236
+ node = timesOrNode;
1237
+ sourceCode = nodeOrSourceCode;
1238
+ }
1239
+
1240
+ if (
1241
+ node == null ||
1242
+ // `CatchClause.param` can't be parenthesized, example `try {} catch (error) {}`
1243
+ (node.parent.type === "CatchClause" && node.parent.param === node)
1244
+ ) {
1245
+ return false
1246
+ }
1247
+
1248
+ maybeLeftParen = maybeRightParen = node;
1249
+ do {
1250
+ maybeLeftParen = sourceCode.getTokenBefore(maybeLeftParen);
1251
+ maybeRightParen = sourceCode.getTokenAfter(maybeRightParen);
1252
+ } while (
1253
+ maybeLeftParen != null &&
1254
+ maybeRightParen != null &&
1255
+ isOpeningParenToken(maybeLeftParen) &&
1256
+ isClosingParenToken(maybeRightParen) &&
1257
+ // Avoid false positive such as `if (a) {}`
1258
+ maybeLeftParen !== getParentSyntaxParen(node, sourceCode) &&
1259
+ --times > 0
1260
+ )
1261
+
1262
+ return times === 0
1263
+ }
1264
+
1265
+ /**
1266
+ * @author Toru Nagashima <https://github.com/mysticatea>
1267
+ * See LICENSE file in root directory for full license.
1268
+ */
1269
+
1270
+ const placeholder = /\$(?:[$&`']|[1-9][0-9]?)/gu;
1271
+
1272
+ /** @type {WeakMap<PatternMatcher, {pattern:RegExp,escaped:boolean}>} */
1273
+ const internal = new WeakMap();
1274
+
1275
+ /**
1276
+ * Check whether a given character is escaped or not.
1277
+ * @param {string} str The string to check.
1278
+ * @param {number} index The location of the character to check.
1279
+ * @returns {boolean} `true` if the character is escaped.
1280
+ */
1281
+ function isEscaped(str, index) {
1282
+ let escaped = false;
1283
+ for (let i = index - 1; i >= 0 && str.charCodeAt(i) === 0x5c; --i) {
1284
+ escaped = !escaped;
1285
+ }
1286
+ return escaped
1287
+ }
1288
+
1289
+ /**
1290
+ * Replace a given string by a given matcher.
1291
+ * @param {PatternMatcher} matcher The pattern matcher.
1292
+ * @param {string} str The string to be replaced.
1293
+ * @param {string} replacement The new substring to replace each matched part.
1294
+ * @returns {string} The replaced string.
1295
+ */
1296
+ function replaceS(matcher, str, replacement) {
1297
+ const chunks = [];
1298
+ let index = 0;
1299
+
1300
+ /** @type {RegExpExecArray} */
1301
+ let match = null;
1302
+
1303
+ /**
1304
+ * @param {string} key The placeholder.
1305
+ * @returns {string} The replaced string.
1306
+ */
1307
+ function replacer(key) {
1308
+ switch (key) {
1309
+ case "$$":
1310
+ return "$"
1311
+ case "$&":
1312
+ return match[0]
1313
+ case "$`":
1314
+ return str.slice(0, match.index)
1315
+ case "$'":
1316
+ return str.slice(match.index + match[0].length)
1317
+ default: {
1318
+ const i = key.slice(1);
1319
+ if (i in match) {
1320
+ return match[i]
1321
+ }
1322
+ return key
1323
+ }
1324
+ }
1325
+ }
1326
+
1327
+ for (match of matcher.execAll(str)) {
1328
+ chunks.push(str.slice(index, match.index));
1329
+ chunks.push(replacement.replace(placeholder, replacer));
1330
+ index = match.index + match[0].length;
1331
+ }
1332
+ chunks.push(str.slice(index));
1333
+
1334
+ return chunks.join("")
1335
+ }
1336
+
1337
+ /**
1338
+ * Replace a given string by a given matcher.
1339
+ * @param {PatternMatcher} matcher The pattern matcher.
1340
+ * @param {string} str The string to be replaced.
1341
+ * @param {(...strs[])=>string} replace The function to replace each matched part.
1342
+ * @returns {string} The replaced string.
1343
+ */
1344
+ function replaceF(matcher, str, replace) {
1345
+ const chunks = [];
1346
+ let index = 0;
1347
+
1348
+ for (const match of matcher.execAll(str)) {
1349
+ chunks.push(str.slice(index, match.index));
1350
+ chunks.push(String(replace(...match, match.index, match.input)));
1351
+ index = match.index + match[0].length;
1352
+ }
1353
+ chunks.push(str.slice(index));
1354
+
1355
+ return chunks.join("")
1356
+ }
1357
+
1358
+ /**
1359
+ * The class to find patterns as considering escape sequences.
1360
+ */
1361
+ class PatternMatcher {
1362
+ /**
1363
+ * Initialize this matcher.
1364
+ * @param {RegExp} pattern The pattern to match.
1365
+ * @param {{escaped:boolean}} options The options.
1366
+ */
1367
+ constructor(pattern, { escaped = false } = {}) {
1368
+ if (!(pattern instanceof RegExp)) {
1369
+ throw new TypeError("'pattern' should be a RegExp instance.")
1370
+ }
1371
+ if (!pattern.flags.includes("g")) {
1372
+ throw new Error("'pattern' should contains 'g' flag.")
1373
+ }
1374
+
1375
+ internal.set(this, {
1376
+ pattern: new RegExp(pattern.source, pattern.flags),
1377
+ escaped: Boolean(escaped),
1378
+ });
1379
+ }
1380
+
1381
+ /**
1382
+ * Find the pattern in a given string.
1383
+ * @param {string} str The string to find.
1384
+ * @returns {IterableIterator<RegExpExecArray>} The iterator which iterate the matched information.
1385
+ */
1386
+ *execAll(str) {
1387
+ const { pattern, escaped } = internal.get(this);
1388
+ let match = null;
1389
+ let lastIndex = 0;
1390
+
1391
+ pattern.lastIndex = 0;
1392
+ while ((match = pattern.exec(str)) != null) {
1393
+ if (escaped || !isEscaped(str, match.index)) {
1394
+ lastIndex = pattern.lastIndex;
1395
+ yield match;
1396
+ pattern.lastIndex = lastIndex;
1397
+ }
1398
+ }
1399
+ }
1400
+
1401
+ /**
1402
+ * Check whether the pattern is found in a given string.
1403
+ * @param {string} str The string to check.
1404
+ * @returns {boolean} `true` if the pattern was found in the string.
1405
+ */
1406
+ test(str) {
1407
+ const it = this.execAll(str);
1408
+ const ret = it.next();
1409
+ return !ret.done
1410
+ }
1411
+
1412
+ /**
1413
+ * Replace a given string.
1414
+ * @param {string} str The string to be replaced.
1415
+ * @param {(string|((...strs:string[])=>string))} replacer The string or function to replace. This is the same as the 2nd argument of `String.prototype.replace`.
1416
+ * @returns {string} The replaced string.
1417
+ */
1418
+ [Symbol.replace](str, replacer) {
1419
+ return typeof replacer === "function"
1420
+ ? replaceF(this, String(str), replacer)
1421
+ : replaceS(this, String(str), String(replacer))
1422
+ }
1423
+ }
1424
+
1425
+ const IMPORT_TYPE = /^(?:Import|Export(?:All|Default|Named))Declaration$/u;
1426
+ const has = Function.call.bind(Object.hasOwnProperty);
1427
+
1428
+ const READ = Symbol("read");
1429
+ const CALL = Symbol("call");
1430
+ const CONSTRUCT = Symbol("construct");
1431
+ const ESM = Symbol("esm");
1432
+
1433
+ const requireCall = { require: { [CALL]: true } };
1434
+
1435
+ /**
1436
+ * Check whether a given variable is modified or not.
1437
+ * @param {Variable} variable The variable to check.
1438
+ * @returns {boolean} `true` if the variable is modified.
1439
+ */
1440
+ function isModifiedGlobal(variable) {
1441
+ return (
1442
+ variable == null ||
1443
+ variable.defs.length !== 0 ||
1444
+ variable.references.some((r) => r.isWrite())
1445
+ )
1446
+ }
1447
+
1448
+ /**
1449
+ * Check if the value of a given node is passed through to the parent syntax as-is.
1450
+ * For example, `a` and `b` in (`a || b` and `c ? a : b`) are passed through.
1451
+ * @param {Node} node A node to check.
1452
+ * @returns {boolean} `true` if the node is passed through.
1453
+ */
1454
+ function isPassThrough(node) {
1455
+ const parent = node.parent;
1456
+
1457
+ switch (parent && parent.type) {
1458
+ case "ConditionalExpression":
1459
+ return parent.consequent === node || parent.alternate === node
1460
+ case "LogicalExpression":
1461
+ return true
1462
+ case "SequenceExpression":
1463
+ return parent.expressions[parent.expressions.length - 1] === node
1464
+ case "ChainExpression":
1465
+ return true
1466
+
1467
+ default:
1468
+ return false
1469
+ }
1470
+ }
1471
+
1472
+ /**
1473
+ * The reference tracker.
1474
+ */
1475
+ class ReferenceTracker {
1476
+ /**
1477
+ * Initialize this tracker.
1478
+ * @param {Scope} globalScope The global scope.
1479
+ * @param {object} [options] The options.
1480
+ * @param {"legacy"|"strict"} [options.mode="strict"] The mode to determine the ImportDeclaration's behavior for CJS modules.
1481
+ * @param {string[]} [options.globalObjectNames=["global","globalThis","self","window"]] The variable names for Global Object.
1482
+ */
1483
+ constructor(
1484
+ globalScope,
1485
+ {
1486
+ mode = "strict",
1487
+ globalObjectNames = ["global", "globalThis", "self", "window"],
1488
+ } = {},
1489
+ ) {
1490
+ this.variableStack = [];
1491
+ this.globalScope = globalScope;
1492
+ this.mode = mode;
1493
+ this.globalObjectNames = globalObjectNames.slice(0);
1494
+ }
1495
+
1496
+ /**
1497
+ * Iterate the references of global variables.
1498
+ * @param {object} traceMap The trace map.
1499
+ * @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
1500
+ */
1501
+ *iterateGlobalReferences(traceMap) {
1502
+ for (const key of Object.keys(traceMap)) {
1503
+ const nextTraceMap = traceMap[key];
1504
+ const path = [key];
1505
+ const variable = this.globalScope.set.get(key);
1506
+
1507
+ if (isModifiedGlobal(variable)) {
1508
+ continue
1509
+ }
1510
+
1511
+ yield* this._iterateVariableReferences(
1512
+ variable,
1513
+ path,
1514
+ nextTraceMap,
1515
+ true,
1516
+ );
1517
+ }
1518
+
1519
+ for (const key of this.globalObjectNames) {
1520
+ const path = [];
1521
+ const variable = this.globalScope.set.get(key);
1522
+
1523
+ if (isModifiedGlobal(variable)) {
1524
+ continue
1525
+ }
1526
+
1527
+ yield* this._iterateVariableReferences(
1528
+ variable,
1529
+ path,
1530
+ traceMap,
1531
+ false,
1532
+ );
1533
+ }
1534
+ }
1535
+
1536
+ /**
1537
+ * Iterate the references of CommonJS modules.
1538
+ * @param {object} traceMap The trace map.
1539
+ * @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
1540
+ */
1541
+ *iterateCjsReferences(traceMap) {
1542
+ for (const { node } of this.iterateGlobalReferences(requireCall)) {
1543
+ const key = getStringIfConstant(node.arguments[0]);
1544
+ if (key == null || !has(traceMap, key)) {
1545
+ continue
1546
+ }
1547
+
1548
+ const nextTraceMap = traceMap[key];
1549
+ const path = [key];
1550
+
1551
+ if (nextTraceMap[READ]) {
1552
+ yield {
1553
+ node,
1554
+ path,
1555
+ type: READ,
1556
+ info: nextTraceMap[READ],
1557
+ };
1558
+ }
1559
+ yield* this._iteratePropertyReferences(node, path, nextTraceMap);
1560
+ }
1561
+ }
1562
+
1563
+ /**
1564
+ * Iterate the references of ES modules.
1565
+ * @param {object} traceMap The trace map.
1566
+ * @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
1567
+ */
1568
+ *iterateEsmReferences(traceMap) {
1569
+ const programNode = this.globalScope.block;
1570
+
1571
+ for (const node of programNode.body) {
1572
+ if (!IMPORT_TYPE.test(node.type) || node.source == null) {
1573
+ continue
1574
+ }
1575
+ const moduleId = node.source.value;
1576
+
1577
+ if (!has(traceMap, moduleId)) {
1578
+ continue
1579
+ }
1580
+ const nextTraceMap = traceMap[moduleId];
1581
+ const path = [moduleId];
1582
+
1583
+ if (nextTraceMap[READ]) {
1584
+ yield { node, path, type: READ, info: nextTraceMap[READ] };
1585
+ }
1586
+
1587
+ if (node.type === "ExportAllDeclaration") {
1588
+ for (const key of Object.keys(nextTraceMap)) {
1589
+ const exportTraceMap = nextTraceMap[key];
1590
+ if (exportTraceMap[READ]) {
1591
+ yield {
1592
+ node,
1593
+ path: path.concat(key),
1594
+ type: READ,
1595
+ info: exportTraceMap[READ],
1596
+ };
1597
+ }
1598
+ }
1599
+ } else {
1600
+ for (const specifier of node.specifiers) {
1601
+ const esm = has(nextTraceMap, ESM);
1602
+ const it = this._iterateImportReferences(
1603
+ specifier,
1604
+ path,
1605
+ esm
1606
+ ? nextTraceMap
1607
+ : this.mode === "legacy"
1608
+ ? { default: nextTraceMap, ...nextTraceMap }
1609
+ : { default: nextTraceMap },
1610
+ );
1611
+
1612
+ if (esm) {
1613
+ yield* it;
1614
+ } else {
1615
+ for (const report of it) {
1616
+ report.path = report.path.filter(exceptDefault);
1617
+ if (
1618
+ report.path.length >= 2 ||
1619
+ report.type !== READ
1620
+ ) {
1621
+ yield report;
1622
+ }
1623
+ }
1624
+ }
1625
+ }
1626
+ }
1627
+ }
1628
+ }
1629
+
1630
+ /**
1631
+ * Iterate the references for a given variable.
1632
+ * @param {Variable} variable The variable to iterate that references.
1633
+ * @param {string[]} path The current path.
1634
+ * @param {object} traceMap The trace map.
1635
+ * @param {boolean} shouldReport = The flag to report those references.
1636
+ * @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
1637
+ */
1638
+ *_iterateVariableReferences(variable, path, traceMap, shouldReport) {
1639
+ if (this.variableStack.includes(variable)) {
1640
+ return
1641
+ }
1642
+ this.variableStack.push(variable);
1643
+ try {
1644
+ for (const reference of variable.references) {
1645
+ if (!reference.isRead()) {
1646
+ continue
1647
+ }
1648
+ const node = reference.identifier;
1649
+
1650
+ if (shouldReport && traceMap[READ]) {
1651
+ yield { node, path, type: READ, info: traceMap[READ] };
1652
+ }
1653
+ yield* this._iteratePropertyReferences(node, path, traceMap);
1654
+ }
1655
+ } finally {
1656
+ this.variableStack.pop();
1657
+ }
1658
+ }
1659
+
1660
+ /**
1661
+ * Iterate the references for a given AST node.
1662
+ * @param rootNode The AST node to iterate references.
1663
+ * @param {string[]} path The current path.
1664
+ * @param {object} traceMap The trace map.
1665
+ * @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
1666
+ */
1667
+ //eslint-disable-next-line complexity
1668
+ *_iteratePropertyReferences(rootNode, path, traceMap) {
1669
+ let node = rootNode;
1670
+ while (isPassThrough(node)) {
1671
+ node = node.parent;
1672
+ }
1673
+
1674
+ const parent = node.parent;
1675
+ if (parent.type === "MemberExpression") {
1676
+ if (parent.object === node) {
1677
+ const key = getPropertyName(parent);
1678
+ if (key == null || !has(traceMap, key)) {
1679
+ return
1680
+ }
1681
+
1682
+ path = path.concat(key); //eslint-disable-line no-param-reassign
1683
+ const nextTraceMap = traceMap[key];
1684
+ if (nextTraceMap[READ]) {
1685
+ yield {
1686
+ node: parent,
1687
+ path,
1688
+ type: READ,
1689
+ info: nextTraceMap[READ],
1690
+ };
1691
+ }
1692
+ yield* this._iteratePropertyReferences(
1693
+ parent,
1694
+ path,
1695
+ nextTraceMap,
1696
+ );
1697
+ }
1698
+ return
1699
+ }
1700
+ if (parent.type === "CallExpression") {
1701
+ if (parent.callee === node && traceMap[CALL]) {
1702
+ yield { node: parent, path, type: CALL, info: traceMap[CALL] };
1703
+ }
1704
+ return
1705
+ }
1706
+ if (parent.type === "NewExpression") {
1707
+ if (parent.callee === node && traceMap[CONSTRUCT]) {
1708
+ yield {
1709
+ node: parent,
1710
+ path,
1711
+ type: CONSTRUCT,
1712
+ info: traceMap[CONSTRUCT],
1713
+ };
1714
+ }
1715
+ return
1716
+ }
1717
+ if (parent.type === "AssignmentExpression") {
1718
+ if (parent.right === node) {
1719
+ yield* this._iterateLhsReferences(parent.left, path, traceMap);
1720
+ yield* this._iteratePropertyReferences(parent, path, traceMap);
1721
+ }
1722
+ return
1723
+ }
1724
+ if (parent.type === "AssignmentPattern") {
1725
+ if (parent.right === node) {
1726
+ yield* this._iterateLhsReferences(parent.left, path, traceMap);
1727
+ }
1728
+ return
1729
+ }
1730
+ if (parent.type === "VariableDeclarator") {
1731
+ if (parent.init === node) {
1732
+ yield* this._iterateLhsReferences(parent.id, path, traceMap);
1733
+ }
1734
+ }
1735
+ }
1736
+
1737
+ /**
1738
+ * Iterate the references for a given Pattern node.
1739
+ * @param {Node} patternNode The Pattern node to iterate references.
1740
+ * @param {string[]} path The current path.
1741
+ * @param {object} traceMap The trace map.
1742
+ * @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
1743
+ */
1744
+ *_iterateLhsReferences(patternNode, path, traceMap) {
1745
+ if (patternNode.type === "Identifier") {
1746
+ const variable = findVariable(this.globalScope, patternNode);
1747
+ if (variable != null) {
1748
+ yield* this._iterateVariableReferences(
1749
+ variable,
1750
+ path,
1751
+ traceMap,
1752
+ false,
1753
+ );
1754
+ }
1755
+ return
1756
+ }
1757
+ if (patternNode.type === "ObjectPattern") {
1758
+ for (const property of patternNode.properties) {
1759
+ const key = getPropertyName(property);
1760
+
1761
+ if (key == null || !has(traceMap, key)) {
1762
+ continue
1763
+ }
1764
+
1765
+ const nextPath = path.concat(key);
1766
+ const nextTraceMap = traceMap[key];
1767
+ if (nextTraceMap[READ]) {
1768
+ yield {
1769
+ node: property,
1770
+ path: nextPath,
1771
+ type: READ,
1772
+ info: nextTraceMap[READ],
1773
+ };
1774
+ }
1775
+ yield* this._iterateLhsReferences(
1776
+ property.value,
1777
+ nextPath,
1778
+ nextTraceMap,
1779
+ );
1780
+ }
1781
+ return
1782
+ }
1783
+ if (patternNode.type === "AssignmentPattern") {
1784
+ yield* this._iterateLhsReferences(patternNode.left, path, traceMap);
1785
+ }
1786
+ }
1787
+
1788
+ /**
1789
+ * Iterate the references for a given ModuleSpecifier node.
1790
+ * @param {Node} specifierNode The ModuleSpecifier node to iterate references.
1791
+ * @param {string[]} path The current path.
1792
+ * @param {object} traceMap The trace map.
1793
+ * @returns {IterableIterator<{node:Node,path:string[],type:symbol,info:any}>} The iterator to iterate references.
1794
+ */
1795
+ *_iterateImportReferences(specifierNode, path, traceMap) {
1796
+ const type = specifierNode.type;
1797
+
1798
+ if (type === "ImportSpecifier" || type === "ImportDefaultSpecifier") {
1799
+ const key =
1800
+ type === "ImportDefaultSpecifier"
1801
+ ? "default"
1802
+ : specifierNode.imported.name;
1803
+ if (!has(traceMap, key)) {
1804
+ return
1805
+ }
1806
+
1807
+ path = path.concat(key); //eslint-disable-line no-param-reassign
1808
+ const nextTraceMap = traceMap[key];
1809
+ if (nextTraceMap[READ]) {
1810
+ yield {
1811
+ node: specifierNode,
1812
+ path,
1813
+ type: READ,
1814
+ info: nextTraceMap[READ],
1815
+ };
1816
+ }
1817
+ yield* this._iterateVariableReferences(
1818
+ findVariable(this.globalScope, specifierNode.local),
1819
+ path,
1820
+ nextTraceMap,
1821
+ false,
1822
+ );
1823
+
1824
+ return
1825
+ }
1826
+
1827
+ if (type === "ImportNamespaceSpecifier") {
1828
+ yield* this._iterateVariableReferences(
1829
+ findVariable(this.globalScope, specifierNode.local),
1830
+ path,
1831
+ traceMap,
1832
+ false,
1833
+ );
1834
+ return
1835
+ }
1836
+
1837
+ if (type === "ExportSpecifier") {
1838
+ const key = specifierNode.local.name;
1839
+ if (!has(traceMap, key)) {
1840
+ return
1841
+ }
1842
+
1843
+ path = path.concat(key); //eslint-disable-line no-param-reassign
1844
+ const nextTraceMap = traceMap[key];
1845
+ if (nextTraceMap[READ]) {
1846
+ yield {
1847
+ node: specifierNode,
1848
+ path,
1849
+ type: READ,
1850
+ info: nextTraceMap[READ],
1851
+ };
1852
+ }
1853
+ }
1854
+ }
1855
+ }
1856
+
1857
+ ReferenceTracker.READ = READ;
1858
+ ReferenceTracker.CALL = CALL;
1859
+ ReferenceTracker.CONSTRUCT = CONSTRUCT;
1860
+ ReferenceTracker.ESM = ESM;
1861
+
1862
+ /**
1863
+ * This is a predicate function for Array#filter.
1864
+ * @param {string} name A name part.
1865
+ * @param {number} index The index of the name.
1866
+ * @returns {boolean} `false` if it's default.
1867
+ */
1868
+ function exceptDefault(name, index) {
1869
+ return !(index === 1 && name === "default")
1870
+ }
1871
+
1872
+ var index = {
1873
+ CALL,
1874
+ CONSTRUCT,
1875
+ ESM,
1876
+ findVariable,
1877
+ getFunctionHeadLocation,
1878
+ getFunctionNameWithKind,
1879
+ getInnermostScope,
1880
+ getPropertyName,
1881
+ getStaticValue,
1882
+ getStringIfConstant,
1883
+ hasSideEffect,
1884
+ isArrowToken,
1885
+ isClosingBraceToken,
1886
+ isClosingBracketToken,
1887
+ isClosingParenToken,
1888
+ isColonToken,
1889
+ isCommaToken,
1890
+ isCommentToken,
1891
+ isNotArrowToken,
1892
+ isNotClosingBraceToken,
1893
+ isNotClosingBracketToken,
1894
+ isNotClosingParenToken,
1895
+ isNotColonToken,
1896
+ isNotCommaToken,
1897
+ isNotCommentToken,
1898
+ isNotOpeningBraceToken,
1899
+ isNotOpeningBracketToken,
1900
+ isNotOpeningParenToken,
1901
+ isNotSemicolonToken,
1902
+ isOpeningBraceToken,
1903
+ isOpeningBracketToken,
1904
+ isOpeningParenToken,
1905
+ isParenthesized,
1906
+ isSemicolonToken,
1907
+ PatternMatcher,
1908
+ READ,
1909
+ ReferenceTracker,
1910
+ };
1911
+
1912
+ export default index;
1913
+ export { CALL, CONSTRUCT, ESM, PatternMatcher, READ, ReferenceTracker, findVariable, getFunctionHeadLocation, getFunctionNameWithKind, getInnermostScope, getPropertyName, getStaticValue, getStringIfConstant, hasSideEffect, isArrowToken, isClosingBraceToken, isClosingBracketToken, isClosingParenToken, isColonToken, isCommaToken, isCommentToken, isNotArrowToken, isNotClosingBraceToken, isNotClosingBracketToken, isNotClosingParenToken, isNotColonToken, isNotCommaToken, isNotCommentToken, isNotOpeningBraceToken, isNotOpeningBracketToken, isNotOpeningParenToken, isNotSemicolonToken, isOpeningBraceToken, isOpeningBracketToken, isOpeningParenToken, isParenthesized, isSemicolonToken };
1914
+ //# sourceMappingURL=index.mjs.map