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