decidim 0.27.0 → 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 (1613) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +8 -1
  3. data/docs/antora.yml +1 -1
  4. data/docs/modules/install/pages/manual.adoc +9 -9
  5. data/lib/decidim/version.rb +1 -1
  6. data/package-lock.json +7 -7
  7. data/packages/browserslist-config/package.json +1 -1
  8. data/packages/core/package.json +1 -1
  9. data/packages/dev/package.json +1 -1
  10. data/packages/elections/package.json +1 -1
  11. data/packages/eslint-config/package.json +1 -1
  12. data/packages/stylelint-config/package.json +1 -1
  13. data/packages/webpacker/package.json +1 -1
  14. metadata +43 -1642
  15. data/packages/core/node_modules/@rails/activestorage/CHANGELOG.md +0 -306
  16. data/packages/core/node_modules/@rails/activestorage/README.md +0 -194
  17. data/packages/core/node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js +0 -942
  18. data/packages/core/node_modules/@rails/activestorage/package.json +0 -41
  19. data/packages/core/node_modules/@rails/activestorage/src/blob_record.js +0 -73
  20. data/packages/core/node_modules/@rails/activestorage/src/blob_upload.js +0 -35
  21. data/packages/core/node_modules/@rails/activestorage/src/direct_upload.js +0 -48
  22. data/packages/core/node_modules/@rails/activestorage/src/direct_upload_controller.js +0 -67
  23. data/packages/core/node_modules/@rails/activestorage/src/direct_uploads_controller.js +0 -50
  24. data/packages/core/node_modules/@rails/activestorage/src/file_checksum.js +0 -53
  25. data/packages/core/node_modules/@rails/activestorage/src/helpers.js +0 -51
  26. data/packages/core/node_modules/@rails/activestorage/src/index.js +0 -11
  27. data/packages/core/node_modules/@rails/activestorage/src/ujs.js +0 -86
  28. data/packages/webpacker/node_modules/@eslint/eslintrc/LICENSE +0 -21
  29. data/packages/webpacker/node_modules/@eslint/eslintrc/README.md +0 -61
  30. data/packages/webpacker/node_modules/@eslint/eslintrc/conf/config-schema.js +0 -79
  31. data/packages/webpacker/node_modules/@eslint/eslintrc/conf/environments.js +0 -203
  32. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +0 -1092
  33. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +0 -1
  34. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +0 -4295
  35. data/packages/webpacker/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +0 -1
  36. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +0 -533
  37. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +0 -523
  38. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +0 -115
  39. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +0 -145
  40. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +0 -238
  41. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/index.js +0 -19
  42. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +0 -225
  43. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/config-array-factory.js +0 -1133
  44. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/flat-compat.js +0 -307
  45. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/index-universal.js +0 -29
  46. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/index.js +0 -56
  47. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/ajv.js +0 -191
  48. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +0 -135
  49. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +0 -325
  50. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +0 -63
  51. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/naming.js +0 -96
  52. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +0 -42
  53. data/packages/webpacker/node_modules/@eslint/eslintrc/lib/shared/types.js +0 -149
  54. data/packages/webpacker/node_modules/@eslint/eslintrc/package.json +0 -81
  55. data/packages/webpacker/node_modules/@eslint/eslintrc/universal.js +0 -9
  56. data/packages/webpacker/node_modules/@humanwhocodes/config-array/CHANGELOG.md +0 -71
  57. data/packages/webpacker/node_modules/@humanwhocodes/config-array/LICENSE +0 -201
  58. data/packages/webpacker/node_modules/@humanwhocodes/config-array/README.md +0 -301
  59. data/packages/webpacker/node_modules/@humanwhocodes/config-array/api.js +0 -695
  60. data/packages/webpacker/node_modules/@humanwhocodes/config-array/package.json +0 -61
  61. data/packages/webpacker/node_modules/@jest/console/LICENSE +0 -21
  62. data/packages/webpacker/node_modules/@jest/console/build/BufferedConsole.d.ts +0 -37
  63. data/packages/webpacker/node_modules/@jest/console/build/BufferedConsole.js +0 -258
  64. data/packages/webpacker/node_modules/@jest/console/build/CustomConsole.d.ts +0 -41
  65. data/packages/webpacker/node_modules/@jest/console/build/CustomConsole.js +0 -240
  66. data/packages/webpacker/node_modules/@jest/console/build/NullConsole.d.ts +0 -23
  67. data/packages/webpacker/node_modules/@jest/console/build/NullConsole.js +0 -50
  68. data/packages/webpacker/node_modules/@jest/console/build/getConsoleOutput.d.ts +0 -10
  69. data/packages/webpacker/node_modules/@jest/console/build/getConsoleOutput.js +0 -101
  70. data/packages/webpacker/node_modules/@jest/console/build/index.d.ts +0 -11
  71. data/packages/webpacker/node_modules/@jest/console/build/index.js +0 -41
  72. data/packages/webpacker/node_modules/@jest/console/build/types.d.ts +0 -20
  73. data/packages/webpacker/node_modules/@jest/console/build/types.js +0 -1
  74. data/packages/webpacker/node_modules/@jest/console/package.json +0 -38
  75. data/packages/webpacker/node_modules/@jest/core/LICENSE +0 -21
  76. data/packages/webpacker/node_modules/@jest/core/README.md +0 -3
  77. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsCache.d.ts +0 -12
  78. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsCache.js +0 -59
  79. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsInteractiveMode.d.ts +0 -31
  80. data/packages/webpacker/node_modules/@jest/core/build/FailedTestsInteractiveMode.js +0 -262
  81. data/packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.d.ts +0 -22
  82. data/packages/webpacker/node_modules/@jest/core/build/ReporterDispatcher.js +0 -104
  83. data/packages/webpacker/node_modules/@jest/core/build/SearchSource.d.ts +0 -46
  84. data/packages/webpacker/node_modules/@jest/core/build/SearchSource.js +0 -490
  85. data/packages/webpacker/node_modules/@jest/core/build/SnapshotInteractiveMode.d.ts +0 -30
  86. data/packages/webpacker/node_modules/@jest/core/build/SnapshotInteractiveMode.js +0 -327
  87. data/packages/webpacker/node_modules/@jest/core/build/TestNamePatternPrompt.d.ts +0 -17
  88. data/packages/webpacker/node_modules/@jest/core/build/TestNamePatternPrompt.js +0 -86
  89. data/packages/webpacker/node_modules/@jest/core/build/TestPathPatternPrompt.d.ts +0 -24
  90. data/packages/webpacker/node_modules/@jest/core/build/TestPathPatternPrompt.js +0 -81
  91. data/packages/webpacker/node_modules/@jest/core/build/TestScheduler.d.ts +0 -42
  92. data/packages/webpacker/node_modules/@jest/core/build/TestScheduler.js +0 -570
  93. data/packages/webpacker/node_modules/@jest/core/build/TestWatcher.d.ts +0 -23
  94. data/packages/webpacker/node_modules/@jest/core/build/TestWatcher.js +0 -64
  95. data/packages/webpacker/node_modules/@jest/core/build/assets/jest_logo.png +0 -0
  96. data/packages/webpacker/node_modules/@jest/core/build/cli/index.d.ts +0 -12
  97. data/packages/webpacker/node_modules/@jest/core/build/cli/index.js +0 -399
  98. data/packages/webpacker/node_modules/@jest/core/build/collectHandles.d.ts +0 -10
  99. data/packages/webpacker/node_modules/@jest/core/build/collectHandles.js +0 -269
  100. data/packages/webpacker/node_modules/@jest/core/build/getChangedFilesPromise.d.ts +0 -9
  101. data/packages/webpacker/node_modules/@jest/core/build/getChangedFilesPromise.js +0 -77
  102. data/packages/webpacker/node_modules/@jest/core/build/getConfigsOfProjectsToRun.d.ts +0 -8
  103. data/packages/webpacker/node_modules/@jest/core/build/getConfigsOfProjectsToRun.js +0 -28
  104. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFound.d.ts +0 -9
  105. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFound.js +0 -63
  106. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundFailed.d.ts +0 -8
  107. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundFailed.js +0 -51
  108. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.d.ts +0 -7
  109. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js +0 -30
  110. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.d.ts +0 -8
  111. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js +0 -57
  112. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundVerbose.d.ts +0 -9
  113. data/packages/webpacker/node_modules/@jest/core/build/getNoTestFoundVerbose.js +0 -95
  114. data/packages/webpacker/node_modules/@jest/core/build/getNoTestsFoundMessage.d.ts +0 -9
  115. data/packages/webpacker/node_modules/@jest/core/build/getNoTestsFoundMessage.js +0 -52
  116. data/packages/webpacker/node_modules/@jest/core/build/getProjectDisplayName.d.ts +0 -8
  117. data/packages/webpacker/node_modules/@jest/core/build/getProjectDisplayName.js +0 -23
  118. data/packages/webpacker/node_modules/@jest/core/build/getProjectNamesMissingWarning.d.ts +0 -8
  119. data/packages/webpacker/node_modules/@jest/core/build/getProjectNamesMissingWarning.js +0 -49
  120. data/packages/webpacker/node_modules/@jest/core/build/getSelectProjectsMessage.d.ts +0 -8
  121. data/packages/webpacker/node_modules/@jest/core/build/getSelectProjectsMessage.js +0 -65
  122. data/packages/webpacker/node_modules/@jest/core/build/jest.d.ts +0 -11
  123. data/packages/webpacker/node_modules/@jest/core/build/jest.js +0 -49
  124. data/packages/webpacker/node_modules/@jest/core/build/lib/activeFiltersMessage.d.ts +0 -9
  125. data/packages/webpacker/node_modules/@jest/core/build/lib/activeFiltersMessage.js +0 -54
  126. data/packages/webpacker/node_modules/@jest/core/build/lib/createContext.d.ts +0 -10
  127. data/packages/webpacker/node_modules/@jest/core/build/lib/createContext.js +0 -35
  128. data/packages/webpacker/node_modules/@jest/core/build/lib/handleDeprecationWarnings.d.ts +0 -8
  129. data/packages/webpacker/node_modules/@jest/core/build/lib/handleDeprecationWarnings.js +0 -72
  130. data/packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.d.ts +0 -8
  131. data/packages/webpacker/node_modules/@jest/core/build/lib/isValidPath.js +0 -29
  132. data/packages/webpacker/node_modules/@jest/core/build/lib/logDebugMessages.d.ts +0 -9
  133. data/packages/webpacker/node_modules/@jest/core/build/lib/logDebugMessages.js +0 -23
  134. data/packages/webpacker/node_modules/@jest/core/build/lib/updateGlobalConfig.d.ts +0 -11
  135. data/packages/webpacker/node_modules/@jest/core/build/lib/updateGlobalConfig.js +0 -121
  136. data/packages/webpacker/node_modules/@jest/core/build/lib/watchPluginsHelpers.d.ts +0 -10
  137. data/packages/webpacker/node_modules/@jest/core/build/lib/watchPluginsHelpers.js +0 -62
  138. data/packages/webpacker/node_modules/@jest/core/build/plugins/FailedTestsInteractive.d.ts +0 -17
  139. data/packages/webpacker/node_modules/@jest/core/build/plugins/FailedTestsInteractive.js +0 -135
  140. data/packages/webpacker/node_modules/@jest/core/build/plugins/Quit.d.ts +0 -18
  141. data/packages/webpacker/node_modules/@jest/core/build/plugins/Quit.js +0 -60
  142. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestNamePattern.d.ts +0 -21
  143. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestNamePattern.js +0 -91
  144. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestPathPattern.d.ts +0 -21
  145. data/packages/webpacker/node_modules/@jest/core/build/plugins/TestPathPattern.js +0 -91
  146. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshots.d.ts +0 -21
  147. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshots.js +0 -70
  148. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.d.ts +0 -20
  149. data/packages/webpacker/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.js +0 -138
  150. data/packages/webpacker/node_modules/@jest/core/build/pluralize.d.ts +0 -7
  151. data/packages/webpacker/node_modules/@jest/core/build/pluralize.js +0 -16
  152. data/packages/webpacker/node_modules/@jest/core/build/runGlobalHook.d.ts +0 -13
  153. data/packages/webpacker/node_modules/@jest/core/build/runGlobalHook.js +0 -143
  154. data/packages/webpacker/node_modules/@jest/core/build/runJest.d.ts +0 -27
  155. data/packages/webpacker/node_modules/@jest/core/build/runJest.js +0 -423
  156. data/packages/webpacker/node_modules/@jest/core/build/testSchedulerHelper.d.ts +0 -9
  157. data/packages/webpacker/node_modules/@jest/core/build/testSchedulerHelper.js +0 -51
  158. data/packages/webpacker/node_modules/@jest/core/build/types.d.ts +0 -39
  159. data/packages/webpacker/node_modules/@jest/core/build/types.js +0 -1
  160. data/packages/webpacker/node_modules/@jest/core/build/version.d.ts +0 -7
  161. data/packages/webpacker/node_modules/@jest/core/build/version.js +0 -19
  162. data/packages/webpacker/node_modules/@jest/core/build/watch.d.ts +0 -13
  163. data/packages/webpacker/node_modules/@jest/core/build/watch.js +0 -769
  164. data/packages/webpacker/node_modules/@jest/core/package.json +0 -103
  165. data/packages/webpacker/node_modules/@jest/environment/LICENSE +0 -21
  166. data/packages/webpacker/node_modules/@jest/environment/build/index.d.ts +0 -267
  167. data/packages/webpacker/node_modules/@jest/environment/build/index.js +0 -1
  168. data/packages/webpacker/node_modules/@jest/environment/package.json +0 -32
  169. data/packages/webpacker/node_modules/@jest/fake-timers/LICENSE +0 -21
  170. data/packages/webpacker/node_modules/@jest/fake-timers/build/index.d.ts +0 -8
  171. data/packages/webpacker/node_modules/@jest/fake-timers/build/index.js +0 -25
  172. data/packages/webpacker/node_modules/@jest/fake-timers/build/legacyFakeTimers.d.ts +0 -67
  173. data/packages/webpacker/node_modules/@jest/fake-timers/build/legacyFakeTimers.js +0 -673
  174. data/packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.d.ts +0 -34
  175. data/packages/webpacker/node_modules/@jest/fake-timers/build/modernFakeTimers.js +0 -181
  176. data/packages/webpacker/node_modules/@jest/fake-timers/package.json +0 -37
  177. data/packages/webpacker/node_modules/@jest/globals/LICENSE +0 -21
  178. data/packages/webpacker/node_modules/@jest/globals/build/index.d.ts +0 -23
  179. data/packages/webpacker/node_modules/@jest/globals/build/index.js +0 -25
  180. data/packages/webpacker/node_modules/@jest/globals/package.json +0 -31
  181. data/packages/webpacker/node_modules/@jest/reporters/LICENSE +0 -21
  182. data/packages/webpacker/node_modules/@jest/reporters/build/BaseReporter.d.ts +0 -19
  183. data/packages/webpacker/node_modules/@jest/reporters/build/BaseReporter.js +0 -65
  184. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageReporter.d.ts +0 -24
  185. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageReporter.js +0 -668
  186. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageWorker.d.ts +0 -17
  187. data/packages/webpacker/node_modules/@jest/reporters/build/CoverageWorker.js +0 -103
  188. data/packages/webpacker/node_modules/@jest/reporters/build/DefaultReporter.d.ts +0 -33
  189. data/packages/webpacker/node_modules/@jest/reporters/build/DefaultReporter.js +0 -254
  190. data/packages/webpacker/node_modules/@jest/reporters/build/NotifyReporter.d.ts +0 -19
  191. data/packages/webpacker/node_modules/@jest/reporters/build/NotifyReporter.js +0 -256
  192. data/packages/webpacker/node_modules/@jest/reporters/build/Status.d.ts +0 -42
  193. data/packages/webpacker/node_modules/@jest/reporters/build/Status.js +0 -272
  194. data/packages/webpacker/node_modules/@jest/reporters/build/SummaryReporter.d.ts +0 -22
  195. data/packages/webpacker/node_modules/@jest/reporters/build/SummaryReporter.js +0 -271
  196. data/packages/webpacker/node_modules/@jest/reporters/build/VerboseReporter.d.ts +0 -27
  197. data/packages/webpacker/node_modules/@jest/reporters/build/VerboseReporter.js +0 -226
  198. data/packages/webpacker/node_modules/@jest/reporters/build/generateEmptyCoverage.d.ts +0 -19
  199. data/packages/webpacker/node_modules/@jest/reporters/build/generateEmptyCoverage.js +0 -168
  200. data/packages/webpacker/node_modules/@jest/reporters/build/getResultHeader.d.ts +0 -9
  201. data/packages/webpacker/node_modules/@jest/reporters/build/getResultHeader.js +0 -104
  202. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotStatus.d.ts +0 -8
  203. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotStatus.js +0 -111
  204. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotSummary.d.ts +0 -9
  205. data/packages/webpacker/node_modules/@jest/reporters/build/getSnapshotSummary.js +0 -203
  206. data/packages/webpacker/node_modules/@jest/reporters/build/getWatermarks.d.ts +0 -9
  207. data/packages/webpacker/node_modules/@jest/reporters/build/getWatermarks.js +0 -47
  208. data/packages/webpacker/node_modules/@jest/reporters/build/index.d.ts +0 -27
  209. data/packages/webpacker/node_modules/@jest/reporters/build/index.js +0 -78
  210. data/packages/webpacker/node_modules/@jest/reporters/build/types.d.ts +0 -75
  211. data/packages/webpacker/node_modules/@jest/reporters/build/types.js +0 -1
  212. data/packages/webpacker/node_modules/@jest/reporters/build/utils.d.ts +0 -18
  213. data/packages/webpacker/node_modules/@jest/reporters/build/utils.js +0 -435
  214. data/packages/webpacker/node_modules/@jest/reporters/package.json +0 -80
  215. data/packages/webpacker/node_modules/@jest/source-map/LICENSE +0 -21
  216. data/packages/webpacker/node_modules/@jest/source-map/build/getCallsite.d.ts +0 -9
  217. data/packages/webpacker/node_modules/@jest/source-map/build/getCallsite.js +0 -108
  218. data/packages/webpacker/node_modules/@jest/source-map/build/index.d.ts +0 -8
  219. data/packages/webpacker/node_modules/@jest/source-map/build/index.js +0 -17
  220. data/packages/webpacker/node_modules/@jest/source-map/build/types.d.ts +0 -7
  221. data/packages/webpacker/node_modules/@jest/source-map/build/types.js +0 -1
  222. data/packages/webpacker/node_modules/@jest/source-map/package.json +0 -34
  223. data/packages/webpacker/node_modules/@jest/test-result/LICENSE +0 -21
  224. data/packages/webpacker/node_modules/@jest/test-result/build/formatTestResults.d.ts +0 -8
  225. data/packages/webpacker/node_modules/@jest/test-result/build/formatTestResults.js +0 -70
  226. data/packages/webpacker/node_modules/@jest/test-result/build/helpers.d.ts +0 -12
  227. data/packages/webpacker/node_modules/@jest/test-result/build/helpers.js +0 -188
  228. data/packages/webpacker/node_modules/@jest/test-result/build/index.d.ts +0 -9
  229. data/packages/webpacker/node_modules/@jest/test-result/build/index.js +0 -43
  230. data/packages/webpacker/node_modules/@jest/test-result/build/types.d.ts +0 -171
  231. data/packages/webpacker/node_modules/@jest/test-result/build/types.js +0 -1
  232. data/packages/webpacker/node_modules/@jest/test-result/package.json +0 -32
  233. data/packages/webpacker/node_modules/@jest/test-sequencer/LICENSE +0 -21
  234. data/packages/webpacker/node_modules/@jest/test-sequencer/build/index.d.ts +0 -51
  235. data/packages/webpacker/node_modules/@jest/test-sequencer/build/index.js +0 -237
  236. data/packages/webpacker/node_modules/@jest/test-sequencer/package.json +0 -35
  237. data/packages/webpacker/node_modules/@jest/transform/LICENSE +0 -21
  238. data/packages/webpacker/node_modules/@jest/transform/build/ScriptTransformer.d.ts +0 -40
  239. data/packages/webpacker/node_modules/@jest/transform/build/ScriptTransformer.js +0 -1115
  240. data/packages/webpacker/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.d.ts +0 -12
  241. data/packages/webpacker/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.js +0 -83
  242. data/packages/webpacker/node_modules/@jest/transform/build/index.d.ts +0 -11
  243. data/packages/webpacker/node_modules/@jest/transform/build/index.js +0 -41
  244. data/packages/webpacker/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.d.ts +0 -10
  245. data/packages/webpacker/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.js +0 -101
  246. data/packages/webpacker/node_modules/@jest/transform/build/shouldInstrument.d.ts +0 -9
  247. data/packages/webpacker/node_modules/@jest/transform/build/shouldInstrument.js +0 -207
  248. data/packages/webpacker/node_modules/@jest/transform/build/types.d.ts +0 -75
  249. data/packages/webpacker/node_modules/@jest/transform/build/types.js +0 -1
  250. data/packages/webpacker/node_modules/@jest/transform/package.json +0 -53
  251. data/packages/webpacker/node_modules/@jest/types/LICENSE +0 -21
  252. data/packages/webpacker/node_modules/@jest/types/build/Circus.d.ts +0 -193
  253. data/packages/webpacker/node_modules/@jest/types/build/Circus.js +0 -1
  254. data/packages/webpacker/node_modules/@jest/types/build/Config.d.ts +0 -462
  255. data/packages/webpacker/node_modules/@jest/types/build/Config.js +0 -1
  256. data/packages/webpacker/node_modules/@jest/types/build/Global.d.ts +0 -95
  257. data/packages/webpacker/node_modules/@jest/types/build/Global.js +0 -1
  258. data/packages/webpacker/node_modules/@jest/types/build/TestResult.d.ts +0 -31
  259. data/packages/webpacker/node_modules/@jest/types/build/TestResult.js +0 -1
  260. data/packages/webpacker/node_modules/@jest/types/build/Transform.d.ts +0 -11
  261. data/packages/webpacker/node_modules/@jest/types/build/Transform.js +0 -1
  262. data/packages/webpacker/node_modules/@jest/types/build/index.d.ts +0 -12
  263. data/packages/webpacker/node_modules/@jest/types/build/index.js +0 -1
  264. data/packages/webpacker/node_modules/@jest/types/package.json +0 -37
  265. data/packages/webpacker/node_modules/@sinonjs/fake-timers/CHANGELOG.md +0 -441
  266. data/packages/webpacker/node_modules/@sinonjs/fake-timers/LICENSE +0 -11
  267. data/packages/webpacker/node_modules/@sinonjs/fake-timers/README.md +0 -353
  268. data/packages/webpacker/node_modules/@sinonjs/fake-timers/package.json +0 -71
  269. data/packages/webpacker/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js +0 -1728
  270. data/packages/webpacker/node_modules/@types/yargs/LICENSE +0 -21
  271. data/packages/webpacker/node_modules/@types/yargs/README.md +0 -16
  272. data/packages/webpacker/node_modules/@types/yargs/helpers.d.ts +0 -5
  273. data/packages/webpacker/node_modules/@types/yargs/index.d.ts +0 -844
  274. data/packages/webpacker/node_modules/@types/yargs/package.json +0 -62
  275. data/packages/webpacker/node_modules/@types/yargs/yargs.d.ts +0 -9
  276. data/packages/webpacker/node_modules/acorn/CHANGELOG.md +0 -788
  277. data/packages/webpacker/node_modules/acorn/LICENSE +0 -21
  278. data/packages/webpacker/node_modules/acorn/README.md +0 -280
  279. data/packages/webpacker/node_modules/acorn/bin/acorn +0 -4
  280. data/packages/webpacker/node_modules/acorn/dist/acorn.d.ts +0 -214
  281. data/packages/webpacker/node_modules/acorn/dist/acorn.js +0 -5619
  282. data/packages/webpacker/node_modules/acorn/dist/acorn.mjs +0 -5588
  283. data/packages/webpacker/node_modules/acorn/dist/acorn.mjs.d.ts +0 -2
  284. data/packages/webpacker/node_modules/acorn/dist/bin.js +0 -91
  285. data/packages/webpacker/node_modules/acorn/package.json +0 -46
  286. data/packages/webpacker/node_modules/ansi-styles/index.d.ts +0 -345
  287. data/packages/webpacker/node_modules/ansi-styles/index.js +0 -163
  288. data/packages/webpacker/node_modules/ansi-styles/license +0 -9
  289. data/packages/webpacker/node_modules/ansi-styles/package.json +0 -56
  290. data/packages/webpacker/node_modules/ansi-styles/readme.md +0 -152
  291. data/packages/webpacker/node_modules/babel-jest/LICENSE +0 -21
  292. data/packages/webpacker/node_modules/babel-jest/README.md +0 -25
  293. data/packages/webpacker/node_modules/babel-jest/build/index.d.ts +0 -10
  294. data/packages/webpacker/node_modules/babel-jest/build/index.js +0 -386
  295. data/packages/webpacker/node_modules/babel-jest/build/loadBabelConfig.d.ts +0 -7
  296. data/packages/webpacker/node_modules/babel-jest/build/loadBabelConfig.js +0 -27
  297. data/packages/webpacker/node_modules/babel-jest/package.json +0 -45
  298. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/LICENSE +0 -21
  299. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/README.md +0 -33
  300. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/build/index.d.ts +0 -13
  301. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/build/index.js +0 -389
  302. data/packages/webpacker/node_modules/babel-plugin-jest-hoist/package.json +0 -41
  303. data/packages/webpacker/node_modules/babel-preset-jest/LICENSE +0 -21
  304. data/packages/webpacker/node_modules/babel-preset-jest/README.md +0 -33
  305. data/packages/webpacker/node_modules/babel-preset-jest/index.js +0 -14
  306. data/packages/webpacker/node_modules/babel-preset-jest/package.json +0 -29
  307. data/packages/webpacker/node_modules/camelcase/index.d.ts +0 -103
  308. data/packages/webpacker/node_modules/camelcase/index.js +0 -113
  309. data/packages/webpacker/node_modules/camelcase/license +0 -9
  310. data/packages/webpacker/node_modules/camelcase/package.json +0 -44
  311. data/packages/webpacker/node_modules/camelcase/readme.md +0 -144
  312. data/packages/webpacker/node_modules/chalk/index.d.ts +0 -415
  313. data/packages/webpacker/node_modules/chalk/license +0 -9
  314. data/packages/webpacker/node_modules/chalk/package.json +0 -68
  315. data/packages/webpacker/node_modules/chalk/readme.md +0 -341
  316. data/packages/webpacker/node_modules/chalk/source/index.js +0 -229
  317. data/packages/webpacker/node_modules/chalk/source/templates.js +0 -134
  318. data/packages/webpacker/node_modules/chalk/source/util.js +0 -39
  319. data/packages/webpacker/node_modules/ci-info/CHANGELOG.md +0 -122
  320. data/packages/webpacker/node_modules/ci-info/LICENSE +0 -21
  321. data/packages/webpacker/node_modules/ci-info/README.md +0 -118
  322. data/packages/webpacker/node_modules/ci-info/index.d.ts +0 -62
  323. data/packages/webpacker/node_modules/ci-info/index.js +0 -66
  324. data/packages/webpacker/node_modules/ci-info/package.json +0 -36
  325. data/packages/webpacker/node_modules/ci-info/vendors.json +0 -210
  326. data/packages/webpacker/node_modules/cjs-module-lexer/CHANGELOG.md +0 -40
  327. data/packages/webpacker/node_modules/cjs-module-lexer/LICENSE +0 -10
  328. data/packages/webpacker/node_modules/cjs-module-lexer/README.md +0 -453
  329. data/packages/webpacker/node_modules/cjs-module-lexer/dist/lexer.js +0 -1
  330. data/packages/webpacker/node_modules/cjs-module-lexer/dist/lexer.mjs +0 -2
  331. data/packages/webpacker/node_modules/cjs-module-lexer/lexer.d.ts +0 -7
  332. data/packages/webpacker/node_modules/cjs-module-lexer/lexer.js +0 -1438
  333. data/packages/webpacker/node_modules/cjs-module-lexer/package.json +0 -43
  334. data/packages/webpacker/node_modules/cliui/CHANGELOG.md +0 -121
  335. data/packages/webpacker/node_modules/cliui/LICENSE.txt +0 -14
  336. data/packages/webpacker/node_modules/cliui/README.md +0 -141
  337. data/packages/webpacker/node_modules/cliui/build/index.cjs +0 -302
  338. data/packages/webpacker/node_modules/cliui/build/lib/index.js +0 -287
  339. data/packages/webpacker/node_modules/cliui/build/lib/string-utils.js +0 -27
  340. data/packages/webpacker/node_modules/cliui/index.mjs +0 -13
  341. data/packages/webpacker/node_modules/cliui/package.json +0 -83
  342. data/packages/webpacker/node_modules/color-convert/CHANGELOG.md +0 -54
  343. data/packages/webpacker/node_modules/color-convert/LICENSE +0 -21
  344. data/packages/webpacker/node_modules/color-convert/README.md +0 -68
  345. data/packages/webpacker/node_modules/color-convert/conversions.js +0 -839
  346. data/packages/webpacker/node_modules/color-convert/index.js +0 -81
  347. data/packages/webpacker/node_modules/color-convert/package.json +0 -48
  348. data/packages/webpacker/node_modules/color-convert/route.js +0 -97
  349. data/packages/webpacker/node_modules/color-name/LICENSE +0 -8
  350. data/packages/webpacker/node_modules/color-name/README.md +0 -11
  351. data/packages/webpacker/node_modules/color-name/index.js +0 -152
  352. data/packages/webpacker/node_modules/color-name/package.json +0 -28
  353. data/packages/webpacker/node_modules/diff-sequences/LICENSE +0 -21
  354. data/packages/webpacker/node_modules/diff-sequences/README.md +0 -404
  355. data/packages/webpacker/node_modules/diff-sequences/build/index.d.ts +0 -18
  356. data/packages/webpacker/node_modules/diff-sequences/build/index.js +0 -816
  357. data/packages/webpacker/node_modules/diff-sequences/package.json +0 -42
  358. data/packages/webpacker/node_modules/diff-sequences/perf/example.md +0 -48
  359. data/packages/webpacker/node_modules/diff-sequences/perf/index.js +0 -170
  360. data/packages/webpacker/node_modules/emittery/index.d.ts +0 -432
  361. data/packages/webpacker/node_modules/emittery/index.js +0 -408
  362. data/packages/webpacker/node_modules/emittery/license +0 -9
  363. data/packages/webpacker/node_modules/emittery/package.json +0 -66
  364. data/packages/webpacker/node_modules/emittery/readme.md +0 -409
  365. data/packages/webpacker/node_modules/escape-string-regexp/index.d.ts +0 -18
  366. data/packages/webpacker/node_modules/escape-string-regexp/index.js +0 -13
  367. data/packages/webpacker/node_modules/escape-string-regexp/license +0 -9
  368. data/packages/webpacker/node_modules/escape-string-regexp/package.json +0 -38
  369. data/packages/webpacker/node_modules/escape-string-regexp/readme.md +0 -34
  370. data/packages/webpacker/node_modules/eslint/LICENSE +0 -19
  371. data/packages/webpacker/node_modules/eslint/README.md +0 -304
  372. data/packages/webpacker/node_modules/eslint/bin/eslint.js +0 -142
  373. data/packages/webpacker/node_modules/eslint/conf/config-schema.js +0 -93
  374. data/packages/webpacker/node_modules/eslint/conf/default-cli-options.js +0 -32
  375. data/packages/webpacker/node_modules/eslint/conf/eslint-all.js +0 -31
  376. data/packages/webpacker/node_modules/eslint/conf/eslint-recommended.js +0 -76
  377. data/packages/webpacker/node_modules/eslint/conf/globals.js +0 -144
  378. data/packages/webpacker/node_modules/eslint/conf/replacements.json +0 -22
  379. data/packages/webpacker/node_modules/eslint/conf/rule-type-list.json +0 -36
  380. data/packages/webpacker/node_modules/eslint/lib/api.js +0 -26
  381. data/packages/webpacker/node_modules/eslint/lib/cli-engine/cli-engine.js +0 -1068
  382. data/packages/webpacker/node_modules/eslint/lib/cli-engine/file-enumerator.js +0 -543
  383. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/checkstyle.js +0 -60
  384. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/compact.js +0 -60
  385. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/html.js +0 -324
  386. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/jslint-xml.js +0 -41
  387. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/json-with-metadata.js +0 -16
  388. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/json.js +0 -13
  389. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/junit.js +0 -82
  390. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/stylish.js +0 -101
  391. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/tap.js +0 -95
  392. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/unix.js +0 -58
  393. data/packages/webpacker/node_modules/eslint/lib/cli-engine/formatters/visualstudio.js +0 -63
  394. data/packages/webpacker/node_modules/eslint/lib/cli-engine/hash.js +0 -35
  395. data/packages/webpacker/node_modules/eslint/lib/cli-engine/index.js +0 -7
  396. data/packages/webpacker/node_modules/eslint/lib/cli-engine/lint-result-cache.js +0 -191
  397. data/packages/webpacker/node_modules/eslint/lib/cli-engine/load-rules.js +0 -46
  398. data/packages/webpacker/node_modules/eslint/lib/cli-engine/xml-escape.js +0 -34
  399. data/packages/webpacker/node_modules/eslint/lib/cli.js +0 -344
  400. data/packages/webpacker/node_modules/eslint/lib/config/default-config.js +0 -61
  401. data/packages/webpacker/node_modules/eslint/lib/config/flat-config-array.js +0 -134
  402. data/packages/webpacker/node_modules/eslint/lib/config/flat-config-helpers.js +0 -103
  403. data/packages/webpacker/node_modules/eslint/lib/config/flat-config-schema.js +0 -457
  404. data/packages/webpacker/node_modules/eslint/lib/config/rule-validator.js +0 -157
  405. data/packages/webpacker/node_modules/eslint/lib/eslint/eslint.js +0 -712
  406. data/packages/webpacker/node_modules/eslint/lib/eslint/index.js +0 -7
  407. data/packages/webpacker/node_modules/eslint/lib/linter/apply-disable-directives.js +0 -341
  408. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +0 -844
  409. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-segment.js +0 -235
  410. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path-state.js +0 -1483
  411. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/code-path.js +0 -247
  412. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/debug-helpers.js +0 -203
  413. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +0 -248
  414. data/packages/webpacker/node_modules/eslint/lib/linter/code-path-analysis/id-generator.js +0 -45
  415. data/packages/webpacker/node_modules/eslint/lib/linter/config-comment-parser.js +0 -145
  416. data/packages/webpacker/node_modules/eslint/lib/linter/index.js +0 -13
  417. data/packages/webpacker/node_modules/eslint/lib/linter/interpolate.js +0 -28
  418. data/packages/webpacker/node_modules/eslint/lib/linter/linter.js +0 -2004
  419. data/packages/webpacker/node_modules/eslint/lib/linter/node-event-generator.js +0 -354
  420. data/packages/webpacker/node_modules/eslint/lib/linter/report-translator.js +0 -368
  421. data/packages/webpacker/node_modules/eslint/lib/linter/rule-fixer.js +0 -140
  422. data/packages/webpacker/node_modules/eslint/lib/linter/rules.js +0 -80
  423. data/packages/webpacker/node_modules/eslint/lib/linter/safe-emitter.js +0 -52
  424. data/packages/webpacker/node_modules/eslint/lib/linter/source-code-fixer.js +0 -152
  425. data/packages/webpacker/node_modules/eslint/lib/linter/timing.js +0 -160
  426. data/packages/webpacker/node_modules/eslint/lib/options.js +0 -323
  427. data/packages/webpacker/node_modules/eslint/lib/rule-tester/flat-rule-tester.js +0 -1039
  428. data/packages/webpacker/node_modules/eslint/lib/rule-tester/index.js +0 -5
  429. data/packages/webpacker/node_modules/eslint/lib/rule-tester/rule-tester.js +0 -1008
  430. data/packages/webpacker/node_modules/eslint/lib/rules/accessor-pairs.js +0 -354
  431. data/packages/webpacker/node_modules/eslint/lib/rules/array-bracket-newline.js +0 -258
  432. data/packages/webpacker/node_modules/eslint/lib/rules/array-bracket-spacing.js +0 -241
  433. data/packages/webpacker/node_modules/eslint/lib/rules/array-callback-return.js +0 -296
  434. data/packages/webpacker/node_modules/eslint/lib/rules/array-element-newline.js +0 -301
  435. data/packages/webpacker/node_modules/eslint/lib/rules/arrow-body-style.js +0 -296
  436. data/packages/webpacker/node_modules/eslint/lib/rules/arrow-parens.js +0 -183
  437. data/packages/webpacker/node_modules/eslint/lib/rules/arrow-spacing.js +0 -161
  438. data/packages/webpacker/node_modules/eslint/lib/rules/block-scoped-var.js +0 -124
  439. data/packages/webpacker/node_modules/eslint/lib/rules/block-spacing.js +0 -171
  440. data/packages/webpacker/node_modules/eslint/lib/rules/brace-style.js +0 -194
  441. data/packages/webpacker/node_modules/eslint/lib/rules/callback-return.js +0 -187
  442. data/packages/webpacker/node_modules/eslint/lib/rules/camelcase.js +0 -398
  443. data/packages/webpacker/node_modules/eslint/lib/rules/capitalized-comments.js +0 -300
  444. data/packages/webpacker/node_modules/eslint/lib/rules/class-methods-use-this.js +0 -187
  445. data/packages/webpacker/node_modules/eslint/lib/rules/comma-dangle.js +0 -350
  446. data/packages/webpacker/node_modules/eslint/lib/rules/comma-spacing.js +0 -195
  447. data/packages/webpacker/node_modules/eslint/lib/rules/comma-style.js +0 -311
  448. data/packages/webpacker/node_modules/eslint/lib/rules/complexity.js +0 -165
  449. data/packages/webpacker/node_modules/eslint/lib/rules/computed-property-spacing.js +0 -205
  450. data/packages/webpacker/node_modules/eslint/lib/rules/consistent-return.js +0 -185
  451. data/packages/webpacker/node_modules/eslint/lib/rules/consistent-this.js +0 -151
  452. data/packages/webpacker/node_modules/eslint/lib/rules/constructor-super.js +0 -423
  453. data/packages/webpacker/node_modules/eslint/lib/rules/curly.js +0 -486
  454. data/packages/webpacker/node_modules/eslint/lib/rules/default-case-last.js +0 -44
  455. data/packages/webpacker/node_modules/eslint/lib/rules/default-case.js +0 -97
  456. data/packages/webpacker/node_modules/eslint/lib/rules/default-param-last.js +0 -62
  457. data/packages/webpacker/node_modules/eslint/lib/rules/dot-location.js +0 -105
  458. data/packages/webpacker/node_modules/eslint/lib/rules/dot-notation.js +0 -177
  459. data/packages/webpacker/node_modules/eslint/lib/rules/eol-last.js +0 -112
  460. data/packages/webpacker/node_modules/eslint/lib/rules/eqeqeq.js +0 -174
  461. data/packages/webpacker/node_modules/eslint/lib/rules/for-direction.js +0 -126
  462. data/packages/webpacker/node_modules/eslint/lib/rules/func-call-spacing.js +0 -230
  463. data/packages/webpacker/node_modules/eslint/lib/rules/func-name-matching.js +0 -253
  464. data/packages/webpacker/node_modules/eslint/lib/rules/func-names.js +0 -191
  465. data/packages/webpacker/node_modules/eslint/lib/rules/func-style.js +0 -98
  466. data/packages/webpacker/node_modules/eslint/lib/rules/function-call-argument-newline.js +0 -122
  467. data/packages/webpacker/node_modules/eslint/lib/rules/function-paren-newline.js +0 -286
  468. data/packages/webpacker/node_modules/eslint/lib/rules/generator-star-spacing.js +0 -206
  469. data/packages/webpacker/node_modules/eslint/lib/rules/getter-return.js +0 -173
  470. data/packages/webpacker/node_modules/eslint/lib/rules/global-require.js +0 -87
  471. data/packages/webpacker/node_modules/eslint/lib/rules/grouped-accessor-pairs.js +0 -224
  472. data/packages/webpacker/node_modules/eslint/lib/rules/guard-for-in.js +0 -76
  473. data/packages/webpacker/node_modules/eslint/lib/rules/handle-callback-err.js +0 -100
  474. data/packages/webpacker/node_modules/eslint/lib/rules/id-blacklist.js +0 -245
  475. data/packages/webpacker/node_modules/eslint/lib/rules/id-denylist.js +0 -227
  476. data/packages/webpacker/node_modules/eslint/lib/rules/id-length.js +0 -169
  477. data/packages/webpacker/node_modules/eslint/lib/rules/id-match.js +0 -298
  478. data/packages/webpacker/node_modules/eslint/lib/rules/implicit-arrow-linebreak.js +0 -81
  479. data/packages/webpacker/node_modules/eslint/lib/rules/indent-legacy.js +0 -1126
  480. data/packages/webpacker/node_modules/eslint/lib/rules/indent.js +0 -1764
  481. data/packages/webpacker/node_modules/eslint/lib/rules/index.js +0 -301
  482. data/packages/webpacker/node_modules/eslint/lib/rules/init-declarations.js +0 -139
  483. data/packages/webpacker/node_modules/eslint/lib/rules/jsx-quotes.js +0 -95
  484. data/packages/webpacker/node_modules/eslint/lib/rules/key-spacing.js +0 -675
  485. data/packages/webpacker/node_modules/eslint/lib/rules/keyword-spacing.js +0 -637
  486. data/packages/webpacker/node_modules/eslint/lib/rules/line-comment-position.js +0 -122
  487. data/packages/webpacker/node_modules/eslint/lib/rules/linebreak-style.js +0 -105
  488. data/packages/webpacker/node_modules/eslint/lib/rules/lines-around-comment.js +0 -450
  489. data/packages/webpacker/node_modules/eslint/lib/rules/lines-around-directive.js +0 -201
  490. data/packages/webpacker/node_modules/eslint/lib/rules/lines-between-class-members.js +0 -181
  491. data/packages/webpacker/node_modules/eslint/lib/rules/max-classes-per-file.js +0 -89
  492. data/packages/webpacker/node_modules/eslint/lib/rules/max-depth.js +0 -156
  493. data/packages/webpacker/node_modules/eslint/lib/rules/max-len.js +0 -433
  494. data/packages/webpacker/node_modules/eslint/lib/rules/max-lines-per-function.js +0 -213
  495. data/packages/webpacker/node_modules/eslint/lib/rules/max-lines.js +0 -193
  496. data/packages/webpacker/node_modules/eslint/lib/rules/max-nested-callbacks.js +0 -117
  497. data/packages/webpacker/node_modules/eslint/lib/rules/max-params.js +0 -102
  498. data/packages/webpacker/node_modules/eslint/lib/rules/max-statements-per-line.js +0 -196
  499. data/packages/webpacker/node_modules/eslint/lib/rules/max-statements.js +0 -184
  500. data/packages/webpacker/node_modules/eslint/lib/rules/multiline-comment-style.js +0 -435
  501. data/packages/webpacker/node_modules/eslint/lib/rules/multiline-ternary.js +0 -171
  502. data/packages/webpacker/node_modules/eslint/lib/rules/new-cap.js +0 -276
  503. data/packages/webpacker/node_modules/eslint/lib/rules/new-parens.js +0 -99
  504. data/packages/webpacker/node_modules/eslint/lib/rules/newline-after-var.js +0 -255
  505. data/packages/webpacker/node_modules/eslint/lib/rules/newline-before-return.js +0 -217
  506. data/packages/webpacker/node_modules/eslint/lib/rules/newline-per-chained-call.js +0 -123
  507. data/packages/webpacker/node_modules/eslint/lib/rules/no-alert.js +0 -136
  508. data/packages/webpacker/node_modules/eslint/lib/rules/no-array-constructor.js +0 -54
  509. data/packages/webpacker/node_modules/eslint/lib/rules/no-async-promise-executor.js +0 -39
  510. data/packages/webpacker/node_modules/eslint/lib/rules/no-await-in-loop.js +0 -106
  511. data/packages/webpacker/node_modules/eslint/lib/rules/no-bitwise.js +0 -119
  512. data/packages/webpacker/node_modules/eslint/lib/rules/no-buffer-constructor.js +0 -50
  513. data/packages/webpacker/node_modules/eslint/lib/rules/no-caller.js +0 -46
  514. data/packages/webpacker/node_modules/eslint/lib/rules/no-case-declarations.js +0 -64
  515. data/packages/webpacker/node_modules/eslint/lib/rules/no-catch-shadow.js +0 -80
  516. data/packages/webpacker/node_modules/eslint/lib/rules/no-class-assign.js +0 -61
  517. data/packages/webpacker/node_modules/eslint/lib/rules/no-compare-neg-zero.js +0 -60
  518. data/packages/webpacker/node_modules/eslint/lib/rules/no-cond-assign.js +0 -159
  519. data/packages/webpacker/node_modules/eslint/lib/rules/no-confusing-arrow.js +0 -89
  520. data/packages/webpacker/node_modules/eslint/lib/rules/no-console.js +0 -134
  521. data/packages/webpacker/node_modules/eslint/lib/rules/no-const-assign.js +0 -54
  522. data/packages/webpacker/node_modules/eslint/lib/rules/no-constant-condition.js +0 -315
  523. data/packages/webpacker/node_modules/eslint/lib/rules/no-constructor-return.js +0 -62
  524. data/packages/webpacker/node_modules/eslint/lib/rules/no-continue.js +0 -39
  525. data/packages/webpacker/node_modules/eslint/lib/rules/no-control-regex.js +0 -112
  526. data/packages/webpacker/node_modules/eslint/lib/rules/no-debugger.js +0 -43
  527. data/packages/webpacker/node_modules/eslint/lib/rules/no-delete-var.js +0 -42
  528. data/packages/webpacker/node_modules/eslint/lib/rules/no-div-regex.js +0 -53
  529. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-args.js +0 -80
  530. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-class-members.js +0 -104
  531. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-else-if.js +0 -122
  532. data/packages/webpacker/node_modules/eslint/lib/rules/no-dupe-keys.js +0 -142
  533. data/packages/webpacker/node_modules/eslint/lib/rules/no-duplicate-case.js +0 -71
  534. data/packages/webpacker/node_modules/eslint/lib/rules/no-duplicate-imports.js +0 -290
  535. data/packages/webpacker/node_modules/eslint/lib/rules/no-else-return.js +0 -404
  536. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-character-class.js +0 -55
  537. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-function.js +0 -167
  538. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty-pattern.js +0 -43
  539. data/packages/webpacker/node_modules/eslint/lib/rules/no-empty.js +0 -86
  540. data/packages/webpacker/node_modules/eslint/lib/rules/no-eq-null.js +0 -46
  541. data/packages/webpacker/node_modules/eslint/lib/rules/no-eval.js +0 -281
  542. data/packages/webpacker/node_modules/eslint/lib/rules/no-ex-assign.js +0 -52
  543. data/packages/webpacker/node_modules/eslint/lib/rules/no-extend-native.js +0 -178
  544. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-bind.js +0 -213
  545. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +0 -317
  546. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-label.js +0 -149
  547. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-parens.js +0 -1235
  548. data/packages/webpacker/node_modules/eslint/lib/rules/no-extra-semi.js +0 -126
  549. data/packages/webpacker/node_modules/eslint/lib/rules/no-fallthrough.js +0 -147
  550. data/packages/webpacker/node_modules/eslint/lib/rules/no-floating-decimal.js +0 -70
  551. data/packages/webpacker/node_modules/eslint/lib/rules/no-func-assign.js +0 -76
  552. data/packages/webpacker/node_modules/eslint/lib/rules/no-global-assign.js +0 -94
  553. data/packages/webpacker/node_modules/eslint/lib/rules/no-implicit-coercion.js +0 -361
  554. data/packages/webpacker/node_modules/eslint/lib/rules/no-implicit-globals.js +0 -140
  555. data/packages/webpacker/node_modules/eslint/lib/rules/no-implied-eval.js +0 -131
  556. data/packages/webpacker/node_modules/eslint/lib/rules/no-import-assign.js +0 -239
  557. data/packages/webpacker/node_modules/eslint/lib/rules/no-inline-comments.js +0 -110
  558. data/packages/webpacker/node_modules/eslint/lib/rules/no-inner-declarations.js +0 -110
  559. data/packages/webpacker/node_modules/eslint/lib/rules/no-invalid-regexp.js +0 -157
  560. data/packages/webpacker/node_modules/eslint/lib/rules/no-invalid-this.js +0 -150
  561. data/packages/webpacker/node_modules/eslint/lib/rules/no-irregular-whitespace.js +0 -259
  562. data/packages/webpacker/node_modules/eslint/lib/rules/no-iterator.js +0 -52
  563. data/packages/webpacker/node_modules/eslint/lib/rules/no-label-var.js +0 -79
  564. data/packages/webpacker/node_modules/eslint/lib/rules/no-labels.js +0 -149
  565. data/packages/webpacker/node_modules/eslint/lib/rules/no-lone-blocks.js +0 -134
  566. data/packages/webpacker/node_modules/eslint/lib/rules/no-lonely-if.js +0 -89
  567. data/packages/webpacker/node_modules/eslint/lib/rules/no-loop-func.js +0 -204
  568. data/packages/webpacker/node_modules/eslint/lib/rules/no-loss-of-precision.js +0 -206
  569. data/packages/webpacker/node_modules/eslint/lib/rules/no-magic-numbers.js +0 -226
  570. data/packages/webpacker/node_modules/eslint/lib/rules/no-misleading-character-class.js +0 -200
  571. data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-operators.js +0 -226
  572. data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-requires.js +0 -238
  573. data/packages/webpacker/node_modules/eslint/lib/rules/no-mixed-spaces-and-tabs.js +0 -113
  574. data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-assign.js +0 -67
  575. data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-spaces.js +0 -138
  576. data/packages/webpacker/node_modules/eslint/lib/rules/no-multi-str.js +0 -65
  577. data/packages/webpacker/node_modules/eslint/lib/rules/no-multiple-empty-lines.js +0 -151
  578. data/packages/webpacker/node_modules/eslint/lib/rules/no-native-reassign.js +0 -97
  579. data/packages/webpacker/node_modules/eslint/lib/rules/no-negated-condition.js +0 -95
  580. data/packages/webpacker/node_modules/eslint/lib/rules/no-negated-in-lhs.js +0 -46
  581. data/packages/webpacker/node_modules/eslint/lib/rules/no-nested-ternary.js +0 -44
  582. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-func.js +0 -86
  583. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-object.js +0 -57
  584. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-require.js +0 -50
  585. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-symbol.js +0 -54
  586. data/packages/webpacker/node_modules/eslint/lib/rules/no-new-wrappers.js +0 -48
  587. data/packages/webpacker/node_modules/eslint/lib/rules/no-new.js +0 -43
  588. data/packages/webpacker/node_modules/eslint/lib/rules/no-nonoctal-decimal-escape.js +0 -148
  589. data/packages/webpacker/node_modules/eslint/lib/rules/no-obj-calls.js +0 -84
  590. data/packages/webpacker/node_modules/eslint/lib/rules/no-octal-escape.js +0 -56
  591. data/packages/webpacker/node_modules/eslint/lib/rules/no-octal.js +0 -45
  592. data/packages/webpacker/node_modules/eslint/lib/rules/no-param-reassign.js +0 -229
  593. data/packages/webpacker/node_modules/eslint/lib/rules/no-path-concat.js +0 -64
  594. data/packages/webpacker/node_modules/eslint/lib/rules/no-plusplus.js +0 -105
  595. data/packages/webpacker/node_modules/eslint/lib/rules/no-process-env.js +0 -51
  596. data/packages/webpacker/node_modules/eslint/lib/rules/no-process-exit.js +0 -47
  597. data/packages/webpacker/node_modules/eslint/lib/rules/no-promise-executor-return.js +0 -121
  598. data/packages/webpacker/node_modules/eslint/lib/rules/no-proto.js +0 -48
  599. data/packages/webpacker/node_modules/eslint/lib/rules/no-prototype-builtins.js +0 -71
  600. data/packages/webpacker/node_modules/eslint/lib/rules/no-redeclare.js +0 -174
  601. data/packages/webpacker/node_modules/eslint/lib/rules/no-regex-spaces.js +0 -180
  602. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-exports.js +0 -96
  603. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-globals.js +0 -122
  604. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-imports.js +0 -322
  605. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-modules.js +0 -216
  606. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-properties.js +0 -181
  607. data/packages/webpacker/node_modules/eslint/lib/rules/no-restricted-syntax.js +0 -70
  608. data/packages/webpacker/node_modules/eslint/lib/rules/no-return-assign.js +0 -80
  609. data/packages/webpacker/node_modules/eslint/lib/rules/no-return-await.js +0 -103
  610. data/packages/webpacker/node_modules/eslint/lib/rules/no-script-url.js +0 -61
  611. data/packages/webpacker/node_modules/eslint/lib/rules/no-self-assign.js +0 -183
  612. data/packages/webpacker/node_modules/eslint/lib/rules/no-self-compare.js +0 -60
  613. data/packages/webpacker/node_modules/eslint/lib/rules/no-sequences.js +0 -138
  614. data/packages/webpacker/node_modules/eslint/lib/rules/no-setter-return.js +0 -225
  615. data/packages/webpacker/node_modules/eslint/lib/rules/no-shadow-restricted-names.js +0 -64
  616. data/packages/webpacker/node_modules/eslint/lib/rules/no-shadow.js +0 -335
  617. data/packages/webpacker/node_modules/eslint/lib/rules/no-spaced-func.js +0 -83
  618. data/packages/webpacker/node_modules/eslint/lib/rules/no-sparse-arrays.js +0 -50
  619. data/packages/webpacker/node_modules/eslint/lib/rules/no-sync.js +0 -64
  620. data/packages/webpacker/node_modules/eslint/lib/rules/no-tabs.js +0 -78
  621. data/packages/webpacker/node_modules/eslint/lib/rules/no-template-curly-in-string.js +0 -44
  622. data/packages/webpacker/node_modules/eslint/lib/rules/no-ternary.js +0 -41
  623. data/packages/webpacker/node_modules/eslint/lib/rules/no-this-before-super.js +0 -304
  624. data/packages/webpacker/node_modules/eslint/lib/rules/no-throw-literal.js +0 -51
  625. data/packages/webpacker/node_modules/eslint/lib/rules/no-trailing-spaces.js +0 -190
  626. data/packages/webpacker/node_modules/eslint/lib/rules/no-undef-init.js +0 -75
  627. data/packages/webpacker/node_modules/eslint/lib/rules/no-undef.js +0 -78
  628. data/packages/webpacker/node_modules/eslint/lib/rules/no-undefined.js +0 -84
  629. data/packages/webpacker/node_modules/eslint/lib/rules/no-underscore-dangle.js +0 -280
  630. data/packages/webpacker/node_modules/eslint/lib/rules/no-unexpected-multiline.js +0 -120
  631. data/packages/webpacker/node_modules/eslint/lib/rules/no-unmodified-loop-condition.js +0 -360
  632. data/packages/webpacker/node_modules/eslint/lib/rules/no-unneeded-ternary.js +0 -166
  633. data/packages/webpacker/node_modules/eslint/lib/rules/no-unreachable-loop.js +0 -150
  634. data/packages/webpacker/node_modules/eslint/lib/rules/no-unreachable.js +0 -264
  635. data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-finally.js +0 -111
  636. data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-negation.js +0 -128
  637. data/packages/webpacker/node_modules/eslint/lib/rules/no-unsafe-optional-chaining.js +0 -205
  638. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-expressions.js +0 -189
  639. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-labels.js +0 -110
  640. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-private-class-members.js +0 -195
  641. data/packages/webpacker/node_modules/eslint/lib/rules/no-unused-vars.js +0 -690
  642. data/packages/webpacker/node_modules/eslint/lib/rules/no-use-before-define.js +0 -334
  643. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-backreference.js +0 -192
  644. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-call.js +0 -90
  645. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-catch.js +0 -57
  646. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-computed-key.js +0 -168
  647. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-concat.js +0 -115
  648. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-constructor.js +0 -189
  649. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-escape.js +0 -254
  650. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-rename.js +0 -172
  651. data/packages/webpacker/node_modules/eslint/lib/rules/no-useless-return.js +0 -305
  652. data/packages/webpacker/node_modules/eslint/lib/rules/no-var.js +0 -334
  653. data/packages/webpacker/node_modules/eslint/lib/rules/no-void.js +0 -64
  654. data/packages/webpacker/node_modules/eslint/lib/rules/no-warning-comments.js +0 -196
  655. data/packages/webpacker/node_modules/eslint/lib/rules/no-whitespace-before-property.js +0 -113
  656. data/packages/webpacker/node_modules/eslint/lib/rules/no-with.js +0 -39
  657. data/packages/webpacker/node_modules/eslint/lib/rules/nonblock-statement-body-position.js +0 -124
  658. data/packages/webpacker/node_modules/eslint/lib/rules/object-curly-newline.js +0 -321
  659. data/packages/webpacker/node_modules/eslint/lib/rules/object-curly-spacing.js +0 -308
  660. data/packages/webpacker/node_modules/eslint/lib/rules/object-property-newline.js +0 -99
  661. data/packages/webpacker/node_modules/eslint/lib/rules/object-shorthand.js +0 -504
  662. data/packages/webpacker/node_modules/eslint/lib/rules/one-var-declaration-per-line.js +0 -92
  663. data/packages/webpacker/node_modules/eslint/lib/rules/one-var.js +0 -567
  664. data/packages/webpacker/node_modules/eslint/lib/rules/operator-assignment.js +0 -207
  665. data/packages/webpacker/node_modules/eslint/lib/rules/operator-linebreak.js +0 -250
  666. data/packages/webpacker/node_modules/eslint/lib/rules/padded-blocks.js +0 -307
  667. data/packages/webpacker/node_modules/eslint/lib/rules/padding-line-between-statements.js +0 -634
  668. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-arrow-callback.js +0 -380
  669. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-const.js +0 -489
  670. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-destructuring.js +0 -301
  671. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-exponentiation-operator.js +0 -190
  672. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-named-capture-group.js +0 -110
  673. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-numeric-literals.js +0 -148
  674. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-object-has-own.js +0 -112
  675. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-object-spread.js +0 -299
  676. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-promise-reject-errors.js +0 -131
  677. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-reflect.js +0 -127
  678. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-regex-literals.js +0 -396
  679. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-rest-params.js +0 -115
  680. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-spread.js +0 -87
  681. data/packages/webpacker/node_modules/eslint/lib/rules/prefer-template.js +0 -275
  682. data/packages/webpacker/node_modules/eslint/lib/rules/quote-props.js +0 -307
  683. data/packages/webpacker/node_modules/eslint/lib/rules/quotes.js +0 -347
  684. data/packages/webpacker/node_modules/eslint/lib/rules/radix.js +0 -198
  685. data/packages/webpacker/node_modules/eslint/lib/rules/require-atomic-updates.js +0 -317
  686. data/packages/webpacker/node_modules/eslint/lib/rules/require-await.js +0 -113
  687. data/packages/webpacker/node_modules/eslint/lib/rules/require-jsdoc.js +0 -122
  688. data/packages/webpacker/node_modules/eslint/lib/rules/require-unicode-regexp.js +0 -69
  689. data/packages/webpacker/node_modules/eslint/lib/rules/require-yield.js +0 -78
  690. data/packages/webpacker/node_modules/eslint/lib/rules/rest-spread-spacing.js +0 -120
  691. data/packages/webpacker/node_modules/eslint/lib/rules/semi-spacing.js +0 -245
  692. data/packages/webpacker/node_modules/eslint/lib/rules/semi-style.js +0 -155
  693. data/packages/webpacker/node_modules/eslint/lib/rules/semi.js +0 -410
  694. data/packages/webpacker/node_modules/eslint/lib/rules/sort-imports.js +0 -241
  695. data/packages/webpacker/node_modules/eslint/lib/rules/sort-keys.js +0 -187
  696. data/packages/webpacker/node_modules/eslint/lib/rules/sort-vars.js +0 -104
  697. data/packages/webpacker/node_modules/eslint/lib/rules/space-before-blocks.js +0 -201
  698. data/packages/webpacker/node_modules/eslint/lib/rules/space-before-function-paren.js +0 -164
  699. data/packages/webpacker/node_modules/eslint/lib/rules/space-in-parens.js +0 -282
  700. data/packages/webpacker/node_modules/eslint/lib/rules/space-infix-ops.js +0 -195
  701. data/packages/webpacker/node_modules/eslint/lib/rules/space-unary-ops.js +0 -321
  702. data/packages/webpacker/node_modules/eslint/lib/rules/spaced-comment.js +0 -382
  703. data/packages/webpacker/node_modules/eslint/lib/rules/strict.js +0 -277
  704. data/packages/webpacker/node_modules/eslint/lib/rules/switch-colon-spacing.js +0 -129
  705. data/packages/webpacker/node_modules/eslint/lib/rules/symbol-description.js +0 -71
  706. data/packages/webpacker/node_modules/eslint/lib/rules/template-curly-spacing.js +0 -141
  707. data/packages/webpacker/node_modules/eslint/lib/rules/template-tag-spacing.js +0 -90
  708. data/packages/webpacker/node_modules/eslint/lib/rules/unicode-bom.js +0 -73
  709. data/packages/webpacker/node_modules/eslint/lib/rules/use-isnan.js +0 -141
  710. data/packages/webpacker/node_modules/eslint/lib/rules/utils/ast-utils.js +0 -1922
  711. data/packages/webpacker/node_modules/eslint/lib/rules/utils/fix-tracker.js +0 -114
  712. data/packages/webpacker/node_modules/eslint/lib/rules/utils/keywords.js +0 -67
  713. data/packages/webpacker/node_modules/eslint/lib/rules/utils/lazy-loading-rule-map.js +0 -115
  714. data/packages/webpacker/node_modules/eslint/lib/rules/utils/patterns/letters.js +0 -36
  715. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/index.js +0 -11
  716. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-combining-character.js +0 -13
  717. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-emoji-modifier.js +0 -13
  718. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-regional-indicator-symbol.js +0 -13
  719. data/packages/webpacker/node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js +0 -14
  720. data/packages/webpacker/node_modules/eslint/lib/rules/valid-jsdoc.js +0 -516
  721. data/packages/webpacker/node_modules/eslint/lib/rules/valid-typeof.js +0 -85
  722. data/packages/webpacker/node_modules/eslint/lib/rules/vars-on-top.js +0 -157
  723. data/packages/webpacker/node_modules/eslint/lib/rules/wrap-iife.js +0 -204
  724. data/packages/webpacker/node_modules/eslint/lib/rules/wrap-regex.js +0 -59
  725. data/packages/webpacker/node_modules/eslint/lib/rules/yield-star-spacing.js +0 -127
  726. data/packages/webpacker/node_modules/eslint/lib/rules/yoda.js +0 -362
  727. data/packages/webpacker/node_modules/eslint/lib/shared/ajv.js +0 -34
  728. data/packages/webpacker/node_modules/eslint/lib/shared/ast-utils.js +0 -29
  729. data/packages/webpacker/node_modules/eslint/lib/shared/config-validator.js +0 -347
  730. data/packages/webpacker/node_modules/eslint/lib/shared/deprecation-warnings.js +0 -65
  731. data/packages/webpacker/node_modules/eslint/lib/shared/logging.js +0 -30
  732. data/packages/webpacker/node_modules/eslint/lib/shared/relative-module-resolver.js +0 -50
  733. data/packages/webpacker/node_modules/eslint/lib/shared/runtime-info.js +0 -167
  734. data/packages/webpacker/node_modules/eslint/lib/shared/string-utils.js +0 -22
  735. data/packages/webpacker/node_modules/eslint/lib/shared/traverser.js +0 -195
  736. data/packages/webpacker/node_modules/eslint/lib/shared/types.js +0 -175
  737. data/packages/webpacker/node_modules/eslint/lib/source-code/index.js +0 -5
  738. data/packages/webpacker/node_modules/eslint/lib/source-code/source-code.js +0 -593
  739. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/backward-token-comment-cursor.js +0 -57
  740. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/backward-token-cursor.js +0 -58
  741. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/cursor.js +0 -76
  742. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/cursors.js +0 -90
  743. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/decorative-cursor.js +0 -39
  744. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/filter-cursor.js +0 -43
  745. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/forward-token-comment-cursor.js +0 -57
  746. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/forward-token-cursor.js +0 -63
  747. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/index.js +0 -627
  748. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/limit-cursor.js +0 -40
  749. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/padded-token-cursor.js +0 -38
  750. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/skip-cursor.js +0 -42
  751. data/packages/webpacker/node_modules/eslint/lib/source-code/token-store/utils.js +0 -92
  752. data/packages/webpacker/node_modules/eslint/lib/unsupported-api.js +0 -23
  753. data/packages/webpacker/node_modules/eslint/messages/all-files-ignored.js +0 -16
  754. data/packages/webpacker/node_modules/eslint/messages/extend-config-missing.js +0 -13
  755. data/packages/webpacker/node_modules/eslint/messages/failed-to-read-json.js +0 -11
  756. data/packages/webpacker/node_modules/eslint/messages/file-not-found.js +0 -10
  757. data/packages/webpacker/node_modules/eslint/messages/no-config-found.js +0 -15
  758. data/packages/webpacker/node_modules/eslint/messages/plugin-conflict.js +0 -22
  759. data/packages/webpacker/node_modules/eslint/messages/plugin-invalid.js +0 -16
  760. data/packages/webpacker/node_modules/eslint/messages/plugin-missing.js +0 -19
  761. data/packages/webpacker/node_modules/eslint/messages/print-config-with-directory-path.js +0 -8
  762. data/packages/webpacker/node_modules/eslint/messages/whitespace-found.js +0 -11
  763. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/LICENSE +0 -201
  764. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/README.md +0 -107
  765. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +0 -382
  766. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/index.d.ts +0 -18
  767. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +0 -10
  768. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/lib/index.js +0 -65
  769. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/lib/visitor-keys.js +0 -312
  770. data/packages/webpacker/node_modules/eslint/node_modules/eslint-visitor-keys/package.json +0 -62
  771. data/packages/webpacker/node_modules/eslint/node_modules/ignore/LICENSE-MIT +0 -21
  772. data/packages/webpacker/node_modules/eslint/node_modules/ignore/README.md +0 -412
  773. data/packages/webpacker/node_modules/eslint/node_modules/ignore/index.d.ts +0 -61
  774. data/packages/webpacker/node_modules/eslint/node_modules/ignore/index.js +0 -603
  775. data/packages/webpacker/node_modules/eslint/node_modules/ignore/legacy.js +0 -498
  776. data/packages/webpacker/node_modules/eslint/node_modules/ignore/package.json +0 -71
  777. data/packages/webpacker/node_modules/eslint/package.json +0 -150
  778. data/packages/webpacker/node_modules/eslint-scope/LICENSE +0 -22
  779. data/packages/webpacker/node_modules/eslint-scope/README.md +0 -66
  780. data/packages/webpacker/node_modules/eslint-scope/dist/eslint-scope.cjs +0 -2240
  781. data/packages/webpacker/node_modules/eslint-scope/lib/definition.js +0 -85
  782. data/packages/webpacker/node_modules/eslint-scope/lib/index.js +0 -172
  783. data/packages/webpacker/node_modules/eslint-scope/lib/pattern-visitor.js +0 -153
  784. data/packages/webpacker/node_modules/eslint-scope/lib/reference.js +0 -166
  785. data/packages/webpacker/node_modules/eslint-scope/lib/referencer.js +0 -654
  786. data/packages/webpacker/node_modules/eslint-scope/lib/scope-manager.js +0 -255
  787. data/packages/webpacker/node_modules/eslint-scope/lib/scope.js +0 -772
  788. data/packages/webpacker/node_modules/eslint-scope/lib/variable.js +0 -87
  789. data/packages/webpacker/node_modules/eslint-scope/lib/version.js +0 -3
  790. data/packages/webpacker/node_modules/eslint-scope/package.json +0 -62
  791. data/packages/webpacker/node_modules/eslint-utils/LICENSE +0 -21
  792. data/packages/webpacker/node_modules/eslint-utils/README.md +0 -38
  793. data/packages/webpacker/node_modules/eslint-utils/index.js +0 -1956
  794. data/packages/webpacker/node_modules/eslint-utils/index.js.map +0 -1
  795. data/packages/webpacker/node_modules/eslint-utils/index.mjs +0 -1914
  796. data/packages/webpacker/node_modules/eslint-utils/index.mjs.map +0 -1
  797. data/packages/webpacker/node_modules/eslint-utils/package.json +0 -78
  798. data/packages/webpacker/node_modules/espree/LICENSE +0 -25
  799. data/packages/webpacker/node_modules/espree/README.md +0 -250
  800. data/packages/webpacker/node_modules/espree/dist/espree.cjs +0 -917
  801. data/packages/webpacker/node_modules/espree/espree.js +0 -173
  802. data/packages/webpacker/node_modules/espree/lib/espree.js +0 -328
  803. data/packages/webpacker/node_modules/espree/lib/features.js +0 -27
  804. data/packages/webpacker/node_modules/espree/lib/options.js +0 -121
  805. data/packages/webpacker/node_modules/espree/lib/token-translator.js +0 -265
  806. data/packages/webpacker/node_modules/espree/lib/version.js +0 -3
  807. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/LICENSE +0 -201
  808. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/README.md +0 -107
  809. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs +0 -382
  810. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/index.d.ts +0 -18
  811. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts +0 -10
  812. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/lib/index.js +0 -65
  813. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/lib/visitor-keys.js +0 -312
  814. data/packages/webpacker/node_modules/espree/node_modules/eslint-visitor-keys/package.json +0 -62
  815. data/packages/webpacker/node_modules/espree/package.json +0 -86
  816. data/packages/webpacker/node_modules/execa/index.d.ts +0 -564
  817. data/packages/webpacker/node_modules/execa/index.js +0 -268
  818. data/packages/webpacker/node_modules/execa/lib/command.js +0 -52
  819. data/packages/webpacker/node_modules/execa/lib/error.js +0 -88
  820. data/packages/webpacker/node_modules/execa/lib/kill.js +0 -115
  821. data/packages/webpacker/node_modules/execa/lib/promise.js +0 -46
  822. data/packages/webpacker/node_modules/execa/lib/stdio.js +0 -52
  823. data/packages/webpacker/node_modules/execa/lib/stream.js +0 -97
  824. data/packages/webpacker/node_modules/execa/license +0 -9
  825. data/packages/webpacker/node_modules/execa/package.json +0 -74
  826. data/packages/webpacker/node_modules/execa/readme.md +0 -663
  827. data/packages/webpacker/node_modules/expect/LICENSE +0 -21
  828. data/packages/webpacker/node_modules/expect/README.md +0 -3
  829. data/packages/webpacker/node_modules/expect/build/asymmetricMatchers.d.ts +0 -75
  830. data/packages/webpacker/node_modules/expect/build/asymmetricMatchers.js +0 -432
  831. data/packages/webpacker/node_modules/expect/build/extractExpectedAssertionsErrors.d.ts +0 -10
  832. data/packages/webpacker/node_modules/expect/build/extractExpectedAssertionsErrors.js +0 -90
  833. data/packages/webpacker/node_modules/expect/build/index.d.ts +0 -15
  834. data/packages/webpacker/node_modules/expect/build/index.js +0 -485
  835. data/packages/webpacker/node_modules/expect/build/jasmineUtils.d.ts +0 -8
  836. data/packages/webpacker/node_modules/expect/build/jasmineUtils.js +0 -279
  837. data/packages/webpacker/node_modules/expect/build/jestMatchersObject.d.ts +0 -13
  838. data/packages/webpacker/node_modules/expect/build/jestMatchersObject.js +0 -120
  839. data/packages/webpacker/node_modules/expect/build/matchers.d.ts +0 -10
  840. data/packages/webpacker/node_modules/expect/build/matchers.js +0 -1370
  841. data/packages/webpacker/node_modules/expect/build/print.d.ts +0 -15
  842. data/packages/webpacker/node_modules/expect/build/print.js +0 -141
  843. data/packages/webpacker/node_modules/expect/build/spyMatchers.d.ts +0 -9
  844. data/packages/webpacker/node_modules/expect/build/spyMatchers.js +0 -1339
  845. data/packages/webpacker/node_modules/expect/build/toThrowMatchers.d.ts +0 -11
  846. data/packages/webpacker/node_modules/expect/build/toThrowMatchers.js +0 -464
  847. data/packages/webpacker/node_modules/expect/build/types.d.ts +0 -327
  848. data/packages/webpacker/node_modules/expect/build/types.js +0 -3
  849. data/packages/webpacker/node_modules/expect/build/utils.d.ts +0 -26
  850. data/packages/webpacker/node_modules/expect/build/utils.js +0 -458
  851. data/packages/webpacker/node_modules/expect/package.json +0 -42
  852. data/packages/webpacker/node_modules/get-stream/buffer-stream.js +0 -52
  853. data/packages/webpacker/node_modules/get-stream/index.d.ts +0 -105
  854. data/packages/webpacker/node_modules/get-stream/index.js +0 -61
  855. data/packages/webpacker/node_modules/get-stream/license +0 -9
  856. data/packages/webpacker/node_modules/get-stream/package.json +0 -47
  857. data/packages/webpacker/node_modules/get-stream/readme.md +0 -124
  858. data/packages/webpacker/node_modules/glob-parent/LICENSE +0 -15
  859. data/packages/webpacker/node_modules/glob-parent/README.md +0 -134
  860. data/packages/webpacker/node_modules/glob-parent/index.js +0 -75
  861. data/packages/webpacker/node_modules/glob-parent/package.json +0 -54
  862. data/packages/webpacker/node_modules/globals/globals.json +0 -1781
  863. data/packages/webpacker/node_modules/globals/index.d.ts +0 -6
  864. data/packages/webpacker/node_modules/globals/index.js +0 -2
  865. data/packages/webpacker/node_modules/globals/license +0 -9
  866. data/packages/webpacker/node_modules/globals/package.json +0 -55
  867. data/packages/webpacker/node_modules/globals/readme.md +0 -56
  868. data/packages/webpacker/node_modules/has-flag/index.d.ts +0 -39
  869. data/packages/webpacker/node_modules/has-flag/index.js +0 -8
  870. data/packages/webpacker/node_modules/has-flag/license +0 -9
  871. data/packages/webpacker/node_modules/has-flag/package.json +0 -46
  872. data/packages/webpacker/node_modules/has-flag/readme.md +0 -89
  873. data/packages/webpacker/node_modules/human-signals/CHANGELOG.md +0 -11
  874. data/packages/webpacker/node_modules/human-signals/LICENSE +0 -201
  875. data/packages/webpacker/node_modules/human-signals/README.md +0 -165
  876. data/packages/webpacker/node_modules/human-signals/build/src/core.js +0 -273
  877. data/packages/webpacker/node_modules/human-signals/build/src/core.js.map +0 -1
  878. data/packages/webpacker/node_modules/human-signals/build/src/main.d.ts +0 -52
  879. data/packages/webpacker/node_modules/human-signals/build/src/main.js +0 -71
  880. data/packages/webpacker/node_modules/human-signals/build/src/main.js.map +0 -1
  881. data/packages/webpacker/node_modules/human-signals/build/src/realtime.js +0 -19
  882. data/packages/webpacker/node_modules/human-signals/build/src/realtime.js.map +0 -1
  883. data/packages/webpacker/node_modules/human-signals/build/src/signals.js +0 -35
  884. data/packages/webpacker/node_modules/human-signals/build/src/signals.js.map +0 -1
  885. data/packages/webpacker/node_modules/human-signals/package.json +0 -64
  886. data/packages/webpacker/node_modules/jest/LICENSE +0 -21
  887. data/packages/webpacker/node_modules/jest/README.md +0 -11
  888. data/packages/webpacker/node_modules/jest/bin/jest.js +0 -13
  889. data/packages/webpacker/node_modules/jest/build/jest.d.ts +0 -8
  890. data/packages/webpacker/node_modules/jest/build/jest.js +0 -61
  891. data/packages/webpacker/node_modules/jest/package.json +0 -68
  892. data/packages/webpacker/node_modules/jest-changed-files/LICENSE +0 -21
  893. data/packages/webpacker/node_modules/jest-changed-files/README.md +0 -63
  894. data/packages/webpacker/node_modules/jest-changed-files/build/git.d.ts +0 -10
  895. data/packages/webpacker/node_modules/jest-changed-files/build/git.js +0 -179
  896. data/packages/webpacker/node_modules/jest-changed-files/build/hg.d.ts +0 -10
  897. data/packages/webpacker/node_modules/jest-changed-files/build/hg.js +0 -133
  898. data/packages/webpacker/node_modules/jest-changed-files/build/index.d.ts +0 -12
  899. data/packages/webpacker/node_modules/jest-changed-files/build/index.js +0 -86
  900. data/packages/webpacker/node_modules/jest-changed-files/build/types.d.ts +0 -28
  901. data/packages/webpacker/node_modules/jest-changed-files/build/types.js +0 -1
  902. data/packages/webpacker/node_modules/jest-changed-files/package.json +0 -31
  903. data/packages/webpacker/node_modules/jest-cli/LICENSE +0 -21
  904. data/packages/webpacker/node_modules/jest-cli/README.md +0 -11
  905. data/packages/webpacker/node_modules/jest-cli/bin/jest.js +0 -17
  906. data/packages/webpacker/node_modules/jest-cli/build/cli/args.d.ts +0 -448
  907. data/packages/webpacker/node_modules/jest-cli/build/cli/args.js +0 -710
  908. data/packages/webpacker/node_modules/jest-cli/build/cli/index.d.ts +0 -9
  909. data/packages/webpacker/node_modules/jest-cli/build/cli/index.js +0 -265
  910. data/packages/webpacker/node_modules/jest-cli/build/index.d.ts +0 -7
  911. data/packages/webpacker/node_modules/jest-cli/build/index.js +0 -13
  912. data/packages/webpacker/node_modules/jest-cli/build/init/errors.d.ts +0 -12
  913. data/packages/webpacker/node_modules/jest-cli/build/init/errors.js +0 -35
  914. data/packages/webpacker/node_modules/jest-cli/build/init/generateConfigFile.d.ts +0 -8
  915. data/packages/webpacker/node_modules/jest-cli/build/init/generateConfigFile.js +0 -104
  916. data/packages/webpacker/node_modules/jest-cli/build/init/index.d.ts +0 -7
  917. data/packages/webpacker/node_modules/jest-cli/build/init/index.js +0 -246
  918. data/packages/webpacker/node_modules/jest-cli/build/init/modifyPackageJson.d.ts +0 -12
  919. data/packages/webpacker/node_modules/jest-cli/build/init/modifyPackageJson.js +0 -28
  920. data/packages/webpacker/node_modules/jest-cli/build/init/questions.d.ts +0 -10
  921. data/packages/webpacker/node_modules/jest-cli/build/init/questions.js +0 -76
  922. data/packages/webpacker/node_modules/jest-cli/build/init/types.d.ts +0 -12
  923. data/packages/webpacker/node_modules/jest-cli/build/init/types.js +0 -1
  924. data/packages/webpacker/node_modules/jest-cli/package.json +0 -89
  925. data/packages/webpacker/node_modules/jest-config/LICENSE +0 -21
  926. data/packages/webpacker/node_modules/jest-config/build/Defaults.d.ts +0 -9
  927. data/packages/webpacker/node_modules/jest-config/build/Defaults.js +0 -125
  928. data/packages/webpacker/node_modules/jest-config/build/Deprecated.d.ts +0 -9
  929. data/packages/webpacker/node_modules/jest-config/build/Deprecated.js +0 -98
  930. data/packages/webpacker/node_modules/jest-config/build/Descriptions.d.ts +0 -11
  931. data/packages/webpacker/node_modules/jest-config/build/Descriptions.js +0 -107
  932. data/packages/webpacker/node_modules/jest-config/build/ReporterValidationErrors.d.ts +0 -19
  933. data/packages/webpacker/node_modules/jest-config/build/ReporterValidationErrors.js +0 -138
  934. data/packages/webpacker/node_modules/jest-config/build/ValidConfig.d.ts +0 -9
  935. data/packages/webpacker/node_modules/jest-config/build/ValidConfig.js +0 -199
  936. data/packages/webpacker/node_modules/jest-config/build/color.d.ts +0 -10
  937. data/packages/webpacker/node_modules/jest-config/build/color.js +0 -37
  938. data/packages/webpacker/node_modules/jest-config/build/constants.d.ts +0 -17
  939. data/packages/webpacker/node_modules/jest-config/build/constants.js +0 -104
  940. data/packages/webpacker/node_modules/jest-config/build/getCacheDirectory.d.ts +0 -9
  941. data/packages/webpacker/node_modules/jest-config/build/getCacheDirectory.js +0 -104
  942. data/packages/webpacker/node_modules/jest-config/build/getMaxWorkers.d.ts +0 -8
  943. data/packages/webpacker/node_modules/jest-config/build/getMaxWorkers.js +0 -65
  944. data/packages/webpacker/node_modules/jest-config/build/index.d.ts +0 -28
  945. data/packages/webpacker/node_modules/jest-config/build/index.js +0 -495
  946. data/packages/webpacker/node_modules/jest-config/build/normalize.d.ts +0 -13
  947. data/packages/webpacker/node_modules/jest-config/build/normalize.js +0 -1372
  948. data/packages/webpacker/node_modules/jest-config/build/readConfigFileAndSetRootDir.d.ts +0 -8
  949. data/packages/webpacker/node_modules/jest-config/build/readConfigFileAndSetRootDir.js +0 -204
  950. data/packages/webpacker/node_modules/jest-config/build/resolveConfigPath.d.ts +0 -8
  951. data/packages/webpacker/node_modules/jest-config/build/resolveConfigPath.js +0 -247
  952. data/packages/webpacker/node_modules/jest-config/build/setFromArgv.d.ts +0 -8
  953. data/packages/webpacker/node_modules/jest-config/build/setFromArgv.js +0 -68
  954. data/packages/webpacker/node_modules/jest-config/build/utils.d.ts +0 -27
  955. data/packages/webpacker/node_modules/jest-config/build/utils.js +0 -209
  956. data/packages/webpacker/node_modules/jest-config/build/validatePattern.d.ts +0 -7
  957. data/packages/webpacker/node_modules/jest-config/build/validatePattern.js +0 -25
  958. data/packages/webpacker/node_modules/jest-config/package.json +0 -68
  959. data/packages/webpacker/node_modules/jest-diff/LICENSE +0 -21
  960. data/packages/webpacker/node_modules/jest-diff/README.md +0 -671
  961. data/packages/webpacker/node_modules/jest-diff/build/cleanupSemantic.d.ts +0 -57
  962. data/packages/webpacker/node_modules/jest-diff/build/cleanupSemantic.js +0 -655
  963. data/packages/webpacker/node_modules/jest-diff/build/constants.d.ts +0 -8
  964. data/packages/webpacker/node_modules/jest-diff/build/constants.js +0 -19
  965. data/packages/webpacker/node_modules/jest-diff/build/diffLines.d.ts +0 -12
  966. data/packages/webpacker/node_modules/jest-diff/build/diffLines.js +0 -220
  967. data/packages/webpacker/node_modules/jest-diff/build/diffStrings.d.ts +0 -9
  968. data/packages/webpacker/node_modules/jest-diff/build/diffStrings.js +0 -78
  969. data/packages/webpacker/node_modules/jest-diff/build/getAlignedDiffs.d.ts +0 -10
  970. data/packages/webpacker/node_modules/jest-diff/build/getAlignedDiffs.js +0 -244
  971. data/packages/webpacker/node_modules/jest-diff/build/index.d.ts +0 -15
  972. data/packages/webpacker/node_modules/jest-diff/build/index.js +0 -267
  973. data/packages/webpacker/node_modules/jest-diff/build/joinAlignedDiffs.d.ts +0 -10
  974. data/packages/webpacker/node_modules/jest-diff/build/joinAlignedDiffs.js +0 -303
  975. data/packages/webpacker/node_modules/jest-diff/build/normalizeDiffOptions.d.ts +0 -9
  976. data/packages/webpacker/node_modules/jest-diff/build/normalizeDiffOptions.js +0 -64
  977. data/packages/webpacker/node_modules/jest-diff/build/printDiffs.d.ts +0 -10
  978. data/packages/webpacker/node_modules/jest-diff/build/printDiffs.js +0 -85
  979. data/packages/webpacker/node_modules/jest-diff/build/types.d.ts +0 -48
  980. data/packages/webpacker/node_modules/jest-diff/build/types.js +0 -1
  981. data/packages/webpacker/node_modules/jest-diff/package.json +0 -36
  982. data/packages/webpacker/node_modules/jest-docblock/LICENSE +0 -21
  983. data/packages/webpacker/node_modules/jest-docblock/README.md +0 -108
  984. data/packages/webpacker/node_modules/jest-docblock/build/index.d.ts +0 -19
  985. data/packages/webpacker/node_modules/jest-docblock/build/index.js +0 -153
  986. data/packages/webpacker/node_modules/jest-docblock/package.json +0 -32
  987. data/packages/webpacker/node_modules/jest-each/LICENSE +0 -21
  988. data/packages/webpacker/node_modules/jest-each/README.md +0 -548
  989. data/packages/webpacker/node_modules/jest-each/build/bind.d.ts +0 -15
  990. data/packages/webpacker/node_modules/jest-each/build/bind.js +0 -79
  991. data/packages/webpacker/node_modules/jest-each/build/index.d.ts +0 -79
  992. data/packages/webpacker/node_modules/jest-each/build/index.js +0 -97
  993. data/packages/webpacker/node_modules/jest-each/build/table/array.d.ts +0 -10
  994. data/packages/webpacker/node_modules/jest-each/build/table/array.js +0 -151
  995. data/packages/webpacker/node_modules/jest-each/build/table/interpolation.d.ts +0 -17
  996. data/packages/webpacker/node_modules/jest-each/build/table/interpolation.js +0 -69
  997. data/packages/webpacker/node_modules/jest-each/build/table/template.d.ts +0 -11
  998. data/packages/webpacker/node_modules/jest-each/build/table/template.js +0 -45
  999. data/packages/webpacker/node_modules/jest-each/build/validation.d.ts +0 -11
  1000. data/packages/webpacker/node_modules/jest-each/build/validation.js +0 -133
  1001. data/packages/webpacker/node_modules/jest-each/package.json +0 -41
  1002. data/packages/webpacker/node_modules/jest-environment-jsdom/LICENSE +0 -21
  1003. data/packages/webpacker/node_modules/jest-environment-jsdom/build/index.d.ts +0 -30
  1004. data/packages/webpacker/node_modules/jest-environment-jsdom/build/index.js +0 -195
  1005. data/packages/webpacker/node_modules/jest-environment-jsdom/package.json +0 -39
  1006. data/packages/webpacker/node_modules/jest-environment-node/LICENSE +0 -21
  1007. data/packages/webpacker/node_modules/jest-environment-node/build/index.d.ts +0 -29
  1008. data/packages/webpacker/node_modules/jest-environment-node/build/index.js +0 -184
  1009. data/packages/webpacker/node_modules/jest-environment-node/package.json +0 -37
  1010. data/packages/webpacker/node_modules/jest-get-type/LICENSE +0 -21
  1011. data/packages/webpacker/node_modules/jest-get-type/build/index.d.ts +0 -10
  1012. data/packages/webpacker/node_modules/jest-get-type/build/index.js +0 -57
  1013. data/packages/webpacker/node_modules/jest-get-type/package.json +0 -27
  1014. data/packages/webpacker/node_modules/jest-haste-map/LICENSE +0 -21
  1015. data/packages/webpacker/node_modules/jest-haste-map/build/HasteFS.d.ts +0 -27
  1016. data/packages/webpacker/node_modules/jest-haste-map/build/HasteFS.js +0 -179
  1017. data/packages/webpacker/node_modules/jest-haste-map/build/ModuleMap.d.ts +0 -41
  1018. data/packages/webpacker/node_modules/jest-haste-map/build/ModuleMap.js +0 -305
  1019. data/packages/webpacker/node_modules/jest-haste-map/build/blacklist.d.ts +0 -8
  1020. data/packages/webpacker/node_modules/jest-haste-map/build/blacklist.js +0 -59
  1021. data/packages/webpacker/node_modules/jest-haste-map/build/constants.d.ts +0 -9
  1022. data/packages/webpacker/node_modules/jest-haste-map/build/constants.js +0 -52
  1023. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/node.d.ts +0 -12
  1024. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/node.js +0 -309
  1025. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/watchman.d.ts +0 -13
  1026. data/packages/webpacker/node_modules/jest-haste-map/build/crawlers/watchman.js +0 -385
  1027. data/packages/webpacker/node_modules/jest-haste-map/build/getMockName.d.ts +0 -8
  1028. data/packages/webpacker/node_modules/jest-haste-map/build/getMockName.js +0 -76
  1029. data/packages/webpacker/node_modules/jest-haste-map/build/index.d.ts +0 -184
  1030. data/packages/webpacker/node_modules/jest-haste-map/build/index.js +0 -1266
  1031. data/packages/webpacker/node_modules/jest-haste-map/build/lib/dependencyExtractor.d.ts +0 -7
  1032. data/packages/webpacker/node_modules/jest-haste-map/build/lib/dependencyExtractor.js +0 -99
  1033. data/packages/webpacker/node_modules/jest-haste-map/build/lib/fast_path.d.ts +0 -8
  1034. data/packages/webpacker/node_modules/jest-haste-map/build/lib/fast_path.js +0 -81
  1035. data/packages/webpacker/node_modules/jest-haste-map/build/lib/getPlatformExtension.d.ts +0 -7
  1036. data/packages/webpacker/node_modules/jest-haste-map/build/lib/getPlatformExtension.js +0 -31
  1037. data/packages/webpacker/node_modules/jest-haste-map/build/lib/isRegExpSupported.d.ts +0 -7
  1038. data/packages/webpacker/node_modules/jest-haste-map/build/lib/isRegExpSupported.js +0 -22
  1039. data/packages/webpacker/node_modules/jest-haste-map/build/lib/normalizePathSep.d.ts +0 -8
  1040. data/packages/webpacker/node_modules/jest-haste-map/build/lib/normalizePathSep.js +0 -75
  1041. data/packages/webpacker/node_modules/jest-haste-map/build/types.d.ts +0 -126
  1042. data/packages/webpacker/node_modules/jest-haste-map/build/types.js +0 -1
  1043. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/FSEventsWatcher.d.ts +0 -44
  1044. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/FSEventsWatcher.js +0 -294
  1045. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/NodeWatcher.js +0 -375
  1046. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/RecrawlWarning.js +0 -57
  1047. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/WatchmanWatcher.js +0 -418
  1048. data/packages/webpacker/node_modules/jest-haste-map/build/watchers/common.js +0 -114
  1049. data/packages/webpacker/node_modules/jest-haste-map/build/worker.d.ts +0 -9
  1050. data/packages/webpacker/node_modules/jest-haste-map/build/worker.js +0 -197
  1051. data/packages/webpacker/node_modules/jest-haste-map/package.json +0 -49
  1052. data/packages/webpacker/node_modules/jest-jasmine2/LICENSE +0 -21
  1053. data/packages/webpacker/node_modules/jest-jasmine2/build/ExpectationFailed.d.ts +0 -8
  1054. data/packages/webpacker/node_modules/jest-jasmine2/build/ExpectationFailed.js +0 -16
  1055. data/packages/webpacker/node_modules/jest-jasmine2/build/PCancelable.d.ts +0 -17
  1056. data/packages/webpacker/node_modules/jest-jasmine2/build/PCancelable.js +0 -139
  1057. data/packages/webpacker/node_modules/jest-jasmine2/build/assertionErrorMessage.d.ts +0 -10
  1058. data/packages/webpacker/node_modules/jest-jasmine2/build/assertionErrorMessage.js +0 -156
  1059. data/packages/webpacker/node_modules/jest-jasmine2/build/each.d.ts +0 -8
  1060. data/packages/webpacker/node_modules/jest-jasmine2/build/each.js +0 -44
  1061. data/packages/webpacker/node_modules/jest-jasmine2/build/errorOnPrivate.d.ts +0 -8
  1062. data/packages/webpacker/node_modules/jest-jasmine2/build/errorOnPrivate.js +0 -66
  1063. data/packages/webpacker/node_modules/jest-jasmine2/build/expectationResultFactory.d.ts +0 -16
  1064. data/packages/webpacker/node_modules/jest-jasmine2/build/expectationResultFactory.js +0 -93
  1065. data/packages/webpacker/node_modules/jest-jasmine2/build/index.d.ts +0 -12
  1066. data/packages/webpacker/node_modules/jest-jasmine2/build/index.js +0 -247
  1067. data/packages/webpacker/node_modules/jest-jasmine2/build/isError.d.ts +0 -10
  1068. data/packages/webpacker/node_modules/jest-jasmine2/build/isError.js +0 -32
  1069. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/CallTracker.d.ts +0 -25
  1070. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/CallTracker.js +0 -121
  1071. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Env.d.ts +0 -43
  1072. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Env.js +0 -716
  1073. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/JsApiReporter.d.ts +0 -31
  1074. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/JsApiReporter.js +0 -173
  1075. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.d.ts +0 -22
  1076. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/ReportDispatcher.js +0 -127
  1077. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Spec.d.ts +0 -81
  1078. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Spec.js +0 -298
  1079. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/SpyStrategy.d.ts +0 -22
  1080. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/SpyStrategy.js +0 -143
  1081. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Suite.d.ts +0 -61
  1082. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Suite.js +0 -235
  1083. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Timer.d.ts +0 -14
  1084. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/Timer.js +0 -79
  1085. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/createSpy.d.ts +0 -13
  1086. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/createSpy.js +0 -88
  1087. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/jasmineLight.d.ts +0 -27
  1088. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/jasmineLight.js +0 -171
  1089. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/spyRegistry.d.ts +0 -18
  1090. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmine/spyRegistry.js +0 -222
  1091. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmineAsyncInstall.d.ts +0 -8
  1092. data/packages/webpacker/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js +0 -259
  1093. data/packages/webpacker/node_modules/jest-jasmine2/build/jestExpect.d.ts +0 -9
  1094. data/packages/webpacker/node_modules/jest-jasmine2/build/jestExpect.js +0 -69
  1095. data/packages/webpacker/node_modules/jest-jasmine2/build/pTimeout.d.ts +0 -7
  1096. data/packages/webpacker/node_modules/jest-jasmine2/build/pTimeout.js +0 -78
  1097. data/packages/webpacker/node_modules/jest-jasmine2/build/queueRunner.d.ts +0 -29
  1098. data/packages/webpacker/node_modules/jest-jasmine2/build/queueRunner.js +0 -127
  1099. data/packages/webpacker/node_modules/jest-jasmine2/build/reporter.d.ts +0 -31
  1100. data/packages/webpacker/node_modules/jest-jasmine2/build/reporter.js +0 -250
  1101. data/packages/webpacker/node_modules/jest-jasmine2/build/setup_jest_globals.d.ts +0 -16
  1102. data/packages/webpacker/node_modules/jest-jasmine2/build/setup_jest_globals.js +0 -121
  1103. data/packages/webpacker/node_modules/jest-jasmine2/build/treeProcessor.d.ts +0 -26
  1104. data/packages/webpacker/node_modules/jest-jasmine2/build/treeProcessor.js +0 -82
  1105. data/packages/webpacker/node_modules/jest-jasmine2/build/types.d.ts +0 -82
  1106. data/packages/webpacker/node_modules/jest-jasmine2/build/types.js +0 -7
  1107. data/packages/webpacker/node_modules/jest-jasmine2/package.json +0 -48
  1108. data/packages/webpacker/node_modules/jest-leak-detector/LICENSE +0 -21
  1109. data/packages/webpacker/node_modules/jest-leak-detector/README.md +0 -27
  1110. data/packages/webpacker/node_modules/jest-leak-detector/build/index.d.ts +0 -12
  1111. data/packages/webpacker/node_modules/jest-leak-detector/build/index.js +0 -135
  1112. data/packages/webpacker/node_modules/jest-leak-detector/package.json +0 -34
  1113. data/packages/webpacker/node_modules/jest-matcher-utils/LICENSE +0 -21
  1114. data/packages/webpacker/node_modules/jest-matcher-utils/README.md +0 -24
  1115. data/packages/webpacker/node_modules/jest-matcher-utils/build/Replaceable.d.ts +0 -17
  1116. data/packages/webpacker/node_modules/jest-matcher-utils/build/Replaceable.js +0 -82
  1117. data/packages/webpacker/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.d.ts +0 -7
  1118. data/packages/webpacker/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.js +0 -110
  1119. data/packages/webpacker/node_modules/jest-matcher-utils/build/index.d.ts +0 -53
  1120. data/packages/webpacker/node_modules/jest-matcher-utils/build/index.js +0 -590
  1121. data/packages/webpacker/node_modules/jest-matcher-utils/package.json +0 -37
  1122. data/packages/webpacker/node_modules/jest-message-util/LICENSE +0 -21
  1123. data/packages/webpacker/node_modules/jest-message-util/build/index.d.ts +0 -23
  1124. data/packages/webpacker/node_modules/jest-message-util/build/index.js +0 -501
  1125. data/packages/webpacker/node_modules/jest-message-util/build/types.d.ts +0 -10
  1126. data/packages/webpacker/node_modules/jest-message-util/build/types.js +0 -1
  1127. data/packages/webpacker/node_modules/jest-message-util/package.json +0 -42
  1128. data/packages/webpacker/node_modules/jest-mock/LICENSE +0 -21
  1129. data/packages/webpacker/node_modules/jest-mock/README.md +0 -92
  1130. data/packages/webpacker/node_modules/jest-mock/build/index.d.ts +0 -185
  1131. data/packages/webpacker/node_modules/jest-mock/build/index.js +0 -964
  1132. data/packages/webpacker/node_modules/jest-mock/package.json +0 -30
  1133. data/packages/webpacker/node_modules/jest-regex-util/LICENSE +0 -21
  1134. data/packages/webpacker/node_modules/jest-regex-util/build/index.d.ts +0 -10
  1135. data/packages/webpacker/node_modules/jest-regex-util/build/index.js +0 -48
  1136. data/packages/webpacker/node_modules/jest-regex-util/package.json +0 -29
  1137. data/packages/webpacker/node_modules/jest-resolve/LICENSE +0 -21
  1138. data/packages/webpacker/node_modules/jest-resolve/build/ModuleNotFoundError.d.ts +0 -18
  1139. data/packages/webpacker/node_modules/jest-resolve/build/ModuleNotFoundError.js +0 -146
  1140. data/packages/webpacker/node_modules/jest-resolve/build/defaultResolver.d.ts +0 -29
  1141. data/packages/webpacker/node_modules/jest-resolve/build/defaultResolver.js +0 -123
  1142. data/packages/webpacker/node_modules/jest-resolve/build/fileWalkers.d.ts +0 -14
  1143. data/packages/webpacker/node_modules/jest-resolve/build/fileWalkers.js +0 -214
  1144. data/packages/webpacker/node_modules/jest-resolve/build/index.d.ts +0 -10
  1145. data/packages/webpacker/node_modules/jest-resolve/build/index.js +0 -36
  1146. data/packages/webpacker/node_modules/jest-resolve/build/isBuiltinModule.d.ts +0 -7
  1147. data/packages/webpacker/node_modules/jest-resolve/build/isBuiltinModule.js +0 -36
  1148. data/packages/webpacker/node_modules/jest-resolve/build/nodeModulesPaths.d.ts +0 -15
  1149. data/packages/webpacker/node_modules/jest-resolve/build/nodeModulesPaths.js +0 -128
  1150. data/packages/webpacker/node_modules/jest-resolve/build/resolver.d.ts +0 -58
  1151. data/packages/webpacker/node_modules/jest-resolve/build/resolver.js +0 -595
  1152. data/packages/webpacker/node_modules/jest-resolve/build/shouldLoadAsEsm.d.ts +0 -9
  1153. data/packages/webpacker/node_modules/jest-resolve/build/shouldLoadAsEsm.js +0 -112
  1154. data/packages/webpacker/node_modules/jest-resolve/build/types.d.ts +0 -23
  1155. data/packages/webpacker/node_modules/jest-resolve/build/types.js +0 -1
  1156. data/packages/webpacker/node_modules/jest-resolve/build/utils.d.ts +0 -51
  1157. data/packages/webpacker/node_modules/jest-resolve/build/utils.js +0 -269
  1158. data/packages/webpacker/node_modules/jest-resolve/package.json +0 -42
  1159. data/packages/webpacker/node_modules/jest-resolve-dependencies/LICENSE +0 -21
  1160. data/packages/webpacker/node_modules/jest-resolve-dependencies/build/index.d.ts +0 -27
  1161. data/packages/webpacker/node_modules/jest-resolve-dependencies/build/index.js +0 -238
  1162. data/packages/webpacker/node_modules/jest-resolve-dependencies/package.json +0 -37
  1163. data/packages/webpacker/node_modules/jest-runner/LICENSE +0 -21
  1164. data/packages/webpacker/node_modules/jest-runner/build/index.d.ts +0 -24
  1165. data/packages/webpacker/node_modules/jest-runner/build/index.js +0 -300
  1166. data/packages/webpacker/node_modules/jest-runner/build/runTest.d.ts +0 -12
  1167. data/packages/webpacker/node_modules/jest-runner/build/runTest.js +0 -494
  1168. data/packages/webpacker/node_modules/jest-runner/build/testWorker.d.ts +0 -26
  1169. data/packages/webpacker/node_modules/jest-runner/build/testWorker.js +0 -150
  1170. data/packages/webpacker/node_modules/jest-runner/build/types.d.ts +0 -41
  1171. data/packages/webpacker/node_modules/jest-runner/build/types.js +0 -15
  1172. data/packages/webpacker/node_modules/jest-runner/package.json +0 -55
  1173. data/packages/webpacker/node_modules/jest-runtime/LICENSE +0 -21
  1174. data/packages/webpacker/node_modules/jest-runtime/build/helpers.d.ts +0 -10
  1175. data/packages/webpacker/node_modules/jest-runtime/build/helpers.js +0 -157
  1176. data/packages/webpacker/node_modules/jest-runtime/build/index.d.ts +0 -142
  1177. data/packages/webpacker/node_modules/jest-runtime/build/index.js +0 -2454
  1178. data/packages/webpacker/node_modules/jest-runtime/build/types.d.ts +0 -15
  1179. data/packages/webpacker/node_modules/jest-runtime/build/types.js +0 -1
  1180. data/packages/webpacker/node_modules/jest-runtime/package.json +0 -57
  1181. data/packages/webpacker/node_modules/jest-serializer/LICENSE +0 -21
  1182. data/packages/webpacker/node_modules/jest-serializer/README.md +0 -47
  1183. data/packages/webpacker/node_modules/jest-serializer/build/index.d.ts +0 -20
  1184. data/packages/webpacker/node_modules/jest-serializer/build/index.js +0 -109
  1185. data/packages/webpacker/node_modules/jest-serializer/package.json +0 -33
  1186. data/packages/webpacker/node_modules/jest-serializer/v8.d.ts +0 -11
  1187. data/packages/webpacker/node_modules/jest-snapshot/LICENSE +0 -21
  1188. data/packages/webpacker/node_modules/jest-snapshot/build/InlineSnapshots.d.ts +0 -15
  1189. data/packages/webpacker/node_modules/jest-snapshot/build/InlineSnapshots.js +0 -503
  1190. data/packages/webpacker/node_modules/jest-snapshot/build/SnapshotResolver.d.ts +0 -18
  1191. data/packages/webpacker/node_modules/jest-snapshot/build/SnapshotResolver.js +0 -179
  1192. data/packages/webpacker/node_modules/jest-snapshot/build/State.d.ts +0 -62
  1193. data/packages/webpacker/node_modules/jest-snapshot/build/State.js +0 -389
  1194. data/packages/webpacker/node_modules/jest-snapshot/build/colors.d.ts +0 -15
  1195. data/packages/webpacker/node_modules/jest-snapshot/build/colors.js +0 -38
  1196. data/packages/webpacker/node_modules/jest-snapshot/build/dedentLines.d.ts +0 -7
  1197. data/packages/webpacker/node_modules/jest-snapshot/build/dedentLines.js +0 -149
  1198. data/packages/webpacker/node_modules/jest-snapshot/build/index.d.ts +0 -34
  1199. data/packages/webpacker/node_modules/jest-snapshot/build/index.js +0 -645
  1200. data/packages/webpacker/node_modules/jest-snapshot/build/mockSerializer.d.ts +0 -11
  1201. data/packages/webpacker/node_modules/jest-snapshot/build/mockSerializer.js +0 -52
  1202. data/packages/webpacker/node_modules/jest-snapshot/build/plugins.d.ts +0 -9
  1203. data/packages/webpacker/node_modules/jest-snapshot/build/plugins.js +0 -48
  1204. data/packages/webpacker/node_modules/jest-snapshot/build/printSnapshot.d.ts +0 -24
  1205. data/packages/webpacker/node_modules/jest-snapshot/build/printSnapshot.js +0 -407
  1206. data/packages/webpacker/node_modules/jest-snapshot/build/types.d.ts +0 -25
  1207. data/packages/webpacker/node_modules/jest-snapshot/build/types.js +0 -1
  1208. data/packages/webpacker/node_modules/jest-snapshot/build/utils.d.ts +0 -28
  1209. data/packages/webpacker/node_modules/jest-snapshot/build/utils.js +0 -460
  1210. data/packages/webpacker/node_modules/jest-snapshot/package.json +0 -61
  1211. data/packages/webpacker/node_modules/jest-util/LICENSE +0 -21
  1212. data/packages/webpacker/node_modules/jest-util/build/ErrorWithStack.d.ts +0 -9
  1213. data/packages/webpacker/node_modules/jest-util/build/ErrorWithStack.js +0 -33
  1214. data/packages/webpacker/node_modules/jest-util/build/clearLine.d.ts +0 -8
  1215. data/packages/webpacker/node_modules/jest-util/build/clearLine.js +0 -18
  1216. data/packages/webpacker/node_modules/jest-util/build/convertDescriptorToString.d.ts +0 -7
  1217. data/packages/webpacker/node_modules/jest-util/build/convertDescriptorToString.js +0 -41
  1218. data/packages/webpacker/node_modules/jest-util/build/createDirectory.d.ts +0 -8
  1219. data/packages/webpacker/node_modules/jest-util/build/createDirectory.js +0 -76
  1220. data/packages/webpacker/node_modules/jest-util/build/createProcessObject.d.ts +0 -8
  1221. data/packages/webpacker/node_modules/jest-util/build/createProcessObject.js +0 -126
  1222. data/packages/webpacker/node_modules/jest-util/build/deepCyclicCopy.d.ts +0 -11
  1223. data/packages/webpacker/node_modules/jest-util/build/deepCyclicCopy.js +0 -84
  1224. data/packages/webpacker/node_modules/jest-util/build/formatTime.d.ts +0 -7
  1225. data/packages/webpacker/node_modules/jest-util/build/formatTime.js +0 -24
  1226. data/packages/webpacker/node_modules/jest-util/build/globsToMatcher.d.ts +0 -27
  1227. data/packages/webpacker/node_modules/jest-util/build/globsToMatcher.js +0 -108
  1228. data/packages/webpacker/node_modules/jest-util/build/index.d.ts +0 -25
  1229. data/packages/webpacker/node_modules/jest-util/build/index.js +0 -209
  1230. data/packages/webpacker/node_modules/jest-util/build/installCommonGlobals.d.ts +0 -8
  1231. data/packages/webpacker/node_modules/jest-util/build/installCommonGlobals.js +0 -123
  1232. data/packages/webpacker/node_modules/jest-util/build/interopRequireDefault.d.ts +0 -7
  1233. data/packages/webpacker/node_modules/jest-util/build/interopRequireDefault.js +0 -22
  1234. data/packages/webpacker/node_modules/jest-util/build/isInteractive.d.ts +0 -8
  1235. data/packages/webpacker/node_modules/jest-util/build/isInteractive.js +0 -27
  1236. data/packages/webpacker/node_modules/jest-util/build/isPromise.d.ts +0 -8
  1237. data/packages/webpacker/node_modules/jest-util/build/isPromise.js +0 -20
  1238. data/packages/webpacker/node_modules/jest-util/build/pluralize.d.ts +0 -7
  1239. data/packages/webpacker/node_modules/jest-util/build/pluralize.js +0 -16
  1240. data/packages/webpacker/node_modules/jest-util/build/preRunMessage.d.ts +0 -9
  1241. data/packages/webpacker/node_modules/jest-util/build/preRunMessage.js +0 -48
  1242. data/packages/webpacker/node_modules/jest-util/build/replacePathSepForGlob.d.ts +0 -8
  1243. data/packages/webpacker/node_modules/jest-util/build/replacePathSepForGlob.js +0 -16
  1244. data/packages/webpacker/node_modules/jest-util/build/requireOrImportModule.d.ts +0 -8
  1245. data/packages/webpacker/node_modules/jest-util/build/requireOrImportModule.js +0 -91
  1246. data/packages/webpacker/node_modules/jest-util/build/setGlobal.d.ts +0 -7
  1247. data/packages/webpacker/node_modules/jest-util/build/setGlobal.js +0 -17
  1248. data/packages/webpacker/node_modules/jest-util/build/specialChars.d.ts +0 -14
  1249. data/packages/webpacker/node_modules/jest-util/build/specialChars.js +0 -25
  1250. data/packages/webpacker/node_modules/jest-util/build/testPathPatternToRegExp.d.ts +0 -8
  1251. data/packages/webpacker/node_modules/jest-util/build/testPathPatternToRegExp.js +0 -19
  1252. data/packages/webpacker/node_modules/jest-util/build/tryRealpath.d.ts +0 -8
  1253. data/packages/webpacker/node_modules/jest-util/build/tryRealpath.js +0 -34
  1254. data/packages/webpacker/node_modules/jest-util/package.json +0 -39
  1255. data/packages/webpacker/node_modules/jest-validate/LICENSE +0 -21
  1256. data/packages/webpacker/node_modules/jest-validate/README.md +0 -196
  1257. data/packages/webpacker/node_modules/jest-validate/build/condition.d.ts +0 -9
  1258. data/packages/webpacker/node_modules/jest-validate/build/condition.js +0 -48
  1259. data/packages/webpacker/node_modules/jest-validate/build/defaultConfig.d.ts +0 -9
  1260. data/packages/webpacker/node_modules/jest-validate/build/defaultConfig.js +0 -42
  1261. data/packages/webpacker/node_modules/jest-validate/build/deprecated.d.ts +0 -8
  1262. data/packages/webpacker/node_modules/jest-validate/build/deprecated.js +0 -32
  1263. data/packages/webpacker/node_modules/jest-validate/build/errors.d.ts +0 -8
  1264. data/packages/webpacker/node_modules/jest-validate/build/errors.js +0 -75
  1265. data/packages/webpacker/node_modules/jest-validate/build/exampleConfig.d.ts +0 -9
  1266. data/packages/webpacker/node_modules/jest-validate/build/exampleConfig.js +0 -36
  1267. data/packages/webpacker/node_modules/jest-validate/build/index.d.ts +0 -11
  1268. data/packages/webpacker/node_modules/jest-validate/build/index.js +0 -61
  1269. data/packages/webpacker/node_modules/jest-validate/build/types.d.ts +0 -26
  1270. data/packages/webpacker/node_modules/jest-validate/build/types.js +0 -1
  1271. data/packages/webpacker/node_modules/jest-validate/build/utils.d.ts +0 -18
  1272. data/packages/webpacker/node_modules/jest-validate/build/utils.js +0 -129
  1273. data/packages/webpacker/node_modules/jest-validate/build/validate.d.ts +0 -13
  1274. data/packages/webpacker/node_modules/jest-validate/build/validate.js +0 -131
  1275. data/packages/webpacker/node_modules/jest-validate/build/validateCLIOptions.d.ts +0 -14
  1276. data/packages/webpacker/node_modules/jest-validate/build/validateCLIOptions.js +0 -141
  1277. data/packages/webpacker/node_modules/jest-validate/build/warnings.d.ts +0 -8
  1278. data/packages/webpacker/node_modules/jest-validate/build/warnings.js +0 -48
  1279. data/packages/webpacker/node_modules/jest-validate/package.json +0 -37
  1280. data/packages/webpacker/node_modules/jest-watcher/LICENSE +0 -21
  1281. data/packages/webpacker/node_modules/jest-watcher/build/BaseWatchPlugin.d.ts +0 -22
  1282. data/packages/webpacker/node_modules/jest-watcher/build/BaseWatchPlugin.js +0 -52
  1283. data/packages/webpacker/node_modules/jest-watcher/build/JestHooks.d.ts +0 -18
  1284. data/packages/webpacker/node_modules/jest-watcher/build/JestHooks.js +0 -91
  1285. data/packages/webpacker/node_modules/jest-watcher/build/PatternPrompt.d.ts +0 -20
  1286. data/packages/webpacker/node_modules/jest-watcher/build/PatternPrompt.js +0 -113
  1287. data/packages/webpacker/node_modules/jest-watcher/build/constants.d.ts +0 -18
  1288. data/packages/webpacker/node_modules/jest-watcher/build/constants.js +0 -27
  1289. data/packages/webpacker/node_modules/jest-watcher/build/index.d.ts +0 -13
  1290. data/packages/webpacker/node_modules/jest-watcher/build/index.js +0 -75
  1291. data/packages/webpacker/node_modules/jest-watcher/build/lib/Prompt.d.ts +0 -25
  1292. data/packages/webpacker/node_modules/jest-watcher/build/lib/Prompt.js +0 -158
  1293. data/packages/webpacker/node_modules/jest-watcher/build/lib/colorize.d.ts +0 -7
  1294. data/packages/webpacker/node_modules/jest-watcher/build/lib/colorize.js +0 -34
  1295. data/packages/webpacker/node_modules/jest-watcher/build/lib/formatTestNameByPattern.d.ts +0 -7
  1296. data/packages/webpacker/node_modules/jest-watcher/build/lib/formatTestNameByPattern.js +0 -81
  1297. data/packages/webpacker/node_modules/jest-watcher/build/lib/patternModeHelpers.d.ts +0 -9
  1298. data/packages/webpacker/node_modules/jest-watcher/build/lib/patternModeHelpers.js +0 -68
  1299. data/packages/webpacker/node_modules/jest-watcher/build/lib/scroll.d.ts +0 -12
  1300. data/packages/webpacker/node_modules/jest-watcher/build/lib/scroll.js +0 -34
  1301. data/packages/webpacker/node_modules/jest-watcher/build/types.d.ts +0 -60
  1302. data/packages/webpacker/node_modules/jest-watcher/build/types.js +0 -1
  1303. data/packages/webpacker/node_modules/jest-watcher/package.json +0 -40
  1304. data/packages/webpacker/node_modules/jest-worker/LICENSE +0 -21
  1305. data/packages/webpacker/node_modules/jest-worker/README.md +0 -247
  1306. data/packages/webpacker/node_modules/jest-worker/build/Farm.d.ts +0 -29
  1307. data/packages/webpacker/node_modules/jest-worker/build/Farm.js +0 -206
  1308. data/packages/webpacker/node_modules/jest-worker/build/FifoQueue.d.ts +0 -18
  1309. data/packages/webpacker/node_modules/jest-worker/build/FifoQueue.js +0 -171
  1310. data/packages/webpacker/node_modules/jest-worker/build/PriorityQueue.d.ts +0 -41
  1311. data/packages/webpacker/node_modules/jest-worker/build/PriorityQueue.js +0 -188
  1312. data/packages/webpacker/node_modules/jest-worker/build/WorkerPool.d.ts +0 -13
  1313. data/packages/webpacker/node_modules/jest-worker/build/WorkerPool.js +0 -49
  1314. data/packages/webpacker/node_modules/jest-worker/build/base/BaseWorkerPool.d.ts +0 -21
  1315. data/packages/webpacker/node_modules/jest-worker/build/base/BaseWorkerPool.js +0 -201
  1316. data/packages/webpacker/node_modules/jest-worker/build/index.d.ts +0 -49
  1317. data/packages/webpacker/node_modules/jest-worker/build/index.js +0 -223
  1318. data/packages/webpacker/node_modules/jest-worker/build/types.d.ts +0 -143
  1319. data/packages/webpacker/node_modules/jest-worker/build/types.js +0 -39
  1320. data/packages/webpacker/node_modules/jest-worker/build/workers/ChildProcessWorker.d.ts +0 -51
  1321. data/packages/webpacker/node_modules/jest-worker/build/workers/ChildProcessWorker.js +0 -333
  1322. data/packages/webpacker/node_modules/jest-worker/build/workers/NodeThreadsWorker.d.ts +0 -34
  1323. data/packages/webpacker/node_modules/jest-worker/build/workers/NodeThreadsWorker.js +0 -344
  1324. data/packages/webpacker/node_modules/jest-worker/build/workers/messageParent.d.ts +0 -8
  1325. data/packages/webpacker/node_modules/jest-worker/build/workers/messageParent.js +0 -38
  1326. data/packages/webpacker/node_modules/jest-worker/build/workers/processChild.d.ts +0 -7
  1327. data/packages/webpacker/node_modules/jest-worker/build/workers/processChild.js +0 -148
  1328. data/packages/webpacker/node_modules/jest-worker/build/workers/threadChild.d.ts +0 -7
  1329. data/packages/webpacker/node_modules/jest-worker/build/workers/threadChild.js +0 -159
  1330. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/browser.js +0 -24
  1331. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/index.js +0 -152
  1332. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/license +0 -9
  1333. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/package.json +0 -58
  1334. data/packages/webpacker/node_modules/jest-worker/node_modules/supports-color/readme.md +0 -77
  1335. data/packages/webpacker/node_modules/jest-worker/package.json +0 -38
  1336. data/packages/webpacker/node_modules/pretty-format/LICENSE +0 -21
  1337. data/packages/webpacker/node_modules/pretty-format/README.md +0 -458
  1338. data/packages/webpacker/node_modules/pretty-format/build/collections.d.ts +0 -32
  1339. data/packages/webpacker/node_modules/pretty-format/build/collections.js +0 -187
  1340. data/packages/webpacker/node_modules/pretty-format/build/index.d.ts +0 -25
  1341. data/packages/webpacker/node_modules/pretty-format/build/index.js +0 -597
  1342. data/packages/webpacker/node_modules/pretty-format/build/plugins/AsymmetricMatcher.d.ts +0 -11
  1343. data/packages/webpacker/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js +0 -117
  1344. data/packages/webpacker/node_modules/pretty-format/build/plugins/ConvertAnsi.d.ts +0 -11
  1345. data/packages/webpacker/node_modules/pretty-format/build/plugins/ConvertAnsi.js +0 -96
  1346. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMCollection.d.ts +0 -11
  1347. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMCollection.js +0 -80
  1348. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMElement.d.ts +0 -11
  1349. data/packages/webpacker/node_modules/pretty-format/build/plugins/DOMElement.js +0 -128
  1350. data/packages/webpacker/node_modules/pretty-format/build/plugins/Immutable.d.ts +0 -11
  1351. data/packages/webpacker/node_modules/pretty-format/build/plugins/Immutable.js +0 -247
  1352. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactElement.d.ts +0 -11
  1353. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactElement.js +0 -166
  1354. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactTestComponent.d.ts +0 -18
  1355. data/packages/webpacker/node_modules/pretty-format/build/plugins/ReactTestComponent.js +0 -79
  1356. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.d.ts +0 -7
  1357. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.js +0 -16
  1358. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/markup.d.ts +0 -13
  1359. data/packages/webpacker/node_modules/pretty-format/build/plugins/lib/markup.js +0 -153
  1360. data/packages/webpacker/node_modules/pretty-format/build/types.d.ts +0 -108
  1361. data/packages/webpacker/node_modules/pretty-format/build/types.js +0 -1
  1362. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/index.d.ts +0 -167
  1363. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/index.js +0 -164
  1364. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/license +0 -9
  1365. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/package.json +0 -52
  1366. data/packages/webpacker/node_modules/pretty-format/node_modules/ansi-styles/readme.md +0 -144
  1367. data/packages/webpacker/node_modules/pretty-format/package.json +0 -44
  1368. data/packages/webpacker/node_modules/react-is/LICENSE +0 -21
  1369. data/packages/webpacker/node_modules/react-is/README.md +0 -104
  1370. data/packages/webpacker/node_modules/react-is/build-info.json +0 -8
  1371. data/packages/webpacker/node_modules/react-is/cjs/react-is.development.js +0 -226
  1372. data/packages/webpacker/node_modules/react-is/cjs/react-is.production.min.js +0 -14
  1373. data/packages/webpacker/node_modules/react-is/index.js +0 -7
  1374. data/packages/webpacker/node_modules/react-is/package.json +0 -27
  1375. data/packages/webpacker/node_modules/react-is/umd/react-is.development.js +0 -225
  1376. data/packages/webpacker/node_modules/react-is/umd/react-is.production.min.js +0 -14
  1377. data/packages/webpacker/node_modules/semver/CHANGELOG.md +0 -111
  1378. data/packages/webpacker/node_modules/semver/LICENSE +0 -15
  1379. data/packages/webpacker/node_modules/semver/README.md +0 -566
  1380. data/packages/webpacker/node_modules/semver/bin/semver.js +0 -173
  1381. data/packages/webpacker/node_modules/semver/classes/comparator.js +0 -135
  1382. data/packages/webpacker/node_modules/semver/classes/index.js +0 -5
  1383. data/packages/webpacker/node_modules/semver/classes/range.js +0 -510
  1384. data/packages/webpacker/node_modules/semver/classes/semver.js +0 -287
  1385. data/packages/webpacker/node_modules/semver/functions/clean.js +0 -6
  1386. data/packages/webpacker/node_modules/semver/functions/cmp.js +0 -48
  1387. data/packages/webpacker/node_modules/semver/functions/coerce.js +0 -51
  1388. data/packages/webpacker/node_modules/semver/functions/compare-build.js +0 -7
  1389. data/packages/webpacker/node_modules/semver/functions/compare-loose.js +0 -3
  1390. data/packages/webpacker/node_modules/semver/functions/compare.js +0 -5
  1391. data/packages/webpacker/node_modules/semver/functions/diff.js +0 -23
  1392. data/packages/webpacker/node_modules/semver/functions/eq.js +0 -3
  1393. data/packages/webpacker/node_modules/semver/functions/gt.js +0 -3
  1394. data/packages/webpacker/node_modules/semver/functions/gte.js +0 -3
  1395. data/packages/webpacker/node_modules/semver/functions/inc.js +0 -15
  1396. data/packages/webpacker/node_modules/semver/functions/lt.js +0 -3
  1397. data/packages/webpacker/node_modules/semver/functions/lte.js +0 -3
  1398. data/packages/webpacker/node_modules/semver/functions/major.js +0 -3
  1399. data/packages/webpacker/node_modules/semver/functions/minor.js +0 -3
  1400. data/packages/webpacker/node_modules/semver/functions/neq.js +0 -3
  1401. data/packages/webpacker/node_modules/semver/functions/parse.js +0 -33
  1402. data/packages/webpacker/node_modules/semver/functions/patch.js +0 -3
  1403. data/packages/webpacker/node_modules/semver/functions/prerelease.js +0 -6
  1404. data/packages/webpacker/node_modules/semver/functions/rcompare.js +0 -3
  1405. data/packages/webpacker/node_modules/semver/functions/rsort.js +0 -3
  1406. data/packages/webpacker/node_modules/semver/functions/satisfies.js +0 -10
  1407. data/packages/webpacker/node_modules/semver/functions/sort.js +0 -3
  1408. data/packages/webpacker/node_modules/semver/functions/valid.js +0 -6
  1409. data/packages/webpacker/node_modules/semver/index.js +0 -48
  1410. data/packages/webpacker/node_modules/semver/internal/constants.js +0 -17
  1411. data/packages/webpacker/node_modules/semver/internal/debug.js +0 -9
  1412. data/packages/webpacker/node_modules/semver/internal/identifiers.js +0 -23
  1413. data/packages/webpacker/node_modules/semver/internal/parse-options.js +0 -11
  1414. data/packages/webpacker/node_modules/semver/internal/re.js +0 -182
  1415. data/packages/webpacker/node_modules/semver/package.json +0 -41
  1416. data/packages/webpacker/node_modules/semver/preload.js +0 -2
  1417. data/packages/webpacker/node_modules/semver/range.bnf +0 -16
  1418. data/packages/webpacker/node_modules/semver/ranges/gtr.js +0 -4
  1419. data/packages/webpacker/node_modules/semver/ranges/intersects.js +0 -7
  1420. data/packages/webpacker/node_modules/semver/ranges/ltr.js +0 -4
  1421. data/packages/webpacker/node_modules/semver/ranges/max-satisfying.js +0 -25
  1422. data/packages/webpacker/node_modules/semver/ranges/min-satisfying.js +0 -24
  1423. data/packages/webpacker/node_modules/semver/ranges/min-version.js +0 -60
  1424. data/packages/webpacker/node_modules/semver/ranges/outside.js +0 -80
  1425. data/packages/webpacker/node_modules/semver/ranges/simplify.js +0 -44
  1426. data/packages/webpacker/node_modules/semver/ranges/subset.js +0 -222
  1427. data/packages/webpacker/node_modules/semver/ranges/to-comparators.js +0 -8
  1428. data/packages/webpacker/node_modules/semver/ranges/valid.js +0 -11
  1429. data/packages/webpacker/node_modules/source-map/CHANGELOG.md +0 -301
  1430. data/packages/webpacker/node_modules/source-map/LICENSE +0 -28
  1431. data/packages/webpacker/node_modules/source-map/README.md +0 -742
  1432. data/packages/webpacker/node_modules/source-map/dist/source-map.debug.js +0 -3234
  1433. data/packages/webpacker/node_modules/source-map/dist/source-map.js +0 -3233
  1434. data/packages/webpacker/node_modules/source-map/dist/source-map.min.js +0 -2
  1435. data/packages/webpacker/node_modules/source-map/dist/source-map.min.js.map +0 -1
  1436. data/packages/webpacker/node_modules/source-map/lib/array-set.js +0 -121
  1437. data/packages/webpacker/node_modules/source-map/lib/base64-vlq.js +0 -140
  1438. data/packages/webpacker/node_modules/source-map/lib/base64.js +0 -67
  1439. data/packages/webpacker/node_modules/source-map/lib/binary-search.js +0 -111
  1440. data/packages/webpacker/node_modules/source-map/lib/mapping-list.js +0 -79
  1441. data/packages/webpacker/node_modules/source-map/lib/quick-sort.js +0 -114
  1442. data/packages/webpacker/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  1443. data/packages/webpacker/node_modules/source-map/lib/source-map-generator.js +0 -425
  1444. data/packages/webpacker/node_modules/source-map/lib/source-node.js +0 -413
  1445. data/packages/webpacker/node_modules/source-map/lib/util.js +0 -488
  1446. data/packages/webpacker/node_modules/source-map/package.json +0 -73
  1447. data/packages/webpacker/node_modules/source-map/source-map.d.ts +0 -98
  1448. data/packages/webpacker/node_modules/source-map/source-map.js +0 -8
  1449. data/packages/webpacker/node_modules/supports-color/browser.js +0 -5
  1450. data/packages/webpacker/node_modules/supports-color/index.js +0 -135
  1451. data/packages/webpacker/node_modules/supports-color/license +0 -9
  1452. data/packages/webpacker/node_modules/supports-color/package.json +0 -53
  1453. data/packages/webpacker/node_modules/supports-color/readme.md +0 -76
  1454. data/packages/webpacker/node_modules/throat/LICENSE +0 -19
  1455. data/packages/webpacker/node_modules/throat/README.md +0 -55
  1456. data/packages/webpacker/node_modules/throat/index.d.ts +0 -32
  1457. data/packages/webpacker/node_modules/throat/index.js +0 -145
  1458. data/packages/webpacker/node_modules/throat/index.js.flow +0 -7
  1459. data/packages/webpacker/node_modules/throat/package.json +0 -47
  1460. data/packages/webpacker/node_modules/type-fest/base.d.ts +0 -38
  1461. data/packages/webpacker/node_modules/type-fest/index.d.ts +0 -2
  1462. data/packages/webpacker/node_modules/type-fest/license +0 -9
  1463. data/packages/webpacker/node_modules/type-fest/package.json +0 -58
  1464. data/packages/webpacker/node_modules/type-fest/readme.md +0 -658
  1465. data/packages/webpacker/node_modules/type-fest/source/async-return-type.d.ts +0 -23
  1466. data/packages/webpacker/node_modules/type-fest/source/asyncify.d.ts +0 -31
  1467. data/packages/webpacker/node_modules/type-fest/source/basic.d.ts +0 -67
  1468. data/packages/webpacker/node_modules/type-fest/source/conditional-except.d.ts +0 -43
  1469. data/packages/webpacker/node_modules/type-fest/source/conditional-keys.d.ts +0 -43
  1470. data/packages/webpacker/node_modules/type-fest/source/conditional-pick.d.ts +0 -42
  1471. data/packages/webpacker/node_modules/type-fest/source/entries.d.ts +0 -57
  1472. data/packages/webpacker/node_modules/type-fest/source/entry.d.ts +0 -60
  1473. data/packages/webpacker/node_modules/type-fest/source/except.d.ts +0 -22
  1474. data/packages/webpacker/node_modules/type-fest/source/fixed-length-array.d.ts +0 -38
  1475. data/packages/webpacker/node_modules/type-fest/source/iterable-element.d.ts +0 -46
  1476. data/packages/webpacker/node_modules/type-fest/source/literal-union.d.ts +0 -33
  1477. data/packages/webpacker/node_modules/type-fest/source/merge-exclusive.d.ts +0 -39
  1478. data/packages/webpacker/node_modules/type-fest/source/merge.d.ts +0 -22
  1479. data/packages/webpacker/node_modules/type-fest/source/mutable.d.ts +0 -22
  1480. data/packages/webpacker/node_modules/type-fest/source/opaque.d.ts +0 -65
  1481. data/packages/webpacker/node_modules/type-fest/source/package-json.d.ts +0 -611
  1482. data/packages/webpacker/node_modules/type-fest/source/partial-deep.d.ts +0 -72
  1483. data/packages/webpacker/node_modules/type-fest/source/promisable.d.ts +0 -23
  1484. data/packages/webpacker/node_modules/type-fest/source/promise-value.d.ts +0 -27
  1485. data/packages/webpacker/node_modules/type-fest/source/readonly-deep.d.ts +0 -59
  1486. data/packages/webpacker/node_modules/type-fest/source/require-at-least-one.d.ts +0 -33
  1487. data/packages/webpacker/node_modules/type-fest/source/require-exactly-one.d.ts +0 -35
  1488. data/packages/webpacker/node_modules/type-fest/source/set-optional.d.ts +0 -34
  1489. data/packages/webpacker/node_modules/type-fest/source/set-required.d.ts +0 -34
  1490. data/packages/webpacker/node_modules/type-fest/source/set-return-type.d.ts +0 -29
  1491. data/packages/webpacker/node_modules/type-fest/source/stringified.d.ts +0 -21
  1492. data/packages/webpacker/node_modules/type-fest/source/tsconfig-json.d.ts +0 -870
  1493. data/packages/webpacker/node_modules/type-fest/source/union-to-intersection.d.ts +0 -58
  1494. data/packages/webpacker/node_modules/type-fest/source/utilities.d.ts +0 -3
  1495. data/packages/webpacker/node_modules/type-fest/source/value-of.d.ts +0 -40
  1496. data/packages/webpacker/node_modules/type-fest/ts41/camel-case.d.ts +0 -72
  1497. data/packages/webpacker/node_modules/type-fest/ts41/delimiter-case.d.ts +0 -85
  1498. data/packages/webpacker/node_modules/type-fest/ts41/index.d.ts +0 -9
  1499. data/packages/webpacker/node_modules/type-fest/ts41/kebab-case.d.ts +0 -36
  1500. data/packages/webpacker/node_modules/type-fest/ts41/pascal-case.d.ts +0 -36
  1501. data/packages/webpacker/node_modules/type-fest/ts41/snake-case.d.ts +0 -35
  1502. data/packages/webpacker/node_modules/v8-to-istanbul/CHANGELOG.md +0 -380
  1503. data/packages/webpacker/node_modules/v8-to-istanbul/LICENSE.txt +0 -14
  1504. data/packages/webpacker/node_modules/v8-to-istanbul/README.md +0 -90
  1505. data/packages/webpacker/node_modules/v8-to-istanbul/index.d.ts +0 -25
  1506. data/packages/webpacker/node_modules/v8-to-istanbul/index.js +0 -5
  1507. data/packages/webpacker/node_modules/v8-to-istanbul/lib/branch.js +0 -28
  1508. data/packages/webpacker/node_modules/v8-to-istanbul/lib/function.js +0 -29
  1509. data/packages/webpacker/node_modules/v8-to-istanbul/lib/line.js +0 -34
  1510. data/packages/webpacker/node_modules/v8-to-istanbul/lib/range.js +0 -33
  1511. data/packages/webpacker/node_modules/v8-to-istanbul/lib/source.js +0 -245
  1512. data/packages/webpacker/node_modules/v8-to-istanbul/lib/v8-to-istanbul.js +0 -318
  1513. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/CHANGELOG.md +0 -344
  1514. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/LICENSE +0 -28
  1515. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/README.md +0 -822
  1516. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/dist/source-map.js +0 -3351
  1517. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/array-set.js +0 -100
  1518. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/base64-vlq.js +0 -111
  1519. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/base64.js +0 -18
  1520. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/binary-search.js +0 -107
  1521. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/mapping-list.js +0 -80
  1522. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/mappings.wasm +0 -0
  1523. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/read-wasm.js +0 -40
  1524. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-consumer.js +0 -1254
  1525. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-map-generator.js +0 -413
  1526. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/source-node.js +0 -404
  1527. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/util.js +0 -546
  1528. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/lib/wasm.js +0 -107
  1529. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/package.json +0 -90
  1530. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/source-map.d.ts +0 -369
  1531. data/packages/webpacker/node_modules/v8-to-istanbul/node_modules/source-map/source-map.js +0 -8
  1532. data/packages/webpacker/node_modules/v8-to-istanbul/package.json +0 -48
  1533. data/packages/webpacker/node_modules/wrap-ansi/index.js +0 -216
  1534. data/packages/webpacker/node_modules/wrap-ansi/license +0 -9
  1535. data/packages/webpacker/node_modules/wrap-ansi/package.json +0 -62
  1536. data/packages/webpacker/node_modules/wrap-ansi/readme.md +0 -91
  1537. data/packages/webpacker/node_modules/y18n/CHANGELOG.md +0 -100
  1538. data/packages/webpacker/node_modules/y18n/LICENSE +0 -13
  1539. data/packages/webpacker/node_modules/y18n/README.md +0 -127
  1540. data/packages/webpacker/node_modules/y18n/build/index.cjs +0 -203
  1541. data/packages/webpacker/node_modules/y18n/build/lib/cjs.js +0 -6
  1542. data/packages/webpacker/node_modules/y18n/build/lib/index.js +0 -174
  1543. data/packages/webpacker/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  1544. data/packages/webpacker/node_modules/y18n/index.mjs +0 -8
  1545. data/packages/webpacker/node_modules/y18n/package.json +0 -70
  1546. data/packages/webpacker/node_modules/yargs/CHANGELOG.md +0 -88
  1547. data/packages/webpacker/node_modules/yargs/LICENSE +0 -21
  1548. data/packages/webpacker/node_modules/yargs/README.md +0 -202
  1549. data/packages/webpacker/node_modules/yargs/browser.mjs +0 -7
  1550. data/packages/webpacker/node_modules/yargs/build/index.cjs +0 -2920
  1551. data/packages/webpacker/node_modules/yargs/build/lib/argsert.js +0 -62
  1552. data/packages/webpacker/node_modules/yargs/build/lib/command.js +0 -382
  1553. data/packages/webpacker/node_modules/yargs/build/lib/completion-templates.js +0 -47
  1554. data/packages/webpacker/node_modules/yargs/build/lib/completion.js +0 -128
  1555. data/packages/webpacker/node_modules/yargs/build/lib/middleware.js +0 -53
  1556. data/packages/webpacker/node_modules/yargs/build/lib/parse-command.js +0 -32
  1557. data/packages/webpacker/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  1558. data/packages/webpacker/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
  1559. data/packages/webpacker/node_modules/yargs/build/lib/usage.js +0 -548
  1560. data/packages/webpacker/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  1561. data/packages/webpacker/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  1562. data/packages/webpacker/node_modules/yargs/build/lib/utils/levenshtein.js +0 -26
  1563. data/packages/webpacker/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  1564. data/packages/webpacker/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  1565. data/packages/webpacker/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  1566. data/packages/webpacker/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  1567. data/packages/webpacker/node_modules/yargs/build/lib/validation.js +0 -308
  1568. data/packages/webpacker/node_modules/yargs/build/lib/yargs-factory.js +0 -1143
  1569. data/packages/webpacker/node_modules/yargs/build/lib/yerror.js +0 -7
  1570. data/packages/webpacker/node_modules/yargs/helpers/helpers.mjs +0 -10
  1571. data/packages/webpacker/node_modules/yargs/helpers/index.js +0 -14
  1572. data/packages/webpacker/node_modules/yargs/helpers/package.json +0 -3
  1573. data/packages/webpacker/node_modules/yargs/index.cjs +0 -39
  1574. data/packages/webpacker/node_modules/yargs/index.mjs +0 -8
  1575. data/packages/webpacker/node_modules/yargs/lib/platform-shims/browser.mjs +0 -92
  1576. data/packages/webpacker/node_modules/yargs/lib/platform-shims/esm.mjs +0 -67
  1577. data/packages/webpacker/node_modules/yargs/locales/be.json +0 -46
  1578. data/packages/webpacker/node_modules/yargs/locales/de.json +0 -46
  1579. data/packages/webpacker/node_modules/yargs/locales/en.json +0 -51
  1580. data/packages/webpacker/node_modules/yargs/locales/es.json +0 -46
  1581. data/packages/webpacker/node_modules/yargs/locales/fi.json +0 -49
  1582. data/packages/webpacker/node_modules/yargs/locales/fr.json +0 -53
  1583. data/packages/webpacker/node_modules/yargs/locales/hi.json +0 -49
  1584. data/packages/webpacker/node_modules/yargs/locales/hu.json +0 -46
  1585. data/packages/webpacker/node_modules/yargs/locales/id.json +0 -50
  1586. data/packages/webpacker/node_modules/yargs/locales/it.json +0 -46
  1587. data/packages/webpacker/node_modules/yargs/locales/ja.json +0 -51
  1588. data/packages/webpacker/node_modules/yargs/locales/ko.json +0 -49
  1589. data/packages/webpacker/node_modules/yargs/locales/nb.json +0 -44
  1590. data/packages/webpacker/node_modules/yargs/locales/nl.json +0 -49
  1591. data/packages/webpacker/node_modules/yargs/locales/nn.json +0 -44
  1592. data/packages/webpacker/node_modules/yargs/locales/pirate.json +0 -13
  1593. data/packages/webpacker/node_modules/yargs/locales/pl.json +0 -49
  1594. data/packages/webpacker/node_modules/yargs/locales/pt.json +0 -45
  1595. data/packages/webpacker/node_modules/yargs/locales/pt_BR.json +0 -48
  1596. data/packages/webpacker/node_modules/yargs/locales/ru.json +0 -46
  1597. data/packages/webpacker/node_modules/yargs/locales/th.json +0 -46
  1598. data/packages/webpacker/node_modules/yargs/locales/tr.json +0 -48
  1599. data/packages/webpacker/node_modules/yargs/locales/zh_CN.json +0 -48
  1600. data/packages/webpacker/node_modules/yargs/locales/zh_TW.json +0 -47
  1601. data/packages/webpacker/node_modules/yargs/package.json +0 -122
  1602. data/packages/webpacker/node_modules/yargs/yargs +0 -9
  1603. data/packages/webpacker/node_modules/yargs-parser/CHANGELOG.md +0 -263
  1604. data/packages/webpacker/node_modules/yargs-parser/LICENSE.txt +0 -14
  1605. data/packages/webpacker/node_modules/yargs-parser/README.md +0 -518
  1606. data/packages/webpacker/node_modules/yargs-parser/browser.js +0 -29
  1607. data/packages/webpacker/node_modules/yargs-parser/build/index.cjs +0 -1042
  1608. data/packages/webpacker/node_modules/yargs-parser/build/lib/index.js +0 -59
  1609. data/packages/webpacker/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  1610. data/packages/webpacker/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  1611. data/packages/webpacker/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  1612. data/packages/webpacker/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1037
  1613. data/packages/webpacker/node_modules/yargs-parser/package.json +0 -87
