wice_grid 7.1.0 → 7.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2491) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -1
  3. data/Gemfile.lock +44 -44
  4. data/README.md +1 -1
  5. data/lib/wice_grid.rb +15 -0
  6. data/package.json +0 -3
  7. data/wice_grid.gemspec +1 -1
  8. metadata +2 -2485
  9. data/node_modules/.bin/browserslist +0 -1
  10. data/node_modules/.bin/cake +0 -1
  11. data/node_modules/.bin/coffee +0 -1
  12. data/node_modules/.bin/decaffeinate +0 -1
  13. data/node_modules/.bin/esparse +0 -1
  14. data/node_modules/.bin/esvalidate +0 -1
  15. data/node_modules/.bin/is-ci +0 -1
  16. data/node_modules/.bin/is-ci-cli +0 -1
  17. data/node_modules/.bin/jsesc +0 -1
  18. data/node_modules/.bin/json5 +0 -1
  19. data/node_modules/.bin/node-which +0 -1
  20. data/node_modules/.bin/parser +0 -1
  21. data/node_modules/.bin/resolve +0 -1
  22. data/node_modules/.bin/semver +0 -1
  23. data/node_modules/.bin/update-browserslist-db +0 -1
  24. data/node_modules/.yarn-integrity +0 -131
  25. data/node_modules/@ampproject/remapping/LICENSE +0 -202
  26. data/node_modules/@ampproject/remapping/README.md +0 -218
  27. data/node_modules/@ampproject/remapping/dist/remapping.mjs +0 -197
  28. data/node_modules/@ampproject/remapping/dist/remapping.mjs.map +0 -1
  29. data/node_modules/@ampproject/remapping/dist/remapping.umd.js +0 -202
  30. data/node_modules/@ampproject/remapping/dist/remapping.umd.js.map +0 -1
  31. data/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts +0 -14
  32. data/node_modules/@ampproject/remapping/dist/types/remapping.d.ts +0 -20
  33. data/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts +0 -45
  34. data/node_modules/@ampproject/remapping/dist/types/source-map.d.ts +0 -18
  35. data/node_modules/@ampproject/remapping/dist/types/types.d.ts +0 -15
  36. data/node_modules/@ampproject/remapping/package.json +0 -75
  37. data/node_modules/@babel/code-frame/LICENSE +0 -22
  38. data/node_modules/@babel/code-frame/README.md +0 -19
  39. data/node_modules/@babel/code-frame/lib/index.js +0 -156
  40. data/node_modules/@babel/code-frame/lib/index.js.map +0 -1
  41. data/node_modules/@babel/code-frame/package.json +0 -30
  42. data/node_modules/@babel/compat-data/LICENSE +0 -22
  43. data/node_modules/@babel/compat-data/README.md +0 -19
  44. data/node_modules/@babel/compat-data/corejs2-built-ins.js +0 -2
  45. data/node_modules/@babel/compat-data/corejs3-shipped-proposals.js +0 -2
  46. data/node_modules/@babel/compat-data/data/corejs2-built-ins.json +0 -2090
  47. data/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json +0 -5
  48. data/node_modules/@babel/compat-data/data/native-modules.json +0 -18
  49. data/node_modules/@babel/compat-data/data/overlapping-plugins.json +0 -33
  50. data/node_modules/@babel/compat-data/data/plugin-bugfixes.json +0 -213
  51. data/node_modules/@babel/compat-data/data/plugins.json +0 -794
  52. data/node_modules/@babel/compat-data/native-modules.js +0 -1
  53. data/node_modules/@babel/compat-data/overlapping-plugins.js +0 -1
  54. data/node_modules/@babel/compat-data/package.json +0 -40
  55. data/node_modules/@babel/compat-data/plugin-bugfixes.js +0 -1
  56. data/node_modules/@babel/compat-data/plugins.js +0 -1
  57. data/node_modules/@babel/core/LICENSE +0 -22
  58. data/node_modules/@babel/core/README.md +0 -19
  59. data/node_modules/@babel/core/cjs-proxy.cjs +0 -59
  60. data/node_modules/@babel/core/lib/config/cache-contexts.js +0 -3
  61. data/node_modules/@babel/core/lib/config/cache-contexts.js.map +0 -1
  62. data/node_modules/@babel/core/lib/config/caching.js +0 -261
  63. data/node_modules/@babel/core/lib/config/caching.js.map +0 -1
  64. data/node_modules/@babel/core/lib/config/config-chain.js +0 -469
  65. data/node_modules/@babel/core/lib/config/config-chain.js.map +0 -1
  66. data/node_modules/@babel/core/lib/config/config-descriptors.js +0 -190
  67. data/node_modules/@babel/core/lib/config/config-descriptors.js.map +0 -1
  68. data/node_modules/@babel/core/lib/config/files/configuration.js +0 -286
  69. data/node_modules/@babel/core/lib/config/files/configuration.js.map +0 -1
  70. data/node_modules/@babel/core/lib/config/files/import.cjs +0 -6
  71. data/node_modules/@babel/core/lib/config/files/import.cjs.map +0 -1
  72. data/node_modules/@babel/core/lib/config/files/index-browser.js +0 -58
  73. data/node_modules/@babel/core/lib/config/files/index-browser.js.map +0 -1
  74. data/node_modules/@babel/core/lib/config/files/index.js +0 -78
  75. data/node_modules/@babel/core/lib/config/files/index.js.map +0 -1
  76. data/node_modules/@babel/core/lib/config/files/module-types.js +0 -176
  77. data/node_modules/@babel/core/lib/config/files/module-types.js.map +0 -1
  78. data/node_modules/@babel/core/lib/config/files/package.js +0 -61
  79. data/node_modules/@babel/core/lib/config/files/package.js.map +0 -1
  80. data/node_modules/@babel/core/lib/config/files/plugins.js +0 -217
  81. data/node_modules/@babel/core/lib/config/files/plugins.js.map +0 -1
  82. data/node_modules/@babel/core/lib/config/files/types.js +0 -3
  83. data/node_modules/@babel/core/lib/config/files/types.js.map +0 -1
  84. data/node_modules/@babel/core/lib/config/files/utils.js +0 -36
  85. data/node_modules/@babel/core/lib/config/files/utils.js.map +0 -1
  86. data/node_modules/@babel/core/lib/config/full.js +0 -310
  87. data/node_modules/@babel/core/lib/config/full.js.map +0 -1
  88. data/node_modules/@babel/core/lib/config/helpers/config-api.js +0 -84
  89. data/node_modules/@babel/core/lib/config/helpers/config-api.js.map +0 -1
  90. data/node_modules/@babel/core/lib/config/helpers/deep-array.js +0 -23
  91. data/node_modules/@babel/core/lib/config/helpers/deep-array.js.map +0 -1
  92. data/node_modules/@babel/core/lib/config/helpers/environment.js +0 -12
  93. data/node_modules/@babel/core/lib/config/helpers/environment.js.map +0 -1
  94. data/node_modules/@babel/core/lib/config/index.js +0 -93
  95. data/node_modules/@babel/core/lib/config/index.js.map +0 -1
  96. data/node_modules/@babel/core/lib/config/item.js +0 -67
  97. data/node_modules/@babel/core/lib/config/item.js.map +0 -1
  98. data/node_modules/@babel/core/lib/config/partial.js +0 -158
  99. data/node_modules/@babel/core/lib/config/partial.js.map +0 -1
  100. data/node_modules/@babel/core/lib/config/pattern-to-regex.js +0 -38
  101. data/node_modules/@babel/core/lib/config/pattern-to-regex.js.map +0 -1
  102. data/node_modules/@babel/core/lib/config/plugin.js +0 -33
  103. data/node_modules/@babel/core/lib/config/plugin.js.map +0 -1
  104. data/node_modules/@babel/core/lib/config/printer.js +0 -113
  105. data/node_modules/@babel/core/lib/config/printer.js.map +0 -1
  106. data/node_modules/@babel/core/lib/config/resolve-targets-browser.js +0 -41
  107. data/node_modules/@babel/core/lib/config/resolve-targets-browser.js.map +0 -1
  108. data/node_modules/@babel/core/lib/config/resolve-targets.js +0 -61
  109. data/node_modules/@babel/core/lib/config/resolve-targets.js.map +0 -1
  110. data/node_modules/@babel/core/lib/config/util.js +0 -31
  111. data/node_modules/@babel/core/lib/config/util.js.map +0 -1
  112. data/node_modules/@babel/core/lib/config/validation/option-assertions.js +0 -277
  113. data/node_modules/@babel/core/lib/config/validation/option-assertions.js.map +0 -1
  114. data/node_modules/@babel/core/lib/config/validation/options.js +0 -189
  115. data/node_modules/@babel/core/lib/config/validation/options.js.map +0 -1
  116. data/node_modules/@babel/core/lib/config/validation/plugins.js +0 -67
  117. data/node_modules/@babel/core/lib/config/validation/plugins.js.map +0 -1
  118. data/node_modules/@babel/core/lib/config/validation/removed.js +0 -68
  119. data/node_modules/@babel/core/lib/config/validation/removed.js.map +0 -1
  120. data/node_modules/@babel/core/lib/errors/config-error.js +0 -18
  121. data/node_modules/@babel/core/lib/errors/config-error.js.map +0 -1
  122. data/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js +0 -98
  123. data/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.map +0 -1
  124. data/node_modules/@babel/core/lib/gensync-utils/async.js +0 -90
  125. data/node_modules/@babel/core/lib/gensync-utils/async.js.map +0 -1
  126. data/node_modules/@babel/core/lib/gensync-utils/fs.js +0 -31
  127. data/node_modules/@babel/core/lib/gensync-utils/fs.js.map +0 -1
  128. data/node_modules/@babel/core/lib/gensync-utils/functional.js +0 -58
  129. data/node_modules/@babel/core/lib/gensync-utils/functional.js.map +0 -1
  130. data/node_modules/@babel/core/lib/index.js +0 -242
  131. data/node_modules/@babel/core/lib/index.js.map +0 -1
  132. data/node_modules/@babel/core/lib/parse.js +0 -47
  133. data/node_modules/@babel/core/lib/parse.js.map +0 -1
  134. data/node_modules/@babel/core/lib/parser/index.js +0 -79
  135. data/node_modules/@babel/core/lib/parser/index.js.map +0 -1
  136. data/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +0 -339
  137. data/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js.map +0 -1
  138. data/node_modules/@babel/core/lib/tools/build-external-helpers.js +0 -144
  139. data/node_modules/@babel/core/lib/tools/build-external-helpers.js.map +0 -1
  140. data/node_modules/@babel/core/lib/transform-ast.js +0 -50
  141. data/node_modules/@babel/core/lib/transform-ast.js.map +0 -1
  142. data/node_modules/@babel/core/lib/transform-file-browser.js +0 -23
  143. data/node_modules/@babel/core/lib/transform-file-browser.js.map +0 -1
  144. data/node_modules/@babel/core/lib/transform-file.js +0 -40
  145. data/node_modules/@babel/core/lib/transform-file.js.map +0 -1
  146. data/node_modules/@babel/core/lib/transform.js +0 -49
  147. data/node_modules/@babel/core/lib/transform.js.map +0 -1
  148. data/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +0 -84
  149. data/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js.map +0 -1
  150. data/node_modules/@babel/core/lib/transformation/file/file.js +0 -216
  151. data/node_modules/@babel/core/lib/transformation/file/file.js.map +0 -1
  152. data/node_modules/@babel/core/lib/transformation/file/generate.js +0 -84
  153. data/node_modules/@babel/core/lib/transformation/file/generate.js.map +0 -1
  154. data/node_modules/@babel/core/lib/transformation/file/merge-map.js +0 -37
  155. data/node_modules/@babel/core/lib/transformation/file/merge-map.js.map +0 -1
  156. data/node_modules/@babel/core/lib/transformation/index.js +0 -101
  157. data/node_modules/@babel/core/lib/transformation/index.js.map +0 -1
  158. data/node_modules/@babel/core/lib/transformation/normalize-file.js +0 -129
  159. data/node_modules/@babel/core/lib/transformation/normalize-file.js.map +0 -1
  160. data/node_modules/@babel/core/lib/transformation/normalize-opts.js +0 -59
  161. data/node_modules/@babel/core/lib/transformation/normalize-opts.js.map +0 -1
  162. data/node_modules/@babel/core/lib/transformation/plugin-pass.js +0 -48
  163. data/node_modules/@babel/core/lib/transformation/plugin-pass.js.map +0 -1
  164. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js +0 -36
  165. data/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map +0 -1
  166. data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +0 -1043
  167. data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map +0 -1
  168. data/node_modules/@babel/core/node_modules/.bin/json5 +0 -1
  169. data/node_modules/@babel/core/node_modules/.bin/parser +0 -1
  170. data/node_modules/@babel/core/node_modules/.bin/semver +0 -1
  171. data/node_modules/@babel/core/package.json +0 -82
  172. data/node_modules/@babel/core/src/config/files/index-browser.ts +0 -109
  173. data/node_modules/@babel/core/src/config/files/index.ts +0 -29
  174. data/node_modules/@babel/core/src/config/resolve-targets-browser.ts +0 -40
  175. data/node_modules/@babel/core/src/config/resolve-targets.ts +0 -56
  176. data/node_modules/@babel/core/src/transform-file-browser.ts +0 -31
  177. data/node_modules/@babel/core/src/transform-file.ts +0 -55
  178. data/node_modules/@babel/generator/LICENSE +0 -22
  179. data/node_modules/@babel/generator/README.md +0 -19
  180. data/node_modules/@babel/generator/lib/buffer.js +0 -323
  181. data/node_modules/@babel/generator/lib/buffer.js.map +0 -1
  182. data/node_modules/@babel/generator/lib/generators/base.js +0 -92
  183. data/node_modules/@babel/generator/lib/generators/base.js.map +0 -1
  184. data/node_modules/@babel/generator/lib/generators/classes.js +0 -177
  185. data/node_modules/@babel/generator/lib/generators/classes.js.map +0 -1
  186. data/node_modules/@babel/generator/lib/generators/expressions.js +0 -309
  187. data/node_modules/@babel/generator/lib/generators/expressions.js.map +0 -1
  188. data/node_modules/@babel/generator/lib/generators/flow.js +0 -668
  189. data/node_modules/@babel/generator/lib/generators/flow.js.map +0 -1
  190. data/node_modules/@babel/generator/lib/generators/index.js +0 -128
  191. data/node_modules/@babel/generator/lib/generators/index.js.map +0 -1
  192. data/node_modules/@babel/generator/lib/generators/jsx.js +0 -123
  193. data/node_modules/@babel/generator/lib/generators/jsx.js.map +0 -1
  194. data/node_modules/@babel/generator/lib/generators/methods.js +0 -173
  195. data/node_modules/@babel/generator/lib/generators/methods.js.map +0 -1
  196. data/node_modules/@babel/generator/lib/generators/modules.js +0 -274
  197. data/node_modules/@babel/generator/lib/generators/modules.js.map +0 -1
  198. data/node_modules/@babel/generator/lib/generators/statements.js +0 -275
  199. data/node_modules/@babel/generator/lib/generators/statements.js.map +0 -1
  200. data/node_modules/@babel/generator/lib/generators/template-literals.js +0 -31
  201. data/node_modules/@babel/generator/lib/generators/template-literals.js.map +0 -1
  202. data/node_modules/@babel/generator/lib/generators/types.js +0 -225
  203. data/node_modules/@babel/generator/lib/generators/types.js.map +0 -1
  204. data/node_modules/@babel/generator/lib/generators/typescript.js +0 -690
  205. data/node_modules/@babel/generator/lib/generators/typescript.js.map +0 -1
  206. data/node_modules/@babel/generator/lib/index.js +0 -89
  207. data/node_modules/@babel/generator/lib/index.js.map +0 -1
  208. data/node_modules/@babel/generator/lib/node/index.js +0 -76
  209. data/node_modules/@babel/generator/lib/node/index.js.map +0 -1
  210. data/node_modules/@babel/generator/lib/node/parentheses.js +0 -225
  211. data/node_modules/@babel/generator/lib/node/parentheses.js.map +0 -1
  212. data/node_modules/@babel/generator/lib/node/whitespace.js +0 -145
  213. data/node_modules/@babel/generator/lib/node/whitespace.js.map +0 -1
  214. data/node_modules/@babel/generator/lib/printer.js +0 -684
  215. data/node_modules/@babel/generator/lib/printer.js.map +0 -1
  216. data/node_modules/@babel/generator/lib/source-map.js +0 -85
  217. data/node_modules/@babel/generator/lib/source-map.js.map +0 -1
  218. data/node_modules/@babel/generator/node_modules/.bin/jsesc +0 -1
  219. data/node_modules/@babel/generator/package.json +0 -38
  220. data/node_modules/@babel/helper-compilation-targets/LICENSE +0 -22
  221. data/node_modules/@babel/helper-compilation-targets/README.md +0 -19
  222. data/node_modules/@babel/helper-compilation-targets/lib/debug.js +0 -28
  223. data/node_modules/@babel/helper-compilation-targets/lib/debug.js.map +0 -1
  224. data/node_modules/@babel/helper-compilation-targets/lib/filter-items.js +0 -67
  225. data/node_modules/@babel/helper-compilation-targets/lib/filter-items.js.map +0 -1
  226. data/node_modules/@babel/helper-compilation-targets/lib/index.js +0 -224
  227. data/node_modules/@babel/helper-compilation-targets/lib/index.js.map +0 -1
  228. data/node_modules/@babel/helper-compilation-targets/lib/options.js +0 -24
  229. data/node_modules/@babel/helper-compilation-targets/lib/options.js.map +0 -1
  230. data/node_modules/@babel/helper-compilation-targets/lib/pretty.js +0 -40
  231. data/node_modules/@babel/helper-compilation-targets/lib/pretty.js.map +0 -1
  232. data/node_modules/@babel/helper-compilation-targets/lib/targets.js +0 -28
  233. data/node_modules/@babel/helper-compilation-targets/lib/targets.js.map +0 -1
  234. data/node_modules/@babel/helper-compilation-targets/lib/utils.js +0 -58
  235. data/node_modules/@babel/helper-compilation-targets/lib/utils.js.map +0 -1
  236. data/node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist +0 -1
  237. data/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver +0 -1
  238. data/node_modules/@babel/helper-compilation-targets/package.json +0 -43
  239. data/node_modules/@babel/helper-environment-visitor/LICENSE +0 -22
  240. data/node_modules/@babel/helper-environment-visitor/README.md +0 -19
  241. data/node_modules/@babel/helper-environment-visitor/lib/index.js +0 -51
  242. data/node_modules/@babel/helper-environment-visitor/lib/index.js.map +0 -1
  243. data/node_modules/@babel/helper-environment-visitor/package.json +0 -34
  244. data/node_modules/@babel/helper-function-name/LICENSE +0 -22
  245. data/node_modules/@babel/helper-function-name/README.md +0 -19
  246. data/node_modules/@babel/helper-function-name/lib/index.js +0 -170
  247. data/node_modules/@babel/helper-function-name/lib/index.js.map +0 -1
  248. data/node_modules/@babel/helper-function-name/package.json +0 -28
  249. data/node_modules/@babel/helper-hoist-variables/LICENSE +0 -22
  250. data/node_modules/@babel/helper-hoist-variables/README.md +0 -19
  251. data/node_modules/@babel/helper-hoist-variables/lib/index.js +0 -50
  252. data/node_modules/@babel/helper-hoist-variables/lib/index.js.map +0 -1
  253. data/node_modules/@babel/helper-hoist-variables/package.json +0 -27
  254. data/node_modules/@babel/helper-module-imports/LICENSE +0 -22
  255. data/node_modules/@babel/helper-module-imports/README.md +0 -19
  256. data/node_modules/@babel/helper-module-imports/lib/import-builder.js +0 -122
  257. data/node_modules/@babel/helper-module-imports/lib/import-builder.js.map +0 -1
  258. data/node_modules/@babel/helper-module-imports/lib/import-injector.js +0 -304
  259. data/node_modules/@babel/helper-module-imports/lib/import-injector.js.map +0 -1
  260. data/node_modules/@babel/helper-module-imports/lib/index.js +0 -37
  261. data/node_modules/@babel/helper-module-imports/lib/index.js.map +0 -1
  262. data/node_modules/@babel/helper-module-imports/lib/is-module.js +0 -11
  263. data/node_modules/@babel/helper-module-imports/lib/is-module.js.map +0 -1
  264. data/node_modules/@babel/helper-module-imports/package.json +0 -28
  265. data/node_modules/@babel/helper-module-transforms/LICENSE +0 -22
  266. data/node_modules/@babel/helper-module-transforms/README.md +0 -19
  267. data/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js +0 -48
  268. data/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js.map +0 -1
  269. data/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +0 -48
  270. data/node_modules/@babel/helper-module-transforms/lib/get-module-name.js.map +0 -1
  271. data/node_modules/@babel/helper-module-transforms/lib/index.js +0 -380
  272. data/node_modules/@babel/helper-module-transforms/lib/index.js.map +0 -1
  273. data/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js +0 -31
  274. data/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js.map +0 -1
  275. data/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +0 -358
  276. data/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js.map +0 -1
  277. data/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +0 -376
  278. data/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js.map +0 -1
  279. data/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js +0 -24
  280. data/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js.map +0 -1
  281. data/node_modules/@babel/helper-module-transforms/package.json +0 -34
  282. data/node_modules/@babel/helper-simple-access/LICENSE +0 -22
  283. data/node_modules/@babel/helper-simple-access/README.md +0 -19
  284. data/node_modules/@babel/helper-simple-access/lib/index.js +0 -91
  285. data/node_modules/@babel/helper-simple-access/lib/index.js.map +0 -1
  286. data/node_modules/@babel/helper-simple-access/package.json +0 -28
  287. data/node_modules/@babel/helper-split-export-declaration/LICENSE +0 -22
  288. data/node_modules/@babel/helper-split-export-declaration/README.md +0 -19
  289. data/node_modules/@babel/helper-split-export-declaration/lib/index.js +0 -59
  290. data/node_modules/@babel/helper-split-export-declaration/lib/index.js.map +0 -1
  291. data/node_modules/@babel/helper-split-export-declaration/package.json +0 -27
  292. data/node_modules/@babel/helper-string-parser/LICENSE +0 -22
  293. data/node_modules/@babel/helper-string-parser/README.md +0 -19
  294. data/node_modules/@babel/helper-string-parser/lib/index.js +0 -295
  295. data/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
  296. data/node_modules/@babel/helper-string-parser/package.json +0 -31
  297. data/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
  298. data/node_modules/@babel/helper-validator-identifier/README.md +0 -19
  299. data/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  300. data/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  301. data/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  302. data/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  303. data/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  304. data/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  305. data/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  306. data/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +0 -73
  307. data/node_modules/@babel/helper-validator-option/LICENSE +0 -22
  308. data/node_modules/@babel/helper-validator-option/README.md +0 -19
  309. data/node_modules/@babel/helper-validator-option/lib/find-suggestion.js +0 -39
  310. data/node_modules/@babel/helper-validator-option/lib/find-suggestion.js.map +0 -1
  311. data/node_modules/@babel/helper-validator-option/lib/index.js +0 -21
  312. data/node_modules/@babel/helper-validator-option/lib/index.js.map +0 -1
  313. data/node_modules/@babel/helper-validator-option/lib/validator.js +0 -48
  314. data/node_modules/@babel/helper-validator-option/lib/validator.js.map +0 -1
  315. data/node_modules/@babel/helper-validator-option/package.json +0 -27
  316. data/node_modules/@babel/helpers/LICENSE +0 -22
  317. data/node_modules/@babel/helpers/README.md +0 -19
  318. data/node_modules/@babel/helpers/lib/helpers/AwaitValue.js +0 -11
  319. data/node_modules/@babel/helpers/lib/helpers/AwaitValue.js.map +0 -1
  320. data/node_modules/@babel/helpers/lib/helpers/OverloadYield.js +0 -12
  321. data/node_modules/@babel/helpers/lib/helpers/OverloadYield.js.map +0 -1
  322. data/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js +0 -31
  323. data/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js.map +0 -1
  324. data/node_modules/@babel/helpers/lib/helpers/applyDecs.js +0 -459
  325. data/node_modules/@babel/helpers/lib/helpers/applyDecs.js.map +0 -1
  326. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js +0 -363
  327. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js.map +0 -1
  328. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js +0 -376
  329. data/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js.map +0 -1
  330. data/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js +0 -421
  331. data/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js.map +0 -1
  332. data/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js +0 -235
  333. data/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js.map +0 -1
  334. data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js +0 -236
  335. data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js.map +0 -1
  336. data/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js +0 -13
  337. data/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js.map +0 -1
  338. data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js +0 -11
  339. data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js.map +0 -1
  340. data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js +0 -12
  341. data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js.map +0 -1
  342. data/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js +0 -14
  343. data/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js.map +0 -1
  344. data/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js +0 -14
  345. data/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js.map +0 -1
  346. data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js +0 -52
  347. data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js.map +0 -1
  348. data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js +0 -70
  349. data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map +0 -1
  350. data/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js +0 -38
  351. data/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js.map +0 -1
  352. data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js +0 -12
  353. data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js.map +0 -1
  354. data/node_modules/@babel/helpers/lib/helpers/callSuper.js +0 -15
  355. data/node_modules/@babel/helpers/lib/helpers/callSuper.js.map +0 -1
  356. data/node_modules/@babel/helpers/lib/helpers/checkInRHS.js +0 -14
  357. data/node_modules/@babel/helpers/lib/helpers/checkInRHS.js.map +0 -1
  358. data/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js +0 -13
  359. data/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js.map +0 -1
  360. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js +0 -25
  361. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js.map +0 -1
  362. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js +0 -14
  363. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js.map +0 -1
  364. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js +0 -18
  365. data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js.map +0 -1
  366. data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js +0 -13
  367. data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js.map +0 -1
  368. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js +0 -12
  369. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js.map +0 -1
  370. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -13
  371. data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js.map +0 -1
  372. data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js +0 -12
  373. data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js.map +0 -1
  374. data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js +0 -11
  375. data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js.map +0 -1
  376. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js +0 -14
  377. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js.map +0 -1
  378. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js +0 -14
  379. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js.map +0 -1
  380. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js +0 -12
  381. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js.map +0 -1
  382. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js +0 -13
  383. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js.map +0 -1
  384. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js +0 -14
  385. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js.map +0 -1
  386. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js +0 -12
  387. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js.map +0 -1
  388. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js +0 -15
  389. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js.map +0 -1
  390. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js +0 -13
  391. data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js.map +0 -1
  392. data/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js +0 -12
  393. data/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js.map +0 -1
  394. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js +0 -13
  395. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js.map +0 -1
  396. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js +0 -13
  397. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js.map +0 -1
  398. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js +0 -11
  399. data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js.map +0 -1
  400. data/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js +0 -13
  401. data/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js.map +0 -1
  402. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js +0 -16
  403. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js.map +0 -1
  404. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js +0 -16
  405. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js.map +0 -1
  406. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js +0 -17
  407. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js.map +0 -1
  408. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js +0 -13
  409. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js.map +0 -1
  410. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js +0 -11
  411. data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js.map +0 -1
  412. data/node_modules/@babel/helpers/lib/helpers/construct.js +0 -20
  413. data/node_modules/@babel/helpers/lib/helpers/construct.js.map +0 -1
  414. data/node_modules/@babel/helpers/lib/helpers/createClass.js +0 -26
  415. data/node_modules/@babel/helpers/lib/helpers/createClass.js.map +0 -1
  416. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js +0 -60
  417. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js.map +0 -1
  418. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js +0 -27
  419. data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js.map +0 -1
  420. data/node_modules/@babel/helpers/lib/helpers/createSuper.js +0 -25
  421. data/node_modules/@babel/helpers/lib/helpers/createSuper.js.map +0 -1
  422. data/node_modules/@babel/helpers/lib/helpers/decorate.js +0 -350
  423. data/node_modules/@babel/helpers/lib/helpers/decorate.js.map +0 -1
  424. data/node_modules/@babel/helpers/lib/helpers/defaults.js +0 -18
  425. data/node_modules/@babel/helpers/lib/helpers/defaults.js.map +0 -1
  426. data/node_modules/@babel/helpers/lib/helpers/defineAccessor.js +0 -16
  427. data/node_modules/@babel/helpers/lib/helpers/defineAccessor.js.map +0 -1
  428. data/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js +0 -27
  429. data/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js.map +0 -1
  430. data/node_modules/@babel/helpers/lib/helpers/defineProperty.js +0 -23
  431. data/node_modules/@babel/helpers/lib/helpers/defineProperty.js.map +0 -1
  432. data/node_modules/@babel/helpers/lib/helpers/dispose.js +0 -47
  433. data/node_modules/@babel/helpers/lib/helpers/dispose.js.map +0 -1
  434. data/node_modules/@babel/helpers/lib/helpers/extends.js +0 -22
  435. data/node_modules/@babel/helpers/lib/helpers/extends.js.map +0 -1
  436. data/node_modules/@babel/helpers/lib/helpers/get.js +0 -25
  437. data/node_modules/@babel/helpers/lib/helpers/get.js.map +0 -1
  438. data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js +0 -14
  439. data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js.map +0 -1
  440. data/node_modules/@babel/helpers/lib/helpers/identity.js +0 -11
  441. data/node_modules/@babel/helpers/lib/helpers/identity.js.map +0 -1
  442. data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js +0 -35
  443. data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js.map +0 -1
  444. data/node_modules/@babel/helpers/lib/helpers/inherits.js +0 -25
  445. data/node_modules/@babel/helpers/lib/helpers/inherits.js.map +0 -1
  446. data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js +0 -14
  447. data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js.map +0 -1
  448. data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js +0 -17
  449. data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js.map +0 -1
  450. data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js +0 -11
  451. data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js.map +0 -1
  452. data/node_modules/@babel/helpers/lib/helpers/instanceof.js +0 -15
  453. data/node_modules/@babel/helpers/lib/helpers/instanceof.js.map +0 -1
  454. data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js +0 -13
  455. data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js.map +0 -1
  456. data/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js +0 -49
  457. data/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js.map +0 -1
  458. data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js +0 -15
  459. data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js.map +0 -1
  460. data/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js +0 -16
  461. data/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js.map +0 -1
  462. data/node_modules/@babel/helpers/lib/helpers/iterableToArray.js +0 -13
  463. data/node_modules/@babel/helpers/lib/helpers/iterableToArray.js.map +0 -1
  464. data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js +0 -41
  465. data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js.map +0 -1
  466. data/node_modules/@babel/helpers/lib/helpers/jsx.js +0 -47
  467. data/node_modules/@babel/helpers/lib/helpers/jsx.js.map +0 -1
  468. data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js +0 -16
  469. data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js.map +0 -1
  470. data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js +0 -13
  471. data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js.map +0 -1
  472. data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js +0 -11
  473. data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js.map +0 -1
  474. data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js +0 -11
  475. data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js.map +0 -1
  476. data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js +0 -11
  477. data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js.map +0 -1
  478. data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js +0 -11
  479. data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js.map +0 -1
  480. data/node_modules/@babel/helpers/lib/helpers/objectSpread.js +0 -24
  481. data/node_modules/@babel/helpers/lib/helpers/objectSpread.js.map +0 -1
  482. data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js +0 -39
  483. data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js.map +0 -1
  484. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js +0 -24
  485. data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.map +0 -1
  486. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js +0 -19
  487. data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map +0 -1
  488. data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js +0 -17
  489. data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map +0 -1
  490. data/node_modules/@babel/helpers/lib/helpers/readOnlyError.js +0 -11
  491. data/node_modules/@babel/helpers/lib/helpers/readOnlyError.js.map +0 -1
  492. data/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js +0 -499
  493. data/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js.map +0 -1
  494. data/node_modules/@babel/helpers/lib/helpers/set.js +0 -48
  495. data/node_modules/@babel/helpers/lib/helpers/set.js.map +0 -1
  496. data/node_modules/@babel/helpers/lib/helpers/setFunctionName.js +0 -21
  497. data/node_modules/@babel/helpers/lib/helpers/setFunctionName.js.map +0 -1
  498. data/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js +0 -15
  499. data/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js.map +0 -1
  500. data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js +0 -15
  501. data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js.map +0 -1
  502. data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js +0 -15
  503. data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js.map +0 -1
  504. data/node_modules/@babel/helpers/lib/helpers/superPropBase.js +0 -16
  505. data/node_modules/@babel/helpers/lib/helpers/superPropBase.js.map +0 -1
  506. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js +0 -18
  507. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js.map +0 -1
  508. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js +0 -15
  509. data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js.map +0 -1
  510. data/node_modules/@babel/helpers/lib/helpers/tdz.js +0 -11
  511. data/node_modules/@babel/helpers/lib/helpers/tdz.js.map +0 -1
  512. data/node_modules/@babel/helpers/lib/helpers/temporalRef.js +0 -13
  513. data/node_modules/@babel/helpers/lib/helpers/temporalRef.js.map +0 -1
  514. data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js +0 -9
  515. data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js.map +0 -1
  516. data/node_modules/@babel/helpers/lib/helpers/toArray.js +0 -15
  517. data/node_modules/@babel/helpers/lib/helpers/toArray.js.map +0 -1
  518. data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js +0 -15
  519. data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js.map +0 -1
  520. data/node_modules/@babel/helpers/lib/helpers/toPrimitive.js +0 -18
  521. data/node_modules/@babel/helpers/lib/helpers/toPrimitive.js.map +0 -1
  522. data/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js +0 -13
  523. data/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js.map +0 -1
  524. data/node_modules/@babel/helpers/lib/helpers/toSetter.js +0 -18
  525. data/node_modules/@babel/helpers/lib/helpers/toSetter.js.map +0 -1
  526. data/node_modules/@babel/helpers/lib/helpers/typeof.js +0 -22
  527. data/node_modules/@babel/helpers/lib/helpers/typeof.js.map +0 -1
  528. data/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js +0 -19
  529. data/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map +0 -1
  530. data/node_modules/@babel/helpers/lib/helpers/using.js +0 -29
  531. data/node_modules/@babel/helpers/lib/helpers/using.js.map +0 -1
  532. data/node_modules/@babel/helpers/lib/helpers/usingCtx.js +0 -73
  533. data/node_modules/@babel/helpers/lib/helpers/usingCtx.js.map +0 -1
  534. data/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js +0 -97
  535. data/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js.map +0 -1
  536. data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js +0 -38
  537. data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js.map +0 -1
  538. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js +0 -66
  539. data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map +0 -1
  540. data/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js +0 -11
  541. data/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js.map +0 -1
  542. data/node_modules/@babel/helpers/lib/helpers-generated.js +0 -1207
  543. data/node_modules/@babel/helpers/lib/helpers-generated.js.map +0 -1
  544. data/node_modules/@babel/helpers/lib/index.js +0 -121
  545. data/node_modules/@babel/helpers/lib/index.js.map +0 -1
  546. data/node_modules/@babel/helpers/package.json +0 -31
  547. data/node_modules/@babel/helpers/scripts/build-helper-metadata.js +0 -209
  548. data/node_modules/@babel/helpers/scripts/generate-helpers.js +0 -207
  549. data/node_modules/@babel/helpers/scripts/generate-regenerator-runtime.js +0 -63
  550. data/node_modules/@babel/highlight/LICENSE +0 -22
  551. data/node_modules/@babel/highlight/README.md +0 -19
  552. data/node_modules/@babel/highlight/lib/index.js +0 -119
  553. data/node_modules/@babel/highlight/lib/index.js.map +0 -1
  554. data/node_modules/@babel/highlight/package.json +0 -30
  555. data/node_modules/@babel/parser/CHANGELOG.md +0 -1073
  556. data/node_modules/@babel/parser/LICENSE +0 -19
  557. data/node_modules/@babel/parser/README.md +0 -19
  558. data/node_modules/@babel/parser/bin/babel-parser.js +0 -15
  559. data/node_modules/@babel/parser/index.cjs +0 -5
  560. data/node_modules/@babel/parser/lib/index.js +0 -13989
  561. data/node_modules/@babel/parser/lib/index.js.map +0 -1
  562. data/node_modules/@babel/parser/package.json +0 -47
  563. data/node_modules/@babel/parser/typings/babel-parser.d.ts +0 -251
  564. data/node_modules/@babel/template/LICENSE +0 -22
  565. data/node_modules/@babel/template/README.md +0 -19
  566. data/node_modules/@babel/template/lib/builder.js +0 -69
  567. data/node_modules/@babel/template/lib/builder.js.map +0 -1
  568. data/node_modules/@babel/template/lib/formatters.js +0 -61
  569. data/node_modules/@babel/template/lib/formatters.js.map +0 -1
  570. data/node_modules/@babel/template/lib/index.js +0 -23
  571. data/node_modules/@babel/template/lib/index.js.map +0 -1
  572. data/node_modules/@babel/template/lib/literal.js +0 -69
  573. data/node_modules/@babel/template/lib/literal.js.map +0 -1
  574. data/node_modules/@babel/template/lib/options.js +0 -73
  575. data/node_modules/@babel/template/lib/options.js.map +0 -1
  576. data/node_modules/@babel/template/lib/parse.js +0 -160
  577. data/node_modules/@babel/template/lib/parse.js.map +0 -1
  578. data/node_modules/@babel/template/lib/populate.js +0 -122
  579. data/node_modules/@babel/template/lib/populate.js.map +0 -1
  580. data/node_modules/@babel/template/lib/string.js +0 -20
  581. data/node_modules/@babel/template/lib/string.js.map +0 -1
  582. data/node_modules/@babel/template/node_modules/.bin/parser +0 -1
  583. data/node_modules/@babel/template/package.json +0 -27
  584. data/node_modules/@babel/traverse/LICENSE +0 -22
  585. data/node_modules/@babel/traverse/README.md +0 -19
  586. data/node_modules/@babel/traverse/lib/cache.js +0 -44
  587. data/node_modules/@babel/traverse/lib/cache.js.map +0 -1
  588. data/node_modules/@babel/traverse/lib/context.js +0 -118
  589. data/node_modules/@babel/traverse/lib/context.js.map +0 -1
  590. data/node_modules/@babel/traverse/lib/hub.js +0 -19
  591. data/node_modules/@babel/traverse/lib/hub.js.map +0 -1
  592. data/node_modules/@babel/traverse/lib/index.js +0 -94
  593. data/node_modules/@babel/traverse/lib/index.js.map +0 -1
  594. data/node_modules/@babel/traverse/lib/path/ancestry.js +0 -141
  595. data/node_modules/@babel/traverse/lib/path/ancestry.js.map +0 -1
  596. data/node_modules/@babel/traverse/lib/path/comments.js +0 -52
  597. data/node_modules/@babel/traverse/lib/path/comments.js.map +0 -1
  598. data/node_modules/@babel/traverse/lib/path/context.js +0 -222
  599. data/node_modules/@babel/traverse/lib/path/context.js.map +0 -1
  600. data/node_modules/@babel/traverse/lib/path/conversion.js +0 -468
  601. data/node_modules/@babel/traverse/lib/path/conversion.js.map +0 -1
  602. data/node_modules/@babel/traverse/lib/path/evaluation.js +0 -347
  603. data/node_modules/@babel/traverse/lib/path/evaluation.js.map +0 -1
  604. data/node_modules/@babel/traverse/lib/path/family.js +0 -335
  605. data/node_modules/@babel/traverse/lib/path/family.js.map +0 -1
  606. data/node_modules/@babel/traverse/lib/path/index.js +0 -282
  607. data/node_modules/@babel/traverse/lib/path/index.js.map +0 -1
  608. data/node_modules/@babel/traverse/lib/path/inference/index.js +0 -149
  609. data/node_modules/@babel/traverse/lib/path/inference/index.js.map +0 -1
  610. data/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js +0 -151
  611. data/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js.map +0 -1
  612. data/node_modules/@babel/traverse/lib/path/inference/inferers.js +0 -207
  613. data/node_modules/@babel/traverse/lib/path/inference/inferers.js.map +0 -1
  614. data/node_modules/@babel/traverse/lib/path/inference/util.js +0 -30
  615. data/node_modules/@babel/traverse/lib/path/inference/util.js.map +0 -1
  616. data/node_modules/@babel/traverse/lib/path/introspection.js +0 -397
  617. data/node_modules/@babel/traverse/lib/path/introspection.js.map +0 -1
  618. data/node_modules/@babel/traverse/lib/path/lib/hoister.js +0 -171
  619. data/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +0 -1
  620. data/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js +0 -37
  621. data/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js.map +0 -1
  622. data/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js +0 -163
  623. data/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.map +0 -1
  624. data/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +0 -26
  625. data/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.map +0 -1
  626. data/node_modules/@babel/traverse/lib/path/modification.js +0 -226
  627. data/node_modules/@babel/traverse/lib/path/modification.js.map +0 -1
  628. data/node_modules/@babel/traverse/lib/path/removal.js +0 -66
  629. data/node_modules/@babel/traverse/lib/path/removal.js.map +0 -1
  630. data/node_modules/@babel/traverse/lib/path/replacement.js +0 -264
  631. data/node_modules/@babel/traverse/lib/path/replacement.js.map +0 -1
  632. data/node_modules/@babel/traverse/lib/scope/binding.js +0 -83
  633. data/node_modules/@babel/traverse/lib/scope/binding.js.map +0 -1
  634. data/node_modules/@babel/traverse/lib/scope/index.js +0 -904
  635. data/node_modules/@babel/traverse/lib/scope/index.js.map +0 -1
  636. data/node_modules/@babel/traverse/lib/scope/lib/renamer.js +0 -115
  637. data/node_modules/@babel/traverse/lib/scope/lib/renamer.js.map +0 -1
  638. data/node_modules/@babel/traverse/lib/traverse-node.js +0 -29
  639. data/node_modules/@babel/traverse/lib/traverse-node.js.map +0 -1
  640. data/node_modules/@babel/traverse/lib/types.js +0 -3
  641. data/node_modules/@babel/traverse/lib/types.js.map +0 -1
  642. data/node_modules/@babel/traverse/lib/visitors.js +0 -221
  643. data/node_modules/@babel/traverse/lib/visitors.js.map +0 -1
  644. data/node_modules/@babel/traverse/node_modules/.bin/parser +0 -1
  645. data/node_modules/@babel/traverse/package.json +0 -38
  646. data/node_modules/@babel/types/LICENSE +0 -22
  647. data/node_modules/@babel/types/README.md +0 -19
  648. data/node_modules/@babel/types/lib/asserts/assertNode.js +0 -16
  649. data/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
  650. data/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1235
  651. data/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
  652. data/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -3
  653. data/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
  654. data/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -18
  655. data/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
  656. data/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -31
  657. data/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
  658. data/node_modules/@babel/types/lib/builders/generated/index.js +0 -1991
  659. data/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
  660. data/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1532
  661. data/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
  662. data/node_modules/@babel/types/lib/builders/productions.js +0 -12
  663. data/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
  664. data/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -24
  665. data/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
  666. data/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -22
  667. data/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
  668. data/node_modules/@babel/types/lib/builders/validateNode.js +0 -17
  669. data/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
  670. data/node_modules/@babel/types/lib/clone/clone.js +0 -12
  671. data/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
  672. data/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -12
  673. data/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
  674. data/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -12
  675. data/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
  676. data/node_modules/@babel/types/lib/clone/cloneNode.js +0 -104
  677. data/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
  678. data/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -12
  679. data/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
  680. data/node_modules/@babel/types/lib/comments/addComment.js +0 -15
  681. data/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
  682. data/node_modules/@babel/types/lib/comments/addComments.js +0 -22
  683. data/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
  684. data/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -12
  685. data/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
  686. data/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -12
  687. data/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
  688. data/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -12
  689. data/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
  690. data/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -17
  691. data/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
  692. data/node_modules/@babel/types/lib/comments/removeComments.js +0 -15
  693. data/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
  694. data/node_modules/@babel/types/lib/constants/generated/index.js +0 -59
  695. data/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
  696. data/node_modules/@babel/types/lib/constants/index.js +0 -31
  697. data/node_modules/@babel/types/lib/constants/index.js.map +0 -1
  698. data/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -14
  699. data/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
  700. data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -66
  701. data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
  702. data/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -14
  703. data/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
  704. data/node_modules/@babel/types/lib/converters/toBlock.js +0 -29
  705. data/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
  706. data/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -14
  707. data/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
  708. data/node_modules/@babel/types/lib/converters/toExpression.js +0 -27
  709. data/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
  710. data/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -25
  711. data/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
  712. data/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -38
  713. data/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
  714. data/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -20
  715. data/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
  716. data/node_modules/@babel/types/lib/converters/toStatement.js +0 -39
  717. data/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
  718. data/node_modules/@babel/types/lib/converters/valueToNode.js +0 -76
  719. data/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
  720. data/node_modules/@babel/types/lib/definitions/core.js +0 -1689
  721. data/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
  722. data/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -11
  723. data/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
  724. data/node_modules/@babel/types/lib/definitions/experimental.js +0 -134
  725. data/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
  726. data/node_modules/@babel/types/lib/definitions/flow.js +0 -488
  727. data/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
  728. data/node_modules/@babel/types/lib/definitions/index.js +0 -96
  729. data/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
  730. data/node_modules/@babel/types/lib/definitions/jsx.js +0 -158
  731. data/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
  732. data/node_modules/@babel/types/lib/definitions/misc.js +0 -32
  733. data/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
  734. data/node_modules/@babel/types/lib/definitions/placeholders.js +0 -27
  735. data/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
  736. data/node_modules/@babel/types/lib/definitions/typescript.js +0 -493
  737. data/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
  738. data/node_modules/@babel/types/lib/definitions/utils.js +0 -273
  739. data/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
  740. data/node_modules/@babel/types/lib/index-legacy.d.ts +0 -2758
  741. data/node_modules/@babel/types/lib/index.d.ts +0 -3269
  742. data/node_modules/@babel/types/lib/index.js +0 -576
  743. data/node_modules/@babel/types/lib/index.js.flow +0 -2612
  744. data/node_modules/@babel/types/lib/index.js.map +0 -1
  745. data/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -15
  746. data/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
  747. data/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -65
  748. data/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
  749. data/node_modules/@babel/types/lib/modifications/inherits.js +0 -28
  750. data/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
  751. data/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -17
  752. data/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
  753. data/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -24
  754. data/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
  755. data/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -14
  756. data/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
  757. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -65
  758. data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
  759. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -96
  760. data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
  761. data/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -13
  762. data/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
  763. data/node_modules/@babel/types/lib/traverse/traverse.js +0 -50
  764. data/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
  765. data/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -26
  766. data/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
  767. data/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -44
  768. data/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
  769. data/node_modules/@babel/types/lib/utils/inherit.js +0 -13
  770. data/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
  771. data/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -40
  772. data/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
  773. data/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -17
  774. data/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
  775. data/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -13
  776. data/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
  777. data/node_modules/@babel/types/lib/validators/generated/index.js +0 -2752
  778. data/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
  779. data/node_modules/@babel/types/lib/validators/is.js +0 -27
  780. data/node_modules/@babel/types/lib/validators/is.js.map +0 -1
  781. data/node_modules/@babel/types/lib/validators/isBinding.js +0 -27
  782. data/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
  783. data/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -13
  784. data/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
  785. data/node_modules/@babel/types/lib/validators/isImmutable.js +0 -21
  786. data/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
  787. data/node_modules/@babel/types/lib/validators/isLet.js +0 -13
  788. data/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
  789. data/node_modules/@babel/types/lib/validators/isNode.js +0 -12
  790. data/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
  791. data/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -57
  792. data/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
  793. data/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -19
  794. data/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
  795. data/node_modules/@babel/types/lib/validators/isReferenced.js +0 -96
  796. data/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
  797. data/node_modules/@babel/types/lib/validators/isScope.js +0 -18
  798. data/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
  799. data/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -14
  800. data/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
  801. data/node_modules/@babel/types/lib/validators/isType.js +0 -22
  802. data/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
  803. data/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -13
  804. data/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
  805. data/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -18
  806. data/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
  807. data/node_modules/@babel/types/lib/validators/isVar.js +0 -15
  808. data/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
  809. data/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -36
  810. data/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
  811. data/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -11
  812. data/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
  813. data/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -11
  814. data/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
  815. data/node_modules/@babel/types/lib/validators/validate.js +0 -30
  816. data/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
  817. data/node_modules/@babel/types/package.json +0 -40
  818. data/node_modules/@codemod/core/LICENSE.txt +0 -202
  819. data/node_modules/@codemod/core/README.md +0 -41
  820. data/node_modules/@codemod/core/build/AllSyntaxPlugin.d.ts +0 -3
  821. data/node_modules/@codemod/core/build/AllSyntaxPlugin.js +0 -20
  822. data/node_modules/@codemod/core/build/AllSyntaxPlugin.js.map +0 -1
  823. data/node_modules/@codemod/core/build/BabelPluginTypes.d.ts +0 -17
  824. data/node_modules/@codemod/core/build/BabelPluginTypes.js +0 -3
  825. data/node_modules/@codemod/core/build/BabelPluginTypes.js.map +0 -1
  826. data/node_modules/@codemod/core/build/RecastPlugin.d.ts +0 -9
  827. data/node_modules/@codemod/core/build/RecastPlugin.js +0 -26
  828. data/node_modules/@codemod/core/build/RecastPlugin.js.map +0 -1
  829. data/node_modules/@codemod/core/build/index.d.ts +0 -1
  830. data/node_modules/@codemod/core/build/index.js +0 -14
  831. data/node_modules/@codemod/core/build/index.js.map +0 -1
  832. data/node_modules/@codemod/core/build/transform.d.ts +0 -7
  833. data/node_modules/@codemod/core/build/transform.js +0 -22
  834. data/node_modules/@codemod/core/build/transform.js.map +0 -1
  835. data/node_modules/@codemod/core/node_modules/.bin/is-ci +0 -1
  836. data/node_modules/@codemod/core/node_modules/.bin/is-ci-cli +0 -1
  837. data/node_modules/@codemod/core/node_modules/.bin/resolve +0 -1
  838. data/node_modules/@codemod/core/package.json +0 -45
  839. data/node_modules/@codemod/parser/LICENSE.txt +0 -202
  840. data/node_modules/@codemod/parser/README.md +0 -33
  841. data/node_modules/@codemod/parser/build/index.d.ts +0 -8
  842. data/node_modules/@codemod/parser/build/index.js +0 -16
  843. data/node_modules/@codemod/parser/build/index.js.map +0 -1
  844. data/node_modules/@codemod/parser/build/options.d.ts +0 -20
  845. data/node_modules/@codemod/parser/build/options.js +0 -180
  846. data/node_modules/@codemod/parser/build/options.js.map +0 -1
  847. data/node_modules/@codemod/parser/node_modules/.bin/parser +0 -1
  848. data/node_modules/@codemod/parser/package.json +0 -38
  849. data/node_modules/@jridgewell/gen-mapping/LICENSE +0 -19
  850. data/node_modules/@jridgewell/gen-mapping/README.md +0 -227
  851. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +0 -230
  852. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +0 -1
  853. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +0 -246
  854. data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +0 -1
  855. data/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +0 -88
  856. data/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +0 -12
  857. data/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +0 -36
  858. data/node_modules/@jridgewell/gen-mapping/package.json +0 -76
  859. data/node_modules/@jridgewell/resolve-uri/LICENSE +0 -19
  860. data/node_modules/@jridgewell/resolve-uri/README.md +0 -40
  861. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs +0 -232
  862. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +0 -1
  863. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +0 -240
  864. data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +0 -1
  865. data/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +0 -4
  866. data/node_modules/@jridgewell/resolve-uri/package.json +0 -69
  867. data/node_modules/@jridgewell/set-array/LICENSE +0 -19
  868. data/node_modules/@jridgewell/set-array/README.md +0 -37
  869. data/node_modules/@jridgewell/set-array/dist/set-array.mjs +0 -69
  870. data/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +0 -1
  871. data/node_modules/@jridgewell/set-array/dist/set-array.umd.js +0 -83
  872. data/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +0 -1
  873. data/node_modules/@jridgewell/set-array/dist/types/set-array.d.ts +0 -32
  874. data/node_modules/@jridgewell/set-array/package.json +0 -65
  875. data/node_modules/@jridgewell/sourcemap-codec/LICENSE +0 -21
  876. data/node_modules/@jridgewell/sourcemap-codec/README.md +0 -200
  877. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +0 -164
  878. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +0 -1
  879. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +0 -175
  880. data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +0 -1
  881. data/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +0 -6
  882. data/node_modules/@jridgewell/sourcemap-codec/package.json +0 -74
  883. data/node_modules/@jridgewell/trace-mapping/LICENSE +0 -19
  884. data/node_modules/@jridgewell/trace-mapping/README.md +0 -257
  885. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +0 -580
  886. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +0 -1
  887. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +0 -600
  888. data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +0 -1
  889. data/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +0 -8
  890. data/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +0 -32
  891. data/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +0 -7
  892. data/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +0 -1
  893. data/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +0 -2
  894. data/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +0 -16
  895. data/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +0 -4
  896. data/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +0 -79
  897. data/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +0 -99
  898. data/node_modules/@jridgewell/trace-mapping/package.json +0 -77
  899. data/node_modules/@resugar/codemod-declarations-block-scope/LICENSE +0 -7
  900. data/node_modules/@resugar/codemod-declarations-block-scope/package.json +0 -28
  901. data/node_modules/@resugar/codemod-declarations-block-scope/src/index.d.ts +0 -8
  902. data/node_modules/@resugar/codemod-declarations-block-scope/src/index.js +0 -45
  903. data/node_modules/@resugar/codemod-declarations-block-scope/src/index.js.map +0 -1
  904. data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.d.ts +0 -10
  905. data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.js +0 -136
  906. data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.js.map +0 -1
  907. data/node_modules/@resugar/codemod-functions-arrow/LICENSE +0 -7
  908. data/node_modules/@resugar/codemod-functions-arrow/package.json +0 -32
  909. data/node_modules/@resugar/codemod-functions-arrow/src/index.d.ts +0 -2
  910. data/node_modules/@resugar/codemod-functions-arrow/src/index.js +0 -138
  911. data/node_modules/@resugar/codemod-functions-arrow/src/index.js.map +0 -1
  912. data/node_modules/@resugar/codemod-modules-commonjs/LICENSE +0 -7
  913. data/node_modules/@resugar/codemod-modules-commonjs/package.json +0 -33
  914. data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.d.ts +0 -28
  915. data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.js +0 -88
  916. data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.js.map +0 -1
  917. data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.d.ts +0 -8
  918. data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.js +0 -80
  919. data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.js.map +0 -1
  920. data/node_modules/@resugar/codemod-modules-commonjs/src/index.d.ts +0 -8
  921. data/node_modules/@resugar/codemod-modules-commonjs/src/index.js +0 -644
  922. data/node_modules/@resugar/codemod-modules-commonjs/src/index.js.map +0 -1
  923. data/node_modules/@resugar/codemod-objects-concise/LICENSE +0 -7
  924. data/node_modules/@resugar/codemod-objects-concise/package.json +0 -28
  925. data/node_modules/@resugar/codemod-objects-concise/src/index.d.ts +0 -2
  926. data/node_modules/@resugar/codemod-objects-concise/src/index.js +0 -26
  927. data/node_modules/@resugar/codemod-objects-concise/src/index.js.map +0 -1
  928. data/node_modules/@resugar/codemod-objects-destructuring/LICENSE +0 -7
  929. data/node_modules/@resugar/codemod-objects-destructuring/package.json +0 -29
  930. data/node_modules/@resugar/codemod-objects-destructuring/src/index.d.ts +0 -2
  931. data/node_modules/@resugar/codemod-objects-destructuring/src/index.js +0 -103
  932. data/node_modules/@resugar/codemod-objects-destructuring/src/index.js.map +0 -1
  933. data/node_modules/@resugar/codemod-objects-shorthand/LICENSE +0 -7
  934. data/node_modules/@resugar/codemod-objects-shorthand/package.json +0 -32
  935. data/node_modules/@resugar/codemod-objects-shorthand/src/index.d.ts +0 -2
  936. data/node_modules/@resugar/codemod-objects-shorthand/src/index.js +0 -26
  937. data/node_modules/@resugar/codemod-objects-shorthand/src/index.js.map +0 -1
  938. data/node_modules/@resugar/codemod-strings-template/LICENSE +0 -7
  939. data/node_modules/@resugar/codemod-strings-template/package.json +0 -30
  940. data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.d.ts +0 -5
  941. data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.js +0 -40
  942. data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.js.map +0 -1
  943. data/node_modules/@resugar/codemod-strings-template/src/index.d.ts +0 -2
  944. data/node_modules/@resugar/codemod-strings-template/src/index.js +0 -134
  945. data/node_modules/@resugar/codemod-strings-template/src/index.js.map +0 -1
  946. data/node_modules/@resugar/helper-comments/LICENSE +0 -7
  947. data/node_modules/@resugar/helper-comments/package.json +0 -25
  948. data/node_modules/@resugar/helper-comments/src/index.d.ts +0 -16
  949. data/node_modules/@resugar/helper-comments/src/index.js +0 -68
  950. data/node_modules/@resugar/helper-comments/src/index.js.map +0 -1
  951. data/node_modules/add-variable-declarations/LICENSE +0 -7
  952. data/node_modules/add-variable-declarations/README.md +0 -66
  953. data/node_modules/add-variable-declarations/dist/index.d.ts +0 -13
  954. data/node_modules/add-variable-declarations/dist/index.js +0 -498
  955. data/node_modules/add-variable-declarations/dist/index.mjs +0 -463
  956. data/node_modules/add-variable-declarations/package.json +0 -62
  957. data/node_modules/ansi-styles/index.js +0 -165
  958. data/node_modules/ansi-styles/license +0 -9
  959. data/node_modules/ansi-styles/package.json +0 -56
  960. data/node_modules/ansi-styles/readme.md +0 -147
  961. data/node_modules/any-promise/.jshintrc +0 -4
  962. data/node_modules/any-promise/.npmignore +0 -7
  963. data/node_modules/any-promise/LICENSE +0 -19
  964. data/node_modules/any-promise/README.md +0 -161
  965. data/node_modules/any-promise/implementation.d.ts +0 -3
  966. data/node_modules/any-promise/implementation.js +0 -1
  967. data/node_modules/any-promise/index.d.ts +0 -73
  968. data/node_modules/any-promise/index.js +0 -1
  969. data/node_modules/any-promise/loader.js +0 -78
  970. data/node_modules/any-promise/optional.js +0 -6
  971. data/node_modules/any-promise/package.json +0 -45
  972. data/node_modules/any-promise/register/bluebird.d.ts +0 -1
  973. data/node_modules/any-promise/register/bluebird.js +0 -2
  974. data/node_modules/any-promise/register/es6-promise.d.ts +0 -1
  975. data/node_modules/any-promise/register/es6-promise.js +0 -2
  976. data/node_modules/any-promise/register/lie.d.ts +0 -1
  977. data/node_modules/any-promise/register/lie.js +0 -2
  978. data/node_modules/any-promise/register/native-promise-only.d.ts +0 -1
  979. data/node_modules/any-promise/register/native-promise-only.js +0 -2
  980. data/node_modules/any-promise/register/pinkie.d.ts +0 -1
  981. data/node_modules/any-promise/register/pinkie.js +0 -2
  982. data/node_modules/any-promise/register/promise.d.ts +0 -1
  983. data/node_modules/any-promise/register/promise.js +0 -2
  984. data/node_modules/any-promise/register/q.d.ts +0 -1
  985. data/node_modules/any-promise/register/q.js +0 -2
  986. data/node_modules/any-promise/register/rsvp.d.ts +0 -1
  987. data/node_modules/any-promise/register/rsvp.js +0 -2
  988. data/node_modules/any-promise/register/vow.d.ts +0 -1
  989. data/node_modules/any-promise/register/vow.js +0 -2
  990. data/node_modules/any-promise/register/when.d.ts +0 -1
  991. data/node_modules/any-promise/register/when.js +0 -2
  992. data/node_modules/any-promise/register-shim.js +0 -18
  993. data/node_modules/any-promise/register.d.ts +0 -17
  994. data/node_modules/any-promise/register.js +0 -94
  995. data/node_modules/ast-types/.travis.yml +0 -11
  996. data/node_modules/ast-types/LICENSE +0 -20
  997. data/node_modules/ast-types/README.md +0 -512
  998. data/node_modules/ast-types/def/babel-core.d.ts +0 -2
  999. data/node_modules/ast-types/def/babel-core.js +0 -258
  1000. data/node_modules/ast-types/def/babel.d.ts +0 -2
  1001. data/node_modules/ast-types/def/babel.js +0 -13
  1002. data/node_modules/ast-types/def/core.d.ts +0 -2
  1003. data/node_modules/ast-types/def/core.js +0 -300
  1004. data/node_modules/ast-types/def/es-proposals.d.ts +0 -2
  1005. data/node_modules/ast-types/def/es-proposals.js +0 -35
  1006. data/node_modules/ast-types/def/es2020.d.ts +0 -2
  1007. data/node_modules/ast-types/def/es2020.js +0 -18
  1008. data/node_modules/ast-types/def/es6.d.ts +0 -2
  1009. data/node_modules/ast-types/def/es6.js +0 -212
  1010. data/node_modules/ast-types/def/es7.d.ts +0 -2
  1011. data/node_modules/ast-types/def/es7.js +0 -36
  1012. data/node_modules/ast-types/def/esNext.d.ts +0 -2
  1013. data/node_modules/ast-types/def/esNext.js +0 -57
  1014. data/node_modules/ast-types/def/esprima.d.ts +0 -2
  1015. data/node_modules/ast-types/def/esprima.js +0 -51
  1016. data/node_modules/ast-types/def/flow.d.ts +0 -2
  1017. data/node_modules/ast-types/def/flow.js +0 -294
  1018. data/node_modules/ast-types/def/jsx.d.ts +0 -2
  1019. data/node_modules/ast-types/def/jsx.js +0 -105
  1020. data/node_modules/ast-types/def/type-annotations.d.ts +0 -7
  1021. data/node_modules/ast-types/def/type-annotations.js +0 -42
  1022. data/node_modules/ast-types/def/typescript.d.ts +0 -2
  1023. data/node_modules/ast-types/def/typescript.js +0 -339
  1024. data/node_modules/ast-types/fork.d.ts +0 -42
  1025. data/node_modules/ast-types/fork.js +0 -54
  1026. data/node_modules/ast-types/gen/builders.d.ts +0 -2572
  1027. data/node_modules/ast-types/gen/builders.js +0 -2
  1028. data/node_modules/ast-types/gen/kinds.d.ts +0 -263
  1029. data/node_modules/ast-types/gen/kinds.js +0 -2
  1030. data/node_modules/ast-types/gen/namedTypes.d.ts +0 -1800
  1031. data/node_modules/ast-types/gen/namedTypes.js +0 -5
  1032. data/node_modules/ast-types/gen/nodes.d.ts +0 -1265
  1033. data/node_modules/ast-types/gen/nodes.js +0 -2
  1034. data/node_modules/ast-types/gen/visitor.d.ts +0 -267
  1035. data/node_modules/ast-types/gen/visitor.js +0 -2
  1036. data/node_modules/ast-types/lib/equiv.d.ts +0 -5
  1037. data/node_modules/ast-types/lib/equiv.js +0 -156
  1038. data/node_modules/ast-types/lib/node-path.d.ts +0 -22
  1039. data/node_modules/ast-types/lib/node-path.js +0 -413
  1040. data/node_modules/ast-types/lib/path-visitor.d.ts +0 -52
  1041. data/node_modules/ast-types/lib/path-visitor.js +0 -345
  1042. data/node_modules/ast-types/lib/path.d.ts +0 -25
  1043. data/node_modules/ast-types/lib/path.js +0 -333
  1044. data/node_modules/ast-types/lib/scope.d.ts +0 -26
  1045. data/node_modules/ast-types/lib/scope.js +0 -317
  1046. data/node_modules/ast-types/lib/shared.d.ts +0 -13
  1047. data/node_modules/ast-types/lib/shared.js +0 -49
  1048. data/node_modules/ast-types/lib/types.d.ts +0 -136
  1049. data/node_modules/ast-types/lib/types.js +0 -781
  1050. data/node_modules/ast-types/main.d.ts +0 -28
  1051. data/node_modules/ast-types/main.js +0 -54
  1052. data/node_modules/ast-types/package.json +0 -63
  1053. data/node_modules/ast-types/tsconfig.json +0 -20
  1054. data/node_modules/ast-types/types.d.ts +0 -6
  1055. data/node_modules/ast-types/types.js +0 -2
  1056. data/node_modules/automatic-semicolon-insertion/LICENSE +0 -7
  1057. data/node_modules/automatic-semicolon-insertion/README.md +0 -26
  1058. data/node_modules/automatic-semicolon-insertion/build/index.cjs +0 -216
  1059. data/node_modules/automatic-semicolon-insertion/build/index.d.ts +0 -38
  1060. data/node_modules/automatic-semicolon-insertion/build/index.mjs +0 -192
  1061. data/node_modules/automatic-semicolon-insertion/build/traverse.d.ts +0 -17
  1062. data/node_modules/automatic-semicolon-insertion/package.json +0 -58
  1063. data/node_modules/browserslist/LICENSE +0 -20
  1064. data/node_modules/browserslist/README.md +0 -67
  1065. data/node_modules/browserslist/browser.js +0 -52
  1066. data/node_modules/browserslist/cli.js +0 -156
  1067. data/node_modules/browserslist/error.d.ts +0 -7
  1068. data/node_modules/browserslist/error.js +0 -12
  1069. data/node_modules/browserslist/index.d.ts +0 -201
  1070. data/node_modules/browserslist/index.js +0 -1206
  1071. data/node_modules/browserslist/node.js +0 -420
  1072. data/node_modules/browserslist/node_modules/.bin/update-browserslist-db +0 -1
  1073. data/node_modules/browserslist/package.json +0 -44
  1074. data/node_modules/browserslist/parse.js +0 -78
  1075. data/node_modules/caniuse-lite/LICENSE +0 -395
  1076. data/node_modules/caniuse-lite/README.md +0 -6
  1077. data/node_modules/caniuse-lite/data/agents.js +0 -1
  1078. data/node_modules/caniuse-lite/data/browserVersions.js +0 -1
  1079. data/node_modules/caniuse-lite/data/browsers.js +0 -1
  1080. data/node_modules/caniuse-lite/data/features/aac.js +0 -1
  1081. data/node_modules/caniuse-lite/data/features/abortcontroller.js +0 -1
  1082. data/node_modules/caniuse-lite/data/features/ac3-ec3.js +0 -1
  1083. data/node_modules/caniuse-lite/data/features/accelerometer.js +0 -1
  1084. data/node_modules/caniuse-lite/data/features/addeventlistener.js +0 -1
  1085. data/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +0 -1
  1086. data/node_modules/caniuse-lite/data/features/ambient-light.js +0 -1
  1087. data/node_modules/caniuse-lite/data/features/apng.js +0 -1
  1088. data/node_modules/caniuse-lite/data/features/array-find-index.js +0 -1
  1089. data/node_modules/caniuse-lite/data/features/array-find.js +0 -1
  1090. data/node_modules/caniuse-lite/data/features/array-flat.js +0 -1
  1091. data/node_modules/caniuse-lite/data/features/array-includes.js +0 -1
  1092. data/node_modules/caniuse-lite/data/features/arrow-functions.js +0 -1
  1093. data/node_modules/caniuse-lite/data/features/asmjs.js +0 -1
  1094. data/node_modules/caniuse-lite/data/features/async-clipboard.js +0 -1
  1095. data/node_modules/caniuse-lite/data/features/async-functions.js +0 -1
  1096. data/node_modules/caniuse-lite/data/features/atob-btoa.js +0 -1
  1097. data/node_modules/caniuse-lite/data/features/audio-api.js +0 -1
  1098. data/node_modules/caniuse-lite/data/features/audio.js +0 -1
  1099. data/node_modules/caniuse-lite/data/features/audiotracks.js +0 -1
  1100. data/node_modules/caniuse-lite/data/features/autofocus.js +0 -1
  1101. data/node_modules/caniuse-lite/data/features/auxclick.js +0 -1
  1102. data/node_modules/caniuse-lite/data/features/av1.js +0 -1
  1103. data/node_modules/caniuse-lite/data/features/avif.js +0 -1
  1104. data/node_modules/caniuse-lite/data/features/background-attachment.js +0 -1
  1105. data/node_modules/caniuse-lite/data/features/background-clip-text.js +0 -1
  1106. data/node_modules/caniuse-lite/data/features/background-img-opts.js +0 -1
  1107. data/node_modules/caniuse-lite/data/features/background-position-x-y.js +0 -1
  1108. data/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +0 -1
  1109. data/node_modules/caniuse-lite/data/features/background-sync.js +0 -1
  1110. data/node_modules/caniuse-lite/data/features/battery-status.js +0 -1
  1111. data/node_modules/caniuse-lite/data/features/beacon.js +0 -1
  1112. data/node_modules/caniuse-lite/data/features/beforeafterprint.js +0 -1
  1113. data/node_modules/caniuse-lite/data/features/bigint.js +0 -1
  1114. data/node_modules/caniuse-lite/data/features/blobbuilder.js +0 -1
  1115. data/node_modules/caniuse-lite/data/features/bloburls.js +0 -1
  1116. data/node_modules/caniuse-lite/data/features/border-image.js +0 -1
  1117. data/node_modules/caniuse-lite/data/features/border-radius.js +0 -1
  1118. data/node_modules/caniuse-lite/data/features/broadcastchannel.js +0 -1
  1119. data/node_modules/caniuse-lite/data/features/brotli.js +0 -1
  1120. data/node_modules/caniuse-lite/data/features/calc.js +0 -1
  1121. data/node_modules/caniuse-lite/data/features/canvas-blending.js +0 -1
  1122. data/node_modules/caniuse-lite/data/features/canvas-text.js +0 -1
  1123. data/node_modules/caniuse-lite/data/features/canvas.js +0 -1
  1124. data/node_modules/caniuse-lite/data/features/ch-unit.js +0 -1
  1125. data/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +0 -1
  1126. data/node_modules/caniuse-lite/data/features/channel-messaging.js +0 -1
  1127. data/node_modules/caniuse-lite/data/features/childnode-remove.js +0 -1
  1128. data/node_modules/caniuse-lite/data/features/classlist.js +0 -1
  1129. data/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +0 -1
  1130. data/node_modules/caniuse-lite/data/features/clipboard.js +0 -1
  1131. data/node_modules/caniuse-lite/data/features/colr-v1.js +0 -1
  1132. data/node_modules/caniuse-lite/data/features/colr.js +0 -1
  1133. data/node_modules/caniuse-lite/data/features/comparedocumentposition.js +0 -1
  1134. data/node_modules/caniuse-lite/data/features/console-basic.js +0 -1
  1135. data/node_modules/caniuse-lite/data/features/console-time.js +0 -1
  1136. data/node_modules/caniuse-lite/data/features/const.js +0 -1
  1137. data/node_modules/caniuse-lite/data/features/constraint-validation.js +0 -1
  1138. data/node_modules/caniuse-lite/data/features/contenteditable.js +0 -1
  1139. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +0 -1
  1140. data/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +0 -1
  1141. data/node_modules/caniuse-lite/data/features/cookie-store-api.js +0 -1
  1142. data/node_modules/caniuse-lite/data/features/cors.js +0 -1
  1143. data/node_modules/caniuse-lite/data/features/createimagebitmap.js +0 -1
  1144. data/node_modules/caniuse-lite/data/features/credential-management.js +0 -1
  1145. data/node_modules/caniuse-lite/data/features/cryptography.js +0 -1
  1146. data/node_modules/caniuse-lite/data/features/css-all.js +0 -1
  1147. data/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +0 -1
  1148. data/node_modules/caniuse-lite/data/features/css-animation.js +0 -1
  1149. data/node_modules/caniuse-lite/data/features/css-any-link.js +0 -1
  1150. data/node_modules/caniuse-lite/data/features/css-appearance.js +0 -1
  1151. data/node_modules/caniuse-lite/data/features/css-at-counter-style.js +0 -1
  1152. data/node_modules/caniuse-lite/data/features/css-autofill.js +0 -1
  1153. data/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +0 -1
  1154. data/node_modules/caniuse-lite/data/features/css-background-offsets.js +0 -1
  1155. data/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +0 -1
  1156. data/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +0 -1
  1157. data/node_modules/caniuse-lite/data/features/css-boxshadow.js +0 -1
  1158. data/node_modules/caniuse-lite/data/features/css-canvas.js +0 -1
  1159. data/node_modules/caniuse-lite/data/features/css-caret-color.js +0 -1
  1160. data/node_modules/caniuse-lite/data/features/css-cascade-layers.js +0 -1
  1161. data/node_modules/caniuse-lite/data/features/css-cascade-scope.js +0 -1
  1162. data/node_modules/caniuse-lite/data/features/css-case-insensitive.js +0 -1
  1163. data/node_modules/caniuse-lite/data/features/css-clip-path.js +0 -1
  1164. data/node_modules/caniuse-lite/data/features/css-color-adjust.js +0 -1
  1165. data/node_modules/caniuse-lite/data/features/css-color-function.js +0 -1
  1166. data/node_modules/caniuse-lite/data/features/css-conic-gradients.js +0 -1
  1167. data/node_modules/caniuse-lite/data/features/css-container-queries-style.js +0 -1
  1168. data/node_modules/caniuse-lite/data/features/css-container-queries.js +0 -1
  1169. data/node_modules/caniuse-lite/data/features/css-container-query-units.js +0 -1
  1170. data/node_modules/caniuse-lite/data/features/css-containment.js +0 -1
  1171. data/node_modules/caniuse-lite/data/features/css-content-visibility.js +0 -1
  1172. data/node_modules/caniuse-lite/data/features/css-counters.js +0 -1
  1173. data/node_modules/caniuse-lite/data/features/css-crisp-edges.js +0 -1
  1174. data/node_modules/caniuse-lite/data/features/css-cross-fade.js +0 -1
  1175. data/node_modules/caniuse-lite/data/features/css-default-pseudo.js +0 -1
  1176. data/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +0 -1
  1177. data/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +0 -1
  1178. data/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +0 -1
  1179. data/node_modules/caniuse-lite/data/features/css-display-contents.js +0 -1
  1180. data/node_modules/caniuse-lite/data/features/css-element-function.js +0 -1
  1181. data/node_modules/caniuse-lite/data/features/css-env-function.js +0 -1
  1182. data/node_modules/caniuse-lite/data/features/css-exclusions.js +0 -1
  1183. data/node_modules/caniuse-lite/data/features/css-featurequeries.js +0 -1
  1184. data/node_modules/caniuse-lite/data/features/css-file-selector-button.js +0 -1
  1185. data/node_modules/caniuse-lite/data/features/css-filter-function.js +0 -1
  1186. data/node_modules/caniuse-lite/data/features/css-filters.js +0 -1
  1187. data/node_modules/caniuse-lite/data/features/css-first-letter.js +0 -1
  1188. data/node_modules/caniuse-lite/data/features/css-first-line.js +0 -1
  1189. data/node_modules/caniuse-lite/data/features/css-fixed.js +0 -1
  1190. data/node_modules/caniuse-lite/data/features/css-focus-visible.js +0 -1
  1191. data/node_modules/caniuse-lite/data/features/css-focus-within.js +0 -1
  1192. data/node_modules/caniuse-lite/data/features/css-font-palette.js +0 -1
  1193. data/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +0 -1
  1194. data/node_modules/caniuse-lite/data/features/css-font-stretch.js +0 -1
  1195. data/node_modules/caniuse-lite/data/features/css-gencontent.js +0 -1
  1196. data/node_modules/caniuse-lite/data/features/css-gradients.js +0 -1
  1197. data/node_modules/caniuse-lite/data/features/css-grid-animation.js +0 -1
  1198. data/node_modules/caniuse-lite/data/features/css-grid.js +0 -1
  1199. data/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +0 -1
  1200. data/node_modules/caniuse-lite/data/features/css-has.js +0 -1
  1201. data/node_modules/caniuse-lite/data/features/css-hyphens.js +0 -1
  1202. data/node_modules/caniuse-lite/data/features/css-image-orientation.js +0 -1
  1203. data/node_modules/caniuse-lite/data/features/css-image-set.js +0 -1
  1204. data/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +0 -1
  1205. data/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +0 -1
  1206. data/node_modules/caniuse-lite/data/features/css-initial-letter.js +0 -1
  1207. data/node_modules/caniuse-lite/data/features/css-initial-value.js +0 -1
  1208. data/node_modules/caniuse-lite/data/features/css-lch-lab.js +0 -1
  1209. data/node_modules/caniuse-lite/data/features/css-letter-spacing.js +0 -1
  1210. data/node_modules/caniuse-lite/data/features/css-line-clamp.js +0 -1
  1211. data/node_modules/caniuse-lite/data/features/css-logical-props.js +0 -1
  1212. data/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +0 -1
  1213. data/node_modules/caniuse-lite/data/features/css-masks.js +0 -1
  1214. data/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +0 -1
  1215. data/node_modules/caniuse-lite/data/features/css-math-functions.js +0 -1
  1216. data/node_modules/caniuse-lite/data/features/css-media-interaction.js +0 -1
  1217. data/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +0 -1
  1218. data/node_modules/caniuse-lite/data/features/css-media-resolution.js +0 -1
  1219. data/node_modules/caniuse-lite/data/features/css-media-scripting.js +0 -1
  1220. data/node_modules/caniuse-lite/data/features/css-mediaqueries.js +0 -1
  1221. data/node_modules/caniuse-lite/data/features/css-mixblendmode.js +0 -1
  1222. data/node_modules/caniuse-lite/data/features/css-module-scripts.js +0 -1
  1223. data/node_modules/caniuse-lite/data/features/css-motion-paths.js +0 -1
  1224. data/node_modules/caniuse-lite/data/features/css-namespaces.js +0 -1
  1225. data/node_modules/caniuse-lite/data/features/css-nesting.js +0 -1
  1226. data/node_modules/caniuse-lite/data/features/css-not-sel-list.js +0 -1
  1227. data/node_modules/caniuse-lite/data/features/css-nth-child-of.js +0 -1
  1228. data/node_modules/caniuse-lite/data/features/css-opacity.js +0 -1
  1229. data/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +0 -1
  1230. data/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +0 -1
  1231. data/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +0 -1
  1232. data/node_modules/caniuse-lite/data/features/css-overflow.js +0 -1
  1233. data/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +0 -1
  1234. data/node_modules/caniuse-lite/data/features/css-page-break.js +0 -1
  1235. data/node_modules/caniuse-lite/data/features/css-paged-media.js +0 -1
  1236. data/node_modules/caniuse-lite/data/features/css-paint-api.js +0 -1
  1237. data/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +0 -1
  1238. data/node_modules/caniuse-lite/data/features/css-placeholder.js +0 -1
  1239. data/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +0 -1
  1240. data/node_modules/caniuse-lite/data/features/css-read-only-write.js +0 -1
  1241. data/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +0 -1
  1242. data/node_modules/caniuse-lite/data/features/css-reflections.js +0 -1
  1243. data/node_modules/caniuse-lite/data/features/css-regions.js +0 -1
  1244. data/node_modules/caniuse-lite/data/features/css-relative-colors.js +0 -1
  1245. data/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +0 -1
  1246. data/node_modules/caniuse-lite/data/features/css-resize.js +0 -1
  1247. data/node_modules/caniuse-lite/data/features/css-revert-value.js +0 -1
  1248. data/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +0 -1
  1249. data/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +0 -1
  1250. data/node_modules/caniuse-lite/data/features/css-scroll-timeline.js +0 -1
  1251. data/node_modules/caniuse-lite/data/features/css-scrollbar.js +0 -1
  1252. data/node_modules/caniuse-lite/data/features/css-sel2.js +0 -1
  1253. data/node_modules/caniuse-lite/data/features/css-sel3.js +0 -1
  1254. data/node_modules/caniuse-lite/data/features/css-selection.js +0 -1
  1255. data/node_modules/caniuse-lite/data/features/css-shapes.js +0 -1
  1256. data/node_modules/caniuse-lite/data/features/css-snappoints.js +0 -1
  1257. data/node_modules/caniuse-lite/data/features/css-sticky.js +0 -1
  1258. data/node_modules/caniuse-lite/data/features/css-subgrid.js +0 -1
  1259. data/node_modules/caniuse-lite/data/features/css-supports-api.js +0 -1
  1260. data/node_modules/caniuse-lite/data/features/css-table.js +0 -1
  1261. data/node_modules/caniuse-lite/data/features/css-text-align-last.js +0 -1
  1262. data/node_modules/caniuse-lite/data/features/css-text-box-trim.js +0 -1
  1263. data/node_modules/caniuse-lite/data/features/css-text-indent.js +0 -1
  1264. data/node_modules/caniuse-lite/data/features/css-text-justify.js +0 -1
  1265. data/node_modules/caniuse-lite/data/features/css-text-orientation.js +0 -1
  1266. data/node_modules/caniuse-lite/data/features/css-text-spacing.js +0 -1
  1267. data/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +0 -1
  1268. data/node_modules/caniuse-lite/data/features/css-textshadow.js +0 -1
  1269. data/node_modules/caniuse-lite/data/features/css-touch-action.js +0 -1
  1270. data/node_modules/caniuse-lite/data/features/css-transitions.js +0 -1
  1271. data/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +0 -1
  1272. data/node_modules/caniuse-lite/data/features/css-unset-value.js +0 -1
  1273. data/node_modules/caniuse-lite/data/features/css-variables.js +0 -1
  1274. data/node_modules/caniuse-lite/data/features/css-when-else.js +0 -1
  1275. data/node_modules/caniuse-lite/data/features/css-widows-orphans.js +0 -1
  1276. data/node_modules/caniuse-lite/data/features/css-width-stretch.js +0 -1
  1277. data/node_modules/caniuse-lite/data/features/css-writing-mode.js +0 -1
  1278. data/node_modules/caniuse-lite/data/features/css-zoom.js +0 -1
  1279. data/node_modules/caniuse-lite/data/features/css3-attr.js +0 -1
  1280. data/node_modules/caniuse-lite/data/features/css3-boxsizing.js +0 -1
  1281. data/node_modules/caniuse-lite/data/features/css3-colors.js +0 -1
  1282. data/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +0 -1
  1283. data/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +0 -1
  1284. data/node_modules/caniuse-lite/data/features/css3-cursors.js +0 -1
  1285. data/node_modules/caniuse-lite/data/features/css3-tabsize.js +0 -1
  1286. data/node_modules/caniuse-lite/data/features/currentcolor.js +0 -1
  1287. data/node_modules/caniuse-lite/data/features/custom-elements.js +0 -1
  1288. data/node_modules/caniuse-lite/data/features/custom-elementsv1.js +0 -1
  1289. data/node_modules/caniuse-lite/data/features/customevent.js +0 -1
  1290. data/node_modules/caniuse-lite/data/features/datalist.js +0 -1
  1291. data/node_modules/caniuse-lite/data/features/dataset.js +0 -1
  1292. data/node_modules/caniuse-lite/data/features/datauri.js +0 -1
  1293. data/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +0 -1
  1294. data/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +0 -1
  1295. data/node_modules/caniuse-lite/data/features/decorators.js +0 -1
  1296. data/node_modules/caniuse-lite/data/features/details.js +0 -1
  1297. data/node_modules/caniuse-lite/data/features/deviceorientation.js +0 -1
  1298. data/node_modules/caniuse-lite/data/features/devicepixelratio.js +0 -1
  1299. data/node_modules/caniuse-lite/data/features/dialog.js +0 -1
  1300. data/node_modules/caniuse-lite/data/features/dispatchevent.js +0 -1
  1301. data/node_modules/caniuse-lite/data/features/dnssec.js +0 -1
  1302. data/node_modules/caniuse-lite/data/features/do-not-track.js +0 -1
  1303. data/node_modules/caniuse-lite/data/features/document-currentscript.js +0 -1
  1304. data/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +0 -1
  1305. data/node_modules/caniuse-lite/data/features/document-execcommand.js +0 -1
  1306. data/node_modules/caniuse-lite/data/features/document-policy.js +0 -1
  1307. data/node_modules/caniuse-lite/data/features/document-scrollingelement.js +0 -1
  1308. data/node_modules/caniuse-lite/data/features/documenthead.js +0 -1
  1309. data/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +0 -1
  1310. data/node_modules/caniuse-lite/data/features/dom-range.js +0 -1
  1311. data/node_modules/caniuse-lite/data/features/domcontentloaded.js +0 -1
  1312. data/node_modules/caniuse-lite/data/features/dommatrix.js +0 -1
  1313. data/node_modules/caniuse-lite/data/features/download.js +0 -1
  1314. data/node_modules/caniuse-lite/data/features/dragndrop.js +0 -1
  1315. data/node_modules/caniuse-lite/data/features/element-closest.js +0 -1
  1316. data/node_modules/caniuse-lite/data/features/element-from-point.js +0 -1
  1317. data/node_modules/caniuse-lite/data/features/element-scroll-methods.js +0 -1
  1318. data/node_modules/caniuse-lite/data/features/eme.js +0 -1
  1319. data/node_modules/caniuse-lite/data/features/eot.js +0 -1
  1320. data/node_modules/caniuse-lite/data/features/es5.js +0 -1
  1321. data/node_modules/caniuse-lite/data/features/es6-class.js +0 -1
  1322. data/node_modules/caniuse-lite/data/features/es6-generators.js +0 -1
  1323. data/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +0 -1
  1324. data/node_modules/caniuse-lite/data/features/es6-module.js +0 -1
  1325. data/node_modules/caniuse-lite/data/features/es6-number.js +0 -1
  1326. data/node_modules/caniuse-lite/data/features/es6-string-includes.js +0 -1
  1327. data/node_modules/caniuse-lite/data/features/es6.js +0 -1
  1328. data/node_modules/caniuse-lite/data/features/eventsource.js +0 -1
  1329. data/node_modules/caniuse-lite/data/features/extended-system-fonts.js +0 -1
  1330. data/node_modules/caniuse-lite/data/features/feature-policy.js +0 -1
  1331. data/node_modules/caniuse-lite/data/features/fetch.js +0 -1
  1332. data/node_modules/caniuse-lite/data/features/fieldset-disabled.js +0 -1
  1333. data/node_modules/caniuse-lite/data/features/fileapi.js +0 -1
  1334. data/node_modules/caniuse-lite/data/features/filereader.js +0 -1
  1335. data/node_modules/caniuse-lite/data/features/filereadersync.js +0 -1
  1336. data/node_modules/caniuse-lite/data/features/filesystem.js +0 -1
  1337. data/node_modules/caniuse-lite/data/features/flac.js +0 -1
  1338. data/node_modules/caniuse-lite/data/features/flexbox-gap.js +0 -1
  1339. data/node_modules/caniuse-lite/data/features/flexbox.js +0 -1
  1340. data/node_modules/caniuse-lite/data/features/flow-root.js +0 -1
  1341. data/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +0 -1
  1342. data/node_modules/caniuse-lite/data/features/font-family-system-ui.js +0 -1
  1343. data/node_modules/caniuse-lite/data/features/font-feature.js +0 -1
  1344. data/node_modules/caniuse-lite/data/features/font-kerning.js +0 -1
  1345. data/node_modules/caniuse-lite/data/features/font-loading.js +0 -1
  1346. data/node_modules/caniuse-lite/data/features/font-size-adjust.js +0 -1
  1347. data/node_modules/caniuse-lite/data/features/font-smooth.js +0 -1
  1348. data/node_modules/caniuse-lite/data/features/font-unicode-range.js +0 -1
  1349. data/node_modules/caniuse-lite/data/features/font-variant-alternates.js +0 -1
  1350. data/node_modules/caniuse-lite/data/features/font-variant-numeric.js +0 -1
  1351. data/node_modules/caniuse-lite/data/features/fontface.js +0 -1
  1352. data/node_modules/caniuse-lite/data/features/form-attribute.js +0 -1
  1353. data/node_modules/caniuse-lite/data/features/form-submit-attributes.js +0 -1
  1354. data/node_modules/caniuse-lite/data/features/form-validation.js +0 -1
  1355. data/node_modules/caniuse-lite/data/features/forms.js +0 -1
  1356. data/node_modules/caniuse-lite/data/features/fullscreen.js +0 -1
  1357. data/node_modules/caniuse-lite/data/features/gamepad.js +0 -1
  1358. data/node_modules/caniuse-lite/data/features/geolocation.js +0 -1
  1359. data/node_modules/caniuse-lite/data/features/getboundingclientrect.js +0 -1
  1360. data/node_modules/caniuse-lite/data/features/getcomputedstyle.js +0 -1
  1361. data/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +0 -1
  1362. data/node_modules/caniuse-lite/data/features/getrandomvalues.js +0 -1
  1363. data/node_modules/caniuse-lite/data/features/gyroscope.js +0 -1
  1364. data/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +0 -1
  1365. data/node_modules/caniuse-lite/data/features/hashchange.js +0 -1
  1366. data/node_modules/caniuse-lite/data/features/heif.js +0 -1
  1367. data/node_modules/caniuse-lite/data/features/hevc.js +0 -1
  1368. data/node_modules/caniuse-lite/data/features/hidden.js +0 -1
  1369. data/node_modules/caniuse-lite/data/features/high-resolution-time.js +0 -1
  1370. data/node_modules/caniuse-lite/data/features/history.js +0 -1
  1371. data/node_modules/caniuse-lite/data/features/html-media-capture.js +0 -1
  1372. data/node_modules/caniuse-lite/data/features/html5semantic.js +0 -1
  1373. data/node_modules/caniuse-lite/data/features/http-live-streaming.js +0 -1
  1374. data/node_modules/caniuse-lite/data/features/http2.js +0 -1
  1375. data/node_modules/caniuse-lite/data/features/http3.js +0 -1
  1376. data/node_modules/caniuse-lite/data/features/iframe-sandbox.js +0 -1
  1377. data/node_modules/caniuse-lite/data/features/iframe-seamless.js +0 -1
  1378. data/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +0 -1
  1379. data/node_modules/caniuse-lite/data/features/imagecapture.js +0 -1
  1380. data/node_modules/caniuse-lite/data/features/ime.js +0 -1
  1381. data/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +0 -1
  1382. data/node_modules/caniuse-lite/data/features/import-maps.js +0 -1
  1383. data/node_modules/caniuse-lite/data/features/imports.js +0 -1
  1384. data/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +0 -1
  1385. data/node_modules/caniuse-lite/data/features/indexeddb.js +0 -1
  1386. data/node_modules/caniuse-lite/data/features/indexeddb2.js +0 -1
  1387. data/node_modules/caniuse-lite/data/features/inline-block.js +0 -1
  1388. data/node_modules/caniuse-lite/data/features/innertext.js +0 -1
  1389. data/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +0 -1
  1390. data/node_modules/caniuse-lite/data/features/input-color.js +0 -1
  1391. data/node_modules/caniuse-lite/data/features/input-datetime.js +0 -1
  1392. data/node_modules/caniuse-lite/data/features/input-email-tel-url.js +0 -1
  1393. data/node_modules/caniuse-lite/data/features/input-event.js +0 -1
  1394. data/node_modules/caniuse-lite/data/features/input-file-accept.js +0 -1
  1395. data/node_modules/caniuse-lite/data/features/input-file-directory.js +0 -1
  1396. data/node_modules/caniuse-lite/data/features/input-file-multiple.js +0 -1
  1397. data/node_modules/caniuse-lite/data/features/input-inputmode.js +0 -1
  1398. data/node_modules/caniuse-lite/data/features/input-minlength.js +0 -1
  1399. data/node_modules/caniuse-lite/data/features/input-number.js +0 -1
  1400. data/node_modules/caniuse-lite/data/features/input-pattern.js +0 -1
  1401. data/node_modules/caniuse-lite/data/features/input-placeholder.js +0 -1
  1402. data/node_modules/caniuse-lite/data/features/input-range.js +0 -1
  1403. data/node_modules/caniuse-lite/data/features/input-search.js +0 -1
  1404. data/node_modules/caniuse-lite/data/features/input-selection.js +0 -1
  1405. data/node_modules/caniuse-lite/data/features/insert-adjacent.js +0 -1
  1406. data/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +0 -1
  1407. data/node_modules/caniuse-lite/data/features/internationalization.js +0 -1
  1408. data/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +0 -1
  1409. data/node_modules/caniuse-lite/data/features/intersectionobserver.js +0 -1
  1410. data/node_modules/caniuse-lite/data/features/intl-pluralrules.js +0 -1
  1411. data/node_modules/caniuse-lite/data/features/intrinsic-width.js +0 -1
  1412. data/node_modules/caniuse-lite/data/features/jpeg2000.js +0 -1
  1413. data/node_modules/caniuse-lite/data/features/jpegxl.js +0 -1
  1414. data/node_modules/caniuse-lite/data/features/jpegxr.js +0 -1
  1415. data/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +0 -1
  1416. data/node_modules/caniuse-lite/data/features/json.js +0 -1
  1417. data/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +0 -1
  1418. data/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +0 -1
  1419. data/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +0 -1
  1420. data/node_modules/caniuse-lite/data/features/keyboardevent-code.js +0 -1
  1421. data/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +0 -1
  1422. data/node_modules/caniuse-lite/data/features/keyboardevent-key.js +0 -1
  1423. data/node_modules/caniuse-lite/data/features/keyboardevent-location.js +0 -1
  1424. data/node_modules/caniuse-lite/data/features/keyboardevent-which.js +0 -1
  1425. data/node_modules/caniuse-lite/data/features/lazyload.js +0 -1
  1426. data/node_modules/caniuse-lite/data/features/let.js +0 -1
  1427. data/node_modules/caniuse-lite/data/features/link-icon-png.js +0 -1
  1428. data/node_modules/caniuse-lite/data/features/link-icon-svg.js +0 -1
  1429. data/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +0 -1
  1430. data/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +0 -1
  1431. data/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +0 -1
  1432. data/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +0 -1
  1433. data/node_modules/caniuse-lite/data/features/link-rel-preload.js +0 -1
  1434. data/node_modules/caniuse-lite/data/features/link-rel-prerender.js +0 -1
  1435. data/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +0 -1
  1436. data/node_modules/caniuse-lite/data/features/localecompare.js +0 -1
  1437. data/node_modules/caniuse-lite/data/features/magnetometer.js +0 -1
  1438. data/node_modules/caniuse-lite/data/features/matchesselector.js +0 -1
  1439. data/node_modules/caniuse-lite/data/features/matchmedia.js +0 -1
  1440. data/node_modules/caniuse-lite/data/features/mathml.js +0 -1
  1441. data/node_modules/caniuse-lite/data/features/maxlength.js +0 -1
  1442. data/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +0 -1
  1443. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +0 -1
  1444. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +0 -1
  1445. data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +0 -1
  1446. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +0 -1
  1447. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +0 -1
  1448. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +0 -1
  1449. data/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +0 -1
  1450. data/node_modules/caniuse-lite/data/features/media-fragments.js +0 -1
  1451. data/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +0 -1
  1452. data/node_modules/caniuse-lite/data/features/mediarecorder.js +0 -1
  1453. data/node_modules/caniuse-lite/data/features/mediasource.js +0 -1
  1454. data/node_modules/caniuse-lite/data/features/menu.js +0 -1
  1455. data/node_modules/caniuse-lite/data/features/meta-theme-color.js +0 -1
  1456. data/node_modules/caniuse-lite/data/features/meter.js +0 -1
  1457. data/node_modules/caniuse-lite/data/features/midi.js +0 -1
  1458. data/node_modules/caniuse-lite/data/features/minmaxwh.js +0 -1
  1459. data/node_modules/caniuse-lite/data/features/mp3.js +0 -1
  1460. data/node_modules/caniuse-lite/data/features/mpeg-dash.js +0 -1
  1461. data/node_modules/caniuse-lite/data/features/mpeg4.js +0 -1
  1462. data/node_modules/caniuse-lite/data/features/multibackgrounds.js +0 -1
  1463. data/node_modules/caniuse-lite/data/features/multicolumn.js +0 -1
  1464. data/node_modules/caniuse-lite/data/features/mutation-events.js +0 -1
  1465. data/node_modules/caniuse-lite/data/features/mutationobserver.js +0 -1
  1466. data/node_modules/caniuse-lite/data/features/namevalue-storage.js +0 -1
  1467. data/node_modules/caniuse-lite/data/features/native-filesystem-api.js +0 -1
  1468. data/node_modules/caniuse-lite/data/features/nav-timing.js +0 -1
  1469. data/node_modules/caniuse-lite/data/features/netinfo.js +0 -1
  1470. data/node_modules/caniuse-lite/data/features/notifications.js +0 -1
  1471. data/node_modules/caniuse-lite/data/features/object-entries.js +0 -1
  1472. data/node_modules/caniuse-lite/data/features/object-fit.js +0 -1
  1473. data/node_modules/caniuse-lite/data/features/object-observe.js +0 -1
  1474. data/node_modules/caniuse-lite/data/features/object-values.js +0 -1
  1475. data/node_modules/caniuse-lite/data/features/objectrtc.js +0 -1
  1476. data/node_modules/caniuse-lite/data/features/offline-apps.js +0 -1
  1477. data/node_modules/caniuse-lite/data/features/offscreencanvas.js +0 -1
  1478. data/node_modules/caniuse-lite/data/features/ogg-vorbis.js +0 -1
  1479. data/node_modules/caniuse-lite/data/features/ogv.js +0 -1
  1480. data/node_modules/caniuse-lite/data/features/ol-reversed.js +0 -1
  1481. data/node_modules/caniuse-lite/data/features/once-event-listener.js +0 -1
  1482. data/node_modules/caniuse-lite/data/features/online-status.js +0 -1
  1483. data/node_modules/caniuse-lite/data/features/opus.js +0 -1
  1484. data/node_modules/caniuse-lite/data/features/orientation-sensor.js +0 -1
  1485. data/node_modules/caniuse-lite/data/features/outline.js +0 -1
  1486. data/node_modules/caniuse-lite/data/features/pad-start-end.js +0 -1
  1487. data/node_modules/caniuse-lite/data/features/page-transition-events.js +0 -1
  1488. data/node_modules/caniuse-lite/data/features/pagevisibility.js +0 -1
  1489. data/node_modules/caniuse-lite/data/features/passive-event-listener.js +0 -1
  1490. data/node_modules/caniuse-lite/data/features/passkeys.js +0 -1
  1491. data/node_modules/caniuse-lite/data/features/passwordrules.js +0 -1
  1492. data/node_modules/caniuse-lite/data/features/path2d.js +0 -1
  1493. data/node_modules/caniuse-lite/data/features/payment-request.js +0 -1
  1494. data/node_modules/caniuse-lite/data/features/pdf-viewer.js +0 -1
  1495. data/node_modules/caniuse-lite/data/features/permissions-api.js +0 -1
  1496. data/node_modules/caniuse-lite/data/features/permissions-policy.js +0 -1
  1497. data/node_modules/caniuse-lite/data/features/picture-in-picture.js +0 -1
  1498. data/node_modules/caniuse-lite/data/features/picture.js +0 -1
  1499. data/node_modules/caniuse-lite/data/features/ping.js +0 -1
  1500. data/node_modules/caniuse-lite/data/features/png-alpha.js +0 -1
  1501. data/node_modules/caniuse-lite/data/features/pointer-events.js +0 -1
  1502. data/node_modules/caniuse-lite/data/features/pointer.js +0 -1
  1503. data/node_modules/caniuse-lite/data/features/pointerlock.js +0 -1
  1504. data/node_modules/caniuse-lite/data/features/portals.js +0 -1
  1505. data/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +0 -1
  1506. data/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +0 -1
  1507. data/node_modules/caniuse-lite/data/features/progress.js +0 -1
  1508. data/node_modules/caniuse-lite/data/features/promise-finally.js +0 -1
  1509. data/node_modules/caniuse-lite/data/features/promises.js +0 -1
  1510. data/node_modules/caniuse-lite/data/features/proximity.js +0 -1
  1511. data/node_modules/caniuse-lite/data/features/proxy.js +0 -1
  1512. data/node_modules/caniuse-lite/data/features/publickeypinning.js +0 -1
  1513. data/node_modules/caniuse-lite/data/features/push-api.js +0 -1
  1514. data/node_modules/caniuse-lite/data/features/queryselector.js +0 -1
  1515. data/node_modules/caniuse-lite/data/features/readonly-attr.js +0 -1
  1516. data/node_modules/caniuse-lite/data/features/referrer-policy.js +0 -1
  1517. data/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +0 -1
  1518. data/node_modules/caniuse-lite/data/features/rel-noopener.js +0 -1
  1519. data/node_modules/caniuse-lite/data/features/rel-noreferrer.js +0 -1
  1520. data/node_modules/caniuse-lite/data/features/rellist.js +0 -1
  1521. data/node_modules/caniuse-lite/data/features/rem.js +0 -1
  1522. data/node_modules/caniuse-lite/data/features/requestanimationframe.js +0 -1
  1523. data/node_modules/caniuse-lite/data/features/requestidlecallback.js +0 -1
  1524. data/node_modules/caniuse-lite/data/features/resizeobserver.js +0 -1
  1525. data/node_modules/caniuse-lite/data/features/resource-timing.js +0 -1
  1526. data/node_modules/caniuse-lite/data/features/rest-parameters.js +0 -1
  1527. data/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +0 -1
  1528. data/node_modules/caniuse-lite/data/features/ruby.js +0 -1
  1529. data/node_modules/caniuse-lite/data/features/run-in.js +0 -1
  1530. data/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +0 -1
  1531. data/node_modules/caniuse-lite/data/features/screen-orientation.js +0 -1
  1532. data/node_modules/caniuse-lite/data/features/script-async.js +0 -1
  1533. data/node_modules/caniuse-lite/data/features/script-defer.js +0 -1
  1534. data/node_modules/caniuse-lite/data/features/scrollintoview.js +0 -1
  1535. data/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +0 -1
  1536. data/node_modules/caniuse-lite/data/features/sdch.js +0 -1
  1537. data/node_modules/caniuse-lite/data/features/selection-api.js +0 -1
  1538. data/node_modules/caniuse-lite/data/features/selectlist.js +0 -1
  1539. data/node_modules/caniuse-lite/data/features/server-timing.js +0 -1
  1540. data/node_modules/caniuse-lite/data/features/serviceworkers.js +0 -1
  1541. data/node_modules/caniuse-lite/data/features/setimmediate.js +0 -1
  1542. data/node_modules/caniuse-lite/data/features/shadowdom.js +0 -1
  1543. data/node_modules/caniuse-lite/data/features/shadowdomv1.js +0 -1
  1544. data/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +0 -1
  1545. data/node_modules/caniuse-lite/data/features/sharedworkers.js +0 -1
  1546. data/node_modules/caniuse-lite/data/features/sni.js +0 -1
  1547. data/node_modules/caniuse-lite/data/features/spdy.js +0 -1
  1548. data/node_modules/caniuse-lite/data/features/speech-recognition.js +0 -1
  1549. data/node_modules/caniuse-lite/data/features/speech-synthesis.js +0 -1
  1550. data/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +0 -1
  1551. data/node_modules/caniuse-lite/data/features/sql-storage.js +0 -1
  1552. data/node_modules/caniuse-lite/data/features/srcset.js +0 -1
  1553. data/node_modules/caniuse-lite/data/features/stream.js +0 -1
  1554. data/node_modules/caniuse-lite/data/features/streams.js +0 -1
  1555. data/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +0 -1
  1556. data/node_modules/caniuse-lite/data/features/style-scoped.js +0 -1
  1557. data/node_modules/caniuse-lite/data/features/subresource-bundling.js +0 -1
  1558. data/node_modules/caniuse-lite/data/features/subresource-integrity.js +0 -1
  1559. data/node_modules/caniuse-lite/data/features/svg-css.js +0 -1
  1560. data/node_modules/caniuse-lite/data/features/svg-filters.js +0 -1
  1561. data/node_modules/caniuse-lite/data/features/svg-fonts.js +0 -1
  1562. data/node_modules/caniuse-lite/data/features/svg-fragment.js +0 -1
  1563. data/node_modules/caniuse-lite/data/features/svg-html.js +0 -1
  1564. data/node_modules/caniuse-lite/data/features/svg-html5.js +0 -1
  1565. data/node_modules/caniuse-lite/data/features/svg-img.js +0 -1
  1566. data/node_modules/caniuse-lite/data/features/svg-smil.js +0 -1
  1567. data/node_modules/caniuse-lite/data/features/svg.js +0 -1
  1568. data/node_modules/caniuse-lite/data/features/sxg.js +0 -1
  1569. data/node_modules/caniuse-lite/data/features/tabindex-attr.js +0 -1
  1570. data/node_modules/caniuse-lite/data/features/template-literals.js +0 -1
  1571. data/node_modules/caniuse-lite/data/features/template.js +0 -1
  1572. data/node_modules/caniuse-lite/data/features/temporal.js +0 -1
  1573. data/node_modules/caniuse-lite/data/features/testfeat.js +0 -1
  1574. data/node_modules/caniuse-lite/data/features/text-decoration.js +0 -1
  1575. data/node_modules/caniuse-lite/data/features/text-emphasis.js +0 -1
  1576. data/node_modules/caniuse-lite/data/features/text-overflow.js +0 -1
  1577. data/node_modules/caniuse-lite/data/features/text-size-adjust.js +0 -1
  1578. data/node_modules/caniuse-lite/data/features/text-stroke.js +0 -1
  1579. data/node_modules/caniuse-lite/data/features/textcontent.js +0 -1
  1580. data/node_modules/caniuse-lite/data/features/textencoder.js +0 -1
  1581. data/node_modules/caniuse-lite/data/features/tls1-1.js +0 -1
  1582. data/node_modules/caniuse-lite/data/features/tls1-2.js +0 -1
  1583. data/node_modules/caniuse-lite/data/features/tls1-3.js +0 -1
  1584. data/node_modules/caniuse-lite/data/features/touch.js +0 -1
  1585. data/node_modules/caniuse-lite/data/features/transforms2d.js +0 -1
  1586. data/node_modules/caniuse-lite/data/features/transforms3d.js +0 -1
  1587. data/node_modules/caniuse-lite/data/features/trusted-types.js +0 -1
  1588. data/node_modules/caniuse-lite/data/features/ttf.js +0 -1
  1589. data/node_modules/caniuse-lite/data/features/typedarrays.js +0 -1
  1590. data/node_modules/caniuse-lite/data/features/u2f.js +0 -1
  1591. data/node_modules/caniuse-lite/data/features/unhandledrejection.js +0 -1
  1592. data/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +0 -1
  1593. data/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +0 -1
  1594. data/node_modules/caniuse-lite/data/features/url.js +0 -1
  1595. data/node_modules/caniuse-lite/data/features/urlsearchparams.js +0 -1
  1596. data/node_modules/caniuse-lite/data/features/use-strict.js +0 -1
  1597. data/node_modules/caniuse-lite/data/features/user-select-none.js +0 -1
  1598. data/node_modules/caniuse-lite/data/features/user-timing.js +0 -1
  1599. data/node_modules/caniuse-lite/data/features/variable-fonts.js +0 -1
  1600. data/node_modules/caniuse-lite/data/features/vector-effect.js +0 -1
  1601. data/node_modules/caniuse-lite/data/features/vibration.js +0 -1
  1602. data/node_modules/caniuse-lite/data/features/video.js +0 -1
  1603. data/node_modules/caniuse-lite/data/features/videotracks.js +0 -1
  1604. data/node_modules/caniuse-lite/data/features/view-transitions.js +0 -1
  1605. data/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +0 -1
  1606. data/node_modules/caniuse-lite/data/features/viewport-units.js +0 -1
  1607. data/node_modules/caniuse-lite/data/features/wai-aria.js +0 -1
  1608. data/node_modules/caniuse-lite/data/features/wake-lock.js +0 -1
  1609. data/node_modules/caniuse-lite/data/features/wasm-bigint.js +0 -1
  1610. data/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +0 -1
  1611. data/node_modules/caniuse-lite/data/features/wasm-extended-const.js +0 -1
  1612. data/node_modules/caniuse-lite/data/features/wasm-gc.js +0 -1
  1613. data/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +0 -1
  1614. data/node_modules/caniuse-lite/data/features/wasm-multi-value.js +0 -1
  1615. data/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +0 -1
  1616. data/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +0 -1
  1617. data/node_modules/caniuse-lite/data/features/wasm-reference-types.js +0 -1
  1618. data/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +0 -1
  1619. data/node_modules/caniuse-lite/data/features/wasm-signext.js +0 -1
  1620. data/node_modules/caniuse-lite/data/features/wasm-simd.js +0 -1
  1621. data/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +0 -1
  1622. data/node_modules/caniuse-lite/data/features/wasm-threads.js +0 -1
  1623. data/node_modules/caniuse-lite/data/features/wasm.js +0 -1
  1624. data/node_modules/caniuse-lite/data/features/wav.js +0 -1
  1625. data/node_modules/caniuse-lite/data/features/wbr-element.js +0 -1
  1626. data/node_modules/caniuse-lite/data/features/web-animation.js +0 -1
  1627. data/node_modules/caniuse-lite/data/features/web-app-manifest.js +0 -1
  1628. data/node_modules/caniuse-lite/data/features/web-bluetooth.js +0 -1
  1629. data/node_modules/caniuse-lite/data/features/web-serial.js +0 -1
  1630. data/node_modules/caniuse-lite/data/features/web-share.js +0 -1
  1631. data/node_modules/caniuse-lite/data/features/webauthn.js +0 -1
  1632. data/node_modules/caniuse-lite/data/features/webcodecs.js +0 -1
  1633. data/node_modules/caniuse-lite/data/features/webgl.js +0 -1
  1634. data/node_modules/caniuse-lite/data/features/webgl2.js +0 -1
  1635. data/node_modules/caniuse-lite/data/features/webgpu.js +0 -1
  1636. data/node_modules/caniuse-lite/data/features/webhid.js +0 -1
  1637. data/node_modules/caniuse-lite/data/features/webkit-user-drag.js +0 -1
  1638. data/node_modules/caniuse-lite/data/features/webm.js +0 -1
  1639. data/node_modules/caniuse-lite/data/features/webnfc.js +0 -1
  1640. data/node_modules/caniuse-lite/data/features/webp.js +0 -1
  1641. data/node_modules/caniuse-lite/data/features/websockets.js +0 -1
  1642. data/node_modules/caniuse-lite/data/features/webtransport.js +0 -1
  1643. data/node_modules/caniuse-lite/data/features/webusb.js +0 -1
  1644. data/node_modules/caniuse-lite/data/features/webvr.js +0 -1
  1645. data/node_modules/caniuse-lite/data/features/webvtt.js +0 -1
  1646. data/node_modules/caniuse-lite/data/features/webworkers.js +0 -1
  1647. data/node_modules/caniuse-lite/data/features/webxr.js +0 -1
  1648. data/node_modules/caniuse-lite/data/features/will-change.js +0 -1
  1649. data/node_modules/caniuse-lite/data/features/woff.js +0 -1
  1650. data/node_modules/caniuse-lite/data/features/woff2.js +0 -1
  1651. data/node_modules/caniuse-lite/data/features/word-break.js +0 -1
  1652. data/node_modules/caniuse-lite/data/features/wordwrap.js +0 -1
  1653. data/node_modules/caniuse-lite/data/features/x-doc-messaging.js +0 -1
  1654. data/node_modules/caniuse-lite/data/features/x-frame-options.js +0 -1
  1655. data/node_modules/caniuse-lite/data/features/xhr2.js +0 -1
  1656. data/node_modules/caniuse-lite/data/features/xhtml.js +0 -1
  1657. data/node_modules/caniuse-lite/data/features/xhtmlsmil.js +0 -1
  1658. data/node_modules/caniuse-lite/data/features/xml-serializer.js +0 -1
  1659. data/node_modules/caniuse-lite/data/features/zstd.js +0 -1
  1660. data/node_modules/caniuse-lite/data/features.js +0 -1
  1661. data/node_modules/caniuse-lite/data/regions/AD.js +0 -1
  1662. data/node_modules/caniuse-lite/data/regions/AE.js +0 -1
  1663. data/node_modules/caniuse-lite/data/regions/AF.js +0 -1
  1664. data/node_modules/caniuse-lite/data/regions/AG.js +0 -1
  1665. data/node_modules/caniuse-lite/data/regions/AI.js +0 -1
  1666. data/node_modules/caniuse-lite/data/regions/AL.js +0 -1
  1667. data/node_modules/caniuse-lite/data/regions/AM.js +0 -1
  1668. data/node_modules/caniuse-lite/data/regions/AO.js +0 -1
  1669. data/node_modules/caniuse-lite/data/regions/AR.js +0 -1
  1670. data/node_modules/caniuse-lite/data/regions/AS.js +0 -1
  1671. data/node_modules/caniuse-lite/data/regions/AT.js +0 -1
  1672. data/node_modules/caniuse-lite/data/regions/AU.js +0 -1
  1673. data/node_modules/caniuse-lite/data/regions/AW.js +0 -1
  1674. data/node_modules/caniuse-lite/data/regions/AX.js +0 -1
  1675. data/node_modules/caniuse-lite/data/regions/AZ.js +0 -1
  1676. data/node_modules/caniuse-lite/data/regions/BA.js +0 -1
  1677. data/node_modules/caniuse-lite/data/regions/BB.js +0 -1
  1678. data/node_modules/caniuse-lite/data/regions/BD.js +0 -1
  1679. data/node_modules/caniuse-lite/data/regions/BE.js +0 -1
  1680. data/node_modules/caniuse-lite/data/regions/BF.js +0 -1
  1681. data/node_modules/caniuse-lite/data/regions/BG.js +0 -1
  1682. data/node_modules/caniuse-lite/data/regions/BH.js +0 -1
  1683. data/node_modules/caniuse-lite/data/regions/BI.js +0 -1
  1684. data/node_modules/caniuse-lite/data/regions/BJ.js +0 -1
  1685. data/node_modules/caniuse-lite/data/regions/BM.js +0 -1
  1686. data/node_modules/caniuse-lite/data/regions/BN.js +0 -1
  1687. data/node_modules/caniuse-lite/data/regions/BO.js +0 -1
  1688. data/node_modules/caniuse-lite/data/regions/BR.js +0 -1
  1689. data/node_modules/caniuse-lite/data/regions/BS.js +0 -1
  1690. data/node_modules/caniuse-lite/data/regions/BT.js +0 -1
  1691. data/node_modules/caniuse-lite/data/regions/BW.js +0 -1
  1692. data/node_modules/caniuse-lite/data/regions/BY.js +0 -1
  1693. data/node_modules/caniuse-lite/data/regions/BZ.js +0 -1
  1694. data/node_modules/caniuse-lite/data/regions/CA.js +0 -1
  1695. data/node_modules/caniuse-lite/data/regions/CD.js +0 -1
  1696. data/node_modules/caniuse-lite/data/regions/CF.js +0 -1
  1697. data/node_modules/caniuse-lite/data/regions/CG.js +0 -1
  1698. data/node_modules/caniuse-lite/data/regions/CH.js +0 -1
  1699. data/node_modules/caniuse-lite/data/regions/CI.js +0 -1
  1700. data/node_modules/caniuse-lite/data/regions/CK.js +0 -1
  1701. data/node_modules/caniuse-lite/data/regions/CL.js +0 -1
  1702. data/node_modules/caniuse-lite/data/regions/CM.js +0 -1
  1703. data/node_modules/caniuse-lite/data/regions/CN.js +0 -1
  1704. data/node_modules/caniuse-lite/data/regions/CO.js +0 -1
  1705. data/node_modules/caniuse-lite/data/regions/CR.js +0 -1
  1706. data/node_modules/caniuse-lite/data/regions/CU.js +0 -1
  1707. data/node_modules/caniuse-lite/data/regions/CV.js +0 -1
  1708. data/node_modules/caniuse-lite/data/regions/CX.js +0 -1
  1709. data/node_modules/caniuse-lite/data/regions/CY.js +0 -1
  1710. data/node_modules/caniuse-lite/data/regions/CZ.js +0 -1
  1711. data/node_modules/caniuse-lite/data/regions/DE.js +0 -1
  1712. data/node_modules/caniuse-lite/data/regions/DJ.js +0 -1
  1713. data/node_modules/caniuse-lite/data/regions/DK.js +0 -1
  1714. data/node_modules/caniuse-lite/data/regions/DM.js +0 -1
  1715. data/node_modules/caniuse-lite/data/regions/DO.js +0 -1
  1716. data/node_modules/caniuse-lite/data/regions/DZ.js +0 -1
  1717. data/node_modules/caniuse-lite/data/regions/EC.js +0 -1
  1718. data/node_modules/caniuse-lite/data/regions/EE.js +0 -1
  1719. data/node_modules/caniuse-lite/data/regions/EG.js +0 -1
  1720. data/node_modules/caniuse-lite/data/regions/ER.js +0 -1
  1721. data/node_modules/caniuse-lite/data/regions/ES.js +0 -1
  1722. data/node_modules/caniuse-lite/data/regions/ET.js +0 -1
  1723. data/node_modules/caniuse-lite/data/regions/FI.js +0 -1
  1724. data/node_modules/caniuse-lite/data/regions/FJ.js +0 -1
  1725. data/node_modules/caniuse-lite/data/regions/FK.js +0 -1
  1726. data/node_modules/caniuse-lite/data/regions/FM.js +0 -1
  1727. data/node_modules/caniuse-lite/data/regions/FO.js +0 -1
  1728. data/node_modules/caniuse-lite/data/regions/FR.js +0 -1
  1729. data/node_modules/caniuse-lite/data/regions/GA.js +0 -1
  1730. data/node_modules/caniuse-lite/data/regions/GB.js +0 -1
  1731. data/node_modules/caniuse-lite/data/regions/GD.js +0 -1
  1732. data/node_modules/caniuse-lite/data/regions/GE.js +0 -1
  1733. data/node_modules/caniuse-lite/data/regions/GF.js +0 -1
  1734. data/node_modules/caniuse-lite/data/regions/GG.js +0 -1
  1735. data/node_modules/caniuse-lite/data/regions/GH.js +0 -1
  1736. data/node_modules/caniuse-lite/data/regions/GI.js +0 -1
  1737. data/node_modules/caniuse-lite/data/regions/GL.js +0 -1
  1738. data/node_modules/caniuse-lite/data/regions/GM.js +0 -1
  1739. data/node_modules/caniuse-lite/data/regions/GN.js +0 -1
  1740. data/node_modules/caniuse-lite/data/regions/GP.js +0 -1
  1741. data/node_modules/caniuse-lite/data/regions/GQ.js +0 -1
  1742. data/node_modules/caniuse-lite/data/regions/GR.js +0 -1
  1743. data/node_modules/caniuse-lite/data/regions/GT.js +0 -1
  1744. data/node_modules/caniuse-lite/data/regions/GU.js +0 -1
  1745. data/node_modules/caniuse-lite/data/regions/GW.js +0 -1
  1746. data/node_modules/caniuse-lite/data/regions/GY.js +0 -1
  1747. data/node_modules/caniuse-lite/data/regions/HK.js +0 -1
  1748. data/node_modules/caniuse-lite/data/regions/HN.js +0 -1
  1749. data/node_modules/caniuse-lite/data/regions/HR.js +0 -1
  1750. data/node_modules/caniuse-lite/data/regions/HT.js +0 -1
  1751. data/node_modules/caniuse-lite/data/regions/HU.js +0 -1
  1752. data/node_modules/caniuse-lite/data/regions/ID.js +0 -1
  1753. data/node_modules/caniuse-lite/data/regions/IE.js +0 -1
  1754. data/node_modules/caniuse-lite/data/regions/IL.js +0 -1
  1755. data/node_modules/caniuse-lite/data/regions/IM.js +0 -1
  1756. data/node_modules/caniuse-lite/data/regions/IN.js +0 -1
  1757. data/node_modules/caniuse-lite/data/regions/IQ.js +0 -1
  1758. data/node_modules/caniuse-lite/data/regions/IR.js +0 -1
  1759. data/node_modules/caniuse-lite/data/regions/IS.js +0 -1
  1760. data/node_modules/caniuse-lite/data/regions/IT.js +0 -1
  1761. data/node_modules/caniuse-lite/data/regions/JE.js +0 -1
  1762. data/node_modules/caniuse-lite/data/regions/JM.js +0 -1
  1763. data/node_modules/caniuse-lite/data/regions/JO.js +0 -1
  1764. data/node_modules/caniuse-lite/data/regions/JP.js +0 -1
  1765. data/node_modules/caniuse-lite/data/regions/KE.js +0 -1
  1766. data/node_modules/caniuse-lite/data/regions/KG.js +0 -1
  1767. data/node_modules/caniuse-lite/data/regions/KH.js +0 -1
  1768. data/node_modules/caniuse-lite/data/regions/KI.js +0 -1
  1769. data/node_modules/caniuse-lite/data/regions/KM.js +0 -1
  1770. data/node_modules/caniuse-lite/data/regions/KN.js +0 -1
  1771. data/node_modules/caniuse-lite/data/regions/KP.js +0 -1
  1772. data/node_modules/caniuse-lite/data/regions/KR.js +0 -1
  1773. data/node_modules/caniuse-lite/data/regions/KW.js +0 -1
  1774. data/node_modules/caniuse-lite/data/regions/KY.js +0 -1
  1775. data/node_modules/caniuse-lite/data/regions/KZ.js +0 -1
  1776. data/node_modules/caniuse-lite/data/regions/LA.js +0 -1
  1777. data/node_modules/caniuse-lite/data/regions/LB.js +0 -1
  1778. data/node_modules/caniuse-lite/data/regions/LC.js +0 -1
  1779. data/node_modules/caniuse-lite/data/regions/LI.js +0 -1
  1780. data/node_modules/caniuse-lite/data/regions/LK.js +0 -1
  1781. data/node_modules/caniuse-lite/data/regions/LR.js +0 -1
  1782. data/node_modules/caniuse-lite/data/regions/LS.js +0 -1
  1783. data/node_modules/caniuse-lite/data/regions/LT.js +0 -1
  1784. data/node_modules/caniuse-lite/data/regions/LU.js +0 -1
  1785. data/node_modules/caniuse-lite/data/regions/LV.js +0 -1
  1786. data/node_modules/caniuse-lite/data/regions/LY.js +0 -1
  1787. data/node_modules/caniuse-lite/data/regions/MA.js +0 -1
  1788. data/node_modules/caniuse-lite/data/regions/MC.js +0 -1
  1789. data/node_modules/caniuse-lite/data/regions/MD.js +0 -1
  1790. data/node_modules/caniuse-lite/data/regions/ME.js +0 -1
  1791. data/node_modules/caniuse-lite/data/regions/MG.js +0 -1
  1792. data/node_modules/caniuse-lite/data/regions/MH.js +0 -1
  1793. data/node_modules/caniuse-lite/data/regions/MK.js +0 -1
  1794. data/node_modules/caniuse-lite/data/regions/ML.js +0 -1
  1795. data/node_modules/caniuse-lite/data/regions/MM.js +0 -1
  1796. data/node_modules/caniuse-lite/data/regions/MN.js +0 -1
  1797. data/node_modules/caniuse-lite/data/regions/MO.js +0 -1
  1798. data/node_modules/caniuse-lite/data/regions/MP.js +0 -1
  1799. data/node_modules/caniuse-lite/data/regions/MQ.js +0 -1
  1800. data/node_modules/caniuse-lite/data/regions/MR.js +0 -1
  1801. data/node_modules/caniuse-lite/data/regions/MS.js +0 -1
  1802. data/node_modules/caniuse-lite/data/regions/MT.js +0 -1
  1803. data/node_modules/caniuse-lite/data/regions/MU.js +0 -1
  1804. data/node_modules/caniuse-lite/data/regions/MV.js +0 -1
  1805. data/node_modules/caniuse-lite/data/regions/MW.js +0 -1
  1806. data/node_modules/caniuse-lite/data/regions/MX.js +0 -1
  1807. data/node_modules/caniuse-lite/data/regions/MY.js +0 -1
  1808. data/node_modules/caniuse-lite/data/regions/MZ.js +0 -1
  1809. data/node_modules/caniuse-lite/data/regions/NA.js +0 -1
  1810. data/node_modules/caniuse-lite/data/regions/NC.js +0 -1
  1811. data/node_modules/caniuse-lite/data/regions/NE.js +0 -1
  1812. data/node_modules/caniuse-lite/data/regions/NF.js +0 -1
  1813. data/node_modules/caniuse-lite/data/regions/NG.js +0 -1
  1814. data/node_modules/caniuse-lite/data/regions/NI.js +0 -1
  1815. data/node_modules/caniuse-lite/data/regions/NL.js +0 -1
  1816. data/node_modules/caniuse-lite/data/regions/NO.js +0 -1
  1817. data/node_modules/caniuse-lite/data/regions/NP.js +0 -1
  1818. data/node_modules/caniuse-lite/data/regions/NR.js +0 -1
  1819. data/node_modules/caniuse-lite/data/regions/NU.js +0 -1
  1820. data/node_modules/caniuse-lite/data/regions/NZ.js +0 -1
  1821. data/node_modules/caniuse-lite/data/regions/OM.js +0 -1
  1822. data/node_modules/caniuse-lite/data/regions/PA.js +0 -1
  1823. data/node_modules/caniuse-lite/data/regions/PE.js +0 -1
  1824. data/node_modules/caniuse-lite/data/regions/PF.js +0 -1
  1825. data/node_modules/caniuse-lite/data/regions/PG.js +0 -1
  1826. data/node_modules/caniuse-lite/data/regions/PH.js +0 -1
  1827. data/node_modules/caniuse-lite/data/regions/PK.js +0 -1
  1828. data/node_modules/caniuse-lite/data/regions/PL.js +0 -1
  1829. data/node_modules/caniuse-lite/data/regions/PM.js +0 -1
  1830. data/node_modules/caniuse-lite/data/regions/PN.js +0 -1
  1831. data/node_modules/caniuse-lite/data/regions/PR.js +0 -1
  1832. data/node_modules/caniuse-lite/data/regions/PS.js +0 -1
  1833. data/node_modules/caniuse-lite/data/regions/PT.js +0 -1
  1834. data/node_modules/caniuse-lite/data/regions/PW.js +0 -1
  1835. data/node_modules/caniuse-lite/data/regions/PY.js +0 -1
  1836. data/node_modules/caniuse-lite/data/regions/QA.js +0 -1
  1837. data/node_modules/caniuse-lite/data/regions/RE.js +0 -1
  1838. data/node_modules/caniuse-lite/data/regions/RO.js +0 -1
  1839. data/node_modules/caniuse-lite/data/regions/RS.js +0 -1
  1840. data/node_modules/caniuse-lite/data/regions/RU.js +0 -1
  1841. data/node_modules/caniuse-lite/data/regions/RW.js +0 -1
  1842. data/node_modules/caniuse-lite/data/regions/SA.js +0 -1
  1843. data/node_modules/caniuse-lite/data/regions/SB.js +0 -1
  1844. data/node_modules/caniuse-lite/data/regions/SC.js +0 -1
  1845. data/node_modules/caniuse-lite/data/regions/SD.js +0 -1
  1846. data/node_modules/caniuse-lite/data/regions/SE.js +0 -1
  1847. data/node_modules/caniuse-lite/data/regions/SG.js +0 -1
  1848. data/node_modules/caniuse-lite/data/regions/SH.js +0 -1
  1849. data/node_modules/caniuse-lite/data/regions/SI.js +0 -1
  1850. data/node_modules/caniuse-lite/data/regions/SK.js +0 -1
  1851. data/node_modules/caniuse-lite/data/regions/SL.js +0 -1
  1852. data/node_modules/caniuse-lite/data/regions/SM.js +0 -1
  1853. data/node_modules/caniuse-lite/data/regions/SN.js +0 -1
  1854. data/node_modules/caniuse-lite/data/regions/SO.js +0 -1
  1855. data/node_modules/caniuse-lite/data/regions/SR.js +0 -1
  1856. data/node_modules/caniuse-lite/data/regions/ST.js +0 -1
  1857. data/node_modules/caniuse-lite/data/regions/SV.js +0 -1
  1858. data/node_modules/caniuse-lite/data/regions/SY.js +0 -1
  1859. data/node_modules/caniuse-lite/data/regions/SZ.js +0 -1
  1860. data/node_modules/caniuse-lite/data/regions/TC.js +0 -1
  1861. data/node_modules/caniuse-lite/data/regions/TD.js +0 -1
  1862. data/node_modules/caniuse-lite/data/regions/TG.js +0 -1
  1863. data/node_modules/caniuse-lite/data/regions/TH.js +0 -1
  1864. data/node_modules/caniuse-lite/data/regions/TJ.js +0 -1
  1865. data/node_modules/caniuse-lite/data/regions/TK.js +0 -1
  1866. data/node_modules/caniuse-lite/data/regions/TL.js +0 -1
  1867. data/node_modules/caniuse-lite/data/regions/TM.js +0 -1
  1868. data/node_modules/caniuse-lite/data/regions/TN.js +0 -1
  1869. data/node_modules/caniuse-lite/data/regions/TO.js +0 -1
  1870. data/node_modules/caniuse-lite/data/regions/TR.js +0 -1
  1871. data/node_modules/caniuse-lite/data/regions/TT.js +0 -1
  1872. data/node_modules/caniuse-lite/data/regions/TV.js +0 -1
  1873. data/node_modules/caniuse-lite/data/regions/TW.js +0 -1
  1874. data/node_modules/caniuse-lite/data/regions/TZ.js +0 -1
  1875. data/node_modules/caniuse-lite/data/regions/UA.js +0 -1
  1876. data/node_modules/caniuse-lite/data/regions/UG.js +0 -1
  1877. data/node_modules/caniuse-lite/data/regions/US.js +0 -1
  1878. data/node_modules/caniuse-lite/data/regions/UY.js +0 -1
  1879. data/node_modules/caniuse-lite/data/regions/UZ.js +0 -1
  1880. data/node_modules/caniuse-lite/data/regions/VA.js +0 -1
  1881. data/node_modules/caniuse-lite/data/regions/VC.js +0 -1
  1882. data/node_modules/caniuse-lite/data/regions/VE.js +0 -1
  1883. data/node_modules/caniuse-lite/data/regions/VG.js +0 -1
  1884. data/node_modules/caniuse-lite/data/regions/VI.js +0 -1
  1885. data/node_modules/caniuse-lite/data/regions/VN.js +0 -1
  1886. data/node_modules/caniuse-lite/data/regions/VU.js +0 -1
  1887. data/node_modules/caniuse-lite/data/regions/WF.js +0 -1
  1888. data/node_modules/caniuse-lite/data/regions/WS.js +0 -1
  1889. data/node_modules/caniuse-lite/data/regions/YE.js +0 -1
  1890. data/node_modules/caniuse-lite/data/regions/YT.js +0 -1
  1891. data/node_modules/caniuse-lite/data/regions/ZA.js +0 -1
  1892. data/node_modules/caniuse-lite/data/regions/ZM.js +0 -1
  1893. data/node_modules/caniuse-lite/data/regions/ZW.js +0 -1
  1894. data/node_modules/caniuse-lite/data/regions/alt-af.js +0 -1
  1895. data/node_modules/caniuse-lite/data/regions/alt-an.js +0 -1
  1896. data/node_modules/caniuse-lite/data/regions/alt-as.js +0 -1
  1897. data/node_modules/caniuse-lite/data/regions/alt-eu.js +0 -1
  1898. data/node_modules/caniuse-lite/data/regions/alt-na.js +0 -1
  1899. data/node_modules/caniuse-lite/data/regions/alt-oc.js +0 -1
  1900. data/node_modules/caniuse-lite/data/regions/alt-sa.js +0 -1
  1901. data/node_modules/caniuse-lite/data/regions/alt-ww.js +0 -1
  1902. data/node_modules/caniuse-lite/dist/lib/statuses.js +0 -9
  1903. data/node_modules/caniuse-lite/dist/lib/supported.js +0 -9
  1904. data/node_modules/caniuse-lite/dist/unpacker/agents.js +0 -47
  1905. data/node_modules/caniuse-lite/dist/unpacker/browserVersions.js +0 -1
  1906. data/node_modules/caniuse-lite/dist/unpacker/browsers.js +0 -1
  1907. data/node_modules/caniuse-lite/dist/unpacker/feature.js +0 -52
  1908. data/node_modules/caniuse-lite/dist/unpacker/features.js +0 -6
  1909. data/node_modules/caniuse-lite/dist/unpacker/index.js +0 -4
  1910. data/node_modules/caniuse-lite/dist/unpacker/region.js +0 -22
  1911. data/node_modules/caniuse-lite/package.json +0 -34
  1912. data/node_modules/chalk/index.js +0 -228
  1913. data/node_modules/chalk/index.js.flow +0 -93
  1914. data/node_modules/chalk/license +0 -9
  1915. data/node_modules/chalk/package.json +0 -71
  1916. data/node_modules/chalk/readme.md +0 -314
  1917. data/node_modules/chalk/templates.js +0 -128
  1918. data/node_modules/chalk/types/index.d.ts +0 -97
  1919. data/node_modules/ci-info/CHANGELOG.md +0 -78
  1920. data/node_modules/ci-info/LICENSE +0 -21
  1921. data/node_modules/ci-info/README.md +0 -108
  1922. data/node_modules/ci-info/index.js +0 -66
  1923. data/node_modules/ci-info/package.json +0 -36
  1924. data/node_modules/ci-info/vendors.json +0 -153
  1925. data/node_modules/coffee-lex/LICENSE +0 -7
  1926. data/node_modules/coffee-lex/README.md +0 -144
  1927. data/node_modules/coffee-lex/dist/index.d.ts +0 -313
  1928. data/node_modules/coffee-lex/dist/index.js +0 -1565
  1929. data/node_modules/coffee-lex/dist/index.mjs +0 -1530
  1930. data/node_modules/coffee-lex/package.json +0 -81
  1931. data/node_modules/color-convert/CHANGELOG.md +0 -54
  1932. data/node_modules/color-convert/LICENSE +0 -21
  1933. data/node_modules/color-convert/README.md +0 -68
  1934. data/node_modules/color-convert/conversions.js +0 -868
  1935. data/node_modules/color-convert/index.js +0 -78
  1936. data/node_modules/color-convert/package.json +0 -46
  1937. data/node_modules/color-convert/route.js +0 -97
  1938. data/node_modules/color-name/.eslintrc.json +0 -43
  1939. data/node_modules/color-name/.npmignore +0 -107
  1940. data/node_modules/color-name/LICENSE +0 -8
  1941. data/node_modules/color-name/README.md +0 -11
  1942. data/node_modules/color-name/index.js +0 -152
  1943. data/node_modules/color-name/package.json +0 -25
  1944. data/node_modules/color-name/test.js +0 -7
  1945. data/node_modules/convert-source-map/LICENSE +0 -23
  1946. data/node_modules/convert-source-map/README.md +0 -206
  1947. data/node_modules/convert-source-map/index.js +0 -233
  1948. data/node_modules/convert-source-map/package.json +0 -38
  1949. data/node_modules/cross-spawn/CHANGELOG.md +0 -130
  1950. data/node_modules/cross-spawn/LICENSE +0 -21
  1951. data/node_modules/cross-spawn/README.md +0 -96
  1952. data/node_modules/cross-spawn/index.js +0 -39
  1953. data/node_modules/cross-spawn/lib/enoent.js +0 -59
  1954. data/node_modules/cross-spawn/lib/parse.js +0 -91
  1955. data/node_modules/cross-spawn/lib/util/escape.js +0 -45
  1956. data/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
  1957. data/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
  1958. data/node_modules/cross-spawn/node_modules/.bin/node-which +0 -1
  1959. data/node_modules/cross-spawn/package.json +0 -73
  1960. data/node_modules/debug/LICENSE +0 -20
  1961. data/node_modules/debug/README.md +0 -481
  1962. data/node_modules/debug/package.json +0 -60
  1963. data/node_modules/debug/src/browser.js +0 -269
  1964. data/node_modules/debug/src/common.js +0 -274
  1965. data/node_modules/debug/src/index.js +0 -10
  1966. data/node_modules/debug/src/node.js +0 -263
  1967. data/node_modules/decaffeinate/LICENSE +0 -7
  1968. data/node_modules/decaffeinate/README.md +0 -196
  1969. data/node_modules/decaffeinate/bin/decaffeinate +0 -3
  1970. data/node_modules/decaffeinate/dist/index.d.ts +0 -72
  1971. data/node_modules/decaffeinate/dist/index.js +0 -10542
  1972. data/node_modules/decaffeinate/dist/index.mjs +0 -10582
  1973. data/node_modules/decaffeinate/node_modules/.bin/cake +0 -1
  1974. data/node_modules/decaffeinate/node_modules/.bin/coffee +0 -1
  1975. data/node_modules/decaffeinate/node_modules/.bin/is-ci +0 -1
  1976. data/node_modules/decaffeinate/node_modules/.bin/is-ci-cli +0 -1
  1977. data/node_modules/decaffeinate/package.json +0 -133
  1978. data/node_modules/decaffeinate-coffeescript/LICENSE +0 -22
  1979. data/node_modules/decaffeinate-coffeescript/README.md +0 -47
  1980. data/node_modules/decaffeinate-coffeescript/bin/cake +0 -18
  1981. data/node_modules/decaffeinate-coffeescript/bin/coffee +0 -18
  1982. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/browser.js +0 -132
  1983. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/cake.js +0 -114
  1984. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/coffee-script.d.ts +0 -60
  1985. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/coffee-script.js +0 -331
  1986. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/command.js +0 -610
  1987. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/grammar.js +0 -816
  1988. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/helpers.js +0 -249
  1989. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/index.js +0 -29
  1990. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/lexer.d.ts +0 -83
  1991. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/lexer.js +0 -1166
  1992. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/nodes.d.ts +0 -791
  1993. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/nodes.js +0 -3899
  1994. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/optparse.js +0 -139
  1995. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/parser.js +0 -887
  1996. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/register.js +0 -66
  1997. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/repl.js +0 -203
  1998. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/rewriter.js +0 -537
  1999. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/scope.d.ts +0 -3
  2000. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/scope.js +0 -165
  2001. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/sourcemap.d.ts +0 -13
  2002. data/node_modules/decaffeinate-coffeescript/lib/coffee-script/sourcemap.js +0 -161
  2003. data/node_modules/decaffeinate-coffeescript/package.json +0 -49
  2004. data/node_modules/decaffeinate-coffeescript/register.js +0 -1
  2005. data/node_modules/decaffeinate-coffeescript/repl.js +0 -1
  2006. data/node_modules/decaffeinate-coffeescript2/LICENSE +0 -22
  2007. data/node_modules/decaffeinate-coffeescript2/README.md +0 -47
  2008. data/node_modules/decaffeinate-coffeescript2/bin/cake +0 -25
  2009. data/node_modules/decaffeinate-coffeescript2/bin/coffee +0 -25
  2010. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/browser.js +0 -140
  2011. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/cake.js +0 -135
  2012. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/coffeescript.d.ts +0 -60
  2013. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/coffeescript.js +0 -306
  2014. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/command.js +0 -719
  2015. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/grammar.js +0 -2130
  2016. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/helpers.js +0 -333
  2017. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/index.js +0 -209
  2018. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/lexer.d.ts +0 -83
  2019. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/lexer.js +0 -1703
  2020. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/nodes.d.ts +0 -809
  2021. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/nodes.js +0 -5974
  2022. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/optparse.js +0 -230
  2023. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/parser.js +0 -1108
  2024. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/register.js +0 -85
  2025. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/repl.js +0 -296
  2026. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/rewriter.js +0 -1014
  2027. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/scope.d.ts +0 -3
  2028. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/scope.js +0 -187
  2029. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/sourcemap.d.ts +0 -13
  2030. data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/sourcemap.js +0 -211
  2031. data/node_modules/decaffeinate-coffeescript2/package.json +0 -56
  2032. data/node_modules/decaffeinate-coffeescript2/register.js +0 -1
  2033. data/node_modules/decaffeinate-coffeescript2/repl.js +0 -1
  2034. data/node_modules/decaffeinate-parser/LICENSE +0 -7
  2035. data/node_modules/decaffeinate-parser/README.md +0 -34
  2036. data/node_modules/decaffeinate-parser/dist/index.d.ts +0 -644
  2037. data/node_modules/decaffeinate-parser/dist/index.js +0 -3458
  2038. data/node_modules/decaffeinate-parser/dist/index.mjs +0 -3557
  2039. data/node_modules/decaffeinate-parser/node_modules/.bin/cake +0 -1
  2040. data/node_modules/decaffeinate-parser/node_modules/.bin/coffee +0 -1
  2041. data/node_modules/decaffeinate-parser/package.json +0 -93
  2042. data/node_modules/detect-indent/index.js +0 -120
  2043. data/node_modules/detect-indent/license +0 -21
  2044. data/node_modules/detect-indent/package.json +0 -46
  2045. data/node_modules/detect-indent/readme.md +0 -110
  2046. data/node_modules/electron-to-chromium/LICENSE +0 -5
  2047. data/node_modules/electron-to-chromium/README.md +0 -186
  2048. data/node_modules/electron-to-chromium/chromium-versions.js +0 -66
  2049. data/node_modules/electron-to-chromium/chromium-versions.json +0 -1
  2050. data/node_modules/electron-to-chromium/full-chromium-versions.js +0 -3308
  2051. data/node_modules/electron-to-chromium/full-chromium-versions.json +0 -1
  2052. data/node_modules/electron-to-chromium/full-versions.js +0 -2404
  2053. data/node_modules/electron-to-chromium/full-versions.json +0 -1
  2054. data/node_modules/electron-to-chromium/index.js +0 -36
  2055. data/node_modules/electron-to-chromium/package.json +0 -44
  2056. data/node_modules/electron-to-chromium/versions.js +0 -157
  2057. data/node_modules/electron-to-chromium/versions.json +0 -1
  2058. data/node_modules/escalade/dist/index.js +0 -22
  2059. data/node_modules/escalade/dist/index.mjs +0 -22
  2060. data/node_modules/escalade/index.d.ts +0 -3
  2061. data/node_modules/escalade/license +0 -9
  2062. data/node_modules/escalade/package.json +0 -63
  2063. data/node_modules/escalade/readme.md +0 -211
  2064. data/node_modules/escalade/sync/index.d.ts +0 -2
  2065. data/node_modules/escalade/sync/index.js +0 -18
  2066. data/node_modules/escalade/sync/index.mjs +0 -18
  2067. data/node_modules/escape-string-regexp/index.js +0 -11
  2068. data/node_modules/escape-string-regexp/license +0 -21
  2069. data/node_modules/escape-string-regexp/package.json +0 -41
  2070. data/node_modules/escape-string-regexp/readme.md +0 -27
  2071. data/node_modules/esprima/ChangeLog +0 -235
  2072. data/node_modules/esprima/LICENSE.BSD +0 -21
  2073. data/node_modules/esprima/README.md +0 -46
  2074. data/node_modules/esprima/bin/esparse.js +0 -139
  2075. data/node_modules/esprima/bin/esvalidate.js +0 -236
  2076. data/node_modules/esprima/dist/esprima.js +0 -6709
  2077. data/node_modules/esprima/package.json +0 -112
  2078. data/node_modules/function-bind/.eslintrc +0 -21
  2079. data/node_modules/function-bind/.github/FUNDING.yml +0 -12
  2080. data/node_modules/function-bind/.github/SECURITY.md +0 -3
  2081. data/node_modules/function-bind/.nycrc +0 -13
  2082. data/node_modules/function-bind/CHANGELOG.md +0 -136
  2083. data/node_modules/function-bind/LICENSE +0 -20
  2084. data/node_modules/function-bind/README.md +0 -46
  2085. data/node_modules/function-bind/implementation.js +0 -84
  2086. data/node_modules/function-bind/index.js +0 -5
  2087. data/node_modules/function-bind/package.json +0 -87
  2088. data/node_modules/function-bind/test/.eslintrc +0 -9
  2089. data/node_modules/function-bind/test/index.js +0 -252
  2090. data/node_modules/gensync/LICENSE +0 -7
  2091. data/node_modules/gensync/README.md +0 -196
  2092. data/node_modules/gensync/index.js +0 -373
  2093. data/node_modules/gensync/index.js.flow +0 -32
  2094. data/node_modules/gensync/package.json +0 -37
  2095. data/node_modules/gensync/test/.babelrc +0 -5
  2096. data/node_modules/gensync/test/index.test.js +0 -489
  2097. data/node_modules/globals/globals.json +0 -1563
  2098. data/node_modules/globals/index.js +0 -2
  2099. data/node_modules/globals/license +0 -9
  2100. data/node_modules/globals/package.json +0 -41
  2101. data/node_modules/globals/readme.md +0 -41
  2102. data/node_modules/has-flag/index.js +0 -8
  2103. data/node_modules/has-flag/license +0 -9
  2104. data/node_modules/has-flag/package.json +0 -44
  2105. data/node_modules/has-flag/readme.md +0 -70
  2106. data/node_modules/hasown/.eslintrc +0 -5
  2107. data/node_modules/hasown/.github/FUNDING.yml +0 -12
  2108. data/node_modules/hasown/.nycrc +0 -13
  2109. data/node_modules/hasown/CHANGELOG.md +0 -40
  2110. data/node_modules/hasown/LICENSE +0 -21
  2111. data/node_modules/hasown/README.md +0 -40
  2112. data/node_modules/hasown/index.d.ts +0 -3
  2113. data/node_modules/hasown/index.js +0 -8
  2114. data/node_modules/hasown/package.json +0 -92
  2115. data/node_modules/hasown/tsconfig.json +0 -6
  2116. data/node_modules/is-ci/CHANGELOG.md +0 -14
  2117. data/node_modules/is-ci/LICENSE +0 -21
  2118. data/node_modules/is-ci/README.md +0 -50
  2119. data/node_modules/is-ci/bin.js +0 -4
  2120. data/node_modules/is-ci/index.js +0 -3
  2121. data/node_modules/is-ci/package.json +0 -38
  2122. data/node_modules/is-ci-cli/LICENSE +0 -21
  2123. data/node_modules/is-ci-cli/README.md +0 -29
  2124. data/node_modules/is-ci-cli/cli.js +0 -46
  2125. data/node_modules/is-ci-cli/node_modules/.bin/is-ci +0 -1
  2126. data/node_modules/is-ci-cli/package.json +0 -39
  2127. data/node_modules/is-core-module/.eslintrc +0 -18
  2128. data/node_modules/is-core-module/.nycrc +0 -9
  2129. data/node_modules/is-core-module/CHANGELOG.md +0 -180
  2130. data/node_modules/is-core-module/LICENSE +0 -20
  2131. data/node_modules/is-core-module/README.md +0 -40
  2132. data/node_modules/is-core-module/core.json +0 -158
  2133. data/node_modules/is-core-module/index.js +0 -69
  2134. data/node_modules/is-core-module/package.json +0 -73
  2135. data/node_modules/is-core-module/test/index.js +0 -133
  2136. data/node_modules/is-finite/index.js +0 -5
  2137. data/node_modules/is-finite/license +0 -9
  2138. data/node_modules/is-finite/package.json +0 -34
  2139. data/node_modules/is-finite/readme.md +0 -33
  2140. data/node_modules/isexe/.npmignore +0 -2
  2141. data/node_modules/isexe/LICENSE +0 -15
  2142. data/node_modules/isexe/README.md +0 -51
  2143. data/node_modules/isexe/index.js +0 -57
  2144. data/node_modules/isexe/mode.js +0 -41
  2145. data/node_modules/isexe/package.json +0 -31
  2146. data/node_modules/isexe/test/basic.js +0 -221
  2147. data/node_modules/isexe/windows.js +0 -42
  2148. data/node_modules/js-tokens/CHANGELOG.md +0 -151
  2149. data/node_modules/js-tokens/LICENSE +0 -21
  2150. data/node_modules/js-tokens/README.md +0 -240
  2151. data/node_modules/js-tokens/index.js +0 -23
  2152. data/node_modules/js-tokens/package.json +0 -30
  2153. data/node_modules/jsesc/LICENSE-MIT.txt +0 -20
  2154. data/node_modules/jsesc/README.md +0 -421
  2155. data/node_modules/jsesc/bin/jsesc +0 -148
  2156. data/node_modules/jsesc/jsesc.js +0 -329
  2157. data/node_modules/jsesc/man/jsesc.1 +0 -94
  2158. data/node_modules/jsesc/package.json +0 -54
  2159. data/node_modules/json5/LICENSE.md +0 -23
  2160. data/node_modules/json5/README.md +0 -282
  2161. data/node_modules/json5/dist/index.js +0 -1737
  2162. data/node_modules/json5/dist/index.min.js +0 -1
  2163. data/node_modules/json5/dist/index.min.mjs +0 -1
  2164. data/node_modules/json5/dist/index.mjs +0 -1426
  2165. data/node_modules/json5/lib/cli.js +0 -152
  2166. data/node_modules/json5/lib/index.d.ts +0 -4
  2167. data/node_modules/json5/lib/index.js +0 -9
  2168. data/node_modules/json5/lib/parse.d.ts +0 -15
  2169. data/node_modules/json5/lib/parse.js +0 -1114
  2170. data/node_modules/json5/lib/register.js +0 -13
  2171. data/node_modules/json5/lib/require.js +0 -4
  2172. data/node_modules/json5/lib/stringify.d.ts +0 -89
  2173. data/node_modules/json5/lib/stringify.js +0 -261
  2174. data/node_modules/json5/lib/unicode.d.ts +0 -3
  2175. data/node_modules/json5/lib/unicode.js +0 -4
  2176. data/node_modules/json5/lib/util.d.ts +0 -5
  2177. data/node_modules/json5/lib/util.js +0 -35
  2178. data/node_modules/json5/package.json +0 -72
  2179. data/node_modules/lines-and-columns/LICENSE +0 -21
  2180. data/node_modules/lines-and-columns/README.md +0 -33
  2181. data/node_modules/lines-and-columns/build/index.cjs +0 -61
  2182. data/node_modules/lines-and-columns/build/index.d.ts +0 -12
  2183. data/node_modules/lines-and-columns/build/index.mjs +0 -58
  2184. data/node_modules/lines-and-columns/package.json +0 -61
  2185. data/node_modules/lru-cache/LICENSE +0 -15
  2186. data/node_modules/lru-cache/README.md +0 -166
  2187. data/node_modules/lru-cache/index.js +0 -334
  2188. data/node_modules/lru-cache/package.json +0 -32
  2189. data/node_modules/magic-string/LICENSE +0 -7
  2190. data/node_modules/magic-string/README.md +0 -304
  2191. data/node_modules/magic-string/dist/magic-string.cjs.d.ts +0 -268
  2192. data/node_modules/magic-string/dist/magic-string.cjs.js +0 -1547
  2193. data/node_modules/magic-string/dist/magic-string.cjs.js.map +0 -1
  2194. data/node_modules/magic-string/dist/magic-string.es.d.mts +0 -268
  2195. data/node_modules/magic-string/dist/magic-string.es.mjs +0 -1541
  2196. data/node_modules/magic-string/dist/magic-string.es.mjs.map +0 -1
  2197. data/node_modules/magic-string/dist/magic-string.umd.js +0 -1639
  2198. data/node_modules/magic-string/dist/magic-string.umd.js.map +0 -1
  2199. data/node_modules/magic-string/package.json +0 -63
  2200. data/node_modules/ms/index.js +0 -162
  2201. data/node_modules/ms/license.md +0 -21
  2202. data/node_modules/ms/package.json +0 -37
  2203. data/node_modules/ms/readme.md +0 -60
  2204. data/node_modules/mz/HISTORY.md +0 -66
  2205. data/node_modules/mz/LICENSE +0 -22
  2206. data/node_modules/mz/README.md +0 -106
  2207. data/node_modules/mz/child_process.js +0 -8
  2208. data/node_modules/mz/crypto.js +0 -9
  2209. data/node_modules/mz/dns.js +0 -16
  2210. data/node_modules/mz/fs.js +0 -62
  2211. data/node_modules/mz/index.js +0 -8
  2212. data/node_modules/mz/package.json +0 -44
  2213. data/node_modules/mz/readline.js +0 -64
  2214. data/node_modules/mz/zlib.js +0 -13
  2215. data/node_modules/node-releases/LICENSE +0 -21
  2216. data/node_modules/node-releases/README.md +0 -12
  2217. data/node_modules/node-releases/data/processed/envs.json +0 -1
  2218. data/node_modules/node-releases/data/release-schedule/release-schedule.json +0 -1
  2219. data/node_modules/node-releases/package.json +0 -19
  2220. data/node_modules/object-assign/index.js +0 -90
  2221. data/node_modules/object-assign/license +0 -21
  2222. data/node_modules/object-assign/package.json +0 -42
  2223. data/node_modules/object-assign/readme.md +0 -61
  2224. data/node_modules/path-key/index.d.ts +0 -40
  2225. data/node_modules/path-key/index.js +0 -16
  2226. data/node_modules/path-key/license +0 -9
  2227. data/node_modules/path-key/package.json +0 -39
  2228. data/node_modules/path-key/readme.md +0 -61
  2229. data/node_modules/path-parse/LICENSE +0 -21
  2230. data/node_modules/path-parse/README.md +0 -42
  2231. data/node_modules/path-parse/index.js +0 -75
  2232. data/node_modules/path-parse/package.json +0 -33
  2233. data/node_modules/picocolors/LICENSE +0 -15
  2234. data/node_modules/picocolors/README.md +0 -21
  2235. data/node_modules/picocolors/package.json +0 -25
  2236. data/node_modules/picocolors/picocolors.browser.js +0 -4
  2237. data/node_modules/picocolors/picocolors.d.ts +0 -5
  2238. data/node_modules/picocolors/picocolors.js +0 -65
  2239. data/node_modules/picocolors/types.ts +0 -30
  2240. data/node_modules/private/LICENSE +0 -20
  2241. data/node_modules/private/README.md +0 -245
  2242. data/node_modules/private/package.json +0 -39
  2243. data/node_modules/private/private.js +0 -129
  2244. data/node_modules/recast/.editorconfig +0 -2
  2245. data/node_modules/recast/.node-version +0 -1
  2246. data/node_modules/recast/.travis.yml +0 -20
  2247. data/node_modules/recast/LICENSE +0 -20
  2248. data/node_modules/recast/README.md +0 -208
  2249. data/node_modules/recast/example/add-braces +0 -44
  2250. data/node_modules/recast/example/generic-identity +0 -17
  2251. data/node_modules/recast/example/identity +0 -8
  2252. data/node_modules/recast/example/to-while +0 -84
  2253. data/node_modules/recast/lib/comments.d.ts +0 -2
  2254. data/node_modules/recast/lib/comments.js +0 -308
  2255. data/node_modules/recast/lib/fast-path.d.ts +0 -25
  2256. data/node_modules/recast/lib/fast-path.js +0 -545
  2257. data/node_modules/recast/lib/lines.d.ts +0 -62
  2258. data/node_modules/recast/lib/lines.js +0 -666
  2259. data/node_modules/recast/lib/mapping.d.ts +0 -15
  2260. data/node_modules/recast/lib/mapping.js +0 -202
  2261. data/node_modules/recast/lib/options.d.ts +0 -148
  2262. data/node_modules/recast/lib/options.js +0 -56
  2263. data/node_modules/recast/lib/parser.d.ts +0 -2
  2264. data/node_modules/recast/lib/parser.js +0 -257
  2265. data/node_modules/recast/lib/patcher.d.ts +0 -12
  2266. data/node_modules/recast/lib/patcher.js +0 -400
  2267. data/node_modules/recast/lib/printer.d.ts +0 -14
  2268. data/node_modules/recast/lib/printer.js +0 -2262
  2269. data/node_modules/recast/lib/util.d.ts +0 -16
  2270. data/node_modules/recast/lib/util.js +0 -339
  2271. data/node_modules/recast/main.d.ts +0 -50
  2272. data/node_modules/recast/main.js +0 -73
  2273. data/node_modules/recast/node_modules/.bin/esparse +0 -1
  2274. data/node_modules/recast/node_modules/.bin/esvalidate +0 -1
  2275. data/node_modules/recast/package.json +0 -62
  2276. data/node_modules/recast/parsers/_babel_options.d.ts +0 -8
  2277. data/node_modules/recast/parsers/_babel_options.js +0 -42
  2278. data/node_modules/recast/parsers/acorn.d.ts +0 -1
  2279. data/node_modules/recast/parsers/acorn.js +0 -33
  2280. data/node_modules/recast/parsers/babel.d.ts +0 -8
  2281. data/node_modules/recast/parsers/babel.js +0 -30
  2282. data/node_modules/recast/parsers/babylon.d.ts +0 -1
  2283. data/node_modules/recast/parsers/babylon.js +0 -6
  2284. data/node_modules/recast/parsers/esprima.d.ts +0 -1
  2285. data/node_modules/recast/parsers/esprima.js +0 -29
  2286. data/node_modules/recast/parsers/flow.d.ts +0 -2
  2287. data/node_modules/recast/parsers/flow.js +0 -21
  2288. data/node_modules/recast/parsers/typescript.d.ts +0 -2
  2289. data/node_modules/recast/parsers/typescript.js +0 -21
  2290. data/node_modules/recast/tsconfig.json +0 -20
  2291. data/node_modules/repeating/index.js +0 -24
  2292. data/node_modules/repeating/license +0 -21
  2293. data/node_modules/repeating/package.json +0 -37
  2294. data/node_modules/repeating/readme.md +0 -30
  2295. data/node_modules/resolve/.editorconfig +0 -37
  2296. data/node_modules/resolve/.eslintrc +0 -65
  2297. data/node_modules/resolve/.github/FUNDING.yml +0 -12
  2298. data/node_modules/resolve/LICENSE +0 -21
  2299. data/node_modules/resolve/SECURITY.md +0 -3
  2300. data/node_modules/resolve/async.js +0 -3
  2301. data/node_modules/resolve/bin/resolve +0 -50
  2302. data/node_modules/resolve/example/async.js +0 -5
  2303. data/node_modules/resolve/example/sync.js +0 -3
  2304. data/node_modules/resolve/index.js +0 -6
  2305. data/node_modules/resolve/lib/async.js +0 -329
  2306. data/node_modules/resolve/lib/caller.js +0 -8
  2307. data/node_modules/resolve/lib/core.js +0 -12
  2308. data/node_modules/resolve/lib/core.json +0 -158
  2309. data/node_modules/resolve/lib/homedir.js +0 -24
  2310. data/node_modules/resolve/lib/is-core.js +0 -5
  2311. data/node_modules/resolve/lib/node-modules-paths.js +0 -42
  2312. data/node_modules/resolve/lib/normalize-options.js +0 -10
  2313. data/node_modules/resolve/lib/sync.js +0 -208
  2314. data/node_modules/resolve/package.json +0 -72
  2315. data/node_modules/resolve/readme.markdown +0 -301
  2316. data/node_modules/resolve/sync.js +0 -3
  2317. data/node_modules/resolve/test/core.js +0 -88
  2318. data/node_modules/resolve/test/dotdot/abc/index.js +0 -2
  2319. data/node_modules/resolve/test/dotdot/index.js +0 -1
  2320. data/node_modules/resolve/test/dotdot.js +0 -29
  2321. data/node_modules/resolve/test/faulty_basedir.js +0 -29
  2322. data/node_modules/resolve/test/filter.js +0 -34
  2323. data/node_modules/resolve/test/filter_sync.js +0 -33
  2324. data/node_modules/resolve/test/home_paths.js +0 -127
  2325. data/node_modules/resolve/test/home_paths_sync.js +0 -114
  2326. data/node_modules/resolve/test/mock.js +0 -315
  2327. data/node_modules/resolve/test/mock_sync.js +0 -214
  2328. data/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +0 -1
  2329. data/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +0 -1
  2330. data/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +0 -1
  2331. data/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +0 -3
  2332. data/node_modules/resolve/test/module_dir.js +0 -56
  2333. data/node_modules/resolve/test/node-modules-paths.js +0 -143
  2334. data/node_modules/resolve/test/node_path/x/aaa/index.js +0 -1
  2335. data/node_modules/resolve/test/node_path/x/ccc/index.js +0 -1
  2336. data/node_modules/resolve/test/node_path/y/bbb/index.js +0 -1
  2337. data/node_modules/resolve/test/node_path/y/ccc/index.js +0 -1
  2338. data/node_modules/resolve/test/node_path.js +0 -70
  2339. data/node_modules/resolve/test/nonstring.js +0 -9
  2340. data/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  2341. data/node_modules/resolve/test/pathfilter.js +0 -75
  2342. data/node_modules/resolve/test/precedence/aaa/index.js +0 -1
  2343. data/node_modules/resolve/test/precedence/aaa/main.js +0 -1
  2344. data/node_modules/resolve/test/precedence/aaa.js +0 -1
  2345. data/node_modules/resolve/test/precedence/bbb/main.js +0 -1
  2346. data/node_modules/resolve/test/precedence/bbb.js +0 -1
  2347. data/node_modules/resolve/test/precedence.js +0 -23
  2348. data/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  2349. data/node_modules/resolve/test/resolver/baz/package.json +0 -4
  2350. data/node_modules/resolve/test/resolver/baz/quux.js +0 -1
  2351. data/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  2352. data/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  2353. data/node_modules/resolve/test/resolver/browser_field/package.json +0 -5
  2354. data/node_modules/resolve/test/resolver/cup.coffee +0 -1
  2355. data/node_modules/resolve/test/resolver/dot_main/index.js +0 -1
  2356. data/node_modules/resolve/test/resolver/dot_main/package.json +0 -3
  2357. data/node_modules/resolve/test/resolver/dot_slash_main/index.js +0 -1
  2358. data/node_modules/resolve/test/resolver/dot_slash_main/package.json +0 -3
  2359. data/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  2360. data/node_modules/resolve/test/resolver/false_main/package.json +0 -4
  2361. data/node_modules/resolve/test/resolver/foo.js +0 -1
  2362. data/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
  2363. data/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
  2364. data/node_modules/resolve/test/resolver/invalid_main/package.json +0 -7
  2365. data/node_modules/resolve/test/resolver/mug.coffee +0 -0
  2366. data/node_modules/resolve/test/resolver/mug.js +0 -0
  2367. data/node_modules/resolve/test/resolver/multirepo/lerna.json +0 -6
  2368. data/node_modules/resolve/test/resolver/multirepo/package.json +0 -20
  2369. data/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +0 -35
  2370. data/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +0 -14
  2371. data/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  2372. data/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +0 -14
  2373. data/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +0 -26
  2374. data/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +0 -15
  2375. data/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +0 -12
  2376. data/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  2377. data/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  2378. data/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
  2379. data/node_modules/resolve/test/resolver/same_names/foo/index.js +0 -1
  2380. data/node_modules/resolve/test/resolver/same_names/foo.js +0 -1
  2381. data/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  2382. data/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  2383. data/node_modules/resolve/test/resolver/symlinked/package/bar.js +0 -1
  2384. data/node_modules/resolve/test/resolver/symlinked/package/package.json +0 -3
  2385. data/node_modules/resolve/test/resolver/without_basedir/main.js +0 -5
  2386. data/node_modules/resolve/test/resolver.js +0 -597
  2387. data/node_modules/resolve/test/resolver_sync.js +0 -730
  2388. data/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  2389. data/node_modules/resolve/test/shadowed_core.js +0 -54
  2390. data/node_modules/resolve/test/subdirs.js +0 -13
  2391. data/node_modules/resolve/test/symlinks.js +0 -176
  2392. data/node_modules/semver/LICENSE +0 -15
  2393. data/node_modules/semver/README.md +0 -443
  2394. data/node_modules/semver/bin/semver.js +0 -174
  2395. data/node_modules/semver/package.json +0 -38
  2396. data/node_modules/semver/range.bnf +0 -16
  2397. data/node_modules/semver/semver.js +0 -1643
  2398. data/node_modules/shebang-command/index.js +0 -19
  2399. data/node_modules/shebang-command/license +0 -9
  2400. data/node_modules/shebang-command/package.json +0 -34
  2401. data/node_modules/shebang-command/readme.md +0 -34
  2402. data/node_modules/shebang-regex/index.d.ts +0 -22
  2403. data/node_modules/shebang-regex/index.js +0 -2
  2404. data/node_modules/shebang-regex/license +0 -9
  2405. data/node_modules/shebang-regex/package.json +0 -35
  2406. data/node_modules/shebang-regex/readme.md +0 -33
  2407. data/node_modules/source-map/CHANGELOG.md +0 -301
  2408. data/node_modules/source-map/LICENSE +0 -28
  2409. data/node_modules/source-map/README.md +0 -742
  2410. data/node_modules/source-map/dist/source-map.debug.js +0 -3234
  2411. data/node_modules/source-map/dist/source-map.js +0 -3233
  2412. data/node_modules/source-map/dist/source-map.min.js +0 -2
  2413. data/node_modules/source-map/dist/source-map.min.js.map +0 -1
  2414. data/node_modules/source-map/lib/array-set.js +0 -121
  2415. data/node_modules/source-map/lib/base64-vlq.js +0 -140
  2416. data/node_modules/source-map/lib/base64.js +0 -67
  2417. data/node_modules/source-map/lib/binary-search.js +0 -111
  2418. data/node_modules/source-map/lib/mapping-list.js +0 -79
  2419. data/node_modules/source-map/lib/quick-sort.js +0 -114
  2420. data/node_modules/source-map/lib/source-map-consumer.js +0 -1145
  2421. data/node_modules/source-map/lib/source-map-generator.js +0 -425
  2422. data/node_modules/source-map/lib/source-node.js +0 -413
  2423. data/node_modules/source-map/lib/util.js +0 -488
  2424. data/node_modules/source-map/package.json +0 -73
  2425. data/node_modules/source-map/source-map.d.ts +0 -98
  2426. data/node_modules/source-map/source-map.js +0 -8
  2427. data/node_modules/supports-color/browser.js +0 -5
  2428. data/node_modules/supports-color/index.js +0 -131
  2429. data/node_modules/supports-color/license +0 -9
  2430. data/node_modules/supports-color/package.json +0 -53
  2431. data/node_modules/supports-color/readme.md +0 -66
  2432. data/node_modules/supports-preserve-symlinks-flag/.eslintrc +0 -14
  2433. data/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +0 -12
  2434. data/node_modules/supports-preserve-symlinks-flag/.nycrc +0 -9
  2435. data/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +0 -22
  2436. data/node_modules/supports-preserve-symlinks-flag/LICENSE +0 -21
  2437. data/node_modules/supports-preserve-symlinks-flag/README.md +0 -42
  2438. data/node_modules/supports-preserve-symlinks-flag/browser.js +0 -3
  2439. data/node_modules/supports-preserve-symlinks-flag/index.js +0 -9
  2440. data/node_modules/supports-preserve-symlinks-flag/package.json +0 -70
  2441. data/node_modules/supports-preserve-symlinks-flag/test/index.js +0 -29
  2442. data/node_modules/thenify/History.md +0 -11
  2443. data/node_modules/thenify/LICENSE +0 -22
  2444. data/node_modules/thenify/README.md +0 -120
  2445. data/node_modules/thenify/index.js +0 -77
  2446. data/node_modules/thenify/package.json +0 -31
  2447. data/node_modules/thenify-all/History.md +0 -11
  2448. data/node_modules/thenify-all/LICENSE +0 -22
  2449. data/node_modules/thenify-all/README.md +0 -66
  2450. data/node_modules/thenify-all/index.js +0 -73
  2451. data/node_modules/thenify-all/package.json +0 -34
  2452. data/node_modules/to-fast-properties/index.js +0 -27
  2453. data/node_modules/to-fast-properties/license +0 -10
  2454. data/node_modules/to-fast-properties/package.json +0 -35
  2455. data/node_modules/to-fast-properties/readme.md +0 -37
  2456. data/node_modules/tslib/CopyrightNotice.txt +0 -15
  2457. data/node_modules/tslib/LICENSE.txt +0 -12
  2458. data/node_modules/tslib/README.md +0 -164
  2459. data/node_modules/tslib/SECURITY.md +0 -41
  2460. data/node_modules/tslib/modules/index.d.ts +0 -37
  2461. data/node_modules/tslib/modules/index.js +0 -68
  2462. data/node_modules/tslib/modules/package.json +0 -3
  2463. data/node_modules/tslib/package.json +0 -47
  2464. data/node_modules/tslib/tslib.d.ts +0 -453
  2465. data/node_modules/tslib/tslib.es6.html +0 -1
  2466. data/node_modules/tslib/tslib.es6.js +0 -374
  2467. data/node_modules/tslib/tslib.es6.mjs +0 -373
  2468. data/node_modules/tslib/tslib.html +0 -1
  2469. data/node_modules/tslib/tslib.js +0 -424
  2470. data/node_modules/update-browserslist-db/.devcontainer.json +0 -42
  2471. data/node_modules/update-browserslist-db/LICENSE +0 -20
  2472. data/node_modules/update-browserslist-db/README.md +0 -22
  2473. data/node_modules/update-browserslist-db/check-npm-version.js +0 -17
  2474. data/node_modules/update-browserslist-db/cli.js +0 -42
  2475. data/node_modules/update-browserslist-db/index.d.ts +0 -6
  2476. data/node_modules/update-browserslist-db/index.js +0 -333
  2477. data/node_modules/update-browserslist-db/node_modules/.bin/browserslist +0 -1
  2478. data/node_modules/update-browserslist-db/package.json +0 -40
  2479. data/node_modules/update-browserslist-db/utils.js +0 -25
  2480. data/node_modules/which/CHANGELOG.md +0 -166
  2481. data/node_modules/which/LICENSE +0 -15
  2482. data/node_modules/which/README.md +0 -54
  2483. data/node_modules/which/bin/node-which +0 -52
  2484. data/node_modules/which/package.json +0 -43
  2485. data/node_modules/which/which.js +0 -125
  2486. data/node_modules/yallist/LICENSE +0 -15
  2487. data/node_modules/yallist/README.md +0 -204
  2488. data/node_modules/yallist/iterator.js +0 -8
  2489. data/node_modules/yallist/package.json +0 -29
  2490. data/node_modules/yallist/yallist.js +0 -426
  2491. data/yarn.lock +0 -710
