decidim 0.27.1 → 0.27.2

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