@@ -1,3351 +0,0 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("fs"), require("path"));
4
- else if(typeof define === 'function' && define.amd)
5
- define(["fs", "path"], factory);
6
- else if(typeof exports === 'object')
7
- exports["sourceMap"] = factory(require("fs"), require("path"));
8
- else
9
- root["sourceMap"] = factory(root["fs"], root["path"]);
10
- })(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_10__, __WEBPACK_EXTERNAL_MODULE_11__) {
11
- return /******/ (function(modules) { // webpackBootstrap
12
- /******/ // The module cache
13
- /******/ var installedModules = {};
14
- /******/
15
- /******/ // The require function
16
- /******/ function __webpack_require__(moduleId) {
17
- /******/
18
- /******/ // Check if module is in cache
19
- /******/ if(installedModules[moduleId]) {
20
- /******/ return installedModules[moduleId].exports;
21
- /******/ }
22
- /******/ // Create a new module (and put it into the cache)
23
- /******/ var module = installedModules[moduleId] = {
24
- /******/ i: moduleId,
25
- /******/ l: false,
26
- /******/ exports: {}
27
- /******/ };
28
- /******/
29
- /******/ // Execute the module function
30
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
- /******/
32
- /******/ // Flag the module as loaded
33
- /******/ module.l = true;
34
- /******/
35
- /******/ // Return the exports of the module
36
- /******/ return module.exports;
37
- /******/ }
38
- /******/
39
- /******/
40
- /******/ // expose the modules object (__webpack_modules__)
41
- /******/ __webpack_require__.m = modules;
42
- /******/
43
- /******/ // expose the module cache
44
- /******/ __webpack_require__.c = installedModules;
45
- /******/
46
- /******/ // define getter function for harmony exports
47
- /******/ __webpack_require__.d = function(exports, name, getter) {
48
- /******/ if(!__webpack_require__.o(exports, name)) {
49
- /******/ Object.defineProperty(exports, name, {
50
- /******/ configurable: false,
51
- /******/ enumerable: true,
52
- /******/ get: getter
53
- /******/ });
54
- /******/ }
55
- /******/ };
56
- /******/
57
- /******/ // getDefaultExport function for compatibility with non-harmony modules
58
- /******/ __webpack_require__.n = function(module) {
59
- /******/ var getter = module && module.__esModule ?
60
- /******/ function getDefault() { return module['default']; } :
61
- /******/ function getModuleExports() { return module; };
62
- /******/ __webpack_require__.d(getter, 'a', getter);
63
- /******/ return getter;
64
- /******/ };
65
- /******/
66
- /******/ // Object.prototype.hasOwnProperty.call
67
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
68
- /******/
69
- /******/ // __webpack_public_path__
70
- /******/ __webpack_require__.p = "";
71
- /******/
72
- /******/ // Load entry module and return exports
73
- /******/ return __webpack_require__(__webpack_require__.s = 5);
74
- /******/ })
75
- /************************************************************************/
76
- /******/ ([
77
- /* 0 */
78
- /***/ (function(module, exports) {
79
-
80
- /* -*- Mode: js; js-indent-level: 2; -*- */
81
- /*
82
- * Copyright 2011 Mozilla Foundation and contributors
83
- * Licensed under the New BSD license. See LICENSE or:
84
- * http://opensource.org/licenses/BSD-3-Clause
85
- */
86
-
87
- /**
88
- * This is a helper function for getting values from parameter/options
89
- * objects.
90
- *
91
- * @param args The object we are extracting values from
92
- * @param name The name of the property we are getting.
93
- * @param defaultValue An optional value to return if the property is missing
94
- * from the object. If this is not specified and the property is missing, an
95
- * error will be thrown.
96
- */
97
- function getArg(aArgs, aName, aDefaultValue) {
98
- if (aName in aArgs) {
99
- return aArgs[aName];
100
- } else if (arguments.length === 3) {
101
- return aDefaultValue;
102
- }
103
- throw new Error('"' + aName + '" is a required argument.');
104
-
105
- }
106
- exports.getArg = getArg;
107
-
108
- const urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
109
- const dataUrlRegexp = /^data:.+\,.+$/;
110
-
111
- function urlParse(aUrl) {
112
- const match = aUrl.match(urlRegexp);
113
- if (!match) {
114
- return null;
115
- }
116
- return {
117
- scheme: match[1],
118
- auth: match[2],
119
- host: match[3],
120
- port: match[4],
121
- path: match[5]
122
- };
123
- }
124
- exports.urlParse = urlParse;
125
-
126
- function urlGenerate(aParsedUrl) {
127
- let url = "";
128
- if (aParsedUrl.scheme) {
129
- url += aParsedUrl.scheme + ":";
130
- }
131
- url += "//";
132
- if (aParsedUrl.auth) {
133
- url += aParsedUrl.auth + "@";
134
- }
135
- if (aParsedUrl.host) {
136
- url += aParsedUrl.host;
137
- }
138
- if (aParsedUrl.port) {
139
- url += ":" + aParsedUrl.port;
140
- }
141
- if (aParsedUrl.path) {
142
- url += aParsedUrl.path;
143
- }
144
- return url;
145
- }
146
- exports.urlGenerate = urlGenerate;
147
-
148
- const MAX_CACHED_INPUTS = 32;
149
-
150
- /**
151
- * Takes some function `f(input) -> result` and returns a memoized version of
152
- * `f`.
153
- *
154
- * We keep at most `MAX_CACHED_INPUTS` memoized results of `f` alive. The
155
- * memoization is a dumb-simple, linear least-recently-used cache.
156
- */
157
- function lruMemoize(f) {
158
- const cache = [];
159
-
160
- return function(input) {
161
- for (let i = 0; i < cache.length; i++) {
162
- if (cache[i].input === input) {
163
- const temp = cache[0];
164
- cache[0] = cache[i];
165
- cache[i] = temp;
166
- return cache[0].result;
167
- }
168
- }
169
-
170
- const result = f(input);
171
-
172
- cache.unshift({
173
- input,
174
- result,
175
- });
176
-
177
- if (cache.length > MAX_CACHED_INPUTS) {
178
- cache.pop();
179
- }
180
-
181
- return result;
182
- };
183
- }
184
-
185
- /**
186
- * Normalizes a path, or the path portion of a URL:
187
- *
188
- * - Replaces consecutive slashes with one slash.
189
- * - Removes unnecessary '.' parts.
190
- * - Removes unnecessary '<dir>/..' parts.
191
- *
192
- * Based on code in the Node.js 'path' core module.
193
- *
194
- * @param aPath The path or url to normalize.
195
- */
196
- const normalize = lruMemoize(function normalize(aPath) {
197
- let path = aPath;
198
- const url = urlParse(aPath);
199
- if (url) {
200
- if (!url.path) {
201
- return aPath;
202
- }
203
- path = url.path;
204
- }
205
- const isAbsolute = exports.isAbsolute(path);
206
-
207
- // Split the path into parts between `/` characters. This is much faster than
208
- // using `.split(/\/+/g)`.
209
- const parts = [];
210
- let start = 0;
211
- let i = 0;
212
- while (true) {
213
- start = i;
214
- i = path.indexOf("/", start);
215
- if (i === -1) {
216
- parts.push(path.slice(start));
217
- break;
218
- } else {
219
- parts.push(path.slice(start, i));
220
- while (i < path.length && path[i] === "/") {
221
- i++;
222
- }
223
- }
224
- }
225
-
226
- let up = 0;
227
- for (i = parts.length - 1; i >= 0; i--) {
228
- const part = parts[i];
229
- if (part === ".") {
230
- parts.splice(i, 1);
231
- } else if (part === "..") {
232
- up++;
233
- } else if (up > 0) {
234
- if (part === "") {
235
- // The first part is blank if the path is absolute. Trying to go
236
- // above the root is a no-op. Therefore we can remove all '..' parts
237
- // directly after the root.
238
- parts.splice(i + 1, up);
239
- up = 0;
240
- } else {
241
- parts.splice(i, 2);
242
- up--;
243
- }
244
- }
245
- }
246
- path = parts.join("/");
247
-
248
- if (path === "") {
249
- path = isAbsolute ? "/" : ".";
250
- }
251
-
252
- if (url) {
253
- url.path = path;
254
- return urlGenerate(url);
255
- }
256
- return path;
257
- });
258
- exports.normalize = normalize;
259
-
260
- /**
261
- * Joins two paths/URLs.
262
- *
263
- * @param aRoot The root path or URL.
264
- * @param aPath The path or URL to be joined with the root.
265
- *
266
- * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a
267
- * scheme-relative URL: Then the scheme of aRoot, if any, is prepended
268
- * first.
269
- * - Otherwise aPath is a path. If aRoot is a URL, then its path portion
270
- * is updated with the result and aRoot is returned. Otherwise the result
271
- * is returned.
272
- * - If aPath is absolute, the result is aPath.
273
- * - Otherwise the two paths are joined with a slash.
274
- * - Joining for example 'http://' and 'www.example.com' is also supported.
275
- */
276
- function join(aRoot, aPath) {
277
- if (aRoot === "") {
278
- aRoot = ".";
279
- }
280
- if (aPath === "") {
281
- aPath = ".";
282
- }
283
- const aPathUrl = urlParse(aPath);
284
- const aRootUrl = urlParse(aRoot);
285
- if (aRootUrl) {
286
- aRoot = aRootUrl.path || "/";
287
- }
288
-
289
- // `join(foo, '//www.example.org')`
290
- if (aPathUrl && !aPathUrl.scheme) {
291
- if (aRootUrl) {
292
- aPathUrl.scheme = aRootUrl.scheme;
293
- }
294
- return urlGenerate(aPathUrl);
295
- }
296
-
297
- if (aPathUrl || aPath.match(dataUrlRegexp)) {
298
- return aPath;
299
- }
300
-
301
- // `join('http://', 'www.example.com')`
302
- if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {
303
- aRootUrl.host = aPath;
304
- return urlGenerate(aRootUrl);
305
- }
306
-
307
- const joined = aPath.charAt(0) === "/"
308
- ? aPath
309
- : normalize(aRoot.replace(/\/+$/, "") + "/" + aPath);
310
-
311
- if (aRootUrl) {
312
- aRootUrl.path = joined;
313
- return urlGenerate(aRootUrl);
314
- }
315
- return joined;
316
- }
317
- exports.join = join;
318
-
319
- exports.isAbsolute = function(aPath) {
320
- return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
321
- };
322
-
323
- /**
324
- * Make a path relative to a URL or another path.
325
- *
326
- * @param aRoot The root path or URL.
327
- * @param aPath The path or URL to be made relative to aRoot.
328
- */
329
- function relative(aRoot, aPath) {
330
- if (aRoot === "") {
331
- aRoot = ".";
332
- }
333
-
334
- aRoot = aRoot.replace(/\/$/, "");
335
-
336
- // It is possible for the path to be above the root. In this case, simply
337
- // checking whether the root is a prefix of the path won't work. Instead, we
338
- // need to remove components from the root one by one, until either we find
339
- // a prefix that fits, or we run out of components to remove.
340
- let level = 0;
341
- while (aPath.indexOf(aRoot + "/") !== 0) {
342
- const index = aRoot.lastIndexOf("/");
343
- if (index < 0) {
344
- return aPath;
345
- }
346
-
347
- // If the only part of the root that is left is the scheme (i.e. http://,
348
- // file:///, etc.), one or more slashes (/), or simply nothing at all, we
349
- // have exhausted all components, so the path is not relative to the root.
350
- aRoot = aRoot.slice(0, index);
351
- if (aRoot.match(/^([^\/]+:\/)?\/*$/)) {
352
- return aPath;
353
- }
354
-
355
- ++level;
356
- }
357
-
358
- // Make sure we add a "../" for each component we removed from the root.
359
- return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
360
- }
361
- exports.relative = relative;
362
-
363
- const supportsNullProto = (function() {
364
- const obj = Object.create(null);
365
- return !("__proto__" in obj);
366
- }());
367
-
368
- function identity(s) {
369
- return s;
370
- }
371
-
372
- /**
373
- * Because behavior goes wacky when you set `__proto__` on objects, we
374
- * have to prefix all the strings in our set with an arbitrary character.
375
- *
376
- * See https://github.com/mozilla/source-map/pull/31 and
377
- * https://github.com/mozilla/source-map/issues/30
378
- *
379
- * @param String aStr
380
- */
381
- function toSetString(aStr) {
382
- if (isProtoString(aStr)) {
383
- return "$" + aStr;
384
- }
385
-
386
- return aStr;
387
- }
388
- exports.toSetString = supportsNullProto ? identity : toSetString;
389
-
390
- function fromSetString(aStr) {
391
- if (isProtoString(aStr)) {
392
- return aStr.slice(1);
393
- }
394
-
395
- return aStr;
396
- }
397
- exports.fromSetString = supportsNullProto ? identity : fromSetString;
398
-
399
- function isProtoString(s) {
400
- if (!s) {
401
- return false;
402
- }
403
-
404
- const length = s.length;
405
-
406
- if (length < 9 /* "__proto__".length */) {
407
- return false;
408
- }
409
-
410
- /* eslint-disable no-multi-spaces */
411
- if (s.charCodeAt(length - 1) !== 95 /* '_' */ ||
412
- s.charCodeAt(length - 2) !== 95 /* '_' */ ||
413
- s.charCodeAt(length - 3) !== 111 /* 'o' */ ||
414
- s.charCodeAt(length - 4) !== 116 /* 't' */ ||
415
- s.charCodeAt(length - 5) !== 111 /* 'o' */ ||
416
- s.charCodeAt(length - 6) !== 114 /* 'r' */ ||
417
- s.charCodeAt(length - 7) !== 112 /* 'p' */ ||
418
- s.charCodeAt(length - 8) !== 95 /* '_' */ ||
419
- s.charCodeAt(length - 9) !== 95 /* '_' */) {
420
- return false;
421
- }
422
- /* eslint-enable no-multi-spaces */
423
-
424
- for (let i = length - 10; i >= 0; i--) {
425
- if (s.charCodeAt(i) !== 36 /* '$' */) {
426
- return false;
427
- }
428
- }
429
-
430
- return true;
431
- }
432
-
433
- /**
434
- * Comparator between two mappings where the original positions are compared.
435
- *
436
- * Optionally pass in `true` as `onlyCompareGenerated` to consider two
437
- * mappings with the same original source/line/column, but different generated
438
- * line and column the same. Useful when searching for a mapping with a
439
- * stubbed out mapping.
440
- */
441
- function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {
442
- let cmp = strcmp(mappingA.source, mappingB.source);
443
- if (cmp !== 0) {
444
- return cmp;
445
- }
446
-
447
- cmp = mappingA.originalLine - mappingB.originalLine;
448
- if (cmp !== 0) {
449
- return cmp;
450
- }
451
-
452
- cmp = mappingA.originalColumn - mappingB.originalColumn;
453
- if (cmp !== 0 || onlyCompareOriginal) {
454
- return cmp;
455
- }
456
-
457
- cmp = mappingA.generatedColumn - mappingB.generatedColumn;
458
- if (cmp !== 0) {
459
- return cmp;
460
- }
461
-
462
- cmp = mappingA.generatedLine - mappingB.generatedLine;
463
- if (cmp !== 0) {
464
- return cmp;
465
- }
466
-
467
- return strcmp(mappingA.name, mappingB.name);
468
- }
469
- exports.compareByOriginalPositions = compareByOriginalPositions;
470
-
471
- /**
472
- * Comparator between two mappings with deflated source and name indices where
473
- * the generated positions are compared.
474
- *
475
- * Optionally pass in `true` as `onlyCompareGenerated` to consider two
476
- * mappings with the same generated line and column, but different
477
- * source/name/original line and column the same. Useful when searching for a
478
- * mapping with a stubbed out mapping.
479
- */
480
- function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {
481
- let cmp = mappingA.generatedLine - mappingB.generatedLine;
482
- if (cmp !== 0) {
483
- return cmp;
484
- }
485
-
486
- cmp = mappingA.generatedColumn - mappingB.generatedColumn;
487
- if (cmp !== 0 || onlyCompareGenerated) {
488
- return cmp;
489
- }
490
-
491
- cmp = strcmp(mappingA.source, mappingB.source);
492
- if (cmp !== 0) {
493
- return cmp;
494
- }
495
-
496
- cmp = mappingA.originalLine - mappingB.originalLine;
497
- if (cmp !== 0) {
498
- return cmp;
499
- }
500
-
501
- cmp = mappingA.originalColumn - mappingB.originalColumn;
502
- if (cmp !== 0) {
503
- return cmp;
504
- }
505
-
506
- return strcmp(mappingA.name, mappingB.name);
507
- }
508
- exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
509
-
510
- function strcmp(aStr1, aStr2) {
511
- if (aStr1 === aStr2) {
512
- return 0;
513
- }
514
-
515
- if (aStr1 === null) {
516
- return 1; // aStr2 !== null
517
- }
518
-
519
- if (aStr2 === null) {
520
- return -1; // aStr1 !== null
521
- }
522
-
523
- if (aStr1 > aStr2) {
524
- return 1;
525
- }
526
-
527
- return -1;
528
- }
529
-
530
- /**
531
- * Comparator between two mappings with inflated source and name strings where
532
- * the generated positions are compared.
533
- */
534
- function compareByGeneratedPositionsInflated(mappingA, mappingB) {
535
- let cmp = mappingA.generatedLine - mappingB.generatedLine;
536
- if (cmp !== 0) {
537
- return cmp;
538
- }
539
-
540
- cmp = mappingA.generatedColumn - mappingB.generatedColumn;
541
- if (cmp !== 0) {
542
- return cmp;
543
- }
544
-
545
- cmp = strcmp(mappingA.source, mappingB.source);
546
- if (cmp !== 0) {
547
- return cmp;
548
- }
549
-
550
- cmp = mappingA.originalLine - mappingB.originalLine;
551
- if (cmp !== 0) {
552
- return cmp;
553
- }
554
-
555
- cmp = mappingA.originalColumn - mappingB.originalColumn;
556
- if (cmp !== 0) {
557
- return cmp;
558
- }
559
-
560
- return strcmp(mappingA.name, mappingB.name);
561
- }
562
- exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
563
-
564
- /**
565
- * Strip any JSON XSSI avoidance prefix from the string (as documented
566
- * in the source maps specification), and then parse the string as
567
- * JSON.
568
- */
569
- function parseSourceMapInput(str) {
570
- return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ""));
571
- }
572
- exports.parseSourceMapInput = parseSourceMapInput;
573
-
574
- /**
575
- * Compute the URL of a source given the the source root, the source's
576
- * URL, and the source map's URL.
577
- */
578
- function computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {
579
- sourceURL = sourceURL || "";
580
-
581
- if (sourceRoot) {
582
- // This follows what Chrome does.
583
- if (sourceRoot[sourceRoot.length - 1] !== "/" && sourceURL[0] !== "/") {
584
- sourceRoot += "/";
585
- }
586
- // The spec says:
587
- // Line 4: An optional source root, useful for relocating source
588
- // files on a server or removing repeated values in the
589
- // “sources” entry. This value is prepended to the individual
590
- // entries in the “source” field.
591
- sourceURL = sourceRoot + sourceURL;
592
- }
593
-
594
- // Historically, SourceMapConsumer did not take the sourceMapURL as
595
- // a parameter. This mode is still somewhat supported, which is why
596
- // this code block is conditional. However, it's preferable to pass
597
- // the source map URL to SourceMapConsumer, so that this function
598
- // can implement the source URL resolution algorithm as outlined in
599
- // the spec. This block is basically the equivalent of:
600
- // new URL(sourceURL, sourceMapURL).toString()
601
- // ... except it avoids using URL, which wasn't available in the
602
- // older releases of node still supported by this library.
603
- //
604
- // The spec says:
605
- // If the sources are not absolute URLs after prepending of the
606
- // “sourceRoot”, the sources are resolved relative to the
607
- // SourceMap (like resolving script src in a html document).
608
- if (sourceMapURL) {
609
- const parsed = urlParse(sourceMapURL);
610
- if (!parsed) {
611
- throw new Error("sourceMapURL could not be parsed");
612
- }
613
- if (parsed.path) {
614
- // Strip the last path component, but keep the "/".
615
- const index = parsed.path.lastIndexOf("/");
616
- if (index >= 0) {
617
- parsed.path = parsed.path.substring(0, index + 1);
618
- }
619
- }
620
- sourceURL = join(urlGenerate(parsed), sourceURL);
621
- }
622
-
623
- return normalize(sourceURL);
624
- }
625
- exports.computeSourceURL = computeSourceURL;
626
-
627
-
628
- /***/ }),
629
- /* 1 */
630
- /***/ (function(module, exports, __webpack_require__) {
631
-
632
- /* -*- Mode: js; js-indent-level: 2; -*- */
633
- /*
634
- * Copyright 2011 Mozilla Foundation and contributors
635
- * Licensed under the New BSD license. See LICENSE or:
636
- * http://opensource.org/licenses/BSD-3-Clause
637
- */
638
-
639
- const base64VLQ = __webpack_require__(2);
640
- const util = __webpack_require__(0);
641
- const ArraySet = __webpack_require__(3).ArraySet;
642
- const MappingList = __webpack_require__(7).MappingList;
643
-
644
- /**
645
- * An instance of the SourceMapGenerator represents a source map which is
646
- * being built incrementally. You may pass an object with the following
647
- * properties:
648
- *
649
- * - file: The filename of the generated source.
650
- * - sourceRoot: A root for all relative URLs in this source map.
651
- */
652
- class SourceMapGenerator {
653
- constructor(aArgs) {
654
- if (!aArgs) {
655
- aArgs = {};
656
- }
657
- this._file = util.getArg(aArgs, "file", null);
658
- this._sourceRoot = util.getArg(aArgs, "sourceRoot", null);
659
- this._skipValidation = util.getArg(aArgs, "skipValidation", false);
660
- this._sources = new ArraySet();
661
- this._names = new ArraySet();
662
- this._mappings = new MappingList();
663
- this._sourcesContents = null;
664
- }
665
-
666
- /**
667
- * Creates a new SourceMapGenerator based on a SourceMapConsumer
668
- *
669
- * @param aSourceMapConsumer The SourceMap.
670
- */
671
- static fromSourceMap(aSourceMapConsumer) {
672
- const sourceRoot = aSourceMapConsumer.sourceRoot;
673
- const generator = new SourceMapGenerator({
674
- file: aSourceMapConsumer.file,
675
- sourceRoot
676
- });
677
- aSourceMapConsumer.eachMapping(function(mapping) {
678
- const newMapping = {
679
- generated: {
680
- line: mapping.generatedLine,
681
- column: mapping.generatedColumn
682
- }
683
- };
684
-
685
- if (mapping.source != null) {
686
- newMapping.source = mapping.source;
687
- if (sourceRoot != null) {
688
- newMapping.source = util.relative(sourceRoot, newMapping.source);
689
- }
690
-
691
- newMapping.original = {
692
- line: mapping.originalLine,
693
- column: mapping.originalColumn
694
- };
695
-
696
- if (mapping.name != null) {
697
- newMapping.name = mapping.name;
698
- }
699
- }
700
-
701
- generator.addMapping(newMapping);
702
- });
703
- aSourceMapConsumer.sources.forEach(function(sourceFile) {
704
- let sourceRelative = sourceFile;
705
- if (sourceRoot !== null) {
706
- sourceRelative = util.relative(sourceRoot, sourceFile);
707
- }
708
-
709
- if (!generator._sources.has(sourceRelative)) {
710
- generator._sources.add(sourceRelative);
711
- }
712
-
713
- const content = aSourceMapConsumer.sourceContentFor(sourceFile);
714
- if (content != null) {
715
- generator.setSourceContent(sourceFile, content);
716
- }
717
- });
718
- return generator;
719
- }
720
-
721
- /**
722
- * Add a single mapping from original source line and column to the generated
723
- * source's line and column for this source map being created. The mapping
724
- * object should have the following properties:
725
- *
726
- * - generated: An object with the generated line and column positions.
727
- * - original: An object with the original line and column positions.
728
- * - source: The original source file (relative to the sourceRoot).
729
- * - name: An optional original token name for this mapping.
730
- */
731
- addMapping(aArgs) {
732
- const generated = util.getArg(aArgs, "generated");
733
- const original = util.getArg(aArgs, "original", null);
734
- let source = util.getArg(aArgs, "source", null);
735
- let name = util.getArg(aArgs, "name", null);
736
-
737
- if (!this._skipValidation) {
738
- this._validateMapping(generated, original, source, name);
739
- }
740
-
741
- if (source != null) {
742
- source = String(source);
743
- if (!this._sources.has(source)) {
744
- this._sources.add(source);
745
- }
746
- }
747
-
748
- if (name != null) {
749
- name = String(name);
750
- if (!this._names.has(name)) {
751
- this._names.add(name);
752
- }
753
- }
754
-
755
- this._mappings.add({
756
- generatedLine: generated.line,
757
- generatedColumn: generated.column,
758
- originalLine: original != null && original.line,
759
- originalColumn: original != null && original.column,
760
- source,
761
- name
762
- });
763
- }
764
-
765
- /**
766
- * Set the source content for a source file.
767
- */
768
- setSourceContent(aSourceFile, aSourceContent) {
769
- let source = aSourceFile;
770
- if (this._sourceRoot != null) {
771
- source = util.relative(this._sourceRoot, source);
772
- }
773
-
774
- if (aSourceContent != null) {
775
- // Add the source content to the _sourcesContents map.
776
- // Create a new _sourcesContents map if the property is null.
777
- if (!this._sourcesContents) {
778
- this._sourcesContents = Object.create(null);
779
- }
780
- this._sourcesContents[util.toSetString(source)] = aSourceContent;
781
- } else if (this._sourcesContents) {
782
- // Remove the source file from the _sourcesContents map.
783
- // If the _sourcesContents map is empty, set the property to null.
784
- delete this._sourcesContents[util.toSetString(source)];
785
- if (Object.keys(this._sourcesContents).length === 0) {
786
- this._sourcesContents = null;
787
- }
788
- }
789
- }
790
-
791
- /**
792
- * Applies the mappings of a sub-source-map for a specific source file to the
793
- * source map being generated. Each mapping to the supplied source file is
794
- * rewritten using the supplied source map. Note: The resolution for the
795
- * resulting mappings is the minimium of this map and the supplied map.
796
- *
797
- * @param aSourceMapConsumer The source map to be applied.
798
- * @param aSourceFile Optional. The filename of the source file.
799
- * If omitted, SourceMapConsumer's file property will be used.
800
- * @param aSourceMapPath Optional. The dirname of the path to the source map
801
- * to be applied. If relative, it is relative to the SourceMapConsumer.
802
- * This parameter is needed when the two source maps aren't in the same
803
- * directory, and the source map to be applied contains relative source
804
- * paths. If so, those relative source paths need to be rewritten
805
- * relative to the SourceMapGenerator.
806
- */
807
- applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {
808
- let sourceFile = aSourceFile;
809
- // If aSourceFile is omitted, we will use the file property of the SourceMap
810
- if (aSourceFile == null) {
811
- if (aSourceMapConsumer.file == null) {
812
- throw new Error(
813
- "SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, " +
814
- 'or the source map\'s "file" property. Both were omitted.'
815
- );
816
- }
817
- sourceFile = aSourceMapConsumer.file;
818
- }
819
- const sourceRoot = this._sourceRoot;
820
- // Make "sourceFile" relative if an absolute Url is passed.
821
- if (sourceRoot != null) {
822
- sourceFile = util.relative(sourceRoot, sourceFile);
823
- }
824
- // Applying the SourceMap can add and remove items from the sources and
825
- // the names array.
826
- const newSources = this._mappings.toArray().length > 0
827
- ? new ArraySet()
828
- : this._sources;
829
- const newNames = new ArraySet();
830
-
831
- // Find mappings for the "sourceFile"
832
- this._mappings.unsortedForEach(function(mapping) {
833
- if (mapping.source === sourceFile && mapping.originalLine != null) {
834
- // Check if it can be mapped by the source map, then update the mapping.
835
- const original = aSourceMapConsumer.originalPositionFor({
836
- line: mapping.originalLine,
837
- column: mapping.originalColumn
838
- });
839
- if (original.source != null) {
840
- // Copy mapping
841
- mapping.source = original.source;
842
- if (aSourceMapPath != null) {
843
- mapping.source = util.join(aSourceMapPath, mapping.source);
844
- }
845
- if (sourceRoot != null) {
846
- mapping.source = util.relative(sourceRoot, mapping.source);
847
- }
848
- mapping.originalLine = original.line;
849
- mapping.originalColumn = original.column;
850
- if (original.name != null) {
851
- mapping.name = original.name;
852
- }
853
- }
854
- }
855
-
856
- const source = mapping.source;
857
- if (source != null && !newSources.has(source)) {
858
- newSources.add(source);
859
- }
860
-
861
- const name = mapping.name;
862
- if (name != null && !newNames.has(name)) {
863
- newNames.add(name);
864
- }
865
-
866
- }, this);
867
- this._sources = newSources;
868
- this._names = newNames;
869
-
870
- // Copy sourcesContents of applied map.
871
- aSourceMapConsumer.sources.forEach(function(srcFile) {
872
- const content = aSourceMapConsumer.sourceContentFor(srcFile);
873
- if (content != null) {
874
- if (aSourceMapPath != null) {
875
- srcFile = util.join(aSourceMapPath, srcFile);
876
- }
877
- if (sourceRoot != null) {
878
- srcFile = util.relative(sourceRoot, srcFile);
879
- }
880
- this.setSourceContent(srcFile, content);
881
- }
882
- }, this);
883
- }
884
-
885
- /**
886
- * A mapping can have one of the three levels of data:
887
- *
888
- * 1. Just the generated position.
889
- * 2. The Generated position, original position, and original source.
890
- * 3. Generated and original position, original source, as well as a name
891
- * token.
892
- *
893
- * To maintain consistency, we validate that any new mapping being added falls
894
- * in to one of these categories.
895
- */
896
- _validateMapping(aGenerated, aOriginal, aSource, aName) {
897
- // When aOriginal is truthy but has empty values for .line and .column,
898
- // it is most likely a programmer error. In this case we throw a very
899
- // specific error message to try to guide them the right way.
900
- // For example: https://github.com/Polymer/polymer-bundler/pull/519
901
- if (aOriginal && typeof aOriginal.line !== "number" && typeof aOriginal.column !== "number") {
902
- throw new Error(
903
- "original.line and original.column are not numbers -- you probably meant to omit " +
904
- "the original mapping entirely and only map the generated position. If so, pass " +
905
- "null for the original mapping instead of an object with empty or null values."
906
- );
907
- }
908
-
909
- if (aGenerated && "line" in aGenerated && "column" in aGenerated
910
- && aGenerated.line > 0 && aGenerated.column >= 0
911
- && !aOriginal && !aSource && !aName) {
912
- // Case 1.
913
-
914
- } else if (aGenerated && "line" in aGenerated && "column" in aGenerated
915
- && aOriginal && "line" in aOriginal && "column" in aOriginal
916
- && aGenerated.line > 0 && aGenerated.column >= 0
917
- && aOriginal.line > 0 && aOriginal.column >= 0
918
- && aSource) {
919
- // Cases 2 and 3.
920
-
921
- } else {
922
- throw new Error("Invalid mapping: " + JSON.stringify({
923
- generated: aGenerated,
924
- source: aSource,
925
- original: aOriginal,
926
- name: aName
927
- }));
928
- }
929
- }
930
-
931
- /**
932
- * Serialize the accumulated mappings in to the stream of base 64 VLQs
933
- * specified by the source map format.
934
- */
935
- _serializeMappings() {
936
- let previousGeneratedColumn = 0;
937
- let previousGeneratedLine = 1;
938
- let previousOriginalColumn = 0;
939
- let previousOriginalLine = 0;
940
- let previousName = 0;
941
- let previousSource = 0;
942
- let result = "";
943
- let next;
944
- let mapping;
945
- let nameIdx;
946
- let sourceIdx;
947
-
948
- const mappings = this._mappings.toArray();
949
- for (let i = 0, len = mappings.length; i < len; i++) {
950
- mapping = mappings[i];
951
- next = "";
952
-
953
- if (mapping.generatedLine !== previousGeneratedLine) {
954
- previousGeneratedColumn = 0;
955
- while (mapping.generatedLine !== previousGeneratedLine) {
956
- next += ";";
957
- previousGeneratedLine++;
958
- }
959
- } else if (i > 0) {
960
- if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {
961
- continue;
962
- }
963
- next += ",";
964
- }
965
-
966
- next += base64VLQ.encode(mapping.generatedColumn
967
- - previousGeneratedColumn);
968
- previousGeneratedColumn = mapping.generatedColumn;
969
-
970
- if (mapping.source != null) {
971
- sourceIdx = this._sources.indexOf(mapping.source);
972
- next += base64VLQ.encode(sourceIdx - previousSource);
973
- previousSource = sourceIdx;
974
-
975
- // lines are stored 0-based in SourceMap spec version 3
976
- next += base64VLQ.encode(mapping.originalLine - 1
977
- - previousOriginalLine);
978
- previousOriginalLine = mapping.originalLine - 1;
979
-
980
- next += base64VLQ.encode(mapping.originalColumn
981
- - previousOriginalColumn);
982
- previousOriginalColumn = mapping.originalColumn;
983
-
984
- if (mapping.name != null) {
985
- nameIdx = this._names.indexOf(mapping.name);
986
- next += base64VLQ.encode(nameIdx - previousName);
987
- previousName = nameIdx;
988
- }
989
- }
990
-
991
- result += next;
992
- }
993
-
994
- return result;
995
- }
996
-
997
- _generateSourcesContent(aSources, aSourceRoot) {
998
- return aSources.map(function(source) {
999
- if (!this._sourcesContents) {
1000
- return null;
1001
- }
1002
- if (aSourceRoot != null) {
1003
- source = util.relative(aSourceRoot, source);
1004
- }
1005
- const key = util.toSetString(source);
1006
- return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)
1007
- ? this._sourcesContents[key]
1008
- : null;
1009
- }, this);
1010
- }
1011
-
1012
- /**
1013
- * Externalize the source map.
1014
- */
1015
- toJSON() {
1016
- const map = {
1017
- version: this._version,
1018
- sources: this._sources.toArray(),
1019
- names: this._names.toArray(),
1020
- mappings: this._serializeMappings()
1021
- };
1022
- if (this._file != null) {
1023
- map.file = this._file;
1024
- }
1025
- if (this._sourceRoot != null) {
1026
- map.sourceRoot = this._sourceRoot;
1027
- }
1028
- if (this._sourcesContents) {
1029
- map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);
1030
- }
1031
-
1032
- return map;
1033
- }
1034
-
1035
- /**
1036
- * Render the source map being generated to a string.
1037
- */
1038
- toString() {
1039
- return JSON.stringify(this.toJSON());
1040
- }
1041
- }
1042
-
1043
- SourceMapGenerator.prototype._version = 3;
1044
- exports.SourceMapGenerator = SourceMapGenerator;
1045
-
1046
-
1047
- /***/ }),
1048
- /* 2 */
1049
- /***/ (function(module, exports, __webpack_require__) {
1050
-
1051
- /* -*- Mode: js; js-indent-level: 2; -*- */
1052
- /*
1053
- * Copyright 2011 Mozilla Foundation and contributors
1054
- * Licensed under the New BSD license. See LICENSE or:
1055
- * http://opensource.org/licenses/BSD-3-Clause
1056
- *
1057
- * Based on the Base 64 VLQ implementation in Closure Compiler:
1058
- * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java
1059
- *
1060
- * Copyright 2011 The Closure Compiler Authors. All rights reserved.
1061
- * Redistribution and use in source and binary forms, with or without
1062
- * modification, are permitted provided that the following conditions are
1063
- * met:
1064
- *
1065
- * * Redistributions of source code must retain the above copyright
1066
- * notice, this list of conditions and the following disclaimer.
1067
- * * Redistributions in binary form must reproduce the above
1068
- * copyright notice, this list of conditions and the following
1069
- * disclaimer in the documentation and/or other materials provided
1070
- * with the distribution.
1071
- * * Neither the name of Google Inc. nor the names of its
1072
- * contributors may be used to endorse or promote products derived
1073
- * from this software without specific prior written permission.
1074
- *
1075
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1076
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1077
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1078
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1079
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1080
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1081
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1082
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1083
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1084
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1085
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1086
- */
1087
-
1088
- const base64 = __webpack_require__(6);
1089
-
1090
- // A single base 64 digit can contain 6 bits of data. For the base 64 variable
1091
- // length quantities we use in the source map spec, the first bit is the sign,
1092
- // the next four bits are the actual value, and the 6th bit is the
1093
- // continuation bit. The continuation bit tells us whether there are more
1094
- // digits in this value following this digit.
1095
- //
1096
- // Continuation
1097
- // | Sign
1098
- // | |
1099
- // V V
1100
- // 101011
1101
-
1102
- const VLQ_BASE_SHIFT = 5;
1103
-
1104
- // binary: 100000
1105
- const VLQ_BASE = 1 << VLQ_BASE_SHIFT;
1106
-
1107
- // binary: 011111
1108
- const VLQ_BASE_MASK = VLQ_BASE - 1;
1109
-
1110
- // binary: 100000
1111
- const VLQ_CONTINUATION_BIT = VLQ_BASE;
1112
-
1113
- /**
1114
- * Converts from a two-complement value to a value where the sign bit is
1115
- * placed in the least significant bit. For example, as decimals:
1116
- * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary)
1117
- * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)
1118
- */
1119
- function toVLQSigned(aValue) {
1120
- return aValue < 0
1121
- ? ((-aValue) << 1) + 1
1122
- : (aValue << 1) + 0;
1123
- }
1124
-
1125
- /**
1126
- * Converts to a two-complement value from a value where the sign bit is
1127
- * placed in the least significant bit. For example, as decimals:
1128
- * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1
1129
- * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2
1130
- */
1131
- // eslint-disable-next-line no-unused-vars
1132
- function fromVLQSigned(aValue) {
1133
- const isNegative = (aValue & 1) === 1;
1134
- const shifted = aValue >> 1;
1135
- return isNegative
1136
- ? -shifted
1137
- : shifted;
1138
- }
1139
-
1140
- /**
1141
- * Returns the base 64 VLQ encoded value.
1142
- */
1143
- exports.encode = function base64VLQ_encode(aValue) {
1144
- let encoded = "";
1145
- let digit;
1146
-
1147
- let vlq = toVLQSigned(aValue);
1148
-
1149
- do {
1150
- digit = vlq & VLQ_BASE_MASK;
1151
- vlq >>>= VLQ_BASE_SHIFT;
1152
- if (vlq > 0) {
1153
- // There are still more digits in this value, so we must make sure the
1154
- // continuation bit is marked.
1155
- digit |= VLQ_CONTINUATION_BIT;
1156
- }
1157
- encoded += base64.encode(digit);
1158
- } while (vlq > 0);
1159
-
1160
- return encoded;
1161
- };
1162
-
1163
-
1164
- /***/ }),
1165
- /* 3 */
1166
- /***/ (function(module, exports) {
1167
-
1168
- /* -*- Mode: js; js-indent-level: 2; -*- */
1169
- /*
1170
- * Copyright 2011 Mozilla Foundation and contributors
1171
- * Licensed under the New BSD license. See LICENSE or:
1172
- * http://opensource.org/licenses/BSD-3-Clause
1173
- */
1174
-
1175
- /**
1176
- * A data structure which is a combination of an array and a set. Adding a new
1177
- * member is O(1), testing for membership is O(1), and finding the index of an
1178
- * element is O(1). Removing elements from the set is not supported. Only
1179
- * strings are supported for membership.
1180
- */
1181
- class ArraySet {
1182
- constructor() {
1183
- this._array = [];
1184
- this._set = new Map();
1185
- }
1186
-
1187
- /**
1188
- * Static method for creating ArraySet instances from an existing array.
1189
- */
1190
- static fromArray(aArray, aAllowDuplicates) {
1191
- const set = new ArraySet();
1192
- for (let i = 0, len = aArray.length; i < len; i++) {
1193
- set.add(aArray[i], aAllowDuplicates);
1194
- }
1195
- return set;
1196
- }
1197
-
1198
- /**
1199
- * Return how many unique items are in this ArraySet. If duplicates have been
1200
- * added, than those do not count towards the size.
1201
- *
1202
- * @returns Number
1203
- */
1204
- size() {
1205
- return this._set.size;
1206
- }
1207
-
1208
- /**
1209
- * Add the given string to this set.
1210
- *
1211
- * @param String aStr
1212
- */
1213
- add(aStr, aAllowDuplicates) {
1214
- const isDuplicate = this.has(aStr);
1215
- const idx = this._array.length;
1216
- if (!isDuplicate || aAllowDuplicates) {
1217
- this._array.push(aStr);
1218
- }
1219
- if (!isDuplicate) {
1220
- this._set.set(aStr, idx);
1221
- }
1222
- }
1223
-
1224
- /**
1225
- * Is the given string a member of this set?
1226
- *
1227
- * @param String aStr
1228
- */
1229
- has(aStr) {
1230
- return this._set.has(aStr);
1231
- }
1232
-
1233
- /**
1234
- * What is the index of the given string in the array?
1235
- *
1236
- * @param String aStr
1237
- */
1238
- indexOf(aStr) {
1239
- const idx = this._set.get(aStr);
1240
- if (idx >= 0) {
1241
- return idx;
1242
- }
1243
- throw new Error('"' + aStr + '" is not in the set.');
1244
- }
1245
-
1246
- /**
1247
- * What is the element at the given index?
1248
- *
1249
- * @param Number aIdx
1250
- */
1251
- at(aIdx) {
1252
- if (aIdx >= 0 && aIdx < this._array.length) {
1253
- return this._array[aIdx];
1254
- }
1255
- throw new Error("No element indexed by " + aIdx);
1256
- }
1257
-
1258
- /**
1259
- * Returns the array representation of this set (which has the proper indices
1260
- * indicated by indexOf). Note that this is a copy of the internal array used
1261
- * for storing the members so that no one can mess with internal state.
1262
- */
1263
- toArray() {
1264
- return this._array.slice();
1265
- }
1266
- }
1267
- exports.ArraySet = ArraySet;
1268
-
1269
-
1270
- /***/ }),
1271
- /* 4 */
1272
- /***/ (function(module, exports, __webpack_require__) {
1273
-
1274
- /* WEBPACK VAR INJECTION */(function(__dirname) {if (typeof fetch === "function") {
1275
- // Web version of reading a wasm file into an array buffer.
1276
-
1277
- let mappingsWasmUrl = null;
1278
-
1279
- module.exports = function readWasm() {
1280
- if (typeof mappingsWasmUrl !== "string") {
1281
- throw new Error("You must provide the URL of lib/mappings.wasm by calling " +
1282
- "SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) " +
1283
- "before using SourceMapConsumer");
1284
- }
1285
-
1286
- return fetch(mappingsWasmUrl)
1287
- .then(response => response.arrayBuffer());
1288
- };
1289
-
1290
- module.exports.initialize = url => mappingsWasmUrl = url;
1291
- } else {
1292
- // Node version of reading a wasm file into an array buffer.
1293
- const fs = __webpack_require__(10);
1294
- const path = __webpack_require__(11);
1295
-
1296
- module.exports = function readWasm() {
1297
- return new Promise((resolve, reject) => {
1298
- const wasmPath = path.join(__dirname, "mappings.wasm");
1299
- fs.readFile(wasmPath, null, (error, data) => {
1300
- if (error) {
1301
- reject(error);
1302
- return;
1303
- }
1304
-
1305
- resolve(data.buffer);
1306
- });
1307
- });
1308
- };
1309
-
1310
- module.exports.initialize = _ => {
1311
- console.debug("SourceMapConsumer.initialize is a no-op when running in node.js");
1312
- };
1313
- }
1314
-
1315
- /* WEBPACK VAR INJECTION */}.call(exports, "/"))
1316
-
1317
- /***/ }),
1318
- /* 5 */
1319
- /***/ (function(module, exports, __webpack_require__) {
1320
-
1321
- /*
1322
- * Copyright 2009-2011 Mozilla Foundation and contributors
1323
- * Licensed under the New BSD license. See LICENSE.txt or:
1324
- * http://opensource.org/licenses/BSD-3-Clause
1325
- */
1326
- exports.SourceMapGenerator = __webpack_require__(1).SourceMapGenerator;
1327
- exports.SourceMapConsumer = __webpack_require__(8).SourceMapConsumer;
1328
- exports.SourceNode = __webpack_require__(13).SourceNode;
1329
-
1330
-
1331
- /***/ }),
1332
- /* 6 */
1333
- /***/ (function(module, exports) {
1334
-
1335
- /* -*- Mode: js; js-indent-level: 2; -*- */
1336
- /*
1337
- * Copyright 2011 Mozilla Foundation and contributors
1338
- * Licensed under the New BSD license. See LICENSE or:
1339
- * http://opensource.org/licenses/BSD-3-Clause
1340
- */
1341
-
1342
- const intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
1343
-
1344
- /**
1345
- * Encode an integer in the range of 0 to 63 to a single base 64 digit.
1346
- */
1347
- exports.encode = function(number) {
1348
- if (0 <= number && number < intToCharMap.length) {
1349
- return intToCharMap[number];
1350
- }
1351
- throw new TypeError("Must be between 0 and 63: " + number);
1352
- };
1353
-
1354
-
1355
- /***/ }),
1356
- /* 7 */
1357
- /***/ (function(module, exports, __webpack_require__) {
1358
-
1359
- /* -*- Mode: js; js-indent-level: 2; -*- */
1360
- /*
1361
- * Copyright 2014 Mozilla Foundation and contributors
1362
- * Licensed under the New BSD license. See LICENSE or:
1363
- * http://opensource.org/licenses/BSD-3-Clause
1364
- */
1365
-
1366
- const util = __webpack_require__(0);
1367
-
1368
- /**
1369
- * Determine whether mappingB is after mappingA with respect to generated
1370
- * position.
1371
- */
1372
- function generatedPositionAfter(mappingA, mappingB) {
1373
- // Optimized for most common case
1374
- const lineA = mappingA.generatedLine;
1375
- const lineB = mappingB.generatedLine;
1376
- const columnA = mappingA.generatedColumn;
1377
- const columnB = mappingB.generatedColumn;
1378
- return lineB > lineA || lineB == lineA && columnB >= columnA ||
1379
- util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;
1380
- }
1381
-
1382
- /**
1383
- * A data structure to provide a sorted view of accumulated mappings in a
1384
- * performance conscious manner. It trades a negligible overhead in general
1385
- * case for a large speedup in case of mappings being added in order.
1386
- */
1387
- class MappingList {
1388
- constructor() {
1389
- this._array = [];
1390
- this._sorted = true;
1391
- // Serves as infimum
1392
- this._last = {generatedLine: -1, generatedColumn: 0};
1393
- }
1394
-
1395
- /**
1396
- * Iterate through internal items. This method takes the same arguments that
1397
- * `Array.prototype.forEach` takes.
1398
- *
1399
- * NOTE: The order of the mappings is NOT guaranteed.
1400
- */
1401
- unsortedForEach(aCallback, aThisArg) {
1402
- this._array.forEach(aCallback, aThisArg);
1403
- }
1404
-
1405
- /**
1406
- * Add the given source mapping.
1407
- *
1408
- * @param Object aMapping
1409
- */
1410
- add(aMapping) {
1411
- if (generatedPositionAfter(this._last, aMapping)) {
1412
- this._last = aMapping;
1413
- this._array.push(aMapping);
1414
- } else {
1415
- this._sorted = false;
1416
- this._array.push(aMapping);
1417
- }
1418
- }
1419
-
1420
- /**
1421
- * Returns the flat, sorted array of mappings. The mappings are sorted by
1422
- * generated position.
1423
- *
1424
- * WARNING: This method returns internal data without copying, for
1425
- * performance. The return value must NOT be mutated, and should be treated as
1426
- * an immutable borrow. If you want to take ownership, you must make your own
1427
- * copy.
1428
- */
1429
- toArray() {
1430
- if (!this._sorted) {
1431
- this._array.sort(util.compareByGeneratedPositionsInflated);
1432
- this._sorted = true;
1433
- }
1434
- return this._array;
1435
- }
1436
- }
1437
-
1438
- exports.MappingList = MappingList;
1439
-
1440
-
1441
- /***/ }),
1442
- /* 8 */
1443
- /***/ (function(module, exports, __webpack_require__) {
1444
-
1445
- /* -*- Mode: js; js-indent-level: 2; -*- */
1446
- /*
1447
- * Copyright 2011 Mozilla Foundation and contributors
1448
- * Licensed under the New BSD license. See LICENSE or:
1449
- * http://opensource.org/licenses/BSD-3-Clause
1450
- */
1451
-
1452
- const util = __webpack_require__(0);
1453
- const binarySearch = __webpack_require__(9);
1454
- const ArraySet = __webpack_require__(3).ArraySet;
1455
- const base64VLQ = __webpack_require__(2); // eslint-disable-line no-unused-vars
1456
- const readWasm = __webpack_require__(4);
1457
- const wasm = __webpack_require__(12);
1458
-
1459
- const INTERNAL = Symbol("smcInternal");
1460
-
1461
- class SourceMapConsumer {
1462
- constructor(aSourceMap, aSourceMapURL) {
1463
- // If the constructor was called by super(), just return Promise<this>.
1464
- // Yes, this is a hack to retain the pre-existing API of the base-class
1465
- // constructor also being an async factory function.
1466
- if (aSourceMap == INTERNAL) {
1467
- return Promise.resolve(this);
1468
- }
1469
-
1470
- return _factory(aSourceMap, aSourceMapURL);
1471
- }
1472
-
1473
- static initialize(opts) {
1474
- readWasm.initialize(opts["lib/mappings.wasm"]);
1475
- }
1476
-
1477
- static fromSourceMap(aSourceMap, aSourceMapURL) {
1478
- return _factoryBSM(aSourceMap, aSourceMapURL);
1479
- }
1480
-
1481
- /**
1482
- * Construct a new `SourceMapConsumer` from `rawSourceMap` and `sourceMapUrl`
1483
- * (see the `SourceMapConsumer` constructor for details. Then, invoke the `async
1484
- * function f(SourceMapConsumer) -> T` with the newly constructed consumer, wait
1485
- * for `f` to complete, call `destroy` on the consumer, and return `f`'s return
1486
- * value.
1487
- *
1488
- * You must not use the consumer after `f` completes!
1489
- *
1490
- * By using `with`, you do not have to remember to manually call `destroy` on
1491
- * the consumer, since it will be called automatically once `f` completes.
1492
- *
1493
- * ```js
1494
- * const xSquared = await SourceMapConsumer.with(
1495
- * myRawSourceMap,
1496
- * null,
1497
- * async function (consumer) {
1498
- * // Use `consumer` inside here and don't worry about remembering
1499
- * // to call `destroy`.
1500
- *
1501
- * const x = await whatever(consumer);
1502
- * return x * x;
1503
- * }
1504
- * );
1505
- *
1506
- * // You may not use that `consumer` anymore out here; it has
1507
- * // been destroyed. But you can use `xSquared`.
1508
- * console.log(xSquared);
1509
- * ```
1510
- */
1511
- static with(rawSourceMap, sourceMapUrl, f) {
1512
- // Note: The `acorn` version that `webpack` currently depends on doesn't
1513
- // support `async` functions, and the nodes that we support don't all have
1514
- // `.finally`. Therefore, this is written a bit more convolutedly than it
1515
- // should really be.
1516
-
1517
- let consumer = null;
1518
- const promise = new SourceMapConsumer(rawSourceMap, sourceMapUrl);
1519
- return promise
1520
- .then(c => {
1521
- consumer = c;
1522
- return f(c);
1523
- })
1524
- .then(x => {
1525
- if (consumer) {
1526
- consumer.destroy();
1527
- }
1528
- return x;
1529
- }, e => {
1530
- if (consumer) {
1531
- consumer.destroy();
1532
- }
1533
- throw e;
1534
- });
1535
- }
1536
-
1537
- /**
1538
- * Parse the mappings in a string in to a data structure which we can easily
1539
- * query (the ordered arrays in the `this.__generatedMappings` and
1540
- * `this.__originalMappings` properties).
1541
- */
1542
- _parseMappings(aStr, aSourceRoot) {
1543
- throw new Error("Subclasses must implement _parseMappings");
1544
- }
1545
-
1546
- /**
1547
- * Iterate over each mapping between an original source/line/column and a
1548
- * generated line/column in this source map.
1549
- *
1550
- * @param Function aCallback
1551
- * The function that is called with each mapping.
1552
- * @param Object aContext
1553
- * Optional. If specified, this object will be the value of `this` every
1554
- * time that `aCallback` is called.
1555
- * @param aOrder
1556
- * Either `SourceMapConsumer.GENERATED_ORDER` or
1557
- * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to
1558
- * iterate over the mappings sorted by the generated file's line/column
1559
- * order or the original's source/line/column order, respectively. Defaults to
1560
- * `SourceMapConsumer.GENERATED_ORDER`.
1561
- */
1562
- eachMapping(aCallback, aContext, aOrder) {
1563
- throw new Error("Subclasses must implement eachMapping");
1564
- }
1565
-
1566
- /**
1567
- * Returns all generated line and column information for the original source,
1568
- * line, and column provided. If no column is provided, returns all mappings
1569
- * corresponding to a either the line we are searching for or the next
1570
- * closest line that has any mappings. Otherwise, returns all mappings
1571
- * corresponding to the given line and either the column we are searching for
1572
- * or the next closest column that has any offsets.
1573
- *
1574
- * The only argument is an object with the following properties:
1575
- *
1576
- * - source: The filename of the original source.
1577
- * - line: The line number in the original source. The line number is 1-based.
1578
- * - column: Optional. the column number in the original source.
1579
- * The column number is 0-based.
1580
- *
1581
- * and an array of objects is returned, each with the following properties:
1582
- *
1583
- * - line: The line number in the generated source, or null. The
1584
- * line number is 1-based.
1585
- * - column: The column number in the generated source, or null.
1586
- * The column number is 0-based.
1587
- */
1588
- allGeneratedPositionsFor(aArgs) {
1589
- throw new Error("Subclasses must implement allGeneratedPositionsFor");
1590
- }
1591
-
1592
- destroy() {
1593
- throw new Error("Subclasses must implement destroy");
1594
- }
1595
- }
1596
-
1597
- /**
1598
- * The version of the source mapping spec that we are consuming.
1599
- */
1600
- SourceMapConsumer.prototype._version = 3;
1601
- SourceMapConsumer.GENERATED_ORDER = 1;
1602
- SourceMapConsumer.ORIGINAL_ORDER = 2;
1603
-
1604
- SourceMapConsumer.GREATEST_LOWER_BOUND = 1;
1605
- SourceMapConsumer.LEAST_UPPER_BOUND = 2;
1606
-
1607
- exports.SourceMapConsumer = SourceMapConsumer;
1608
-
1609
- /**
1610
- * A BasicSourceMapConsumer instance represents a parsed source map which we can
1611
- * query for information about the original file positions by giving it a file
1612
- * position in the generated source.
1613
- *
1614
- * The first parameter is the raw source map (either as a JSON string, or
1615
- * already parsed to an object). According to the spec, source maps have the
1616
- * following attributes:
1617
- *
1618
- * - version: Which version of the source map spec this map is following.
1619
- * - sources: An array of URLs to the original source files.
1620
- * - names: An array of identifiers which can be referenced by individual mappings.
1621
- * - sourceRoot: Optional. The URL root from which all sources are relative.
1622
- * - sourcesContent: Optional. An array of contents of the original source files.
1623
- * - mappings: A string of base64 VLQs which contain the actual mappings.
1624
- * - file: Optional. The generated file this source map is associated with.
1625
- *
1626
- * Here is an example source map, taken from the source map spec[0]:
1627
- *
1628
- * {
1629
- * version : 3,
1630
- * file: "out.js",
1631
- * sourceRoot : "",
1632
- * sources: ["foo.js", "bar.js"],
1633
- * names: ["src", "maps", "are", "fun"],
1634
- * mappings: "AA,AB;;ABCDE;"
1635
- * }
1636
- *
1637
- * The second parameter, if given, is a string whose value is the URL
1638
- * at which the source map was found. This URL is used to compute the
1639
- * sources array.
1640
- *
1641
- * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#
1642
- */
1643
- class BasicSourceMapConsumer extends SourceMapConsumer {
1644
- constructor(aSourceMap, aSourceMapURL) {
1645
- return super(INTERNAL).then(that => {
1646
- let sourceMap = aSourceMap;
1647
- if (typeof aSourceMap === "string") {
1648
- sourceMap = util.parseSourceMapInput(aSourceMap);
1649
- }
1650
-
1651
- const version = util.getArg(sourceMap, "version");
1652
- let sources = util.getArg(sourceMap, "sources");
1653
- // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which
1654
- // requires the array) to play nice here.
1655
- const names = util.getArg(sourceMap, "names", []);
1656
- let sourceRoot = util.getArg(sourceMap, "sourceRoot", null);
1657
- const sourcesContent = util.getArg(sourceMap, "sourcesContent", null);
1658
- const mappings = util.getArg(sourceMap, "mappings");
1659
- const file = util.getArg(sourceMap, "file", null);
1660
-
1661
- // Once again, Sass deviates from the spec and supplies the version as a
1662
- // string rather than a number, so we use loose equality checking here.
1663
- if (version != that._version) {
1664
- throw new Error("Unsupported version: " + version);
1665
- }
1666
-
1667
- if (sourceRoot) {
1668
- sourceRoot = util.normalize(sourceRoot);
1669
- }
1670
-
1671
- sources = sources
1672
- .map(String)
1673
- // Some source maps produce relative source paths like "./foo.js" instead of
1674
- // "foo.js". Normalize these first so that future comparisons will succeed.
1675
- // See bugzil.la/1090768.
1676
- .map(util.normalize)
1677
- // Always ensure that absolute sources are internally stored relative to
1678
- // the source root, if the source root is absolute. Not doing this would
1679
- // be particularly problematic when the source root is a prefix of the
1680
- // source (valid, but why??). See github issue #199 and bugzil.la/1188982.
1681
- .map(function(source) {
1682
- return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)
1683
- ? util.relative(sourceRoot, source)
1684
- : source;
1685
- });
1686
-
1687
- // Pass `true` below to allow duplicate names and sources. While source maps
1688
- // are intended to be compressed and deduplicated, the TypeScript compiler
1689
- // sometimes generates source maps with duplicates in them. See Github issue
1690
- // #72 and bugzil.la/889492.
1691
- that._names = ArraySet.fromArray(names.map(String), true);
1692
- that._sources = ArraySet.fromArray(sources, true);
1693
-
1694
- that._absoluteSources = that._sources.toArray().map(function(s) {
1695
- return util.computeSourceURL(sourceRoot, s, aSourceMapURL);
1696
- });
1697
-
1698
- that.sourceRoot = sourceRoot;
1699
- that.sourcesContent = sourcesContent;
1700
- that._mappings = mappings;
1701
- that._sourceMapURL = aSourceMapURL;
1702
- that.file = file;
1703
-
1704
- that._computedColumnSpans = false;
1705
- that._mappingsPtr = 0;
1706
- that._wasm = null;
1707
-
1708
- return wasm().then(w => {
1709
- that._wasm = w;
1710
- return that;
1711
- });
1712
- });
1713
- }
1714
-
1715
- /**
1716
- * Utility function to find the index of a source. Returns -1 if not
1717
- * found.
1718
- */
1719
- _findSourceIndex(aSource) {
1720
- let relativeSource = aSource;
1721
- if (this.sourceRoot != null) {
1722
- relativeSource = util.relative(this.sourceRoot, relativeSource);
1723
- }
1724
-
1725
- if (this._sources.has(relativeSource)) {
1726
- return this._sources.indexOf(relativeSource);
1727
- }
1728
-
1729
- // Maybe aSource is an absolute URL as returned by |sources|. In
1730
- // this case we can't simply undo the transform.
1731
- for (let i = 0; i < this._absoluteSources.length; ++i) {
1732
- if (this._absoluteSources[i] == aSource) {
1733
- return i;
1734
- }
1735
- }
1736
-
1737
- return -1;
1738
- }
1739
-
1740
- /**
1741
- * Create a BasicSourceMapConsumer from a SourceMapGenerator.
1742
- *
1743
- * @param SourceMapGenerator aSourceMap
1744
- * The source map that will be consumed.
1745
- * @param String aSourceMapURL
1746
- * The URL at which the source map can be found (optional)
1747
- * @returns BasicSourceMapConsumer
1748
- */
1749
- static fromSourceMap(aSourceMap, aSourceMapURL) {
1750
- return new BasicSourceMapConsumer(aSourceMap.toString());
1751
- }
1752
-
1753
- get sources() {
1754
- return this._absoluteSources.slice();
1755
- }
1756
-
1757
- _getMappingsPtr() {
1758
- if (this._mappingsPtr === 0) {
1759
- this._parseMappings(this._mappings, this.sourceRoot);
1760
- }
1761
-
1762
- return this._mappingsPtr;
1763
- }
1764
-
1765
- /**
1766
- * Parse the mappings in a string in to a data structure which we can easily
1767
- * query (the ordered arrays in the `this.__generatedMappings` and
1768
- * `this.__originalMappings` properties).
1769
- */
1770
- _parseMappings(aStr, aSourceRoot) {
1771
- const size = aStr.length;
1772
-
1773
- const mappingsBufPtr = this._wasm.exports.allocate_mappings(size);
1774
- const mappingsBuf = new Uint8Array(this._wasm.exports.memory.buffer, mappingsBufPtr, size);
1775
- for (let i = 0; i < size; i++) {
1776
- mappingsBuf[i] = aStr.charCodeAt(i);
1777
- }
1778
-
1779
- const mappingsPtr = this._wasm.exports.parse_mappings(mappingsBufPtr);
1780
-
1781
- if (!mappingsPtr) {
1782
- const error = this._wasm.exports.get_last_error();
1783
- let msg = `Error parsing mappings (code ${error}): `;
1784
-
1785
- // XXX: keep these error codes in sync with `fitzgen/source-map-mappings`.
1786
- switch (error) {
1787
- case 1:
1788
- msg += "the mappings contained a negative line, column, source index, or name index";
1789
- break;
1790
- case 2:
1791
- msg += "the mappings contained a number larger than 2**32";
1792
- break;
1793
- case 3:
1794
- msg += "reached EOF while in the middle of parsing a VLQ";
1795
- break;
1796
- case 4:
1797
- msg += "invalid base 64 character while parsing a VLQ";
1798
- break;
1799
- default:
1800
- msg += "unknown error code";
1801
- break;
1802
- }
1803
-
1804
- throw new Error(msg);
1805
- }
1806
-
1807
- this._mappingsPtr = mappingsPtr;
1808
- }
1809
-
1810
- eachMapping(aCallback, aContext, aOrder) {
1811
- const context = aContext || null;
1812
- const order = aOrder || SourceMapConsumer.GENERATED_ORDER;
1813
- const sourceRoot = this.sourceRoot;
1814
-
1815
- this._wasm.withMappingCallback(
1816
- mapping => {
1817
- if (mapping.source !== null) {
1818
- mapping.source = this._sources.at(mapping.source);
1819
- mapping.source = util.computeSourceURL(sourceRoot, mapping.source, this._sourceMapURL);
1820
-
1821
- if (mapping.name !== null) {
1822
- mapping.name = this._names.at(mapping.name);
1823
- }
1824
- }
1825
-
1826
- aCallback.call(context, mapping);
1827
- },
1828
- () => {
1829
- switch (order) {
1830
- case SourceMapConsumer.GENERATED_ORDER:
1831
- this._wasm.exports.by_generated_location(this._getMappingsPtr());
1832
- break;
1833
- case SourceMapConsumer.ORIGINAL_ORDER:
1834
- this._wasm.exports.by_original_location(this._getMappingsPtr());
1835
- break;
1836
- default:
1837
- throw new Error("Unknown order of iteration.");
1838
- }
1839
- }
1840
- );
1841
- }
1842
-
1843
- allGeneratedPositionsFor(aArgs) {
1844
- let source = util.getArg(aArgs, "source");
1845
- const originalLine = util.getArg(aArgs, "line");
1846
- const originalColumn = aArgs.column || 0;
1847
-
1848
- source = this._findSourceIndex(source);
1849
- if (source < 0) {
1850
- return [];
1851
- }
1852
-
1853
- if (originalLine < 1) {
1854
- throw new Error("Line numbers must be >= 1");
1855
- }
1856
-
1857
- if (originalColumn < 0) {
1858
- throw new Error("Column numbers must be >= 0");
1859
- }
1860
-
1861
- const mappings = [];
1862
-
1863
- this._wasm.withMappingCallback(
1864
- m => {
1865
- let lastColumn = m.lastGeneratedColumn;
1866
- if (this._computedColumnSpans && lastColumn === null) {
1867
- lastColumn = Infinity;
1868
- }
1869
- mappings.push({
1870
- line: m.generatedLine,
1871
- column: m.generatedColumn,
1872
- lastColumn,
1873
- });
1874
- }, () => {
1875
- this._wasm.exports.all_generated_locations_for(
1876
- this._getMappingsPtr(),
1877
- source,
1878
- originalLine - 1,
1879
- "column" in aArgs,
1880
- originalColumn
1881
- );
1882
- }
1883
- );
1884
-
1885
- return mappings;
1886
- }
1887
-
1888
- destroy() {
1889
- if (this._mappingsPtr !== 0) {
1890
- this._wasm.exports.free_mappings(this._mappingsPtr);
1891
- this._mappingsPtr = 0;
1892
- }
1893
- }
1894
-
1895
- /**
1896
- * Compute the last column for each generated mapping. The last column is
1897
- * inclusive.
1898
- */
1899
- computeColumnSpans() {
1900
- if (this._computedColumnSpans) {
1901
- return;
1902
- }
1903
-
1904
- this._wasm.exports.compute_column_spans(this._getMappingsPtr());
1905
- this._computedColumnSpans = true;
1906
- }
1907
-
1908
- /**
1909
- * Returns the original source, line, and column information for the generated
1910
- * source's line and column positions provided. The only argument is an object
1911
- * with the following properties:
1912
- *
1913
- * - line: The line number in the generated source. The line number
1914
- * is 1-based.
1915
- * - column: The column number in the generated source. The column
1916
- * number is 0-based.
1917
- * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
1918
- * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
1919
- * closest element that is smaller than or greater than the one we are
1920
- * searching for, respectively, if the exact element cannot be found.
1921
- * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
1922
- *
1923
- * and an object is returned with the following properties:
1924
- *
1925
- * - source: The original source file, or null.
1926
- * - line: The line number in the original source, or null. The
1927
- * line number is 1-based.
1928
- * - column: The column number in the original source, or null. The
1929
- * column number is 0-based.
1930
- * - name: The original identifier, or null.
1931
- */
1932
- originalPositionFor(aArgs) {
1933
- const needle = {
1934
- generatedLine: util.getArg(aArgs, "line"),
1935
- generatedColumn: util.getArg(aArgs, "column")
1936
- };
1937
-
1938
- if (needle.generatedLine < 1) {
1939
- throw new Error("Line numbers must be >= 1");
1940
- }
1941
-
1942
- if (needle.generatedColumn < 0) {
1943
- throw new Error("Column numbers must be >= 0");
1944
- }
1945
-
1946
- let bias = util.getArg(aArgs, "bias", SourceMapConsumer.GREATEST_LOWER_BOUND);
1947
- if (bias == null) {
1948
- bias = SourceMapConsumer.GREATEST_LOWER_BOUND;
1949
- }
1950
-
1951
- let mapping;
1952
- this._wasm.withMappingCallback(m => mapping = m, () => {
1953
- this._wasm.exports.original_location_for(
1954
- this._getMappingsPtr(),
1955
- needle.generatedLine - 1,
1956
- needle.generatedColumn,
1957
- bias
1958
- );
1959
- });
1960
-
1961
- if (mapping) {
1962
- if (mapping.generatedLine === needle.generatedLine) {
1963
- let source = util.getArg(mapping, "source", null);
1964
- if (source !== null) {
1965
- source = this._sources.at(source);
1966
- source = util.computeSourceURL(this.sourceRoot, source, this._sourceMapURL);
1967
- }
1968
-
1969
- let name = util.getArg(mapping, "name", null);
1970
- if (name !== null) {
1971
- name = this._names.at(name);
1972
- }
1973
-
1974
- return {
1975
- source,
1976
- line: util.getArg(mapping, "originalLine", null),
1977
- column: util.getArg(mapping, "originalColumn", null),
1978
- name
1979
- };
1980
- }
1981
- }
1982
-
1983
- return {
1984
- source: null,
1985
- line: null,
1986
- column: null,
1987
- name: null
1988
- };
1989
- }
1990
-
1991
- /**
1992
- * Return true if we have the source content for every source in the source
1993
- * map, false otherwise.
1994
- */
1995
- hasContentsOfAllSources() {
1996
- if (!this.sourcesContent) {
1997
- return false;
1998
- }
1999
- return this.sourcesContent.length >= this._sources.size() &&
2000
- !this.sourcesContent.some(function(sc) { return sc == null; });
2001
- }
2002
-
2003
- /**
2004
- * Returns the original source content. The only argument is the url of the
2005
- * original source file. Returns null if no original source content is
2006
- * available.
2007
- */
2008
- sourceContentFor(aSource, nullOnMissing) {
2009
- if (!this.sourcesContent) {
2010
- return null;
2011
- }
2012
-
2013
- const index = this._findSourceIndex(aSource);
2014
- if (index >= 0) {
2015
- return this.sourcesContent[index];
2016
- }
2017
-
2018
- let relativeSource = aSource;
2019
- if (this.sourceRoot != null) {
2020
- relativeSource = util.relative(this.sourceRoot, relativeSource);
2021
- }
2022
-
2023
- let url;
2024
- if (this.sourceRoot != null
2025
- && (url = util.urlParse(this.sourceRoot))) {
2026
- // XXX: file:// URIs and absolute paths lead to unexpected behavior for
2027
- // many users. We can help them out when they expect file:// URIs to
2028
- // behave like it would if they were running a local HTTP server. See
2029
- // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.
2030
- const fileUriAbsPath = relativeSource.replace(/^file:\/\//, "");
2031
- if (url.scheme == "file"
2032
- && this._sources.has(fileUriAbsPath)) {
2033
- return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)];
2034
- }
2035
-
2036
- if ((!url.path || url.path == "/")
2037
- && this._sources.has("/" + relativeSource)) {
2038
- return this.sourcesContent[this._sources.indexOf("/" + relativeSource)];
2039
- }
2040
- }
2041
-
2042
- // This function is used recursively from
2043
- // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we
2044
- // don't want to throw if we can't find the source - we just want to
2045
- // return null, so we provide a flag to exit gracefully.
2046
- if (nullOnMissing) {
2047
- return null;
2048
- }
2049
-
2050
- throw new Error('"' + relativeSource + '" is not in the SourceMap.');
2051
- }
2052
-
2053
- /**
2054
- * Returns the generated line and column information for the original source,
2055
- * line, and column positions provided. The only argument is an object with
2056
- * the following properties:
2057
- *
2058
- * - source: The filename of the original source.
2059
- * - line: The line number in the original source. The line number
2060
- * is 1-based.
2061
- * - column: The column number in the original source. The column
2062
- * number is 0-based.
2063
- * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or
2064
- * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the
2065
- * closest element that is smaller than or greater than the one we are
2066
- * searching for, respectively, if the exact element cannot be found.
2067
- * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.
2068
- *
2069
- * and an object is returned with the following properties:
2070
- *
2071
- * - line: The line number in the generated source, or null. The
2072
- * line number is 1-based.
2073
- * - column: The column number in the generated source, or null.
2074
- * The column number is 0-based.
2075
- */
2076
- generatedPositionFor(aArgs) {
2077
- let source = util.getArg(aArgs, "source");
2078
- source = this._findSourceIndex(source);
2079
- if (source < 0) {
2080
- return {
2081
- line: null,
2082
- column: null,
2083
- lastColumn: null
2084
- };
2085
- }
2086
-
2087
- const needle = {
2088
- source,
2089
- originalLine: util.getArg(aArgs, "line"),
2090
- originalColumn: util.getArg(aArgs, "column")
2091
- };
2092
-
2093
- if (needle.originalLine < 1) {
2094
- throw new Error("Line numbers must be >= 1");
2095
- }
2096
-
2097
- if (needle.originalColumn < 0) {
2098
- throw new Error("Column numbers must be >= 0");
2099
- }
2100
-
2101
- let bias = util.getArg(aArgs, "bias", SourceMapConsumer.GREATEST_LOWER_BOUND);
2102
- if (bias == null) {
2103
- bias = SourceMapConsumer.GREATEST_LOWER_BOUND;
2104
- }
2105
-
2106
- let mapping;
2107
- this._wasm.withMappingCallback(m => mapping = m, () => {
2108
- this._wasm.exports.generated_location_for(
2109
- this._getMappingsPtr(),
2110
- needle.source,
2111
- needle.originalLine - 1,
2112
- needle.originalColumn,
2113
- bias
2114
- );
2115
- });
2116
-
2117
- if (mapping) {
2118
- if (mapping.source === needle.source) {
2119
- let lastColumn = mapping.lastGeneratedColumn;
2120
- if (this._computedColumnSpans && lastColumn === null) {
2121
- lastColumn = Infinity;
2122
- }
2123
- return {
2124
- line: util.getArg(mapping, "generatedLine", null),
2125
- column: util.getArg(mapping, "generatedColumn", null),
2126
- lastColumn,
2127
- };
2128
- }
2129
- }
2130
-
2131
- return {
2132
- line: null,
2133
- column: null,
2134
- lastColumn: null
2135
- };
2136
- }
2137
- }
2138
-
2139
- BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;
2140
- exports.BasicSourceMapConsumer = BasicSourceMapConsumer;
2141
-
2142
- /**
2143
- * An IndexedSourceMapConsumer instance represents a parsed source map which
2144
- * we can query for information. It differs from BasicSourceMapConsumer in
2145
- * that it takes "indexed" source maps (i.e. ones with a "sections" field) as
2146
- * input.
2147
- *
2148
- * The first parameter is a raw source map (either as a JSON string, or already
2149
- * parsed to an object). According to the spec for indexed source maps, they
2150
- * have the following attributes:
2151
- *
2152
- * - version: Which version of the source map spec this map is following.
2153
- * - file: Optional. The generated file this source map is associated with.
2154
- * - sections: A list of section definitions.
2155
- *
2156
- * Each value under the "sections" field has two fields:
2157
- * - offset: The offset into the original specified at which this section
2158
- * begins to apply, defined as an object with a "line" and "column"
2159
- * field.
2160
- * - map: A source map definition. This source map could also be indexed,
2161
- * but doesn't have to be.
2162
- *
2163
- * Instead of the "map" field, it's also possible to have a "url" field
2164
- * specifying a URL to retrieve a source map from, but that's currently
2165
- * unsupported.
2166
- *
2167
- * Here's an example source map, taken from the source map spec[0], but
2168
- * modified to omit a section which uses the "url" field.
2169
- *
2170
- * {
2171
- * version : 3,
2172
- * file: "app.js",
2173
- * sections: [{
2174
- * offset: {line:100, column:10},
2175
- * map: {
2176
- * version : 3,
2177
- * file: "section.js",
2178
- * sources: ["foo.js", "bar.js"],
2179
- * names: ["src", "maps", "are", "fun"],
2180
- * mappings: "AAAA,E;;ABCDE;"
2181
- * }
2182
- * }],
2183
- * }
2184
- *
2185
- * The second parameter, if given, is a string whose value is the URL
2186
- * at which the source map was found. This URL is used to compute the
2187
- * sources array.
2188
- *
2189
- * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt
2190
- */
2191
- class IndexedSourceMapConsumer extends SourceMapConsumer {
2192
- constructor(aSourceMap, aSourceMapURL) {
2193
- return super(INTERNAL).then(that => {
2194
- let sourceMap = aSourceMap;
2195
- if (typeof aSourceMap === "string") {
2196
- sourceMap = util.parseSourceMapInput(aSourceMap);
2197
- }
2198
-
2199
- const version = util.getArg(sourceMap, "version");
2200
- const sections = util.getArg(sourceMap, "sections");
2201
-
2202
- if (version != that._version) {
2203
- throw new Error("Unsupported version: " + version);
2204
- }
2205
-
2206
- that._sources = new ArraySet();
2207
- that._names = new ArraySet();
2208
- that.__generatedMappings = null;
2209
- that.__originalMappings = null;
2210
- that.__generatedMappingsUnsorted = null;
2211
- that.__originalMappingsUnsorted = null;
2212
-
2213
- let lastOffset = {
2214
- line: -1,
2215
- column: 0
2216
- };
2217
- return Promise.all(sections.map(s => {
2218
- if (s.url) {
2219
- // The url field will require support for asynchronicity.
2220
- // See https://github.com/mozilla/source-map/issues/16
2221
- throw new Error("Support for url field in sections not implemented.");
2222
- }
2223
- const offset = util.getArg(s, "offset");
2224
- const offsetLine = util.getArg(offset, "line");
2225
- const offsetColumn = util.getArg(offset, "column");
2226
-
2227
- if (offsetLine < lastOffset.line ||
2228
- (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {
2229
- throw new Error("Section offsets must be ordered and non-overlapping.");
2230
- }
2231
- lastOffset = offset;
2232
-
2233
- const cons = new SourceMapConsumer(util.getArg(s, "map"), aSourceMapURL);
2234
- return cons.then(consumer => {
2235
- return {
2236
- generatedOffset: {
2237
- // The offset fields are 0-based, but we use 1-based indices when
2238
- // encoding/decoding from VLQ.
2239
- generatedLine: offsetLine + 1,
2240
- generatedColumn: offsetColumn + 1
2241
- },
2242
- consumer
2243
- };
2244
- });
2245
- })).then(s => {
2246
- that._sections = s;
2247
- return that;
2248
- });
2249
- });
2250
- }
2251
-
2252
- // `__generatedMappings` and `__originalMappings` are arrays that hold the
2253
- // parsed mapping coordinates from the source map's "mappings" attribute. They
2254
- // are lazily instantiated, accessed via the `_generatedMappings` and
2255
- // `_originalMappings` getters respectively, and we only parse the mappings
2256
- // and create these arrays once queried for a source location. We jump through
2257
- // these hoops because there can be many thousands of mappings, and parsing
2258
- // them is expensive, so we only want to do it if we must.
2259
- //
2260
- // Each object in the arrays is of the form:
2261
- //
2262
- // {
2263
- // generatedLine: The line number in the generated code,
2264
- // generatedColumn: The column number in the generated code,
2265
- // source: The path to the original source file that generated this
2266
- // chunk of code,
2267
- // originalLine: The line number in the original source that
2268
- // corresponds to this chunk of generated code,
2269
- // originalColumn: The column number in the original source that
2270
- // corresponds to this chunk of generated code,
2271
- // name: The name of the original symbol which generated this chunk of
2272
- // code.
2273
- // }
2274
- //
2275
- // All properties except for `generatedLine` and `generatedColumn` can be
2276
- // `null`.
2277
- //
2278
- // `_generatedMappings` is ordered by the generated positions.
2279
- //
2280
- // `_originalMappings` is ordered by the original positions.
2281
- get _generatedMappings() {
2282
- if (!this.__generatedMappings) {
2283
- this._sortGeneratedMappings();
2284
- }
2285
-
2286
- return this.__generatedMappings;
2287
- }
2288
-
2289
- get _originalMappings() {
2290
- if (!this.__originalMappings) {
2291
- this._sortOriginalMappings();
2292
- }
2293
-
2294
- return this.__originalMappings;
2295
- }
2296
-
2297
- get _generatedMappingsUnsorted() {
2298
- if (!this.__generatedMappingsUnsorted) {
2299
- this._parseMappings(this._mappings, this.sourceRoot);
2300
- }
2301
-
2302
- return this.__generatedMappingsUnsorted;
2303
- }
2304
-
2305
- get _originalMappingsUnsorted() {
2306
- if (!this.__originalMappingsUnsorted) {
2307
- this._parseMappings(this._mappings, this.sourceRoot);
2308
- }
2309
-
2310
- return this.__originalMappingsUnsorted;
2311
- }
2312
-
2313
- _sortGeneratedMappings() {
2314
- const mappings = this._generatedMappingsUnsorted;
2315
- mappings.sort(util.compareByGeneratedPositionsDeflated);
2316
- this.__generatedMappings = mappings;
2317
- }
2318
-
2319
- _sortOriginalMappings() {
2320
- const mappings = this._originalMappingsUnsorted;
2321
- mappings.sort(util.compareByOriginalPositions);
2322
- this.__originalMappings = mappings;
2323
- }
2324
-
2325
- /**
2326
- * The list of original sources.
2327
- */
2328
- get sources() {
2329
- const sources = [];
2330
- for (let i = 0; i < this._sections.length; i++) {
2331
- for (let j = 0; j < this._sections[i].consumer.sources.length; j++) {
2332
- sources.push(this._sections[i].consumer.sources[j]);
2333
- }
2334
- }
2335
- return sources;
2336
- }
2337
-
2338
- /**
2339
- * Returns the original source, line, and column information for the generated
2340
- * source's line and column positions provided. The only argument is an object
2341
- * with the following properties:
2342
- *
2343
- * - line: The line number in the generated source. The line number
2344
- * is 1-based.
2345
- * - column: The column number in the generated source. The column
2346
- * number is 0-based.
2347
- *
2348
- * and an object is returned with the following properties:
2349
- *
2350
- * - source: The original source file, or null.
2351
- * - line: The line number in the original source, or null. The
2352
- * line number is 1-based.
2353
- * - column: The column number in the original source, or null. The
2354
- * column number is 0-based.
2355
- * - name: The original identifier, or null.
2356
- */
2357
- originalPositionFor(aArgs) {
2358
- const needle = {
2359
- generatedLine: util.getArg(aArgs, "line"),
2360
- generatedColumn: util.getArg(aArgs, "column")
2361
- };
2362
-
2363
- // Find the section containing the generated position we're trying to map
2364
- // to an original position.
2365
- const sectionIndex = binarySearch.search(needle, this._sections,
2366
- function(aNeedle, section) {
2367
- const cmp = aNeedle.generatedLine - section.generatedOffset.generatedLine;
2368
- if (cmp) {
2369
- return cmp;
2370
- }
2371
-
2372
- return (aNeedle.generatedColumn -
2373
- section.generatedOffset.generatedColumn);
2374
- });
2375
- const section = this._sections[sectionIndex];
2376
-
2377
- if (!section) {
2378
- return {
2379
- source: null,
2380
- line: null,
2381
- column: null,
2382
- name: null
2383
- };
2384
- }
2385
-
2386
- return section.consumer.originalPositionFor({
2387
- line: needle.generatedLine -
2388
- (section.generatedOffset.generatedLine - 1),
2389
- column: needle.generatedColumn -
2390
- (section.generatedOffset.generatedLine === needle.generatedLine
2391
- ? section.generatedOffset.generatedColumn - 1
2392
- : 0),
2393
- bias: aArgs.bias
2394
- });
2395
- }
2396
-
2397
- /**
2398
- * Return true if we have the source content for every source in the source
2399
- * map, false otherwise.
2400
- */
2401
- hasContentsOfAllSources() {
2402
- return this._sections.every(function(s) {
2403
- return s.consumer.hasContentsOfAllSources();
2404
- });
2405
- }
2406
-
2407
- /**
2408
- * Returns the original source content. The only argument is the url of the
2409
- * original source file. Returns null if no original source content is
2410
- * available.
2411
- */
2412
- sourceContentFor(aSource, nullOnMissing) {
2413
- for (let i = 0; i < this._sections.length; i++) {
2414
- const section = this._sections[i];
2415
-
2416
- const content = section.consumer.sourceContentFor(aSource, true);
2417
- if (content) {
2418
- return content;
2419
- }
2420
- }
2421
- if (nullOnMissing) {
2422
- return null;
2423
- }
2424
- throw new Error('"' + aSource + '" is not in the SourceMap.');
2425
- }
2426
-
2427
- /**
2428
- * Returns the generated line and column information for the original source,
2429
- * line, and column positions provided. The only argument is an object with
2430
- * the following properties:
2431
- *
2432
- * - source: The filename of the original source.
2433
- * - line: The line number in the original source. The line number
2434
- * is 1-based.
2435
- * - column: The column number in the original source. The column
2436
- * number is 0-based.
2437
- *
2438
- * and an object is returned with the following properties:
2439
- *
2440
- * - line: The line number in the generated source, or null. The
2441
- * line number is 1-based.
2442
- * - column: The column number in the generated source, or null.
2443
- * The column number is 0-based.
2444
- */
2445
- generatedPositionFor(aArgs) {
2446
- for (let i = 0; i < this._sections.length; i++) {
2447
- const section = this._sections[i];
2448
-
2449
- // Only consider this section if the requested source is in the list of
2450
- // sources of the consumer.
2451
- if (section.consumer._findSourceIndex(util.getArg(aArgs, "source")) === -1) {
2452
- continue;
2453
- }
2454
- const generatedPosition = section.consumer.generatedPositionFor(aArgs);
2455
- if (generatedPosition) {
2456
- const ret = {
2457
- line: generatedPosition.line +
2458
- (section.generatedOffset.generatedLine - 1),
2459
- column: generatedPosition.column +
2460
- (section.generatedOffset.generatedLine === generatedPosition.line
2461
- ? section.generatedOffset.generatedColumn - 1
2462
- : 0)
2463
- };
2464
- return ret;
2465
- }
2466
- }
2467
-
2468
- return {
2469
- line: null,
2470
- column: null
2471
- };
2472
- }
2473
-
2474
- /**
2475
- * Parse the mappings in a string in to a data structure which we can easily
2476
- * query (the ordered arrays in the `this.__generatedMappings` and
2477
- * `this.__originalMappings` properties).
2478
- */
2479
- _parseMappings(aStr, aSourceRoot) {
2480
- const generatedMappings = this.__generatedMappingsUnsorted = [];
2481
- const originalMappings = this.__originalMappingsUnsorted = [];
2482
- for (let i = 0; i < this._sections.length; i++) {
2483
- const section = this._sections[i];
2484
-
2485
- const sectionMappings = [];
2486
- section.consumer.eachMapping(m => sectionMappings.push(m));
2487
-
2488
- for (let j = 0; j < sectionMappings.length; j++) {
2489
- const mapping = sectionMappings[j];
2490
-
2491
- // TODO: test if null is correct here. The original code used
2492
- // `source`, which would actually have gotten used as null because
2493
- // var's get hoisted.
2494
- // See: https://github.com/mozilla/source-map/issues/333
2495
- let source = util.computeSourceURL(section.consumer.sourceRoot, null, this._sourceMapURL);
2496
- this._sources.add(source);
2497
- source = this._sources.indexOf(source);
2498
-
2499
- let name = null;
2500
- if (mapping.name) {
2501
- this._names.add(mapping.name);
2502
- name = this._names.indexOf(mapping.name);
2503
- }
2504
-
2505
- // The mappings coming from the consumer for the section have
2506
- // generated positions relative to the start of the section, so we
2507
- // need to offset them to be relative to the start of the concatenated
2508
- // generated file.
2509
- const adjustedMapping = {
2510
- source,
2511
- generatedLine: mapping.generatedLine +
2512
- (section.generatedOffset.generatedLine - 1),
2513
- generatedColumn: mapping.generatedColumn +
2514
- (section.generatedOffset.generatedLine === mapping.generatedLine
2515
- ? section.generatedOffset.generatedColumn - 1
2516
- : 0),
2517
- originalLine: mapping.originalLine,
2518
- originalColumn: mapping.originalColumn,
2519
- name
2520
- };
2521
-
2522
- generatedMappings.push(adjustedMapping);
2523
- if (typeof adjustedMapping.originalLine === "number") {
2524
- originalMappings.push(adjustedMapping);
2525
- }
2526
- }
2527
- }
2528
- }
2529
-
2530
- eachMapping(aCallback, aContext, aOrder) {
2531
- const context = aContext || null;
2532
- const order = aOrder || SourceMapConsumer.GENERATED_ORDER;
2533
-
2534
- let mappings;
2535
- switch (order) {
2536
- case SourceMapConsumer.GENERATED_ORDER:
2537
- mappings = this._generatedMappings;
2538
- break;
2539
- case SourceMapConsumer.ORIGINAL_ORDER:
2540
- mappings = this._originalMappings;
2541
- break;
2542
- default:
2543
- throw new Error("Unknown order of iteration.");
2544
- }
2545
-
2546
- const sourceRoot = this.sourceRoot;
2547
- mappings.map(function(mapping) {
2548
- let source = null;
2549
- if (mapping.source !== null) {
2550
- source = this._sources.at(mapping.source);
2551
- source = util.computeSourceURL(sourceRoot, source, this._sourceMapURL);
2552
- }
2553
- return {
2554
- source,
2555
- generatedLine: mapping.generatedLine,
2556
- generatedColumn: mapping.generatedColumn,
2557
- originalLine: mapping.originalLine,
2558
- originalColumn: mapping.originalColumn,
2559
- name: mapping.name === null ? null : this._names.at(mapping.name)
2560
- };
2561
- }, this).forEach(aCallback, context);
2562
- }
2563
-
2564
- /**
2565
- * Find the mapping that best matches the hypothetical "needle" mapping that
2566
- * we are searching for in the given "haystack" of mappings.
2567
- */
2568
- _findMapping(aNeedle, aMappings, aLineName,
2569
- aColumnName, aComparator, aBias) {
2570
- // To return the position we are searching for, we must first find the
2571
- // mapping for the given position and then return the opposite position it
2572
- // points to. Because the mappings are sorted, we can use binary search to
2573
- // find the best mapping.
2574
-
2575
- if (aNeedle[aLineName] <= 0) {
2576
- throw new TypeError("Line must be greater than or equal to 1, got "
2577
- + aNeedle[aLineName]);
2578
- }
2579
- if (aNeedle[aColumnName] < 0) {
2580
- throw new TypeError("Column must be greater than or equal to 0, got "
2581
- + aNeedle[aColumnName]);
2582
- }
2583
-
2584
- return binarySearch.search(aNeedle, aMappings, aComparator, aBias);
2585
- }
2586
-
2587
- allGeneratedPositionsFor(aArgs) {
2588
- const line = util.getArg(aArgs, "line");
2589
-
2590
- // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping
2591
- // returns the index of the closest mapping less than the needle. By
2592
- // setting needle.originalColumn to 0, we thus find the last mapping for
2593
- // the given line, provided such a mapping exists.
2594
- const needle = {
2595
- source: util.getArg(aArgs, "source"),
2596
- originalLine: line,
2597
- originalColumn: util.getArg(aArgs, "column", 0)
2598
- };
2599
-
2600
- needle.source = this._findSourceIndex(needle.source);
2601
- if (needle.source < 0) {
2602
- return [];
2603
- }
2604
-
2605
- if (needle.originalLine < 1) {
2606
- throw new Error("Line numbers must be >= 1");
2607
- }
2608
-
2609
- if (needle.originalColumn < 0) {
2610
- throw new Error("Column numbers must be >= 0");
2611
- }
2612
-
2613
- const mappings = [];
2614
-
2615
- let index = this._findMapping(needle,
2616
- this._originalMappings,
2617
- "originalLine",
2618
- "originalColumn",
2619
- util.compareByOriginalPositions,
2620
- binarySearch.LEAST_UPPER_BOUND);
2621
- if (index >= 0) {
2622
- let mapping = this._originalMappings[index];
2623
-
2624
- if (aArgs.column === undefined) {
2625
- const originalLine = mapping.originalLine;
2626
-
2627
- // Iterate until either we run out of mappings, or we run into
2628
- // a mapping for a different line than the one we found. Since
2629
- // mappings are sorted, this is guaranteed to find all mappings for
2630
- // the line we found.
2631
- while (mapping && mapping.originalLine === originalLine) {
2632
- let lastColumn = mapping.lastGeneratedColumn;
2633
- if (this._computedColumnSpans && lastColumn === null) {
2634
- lastColumn = Infinity;
2635
- }
2636
- mappings.push({
2637
- line: util.getArg(mapping, "generatedLine", null),
2638
- column: util.getArg(mapping, "generatedColumn", null),
2639
- lastColumn,
2640
- });
2641
-
2642
- mapping = this._originalMappings[++index];
2643
- }
2644
- } else {
2645
- const originalColumn = mapping.originalColumn;
2646
-
2647
- // Iterate until either we run out of mappings, or we run into
2648
- // a mapping for a different line than the one we were searching for.
2649
- // Since mappings are sorted, this is guaranteed to find all mappings for
2650
- // the line we are searching for.
2651
- while (mapping &&
2652
- mapping.originalLine === line &&
2653
- mapping.originalColumn == originalColumn) {
2654
- let lastColumn = mapping.lastGeneratedColumn;
2655
- if (this._computedColumnSpans && lastColumn === null) {
2656
- lastColumn = Infinity;
2657
- }
2658
- mappings.push({
2659
- line: util.getArg(mapping, "generatedLine", null),
2660
- column: util.getArg(mapping, "generatedColumn", null),
2661
- lastColumn,
2662
- });
2663
-
2664
- mapping = this._originalMappings[++index];
2665
- }
2666
- }
2667
- }
2668
-
2669
- return mappings;
2670
- }
2671
-
2672
- destroy() {
2673
- for (let i = 0; i < this._sections.length; i++) {
2674
- this._sections[i].consumer.destroy();
2675
- }
2676
- }
2677
- }
2678
- exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
2679
-
2680
- /*
2681
- * Cheat to get around inter-twingled classes. `factory()` can be at the end
2682
- * where it has access to non-hoisted classes, but it gets hoisted itself.
2683
- */
2684
- function _factory(aSourceMap, aSourceMapURL) {
2685
- let sourceMap = aSourceMap;
2686
- if (typeof aSourceMap === "string") {
2687
- sourceMap = util.parseSourceMapInput(aSourceMap);
2688
- }
2689
-
2690
- const consumer = sourceMap.sections != null
2691
- ? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL)
2692
- : new BasicSourceMapConsumer(sourceMap, aSourceMapURL);
2693
- return Promise.resolve(consumer);
2694
- }
2695
-
2696
- function _factoryBSM(aSourceMap, aSourceMapURL) {
2697
- return BasicSourceMapConsumer.fromSourceMap(aSourceMap, aSourceMapURL);
2698
- }
2699
-
2700
-
2701
- /***/ }),
2702
- /* 9 */
2703
- /***/ (function(module, exports) {
2704
-
2705
- /* -*- Mode: js; js-indent-level: 2; -*- */
2706
- /*
2707
- * Copyright 2011 Mozilla Foundation and contributors
2708
- * Licensed under the New BSD license. See LICENSE or:
2709
- * http://opensource.org/licenses/BSD-3-Clause
2710
- */
2711
-
2712
- exports.GREATEST_LOWER_BOUND = 1;
2713
- exports.LEAST_UPPER_BOUND = 2;
2714
-
2715
- /**
2716
- * Recursive implementation of binary search.
2717
- *
2718
- * @param aLow Indices here and lower do not contain the needle.
2719
- * @param aHigh Indices here and higher do not contain the needle.
2720
- * @param aNeedle The element being searched for.
2721
- * @param aHaystack The non-empty array being searched.
2722
- * @param aCompare Function which takes two elements and returns -1, 0, or 1.
2723
- * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
2724
- * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
2725
- * closest element that is smaller than or greater than the one we are
2726
- * searching for, respectively, if the exact element cannot be found.
2727
- */
2728
- function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
2729
- // This function terminates when one of the following is true:
2730
- //
2731
- // 1. We find the exact element we are looking for.
2732
- //
2733
- // 2. We did not find the exact element, but we can return the index of
2734
- // the next-closest element.
2735
- //
2736
- // 3. We did not find the exact element, and there is no next-closest
2737
- // element than the one we are searching for, so we return -1.
2738
- const mid = Math.floor((aHigh - aLow) / 2) + aLow;
2739
- const cmp = aCompare(aNeedle, aHaystack[mid], true);
2740
- if (cmp === 0) {
2741
- // Found the element we are looking for.
2742
- return mid;
2743
- } else if (cmp > 0) {
2744
- // Our needle is greater than aHaystack[mid].
2745
- if (aHigh - mid > 1) {
2746
- // The element is in the upper half.
2747
- return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);
2748
- }
2749
-
2750
- // The exact needle element was not found in this haystack. Determine if
2751
- // we are in termination case (3) or (2) and return the appropriate thing.
2752
- if (aBias == exports.LEAST_UPPER_BOUND) {
2753
- return aHigh < aHaystack.length ? aHigh : -1;
2754
- }
2755
- return mid;
2756
- }
2757
-
2758
- // Our needle is less than aHaystack[mid].
2759
- if (mid - aLow > 1) {
2760
- // The element is in the lower half.
2761
- return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);
2762
- }
2763
-
2764
- // we are in termination case (3) or (2) and return the appropriate thing.
2765
- if (aBias == exports.LEAST_UPPER_BOUND) {
2766
- return mid;
2767
- }
2768
- return aLow < 0 ? -1 : aLow;
2769
- }
2770
-
2771
- /**
2772
- * This is an implementation of binary search which will always try and return
2773
- * the index of the closest element if there is no exact hit. This is because
2774
- * mappings between original and generated line/col pairs are single points,
2775
- * and there is an implicit region between each of them, so a miss just means
2776
- * that you aren't on the very start of a region.
2777
- *
2778
- * @param aNeedle The element you are looking for.
2779
- * @param aHaystack The array that is being searched.
2780
- * @param aCompare A function which takes the needle and an element in the
2781
- * array and returns -1, 0, or 1 depending on whether the needle is less
2782
- * than, equal to, or greater than the element, respectively.
2783
- * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or
2784
- * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the
2785
- * closest element that is smaller than or greater than the one we are
2786
- * searching for, respectively, if the exact element cannot be found.
2787
- * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.
2788
- */
2789
- exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
2790
- if (aHaystack.length === 0) {
2791
- return -1;
2792
- }
2793
-
2794
- let index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,
2795
- aCompare, aBias || exports.GREATEST_LOWER_BOUND);
2796
- if (index < 0) {
2797
- return -1;
2798
- }
2799
-
2800
- // We have found either the exact element, or the next-closest element than
2801
- // the one we are searching for. However, there may be more than one such
2802
- // element. Make sure we always return the smallest of these.
2803
- while (index - 1 >= 0) {
2804
- if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {
2805
- break;
2806
- }
2807
- --index;
2808
- }
2809
-
2810
- return index;
2811
- };
2812
-
2813
-
2814
- /***/ }),
2815
- /* 10 */
2816
- /***/ (function(module, exports) {
2817
-
2818
- module.exports = __WEBPACK_EXTERNAL_MODULE_10__;
2819
-
2820
- /***/ }),
2821
- /* 11 */
2822
- /***/ (function(module, exports) {
2823
-
2824
- module.exports = __WEBPACK_EXTERNAL_MODULE_11__;
2825
-
2826
- /***/ }),
2827
- /* 12 */
2828
- /***/ (function(module, exports, __webpack_require__) {
2829
-
2830
- const readWasm = __webpack_require__(4);
2831
-
2832
- /**
2833
- * Provide the JIT with a nice shape / hidden class.
2834
- */
2835
- function Mapping() {
2836
- this.generatedLine = 0;
2837
- this.generatedColumn = 0;
2838
- this.lastGeneratedColumn = null;
2839
- this.source = null;
2840
- this.originalLine = null;
2841
- this.originalColumn = null;
2842
- this.name = null;
2843
- }
2844
-
2845
- let cachedWasm = null;
2846
-
2847
- module.exports = function wasm() {
2848
- if (cachedWasm) {
2849
- return cachedWasm;
2850
- }
2851
-
2852
- const callbackStack = [];
2853
-
2854
- cachedWasm = readWasm().then(buffer => {
2855
- return WebAssembly.instantiate(buffer, {
2856
- env: {
2857
- mapping_callback(
2858
- generatedLine,
2859
- generatedColumn,
2860
-
2861
- hasLastGeneratedColumn,
2862
- lastGeneratedColumn,
2863
-
2864
- hasOriginal,
2865
- source,
2866
- originalLine,
2867
- originalColumn,
2868
-
2869
- hasName,
2870
- name
2871
- ) {
2872
- const mapping = new Mapping();
2873
- // JS uses 1-based line numbers, wasm uses 0-based.
2874
- mapping.generatedLine = generatedLine + 1;
2875
- mapping.generatedColumn = generatedColumn;
2876
-
2877
- if (hasLastGeneratedColumn) {
2878
- // JS uses inclusive last generated column, wasm uses exclusive.
2879
- mapping.lastGeneratedColumn = lastGeneratedColumn - 1;
2880
- }
2881
-
2882
- if (hasOriginal) {
2883
- mapping.source = source;
2884
- // JS uses 1-based line numbers, wasm uses 0-based.
2885
- mapping.originalLine = originalLine + 1;
2886
- mapping.originalColumn = originalColumn;
2887
-
2888
- if (hasName) {
2889
- mapping.name = name;
2890
- }
2891
- }
2892
-
2893
- callbackStack[callbackStack.length - 1](mapping);
2894
- },
2895
-
2896
- start_all_generated_locations_for() { console.time("all_generated_locations_for"); },
2897
- end_all_generated_locations_for() { console.timeEnd("all_generated_locations_for"); },
2898
-
2899
- start_compute_column_spans() { console.time("compute_column_spans"); },
2900
- end_compute_column_spans() { console.timeEnd("compute_column_spans"); },
2901
-
2902
- start_generated_location_for() { console.time("generated_location_for"); },
2903
- end_generated_location_for() { console.timeEnd("generated_location_for"); },
2904
-
2905
- start_original_location_for() { console.time("original_location_for"); },
2906
- end_original_location_for() { console.timeEnd("original_location_for"); },
2907
-
2908
- start_parse_mappings() { console.time("parse_mappings"); },
2909
- end_parse_mappings() { console.timeEnd("parse_mappings"); },
2910
-
2911
- start_sort_by_generated_location() { console.time("sort_by_generated_location"); },
2912
- end_sort_by_generated_location() { console.timeEnd("sort_by_generated_location"); },
2913
-
2914
- start_sort_by_original_location() { console.time("sort_by_original_location"); },
2915
- end_sort_by_original_location() { console.timeEnd("sort_by_original_location"); },
2916
- }
2917
- });
2918
- }).then(Wasm => {
2919
- return {
2920
- exports: Wasm.instance.exports,
2921
- withMappingCallback: (mappingCallback, f) => {
2922
- callbackStack.push(mappingCallback);
2923
- try {
2924
- f();
2925
- } finally {
2926
- callbackStack.pop();
2927
- }
2928
- }
2929
- };
2930
- }).then(null, e => {
2931
- cachedWasm = null;
2932
- throw e;
2933
- });
2934
-
2935
- return cachedWasm;
2936
- };
2937
-
2938
-
2939
- /***/ }),
2940
- /* 13 */
2941
- /***/ (function(module, exports, __webpack_require__) {
2942
-
2943
- /* -*- Mode: js; js-indent-level: 2; -*- */
2944
- /*
2945
- * Copyright 2011 Mozilla Foundation and contributors
2946
- * Licensed under the New BSD license. See LICENSE or:
2947
- * http://opensource.org/licenses/BSD-3-Clause
2948
- */
2949
-
2950
- const SourceMapGenerator = __webpack_require__(1).SourceMapGenerator;
2951
- const util = __webpack_require__(0);
2952
-
2953
- // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other
2954
- // operating systems these days (capturing the result).
2955
- const REGEX_NEWLINE = /(\r?\n)/;
2956
-
2957
- // Newline character code for charCodeAt() comparisons
2958
- const NEWLINE_CODE = 10;
2959
-
2960
- // Private symbol for identifying `SourceNode`s when multiple versions of
2961
- // the source-map library are loaded. This MUST NOT CHANGE across
2962
- // versions!
2963
- const isSourceNode = "$$$isSourceNode$$$";
2964
-
2965
- /**
2966
- * SourceNodes provide a way to abstract over interpolating/concatenating
2967
- * snippets of generated JavaScript source code while maintaining the line and
2968
- * column information associated with the original source code.
2969
- *
2970
- * @param aLine The original line number.
2971
- * @param aColumn The original column number.
2972
- * @param aSource The original source's filename.
2973
- * @param aChunks Optional. An array of strings which are snippets of
2974
- * generated JS, or other SourceNodes.
2975
- * @param aName The original identifier.
2976
- */
2977
- class SourceNode {
2978
- constructor(aLine, aColumn, aSource, aChunks, aName) {
2979
- this.children = [];
2980
- this.sourceContents = {};
2981
- this.line = aLine == null ? null : aLine;
2982
- this.column = aColumn == null ? null : aColumn;
2983
- this.source = aSource == null ? null : aSource;
2984
- this.name = aName == null ? null : aName;
2985
- this[isSourceNode] = true;
2986
- if (aChunks != null) this.add(aChunks);
2987
- }
2988
-
2989
- /**
2990
- * Creates a SourceNode from generated code and a SourceMapConsumer.
2991
- *
2992
- * @param aGeneratedCode The generated code
2993
- * @param aSourceMapConsumer The SourceMap for the generated code
2994
- * @param aRelativePath Optional. The path that relative sources in the
2995
- * SourceMapConsumer should be relative to.
2996
- */
2997
- static fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {
2998
- // The SourceNode we want to fill with the generated code
2999
- // and the SourceMap
3000
- const node = new SourceNode();
3001
-
3002
- // All even indices of this array are one line of the generated code,
3003
- // while all odd indices are the newlines between two adjacent lines
3004
- // (since `REGEX_NEWLINE` captures its match).
3005
- // Processed fragments are accessed by calling `shiftNextLine`.
3006
- const remainingLines = aGeneratedCode.split(REGEX_NEWLINE);
3007
- let remainingLinesIndex = 0;
3008
- const shiftNextLine = function() {
3009
- const lineContents = getNextLine();
3010
- // The last line of a file might not have a newline.
3011
- const newLine = getNextLine() || "";
3012
- return lineContents + newLine;
3013
-
3014
- function getNextLine() {
3015
- return remainingLinesIndex < remainingLines.length ?
3016
- remainingLines[remainingLinesIndex++] : undefined;
3017
- }
3018
- };
3019
-
3020
- // We need to remember the position of "remainingLines"
3021
- let lastGeneratedLine = 1, lastGeneratedColumn = 0;
3022
-
3023
- // The generate SourceNodes we need a code range.
3024
- // To extract it current and last mapping is used.
3025
- // Here we store the last mapping.
3026
- let lastMapping = null;
3027
- let nextLine;
3028
-
3029
- aSourceMapConsumer.eachMapping(function(mapping) {
3030
- if (lastMapping !== null) {
3031
- // We add the code from "lastMapping" to "mapping":
3032
- // First check if there is a new line in between.
3033
- if (lastGeneratedLine < mapping.generatedLine) {
3034
- // Associate first line with "lastMapping"
3035
- addMappingWithCode(lastMapping, shiftNextLine());
3036
- lastGeneratedLine++;
3037
- lastGeneratedColumn = 0;
3038
- // The remaining code is added without mapping
3039
- } else {
3040
- // There is no new line in between.
3041
- // Associate the code between "lastGeneratedColumn" and
3042
- // "mapping.generatedColumn" with "lastMapping"
3043
- nextLine = remainingLines[remainingLinesIndex] || "";
3044
- const code = nextLine.substr(0, mapping.generatedColumn -
3045
- lastGeneratedColumn);
3046
- remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -
3047
- lastGeneratedColumn);
3048
- lastGeneratedColumn = mapping.generatedColumn;
3049
- addMappingWithCode(lastMapping, code);
3050
- // No more remaining code, continue
3051
- lastMapping = mapping;
3052
- return;
3053
- }
3054
- }
3055
- // We add the generated code until the first mapping
3056
- // to the SourceNode without any mapping.
3057
- // Each line is added as separate string.
3058
- while (lastGeneratedLine < mapping.generatedLine) {
3059
- node.add(shiftNextLine());
3060
- lastGeneratedLine++;
3061
- }
3062
- if (lastGeneratedColumn < mapping.generatedColumn) {
3063
- nextLine = remainingLines[remainingLinesIndex] || "";
3064
- node.add(nextLine.substr(0, mapping.generatedColumn));
3065
- remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);
3066
- lastGeneratedColumn = mapping.generatedColumn;
3067
- }
3068
- lastMapping = mapping;
3069
- }, this);
3070
- // We have processed all mappings.
3071
- if (remainingLinesIndex < remainingLines.length) {
3072
- if (lastMapping) {
3073
- // Associate the remaining code in the current line with "lastMapping"
3074
- addMappingWithCode(lastMapping, shiftNextLine());
3075
- }
3076
- // and add the remaining lines without any mapping
3077
- node.add(remainingLines.splice(remainingLinesIndex).join(""));
3078
- }
3079
-
3080
- // Copy sourcesContent into SourceNode
3081
- aSourceMapConsumer.sources.forEach(function(sourceFile) {
3082
- const content = aSourceMapConsumer.sourceContentFor(sourceFile);
3083
- if (content != null) {
3084
- if (aRelativePath != null) {
3085
- sourceFile = util.join(aRelativePath, sourceFile);
3086
- }
3087
- node.setSourceContent(sourceFile, content);
3088
- }
3089
- });
3090
-
3091
- return node;
3092
-
3093
- function addMappingWithCode(mapping, code) {
3094
- if (mapping === null || mapping.source === undefined) {
3095
- node.add(code);
3096
- } else {
3097
- const source = aRelativePath
3098
- ? util.join(aRelativePath, mapping.source)
3099
- : mapping.source;
3100
- node.add(new SourceNode(mapping.originalLine,
3101
- mapping.originalColumn,
3102
- source,
3103
- code,
3104
- mapping.name));
3105
- }
3106
- }
3107
- }
3108
-
3109
- /**
3110
- * Add a chunk of generated JS to this source node.
3111
- *
3112
- * @param aChunk A string snippet of generated JS code, another instance of
3113
- * SourceNode, or an array where each member is one of those things.
3114
- */
3115
- add(aChunk) {
3116
- if (Array.isArray(aChunk)) {
3117
- aChunk.forEach(function(chunk) {
3118
- this.add(chunk);
3119
- }, this);
3120
- } else if (aChunk[isSourceNode] || typeof aChunk === "string") {
3121
- if (aChunk) {
3122
- this.children.push(aChunk);
3123
- }
3124
- } else {
3125
- throw new TypeError(
3126
- "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
3127
- );
3128
- }
3129
- return this;
3130
- }
3131
-
3132
- /**
3133
- * Add a chunk of generated JS to the beginning of this source node.
3134
- *
3135
- * @param aChunk A string snippet of generated JS code, another instance of
3136
- * SourceNode, or an array where each member is one of those things.
3137
- */
3138
- prepend(aChunk) {
3139
- if (Array.isArray(aChunk)) {
3140
- for (let i = aChunk.length - 1; i >= 0; i--) {
3141
- this.prepend(aChunk[i]);
3142
- }
3143
- } else if (aChunk[isSourceNode] || typeof aChunk === "string") {
3144
- this.children.unshift(aChunk);
3145
- } else {
3146
- throw new TypeError(
3147
- "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk
3148
- );
3149
- }
3150
- return this;
3151
- }
3152
-
3153
- /**
3154
- * Walk over the tree of JS snippets in this node and its children. The
3155
- * walking function is called once for each snippet of JS and is passed that
3156
- * snippet and the its original associated source's line/column location.
3157
- *
3158
- * @param aFn The traversal function.
3159
- */
3160
- walk(aFn) {
3161
- let chunk;
3162
- for (let i = 0, len = this.children.length; i < len; i++) {
3163
- chunk = this.children[i];
3164
- if (chunk[isSourceNode]) {
3165
- chunk.walk(aFn);
3166
- } else if (chunk !== "") {
3167
- aFn(chunk, { source: this.source,
3168
- line: this.line,
3169
- column: this.column,
3170
- name: this.name });
3171
- }
3172
- }
3173
- }
3174
-
3175
- /**
3176
- * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between
3177
- * each of `this.children`.
3178
- *
3179
- * @param aSep The separator.
3180
- */
3181
- join(aSep) {
3182
- let newChildren;
3183
- let i;
3184
- const len = this.children.length;
3185
- if (len > 0) {
3186
- newChildren = [];
3187
- for (i = 0; i < len - 1; i++) {
3188
- newChildren.push(this.children[i]);
3189
- newChildren.push(aSep);
3190
- }
3191
- newChildren.push(this.children[i]);
3192
- this.children = newChildren;
3193
- }
3194
- return this;
3195
- }
3196
-
3197
- /**
3198
- * Call String.prototype.replace on the very right-most source snippet. Useful
3199
- * for trimming whitespace from the end of a source node, etc.
3200
- *
3201
- * @param aPattern The pattern to replace.
3202
- * @param aReplacement The thing to replace the pattern with.
3203
- */
3204
- replaceRight(aPattern, aReplacement) {
3205
- const lastChild = this.children[this.children.length - 1];
3206
- if (lastChild[isSourceNode]) {
3207
- lastChild.replaceRight(aPattern, aReplacement);
3208
- } else if (typeof lastChild === "string") {
3209
- this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);
3210
- } else {
3211
- this.children.push("".replace(aPattern, aReplacement));
3212
- }
3213
- return this;
3214
- }
3215
-
3216
- /**
3217
- * Set the source content for a source file. This will be added to the SourceMapGenerator
3218
- * in the sourcesContent field.
3219
- *
3220
- * @param aSourceFile The filename of the source file
3221
- * @param aSourceContent The content of the source file
3222
- */
3223
- setSourceContent(aSourceFile, aSourceContent) {
3224
- this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;
3225
- }
3226
-
3227
- /**
3228
- * Walk over the tree of SourceNodes. The walking function is called for each
3229
- * source file content and is passed the filename and source content.
3230
- *
3231
- * @param aFn The traversal function.
3232
- */
3233
- walkSourceContents(aFn) {
3234
- for (let i = 0, len = this.children.length; i < len; i++) {
3235
- if (this.children[i][isSourceNode]) {
3236
- this.children[i].walkSourceContents(aFn);
3237
- }
3238
- }
3239
-
3240
- const sources = Object.keys(this.sourceContents);
3241
- for (let i = 0, len = sources.length; i < len; i++) {
3242
- aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);
3243
- }
3244
- }
3245
-
3246
- /**
3247
- * Return the string representation of this source node. Walks over the tree
3248
- * and concatenates all the various snippets together to one string.
3249
- */
3250
- toString() {
3251
- let str = "";
3252
- this.walk(function(chunk) {
3253
- str += chunk;
3254
- });
3255
- return str;
3256
- }
3257
-
3258
- /**
3259
- * Returns the string representation of this source node along with a source
3260
- * map.
3261
- */
3262
- toStringWithSourceMap(aArgs) {
3263
- const generated = {
3264
- code: "",
3265
- line: 1,
3266
- column: 0
3267
- };
3268
- const map = new SourceMapGenerator(aArgs);
3269
- let sourceMappingActive = false;
3270
- let lastOriginalSource = null;
3271
- let lastOriginalLine = null;
3272
- let lastOriginalColumn = null;
3273
- let lastOriginalName = null;
3274
- this.walk(function(chunk, original) {
3275
- generated.code += chunk;
3276
- if (original.source !== null
3277
- && original.line !== null
3278
- && original.column !== null) {
3279
- if (lastOriginalSource !== original.source
3280
- || lastOriginalLine !== original.line
3281
- || lastOriginalColumn !== original.column
3282
- || lastOriginalName !== original.name) {
3283
- map.addMapping({
3284
- source: original.source,
3285
- original: {
3286
- line: original.line,
3287
- column: original.column
3288
- },
3289
- generated: {
3290
- line: generated.line,
3291
- column: generated.column
3292
- },
3293
- name: original.name
3294
- });
3295
- }
3296
- lastOriginalSource = original.source;
3297
- lastOriginalLine = original.line;
3298
- lastOriginalColumn = original.column;
3299
- lastOriginalName = original.name;
3300
- sourceMappingActive = true;
3301
- } else if (sourceMappingActive) {
3302
- map.addMapping({
3303
- generated: {
3304
- line: generated.line,
3305
- column: generated.column
3306
- }
3307
- });
3308
- lastOriginalSource = null;
3309
- sourceMappingActive = false;
3310
- }
3311
- for (let idx = 0, length = chunk.length; idx < length; idx++) {
3312
- if (chunk.charCodeAt(idx) === NEWLINE_CODE) {
3313
- generated.line++;
3314
- generated.column = 0;
3315
- // Mappings end at eol
3316
- if (idx + 1 === length) {
3317
- lastOriginalSource = null;
3318
- sourceMappingActive = false;
3319
- } else if (sourceMappingActive) {
3320
- map.addMapping({
3321
- source: original.source,
3322
- original: {
3323
- line: original.line,
3324
- column: original.column
3325
- },
3326
- generated: {
3327
- line: generated.line,
3328
- column: generated.column
3329
- },
3330
- name: original.name
3331
- });
3332
- }
3333
- } else {
3334
- generated.column++;
3335
- }
3336
- }
3337
- });
3338
- this.walkSourceContents(function(sourceFile, sourceContent) {
3339
- map.setSourceContent(sourceFile, sourceContent);
3340
- });
3341
-
3342
- return { code: generated.code, map };
3343
- }
3344
- }
3345
-
3346
- exports.SourceNode = SourceNode;
3347
-
3348
-
3349
- /***/ })
3350
- /******/ ]);
3351
- });