@@ -1,3557 +0,0 @@
1
- // src/parser.ts
2
- import lex from "coffee-lex";
3
-
4
- // src/ext/coffee-script.ts
5
- import {
6
- Base as CS1Base,
7
- Op as CS1Op
8
- } from "decaffeinate-coffeescript/lib/coffee-script/nodes.js";
9
- import { Base, Op } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
10
- function patchCoffeeScript() {
11
- CS1Op.prototype.invert = invert;
12
- CS1Base.prototype.invert = invert;
13
- Op.prototype.invert = invert;
14
- Base.prototype.invert = invert;
15
- }
16
- function invert() {
17
- this.inverted = !this.inverted;
18
- return this;
19
- }
20
-
21
- // src/nodes.ts
22
- var Node = class {
23
- constructor(type, line, column, start, end, raw) {
24
- this.type = type;
25
- this.line = line;
26
- this.column = column;
27
- this.start = start;
28
- this.end = end;
29
- this.raw = raw;
30
- this.parentNode = null;
31
- }
32
- getChildren() {
33
- const children = [];
34
- for (const childField of this.getChildFields()) {
35
- if (Array.isArray(childField)) {
36
- children.push(...childField.filter((node) => node !== null));
37
- } else if (childField) {
38
- children.push(childField);
39
- }
40
- }
41
- return children;
42
- }
43
- getChildFields() {
44
- return this.getChildNames().map((name) => this[name]);
45
- }
46
- };
47
- var Identifier = class extends Node {
48
- constructor(line, column, start, end, raw, data) {
49
- super("Identifier", line, column, start, end, raw);
50
- this.data = data;
51
- }
52
- getChildNames() {
53
- return [];
54
- }
55
- };
56
- var Bool = class extends Node {
57
- constructor(line, column, start, end, raw, data) {
58
- super("Bool", line, column, start, end, raw);
59
- this.data = data;
60
- }
61
- static true() {
62
- return new Bool(0, 0, 0, 0, "", true);
63
- }
64
- static false() {
65
- return new Bool(0, 0, 0, 0, "", false);
66
- }
67
- getChildNames() {
68
- return [];
69
- }
70
- };
71
- var JavaScript = class extends Node {
72
- constructor(line, column, start, end, raw, data) {
73
- super("JavaScript", line, column, start, end, raw);
74
- this.data = data;
75
- }
76
- getChildNames() {
77
- return [];
78
- }
79
- };
80
- var Number = class extends Node {
81
- constructor(type, line, column, start, end, raw, data) {
82
- super(type, line, column, start, end, raw);
83
- this.data = data;
84
- }
85
- getChildNames() {
86
- return [];
87
- }
88
- };
89
- var Float = class extends Number {
90
- constructor(line, column, start, end, raw, data) {
91
- super("Float", line, column, start, end, raw, data);
92
- }
93
- };
94
- var Int = class extends Number {
95
- constructor(line, column, start, end, raw, data) {
96
- super("Int", line, column, start, end, raw, data);
97
- }
98
- };
99
- var AccessOp = class extends Node {
100
- constructor(type, line, column, start, end, raw, expression) {
101
- super(type, line, column, start, end, raw);
102
- this.expression = expression;
103
- }
104
- };
105
- var MemberAccessOp = class extends AccessOp {
106
- constructor(line, column, start, end, raw, expression, member) {
107
- super("MemberAccessOp", line, column, start, end, raw, expression);
108
- this.member = member;
109
- }
110
- getChildNames() {
111
- return ["expression", "member"];
112
- }
113
- };
114
- var ProtoMemberAccessOp = class extends AccessOp {
115
- constructor(line, column, start, end, raw, expression) {
116
- super("ProtoMemberAccessOp", line, column, start, end, raw, expression);
117
- }
118
- getChildNames() {
119
- return ["expression"];
120
- }
121
- };
122
- var SoakedMemberAccessOp = class extends AccessOp {
123
- constructor(line, column, start, end, raw, expression, member) {
124
- super("SoakedMemberAccessOp", line, column, start, end, raw, expression);
125
- this.member = member;
126
- }
127
- getChildNames() {
128
- return ["expression", "member"];
129
- }
130
- };
131
- var SoakedProtoMemberAccessOp = class extends AccessOp {
132
- constructor(line, column, start, end, raw, expression) {
133
- super("SoakedProtoMemberAccessOp", line, column, start, end, raw, expression);
134
- }
135
- getChildNames() {
136
- return ["expression"];
137
- }
138
- };
139
- var DynamicMemberAccessOp = class extends AccessOp {
140
- constructor(line, column, start, end, raw, expression, indexingExpr) {
141
- super("DynamicMemberAccessOp", line, column, start, end, raw, expression);
142
- this.indexingExpr = indexingExpr;
143
- }
144
- getChildNames() {
145
- return ["expression", "indexingExpr"];
146
- }
147
- };
148
- var SoakedDynamicMemberAccessOp = class extends AccessOp {
149
- constructor(line, column, start, end, raw, expression, indexingExpr) {
150
- super("SoakedDynamicMemberAccessOp", line, column, start, end, raw, expression);
151
- this.indexingExpr = indexingExpr;
152
- }
153
- getChildNames() {
154
- return ["expression", "indexingExpr"];
155
- }
156
- };
157
- var Quasi = class extends Node {
158
- constructor(line, column, start, end, raw, data) {
159
- super("Quasi", line, column, start, end, raw);
160
- this.data = data;
161
- }
162
- getChildNames() {
163
- return [];
164
- }
165
- };
166
- var String = class extends Node {
167
- constructor(line, column, start, end, raw, quasis, expressions) {
168
- super("String", line, column, start, end, raw);
169
- this.quasis = quasis;
170
- this.expressions = expressions;
171
- }
172
- getChildNames() {
173
- return ["quasis", "expressions"];
174
- }
175
- };
176
- var TaggedTemplateLiteral = class extends Node {
177
- constructor(line, column, start, end, raw, tag, template) {
178
- super("TaggedTemplateLiteral", line, column, start, end, raw);
179
- this.tag = tag;
180
- this.template = template;
181
- }
182
- getChildNames() {
183
- return ["tag", "template"];
184
- }
185
- };
186
- var ObjectInitialiser = class extends Node {
187
- constructor(line, column, start, end, raw, members) {
188
- super("ObjectInitialiser", line, column, start, end, raw);
189
- this.members = members;
190
- }
191
- getChildNames() {
192
- return ["members"];
193
- }
194
- };
195
- var ObjectInitialiserMember = class extends Node {
196
- constructor(line, column, start, end, raw, key, expression, isComputed) {
197
- super("ObjectInitialiserMember", line, column, start, end, raw);
198
- this.key = key;
199
- this.expression = expression;
200
- this.isComputed = isComputed;
201
- }
202
- getChildNames() {
203
- return ["key", "expression"];
204
- }
205
- };
206
- var Conditional = class extends Node {
207
- constructor(line, column, start, end, raw, condition, consequent, alternate, isUnless) {
208
- super("Conditional", line, column, start, end, raw);
209
- this.condition = condition;
210
- this.consequent = consequent;
211
- this.alternate = alternate;
212
- this.isUnless = isUnless;
213
- }
214
- getChildNames() {
215
- return ["condition", "consequent", "alternate"];
216
- }
217
- };
218
- var Program = class extends Node {
219
- constructor(line, column, start, end, raw, body, context) {
220
- super("Program", line, column, start, end, raw);
221
- this.body = body;
222
- this.context = context;
223
- }
224
- getChildNames() {
225
- return ["body"];
226
- }
227
- };
228
- var Block = class extends Node {
229
- constructor(line, column, start, end, raw, statements, inline) {
230
- super("Block", line, column, start, end, raw);
231
- this.statements = statements;
232
- this.inline = inline;
233
- }
234
- getChildNames() {
235
- return ["statements"];
236
- }
237
- withInline(inline) {
238
- return new Block(this.line, this.column, this.start, this.end, this.raw, this.statements, inline);
239
- }
240
- };
241
- var Loop = class extends Node {
242
- constructor(line, column, start, end, raw, body) {
243
- super("Loop", line, column, start, end, raw);
244
- this.body = body;
245
- }
246
- getChildNames() {
247
- return ["body"];
248
- }
249
- };
250
- var While = class extends Node {
251
- constructor(line, column, start, end, raw, condition, guard, body, isUntil) {
252
- super("While", line, column, start, end, raw);
253
- this.condition = condition;
254
- this.guard = guard;
255
- this.body = body;
256
- this.isUntil = isUntil;
257
- }
258
- getChildNames() {
259
- return ["condition", "guard", "body"];
260
- }
261
- };
262
- var For = class extends Node {
263
- constructor(type, line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body) {
264
- super(type, line, column, start, end, raw);
265
- this.keyAssignee = keyAssignee;
266
- this.valAssignee = valAssignee;
267
- this.target = target;
268
- this.filter = filter;
269
- this.body = body;
270
- }
271
- };
272
- var ForOf = class extends For {
273
- constructor(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, isOwn) {
274
- super("ForOf", line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body);
275
- this.isOwn = isOwn;
276
- }
277
- getChildNames() {
278
- return ["keyAssignee", "valAssignee", "target", "filter", "body"];
279
- }
280
- };
281
- var ForIn = class extends For {
282
- constructor(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, step) {
283
- super("ForIn", line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body);
284
- this.step = step;
285
- }
286
- getChildNames() {
287
- return ["keyAssignee", "valAssignee", "target", "step", "filter", "body"];
288
- }
289
- };
290
- var ForFrom = class extends For {
291
- constructor(line, column, start, end, raw, valAssignee, target, filter, body) {
292
- super("ForFrom", line, column, start, end, raw, null, valAssignee, target, filter, body);
293
- }
294
- getChildNames() {
295
- return ["keyAssignee", "valAssignee", "target", "filter", "body"];
296
- }
297
- };
298
- var Switch = class extends Node {
299
- constructor(line, column, start, end, raw, expression, cases, alternate) {
300
- super("Switch", line, column, start, end, raw);
301
- this.expression = expression;
302
- this.cases = cases;
303
- this.alternate = alternate;
304
- }
305
- getChildNames() {
306
- return ["expression", "cases", "alternate"];
307
- }
308
- };
309
- var SwitchCase = class extends Node {
310
- constructor(line, column, start, end, raw, conditions, consequent) {
311
- super("SwitchCase", line, column, start, end, raw);
312
- this.conditions = conditions;
313
- this.consequent = consequent;
314
- }
315
- getChildNames() {
316
- return ["conditions", "consequent"];
317
- }
318
- };
319
- var RegexFlags = class {
320
- constructor(global, ignoreCase, multiline, unicode, sticky) {
321
- this.global = global;
322
- this.ignoreCase = ignoreCase;
323
- this.multiline = multiline;
324
- this.unicode = unicode;
325
- this.sticky = sticky;
326
- this.g = global;
327
- this.i = ignoreCase;
328
- this.m = multiline;
329
- this.u = unicode;
330
- this.y = sticky;
331
- }
332
- static parse(flags) {
333
- let global = false;
334
- let ignoreCase = false;
335
- let multiline = false;
336
- let unicode = false;
337
- let sticky = false;
338
- for (let i = 0; i < flags.length; i++) {
339
- switch (flags.charCodeAt(i)) {
340
- case 103:
341
- global = true;
342
- break;
343
- case 105:
344
- ignoreCase = true;
345
- break;
346
- case 109:
347
- multiline = true;
348
- break;
349
- case 117:
350
- unicode = true;
351
- break;
352
- case 121:
353
- sticky = true;
354
- break;
355
- default:
356
- throw new Error(`invalid regular expression flags: ${flags}`);
357
- }
358
- }
359
- return new RegexFlags(global, ignoreCase, multiline, unicode, sticky);
360
- }
361
- };
362
- var Heregex = class extends Node {
363
- constructor(line, column, start, end, raw, quasis, expressions, flags) {
364
- super("Heregex", line, column, start, end, raw);
365
- this.quasis = quasis;
366
- this.expressions = expressions;
367
- this.flags = flags;
368
- }
369
- getChildNames() {
370
- return ["quasis", "expressions"];
371
- }
372
- };
373
- var Null = class extends Node {
374
- constructor(line, column, start, end, raw) {
375
- super("Null", line, column, start, end, raw);
376
- }
377
- getChildNames() {
378
- return [];
379
- }
380
- };
381
- var Undefined = class extends Node {
382
- constructor(line, column, start, end, raw) {
383
- super("Undefined", line, column, start, end, raw);
384
- }
385
- getChildNames() {
386
- return [];
387
- }
388
- };
389
- var Regex = class extends Node {
390
- constructor(line, column, start, end, raw, pattern, flags) {
391
- super("Regex", line, column, start, end, raw);
392
- this.pattern = pattern;
393
- this.flags = flags;
394
- }
395
- getChildNames() {
396
- return [];
397
- }
398
- };
399
- var Return = class extends Node {
400
- constructor(line, column, start, end, raw, expression) {
401
- super("Return", line, column, start, end, raw);
402
- this.expression = expression;
403
- }
404
- getChildNames() {
405
- return ["expression"];
406
- }
407
- };
408
- var YieldReturn = class extends Node {
409
- constructor(line, column, start, end, raw, expression) {
410
- super("YieldReturn", line, column, start, end, raw);
411
- this.expression = expression;
412
- }
413
- getChildNames() {
414
- return ["expression"];
415
- }
416
- };
417
- var AwaitReturn = class extends Node {
418
- constructor(line, column, start, end, raw, expression) {
419
- super("AwaitReturn", line, column, start, end, raw);
420
- this.expression = expression;
421
- }
422
- getChildNames() {
423
- return ["expression"];
424
- }
425
- };
426
- var This = class extends Node {
427
- constructor(line, column, start, end, raw) {
428
- super("This", line, column, start, end, raw);
429
- }
430
- getChildNames() {
431
- return [];
432
- }
433
- };
434
- var Throw = class extends Node {
435
- constructor(line, column, start, end, raw, expression) {
436
- super("Throw", line, column, start, end, raw);
437
- this.expression = expression;
438
- }
439
- getChildNames() {
440
- return ["expression"];
441
- }
442
- };
443
- var ArrayInitialiser = class extends Node {
444
- constructor(line, column, start, end, raw, members) {
445
- super("ArrayInitialiser", line, column, start, end, raw);
446
- this.members = members;
447
- }
448
- getChildNames() {
449
- return ["members"];
450
- }
451
- };
452
- var DefaultParam = class extends Node {
453
- constructor(line, column, start, end, raw, param, defaultValue) {
454
- super("DefaultParam", line, column, start, end, raw);
455
- this.param = param;
456
- this.default = defaultValue;
457
- }
458
- getChildNames() {
459
- return ["param", "default"];
460
- }
461
- };
462
- var Rest = class extends Node {
463
- constructor(line, column, start, end, raw, expression) {
464
- super("Rest", line, column, start, end, raw);
465
- this.expression = expression;
466
- }
467
- getChildNames() {
468
- return ["expression"];
469
- }
470
- };
471
- var Expansion = class extends Node {
472
- constructor(line, column, start, end, raw) {
473
- super("Expansion", line, column, start, end, raw);
474
- }
475
- getChildNames() {
476
- return [];
477
- }
478
- };
479
- var Elision = class extends Node {
480
- constructor(line, column, start, end, raw) {
481
- super("Elision", line, column, start, end, raw);
482
- }
483
- getChildNames() {
484
- return [];
485
- }
486
- };
487
- var Break = class extends Node {
488
- constructor(line, column, start, end, raw) {
489
- super("Break", line, column, start, end, raw);
490
- }
491
- getChildNames() {
492
- return [];
493
- }
494
- };
495
- var Continue = class extends Node {
496
- constructor(line, column, start, end, raw) {
497
- super("Continue", line, column, start, end, raw);
498
- }
499
- getChildNames() {
500
- return [];
501
- }
502
- };
503
- var Debugger = class extends Node {
504
- constructor(line, column, start, end, raw) {
505
- super("Debugger", line, column, start, end, raw);
506
- }
507
- getChildNames() {
508
- return [];
509
- }
510
- };
511
- var Spread = class extends Node {
512
- constructor(line, column, start, end, raw, expression) {
513
- super("Spread", line, column, start, end, raw);
514
- this.expression = expression;
515
- }
516
- getChildNames() {
517
- return ["expression"];
518
- }
519
- };
520
- var Range = class extends Node {
521
- constructor(line, column, start, end, raw, left, right, isInclusive) {
522
- super("Range", line, column, start, end, raw);
523
- this.left = left;
524
- this.right = right;
525
- this.isInclusive = isInclusive;
526
- }
527
- getChildNames() {
528
- return ["left", "right"];
529
- }
530
- };
531
- var BinaryOp = class extends Node {
532
- constructor(type, line, column, start, end, raw, left, right) {
533
- super(type, line, column, start, end, raw);
534
- this.left = left;
535
- this.right = right;
536
- }
537
- getChildNames() {
538
- return ["left", "right"];
539
- }
540
- };
541
- var UnaryOp = class extends Node {
542
- constructor(type, line, column, start, end, raw, expression) {
543
- super(type, line, column, start, end, raw);
544
- this.expression = expression;
545
- }
546
- getChildNames() {
547
- return ["expression"];
548
- }
549
- };
550
- var ChainedComparisonOp = class extends Node {
551
- constructor(line, column, start, end, raw, operands, operators) {
552
- super("ChainedComparisonOp", line, column, start, end, raw);
553
- this.operands = operands;
554
- this.operators = operators;
555
- }
556
- getChildNames() {
557
- return ["operands"];
558
- }
559
- };
560
- var OperatorInfo = class {
561
- constructor(operator, token) {
562
- this.operator = operator;
563
- this.token = token;
564
- }
565
- };
566
- var EQOp = class extends BinaryOp {
567
- constructor(line, column, start, end, raw, left, right) {
568
- super("EQOp", line, column, start, end, raw, left, right);
569
- }
570
- };
571
- var NEQOp = class extends BinaryOp {
572
- constructor(line, column, start, end, raw, left, right) {
573
- super("NEQOp", line, column, start, end, raw, left, right);
574
- }
575
- };
576
- var LTOp = class extends BinaryOp {
577
- constructor(line, column, start, end, raw, left, right) {
578
- super("LTOp", line, column, start, end, raw, left, right);
579
- }
580
- };
581
- var LTEOp = class extends BinaryOp {
582
- constructor(line, column, start, end, raw, left, right) {
583
- super("LTEOp", line, column, start, end, raw, left, right);
584
- }
585
- };
586
- var GTOp = class extends BinaryOp {
587
- constructor(line, column, start, end, raw, left, right) {
588
- super("GTOp", line, column, start, end, raw, left, right);
589
- }
590
- };
591
- var GTEOp = class extends BinaryOp {
592
- constructor(line, column, start, end, raw, left, right) {
593
- super("GTEOp", line, column, start, end, raw, left, right);
594
- }
595
- };
596
- var LogicalNotOp = class extends UnaryOp {
597
- constructor(line, column, start, end, raw, expression) {
598
- super("LogicalNotOp", line, column, start, end, raw, expression);
599
- }
600
- };
601
- var LogicalAndOp = class extends BinaryOp {
602
- constructor(line, column, start, end, raw, left, right) {
603
- super("LogicalAndOp", line, column, start, end, raw, left, right);
604
- }
605
- };
606
- var LogicalOrOp = class extends BinaryOp {
607
- constructor(line, column, start, end, raw, left, right) {
608
- super("LogicalOrOp", line, column, start, end, raw, left, right);
609
- }
610
- };
611
- var SubtractOp = class extends BinaryOp {
612
- constructor(line, column, start, end, raw, left, right) {
613
- super("SubtractOp", line, column, start, end, raw, left, right);
614
- }
615
- };
616
- var PlusOp = class extends BinaryOp {
617
- constructor(line, column, start, end, raw, left, right) {
618
- super("PlusOp", line, column, start, end, raw, left, right);
619
- }
620
- };
621
- var UnaryPlusOp = class extends UnaryOp {
622
- constructor(line, column, start, end, raw, expression) {
623
- super("UnaryPlusOp", line, column, start, end, raw, expression);
624
- }
625
- };
626
- var MultiplyOp = class extends BinaryOp {
627
- constructor(line, column, start, end, raw, left, right) {
628
- super("MultiplyOp", line, column, start, end, raw, left, right);
629
- }
630
- };
631
- var DivideOp = class extends BinaryOp {
632
- constructor(line, column, start, end, raw, left, right) {
633
- super("DivideOp", line, column, start, end, raw, left, right);
634
- }
635
- };
636
- var FloorDivideOp = class extends BinaryOp {
637
- constructor(line, column, start, end, raw, left, right) {
638
- super("FloorDivideOp", line, column, start, end, raw, left, right);
639
- }
640
- };
641
- var ExistsOp = class extends BinaryOp {
642
- constructor(line, column, start, end, raw, left, right) {
643
- super("ExistsOp", line, column, start, end, raw, left, right);
644
- }
645
- };
646
- var UnaryExistsOp = class extends UnaryOp {
647
- constructor(line, column, start, end, raw, expression) {
648
- super("UnaryExistsOp", line, column, start, end, raw, expression);
649
- }
650
- };
651
- var UnaryNegateOp = class extends UnaryOp {
652
- constructor(line, column, start, end, raw, expression) {
653
- super("UnaryNegateOp", line, column, start, end, raw, expression);
654
- }
655
- };
656
- var BitNotOp = class extends UnaryOp {
657
- constructor(line, column, start, end, raw, expression) {
658
- super("BitNotOp", line, column, start, end, raw, expression);
659
- }
660
- };
661
- var BitAndOp = class extends BinaryOp {
662
- constructor(line, column, start, end, raw, left, right) {
663
- super("BitAndOp", line, column, start, end, raw, left, right);
664
- }
665
- };
666
- var BitOrOp = class extends BinaryOp {
667
- constructor(line, column, start, end, raw, left, right) {
668
- super("BitOrOp", line, column, start, end, raw, left, right);
669
- }
670
- };
671
- var BitXorOp = class extends BinaryOp {
672
- constructor(line, column, start, end, raw, left, right) {
673
- super("BitXorOp", line, column, start, end, raw, left, right);
674
- }
675
- };
676
- var LeftShiftOp = class extends BinaryOp {
677
- constructor(line, column, start, end, raw, left, right) {
678
- super("LeftShiftOp", line, column, start, end, raw, left, right);
679
- }
680
- };
681
- var SignedRightShiftOp = class extends BinaryOp {
682
- constructor(line, column, start, end, raw, left, right) {
683
- super("SignedRightShiftOp", line, column, start, end, raw, left, right);
684
- }
685
- };
686
- var UnsignedRightShiftOp = class extends BinaryOp {
687
- constructor(line, column, start, end, raw, left, right) {
688
- super("UnsignedRightShiftOp", line, column, start, end, raw, left, right);
689
- }
690
- };
691
- var PreDecrementOp = class extends UnaryOp {
692
- constructor(line, column, start, end, raw, expression) {
693
- super("PreDecrementOp", line, column, start, end, raw, expression);
694
- }
695
- };
696
- var PreIncrementOp = class extends UnaryOp {
697
- constructor(line, column, start, end, raw, expression) {
698
- super("PreIncrementOp", line, column, start, end, raw, expression);
699
- }
700
- };
701
- var PostDecrementOp = class extends UnaryOp {
702
- constructor(line, column, start, end, raw, expression) {
703
- super("PostDecrementOp", line, column, start, end, raw, expression);
704
- }
705
- };
706
- var PostIncrementOp = class extends UnaryOp {
707
- constructor(line, column, start, end, raw, expression) {
708
- super("PostIncrementOp", line, column, start, end, raw, expression);
709
- }
710
- };
711
- var ExpOp = class extends BinaryOp {
712
- constructor(line, column, start, end, raw, left, right) {
713
- super("ExpOp", line, column, start, end, raw, left, right);
714
- }
715
- };
716
- var RemOp = class extends BinaryOp {
717
- constructor(line, column, start, end, raw, left, right) {
718
- super("RemOp", line, column, start, end, raw, left, right);
719
- }
720
- };
721
- var ModuloOp = class extends BinaryOp {
722
- constructor(line, column, start, end, raw, left, right) {
723
- super("ModuloOp", line, column, start, end, raw, left, right);
724
- }
725
- };
726
- var InOp = class extends BinaryOp {
727
- constructor(line, column, start, end, raw, left, right, isNot) {
728
- super("InOp", line, column, start, end, raw, left, right);
729
- this.isNot = isNot;
730
- }
731
- };
732
- var BaseAssignOp = class extends Node {
733
- constructor(type, line, column, start, end, raw, assignee, expression) {
734
- super(type, line, column, start, end, raw);
735
- this.assignee = assignee;
736
- this.expression = expression;
737
- }
738
- getChildNames() {
739
- return ["assignee", "expression"];
740
- }
741
- };
742
- var AssignOp = class extends BaseAssignOp {
743
- constructor(line, column, start, end, raw, assignee, expression) {
744
- super("AssignOp", line, column, start, end, raw, assignee, expression);
745
- }
746
- withExpression(expression) {
747
- return new AssignOp(this.line, this.column, this.start, this.end, this.raw, this.assignee, expression);
748
- }
749
- };
750
- var CompoundAssignOp = class extends BaseAssignOp {
751
- constructor(line, column, start, end, raw, assignee, expression, op) {
752
- super("CompoundAssignOp", line, column, start, end, raw, assignee, expression);
753
- this.op = op;
754
- }
755
- };
756
- var ExtendsOp = class extends BinaryOp {
757
- constructor(line, column, start, end, raw, left, right) {
758
- super("ExtendsOp", line, column, start, end, raw, left, right);
759
- }
760
- };
761
- var SeqOp = class extends BinaryOp {
762
- constructor(line, column, start, end, raw, left, right) {
763
- super("SeqOp", line, column, start, end, raw, left, right);
764
- }
765
- };
766
- var TypeofOp = class extends UnaryOp {
767
- constructor(line, column, start, end, raw, expression) {
768
- super("TypeofOp", line, column, start, end, raw, expression);
769
- }
770
- };
771
- var InstanceofOp = class extends BinaryOp {
772
- constructor(line, column, start, end, raw, left, right, isNot) {
773
- super("InstanceofOp", line, column, start, end, raw, left, right);
774
- this.isNot = isNot;
775
- }
776
- };
777
- var OfOp = class extends BinaryOp {
778
- constructor(line, column, start, end, raw, left, right, isNot) {
779
- super("OfOp", line, column, start, end, raw, left, right);
780
- this.isNot = isNot;
781
- }
782
- };
783
- var DeleteOp = class extends UnaryOp {
784
- constructor(line, column, start, end, raw, expression) {
785
- super("DeleteOp", line, column, start, end, raw, expression);
786
- }
787
- };
788
- var Yield = class extends Node {
789
- constructor(line, column, start, end, raw, expression) {
790
- super("Yield", line, column, start, end, raw);
791
- this.expression = expression;
792
- }
793
- getChildNames() {
794
- return ["expression"];
795
- }
796
- };
797
- var YieldFrom = class extends Node {
798
- constructor(line, column, start, end, raw, expression) {
799
- super("YieldFrom", line, column, start, end, raw);
800
- this.expression = expression;
801
- }
802
- getChildNames() {
803
- return ["expression"];
804
- }
805
- };
806
- var Await = class extends Node {
807
- constructor(line, column, start, end, raw, expression) {
808
- super("Await", line, column, start, end, raw);
809
- this.expression = expression;
810
- }
811
- getChildNames() {
812
- return ["expression"];
813
- }
814
- };
815
- var Slice = class extends Node {
816
- constructor(line, column, start, end, raw, expression, left, right, isInclusive) {
817
- super("Slice", line, column, start, end, raw);
818
- this.expression = expression;
819
- this.left = left;
820
- this.right = right;
821
- this.isInclusive = isInclusive;
822
- }
823
- getChildNames() {
824
- return ["expression", "left", "right"];
825
- }
826
- };
827
- var SoakedSlice = class extends Node {
828
- constructor(line, column, start, end, raw, expression, left, right, isInclusive) {
829
- super("SoakedSlice", line, column, start, end, raw);
830
- this.expression = expression;
831
- this.left = left;
832
- this.right = right;
833
- this.isInclusive = isInclusive;
834
- }
835
- getChildNames() {
836
- return ["expression", "left", "right"];
837
- }
838
- };
839
- var BaseFunction = class extends Node {
840
- constructor(type, line, column, start, end, raw, parameters, body) {
841
- super(type, line, column, start, end, raw);
842
- this.parameters = parameters;
843
- this.body = body;
844
- }
845
- getChildNames() {
846
- return ["parameters", "body"];
847
- }
848
- };
849
- var Function = class extends BaseFunction {
850
- constructor(line, column, start, end, raw, parameters, body) {
851
- super("Function", line, column, start, end, raw, parameters, body);
852
- }
853
- withParameters(parameters) {
854
- return new Function(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
855
- }
856
- };
857
- var BoundFunction = class extends BaseFunction {
858
- constructor(line, column, start, end, raw, parameters, body) {
859
- super("BoundFunction", line, column, start, end, raw, parameters, body);
860
- }
861
- withParameters(parameters) {
862
- return new BoundFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
863
- }
864
- };
865
- var GeneratorFunction = class extends BaseFunction {
866
- constructor(line, column, start, end, raw, parameters, body) {
867
- super("GeneratorFunction", line, column, start, end, raw, parameters, body);
868
- }
869
- withParameters(parameters) {
870
- return new GeneratorFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
871
- }
872
- };
873
- var BoundGeneratorFunction = class extends BaseFunction {
874
- constructor(line, column, start, end, raw, parameters, body) {
875
- super("BoundGeneratorFunction", line, column, start, end, raw, parameters, body);
876
- }
877
- withParameters(parameters) {
878
- return new BoundGeneratorFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
879
- }
880
- };
881
- var AsyncFunction = class extends BaseFunction {
882
- constructor(line, column, start, end, raw, parameters, body) {
883
- super("AsyncFunction", line, column, start, end, raw, parameters, body);
884
- }
885
- withParameters(parameters) {
886
- return new AsyncFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
887
- }
888
- };
889
- var BoundAsyncFunction = class extends BaseFunction {
890
- constructor(line, column, start, end, raw, parameters, body) {
891
- super("BoundAsyncFunction", line, column, start, end, raw, parameters, body);
892
- }
893
- withParameters(parameters) {
894
- return new BoundAsyncFunction(this.line, this.column, this.start, this.end, this.raw, parameters, this.body);
895
- }
896
- };
897
- var Try = class extends Node {
898
- constructor(line, column, start, end, raw, body, catchAssignee, catchBody, finallyBody) {
899
- super("Try", line, column, start, end, raw);
900
- this.body = body;
901
- this.catchAssignee = catchAssignee;
902
- this.catchBody = catchBody;
903
- this.finallyBody = finallyBody;
904
- }
905
- getChildNames() {
906
- return ["body", "catchAssignee", "catchBody", "finallyBody"];
907
- }
908
- };
909
- var Constructor = class extends BaseAssignOp {
910
- constructor(line, column, start, end, raw, assignee, expression) {
911
- super("Constructor", line, column, start, end, raw, assignee, expression);
912
- }
913
- };
914
- var ClassProtoAssignOp = class extends BaseAssignOp {
915
- constructor(line, column, start, end, raw, assignee, expression) {
916
- super("ClassProtoAssignOp", line, column, start, end, raw, assignee, expression);
917
- }
918
- };
919
- var Class = class extends Node {
920
- constructor(line, column, start, end, raw, nameAssignee, name, body, boundMembers, parent, ctor) {
921
- super("Class", line, column, start, end, raw);
922
- this.nameAssignee = nameAssignee;
923
- this.name = name;
924
- this.body = body;
925
- this.boundMembers = boundMembers;
926
- this.parent = parent;
927
- this.ctor = ctor;
928
- }
929
- getChildNames() {
930
- return ["nameAssignee", "parent", "body"];
931
- }
932
- };
933
- var FunctionApplication = class extends Node {
934
- constructor(line, column, start, end, raw, fn, args) {
935
- super("FunctionApplication", line, column, start, end, raw);
936
- this.function = fn;
937
- this.arguments = args;
938
- }
939
- getChildNames() {
940
- return ["function", "arguments"];
941
- }
942
- };
943
- var SoakedFunctionApplication = class extends Node {
944
- constructor(line, column, start, end, raw, fn, args) {
945
- super("SoakedFunctionApplication", line, column, start, end, raw);
946
- this.function = fn;
947
- this.arguments = args;
948
- }
949
- getChildNames() {
950
- return ["function", "arguments"];
951
- }
952
- };
953
- var Super = class extends Node {
954
- constructor(line, column, start, end, raw) {
955
- super("Super", line, column, start, end, raw);
956
- }
957
- getChildNames() {
958
- return [];
959
- }
960
- };
961
- var BareSuperFunctionApplication = class extends Node {
962
- constructor(line, column, start, end, raw) {
963
- super("BareSuperFunctionApplication", line, column, start, end, raw);
964
- }
965
- getChildNames() {
966
- return [];
967
- }
968
- };
969
- var NewOp = class extends Node {
970
- constructor(line, column, start, end, raw, ctor, args) {
971
- super("NewOp", line, column, start, end, raw);
972
- this.ctor = ctor;
973
- this.arguments = args;
974
- }
975
- getChildNames() {
976
- return ["ctor", "arguments"];
977
- }
978
- };
979
- var SoakedNewOp = class extends Node {
980
- constructor(line, column, start, end, raw, ctor, args) {
981
- super("SoakedNewOp", line, column, start, end, raw);
982
- this.ctor = ctor;
983
- this.arguments = args;
984
- }
985
- getChildNames() {
986
- return ["ctor", "arguments"];
987
- }
988
- };
989
- var DoOp = class extends Node {
990
- constructor(line, column, start, end, raw, expression) {
991
- super("DoOp", line, column, start, end, raw);
992
- this.expression = expression;
993
- }
994
- getChildNames() {
995
- return ["expression"];
996
- }
997
- };
998
- var ImportDeclaration = class extends Node {
999
- constructor(line, column, start, end, raw, defaultBinding, namespaceImport, namedImports, source) {
1000
- super("ImportDeclaration", line, column, start, end, raw);
1001
- this.defaultBinding = defaultBinding;
1002
- this.namespaceImport = namespaceImport;
1003
- this.namedImports = namedImports;
1004
- this.source = source;
1005
- }
1006
- getChildNames() {
1007
- return ["defaultBinding", "namespaceImport", "namedImports", "source"];
1008
- }
1009
- };
1010
- var ExportNamedDeclaration = class extends Node {
1011
- constructor(line, column, start, end, raw, expression) {
1012
- super("ExportNamedDeclaration", line, column, start, end, raw);
1013
- this.expression = expression;
1014
- }
1015
- getChildNames() {
1016
- return ["expression"];
1017
- }
1018
- };
1019
- var ExportBindingsDeclaration = class extends Node {
1020
- constructor(line, column, start, end, raw, namedExports, source) {
1021
- super("ExportBindingsDeclaration", line, column, start, end, raw);
1022
- this.namedExports = namedExports;
1023
- this.source = source;
1024
- }
1025
- getChildNames() {
1026
- return ["namedExports", "source"];
1027
- }
1028
- };
1029
- var ExportDefaultDeclaration = class extends Node {
1030
- constructor(line, column, start, end, raw, expression) {
1031
- super("ExportDefaultDeclaration", line, column, start, end, raw);
1032
- this.expression = expression;
1033
- }
1034
- getChildNames() {
1035
- return ["expression"];
1036
- }
1037
- };
1038
- var ExportAllDeclaration = class extends Node {
1039
- constructor(line, column, start, end, raw, source) {
1040
- super("ExportAllDeclaration", line, column, start, end, raw);
1041
- this.source = source;
1042
- }
1043
- getChildNames() {
1044
- return ["source"];
1045
- }
1046
- };
1047
- var ModuleSpecifier = class extends Node {
1048
- constructor(line, column, start, end, raw, original, alias) {
1049
- super("ModuleSpecifier", line, column, start, end, raw);
1050
- this.original = original;
1051
- this.alias = alias;
1052
- }
1053
- getChildNames() {
1054
- return ["original", "alias"];
1055
- }
1056
- };
1057
- var CSXElement = class extends Node {
1058
- constructor(line, column, start, end, raw, properties, children) {
1059
- super("CSXElement", line, column, start, end, raw);
1060
- this.properties = properties;
1061
- this.children = children;
1062
- }
1063
- getChildNames() {
1064
- return ["properties", "children"];
1065
- }
1066
- };
1067
-
1068
- // src/util/isCommentOnlyNode.ts
1069
- import {
1070
- PassthroughLiteral,
1071
- Value
1072
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1073
- function isCommentOnlyNode(base) {
1074
- return base instanceof Value && base.base instanceof PassthroughLiteral && base.base.value === "";
1075
- }
1076
-
1077
- // src/mappers/mapBlock.ts
1078
- import { SourceType as SourceType14 } from "coffee-lex";
1079
- import {
1080
- Assign as Assign4,
1081
- Obj as Obj4,
1082
- Value as Value10
1083
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1084
- import { inspect as inspect8 } from "util";
1085
-
1086
- // src/util/getLocation.ts
1087
- import { SourceType } from "coffee-lex";
1088
- import { inspect } from "util";
1089
- function getLocation(context, node) {
1090
- const loc = node.locationData;
1091
- let start = context.linesAndColumns.indexForLocation({
1092
- line: loc.first_line,
1093
- column: loc.first_column
1094
- });
1095
- const last = context.linesAndColumns.indexForLocation({
1096
- line: loc.last_line,
1097
- column: loc.last_column
1098
- });
1099
- if (start === null || last === null) {
1100
- throw new Error(`unable to determine range for location: ${inspect(loc)}}`);
1101
- }
1102
- const line = loc.first_line + 1;
1103
- const column = loc.first_column + 1;
1104
- let end = last + 1;
1105
- if (start < 0) {
1106
- start = 0;
1107
- }
1108
- if (end > context.source.length) {
1109
- end = context.source.length;
1110
- }
1111
- const firstTokenOfNode = requireToken(firstSemanticTokenAfter(context, start), node);
1112
- const lastTokenOfNode = requireToken(firstSemanticTokenBefore(context, end), node);
1113
- start = firstTokenOfNode.start;
1114
- end = lastTokenOfNode.end;
1115
- const raw = context.source.slice(start, end);
1116
- return { line, column, start, end, raw };
1117
- }
1118
- function firstSemanticTokenAfter(context, index) {
1119
- const tokenIndex = context.sourceTokens.indexOfTokenMatchingPredicate((token) => {
1120
- return token.start >= index && token.type !== SourceType.NEWLINE && token.type !== SourceType.COMMENT;
1121
- }, context.sourceTokens.indexOfTokenNearSourceIndex(index));
1122
- return tokenIndex === null ? null : context.sourceTokens.tokenAtIndex(tokenIndex);
1123
- }
1124
- function firstSemanticTokenBefore(context, index) {
1125
- const tokenIndex = context.sourceTokens.lastIndexOfTokenMatchingPredicate((token) => {
1126
- return token.end <= index && token.type !== SourceType.NEWLINE && token.type !== SourceType.COMMENT;
1127
- }, context.sourceTokens.indexOfTokenNearSourceIndex(index));
1128
- return tokenIndex === null ? null : context.sourceTokens.tokenAtIndex(tokenIndex);
1129
- }
1130
- function requireToken(token, node) {
1131
- if (token === null) {
1132
- throw new Error(`unable to find token for node: ${inspect(node)}`);
1133
- }
1134
- return token;
1135
- }
1136
-
1137
- // src/mappers/mapAny.ts
1138
- import {
1139
- Arr as Arr2,
1140
- Assign as Assign3,
1141
- Block as Block3,
1142
- Call as Call4,
1143
- Class as Class2,
1144
- Code,
1145
- ComputedPropertyName as ComputedPropertyName2,
1146
- Elision as Elision2,
1147
- Existence,
1148
- Expansion as Expansion2,
1149
- Extends,
1150
- For as For3,
1151
- If,
1152
- In,
1153
- Literal as Literal8,
1154
- ModuleDeclaration as ModuleDeclaration2,
1155
- Obj as Obj3,
1156
- Op as Op7,
1157
- Param,
1158
- Parens as Parens2,
1159
- Range as Range2,
1160
- Return as Return2,
1161
- Splat as Splat4,
1162
- StringWithInterpolations as StringWithInterpolations4,
1163
- Super as Super2,
1164
- Switch as Switch2,
1165
- TaggedTemplateCall,
1166
- Throw as Throw2,
1167
- Try as Try2,
1168
- Value as Value9,
1169
- While as While2
1170
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1171
-
1172
- // src/util/UnsupportedNodeError.ts
1173
- import { inspect as inspect2 } from "util";
1174
- var UnsupportedNodeError = class extends Error {
1175
- constructor(node, message = null) {
1176
- const prefix = message ? `${message}
1177
-
1178
- ` : "";
1179
- super(`${prefix}node type '${node.constructor.name}' is not supported: ${inspect2(node)}`);
1180
- Object.setPrototypeOf(this, UnsupportedNodeError.prototype);
1181
- this.node = node;
1182
- }
1183
- };
1184
-
1185
- // src/mappers/mapArr.ts
1186
- function mapArr(context, node) {
1187
- const { line, column, start, end, raw } = getLocation(context, node);
1188
- const members = node.objects.map((object) => mapAny(context, object));
1189
- return new ArrayInitialiser(line, column, start, end, raw, members);
1190
- }
1191
-
1192
- // src/mappers/mapAssign.ts
1193
- var COMPOUND_ASSIGN_OPS = {
1194
- "-=": SubtractOp.name,
1195
- "+=": PlusOp.name,
1196
- "/=": DivideOp.name,
1197
- "*=": MultiplyOp.name,
1198
- "%=": RemOp.name,
1199
- "||=": LogicalOrOp.name,
1200
- "&&=": LogicalAndOp.name,
1201
- "?=": ExistsOp.name,
1202
- "<<=": LeftShiftOp.name,
1203
- ">>=": SignedRightShiftOp.name,
1204
- ">>>=": UnsignedRightShiftOp.name,
1205
- "&=": BitAndOp.name,
1206
- "^=": BitXorOp.name,
1207
- "|=": BitOrOp.name,
1208
- "**=": ExpOp.name,
1209
- "//=": FloorDivideOp.name,
1210
- "%%=": ModuloOp.name
1211
- };
1212
- function mapAssign(context, node) {
1213
- if (node.context === "object") {
1214
- throw new UnsupportedNodeError(node, "Unexpected object context when mapping regular assign op.");
1215
- }
1216
- const { line, column, start, end, raw } = getLocation(context, node);
1217
- if (node.context) {
1218
- const opName = COMPOUND_ASSIGN_OPS[node.context];
1219
- if (!opName) {
1220
- throw new UnsupportedNodeError(node, "Unexpected operator context for assign op.");
1221
- }
1222
- return new CompoundAssignOp(line, column, start, end, raw, mapAny(context, node.variable), mapAny(context, node.value), opName);
1223
- } else {
1224
- return new AssignOp(line, column, start, end, raw, mapAny(context, node.variable), mapAny(context, node.value));
1225
- }
1226
- }
1227
-
1228
- // src/mappers/mapCall.ts
1229
- import { SourceType as SourceType5 } from "coffee-lex";
1230
- import {
1231
- Literal as Literal3,
1232
- Splat as Splat2,
1233
- StringWithInterpolations as StringWithInterpolations2,
1234
- SuperCall,
1235
- Value as Value5
1236
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1237
- import { inspect as inspect3 } from "util";
1238
-
1239
- // src/util/isHeregexTemplateNode.ts
1240
- import { SourceType as SourceType2 } from "coffee-lex";
1241
- import {
1242
- Call,
1243
- Literal,
1244
- Value as Value2
1245
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1246
- function isHeregexTemplateNode(node, context) {
1247
- if (!(node instanceof Call) || !node.variable || !(node.variable instanceof Value2) || !node.variable.base || !(node.variable.base instanceof Literal) || node.variable.base.value !== "RegExp") {
1248
- return false;
1249
- }
1250
- const { sourceTokens, linesAndColumns } = context;
1251
- const start = linesAndColumns.indexForLocation({
1252
- line: node.locationData.first_line,
1253
- column: node.locationData.first_column
1254
- });
1255
- if (start === null) {
1256
- return false;
1257
- }
1258
- const startTokenIndex = sourceTokens.indexOfTokenContainingSourceIndex(start);
1259
- if (startTokenIndex === null) {
1260
- return false;
1261
- }
1262
- const startToken = sourceTokens.tokenAtIndex(startTokenIndex);
1263
- if (startToken === null) {
1264
- return false;
1265
- }
1266
- return startToken.type === SourceType2.HEREGEXP_START;
1267
- }
1268
-
1269
- // src/util/locationsEqual.ts
1270
- function locationsEqual(first, second) {
1271
- return first.first_line === second.first_line && first.first_column === second.first_column && first.last_line === second.last_line && first.last_column === second.last_column;
1272
- }
1273
-
1274
- // src/util/getTemplateLiteralComponents.ts
1275
- import {
1276
- SourceType as SourceType4
1277
- } from "coffee-lex";
1278
- import {
1279
- Literal as Literal2,
1280
- Op as Op2,
1281
- Value as Value3
1282
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1283
-
1284
- // src/util/isPlusTokenBetweenRanges.ts
1285
- import { SourceType as SourceType3 } from "coffee-lex";
1286
- function isPlusTokenBetweenRanges(leftRange, rightRange, context) {
1287
- const tokens = context.sourceTokens;
1288
- const leftEnd = tokens.indexOfTokenContainingSourceIndex(leftRange[1] - 1);
1289
- const rightStart = tokens.indexOfTokenContainingSourceIndex(rightRange[0]);
1290
- if (!leftEnd || !rightStart) {
1291
- return false;
1292
- }
1293
- const afterLeftEnd = leftEnd.next();
1294
- if (!afterLeftEnd) {
1295
- return false;
1296
- }
1297
- const tokensBetweenOperands = tokens.slice(afterLeftEnd, rightStart);
1298
- let foundPlusToken = false;
1299
- tokensBetweenOperands.forEach(({ type, start, end }) => {
1300
- if (type === SourceType3.OPERATOR && context.source.slice(start, end) === "+") {
1301
- foundPlusToken = true;
1302
- }
1303
- });
1304
- return foundPlusToken;
1305
- }
1306
-
1307
- // src/util/isImplicitPlusOp.ts
1308
- function isImplicitPlusOp(op, context) {
1309
- if (op.operator !== "+" || !op.second) {
1310
- return false;
1311
- }
1312
- const firstRange = context.getRange(op.first);
1313
- const secondRange = context.getRange(op.second);
1314
- if (!firstRange || !secondRange) {
1315
- throw new Error("Expected valid location data on plus operation.");
1316
- }
1317
- return !isPlusTokenBetweenRanges(firstRange, secondRange, context);
1318
- }
1319
-
1320
- // src/util/parseString.ts
1321
- import { parse } from "@codemod/parser";
1322
- function parseString(string) {
1323
- const expressionStatement = parse(`(${string})`).program.body[0];
1324
- const literal = expressionStatement.expression;
1325
- return literal.value;
1326
- }
1327
-
1328
- // src/util/getTemplateLiteralComponents.ts
1329
- function getTemplateLiteralComponents(context, node) {
1330
- const tokens = context.sourceTokens;
1331
- const quasis = [];
1332
- const unmappedExpressions = [];
1333
- const elements = getElements(node, context);
1334
- const nodeRange = context.getRange(node);
1335
- if (!nodeRange) {
1336
- throw new Error("Expected valid range on template literal node.");
1337
- }
1338
- const { startTokenIndex, startToken } = getStartToken(nodeRange[0], tokens);
1339
- let depth = 0;
1340
- let lastToken = startToken;
1341
- for (let tokenIndex = startTokenIndex; tokenIndex; tokenIndex = tokenIndex.next()) {
1342
- const token = tokens.tokenAtIndex(tokenIndex);
1343
- if (!token) {
1344
- break;
1345
- }
1346
- if (token.type === SourceType4.INTERPOLATION_START || token.type === SourceType4.CSX_OPEN_TAG_START) {
1347
- depth++;
1348
- if (depth === 1) {
1349
- quasis.push(findQuasi(lastToken, token, context, elements));
1350
- lastToken = token;
1351
- }
1352
- } else if (token.type === SourceType4.INTERPOLATION_END || token.type === SourceType4.CSX_SELF_CLOSING_TAG_END || token.type === SourceType4.CSX_CLOSE_TAG_END) {
1353
- depth--;
1354
- if (depth === 0) {
1355
- unmappedExpressions.push(findExpression(lastToken, token, context, elements));
1356
- lastToken = token;
1357
- }
1358
- } else if (depth === 0 && isTemplateLiteralEnd(token)) {
1359
- quasis.push(findQuasi(lastToken, token, context, elements));
1360
- lastToken = token;
1361
- break;
1362
- }
1363
- }
1364
- return {
1365
- quasis,
1366
- unmappedExpressions,
1367
- start: startToken.start,
1368
- end: lastToken.end
1369
- };
1370
- }
1371
- function getElements(node, context) {
1372
- if (node instanceof Op2 && isImplicitPlusOp(node, context)) {
1373
- if (!node.second) {
1374
- throw new Error("Expected second operand on plus op.");
1375
- }
1376
- return [
1377
- ...getElements(node.first, context),
1378
- ...getElements(node.second, context)
1379
- ];
1380
- }
1381
- return [node];
1382
- }
1383
- function getStartToken(start, tokens) {
1384
- let tokenIndex = tokens.indexOfTokenNearSourceIndex(start);
1385
- for (let i = 0; i < 5; i++) {
1386
- const token = tokens.tokenAtIndex(tokenIndex);
1387
- if (!token) {
1388
- throw new Error("Expected to find a start token in a template literal.");
1389
- }
1390
- if (isTemplateLiteralStart(token)) {
1391
- return { startToken: token, startTokenIndex: tokenIndex };
1392
- }
1393
- const prevToken = tokenIndex.previous();
1394
- if (!prevToken) {
1395
- throw new Error("Expected a previous token when searching for a template start.");
1396
- }
1397
- tokenIndex = prevToken;
1398
- }
1399
- throw new Error("Expected a template literal start token.");
1400
- }
1401
- function findQuasi(leftToken, rightToken, context, elements) {
1402
- const matchingElements = elements.filter((elem) => {
1403
- const range = context.getRange(elem);
1404
- if (!range) {
1405
- throw new Error("Unexpected invalid range.");
1406
- }
1407
- return range[0] >= leftToken.start && range[1] <= rightToken.end;
1408
- });
1409
- const start = leftToken.end;
1410
- const end = rightToken.start;
1411
- const startLoc = context.linesAndColumns.locationForIndex(leftToken.end);
1412
- if (!startLoc) {
1413
- throw new Error(`Expected to find a location for index ${leftToken.end}.`);
1414
- }
1415
- const raw = context.source.slice(start, end);
1416
- if (matchingElements.length === 0) {
1417
- return new Quasi(startLoc.line + 1, startLoc.column + 1, start, end, raw, "");
1418
- } else if (matchingElements.length === 1) {
1419
- const element = matchingElements[0];
1420
- let literal;
1421
- if (element instanceof Literal2) {
1422
- literal = element;
1423
- } else if (element instanceof Value3 && element.properties.length === 0 && element.base instanceof Literal2) {
1424
- literal = element.base;
1425
- } else {
1426
- throw new Error("Expected quasi element to be either a literal or a value containing only a literal.");
1427
- }
1428
- const stringValue = parseString(literal.value);
1429
- return new Quasi(startLoc.line + 1, startLoc.column + 1, start, end, raw, stringValue !== void 0 ? stringValue : literal.value);
1430
- } else {
1431
- throw new Error("Unexpectedly found multiple elements in string interpolation.");
1432
- }
1433
- }
1434
- function findExpression(leftToken, rightToken, context, elements) {
1435
- const matchingElements = elements.filter((elem) => {
1436
- const range = context.getRange(elem);
1437
- if (!range) {
1438
- throw new Error("Unexpected invalid range.");
1439
- }
1440
- return range[0] >= leftToken.start && range[1] <= rightToken.end;
1441
- });
1442
- if (matchingElements.length === 0) {
1443
- return null;
1444
- } else if (matchingElements.length === 1) {
1445
- return matchingElements[0];
1446
- } else {
1447
- throw new Error("Unexpectedly found multiple elements in string interpolation.");
1448
- }
1449
- }
1450
- function isTemplateLiteralStart(token) {
1451
- return [
1452
- SourceType4.DSTRING_START,
1453
- SourceType4.SSTRING_START,
1454
- SourceType4.TDSTRING_START,
1455
- SourceType4.TSSTRING_START,
1456
- SourceType4.HEREGEXP_START,
1457
- SourceType4.CSX_OPEN_TAG_END
1458
- ].indexOf(token.type) >= 0;
1459
- }
1460
- function isTemplateLiteralEnd(token) {
1461
- return [
1462
- SourceType4.DSTRING_END,
1463
- SourceType4.SSTRING_END,
1464
- SourceType4.TDSTRING_END,
1465
- SourceType4.TSSTRING_END,
1466
- SourceType4.HEREGEXP_END,
1467
- SourceType4.CSX_CLOSE_TAG_START
1468
- ].indexOf(token.type) >= 0;
1469
- }
1470
-
1471
- // src/util/makeHeregex.ts
1472
- function makeHeregex(context, node, flags) {
1473
- const { quasis, unmappedExpressions, start, end } = getTemplateLiteralComponents(context, node);
1474
- const startLoc = context.linesAndColumns.locationForIndex(start);
1475
- if (!startLoc) {
1476
- throw new Error(`Expected to find a location for index ${start}.`);
1477
- }
1478
- const raw = context.source.slice(start, end);
1479
- return new Heregex(startLoc.line + 1, startLoc.column + 1, start, end, raw, quasis, unmappedExpressions.map((expr) => expr ? mapAny(context, expr) : null), RegexFlags.parse(flags));
1480
- }
1481
-
1482
- // src/mappers/mapCSX.ts
1483
- import {
1484
- Arr,
1485
- Assign,
1486
- IdentifierLiteral,
1487
- Obj,
1488
- Splat,
1489
- StringLiteral,
1490
- StringWithInterpolations,
1491
- Value as Value4
1492
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1493
- function mapCSX(context, node) {
1494
- const { line, column, start, end, raw } = getLocation(context, node);
1495
- const [properties, children] = node.args;
1496
- const mappedProperties = mapCSXProperties(context, properties);
1497
- const mappedChildren = mapCSXChildren(context, children);
1498
- return new CSXElement(line, column, start, end, raw, mappedProperties, mappedChildren);
1499
- }
1500
- function mapCSXProperties(context, properties) {
1501
- if (!(properties instanceof Value4) || !(properties.base instanceof Arr)) {
1502
- throw new Error("Expected a value for the CSX properties arg.");
1503
- }
1504
- const values = properties.base.objects;
1505
- const resultProperties = [];
1506
- for (const value of values) {
1507
- if (!(value instanceof Value4)) {
1508
- throw new Error("Expected value for CSX property.");
1509
- }
1510
- if (value.base instanceof Obj) {
1511
- for (const propertyAssignment of value.base.objects) {
1512
- if (propertyAssignment instanceof Splat) {
1513
- resultProperties.push(mapAny(context, propertyAssignment));
1514
- } else if (propertyAssignment instanceof Assign) {
1515
- if (!(propertyAssignment.value instanceof Value4)) {
1516
- throw new Error("Unexpected property assignment value.");
1517
- }
1518
- if (!(propertyAssignment.value.base instanceof StringLiteral)) {
1519
- resultProperties.push(mapAny(context, propertyAssignment.value));
1520
- }
1521
- } else {
1522
- throw new Error("Unexpected property assignment object field in CSX.");
1523
- }
1524
- }
1525
- } else if (value.base instanceof IdentifierLiteral) {
1526
- } else {
1527
- throw new Error("Unexpected property assignment in CSX.");
1528
- }
1529
- }
1530
- return resultProperties;
1531
- }
1532
- function mapCSXChildren(context, children) {
1533
- if (!children) {
1534
- return [];
1535
- }
1536
- if (!(children instanceof Value4)) {
1537
- throw new Error("Expected a value for the CSX children arg.");
1538
- }
1539
- if (children.base instanceof StringLiteral) {
1540
- return [];
1541
- } else if (!(children.base instanceof StringWithInterpolations)) {
1542
- throw new Error("Expected a valid CSX children arg.");
1543
- }
1544
- const childInterpolatedString = children.base.body.expressions[0];
1545
- const { unmappedExpressions } = getTemplateLiteralComponents(context, childInterpolatedString);
1546
- return unmappedExpressions.map((child) => child ? mapAny(context, child) : null);
1547
- }
1548
-
1549
- // src/mappers/mapCall.ts
1550
- function mapCall(context, node) {
1551
- const { line, column, start, end, raw } = getLocation(context, node);
1552
- if (node.csx) {
1553
- return mapCSX(context, node);
1554
- }
1555
- if (isHeregexTemplateNode(node, context)) {
1556
- const firstArg = node.args[0];
1557
- if (!(firstArg instanceof Value5) || !(firstArg.base instanceof StringWithInterpolations2)) {
1558
- throw new Error("Expected a valid first heregex arg in the AST.");
1559
- }
1560
- const strNode = firstArg.base.body.expressions[0];
1561
- let flags;
1562
- if (node.args.length > 1) {
1563
- const secondArg = node.args[1];
1564
- if (!(secondArg instanceof Value5) || !(secondArg.base instanceof Literal3)) {
1565
- throw new Error("Expected a string flags value in the heregex AST.");
1566
- }
1567
- flags = parseString(secondArg.base.value);
1568
- } else {
1569
- flags = "";
1570
- }
1571
- return makeHeregex(context, strNode, flags);
1572
- }
1573
- const args = node.args.map((arg) => mapAny(context, arg));
1574
- if (node instanceof SuperCall) {
1575
- if (node.args.length === 1 && node.args[0] instanceof Splat2 && locationsEqual(node.args[0].locationData, node.locationData)) {
1576
- return new BareSuperFunctionApplication(line, column, start, end, raw);
1577
- }
1578
- const superIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
1579
- const superToken = superIndex && context.sourceTokens.tokenAtIndex(superIndex);
1580
- if (!superToken || superToken.type !== SourceType5.SUPER) {
1581
- throw new Error(`unable to find SUPER token in 'super' function call: ${inspect3(node)}`);
1582
- }
1583
- const superLocation = context.linesAndColumns.locationForIndex(superToken.start);
1584
- if (!superLocation) {
1585
- throw new Error(`unable to locate SUPER token for 'super' function call: ${inspect3(node)}`);
1586
- }
1587
- return new FunctionApplication(line, column, start, end, raw, new Super(superLocation.line + 1, superLocation.column + 1, superToken.start, superToken.end, context.source.slice(superToken.start, superToken.end)), args);
1588
- }
1589
- if (!node.variable) {
1590
- throw new Error("Expected non-super call to have a variable defined.");
1591
- }
1592
- const callee = mapAny(context, node.variable);
1593
- if (node.isNew) {
1594
- return mapNewOp(context, node);
1595
- }
1596
- if (node.soak) {
1597
- return new SoakedFunctionApplication(line, column, start, end, raw, callee, args);
1598
- }
1599
- if (node.do) {
1600
- return mapDoOp(context, node);
1601
- }
1602
- return new FunctionApplication(line, column, start, end, raw, callee, args);
1603
- }
1604
- function mapNewOp(context, node) {
1605
- if (!node.variable) {
1606
- throw new UnsupportedNodeError(node);
1607
- }
1608
- const { line, column, start, end, raw } = getLocation(context, node);
1609
- const callee = mapAny(context, node.variable);
1610
- const args = node.args.map((arg) => mapAny(context, arg));
1611
- if (node.soak) {
1612
- return new SoakedNewOp(line, column, start, end, raw, callee, args);
1613
- } else {
1614
- return new NewOp(line, column, start, end, raw, callee, args);
1615
- }
1616
- }
1617
- function mapDoOp(context, node) {
1618
- if (!node.variable) {
1619
- throw new UnsupportedNodeError(node);
1620
- }
1621
- const { line, column, start, end, raw } = getLocation(context, node);
1622
- let expression = mapAny(context, node.variable);
1623
- const args = node.args.map((arg) => mapAny(context, arg));
1624
- if (expression instanceof BaseFunction) {
1625
- expression = augmentDoFunctionWithArgs(context, expression, args);
1626
- } else if (expression instanceof AssignOp && expression.expression instanceof BaseFunction) {
1627
- const newRhs = augmentDoFunctionWithArgs(context, expression.expression, args);
1628
- expression = expression.withExpression(newRhs);
1629
- }
1630
- return new DoOp(line, column, start, end, raw, expression);
1631
- }
1632
- function augmentDoFunctionWithArgs(context, func, args) {
1633
- const newParameters = func.parameters.map((param, i) => {
1634
- const arg = args[i];
1635
- if (arg instanceof Identifier && param instanceof Identifier && arg.data === param.data && arg.start === param.start && arg.end === param.end) {
1636
- return param;
1637
- }
1638
- return new DefaultParam(param.line, param.column, param.start, arg.end, context.source.slice(param.start, arg.end), param, arg);
1639
- });
1640
- return func.withParameters(newParameters);
1641
- }
1642
-
1643
- // src/mappers/mapClass.ts
1644
- function mapClass(context, node) {
1645
- const { line, column, start, end, raw } = getLocation(context, node);
1646
- const nameAssignee = node.variable ? mapAny(context, node.variable) : null;
1647
- const parent = node.parent ? mapAny(context, node.parent) : null;
1648
- const childContext = context.updateState((s) => s.pushCurrentClass());
1649
- const body = mapPossiblyEmptyBlock(childContext, node.body);
1650
- const boundMethods = childContext.parseState.currentClassBoundMethods;
1651
- if (!boundMethods) {
1652
- throw new Error("Expected a non-null bound method name array.");
1653
- }
1654
- return new Class(line, column, start, end, raw, nameAssignee, nameAssignee, body, boundMethods, parent, childContext.parseState.currentClassCtor);
1655
- }
1656
-
1657
- // src/mappers/mapCode.ts
1658
- function mapCode(context, node) {
1659
- const { line, column, start, end, raw } = getLocation(context, node);
1660
- const Node12 = getNodeTypeForCode(node);
1661
- const childContext = context.updateState((s) => s.dropCurrentClass());
1662
- return new Node12(line, column, start, end, raw, node.params.map((param) => mapAny(childContext, param)), mapPossiblyEmptyBlock(childContext, node.body));
1663
- }
1664
- function getNodeTypeForCode(node) {
1665
- if (node.isGenerator) {
1666
- if (node.bound) {
1667
- return BoundGeneratorFunction;
1668
- } else {
1669
- return GeneratorFunction;
1670
- }
1671
- } else if (node.isAsync) {
1672
- if (node.bound) {
1673
- return BoundAsyncFunction;
1674
- } else {
1675
- return AsyncFunction;
1676
- }
1677
- } else {
1678
- if (node.bound) {
1679
- return BoundFunction;
1680
- } else {
1681
- return Function;
1682
- }
1683
- }
1684
- }
1685
-
1686
- // src/mappers/mapComputedPropertyName.ts
1687
- function mapComputedPropertyName(context, node) {
1688
- return mapAny(context, node.value);
1689
- }
1690
-
1691
- // src/mappers/mapElision.ts
1692
- function mapElision(context, node) {
1693
- const { line, column, start, end, raw } = getLocation(context, node);
1694
- return new Elision(line, column, start, end, raw);
1695
- }
1696
-
1697
- // src/mappers/mapExistence.ts
1698
- function mapExistence(context, node) {
1699
- const { line, column, start, end, raw } = getLocation(context, node);
1700
- return new UnaryExistsOp(line, column, start, end, raw, mapAny(context, node.expression));
1701
- }
1702
-
1703
- // src/mappers/mapExpansion.ts
1704
- function mapExpansion(context, node) {
1705
- const { line, column, start, end, raw } = getLocation(context, node);
1706
- return new Expansion(line, column, start, end, raw);
1707
- }
1708
-
1709
- // src/mappers/mapExtends.ts
1710
- function mapExtends(context, node) {
1711
- const { line, column, start, end, raw } = getLocation(context, node);
1712
- return new ExtendsOp(line, column, start, end, raw, mapAny(context, node.child), mapAny(context, node.parent));
1713
- }
1714
-
1715
- // src/mappers/mapFor.ts
1716
- function mapFor(context, node) {
1717
- const { line, column, start, end, raw } = getLocation(context, node);
1718
- const keyAssignee = node.index ? mapAny(context, node.index) : null;
1719
- const valAssignee = node.name ? mapAny(context, node.name) : null;
1720
- let body = mapPossiblyEmptyBlock(context, node.body);
1721
- const target = mapAny(context, node.source);
1722
- const filter = node.guard ? mapAny(context, node.guard) : null;
1723
- if (body && body.start < target.start) {
1724
- body = body.withInline(true);
1725
- }
1726
- if (node.object) {
1727
- const isOwn = node.own;
1728
- return new ForOf(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, isOwn);
1729
- } else {
1730
- if (node.from) {
1731
- if (keyAssignee) {
1732
- throw new Error("Unexpected key assignee in for...from.");
1733
- }
1734
- return new ForFrom(line, column, start, end, raw, valAssignee, target, filter, body);
1735
- } else {
1736
- const step = node.step ? mapAny(context, node.step) : null;
1737
- return new ForIn(line, column, start, end, raw, keyAssignee, valAssignee, target, filter, body, step);
1738
- }
1739
- }
1740
- }
1741
-
1742
- // src/mappers/mapIf.ts
1743
- import { SourceType as SourceType6 } from "coffee-lex";
1744
- function mapIf(context, node) {
1745
- const { line, column, start, end, raw } = getLocation(context, node);
1746
- const condition = mapAny(context, node.condition);
1747
- let consequent = mapPossiblyEmptyBlock(context, node.body);
1748
- const alternate = mapPossiblyEmptyBlock(context, node.elseBody);
1749
- let isUnless = false;
1750
- let left = null;
1751
- let right = null;
1752
- if (consequent && consequent.start < condition.start) {
1753
- consequent = consequent.withInline(true);
1754
- left = context.sourceTokens.indexOfTokenEndingAtSourceIndex(consequent.end);
1755
- right = context.sourceTokens.indexOfTokenStartingAtSourceIndex(condition.start);
1756
- } else {
1757
- left = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
1758
- right = context.sourceTokens.indexOfTokenStartingAtSourceIndex(condition.start);
1759
- }
1760
- if (left && right) {
1761
- isUnless = context.sourceTokens.indexOfTokenMatchingPredicate((token) => token.type === SourceType6.IF && context.source.slice(token.start, token.end) === "unless", left, right) !== null;
1762
- }
1763
- return new Conditional(line, column, start, end, raw, condition, consequent, alternate, isUnless);
1764
- }
1765
-
1766
- // src/mappers/mapIn.ts
1767
- import { SourceType as SourceType7 } from "coffee-lex";
1768
- function mapIn(context, node) {
1769
- const { line, column, start, end, raw } = getLocation(context, node);
1770
- const left = mapAny(context, node.object);
1771
- const right = mapAny(context, node.array);
1772
- let isNot = false;
1773
- const lastTokenIndexOfLeft = context.sourceTokens.indexOfTokenEndingAtSourceIndex(left.end);
1774
- const firstTokenIndexOfRight = context.sourceTokens.indexOfTokenStartingAtSourceIndex(right.start);
1775
- const relationTokenIndex = context.sourceTokens.indexOfTokenMatchingPredicate((token) => token.type === SourceType7.RELATION, lastTokenIndexOfLeft, firstTokenIndexOfRight);
1776
- if (relationTokenIndex) {
1777
- const relationToken = context.sourceTokens.tokenAtIndex(relationTokenIndex);
1778
- if (relationToken) {
1779
- isNot = context.source.slice(relationToken.start, relationToken.end) !== "in";
1780
- return new InOp(line, column, start, end, raw, left, right, isNot);
1781
- }
1782
- }
1783
- throw new Error(`unable to find RELATION token between operands`);
1784
- }
1785
-
1786
- // src/mappers/mapLiteral.ts
1787
- import {
1788
- BooleanLiteral,
1789
- IdentifierLiteral as IdentifierLiteral2,
1790
- NullLiteral,
1791
- NumberLiteral,
1792
- PassthroughLiteral as PassthroughLiteral2,
1793
- PropertyName,
1794
- RegexLiteral,
1795
- StatementLiteral,
1796
- StringLiteral as StringLiteral2,
1797
- ThisLiteral,
1798
- UndefinedLiteral
1799
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1800
-
1801
- // src/util/makeString.ts
1802
- function makeString(context, node) {
1803
- const { quasis, unmappedExpressions, start, end } = getTemplateLiteralComponents(context, node);
1804
- const startLoc = context.linesAndColumns.locationForIndex(start);
1805
- if (!startLoc) {
1806
- throw new Error(`Expected to find a location for index ${start}.`);
1807
- }
1808
- const raw = context.source.slice(start, end);
1809
- return new String(startLoc.line + 1, startLoc.column + 1, start, end, raw, quasis, unmappedExpressions.map((expr) => expr ? mapAny(context, expr) : null));
1810
- }
1811
-
1812
- // src/util/parseNumber.ts
1813
- import { parse as parse2 } from "@codemod/parser";
1814
- function parseNumber(string) {
1815
- const expressionStatement = parse2(`(${string})`).program.body[0];
1816
- const literal = expressionStatement.expression;
1817
- return literal.value;
1818
- }
1819
-
1820
- // src/util/parseRegExp.ts
1821
- import { parse as parse3 } from "@codemod/parser";
1822
- function parseRegExp(string) {
1823
- const expressionStatement = parse3(`(${string})`).program.body[0];
1824
- const literal = expressionStatement.expression;
1825
- return literal;
1826
- }
1827
-
1828
- // src/mappers/mapLiteral.ts
1829
- var HEREGEX_PATTERN = /^\/\/\/((?:.|\s)*)\/\/\/([gimuy]*)$/;
1830
- function mapLiteral(context, node) {
1831
- const { line, column, start, end, raw } = getLocation(context, node);
1832
- if (node instanceof ThisLiteral) {
1833
- return new This(line, column, start, end, raw);
1834
- } else if (node instanceof NullLiteral) {
1835
- return new Null(line, column, start, end, raw);
1836
- } else if (node instanceof UndefinedLiteral) {
1837
- return new Undefined(line, column, start, end, raw);
1838
- } else if (node instanceof BooleanLiteral) {
1839
- return new Bool(line, column, start, end, raw, JSON.parse(node.value));
1840
- } else if (node instanceof IdentifierLiteral2 || node instanceof PropertyName) {
1841
- const value = node.value.valueOf();
1842
- return new Identifier(line, column, start, end, raw, value);
1843
- } else if (node instanceof PassthroughLiteral2) {
1844
- return new JavaScript(line, column, start, end, raw, node.value);
1845
- } else if (node instanceof NumberLiteral) {
1846
- if (raw.includes(".")) {
1847
- return new Float(line, column, start, end, raw, parseNumber(node.value));
1848
- } else {
1849
- return new Int(line, column, start, end, raw, parseNumber(node.value));
1850
- }
1851
- } else if (node instanceof RegexLiteral) {
1852
- const heregexMatch = raw.match(HEREGEX_PATTERN);
1853
- if (heregexMatch) {
1854
- const flags = heregexMatch[2];
1855
- return makeHeregex(context, node, flags);
1856
- } else {
1857
- const regExp = parseRegExp(node.value);
1858
- return new Regex(line, column, start, end, raw, regExp.pattern, RegexFlags.parse(regExp.flags || ""));
1859
- }
1860
- } else if (node instanceof StringLiteral2) {
1861
- return makeString(context, node);
1862
- } else if (node instanceof StatementLiteral) {
1863
- if (node.value === "break") {
1864
- return new Break(line, column, start, end, raw);
1865
- } else if (node.value === "continue") {
1866
- return new Continue(line, column, start, end, raw);
1867
- } else if (node.value === "debugger") {
1868
- return new Debugger(line, column, start, end, raw);
1869
- }
1870
- }
1871
- throw new Error(`Unexpected literal: ${JSON.stringify(node)}`);
1872
- }
1873
-
1874
- // src/mappers/mapModuleDeclaration.ts
1875
- import {
1876
- ExportAllDeclaration as CoffeeExportAllDeclaration,
1877
- ExportDefaultDeclaration as CoffeeExportDefaultDeclaration,
1878
- ExportNamedDeclaration as CoffeeExportNamedDeclaration,
1879
- ExportSpecifierList,
1880
- IdentifierLiteral as IdentifierLiteral3,
1881
- ImportDeclaration as CoffeeImportDeclaration,
1882
- ImportNamespaceSpecifier,
1883
- ImportSpecifierList,
1884
- Literal as Literal5
1885
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1886
-
1887
- // src/util/notNull.ts
1888
- function notNull(value) {
1889
- if (typeof value === "undefined" || value === null) {
1890
- throw new Error(`expected value not to be null/undefined: ${value}`);
1891
- }
1892
- return value;
1893
- }
1894
-
1895
- // src/mappers/mapModuleDeclaration.ts
1896
- function mapModuleDeclaration(context, node) {
1897
- const { line, column, start, end, raw } = getLocation(context, node);
1898
- if (node instanceof CoffeeImportDeclaration) {
1899
- const clause = node.clause;
1900
- let defaultBinding = null;
1901
- let namespaceImport = null;
1902
- let namedImports = null;
1903
- if (clause) {
1904
- defaultBinding = clause.defaultBinding && mapIdentifierSpecifier(context, clause.defaultBinding);
1905
- if (clause.namedImports instanceof ImportNamespaceSpecifier) {
1906
- namespaceImport = mapStarSpecifier(context, clause.namedImports);
1907
- } else if (clause.namedImports instanceof ImportSpecifierList) {
1908
- namedImports = clause.namedImports.specifiers.map((specifier) => mapSpecifier(context, specifier));
1909
- }
1910
- }
1911
- if (!node.source) {
1912
- throw new Error("Expected non-null source for import.");
1913
- }
1914
- const source = mapSource(context, node.source);
1915
- return new ImportDeclaration(line, column, start, end, raw, defaultBinding, namespaceImport, namedImports, source);
1916
- } else if (node instanceof CoffeeExportNamedDeclaration) {
1917
- if (node.clause instanceof ExportSpecifierList) {
1918
- const namedExports = node.clause.specifiers.map((specifier) => mapSpecifier(context, specifier));
1919
- const source = node.source ? mapSource(context, node.source) : null;
1920
- return new ExportBindingsDeclaration(line, column, start, end, raw, namedExports, source);
1921
- } else {
1922
- const expression = mapAny(context, notNull(node.clause));
1923
- return new ExportNamedDeclaration(line, column, start, end, raw, expression);
1924
- }
1925
- } else if (node instanceof CoffeeExportDefaultDeclaration) {
1926
- const expression = mapAny(context, notNull(node.clause));
1927
- return new ExportDefaultDeclaration(line, column, start, end, raw, expression);
1928
- } else if (node instanceof CoffeeExportAllDeclaration) {
1929
- if (!node.source) {
1930
- throw new Error("Expected non-null source for star export.");
1931
- }
1932
- const source = mapSource(context, node.source);
1933
- return new ExportAllDeclaration(line, column, start, end, raw, source);
1934
- } else {
1935
- throw new UnsupportedNodeError(node);
1936
- }
1937
- }
1938
- function mapSource(context, coffeeSource) {
1939
- const source = mapLiteral(context, coffeeSource);
1940
- if (!(source instanceof String)) {
1941
- throw new Error("Expected string literal as import source.");
1942
- }
1943
- return source;
1944
- }
1945
- function mapIdentifierSpecifier(context, specifier) {
1946
- if (specifier.alias) {
1947
- throw new Error("Expected no alias for identifier specifier.");
1948
- }
1949
- return mapLiteralToIdentifier(context, specifier.original);
1950
- }
1951
- function mapStarSpecifier(context, specifier) {
1952
- if (specifier.original.value !== "*") {
1953
- throw new Error("Expected a star on the LHS of a star specifier.");
1954
- }
1955
- if (!specifier.alias) {
1956
- throw new Error("Expected node on the RHS of star specifier.");
1957
- }
1958
- return mapLiteralToIdentifier(context, specifier.alias);
1959
- }
1960
- function mapSpecifier(context, specifier) {
1961
- const { line, column, start, end, raw } = getLocation(context, specifier);
1962
- const original = mapLiteralToIdentifier(context, specifier.original);
1963
- const alias = specifier.alias ? mapLiteralToIdentifier(context, specifier.alias) : null;
1964
- return new ModuleSpecifier(line, column, start, end, raw, original, alias);
1965
- }
1966
- function mapLiteralToIdentifier(context, literal) {
1967
- if (literal instanceof IdentifierLiteral3) {
1968
- return mapLiteral(context, literal);
1969
- } else if (literal.constructor === Literal5) {
1970
- const { line, column, start, end, raw } = getLocation(context, literal);
1971
- return new Identifier(line, column, start, end, raw, literal.value);
1972
- } else {
1973
- throw new Error("Expected identifier in module declaration.");
1974
- }
1975
- }
1976
-
1977
- // src/mappers/mapObj.ts
1978
- import {
1979
- Assign as Assign2,
1980
- ComputedPropertyName,
1981
- Splat as Splat3,
1982
- Value as Value7
1983
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1984
-
1985
- // src/mappers/mapValue.ts
1986
- import { SourceType as SourceType8 } from "coffee-lex";
1987
- import {
1988
- Access,
1989
- Index,
1990
- Literal as Literal6,
1991
- Slice as CoffeeSlice
1992
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
1993
- import { inspect as inspect4 } from "util";
1994
- function mapValue(context, node) {
1995
- const location = getLocation(context, node);
1996
- return node.properties.reduce((reduced, property) => reduceProperty(context, location, reduced, property), mapAny(context, node.base));
1997
- }
1998
- function reduceProperty(context, location, reduced, property) {
1999
- if (property instanceof Access) {
2000
- const name = property.name;
2001
- if (!(name instanceof Literal6)) {
2002
- throw new Error(`unexpected non-Literal property access name: ${inspect4(name)}`);
2003
- }
2004
- let startTokenIndex = tokenIndexAtLocation(context, property.locationData);
2005
- let startToken = startTokenIndex && context.sourceTokens.tokenAtIndex(startTokenIndex);
2006
- if (startToken && property.soak) {
2007
- if (startToken.type !== SourceType8.EXISTENCE) {
2008
- throw new Error(`expected EXISTENCE token ('?') but got ${SourceType8[startToken.type]}: ${inspect4(startToken)}`);
2009
- }
2010
- startTokenIndex = startTokenIndex && startTokenIndex.next();
2011
- startToken = startTokenIndex && context.sourceTokens.tokenAtIndex(startTokenIndex);
2012
- }
2013
- if (!startToken) {
2014
- throw new Error(`cannot find token at start of property: ${inspect4(property)}`);
2015
- }
2016
- const last = context.linesAndColumns.indexForLocation({
2017
- line: property.locationData.last_line,
2018
- column: property.locationData.last_column
2019
- });
2020
- if (last === null) {
2021
- throw new Error(`cannot find offset of last character of property: ${inspect4(property)}`);
2022
- }
2023
- const isPrototypeAccess = startToken.type === SourceType8.PROTO;
2024
- if (isPrototypeAccess) {
2025
- const AccessOp2 = property.soak ? SoakedProtoMemberAccessOp : ProtoMemberAccessOp;
2026
- return new AccessOp2(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced);
2027
- } else {
2028
- const member = mapAny(context, name);
2029
- if (!(member instanceof Identifier)) {
2030
- throw new Error(`unexpected non-Identifier access member: ${inspect4(member)}`);
2031
- }
2032
- const AccessOp2 = property.soak ? SoakedMemberAccessOp : MemberAccessOp;
2033
- return new AccessOp2(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced, member);
2034
- }
2035
- } else if (property instanceof Index) {
2036
- const NodeClass = property.soak ? SoakedDynamicMemberAccessOp : DynamicMemberAccessOp;
2037
- const last = context.linesAndColumns.indexForLocation({
2038
- line: property.locationData.last_line,
2039
- column: property.locationData.last_column
2040
- });
2041
- if (last === null) {
2042
- throw new Error(`cannot find offset of last character of index: ${inspect4(property)}`);
2043
- }
2044
- return new NodeClass(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced, mapAny(context, property.index));
2045
- } else if (property instanceof CoffeeSlice) {
2046
- const last = context.linesAndColumns.indexForLocation({
2047
- line: property.locationData.last_line,
2048
- column: property.locationData.last_column
2049
- });
2050
- if (last === null) {
2051
- throw new Error(`cannot find offset of last character of slice: ${inspect4(property)}`);
2052
- }
2053
- const SliceClass = property.soak ? SoakedSlice : Slice;
2054
- return new SliceClass(location.line, location.column, location.start, last + 1, context.source.slice(location.start, last + 1), reduced, property.range.from ? mapAny(context, property.range.from) : null, property.range.to ? mapAny(context, property.range.to) : null, !property.range.exclusive);
2055
- } else {
2056
- throw new UnsupportedNodeError(property, "Unexpected property access.");
2057
- }
2058
- }
2059
- function tokenIndexAtLocation(context, location) {
2060
- const start = context.linesAndColumns.indexForLocation({
2061
- line: location.first_line,
2062
- column: location.first_column
2063
- });
2064
- if (start === null) {
2065
- return null;
2066
- }
2067
- return context.sourceTokens.indexOfTokenContainingSourceIndex(start);
2068
- }
2069
-
2070
- // src/mappers/mapObj.ts
2071
- function mapObj(context, node) {
2072
- const { line, column, start, end, raw } = getLocation(context, node);
2073
- const members = [];
2074
- for (const property of node.properties) {
2075
- if (isCommentOnlyNode(property)) {
2076
- continue;
2077
- }
2078
- const { line: line2, column: column2, start: start2, end: end2, raw: raw2 } = getLocation(context, property);
2079
- if (property instanceof Value7) {
2080
- const value = mapValue(context, property);
2081
- const isComputed = property.base instanceof ComputedPropertyName;
2082
- members.push(new ObjectInitialiserMember(line2, column2, start2, end2, raw2, value, null, isComputed));
2083
- } else if (property instanceof Assign2 && property.context === "object") {
2084
- const key = mapAny(context, property.variable);
2085
- const expression = mapAny(context, property.value);
2086
- const isComputed = property.variable instanceof Value7 && property.variable.base instanceof ComputedPropertyName;
2087
- members.push(new ObjectInitialiserMember(line2, column2, start2, end2, raw2, key, expression, isComputed));
2088
- } else if (property instanceof Assign2) {
2089
- const assignee = mapAny(context, property.variable);
2090
- const expression = mapAny(context, property.value);
2091
- members.push(new AssignOp(line2, column2, start2, end2, raw2, assignee, expression));
2092
- } else if (property instanceof Splat3) {
2093
- members.push(new Spread(line2, column2, start2, end2, raw2, mapAny(context, property.name)));
2094
- } else {
2095
- throw new UnsupportedNodeError(property, "Unexpected object member.");
2096
- }
2097
- }
2098
- return new ObjectInitialiser(line, column, start, end, raw, members);
2099
- }
2100
-
2101
- // src/mappers/mapOp.ts
2102
- import { SourceType as SourceType10 } from "coffee-lex";
2103
- import {
2104
- Literal as Literal7,
2105
- Value as Value8
2106
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2107
- import { inspect as inspect6 } from "util";
2108
-
2109
- // src/util/getOperatorInfoInRange.ts
2110
- import { SourceType as SourceType9 } from "coffee-lex";
2111
- function getOperatorInfoInRange(context, start, end) {
2112
- const startIndex = context.sourceTokens.indexOfTokenNearSourceIndex(start);
2113
- const endIndex = context.sourceTokens.indexOfTokenNearSourceIndex(end);
2114
- if (!startIndex || !endIndex) {
2115
- throw new Error(`cannot find token indexes of range bounds: [${start}, ${end}]`);
2116
- }
2117
- const operatorIndex = context.sourceTokens.indexOfTokenMatchingPredicate((token) => token.type !== SourceType9.LPAREN && token.type !== SourceType9.RPAREN, startIndex.next(), endIndex);
2118
- const operatorToken = operatorIndex && context.sourceTokens.tokenAtIndex(operatorIndex);
2119
- if (!operatorToken) {
2120
- throw new Error(`cannot find operator token in range: [${start}, ${end}]`);
2121
- }
2122
- return new OperatorInfo(context.source.slice(operatorToken.start, operatorToken.end), operatorToken);
2123
- }
2124
-
2125
- // src/util/isChainedComparison.ts
2126
- import { Op as Op4 } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2127
-
2128
- // src/util/isComparisonOperator.ts
2129
- import { Op as Op3 } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2130
- function isComparisonOperator(node) {
2131
- if (!(node instanceof Op3)) {
2132
- return false;
2133
- }
2134
- switch (node.operator) {
2135
- case "<":
2136
- case ">":
2137
- case "<=":
2138
- case ">=":
2139
- case "===":
2140
- case "!==":
2141
- return true;
2142
- default:
2143
- return false;
2144
- }
2145
- }
2146
-
2147
- // src/util/isChainedComparison.ts
2148
- function isChainedComparison(node) {
2149
- if (node instanceof Op4 && isComparisonOperator(node)) {
2150
- return isComparisonOperator(node.first) || (node.second ? isComparisonOperator(node.second) : false);
2151
- } else {
2152
- return false;
2153
- }
2154
- }
2155
-
2156
- // src/util/unwindChainedComparison.ts
2157
- import { Op as Op5 } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2158
- import { inspect as inspect5 } from "util";
2159
- function unwindChainedComparison(node) {
2160
- let operands = [];
2161
- for (let link = node; ; ) {
2162
- if (link instanceof Op5 && isComparisonOperator(link)) {
2163
- const { first, second } = link;
2164
- if (!second) {
2165
- throw new Error(`unexpected unary operator inside chained comparison: ${inspect5(node)}`);
2166
- }
2167
- operands = [second, ...operands];
2168
- link = first;
2169
- } else {
2170
- operands = [link, ...operands];
2171
- break;
2172
- }
2173
- }
2174
- return operands;
2175
- }
2176
-
2177
- // src/mappers/mapOp.ts
2178
- function mapOp(context, node) {
2179
- if (isChainedComparison(node)) {
2180
- return mapChainedComparisonOp(context, node);
2181
- } else {
2182
- return mapOpWithoutChainedComparison(context, node);
2183
- }
2184
- }
2185
- function mapChainedComparisonOp(context, node) {
2186
- const { line, column, start, end, raw } = getLocation(context, node);
2187
- const coffeeOperands = unwindChainedComparison(node);
2188
- const operands = coffeeOperands.map((operand) => mapAny(context, operand));
2189
- const operators = [];
2190
- for (let i = 0; i < operands.length - 1; i++) {
2191
- const left = operands[i];
2192
- const right = operands[i + 1];
2193
- operators.push(getOperatorInfoInRange(context, left.end - 1, right.start));
2194
- }
2195
- return new ChainedComparisonOp(line, column, start, end, raw, operands, operators);
2196
- }
2197
- function mapOpWithoutChainedComparison(context, node) {
2198
- switch (node.operator) {
2199
- case "===":
2200
- return mapBinaryOp(context, node, EQOp);
2201
- case "!==":
2202
- return mapBinaryOp(context, node, NEQOp);
2203
- case "!":
2204
- return mapUnaryOp(context, node, LogicalNotOp);
2205
- case "+":
2206
- return mapPlusOp(context, node);
2207
- case "-":
2208
- return mapBinaryOrUnaryOp(context, node, SubtractOp, UnaryNegateOp);
2209
- case "&&":
2210
- return mapBinaryOp(context, node, LogicalAndOp);
2211
- case "||":
2212
- return mapBinaryOp(context, node, LogicalOrOp);
2213
- case "*":
2214
- return mapBinaryOp(context, node, MultiplyOp);
2215
- case "/":
2216
- return mapBinaryOp(context, node, DivideOp);
2217
- case "//":
2218
- return mapBinaryOp(context, node, FloorDivideOp);
2219
- case "?":
2220
- return mapBinaryOp(context, node, ExistsOp);
2221
- case "<":
2222
- return mapBinaryOp(context, node, LTOp);
2223
- case "<=":
2224
- return mapBinaryOp(context, node, LTEOp);
2225
- case ">":
2226
- return mapBinaryOp(context, node, GTOp);
2227
- case ">=":
2228
- return mapBinaryOp(context, node, GTEOp);
2229
- case "++":
2230
- return mapUnaryOp(context, node, node.flip ? PostIncrementOp : PreIncrementOp);
2231
- case "--":
2232
- return mapUnaryOp(context, node, node.flip ? PostDecrementOp : PreDecrementOp);
2233
- case "typeof":
2234
- return mapUnaryOp(context, node, TypeofOp);
2235
- case "instanceof":
2236
- return mapNegateableBinaryOp(context, node, InstanceofOp);
2237
- case "delete":
2238
- return mapUnaryOp(context, node, DeleteOp);
2239
- case "in":
2240
- return mapNegateableBinaryOp(context, node, OfOp);
2241
- case "new":
2242
- return mapNewOp2(context, node);
2243
- case "**":
2244
- return mapBinaryOp(context, node, ExpOp);
2245
- case "%":
2246
- return mapBinaryOp(context, node, RemOp);
2247
- case "%%":
2248
- return mapBinaryOp(context, node, ModuloOp);
2249
- case "&":
2250
- return mapBinaryOp(context, node, BitAndOp);
2251
- case "|":
2252
- return mapBinaryOp(context, node, BitOrOp);
2253
- case "^":
2254
- return mapBinaryOp(context, node, BitXorOp);
2255
- case "<<":
2256
- return mapBinaryOp(context, node, LeftShiftOp);
2257
- case ">>":
2258
- return mapBinaryOp(context, node, SignedRightShiftOp);
2259
- case ">>>":
2260
- return mapBinaryOp(context, node, UnsignedRightShiftOp);
2261
- case "~":
2262
- return mapUnaryOp(context, node, BitNotOp);
2263
- case "yield":
2264
- return mapYieldOp(context, node);
2265
- case "yield*":
2266
- return mapUnaryOp(context, node, YieldFrom);
2267
- case "await":
2268
- return mapUnaryOp(context, node, Await);
2269
- }
2270
- throw new UnsupportedNodeError(node);
2271
- }
2272
- function mapPlusOp(context, node) {
2273
- if (node.second) {
2274
- if (isImplicitPlusOp(node, context)) {
2275
- return makeString(context, node);
2276
- } else {
2277
- return mapBinaryOp(context, node, PlusOp);
2278
- }
2279
- }
2280
- return mapUnaryOp(context, node, UnaryPlusOp);
2281
- }
2282
- function mapNewOp2(context, node) {
2283
- if (node.second) {
2284
- throw new Error(`unexpected 'new' operator with multiple operands: ${inspect6(node)}`);
2285
- }
2286
- const { line, column, start, end, raw } = getLocation(context, node);
2287
- return new NewOp(line, column, start, end, raw, mapAny(context, node.first), []);
2288
- }
2289
- function mapYieldOp(context, node) {
2290
- const { line, column, start, end, raw } = getLocation(context, node);
2291
- if (isBareYield(node)) {
2292
- return new Yield(line, column, start, end, raw, null);
2293
- } else {
2294
- return new Yield(line, column, start, end, raw, mapAny(context, node.first));
2295
- }
2296
- }
2297
- function isBareYield(node) {
2298
- return node.first instanceof Value8 && node.first.base instanceof Literal7 && node.first.base.value === "";
2299
- }
2300
- function mapBinaryOp(context, node, Op10) {
2301
- const { line, column, start, end, raw } = getLocation(context, node);
2302
- if (!node.second) {
2303
- throw new Error(`unexpected '${node.operator}' operator with only one operand: ${inspect6(node)}`);
2304
- }
2305
- return new Op10(line, column, start, end, raw, mapAny(context, node.first), mapAny(context, node.second));
2306
- }
2307
- function mapUnaryOp(context, node, Op10) {
2308
- const { line, column, start, end, raw } = getLocation(context, node);
2309
- if (node.second) {
2310
- throw new Error(`unexpected '${node.operator}' operator with two operands: ${inspect6(node)}`);
2311
- }
2312
- return new Op10(line, column, start, end, raw, mapAny(context, node.first));
2313
- }
2314
- function mapBinaryOrUnaryOp(context, node, BinaryOp2, UnaryOp3) {
2315
- if (node.second) {
2316
- return mapBinaryOp(context, node, BinaryOp2);
2317
- } else {
2318
- return mapUnaryOp(context, node, UnaryOp3);
2319
- }
2320
- }
2321
- var TemporaryBinaryOp = class extends BinaryOp {
2322
- constructor(line, column, start, end, raw, left, right) {
2323
- super("TEMPORARY", line, column, start, end, raw, left, right);
2324
- }
2325
- };
2326
- function tokenStartsWith(prefix, context, token) {
2327
- return context.source.slice(token.start, token.start + prefix.length) === prefix;
2328
- }
2329
- function mapNegateableBinaryOp(context, node, Op10) {
2330
- const { line, column, start, end, raw, left, right } = mapBinaryOp(context, node, TemporaryBinaryOp);
2331
- const lastTokenIndexOfLeft = context.sourceTokens.indexOfTokenEndingAtSourceIndex(left.end);
2332
- const firstTokenIndexOfRight = context.sourceTokens.indexOfTokenStartingAtSourceIndex(right.start);
2333
- let isNot = false;
2334
- if (lastTokenIndexOfLeft) {
2335
- for (let i = lastTokenIndexOfLeft.next(); i && i !== firstTokenIndexOfRight; i = i.next()) {
2336
- const token = context.sourceTokens.tokenAtIndex(i);
2337
- if (token && (token.type === SourceType10.OPERATOR || token.type === SourceType10.RELATION)) {
2338
- isNot = tokenStartsWith("not", context, token) || tokenStartsWith("!", context, token);
2339
- break;
2340
- }
2341
- }
2342
- }
2343
- return new Op10(line, column, start, end, raw, left, right, isNot);
2344
- }
2345
-
2346
- // src/mappers/mapParam.ts
2347
- function mapParam(context, node) {
2348
- const { line, column, start, end, raw } = getLocation(context, node);
2349
- const param = mapAny(context, node.name);
2350
- if (node.value) {
2351
- const value = mapAny(context, node.value);
2352
- return new DefaultParam(line, column, start, end, raw, param, value);
2353
- }
2354
- if (node.splat) {
2355
- return new Rest(line, column, start, end, raw, param);
2356
- }
2357
- return param;
2358
- }
2359
-
2360
- // src/mappers/mapParens.ts
2361
- import {
2362
- Block as Block2
2363
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2364
- function mapParens(context, node) {
2365
- if (!(node.body instanceof Block2)) {
2366
- return mapAny(context, node.body);
2367
- }
2368
- let { expressions } = node.body;
2369
- expressions = expressions.filter((expr) => !isCommentOnlyNode(expr));
2370
- if (expressions.length === 1) {
2371
- return mapAny(context, expressions[0]);
2372
- }
2373
- return expressions.map((expression) => mapAny(context, expression)).reduceRight((right, left) => new SeqOp(left.line, left.column, left.start, right.end, context.source.slice(left.start, right.end), left, right));
2374
- }
2375
-
2376
- // src/mappers/mapRange.ts
2377
- import { inspect as inspect7 } from "util";
2378
- function mapRange(context, node) {
2379
- const { line, column, start, end, raw } = getLocation(context, node);
2380
- if (!node.from || !node.to) {
2381
- throw new Error(`'from' or 'to' unexpectedly missing: ${inspect7(node)}`);
2382
- }
2383
- return new Range(line, column, start, end, raw, mapAny(context, node.from), mapAny(context, node.to), !node.exclusive);
2384
- }
2385
-
2386
- // src/mappers/mapReturn.ts
2387
- import {
2388
- AwaitReturn as CoffeeAwaitReturn,
2389
- YieldReturn as CoffeeYieldReturn
2390
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2391
- function mapReturn(context, node) {
2392
- const { line, column, start, end, raw } = getLocation(context, node);
2393
- const argument = node.expression ? mapAny(context, node.expression) : null;
2394
- if (node instanceof CoffeeYieldReturn) {
2395
- return new YieldReturn(line, column, start, end, raw, argument);
2396
- } else if (node instanceof CoffeeAwaitReturn) {
2397
- return new AwaitReturn(line, column, start, end, raw, argument);
2398
- } else {
2399
- return new Return(line, column, start, end, raw, argument);
2400
- }
2401
- }
2402
-
2403
- // src/mappers/mapSplat.ts
2404
- function mapSplat(context, node) {
2405
- const { line, column, start, end, raw } = getLocation(context, node);
2406
- return new Spread(line, column, start, end, raw, mapAny(context, node.name));
2407
- }
2408
-
2409
- // src/mappers/mapSuper.ts
2410
- import { SourceType as SourceType11 } from "coffee-lex";
2411
- function mapSuper(context, node) {
2412
- const location = getLocation(context, node);
2413
- const { line, column, start } = location;
2414
- const superTokenIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
2415
- if (!superTokenIndex) {
2416
- throw new Error("Expected token at the start of super node.");
2417
- }
2418
- const superToken = context.sourceTokens.tokenAtIndex(superTokenIndex);
2419
- if (!superToken || superToken.type !== SourceType11.SUPER) {
2420
- throw new Error("Expected super token at the start of super node.");
2421
- }
2422
- const superNode = new Super(line, column, start, superToken.end, context.source.slice(superToken.start, superToken.end));
2423
- return reduceProperty(context, location, superNode, node.accessor);
2424
- }
2425
-
2426
- // src/mappers/mapSwitch.ts
2427
- import { SourceType as SourceType12 } from "coffee-lex";
2428
- function mapSwitch(context, node) {
2429
- const { line, column, start, end, raw } = getLocation(context, node);
2430
- const expression = node.subject ? mapAny(context, node.subject) : null;
2431
- const cases = node.cases.map(([conditions, body]) => {
2432
- if (!Array.isArray(conditions)) {
2433
- conditions = [conditions];
2434
- }
2435
- const switchConditions = conditions.map((condition) => mapAny(context, condition));
2436
- const consequent = mapPossiblyEmptyBlock(context, body);
2437
- const whenToken = getWhenTokenBeforeOffset(context, switchConditions[0].start, start);
2438
- const locationForIndex = context.linesAndColumns.locationForIndex(whenToken.start);
2439
- if (!locationForIndex) {
2440
- throw new Error(`cannot map WHEN token start to line/column: ${whenToken.start}`);
2441
- }
2442
- const { line: caseLine, column: caseColumn } = locationForIndex;
2443
- const { end: end2 } = getLocation(context, body);
2444
- return new SwitchCase(caseLine + 1, caseColumn + 1, whenToken.start, end2, context.source.slice(whenToken.start, end2), switchConditions, consequent);
2445
- });
2446
- return new Switch(line, column, start, end, raw, expression, cases, mapPossiblyEmptyBlock(context, node.otherwise));
2447
- }
2448
- function getWhenTokenBeforeOffset(context, offset, lowerBound) {
2449
- const offsetTokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(offset);
2450
- const lowerBoundTokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(lowerBound);
2451
- const whenTokenIndex = context.sourceTokens.lastIndexOfTokenMatchingPredicate((token) => token.type === SourceType12.WHEN, offsetTokenIndex, lowerBoundTokenIndex);
2452
- if (whenTokenIndex) {
2453
- const whenToken = context.sourceTokens.tokenAtIndex(whenTokenIndex);
2454
- if (whenToken) {
2455
- return whenToken;
2456
- }
2457
- }
2458
- throw new Error(`unable to find WHEN token before ${offset} (lower bound: ${lowerBound})`);
2459
- }
2460
-
2461
- // src/mappers/mapTaggedTemplateCall.ts
2462
- function mapTaggedTemplateCall(context, node) {
2463
- const { line, column, start, end, raw } = getLocation(context, node);
2464
- if (!node.variable) {
2465
- throw new Error("Expected tag in tagged template literal.");
2466
- }
2467
- const tag = mapAny(context, node.variable);
2468
- if (node.args.length !== 1) {
2469
- throw new Error("Expected tagged template literal call to have exactly one argument.");
2470
- }
2471
- const template = mapAny(context, node.args[0]);
2472
- if (!(template instanceof String)) {
2473
- throw new Error("Expected tagged template literal argument to be a string.");
2474
- }
2475
- return new TaggedTemplateLiteral(line, column, start, end, raw, tag, template);
2476
- }
2477
-
2478
- // src/mappers/mapThrow.ts
2479
- function mapThrow(context, node) {
2480
- const { line, column, start, end, raw } = getLocation(context, node);
2481
- const expression = node.expression ? mapAny(context, node.expression) : null;
2482
- return new Throw(line, column, start, end, raw, expression);
2483
- }
2484
-
2485
- // src/mappers/mapTry.ts
2486
- function mapTry(context, node) {
2487
- const { line, column, start, end, raw } = getLocation(context, node);
2488
- return new Try(line, column, start, end, raw, mapPossiblyEmptyBlock(context, node.attempt), node.errorVariable ? mapAny(context, node.errorVariable) : null, mapPossiblyEmptyBlock(context, node.recovery), mapPossiblyEmptyBlock(context, node.ensure));
2489
- }
2490
-
2491
- // src/mappers/mapWhile.ts
2492
- import { SourceType as SourceType13 } from "coffee-lex";
2493
- function mapWhile(context, node) {
2494
- const { line, column, start, end, raw } = getLocation(context, node);
2495
- const startTokenIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
2496
- const startToken = startTokenIndex && context.sourceTokens.tokenAtIndex(startTokenIndex);
2497
- if (startToken && startToken.type === SourceType13.LOOP) {
2498
- return new Loop(line, column, start, end, raw, mapPossiblyEmptyBlock(context, node.body));
2499
- }
2500
- const condition = mapAny(context, node.condition);
2501
- const guard = node.guard ? mapAny(context, node.guard) : null;
2502
- let body = mapPossiblyEmptyBlock(context, node.body);
2503
- if (body instanceof Block && body.start < condition.start) {
2504
- body = body.withInline(true);
2505
- }
2506
- return new While(line, column, start, end, raw, condition, guard, body, node.condition.inverted === true);
2507
- }
2508
-
2509
- // src/mappers/mapAny.ts
2510
- function mapAny(context, node) {
2511
- if (node instanceof Value9) {
2512
- return mapValue(context, node);
2513
- }
2514
- if (node instanceof ComputedPropertyName2) {
2515
- return mapComputedPropertyName(context, node);
2516
- }
2517
- if (node instanceof Literal8) {
2518
- return mapLiteral(context, node);
2519
- }
2520
- if (node instanceof Op7) {
2521
- return mapOp(context, node);
2522
- }
2523
- if (node instanceof TaggedTemplateCall) {
2524
- return mapTaggedTemplateCall(context, node);
2525
- }
2526
- if (node instanceof Call4) {
2527
- return mapCall(context, node);
2528
- }
2529
- if (node instanceof Super2) {
2530
- return mapSuper(context, node);
2531
- }
2532
- if (node instanceof Arr2) {
2533
- return mapArr(context, node);
2534
- }
2535
- if (node instanceof Assign3) {
2536
- return mapAssign(context, node);
2537
- }
2538
- if (node instanceof Param) {
2539
- return mapParam(context, node);
2540
- }
2541
- if (node instanceof Return2) {
2542
- return mapReturn(context, node);
2543
- }
2544
- if (node instanceof If) {
2545
- return mapIf(context, node);
2546
- }
2547
- if (node instanceof Obj3) {
2548
- return mapObj(context, node);
2549
- }
2550
- if (node instanceof Parens2 || node instanceof StringWithInterpolations4) {
2551
- return mapParens(context, node);
2552
- }
2553
- if (node instanceof For3) {
2554
- return mapFor(context, node);
2555
- }
2556
- if (node instanceof Throw2) {
2557
- return mapThrow(context, node);
2558
- }
2559
- if (node instanceof Block3) {
2560
- return mapBlock(context, node);
2561
- }
2562
- if (node instanceof Code) {
2563
- return mapCode(context, node);
2564
- }
2565
- if (node instanceof While2 && !(node instanceof For3)) {
2566
- return mapWhile(context, node);
2567
- }
2568
- if (node instanceof Try2) {
2569
- return mapTry(context, node);
2570
- }
2571
- if (node instanceof Existence) {
2572
- return mapExistence(context, node);
2573
- }
2574
- if (node instanceof Class2) {
2575
- return mapClass(context, node);
2576
- }
2577
- if (node instanceof Splat4) {
2578
- return mapSplat(context, node);
2579
- }
2580
- if (node instanceof Expansion2) {
2581
- return mapExpansion(context, node);
2582
- }
2583
- if (node instanceof Elision2) {
2584
- return mapElision(context, node);
2585
- }
2586
- if (node instanceof Switch2) {
2587
- return mapSwitch(context, node);
2588
- }
2589
- if (node instanceof In) {
2590
- return mapIn(context, node);
2591
- }
2592
- if (node instanceof Range2) {
2593
- return mapRange(context, node);
2594
- }
2595
- if (node instanceof Extends) {
2596
- return mapExtends(context, node);
2597
- }
2598
- if (node instanceof ModuleDeclaration2) {
2599
- return mapModuleDeclaration(context, node);
2600
- }
2601
- throw new UnsupportedNodeError(node);
2602
- }
2603
-
2604
- // src/mappers/mapBlock.ts
2605
- function mapBlock(context, node) {
2606
- let childContext = context;
2607
- if (context.parseState.isInClassBody()) {
2608
- const hasProtoAssignChild = node.expressions.some((child) => child instanceof Value10 && child.isObject(true));
2609
- if (hasProtoAssignChild) {
2610
- childContext = childContext.updateState((s) => s.dropCurrentClass());
2611
- }
2612
- }
2613
- const { line, column, start, end, raw } = getLocation(context, node);
2614
- const previousTokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(start).previous();
2615
- const previousToken = previousTokenIndex ? context.sourceTokens.tokenAtIndex(previousTokenIndex) : null;
2616
- const inline = previousToken ? previousToken.type !== SourceType14.NEWLINE : false;
2617
- return new Block(line, column, start, end, raw, node.expressions.filter((expression) => !isCommentOnlyNode(expression)).map((expression) => mapChild(context, childContext, expression)).reduce((arr, current) => arr.concat(current), []), inline);
2618
- }
2619
- function mapChild(blockContext, childContext, node) {
2620
- if (blockContext.parseState.isInClassBody() && node instanceof Value10 && node.isObject(true)) {
2621
- const obj = node.base;
2622
- if (!(obj instanceof Obj4)) {
2623
- throw new Error("Expected isObject node to be an object.");
2624
- }
2625
- const statements = [];
2626
- for (const property of obj.properties) {
2627
- if (isCommentOnlyNode(property)) {
2628
- continue;
2629
- }
2630
- if (property instanceof Assign4) {
2631
- const { line, column, start, end, raw } = getLocation(childContext, property);
2632
- const key = mapAny(childContext, property.variable);
2633
- const value = mapAny(childContext, property.value);
2634
- let Node12 = ClassProtoAssignOp;
2635
- if (key instanceof Identifier && key.data === "constructor") {
2636
- Node12 = Constructor;
2637
- } else if (key instanceof MemberAccessOp && key.expression instanceof This) {
2638
- Node12 = AssignOp;
2639
- }
2640
- const assignment = new Node12(line, column, start, end, raw, key, value);
2641
- statements.push(assignment);
2642
- if (assignment instanceof ClassProtoAssignOp && (assignment.expression instanceof BoundFunction || assignment.expression instanceof BoundGeneratorFunction || assignment.expression instanceof BoundAsyncFunction)) {
2643
- blockContext.parseState.recordBoundMethod(assignment);
2644
- }
2645
- if (assignment instanceof Constructor) {
2646
- blockContext.parseState.recordConstructor(assignment);
2647
- }
2648
- } else {
2649
- throw new Error(`unexpected class assignment: ${inspect8(property)}`);
2650
- }
2651
- }
2652
- return statements;
2653
- }
2654
- return [mapAny(childContext, node)];
2655
- }
2656
-
2657
- // src/mappers/mapPossiblyEmptyBlock.ts
2658
- function mapPossiblyEmptyBlock(context, node) {
2659
- if (!node) {
2660
- return null;
2661
- }
2662
- if (node.expressions.every((expression) => isCommentOnlyNode(expression))) {
2663
- return null;
2664
- }
2665
- const lastSourceIndex = context.linesAndColumns.indexForLocation({
2666
- line: node.locationData.last_line,
2667
- column: node.locationData.last_column
2668
- });
2669
- if (lastSourceIndex === null) {
2670
- throw new Error("Expected to find last source index of block.");
2671
- }
2672
- if (context.source[lastSourceIndex] === ";") {
2673
- return mapBlock(context, node);
2674
- }
2675
- if (node.expressions.length === 0) {
2676
- return null;
2677
- }
2678
- return mapBlock(context, node);
2679
- }
2680
-
2681
- // src/mappers/mapProgram.ts
2682
- function mapProgram(context) {
2683
- return new Program(1, 1, 0, context.source.length, context.source, mapPossiblyEmptyBlock(context, context.ast), context);
2684
- }
2685
-
2686
- // src/parseCS1AsCS2.ts
2687
- import { nodes } from "decaffeinate-coffeescript";
2688
- import {
2689
- Access as CS1Access,
2690
- Arr as CS1Arr,
2691
- Assign as CS1Assign,
2692
- Base as CS1Base2,
2693
- Block as CS1Block,
2694
- BooleanLiteral as CS1BooleanLiteral,
2695
- Call as CS1Call,
2696
- Class as CS1Class,
2697
- Code as CS1Code,
2698
- Comment as CS1Comment,
2699
- Existence as CS1Existence,
2700
- Expansion as CS1Expansion,
2701
- ExportAllDeclaration as CS1ExportAllDeclaration,
2702
- ExportDeclaration as CS1ExportDeclaration,
2703
- ExportDefaultDeclaration as CS1ExportDefaultDeclaration,
2704
- ExportNamedDeclaration as CS1ExportNamedDeclaration,
2705
- ExportSpecifier as CS1ExportSpecifier,
2706
- ExportSpecifierList as CS1ExportSpecifierList,
2707
- Extends as CS1Extends,
2708
- For as CS1For,
2709
- IdentifierLiteral as CS1IdentifierLiteral,
2710
- If as CS1If,
2711
- ImportClause as CS1ImportClause,
2712
- ImportDeclaration as CS1ImportDeclaration,
2713
- ImportDefaultSpecifier as CS1ImportDefaultSpecifier,
2714
- ImportNamespaceSpecifier as CS1ImportNamespaceSpecifier,
2715
- ImportSpecifier as CS1ImportSpecifier,
2716
- ImportSpecifierList as CS1ImportSpecifierList,
2717
- In as CS1In,
2718
- Index as CS1Index,
2719
- InfinityLiteral as CS1InfinityLiteral,
2720
- Literal as CS1Literal,
2721
- ModuleDeclaration as CS1ModuleDeclaration,
2722
- ModuleSpecifier as CS1ModuleSpecifier,
2723
- ModuleSpecifierList as CS1ModuleSpecifierList,
2724
- NaNLiteral as CS1NaNLiteral,
2725
- NullLiteral as CS1NullLiteral,
2726
- NumberLiteral as CS1NumberLiteral,
2727
- Obj as CS1Obj,
2728
- Op as CS1Op2,
2729
- Param as CS1Param,
2730
- Parens as CS1Parens,
2731
- PassthroughLiteral as CS1PassthroughLiteral,
2732
- PropertyName as CS1PropertyName,
2733
- Range as CS1Range,
2734
- RegexLiteral as CS1RegexLiteral,
2735
- RegexWithInterpolations as CS1RegexWithInterpolations,
2736
- Return as CS1Return,
2737
- Slice as CS1Slice,
2738
- Splat as CS1Splat,
2739
- StatementLiteral as CS1StatementLiteral,
2740
- StringLiteral as CS1StringLiteral,
2741
- StringWithInterpolations as CS1StringWithInterpolations,
2742
- SuperCall as CS1SuperCall,
2743
- Switch as CS1Switch,
2744
- TaggedTemplateCall as CS1TaggedTemplateCall,
2745
- ThisLiteral as CS1ThisLiteral,
2746
- Throw as CS1Throw,
2747
- Try as CS1Try,
2748
- UndefinedLiteral as CS1UndefinedLiteral,
2749
- Value as CS1Value,
2750
- While as CS1While,
2751
- YieldReturn as CS1YieldReturn
2752
- } from "decaffeinate-coffeescript/lib/coffee-script/nodes.js";
2753
- import {
2754
- Access as Access2,
2755
- Arr as Arr3,
2756
- Assign as Assign5,
2757
- Base as Base11,
2758
- Block as Block4,
2759
- BooleanLiteral as BooleanLiteral2,
2760
- Call as Call5,
2761
- Class as Class3,
2762
- Code as Code2,
2763
- Existence as Existence2,
2764
- Expansion as Expansion3,
2765
- ExportAllDeclaration as ExportAllDeclaration2,
2766
- ExportDeclaration,
2767
- ExportDefaultDeclaration as ExportDefaultDeclaration2,
2768
- ExportNamedDeclaration as ExportNamedDeclaration2,
2769
- ExportSpecifier,
2770
- ExportSpecifierList as ExportSpecifierList2,
2771
- Extends as Extends2,
2772
- For as For4,
2773
- IdentifierLiteral as IdentifierLiteral4,
2774
- If as If2,
2775
- ImportClause,
2776
- ImportDeclaration as ImportDeclaration2,
2777
- ImportDefaultSpecifier,
2778
- ImportNamespaceSpecifier as ImportNamespaceSpecifier2,
2779
- ImportSpecifier,
2780
- ImportSpecifierList as ImportSpecifierList2,
2781
- In as In2,
2782
- Index as Index2,
2783
- InfinityLiteral,
2784
- Literal as Literal9,
2785
- ModuleDeclaration as ModuleDeclaration3,
2786
- ModuleSpecifier as ModuleSpecifier2,
2787
- ModuleSpecifierList,
2788
- NaNLiteral,
2789
- NullLiteral as NullLiteral2,
2790
- NumberLiteral as NumberLiteral2,
2791
- Obj as Obj5,
2792
- Op as Op8,
2793
- Param as Param2,
2794
- Parens as Parens3,
2795
- PassthroughLiteral as PassthroughLiteral3,
2796
- PropertyName as PropertyName2,
2797
- Range as Range3,
2798
- RegexLiteral as RegexLiteral2,
2799
- RegexWithInterpolations,
2800
- Return as Return3,
2801
- Slice as Slice2,
2802
- Splat as Splat5,
2803
- StatementLiteral as StatementLiteral2,
2804
- StringLiteral as StringLiteral4,
2805
- StringWithInterpolations as StringWithInterpolations5,
2806
- SuperCall as SuperCall2,
2807
- Switch as Switch3,
2808
- TaggedTemplateCall as TaggedTemplateCall2,
2809
- ThisLiteral as ThisLiteral2,
2810
- Throw as Throw3,
2811
- Try as Try3,
2812
- UndefinedLiteral as UndefinedLiteral2,
2813
- Value as Value11,
2814
- While as While3,
2815
- YieldReturn as YieldReturn2
2816
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2817
- var nodeTypeMap = /* @__PURE__ */ new Map();
2818
- nodeTypeMap.set(CS1Base2, Base11);
2819
- nodeTypeMap.set(CS1Block, Block4);
2820
- nodeTypeMap.set(CS1Literal, Literal9);
2821
- nodeTypeMap.set(CS1NumberLiteral, NumberLiteral2);
2822
- nodeTypeMap.set(CS1InfinityLiteral, InfinityLiteral);
2823
- nodeTypeMap.set(CS1NaNLiteral, NaNLiteral);
2824
- nodeTypeMap.set(CS1StringLiteral, StringLiteral4);
2825
- nodeTypeMap.set(CS1RegexLiteral, RegexLiteral2);
2826
- nodeTypeMap.set(CS1PassthroughLiteral, PassthroughLiteral3);
2827
- nodeTypeMap.set(CS1IdentifierLiteral, IdentifierLiteral4);
2828
- nodeTypeMap.set(CS1PropertyName, PropertyName2);
2829
- nodeTypeMap.set(CS1StatementLiteral, StatementLiteral2);
2830
- nodeTypeMap.set(CS1ThisLiteral, ThisLiteral2);
2831
- nodeTypeMap.set(CS1UndefinedLiteral, UndefinedLiteral2);
2832
- nodeTypeMap.set(CS1NullLiteral, NullLiteral2);
2833
- nodeTypeMap.set(CS1BooleanLiteral, BooleanLiteral2);
2834
- nodeTypeMap.set(CS1Return, Return3);
2835
- nodeTypeMap.set(CS1YieldReturn, YieldReturn2);
2836
- nodeTypeMap.set(CS1Value, Value11);
2837
- nodeTypeMap.set(CS1Call, Call5);
2838
- nodeTypeMap.set(CS1SuperCall, SuperCall2);
2839
- nodeTypeMap.set(CS1RegexWithInterpolations, RegexWithInterpolations);
2840
- nodeTypeMap.set(CS1TaggedTemplateCall, TaggedTemplateCall2);
2841
- nodeTypeMap.set(CS1Extends, Extends2);
2842
- nodeTypeMap.set(CS1Access, Access2);
2843
- nodeTypeMap.set(CS1Index, Index2);
2844
- nodeTypeMap.set(CS1Range, Range3);
2845
- nodeTypeMap.set(CS1Slice, Slice2);
2846
- nodeTypeMap.set(CS1Obj, Obj5);
2847
- nodeTypeMap.set(CS1Arr, Arr3);
2848
- nodeTypeMap.set(CS1Class, Class3);
2849
- nodeTypeMap.set(CS1ModuleDeclaration, ModuleDeclaration3);
2850
- nodeTypeMap.set(CS1ImportDeclaration, ImportDeclaration2);
2851
- nodeTypeMap.set(CS1ImportClause, ImportClause);
2852
- nodeTypeMap.set(CS1ExportDeclaration, ExportDeclaration);
2853
- nodeTypeMap.set(CS1ExportNamedDeclaration, ExportNamedDeclaration2);
2854
- nodeTypeMap.set(CS1ExportDefaultDeclaration, ExportDefaultDeclaration2);
2855
- nodeTypeMap.set(CS1ExportAllDeclaration, ExportAllDeclaration2);
2856
- nodeTypeMap.set(CS1ModuleSpecifierList, ModuleSpecifierList);
2857
- nodeTypeMap.set(CS1ImportSpecifierList, ImportSpecifierList2);
2858
- nodeTypeMap.set(CS1ExportSpecifierList, ExportSpecifierList2);
2859
- nodeTypeMap.set(CS1ModuleSpecifier, ModuleSpecifier2);
2860
- nodeTypeMap.set(CS1ImportSpecifier, ImportSpecifier);
2861
- nodeTypeMap.set(CS1ImportDefaultSpecifier, ImportDefaultSpecifier);
2862
- nodeTypeMap.set(CS1ImportNamespaceSpecifier, ImportNamespaceSpecifier2);
2863
- nodeTypeMap.set(CS1ExportSpecifier, ExportSpecifier);
2864
- nodeTypeMap.set(CS1Assign, Assign5);
2865
- nodeTypeMap.set(CS1Code, Code2);
2866
- nodeTypeMap.set(CS1Param, Param2);
2867
- nodeTypeMap.set(CS1Splat, Splat5);
2868
- nodeTypeMap.set(CS1Expansion, Expansion3);
2869
- nodeTypeMap.set(CS1While, While3);
2870
- nodeTypeMap.set(CS1Op2, Op8);
2871
- nodeTypeMap.set(CS1In, In2);
2872
- nodeTypeMap.set(CS1Try, Try3);
2873
- nodeTypeMap.set(CS1Throw, Throw3);
2874
- nodeTypeMap.set(CS1Existence, Existence2);
2875
- nodeTypeMap.set(CS1Parens, Parens3);
2876
- nodeTypeMap.set(CS1StringWithInterpolations, StringWithInterpolations5);
2877
- nodeTypeMap.set(CS1For, For4);
2878
- nodeTypeMap.set(CS1Switch, Switch3);
2879
- nodeTypeMap.set(CS1If, If2);
2880
- function parseCS1AsCS2(source) {
2881
- const cs1AST = nodes(source);
2882
- const cs2AST = convertCS1NodeToCS2(cs1AST);
2883
- if (!(cs2AST instanceof Block4)) {
2884
- throw new Error("Expected top-level CS file to convert to a Block");
2885
- }
2886
- return cs2AST;
2887
- }
2888
- function convertCS1NodeToCS2(node) {
2889
- if (node instanceof CS1Comment) {
2890
- return makeCS2Comment(node);
2891
- }
2892
- const cs1Constructor = node.constructor;
2893
- const cs2Constructor = nodeTypeMap.get(cs1Constructor);
2894
- if (!cs2Constructor) {
2895
- throw new Error(`Unexpected CS1 type for node ${node}`);
2896
- }
2897
- const result = Object.create(cs2Constructor.prototype);
2898
- for (const key of Object.keys(node)) {
2899
- const value = node[key];
2900
- if (Array.isArray(value) && value.length > 0 && value[0] instanceof CS1Base2) {
2901
- result[key] = value.map((child) => convertCS1NodeToCS2(child));
2902
- } else if (key === "cases") {
2903
- result[key] = value.map(([switchCaseCondition, block]) => {
2904
- if (Array.isArray(switchCaseCondition)) {
2905
- return [
2906
- switchCaseCondition.map((condition) => convertCS1NodeToCS2(condition)),
2907
- convertCS1NodeToCS2(block)
2908
- ];
2909
- } else {
2910
- return [
2911
- convertCS1NodeToCS2(switchCaseCondition),
2912
- convertCS1NodeToCS2(block)
2913
- ];
2914
- }
2915
- });
2916
- } else if (value instanceof CS1Base2) {
2917
- result[key] = convertCS1NodeToCS2(value);
2918
- } else {
2919
- result[key] = value;
2920
- }
2921
- }
2922
- return result;
2923
- }
2924
- function makeCS2Comment(comment) {
2925
- const valueNode = Object.create(Value11.prototype);
2926
- const passthroughNode = Object.create(PassthroughLiteral3.prototype);
2927
- valueNode.properties = [];
2928
- valueNode.base = passthroughNode;
2929
- passthroughNode.value = "";
2930
- valueNode.locationData = comment.locationData;
2931
- passthroughNode.locationData = comment.locationData;
2932
- return valueNode;
2933
- }
2934
-
2935
- // src/parseCS2.ts
2936
- import { nodes as nodes2 } from "decaffeinate-coffeescript2";
2937
- function parseCS2(source) {
2938
- return nodes2(source);
2939
- }
2940
-
2941
- // src/util/fixLocations.ts
2942
- import { SourceType as SourceType17 } from "coffee-lex";
2943
- import {
2944
- Assign as Assign6,
2945
- Block as Block5,
2946
- Call as Call6,
2947
- Class as Class4,
2948
- Code as Code3,
2949
- Extends as Extends3,
2950
- For as For5,
2951
- If as If3,
2952
- In as In3,
2953
- Index as Index3,
2954
- Literal as Literal10,
2955
- Obj as Obj6,
2956
- Op as Op9,
2957
- Param as Param3,
2958
- Slice as Slice3,
2959
- Switch as Switch4,
2960
- Try as Try4,
2961
- Value as Value12,
2962
- While as While4
2963
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
2964
-
2965
- // src/util/expandToIncludeParens.ts
2966
- import { SourceType as SourceType15 } from "coffee-lex";
2967
-
2968
- // src/util/locationDataFromSourceRange.ts
2969
- function locationDataFromSourceRange(context, sourceRange) {
2970
- const startLocationInclusive = context.linesAndColumns.locationForIndex(sourceRange.start);
2971
- if (startLocationInclusive === null) {
2972
- throw new Error("Expected start location for source range.");
2973
- }
2974
- const endLocationInclusive = context.linesAndColumns.locationForIndex(sourceRange.end - 1);
2975
- if (endLocationInclusive === null) {
2976
- throw new Error("Expected end location for source range.");
2977
- }
2978
- return {
2979
- first_line: startLocationInclusive.line,
2980
- first_column: startLocationInclusive.column,
2981
- last_line: endLocationInclusive.line,
2982
- last_column: endLocationInclusive.column
2983
- };
2984
- }
2985
-
2986
- // src/util/sourceRangeFromLocationData.ts
2987
- function sourceRangeFromLocationData(context, locationData) {
2988
- const startIndexInclusive = context.linesAndColumns.indexForLocation({
2989
- line: locationData.first_line,
2990
- column: locationData.first_column
2991
- });
2992
- if (startIndexInclusive === null) {
2993
- throw new Error("Expected index for start of range.");
2994
- }
2995
- const endIndexInclusive = context.linesAndColumns.indexForLocation({
2996
- line: locationData.last_line,
2997
- column: locationData.last_column
2998
- });
2999
- if (endIndexInclusive === null) {
3000
- throw new Error("Expected index for end of range.");
3001
- }
3002
- return {
3003
- start: startIndexInclusive,
3004
- end: endIndexInclusive + 1
3005
- };
3006
- }
3007
-
3008
- // src/util/expandToIncludeParens.ts
3009
- function expandToIncludeParens(context, locationData) {
3010
- let sourceRange = sourceRangeFromLocationData(context, locationData);
3011
- while (true) {
3012
- const tokens = getSurroundingParens(context, sourceRange);
3013
- if (tokens === null) {
3014
- break;
3015
- }
3016
- sourceRange = { start: tokens.openParen.start, end: tokens.closeParen.end };
3017
- }
3018
- return locationDataFromSourceRange(context, sourceRange);
3019
- }
3020
- function getSurroundingParens(context, sourceRange) {
3021
- const tokenBefore = firstSemanticTokenBefore(context, sourceRange.start);
3022
- const tokenAfter = firstSemanticTokenAfter(context, sourceRange.end);
3023
- if (tokenBefore === null || tokenBefore.type !== SourceType15.LPAREN) {
3024
- return null;
3025
- }
3026
- if (tokenAfter === null || tokenAfter.type !== SourceType15.RPAREN) {
3027
- return null;
3028
- }
3029
- return { openParen: tokenBefore, closeParen: tokenAfter };
3030
- }
3031
-
3032
- // src/util/fixInvalidLocationData.ts
3033
- function fixInvalidLocationData(locationData, linesAndColumns) {
3034
- let { last_line, last_column } = locationData;
3035
- const indexForLocation = linesAndColumns.indexForLocation({
3036
- line: last_line,
3037
- column: last_column
3038
- });
3039
- if (indexForLocation !== null) {
3040
- return locationData;
3041
- } else {
3042
- let offset = 1;
3043
- for (; ; ) {
3044
- const index = linesAndColumns.indexForLocation({
3045
- line: last_line,
3046
- column: last_column - offset
3047
- });
3048
- offset++;
3049
- if (index !== null) {
3050
- const location = linesAndColumns.locationForIndex(index + offset);
3051
- if (!location) {
3052
- throw new Error(`Unable to determine adjustment offset for incorrect location data: ${JSON.stringify(locationData)}. No valid location found for index: ${index + offset}`);
3053
- }
3054
- last_line = location.line;
3055
- last_column = location.column;
3056
- break;
3057
- }
3058
- }
3059
- return {
3060
- ...locationData,
3061
- last_line,
3062
- last_column
3063
- };
3064
- }
3065
- }
3066
-
3067
- // src/util/locationWithLastPosition.ts
3068
- function locationWithLastPosition(loc, last) {
3069
- return {
3070
- first_line: loc.first_line,
3071
- first_column: loc.first_column,
3072
- last_line: last.last_line,
3073
- last_column: last.last_column
3074
- };
3075
- }
3076
-
3077
- // src/util/mergeLocations.ts
3078
- function mergeLocations(left, right) {
3079
- let first_line;
3080
- let first_column;
3081
- let last_line;
3082
- let last_column;
3083
- if (left.first_line < right.first_line) {
3084
- ({ first_line, first_column } = left);
3085
- } else if (left.first_line > right.first_line) {
3086
- ({ first_line, first_column } = right);
3087
- } else if (left.first_column < right.first_column) {
3088
- ({ first_line, first_column } = left);
3089
- } else {
3090
- ({ first_line, first_column } = right);
3091
- }
3092
- if (left.last_line < right.last_line) {
3093
- ({ last_line, last_column } = right);
3094
- } else if (left.last_line > right.last_line) {
3095
- ({ last_line, last_column } = left);
3096
- } else if (left.last_column < right.last_column) {
3097
- ({ last_line, last_column } = right);
3098
- } else {
3099
- ({ last_line, last_column } = left);
3100
- }
3101
- return { first_line, first_column, last_line, last_column };
3102
- }
3103
-
3104
- // src/util/rangeOfBracketTokensForIndexNode.ts
3105
- import { SourceType as SourceType16 } from "coffee-lex";
3106
- import { inspect as inspect9 } from "util";
3107
- function rangeOfBracketTokensForIndexNode(context, indexNode) {
3108
- const start = context.linesAndColumns.indexForLocation({
3109
- line: indexNode.locationData.first_line,
3110
- column: indexNode.locationData.first_column
3111
- });
3112
- if (start !== null) {
3113
- const startTokenIndex = context.sourceTokens.indexOfTokenStartingAtSourceIndex(start);
3114
- if (startTokenIndex !== null) {
3115
- const range = context.sourceTokens.rangeOfMatchingTokensContainingTokenIndex(SourceType16.LBRACKET, SourceType16.RBRACKET, startTokenIndex);
3116
- if (range !== null) {
3117
- return range;
3118
- }
3119
- }
3120
- }
3121
- throw new Error(`cannot find braces surrounding index at ${indexNode.locationData.first_line + 1}:${indexNode.locationData.first_column}: ${inspect9(indexNode)}`);
3122
- }
3123
-
3124
- // src/util/fixLocations.ts
3125
- function fixLocations(context, node) {
3126
- const { linesAndColumns, source } = context;
3127
- node.eachChild((child) => {
3128
- if (child && child.locationData) {
3129
- fixLocations(context, child);
3130
- }
3131
- return void 0;
3132
- });
3133
- node.locationData = fixInvalidLocationData(node.locationData, context.linesAndColumns);
3134
- if (node instanceof Value12) {
3135
- const lastChild = node.properties[node.properties.length - 1] || node.base;
3136
- if (lastChild) {
3137
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3138
- }
3139
- }
3140
- if (node instanceof Index3 || node instanceof Slice3) {
3141
- const rangeOfBrackets = rangeOfBracketTokensForIndexNode(context, node);
3142
- const lbracket = context.sourceTokens.tokenAtIndex(rangeOfBrackets[0]);
3143
- if (lbracket === null) {
3144
- throw new Error("Expected to find left-bracket token.");
3145
- }
3146
- const lbracketLoc = linesAndColumns.locationForIndex(lbracket.start);
3147
- if (lbracketLoc === null) {
3148
- throw new Error("Expected to find a location for the left-bracket token.");
3149
- }
3150
- const rbracketIndex = rangeOfBrackets[1].previous();
3151
- if (rbracketIndex === null) {
3152
- throw new Error("Expected to find a non-null right-bracket token index.");
3153
- }
3154
- const rbracket = context.sourceTokens.tokenAtIndex(rbracketIndex);
3155
- if (rbracket === null) {
3156
- throw new Error("Expected to find right-bracket token.");
3157
- }
3158
- const rbracketLoc = linesAndColumns.locationForIndex(rbracket.start);
3159
- if (rbracketLoc === null) {
3160
- throw new Error("Expected to find a location for the right-bracket token.");
3161
- }
3162
- node.locationData = {
3163
- first_line: lbracketLoc.line,
3164
- first_column: lbracketLoc.column,
3165
- last_line: rbracketLoc.line,
3166
- last_column: rbracketLoc.column
3167
- };
3168
- }
3169
- if (node instanceof Obj6) {
3170
- const loc = node.locationData;
3171
- const start = linesAndColumns.indexForLocation({
3172
- line: loc.first_line,
3173
- column: loc.first_column
3174
- });
3175
- if (start === null) {
3176
- throw new Error("Expected to find a start index for object.");
3177
- }
3178
- const end = linesAndColumns.indexForLocation({
3179
- line: loc.last_line,
3180
- column: loc.last_column
3181
- });
3182
- if (end === null) {
3183
- throw new Error("Expected to find an end index for object.");
3184
- }
3185
- const isImplicitObject = source[start] !== "{";
3186
- if (isImplicitObject && source[end] !== ",") {
3187
- const lastChild = node.properties[node.properties.length - 1];
3188
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3189
- }
3190
- }
3191
- if (node instanceof Op9) {
3192
- const lastChild = node.second;
3193
- if (lastChild) {
3194
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3195
- }
3196
- }
3197
- if (node instanceof Assign6) {
3198
- const lastChild = node.value;
3199
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3200
- }
3201
- if (node instanceof In3) {
3202
- const lastChild = node.array;
3203
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3204
- }
3205
- if (node instanceof Call6) {
3206
- if (node.variable && !node.do && !node.csx) {
3207
- const calleeLoc = node.variable.locationData;
3208
- let calleeEnd = linesAndColumns.indexForLocation({
3209
- line: calleeLoc.last_line,
3210
- column: calleeLoc.last_column
3211
- });
3212
- if (calleeEnd === null) {
3213
- throw new Error("Expected to find index for callee end.");
3214
- }
3215
- calleeEnd++;
3216
- if (source[calleeEnd] === "?") {
3217
- calleeEnd += 1;
3218
- }
3219
- const isImplicitCall = source[calleeEnd] !== "(";
3220
- if (isImplicitCall) {
3221
- const lastChild = node.args[node.args.length - 1] || node.variable;
3222
- if (lastChild) {
3223
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3224
- }
3225
- }
3226
- }
3227
- }
3228
- if (node instanceof Block5) {
3229
- const lastChild = node.expressions[node.expressions.length - 1];
3230
- if (lastChild) {
3231
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3232
- } else {
3233
- const sourceRange = sourceRangeFromLocationData(context, node.locationData);
3234
- node.locationData = locationDataFromSourceRange(context, {
3235
- start: sourceRange.end,
3236
- end: sourceRange.end
3237
- });
3238
- }
3239
- let blockEnd = linesAndColumns.indexForLocation({
3240
- line: node.locationData.last_line,
3241
- column: node.locationData.last_column
3242
- });
3243
- if (blockEnd === null) {
3244
- throw new Error("Expected to find index for block end.");
3245
- }
3246
- if (source[blockEnd + 1] === ";") {
3247
- blockEnd++;
3248
- const loc = linesAndColumns.locationForIndex(blockEnd);
3249
- if (loc === null) {
3250
- throw new Error("Expected to find location for block end.");
3251
- }
3252
- node.locationData.last_line = loc.line;
3253
- node.locationData.last_column = loc.column;
3254
- }
3255
- node.locationData = expandToIncludeParens(context, node.locationData);
3256
- }
3257
- if (node instanceof If3) {
3258
- const lastChild = node.elseBody || node.body;
3259
- node.locationData = mergeLocations(node.locationData, lastChild.locationData);
3260
- }
3261
- if (node instanceof For5 || node instanceof While4) {
3262
- const lastChild = node.body;
3263
- if (lastChild) {
3264
- node.locationData = mergeLocations(node.locationData, lastChild.locationData);
3265
- }
3266
- }
3267
- if (node instanceof Param3) {
3268
- if (!node.splat) {
3269
- const lastChild = node.value || node.name;
3270
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3271
- }
3272
- }
3273
- if (node instanceof Code3) {
3274
- if (node.body) {
3275
- node.locationData = locationWithLastPosition(node.locationData, node.body.locationData);
3276
- }
3277
- }
3278
- if (node instanceof Class4) {
3279
- const lastChild = node.body;
3280
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3281
- }
3282
- if (node instanceof Switch4) {
3283
- const lastChild = node.otherwise || node.cases[node.cases.length - 1][1];
3284
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3285
- }
3286
- if (node instanceof Try4) {
3287
- const lastChild = node.ensure || node.recovery || node.errorVariable || node.attempt;
3288
- if (lastChild) {
3289
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3290
- }
3291
- }
3292
- if (node instanceof Extends3) {
3293
- const lastChild = node.parent;
3294
- node.locationData = locationWithLastPosition(node.locationData, lastChild.locationData);
3295
- }
3296
- if (node instanceof Literal10) {
3297
- const endIndex = linesAndColumns.indexForLocation({
3298
- line: node.locationData.last_line,
3299
- column: node.locationData.last_column
3300
- });
3301
- if (endIndex !== null) {
3302
- const tokenIndex = context.sourceTokens.indexOfTokenNearSourceIndex(endIndex);
3303
- const token = context.sourceTokens.tokenAtIndex(tokenIndex);
3304
- if (token && token.type === SourceType17.HEREGEXP_END) {
3305
- const location = linesAndColumns.locationForIndex(token.end - 1);
3306
- if (location) {
3307
- node.locationData = {
3308
- ...node.locationData,
3309
- last_line: location.line,
3310
- last_column: location.column
3311
- };
3312
- }
3313
- }
3314
- }
3315
- }
3316
- }
3317
-
3318
- // src/util/ParseContext.ts
3319
- import {
3320
- Base as Base13
3321
- } from "decaffeinate-coffeescript2/lib/coffeescript/nodes.js";
3322
- import { LinesAndColumns } from "lines-and-columns";
3323
- var ParseError = class extends Error {
3324
- constructor(syntaxError) {
3325
- super(syntaxError.message);
3326
- this.syntaxError = syntaxError;
3327
- }
3328
- };
3329
- var ParseState = class {
3330
- constructor(currentClassBoundMethods) {
3331
- this.currentClassBoundMethods = currentClassBoundMethods;
3332
- this.currentClassCtor = null;
3333
- }
3334
- isInClassBody() {
3335
- return this.currentClassBoundMethods !== null;
3336
- }
3337
- recordBoundMethod(method) {
3338
- if (!this.currentClassBoundMethods) {
3339
- throw new Error("Cannot assign a bound method name when there is no current class.");
3340
- }
3341
- this.currentClassBoundMethods.push(method);
3342
- }
3343
- recordConstructor(ctor) {
3344
- this.currentClassCtor = ctor;
3345
- }
3346
- pushCurrentClass() {
3347
- return new ParseState([]);
3348
- }
3349
- dropCurrentClass() {
3350
- return new ParseState(null);
3351
- }
3352
- static initialState() {
3353
- return new ParseState(null);
3354
- }
3355
- };
3356
- var ParseContext = class {
3357
- constructor(source, linesAndColumns, sourceTokens, ast, parseState) {
3358
- this.source = source;
3359
- this.linesAndColumns = linesAndColumns;
3360
- this.sourceTokens = sourceTokens;
3361
- this.ast = ast;
3362
- this.parseState = parseState;
3363
- }
3364
- getRange(locatable) {
3365
- if (locatable instanceof Base13) {
3366
- return this.getRange(locatable.locationData);
3367
- } else {
3368
- const locationData = locatable;
3369
- const start = this.linesAndColumns.indexForLocation({
3370
- line: locationData.first_line,
3371
- column: locationData.first_column
3372
- });
3373
- const end = this.linesAndColumns.indexForLocation({
3374
- line: locationData.last_line,
3375
- column: locationData.last_column
3376
- });
3377
- if (start === null || end === null) {
3378
- return null;
3379
- }
3380
- return [start, end + 1];
3381
- }
3382
- }
3383
- static fromSource(source, sourceLex, parse5) {
3384
- try {
3385
- const sourceTokens = sourceLex(source);
3386
- return new ParseContext(source, new LinesAndColumns(source), sourceTokens, parse5(source), ParseState.initialState());
3387
- } catch (ex) {
3388
- if (ex instanceof SyntaxError) {
3389
- throw new ParseError(ex);
3390
- } else {
3391
- throw ex;
3392
- }
3393
- }
3394
- }
3395
- updateState(updater) {
3396
- return new ParseContext(this.source, this.linesAndColumns, this.sourceTokens, this.ast, updater(this.parseState));
3397
- }
3398
- };
3399
-
3400
- // src/parser.ts
3401
- var DEFAULT_OPTIONS = {
3402
- useCS2: false
3403
- };
3404
- function parse4(source, options = DEFAULT_OPTIONS) {
3405
- patchCoffeeScript();
3406
- const parse5 = options.useCS2 ? parseCS2 : parseCS1AsCS2;
3407
- const sourceLex = (s) => lex(s, { useCS2: options.useCS2 });
3408
- const context = ParseContext.fromSource(source, sourceLex, parse5);
3409
- fixLocations(context, context.ast);
3410
- const program = mapProgram(context);
3411
- traverse(program, (node, parent) => {
3412
- node.parentNode = parent;
3413
- });
3414
- return program;
3415
- }
3416
- function traverse(node, callback) {
3417
- function traverseRec(currentNode, currentParent) {
3418
- const shouldDescend = callback(currentNode, currentParent);
3419
- if (shouldDescend !== false) {
3420
- for (const child of currentNode.getChildren()) {
3421
- traverseRec(child, currentNode);
3422
- }
3423
- }
3424
- }
3425
- traverseRec(node, null);
3426
- }
3427
- export {
3428
- AccessOp,
3429
- ArrayInitialiser,
3430
- AssignOp,
3431
- AsyncFunction,
3432
- Await,
3433
- AwaitReturn,
3434
- BareSuperFunctionApplication,
3435
- BaseAssignOp,
3436
- BaseFunction,
3437
- BinaryOp,
3438
- BitAndOp,
3439
- BitNotOp,
3440
- BitOrOp,
3441
- BitXorOp,
3442
- Block,
3443
- Bool,
3444
- BoundAsyncFunction,
3445
- BoundFunction,
3446
- BoundGeneratorFunction,
3447
- Break,
3448
- CSXElement,
3449
- ChainedComparisonOp,
3450
- Class,
3451
- ClassProtoAssignOp,
3452
- CompoundAssignOp,
3453
- Conditional,
3454
- Constructor,
3455
- Continue,
3456
- DEFAULT_OPTIONS,
3457
- Debugger,
3458
- DefaultParam,
3459
- DeleteOp,
3460
- DivideOp,
3461
- DoOp,
3462
- DynamicMemberAccessOp,
3463
- EQOp,
3464
- Elision,
3465
- ExistsOp,
3466
- ExpOp,
3467
- Expansion,
3468
- ExportAllDeclaration,
3469
- ExportBindingsDeclaration,
3470
- ExportDefaultDeclaration,
3471
- ExportNamedDeclaration,
3472
- ExtendsOp,
3473
- Float,
3474
- FloorDivideOp,
3475
- For,
3476
- ForFrom,
3477
- ForIn,
3478
- ForOf,
3479
- Function,
3480
- FunctionApplication,
3481
- GTEOp,
3482
- GTOp,
3483
- GeneratorFunction,
3484
- Heregex,
3485
- Identifier,
3486
- ImportDeclaration,
3487
- InOp,
3488
- InstanceofOp,
3489
- Int,
3490
- JavaScript,
3491
- LTEOp,
3492
- LTOp,
3493
- LeftShiftOp,
3494
- LogicalAndOp,
3495
- LogicalNotOp,
3496
- LogicalOrOp,
3497
- Loop,
3498
- MemberAccessOp,
3499
- ModuleSpecifier,
3500
- ModuloOp,
3501
- MultiplyOp,
3502
- NEQOp,
3503
- NewOp,
3504
- Node,
3505
- Null,
3506
- Number,
3507
- ObjectInitialiser,
3508
- ObjectInitialiserMember,
3509
- OfOp,
3510
- OperatorInfo,
3511
- PlusOp,
3512
- PostDecrementOp,
3513
- PostIncrementOp,
3514
- PreDecrementOp,
3515
- PreIncrementOp,
3516
- Program,
3517
- ProtoMemberAccessOp,
3518
- Quasi,
3519
- Range,
3520
- Regex,
3521
- RegexFlags,
3522
- RemOp,
3523
- Rest,
3524
- Return,
3525
- SeqOp,
3526
- SignedRightShiftOp,
3527
- Slice,
3528
- SoakedDynamicMemberAccessOp,
3529
- SoakedFunctionApplication,
3530
- SoakedMemberAccessOp,
3531
- SoakedNewOp,
3532
- SoakedProtoMemberAccessOp,
3533
- SoakedSlice,
3534
- Spread,
3535
- String,
3536
- SubtractOp,
3537
- Super,
3538
- Switch,
3539
- SwitchCase,
3540
- TaggedTemplateLiteral,
3541
- This,
3542
- Throw,
3543
- Try,
3544
- TypeofOp,
3545
- UnaryExistsOp,
3546
- UnaryNegateOp,
3547
- UnaryOp,
3548
- UnaryPlusOp,
3549
- Undefined,
3550
- UnsignedRightShiftOp,
3551
- While,
3552
- Yield,
3553
- YieldFrom,
3554
- YieldReturn,
3555
- parse4 as parse,
3556
- traverse
3557
- };