immosquare-cleaner 0.1.36 → 0.1.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/lib/immosquare-cleaner.rb +5 -1
- data/linters/eslint.config.mjs +88 -24
- data/linters/jscodeshift/arrow-function-transform.js +35 -0
- data/linters/rubocop-3.3.1.yml +88 -0
- data/node_modules/.bin/browserslist +1 -0
- data/node_modules/.bin/esparse +1 -0
- data/node_modules/.bin/esvalidate +1 -0
- data/node_modules/.bin/jscodeshift +1 -0
- data/node_modules/.bin/jsesc +1 -0
- data/node_modules/.bin/parser +1 -0
- data/node_modules/.bin/update-browserslist-db +1 -0
- data/node_modules/@ampproject/remapping/LICENSE +202 -0
- data/node_modules/@ampproject/remapping/README.md +218 -0
- data/node_modules/@ampproject/remapping/dist/remapping.mjs +197 -0
- data/node_modules/@ampproject/remapping/dist/remapping.mjs.map +1 -0
- data/node_modules/@ampproject/remapping/dist/remapping.umd.js +202 -0
- data/node_modules/@ampproject/remapping/dist/remapping.umd.js.map +1 -0
- data/node_modules/@ampproject/remapping/dist/types/build-source-map-tree.d.ts +14 -0
- data/node_modules/@ampproject/remapping/dist/types/remapping.d.ts +20 -0
- data/node_modules/@ampproject/remapping/dist/types/source-map-tree.d.ts +45 -0
- data/node_modules/@ampproject/remapping/dist/types/source-map.d.ts +18 -0
- data/node_modules/@ampproject/remapping/dist/types/types.d.ts +15 -0
- data/node_modules/@ampproject/remapping/package.json +75 -0
- data/node_modules/@babel/code-frame/LICENSE +22 -0
- data/node_modules/@babel/code-frame/README.md +19 -0
- data/node_modules/@babel/code-frame/lib/index.js +156 -0
- data/node_modules/@babel/code-frame/lib/index.js.map +1 -0
- data/node_modules/@babel/code-frame/package.json +30 -0
- data/node_modules/@babel/compat-data/LICENSE +22 -0
- data/node_modules/@babel/compat-data/README.md +19 -0
- data/node_modules/@babel/compat-data/corejs2-built-ins.js +2 -0
- data/node_modules/@babel/compat-data/corejs3-shipped-proposals.js +2 -0
- data/node_modules/@babel/compat-data/data/corejs2-built-ins.json +2081 -0
- data/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json +5 -0
- data/node_modules/@babel/compat-data/data/native-modules.json +18 -0
- data/node_modules/@babel/compat-data/data/overlapping-plugins.json +33 -0
- data/node_modules/@babel/compat-data/data/plugin-bugfixes.json +213 -0
- data/node_modules/@babel/compat-data/data/plugins.json +789 -0
- data/node_modules/@babel/compat-data/native-modules.js +1 -0
- data/node_modules/@babel/compat-data/overlapping-plugins.js +1 -0
- data/node_modules/@babel/compat-data/package.json +40 -0
- data/node_modules/@babel/compat-data/plugin-bugfixes.js +1 -0
- data/node_modules/@babel/compat-data/plugins.js +1 -0
- data/node_modules/@babel/core/LICENSE +22 -0
- data/node_modules/@babel/core/README.md +19 -0
- data/node_modules/@babel/core/cjs-proxy.cjs +59 -0
- data/node_modules/@babel/core/lib/config/cache-contexts.js +3 -0
- data/node_modules/@babel/core/lib/config/cache-contexts.js.map +1 -0
- data/node_modules/@babel/core/lib/config/caching.js +261 -0
- data/node_modules/@babel/core/lib/config/caching.js.map +1 -0
- data/node_modules/@babel/core/lib/config/config-chain.js +469 -0
- data/node_modules/@babel/core/lib/config/config-chain.js.map +1 -0
- data/node_modules/@babel/core/lib/config/config-descriptors.js +190 -0
- data/node_modules/@babel/core/lib/config/config-descriptors.js.map +1 -0
- data/node_modules/@babel/core/lib/config/files/configuration.js +286 -0
- data/node_modules/@babel/core/lib/config/files/configuration.js.map +1 -0
- data/node_modules/@babel/core/lib/config/files/import.cjs +6 -0
- data/node_modules/@babel/core/lib/config/files/import.cjs.map +1 -0
- data/node_modules/@babel/core/lib/config/files/index-browser.js +58 -0
- data/node_modules/@babel/core/lib/config/files/index-browser.js.map +1 -0
- data/node_modules/@babel/core/lib/config/files/index.js +78 -0
- data/node_modules/@babel/core/lib/config/files/index.js.map +1 -0
- data/node_modules/@babel/core/lib/config/files/module-types.js +176 -0
- data/node_modules/@babel/core/lib/config/files/module-types.js.map +1 -0
- data/node_modules/@babel/core/lib/config/files/package.js +61 -0
- data/node_modules/@babel/core/lib/config/files/package.js.map +1 -0
- data/node_modules/@babel/core/lib/config/files/plugins.js +217 -0
- data/node_modules/@babel/core/lib/config/files/plugins.js.map +1 -0
- data/node_modules/@babel/core/lib/config/files/types.js +3 -0
- data/node_modules/@babel/core/lib/config/files/types.js.map +1 -0
- data/node_modules/@babel/core/lib/config/files/utils.js +36 -0
- data/node_modules/@babel/core/lib/config/files/utils.js.map +1 -0
- data/node_modules/@babel/core/lib/config/full.js +310 -0
- data/node_modules/@babel/core/lib/config/full.js.map +1 -0
- data/node_modules/@babel/core/lib/config/helpers/config-api.js +84 -0
- data/node_modules/@babel/core/lib/config/helpers/config-api.js.map +1 -0
- data/node_modules/@babel/core/lib/config/helpers/deep-array.js +23 -0
- data/node_modules/@babel/core/lib/config/helpers/deep-array.js.map +1 -0
- data/node_modules/@babel/core/lib/config/helpers/environment.js +12 -0
- data/node_modules/@babel/core/lib/config/helpers/environment.js.map +1 -0
- data/node_modules/@babel/core/lib/config/index.js +93 -0
- data/node_modules/@babel/core/lib/config/index.js.map +1 -0
- data/node_modules/@babel/core/lib/config/item.js +67 -0
- data/node_modules/@babel/core/lib/config/item.js.map +1 -0
- data/node_modules/@babel/core/lib/config/partial.js +158 -0
- data/node_modules/@babel/core/lib/config/partial.js.map +1 -0
- data/node_modules/@babel/core/lib/config/pattern-to-regex.js +38 -0
- data/node_modules/@babel/core/lib/config/pattern-to-regex.js.map +1 -0
- data/node_modules/@babel/core/lib/config/plugin.js +33 -0
- data/node_modules/@babel/core/lib/config/plugin.js.map +1 -0
- data/node_modules/@babel/core/lib/config/printer.js +113 -0
- data/node_modules/@babel/core/lib/config/printer.js.map +1 -0
- data/node_modules/@babel/core/lib/config/resolve-targets-browser.js +41 -0
- data/node_modules/@babel/core/lib/config/resolve-targets-browser.js.map +1 -0
- data/node_modules/@babel/core/lib/config/resolve-targets.js +61 -0
- data/node_modules/@babel/core/lib/config/resolve-targets.js.map +1 -0
- data/node_modules/@babel/core/lib/config/util.js +31 -0
- data/node_modules/@babel/core/lib/config/util.js.map +1 -0
- data/node_modules/@babel/core/lib/config/validation/option-assertions.js +277 -0
- data/node_modules/@babel/core/lib/config/validation/option-assertions.js.map +1 -0
- data/node_modules/@babel/core/lib/config/validation/options.js +189 -0
- data/node_modules/@babel/core/lib/config/validation/options.js.map +1 -0
- data/node_modules/@babel/core/lib/config/validation/plugins.js +67 -0
- data/node_modules/@babel/core/lib/config/validation/plugins.js.map +1 -0
- data/node_modules/@babel/core/lib/config/validation/removed.js +68 -0
- data/node_modules/@babel/core/lib/config/validation/removed.js.map +1 -0
- data/node_modules/@babel/core/lib/errors/config-error.js +18 -0
- data/node_modules/@babel/core/lib/errors/config-error.js.map +1 -0
- data/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js +98 -0
- data/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.map +1 -0
- data/node_modules/@babel/core/lib/gensync-utils/async.js +90 -0
- data/node_modules/@babel/core/lib/gensync-utils/async.js.map +1 -0
- data/node_modules/@babel/core/lib/gensync-utils/fs.js +31 -0
- data/node_modules/@babel/core/lib/gensync-utils/fs.js.map +1 -0
- data/node_modules/@babel/core/lib/gensync-utils/functional.js +58 -0
- data/node_modules/@babel/core/lib/gensync-utils/functional.js.map +1 -0
- data/node_modules/@babel/core/lib/index.js +242 -0
- data/node_modules/@babel/core/lib/index.js.map +1 -0
- data/node_modules/@babel/core/lib/parse.js +47 -0
- data/node_modules/@babel/core/lib/parse.js.map +1 -0
- data/node_modules/@babel/core/lib/parser/index.js +79 -0
- data/node_modules/@babel/core/lib/parser/index.js.map +1 -0
- data/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +339 -0
- data/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js.map +1 -0
- data/node_modules/@babel/core/lib/tools/build-external-helpers.js +143 -0
- data/node_modules/@babel/core/lib/tools/build-external-helpers.js.map +1 -0
- data/node_modules/@babel/core/lib/transform-ast.js +50 -0
- data/node_modules/@babel/core/lib/transform-ast.js.map +1 -0
- data/node_modules/@babel/core/lib/transform-file-browser.js +23 -0
- data/node_modules/@babel/core/lib/transform-file-browser.js.map +1 -0
- data/node_modules/@babel/core/lib/transform-file.js +40 -0
- data/node_modules/@babel/core/lib/transform-file.js.map +1 -0
- data/node_modules/@babel/core/lib/transform.js +49 -0
- data/node_modules/@babel/core/lib/transform.js.map +1 -0
- data/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +84 -0
- data/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js.map +1 -0
- data/node_modules/@babel/core/lib/transformation/file/file.js +216 -0
- data/node_modules/@babel/core/lib/transformation/file/file.js.map +1 -0
- data/node_modules/@babel/core/lib/transformation/file/generate.js +84 -0
- data/node_modules/@babel/core/lib/transformation/file/generate.js.map +1 -0
- data/node_modules/@babel/core/lib/transformation/file/merge-map.js +37 -0
- data/node_modules/@babel/core/lib/transformation/file/merge-map.js.map +1 -0
- data/node_modules/@babel/core/lib/transformation/index.js +101 -0
- data/node_modules/@babel/core/lib/transformation/index.js.map +1 -0
- data/node_modules/@babel/core/lib/transformation/normalize-file.js +129 -0
- data/node_modules/@babel/core/lib/transformation/normalize-file.js.map +1 -0
- data/node_modules/@babel/core/lib/transformation/normalize-opts.js +59 -0
- data/node_modules/@babel/core/lib/transformation/normalize-opts.js.map +1 -0
- data/node_modules/@babel/core/lib/transformation/plugin-pass.js +48 -0
- data/node_modules/@babel/core/lib/transformation/plugin-pass.js.map +1 -0
- data/node_modules/@babel/core/lib/transformation/util/clone-deep.js +36 -0
- data/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map +1 -0
- data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +1033 -0
- data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map +1 -0
- data/node_modules/@babel/core/node_modules/semver/LICENSE +15 -0
- data/node_modules/@babel/core/node_modules/semver/README.md +443 -0
- data/node_modules/@babel/core/node_modules/semver/bin/semver.js +174 -0
- data/node_modules/@babel/core/node_modules/semver/package.json +38 -0
- data/node_modules/@babel/core/node_modules/semver/range.bnf +16 -0
- data/node_modules/@babel/core/node_modules/semver/semver.js +1643 -0
- data/node_modules/@babel/core/package.json +82 -0
- data/node_modules/@babel/core/src/config/files/index-browser.ts +109 -0
- data/node_modules/@babel/core/src/config/files/index.ts +29 -0
- data/node_modules/@babel/core/src/config/resolve-targets-browser.ts +40 -0
- data/node_modules/@babel/core/src/config/resolve-targets.ts +56 -0
- data/node_modules/@babel/core/src/transform-file-browser.ts +31 -0
- data/node_modules/@babel/core/src/transform-file.ts +55 -0
- data/node_modules/@babel/generator/LICENSE +22 -0
- data/node_modules/@babel/generator/README.md +19 -0
- data/node_modules/@babel/generator/lib/buffer.js +323 -0
- data/node_modules/@babel/generator/lib/buffer.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/base.js +92 -0
- data/node_modules/@babel/generator/lib/generators/base.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/classes.js +177 -0
- data/node_modules/@babel/generator/lib/generators/classes.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/expressions.js +309 -0
- data/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/flow.js +668 -0
- data/node_modules/@babel/generator/lib/generators/flow.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/index.js +128 -0
- data/node_modules/@babel/generator/lib/generators/index.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/jsx.js +123 -0
- data/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/methods.js +173 -0
- data/node_modules/@babel/generator/lib/generators/methods.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/modules.js +274 -0
- data/node_modules/@babel/generator/lib/generators/modules.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/statements.js +275 -0
- data/node_modules/@babel/generator/lib/generators/statements.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/template-literals.js +30 -0
- data/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/types.js +221 -0
- data/node_modules/@babel/generator/lib/generators/types.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/typescript.js +690 -0
- data/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -0
- data/node_modules/@babel/generator/lib/index.js +89 -0
- data/node_modules/@babel/generator/lib/index.js.map +1 -0
- data/node_modules/@babel/generator/lib/node/index.js +76 -0
- data/node_modules/@babel/generator/lib/node/index.js.map +1 -0
- data/node_modules/@babel/generator/lib/node/parentheses.js +225 -0
- data/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -0
- data/node_modules/@babel/generator/lib/node/whitespace.js +145 -0
- data/node_modules/@babel/generator/lib/node/whitespace.js.map +1 -0
- data/node_modules/@babel/generator/lib/printer.js +684 -0
- data/node_modules/@babel/generator/lib/printer.js.map +1 -0
- data/node_modules/@babel/generator/lib/source-map.js +85 -0
- data/node_modules/@babel/generator/lib/source-map.js.map +1 -0
- data/node_modules/@babel/generator/package.json +38 -0
- data/node_modules/@babel/helper-annotate-as-pure/LICENSE +22 -0
- data/node_modules/@babel/helper-annotate-as-pure/README.md +19 -0
- data/node_modules/@babel/helper-annotate-as-pure/lib/index.js +23 -0
- data/node_modules/@babel/helper-annotate-as-pure/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-annotate-as-pure/package.json +24 -0
- data/node_modules/@babel/helper-compilation-targets/LICENSE +22 -0
- data/node_modules/@babel/helper-compilation-targets/README.md +19 -0
- data/node_modules/@babel/helper-compilation-targets/lib/debug.js +28 -0
- data/node_modules/@babel/helper-compilation-targets/lib/debug.js.map +1 -0
- data/node_modules/@babel/helper-compilation-targets/lib/filter-items.js +67 -0
- data/node_modules/@babel/helper-compilation-targets/lib/filter-items.js.map +1 -0
- data/node_modules/@babel/helper-compilation-targets/lib/index.js +224 -0
- data/node_modules/@babel/helper-compilation-targets/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-compilation-targets/lib/options.js +24 -0
- data/node_modules/@babel/helper-compilation-targets/lib/options.js.map +1 -0
- data/node_modules/@babel/helper-compilation-targets/lib/pretty.js +40 -0
- data/node_modules/@babel/helper-compilation-targets/lib/pretty.js.map +1 -0
- data/node_modules/@babel/helper-compilation-targets/lib/targets.js +28 -0
- data/node_modules/@babel/helper-compilation-targets/lib/targets.js.map +1 -0
- data/node_modules/@babel/helper-compilation-targets/lib/utils.js +58 -0
- data/node_modules/@babel/helper-compilation-targets/lib/utils.js.map +1 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache/LICENSE +15 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache/README.md +166 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache/index.js +334 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache/node_modules/yallist/LICENSE +15 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache/node_modules/yallist/README.md +204 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache/node_modules/yallist/iterator.js +8 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache/node_modules/yallist/package.json +29 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache/node_modules/yallist/yallist.js +426 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/lru-cache/package.json +32 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/semver/LICENSE +15 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/semver/README.md +443 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/semver/bin/semver.js +174 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/semver/package.json +38 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/semver/range.bnf +16 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/semver/semver.js +1643 -0
- data/node_modules/@babel/helper-compilation-targets/package.json +40 -0
- data/node_modules/@babel/helper-create-class-features-plugin/LICENSE +22 -0
- data/node_modules/@babel/helper-create-class-features-plugin/README.md +19 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js +137 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js.map +1 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js +1290 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js.map +1 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/features.js +147 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/features.js.map +1 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js +1036 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js.map +1 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js +245 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js +133 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js.map +1 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js +13 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js.map +1 -0
- data/node_modules/@babel/helper-create-class-features-plugin/node_modules/semver/LICENSE +15 -0
- data/node_modules/@babel/helper-create-class-features-plugin/node_modules/semver/README.md +443 -0
- data/node_modules/@babel/helper-create-class-features-plugin/node_modules/semver/bin/semver.js +174 -0
- data/node_modules/@babel/helper-create-class-features-plugin/node_modules/semver/package.json +38 -0
- data/node_modules/@babel/helper-create-class-features-plugin/node_modules/semver/range.bnf +16 -0
- data/node_modules/@babel/helper-create-class-features-plugin/node_modules/semver/semver.js +1643 -0
- data/node_modules/@babel/helper-create-class-features-plugin/package.json +45 -0
- data/node_modules/@babel/helper-create-class-features-plugin/tsconfig.json +32 -0
- data/node_modules/@babel/helper-create-class-features-plugin/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/helper-environment-visitor/LICENSE +22 -0
- data/node_modules/@babel/helper-environment-visitor/README.md +19 -0
- data/node_modules/@babel/helper-environment-visitor/lib/index.js +52 -0
- data/node_modules/@babel/helper-environment-visitor/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-environment-visitor/package.json +29 -0
- data/node_modules/@babel/helper-function-name/LICENSE +22 -0
- data/node_modules/@babel/helper-function-name/README.md +19 -0
- data/node_modules/@babel/helper-function-name/lib/index.js +170 -0
- data/node_modules/@babel/helper-function-name/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-function-name/package.json +25 -0
- data/node_modules/@babel/helper-hoist-variables/LICENSE +22 -0
- data/node_modules/@babel/helper-hoist-variables/README.md +19 -0
- data/node_modules/@babel/helper-hoist-variables/lib/index.js +50 -0
- data/node_modules/@babel/helper-hoist-variables/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-hoist-variables/package.json +28 -0
- data/node_modules/@babel/helper-member-expression-to-functions/LICENSE +22 -0
- data/node_modules/@babel/helper-member-expression-to-functions/README.md +19 -0
- data/node_modules/@babel/helper-member-expression-to-functions/lib/index.js +397 -0
- data/node_modules/@babel/helper-member-expression-to-functions/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-member-expression-to-functions/package.json +27 -0
- data/node_modules/@babel/helper-member-expression-to-functions/tsconfig.json +17 -0
- data/node_modules/@babel/helper-member-expression-to-functions/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/helper-module-imports/LICENSE +22 -0
- data/node_modules/@babel/helper-module-imports/README.md +19 -0
- data/node_modules/@babel/helper-module-imports/lib/import-builder.js +122 -0
- data/node_modules/@babel/helper-module-imports/lib/import-builder.js.map +1 -0
- data/node_modules/@babel/helper-module-imports/lib/import-injector.js +304 -0
- data/node_modules/@babel/helper-module-imports/lib/import-injector.js.map +1 -0
- data/node_modules/@babel/helper-module-imports/lib/index.js +37 -0
- data/node_modules/@babel/helper-module-imports/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-module-imports/lib/is-module.js +11 -0
- data/node_modules/@babel/helper-module-imports/lib/is-module.js.map +1 -0
- data/node_modules/@babel/helper-module-imports/package.json +28 -0
- data/node_modules/@babel/helper-module-transforms/LICENSE +22 -0
- data/node_modules/@babel/helper-module-transforms/README.md +19 -0
- data/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js +48 -0
- data/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js.map +1 -0
- data/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +48 -0
- data/node_modules/@babel/helper-module-transforms/lib/get-module-name.js.map +1 -0
- data/node_modules/@babel/helper-module-transforms/lib/index.js +380 -0
- data/node_modules/@babel/helper-module-transforms/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js +31 -0
- data/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js.map +1 -0
- data/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js +358 -0
- data/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js.map +1 -0
- data/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +376 -0
- data/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js.map +1 -0
- data/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js +24 -0
- data/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js.map +1 -0
- data/node_modules/@babel/helper-module-transforms/package.json +35 -0
- data/node_modules/@babel/helper-optimise-call-expression/LICENSE +22 -0
- data/node_modules/@babel/helper-optimise-call-expression/README.md +19 -0
- data/node_modules/@babel/helper-optimise-call-expression/lib/index.js +33 -0
- data/node_modules/@babel/helper-optimise-call-expression/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-optimise-call-expression/package.json +28 -0
- data/node_modules/@babel/helper-plugin-utils/LICENSE +22 -0
- data/node_modules/@babel/helper-plugin-utils/README.md +19 -0
- data/node_modules/@babel/helper-plugin-utils/lib/index.js +77 -0
- data/node_modules/@babel/helper-plugin-utils/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-plugin-utils/package.json +24 -0
- data/node_modules/@babel/helper-plugin-utils/tsconfig.json +39 -0
- data/node_modules/@babel/helper-plugin-utils/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/helper-replace-supers/LICENSE +22 -0
- data/node_modules/@babel/helper-replace-supers/README.md +19 -0
- data/node_modules/@babel/helper-replace-supers/lib/index.js +231 -0
- data/node_modules/@babel/helper-replace-supers/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-replace-supers/package.json +32 -0
- data/node_modules/@babel/helper-simple-access/LICENSE +22 -0
- data/node_modules/@babel/helper-simple-access/README.md +19 -0
- data/node_modules/@babel/helper-simple-access/lib/index.js +91 -0
- data/node_modules/@babel/helper-simple-access/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-simple-access/package.json +28 -0
- data/node_modules/@babel/helper-skip-transparent-expression-wrappers/LICENSE +22 -0
- data/node_modules/@babel/helper-skip-transparent-expression-wrappers/README.md +19 -0
- data/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js +34 -0
- data/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-skip-transparent-expression-wrappers/package.json +30 -0
- data/node_modules/@babel/helper-split-export-declaration/LICENSE +22 -0
- data/node_modules/@babel/helper-split-export-declaration/README.md +19 -0
- data/node_modules/@babel/helper-split-export-declaration/lib/index.js +59 -0
- data/node_modules/@babel/helper-split-export-declaration/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-split-export-declaration/package.json +24 -0
- data/node_modules/@babel/helper-string-parser/LICENSE +22 -0
- data/node_modules/@babel/helper-string-parser/README.md +19 -0
- data/node_modules/@babel/helper-string-parser/lib/index.js +295 -0
- data/node_modules/@babel/helper-string-parser/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-string-parser/package.json +28 -0
- data/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
- data/node_modules/@babel/helper-validator-identifier/README.md +19 -0
- data/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
- data/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
- data/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
- data/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
- data/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
- data/node_modules/@babel/helper-validator-identifier/package.json +28 -0
- data/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +73 -0
- data/node_modules/@babel/helper-validator-option/LICENSE +22 -0
- data/node_modules/@babel/helper-validator-option/README.md +19 -0
- data/node_modules/@babel/helper-validator-option/lib/find-suggestion.js +39 -0
- data/node_modules/@babel/helper-validator-option/lib/find-suggestion.js.map +1 -0
- data/node_modules/@babel/helper-validator-option/lib/index.js +21 -0
- data/node_modules/@babel/helper-validator-option/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-validator-option/lib/validator.js +48 -0
- data/node_modules/@babel/helper-validator-option/lib/validator.js.map +1 -0
- data/node_modules/@babel/helper-validator-option/package.json +24 -0
- data/node_modules/@babel/helpers/LICENSE +22 -0
- data/node_modules/@babel/helpers/README.md +19 -0
- data/node_modules/@babel/helpers/lib/helpers/AsyncGenerator.js +92 -0
- data/node_modules/@babel/helpers/lib/helpers/AsyncGenerator.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/OverloadYield.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/OverloadYield.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs.js +459 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js +363 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js +376 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js +421 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js +235 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js +236 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js +52 -0
- data/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js +70 -0
- data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/callSuper.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/callSuper.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/checkInRHS.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/checkInRHS.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/construct.js +20 -0
- data/node_modules/@babel/helpers/lib/helpers/construct.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/defineAccessor.js +16 -0
- data/node_modules/@babel/helpers/lib/helpers/defineAccessor.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/dispose.js +47 -0
- data/node_modules/@babel/helpers/lib/helpers/dispose.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js +35 -0
- data/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js +49 -0
- data/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js +16 -0
- data/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js +41 -0
- data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimitLoose.js +18 -0
- data/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimitLoose.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/jsx.js +47 -0
- data/node_modules/@babel/helpers/lib/helpers/jsx.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js +39 -0
- data/node_modules/@babel/helpers/lib/helpers/objectSpread2.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js +499 -0
- data/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/setFunctionName.js +21 -0
- data/node_modules/@babel/helpers/lib/helpers/setFunctionName.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/toPrimitive.js +18 -0
- data/node_modules/@babel/helpers/lib/helpers/toPrimitive.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/toSetter.js +18 -0
- data/node_modules/@babel/helpers/lib/helpers/toSetter.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/typeof.js +22 -0
- data/node_modules/@babel/helpers/lib/helpers/typeof.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/using.js +29 -0
- data/node_modules/@babel/helpers/lib/helpers/using.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/usingCtx.js +73 -0
- data/node_modules/@babel/helpers/lib/helpers/usingCtx.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js +66 -0
- data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers-generated.js +56 -0
- data/node_modules/@babel/helpers/lib/helpers-generated.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers.js +1673 -0
- data/node_modules/@babel/helpers/lib/helpers.js.map +1 -0
- data/node_modules/@babel/helpers/lib/index.js +243 -0
- data/node_modules/@babel/helpers/lib/index.js.map +1 -0
- data/node_modules/@babel/helpers/package.json +32 -0
- data/node_modules/@babel/helpers/scripts/generate-helpers.js +129 -0
- data/node_modules/@babel/helpers/scripts/generate-regenerator-runtime.js +63 -0
- data/node_modules/@babel/helpers/scripts/package.json +1 -0
- data/node_modules/@babel/highlight/LICENSE +22 -0
- data/node_modules/@babel/highlight/README.md +19 -0
- data/node_modules/@babel/highlight/lib/index.js +119 -0
- data/node_modules/@babel/highlight/lib/index.js.map +1 -0
- data/node_modules/@babel/highlight/node_modules/chalk/index.js +228 -0
- data/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +93 -0
- data/node_modules/{@eslint/eslintrc/node_modules/globals → @babel/highlight/node_modules/chalk}/license +1 -1
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/index.js +165 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/license +9 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/CHANGELOG.md +54 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/LICENSE +21 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/README.md +68 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/conversions.js +868 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/index.js +78 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/LICENSE +8 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/README.md +11 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/index.js +152 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/package.json +25 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/test.js +7 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json +46 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/route.js +97 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/package.json +56 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/ansi-styles/readme.md +147 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/escape-string-regexp/index.js +11 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/escape-string-regexp/license +21 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/escape-string-regexp/package.json +41 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/escape-string-regexp/readme.md +27 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/supports-color/browser.js +5 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/supports-color/index.js +131 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/supports-color/license +9 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/index.js +8 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/license +9 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/package.json +44 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/readme.md +70 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/supports-color/package.json +53 -0
- data/node_modules/@babel/highlight/node_modules/chalk/node_modules/supports-color/readme.md +66 -0
- data/node_modules/@babel/highlight/node_modules/chalk/package.json +71 -0
- data/node_modules/@babel/highlight/node_modules/chalk/readme.md +314 -0
- data/node_modules/@babel/highlight/node_modules/chalk/templates.js +128 -0
- data/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +97 -0
- data/node_modules/@babel/highlight/package.json +30 -0
- data/node_modules/@babel/parser/CHANGELOG.md +1073 -0
- data/node_modules/@babel/parser/LICENSE +19 -0
- data/node_modules/@babel/parser/README.md +19 -0
- data/node_modules/@babel/parser/bin/babel-parser.js +15 -0
- data/node_modules/@babel/parser/index.cjs +5 -0
- data/node_modules/@babel/parser/lib/index.js +14026 -0
- data/node_modules/@babel/parser/lib/index.js.map +1 -0
- data/node_modules/@babel/parser/package.json +46 -0
- data/node_modules/@babel/parser/typings/babel-parser.d.ts +251 -0
- data/node_modules/@babel/plugin-syntax-flow/LICENSE +22 -0
- data/node_modules/@babel/plugin-syntax-flow/README.md +19 -0
- data/node_modules/@babel/plugin-syntax-flow/lib/index.js +36 -0
- data/node_modules/@babel/plugin-syntax-flow/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-syntax-flow/package.json +33 -0
- data/node_modules/@babel/plugin-syntax-jsx/LICENSE +22 -0
- data/node_modules/@babel/plugin-syntax-jsx/README.md +19 -0
- data/node_modules/@babel/plugin-syntax-jsx/lib/index.js +23 -0
- data/node_modules/@babel/plugin-syntax-jsx/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-syntax-jsx/package.json +33 -0
- data/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/LICENSE +22 -0
- data/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/README.md +19 -0
- data/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js +22 -0
- data/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/package.json +23 -0
- data/node_modules/@babel/plugin-syntax-optional-chaining/LICENSE +22 -0
- data/node_modules/@babel/plugin-syntax-optional-chaining/README.md +19 -0
- data/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js +22 -0
- data/node_modules/@babel/plugin-syntax-optional-chaining/package.json +23 -0
- data/node_modules/@babel/plugin-syntax-typescript/LICENSE +22 -0
- data/node_modules/@babel/plugin-syntax-typescript/README.md +19 -0
- data/node_modules/@babel/plugin-syntax-typescript/lib/index.js +55 -0
- data/node_modules/@babel/plugin-syntax-typescript/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-syntax-typescript/package.json +35 -0
- data/node_modules/@babel/plugin-transform-class-properties/LICENSE +22 -0
- data/node_modules/@babel/plugin-transform-class-properties/README.md +19 -0
- data/node_modules/@babel/plugin-transform-class-properties/lib/index.js +22 -0
- data/node_modules/@babel/plugin-transform-class-properties/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-transform-class-properties/package.json +35 -0
- data/node_modules/@babel/plugin-transform-flow-strip-types/LICENSE +22 -0
- data/node_modules/@babel/plugin-transform-flow-strip-types/README.md +19 -0
- data/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js +163 -0
- data/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-transform-flow-strip-types/package.json +35 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/LICENSE +22 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/README.md +19 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js +16 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js.map +1 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js +37 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js.map +1 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js +197 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js +44 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js.map +1 -0
- data/node_modules/@babel/plugin-transform-modules-commonjs/package.json +37 -0
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/LICENSE +22 -0
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/README.md +19 -0
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js +48 -0
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/package.json +35 -0
- data/node_modules/@babel/plugin-transform-optional-chaining/LICENSE +22 -0
- data/node_modules/@babel/plugin-transform-optional-chaining/README.md +19 -0
- data/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js +240 -0
- data/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-transform-optional-chaining/package.json +38 -0
- data/node_modules/@babel/plugin-transform-optional-chaining/tsconfig.json +20 -0
- data/node_modules/@babel/plugin-transform-optional-chaining/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/plugin-transform-private-methods/LICENSE +22 -0
- data/node_modules/@babel/plugin-transform-private-methods/README.md +19 -0
- data/node_modules/@babel/plugin-transform-private-methods/lib/index.js +22 -0
- data/node_modules/@babel/plugin-transform-private-methods/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-transform-private-methods/package.json +35 -0
- data/node_modules/@babel/plugin-transform-typescript/LICENSE +22 -0
- data/node_modules/@babel/plugin-transform-typescript/README.md +19 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js +58 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js.map +1 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/enum.js +302 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/enum.js.map +1 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/global-types.js +22 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/global-types.js.map +1 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/index.js +484 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/index.js.map +1 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/namespace.js +165 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/namespace.js.map +1 -0
- data/node_modules/@babel/plugin-transform-typescript/package.json +40 -0
- data/node_modules/@babel/plugin-transform-typescript/tsconfig.json +26 -0
- data/node_modules/@babel/plugin-transform-typescript/tsconfig.tsbuildinfo +1 -0
- data/node_modules/@babel/preset-flow/LICENSE +22 -0
- data/node_modules/@babel/preset-flow/README.md +19 -0
- data/node_modules/@babel/preset-flow/lib/index.js +42 -0
- data/node_modules/@babel/preset-flow/lib/index.js.map +1 -0
- data/node_modules/@babel/preset-flow/lib/normalize-options.js +28 -0
- data/node_modules/@babel/preset-flow/lib/normalize-options.js.map +1 -0
- data/node_modules/@babel/preset-flow/package.json +41 -0
- data/node_modules/@babel/preset-typescript/LICENSE +22 -0
- data/node_modules/@babel/preset-typescript/README.md +19 -0
- data/node_modules/@babel/preset-typescript/lib/index.js +146 -0
- data/node_modules/@babel/preset-typescript/lib/index.js.map +1 -0
- data/node_modules/@babel/preset-typescript/package.json +40 -0
- data/node_modules/@babel/register/LICENSE +22 -0
- data/node_modules/@babel/register/README.md +19 -0
- data/node_modules/@babel/register/experimental-worker.js +1 -0
- data/node_modules/@babel/register/lib/browser.js +9 -0
- data/node_modules/@babel/register/lib/browser.js.map +1 -0
- data/node_modules/@babel/register/lib/cache.js +3 -0
- data/node_modules/@babel/register/lib/cache.js.map +1 -0
- data/node_modules/@babel/register/lib/experimental-worker.js +25 -0
- data/node_modules/@babel/register/lib/experimental-worker.js.map +1 -0
- data/node_modules/@babel/register/lib/hook.js +71 -0
- data/node_modules/@babel/register/lib/hook.js.map +1 -0
- data/node_modules/@babel/register/lib/index.js +11 -0
- data/node_modules/@babel/register/lib/index.js.map +1 -0
- data/node_modules/@babel/register/lib/is-in-register-worker.js +9 -0
- data/node_modules/@babel/register/lib/is-in-register-worker.js.map +1 -0
- data/node_modules/@babel/register/lib/node.js +16 -0
- data/node_modules/@babel/register/lib/node.js.map +1 -0
- data/node_modules/@babel/register/lib/nodeWrapper.js +13 -0
- data/node_modules/@babel/register/lib/nodeWrapper.js.map +1 -0
- data/node_modules/@babel/register/lib/worker/babel-core.js +19 -0
- data/node_modules/@babel/register/lib/worker/babel-core.js.map +1 -0
- data/node_modules/@babel/register/lib/worker/cache.js +94 -0
- data/node_modules/@babel/register/lib/worker/cache.js.map +1 -0
- data/node_modules/@babel/register/lib/worker/handle-message.js +24 -0
- data/node_modules/@babel/register/lib/worker/handle-message.js.map +1 -0
- data/node_modules/@babel/register/lib/worker/index.js +39 -0
- data/node_modules/@babel/register/lib/worker/index.js.map +1 -0
- data/node_modules/@babel/register/lib/worker/transform.js +121 -0
- data/node_modules/@babel/register/lib/worker/transform.js.map +1 -0
- data/node_modules/@babel/register/lib/worker-client.js +107 -0
- data/node_modules/@babel/register/lib/worker-client.js.map +1 -0
- data/node_modules/@babel/register/package.json +41 -0
- data/node_modules/@babel/template/LICENSE +22 -0
- data/node_modules/@babel/template/README.md +19 -0
- data/node_modules/@babel/template/lib/builder.js +69 -0
- data/node_modules/@babel/template/lib/builder.js.map +1 -0
- data/node_modules/@babel/template/lib/formatters.js +61 -0
- data/node_modules/@babel/template/lib/formatters.js.map +1 -0
- data/node_modules/@babel/template/lib/index.js +23 -0
- data/node_modules/@babel/template/lib/index.js.map +1 -0
- data/node_modules/@babel/template/lib/literal.js +69 -0
- data/node_modules/@babel/template/lib/literal.js.map +1 -0
- data/node_modules/@babel/template/lib/options.js +73 -0
- data/node_modules/@babel/template/lib/options.js.map +1 -0
- data/node_modules/@babel/template/lib/parse.js +160 -0
- data/node_modules/@babel/template/lib/parse.js.map +1 -0
- data/node_modules/@babel/template/lib/populate.js +122 -0
- data/node_modules/@babel/template/lib/populate.js.map +1 -0
- data/node_modules/@babel/template/lib/string.js +20 -0
- data/node_modules/@babel/template/lib/string.js.map +1 -0
- data/node_modules/@babel/template/package.json +27 -0
- data/node_modules/@babel/traverse/LICENSE +22 -0
- data/node_modules/@babel/traverse/README.md +19 -0
- data/node_modules/@babel/traverse/lib/cache.js +44 -0
- data/node_modules/@babel/traverse/lib/cache.js.map +1 -0
- data/node_modules/@babel/traverse/lib/context.js +118 -0
- data/node_modules/@babel/traverse/lib/context.js.map +1 -0
- data/node_modules/@babel/traverse/lib/hub.js +19 -0
- data/node_modules/@babel/traverse/lib/hub.js.map +1 -0
- data/node_modules/@babel/traverse/lib/index.js +94 -0
- data/node_modules/@babel/traverse/lib/index.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/ancestry.js +141 -0
- data/node_modules/@babel/traverse/lib/path/ancestry.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/comments.js +52 -0
- data/node_modules/@babel/traverse/lib/path/comments.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/context.js +222 -0
- data/node_modules/@babel/traverse/lib/path/context.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/conversion.js +468 -0
- data/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/evaluation.js +347 -0
- data/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/family.js +335 -0
- data/node_modules/@babel/traverse/lib/path/family.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/index.js +188 -0
- data/node_modules/@babel/traverse/lib/path/index.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/inference/index.js +149 -0
- data/node_modules/@babel/traverse/lib/path/inference/index.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js +151 -0
- data/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/inference/inferers.js +207 -0
- data/node_modules/@babel/traverse/lib/path/inference/inferers.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/inference/util.js +30 -0
- data/node_modules/@babel/traverse/lib/path/inference/util.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/introspection.js +397 -0
- data/node_modules/@babel/traverse/lib/path/introspection.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/lib/hoister.js +171 -0
- data/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js +37 -0
- data/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js +163 -0
- data/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +26 -0
- data/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/modification.js +226 -0
- data/node_modules/@babel/traverse/lib/path/modification.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/removal.js +66 -0
- data/node_modules/@babel/traverse/lib/path/removal.js.map +1 -0
- data/node_modules/@babel/traverse/lib/path/replacement.js +264 -0
- data/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -0
- data/node_modules/@babel/traverse/lib/scope/binding.js +83 -0
- data/node_modules/@babel/traverse/lib/scope/binding.js.map +1 -0
- data/node_modules/@babel/traverse/lib/scope/index.js +903 -0
- data/node_modules/@babel/traverse/lib/scope/index.js.map +1 -0
- data/node_modules/@babel/traverse/lib/scope/lib/renamer.js +113 -0
- data/node_modules/@babel/traverse/lib/scope/lib/renamer.js.map +1 -0
- data/node_modules/@babel/traverse/lib/traverse-node.js +29 -0
- data/node_modules/@babel/traverse/lib/traverse-node.js.map +1 -0
- data/node_modules/@babel/traverse/lib/types.js +3 -0
- data/node_modules/@babel/traverse/lib/types.js.map +1 -0
- data/node_modules/@babel/traverse/lib/visitors.js +221 -0
- data/node_modules/@babel/traverse/lib/visitors.js.map +1 -0
- data/node_modules/{@eslint/eslintrc → @babel/traverse}/node_modules/globals/globals.json +15 -450
- data/node_modules/@babel/traverse/node_modules/globals/license +9 -0
- data/node_modules/@babel/traverse/node_modules/globals/package.json +41 -0
- data/node_modules/@babel/traverse/node_modules/globals/readme.md +41 -0
- data/node_modules/@babel/traverse/package.json +38 -0
- data/node_modules/@babel/types/LICENSE +22 -0
- data/node_modules/@babel/types/README.md +19 -0
- data/node_modules/@babel/types/lib/asserts/assertNode.js +16 -0
- data/node_modules/@babel/types/lib/asserts/assertNode.js.map +1 -0
- data/node_modules/@babel/types/lib/asserts/generated/index.js +1235 -0
- data/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -0
- data/node_modules/@babel/types/lib/ast-types/generated/index.js +3 -0
- data/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -0
- data/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +18 -0
- data/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +1 -0
- data/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +31 -0
- data/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +1 -0
- data/node_modules/@babel/types/lib/builders/generated/index.js +1991 -0
- data/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -0
- data/node_modules/@babel/types/lib/builders/generated/uppercase.js +1532 -0
- data/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -0
- data/node_modules/@babel/types/lib/builders/productions.js +12 -0
- data/node_modules/@babel/types/lib/builders/productions.js.map +1 -0
- data/node_modules/@babel/types/lib/builders/react/buildChildren.js +24 -0
- data/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +1 -0
- data/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +22 -0
- data/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +1 -0
- data/node_modules/@babel/types/lib/builders/validateNode.js +17 -0
- data/node_modules/@babel/types/lib/builders/validateNode.js.map +1 -0
- data/node_modules/@babel/types/lib/clone/clone.js +12 -0
- data/node_modules/@babel/types/lib/clone/clone.js.map +1 -0
- data/node_modules/@babel/types/lib/clone/cloneDeep.js +12 -0
- data/node_modules/@babel/types/lib/clone/cloneDeep.js.map +1 -0
- data/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +12 -0
- data/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +1 -0
- data/node_modules/@babel/types/lib/clone/cloneNode.js +104 -0
- data/node_modules/@babel/types/lib/clone/cloneNode.js.map +1 -0
- data/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +12 -0
- data/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +1 -0
- data/node_modules/@babel/types/lib/comments/addComment.js +15 -0
- data/node_modules/@babel/types/lib/comments/addComment.js.map +1 -0
- data/node_modules/@babel/types/lib/comments/addComments.js +22 -0
- data/node_modules/@babel/types/lib/comments/addComments.js.map +1 -0
- data/node_modules/@babel/types/lib/comments/inheritInnerComments.js +12 -0
- data/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +1 -0
- data/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +12 -0
- data/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +1 -0
- data/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +12 -0
- data/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +1 -0
- data/node_modules/@babel/types/lib/comments/inheritsComments.js +17 -0
- data/node_modules/@babel/types/lib/comments/inheritsComments.js.map +1 -0
- data/node_modules/@babel/types/lib/comments/removeComments.js +15 -0
- data/node_modules/@babel/types/lib/comments/removeComments.js.map +1 -0
- data/node_modules/@babel/types/lib/constants/generated/index.js +59 -0
- data/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -0
- data/node_modules/@babel/types/lib/constants/index.js +31 -0
- data/node_modules/@babel/types/lib/constants/index.js.map +1 -0
- data/node_modules/@babel/types/lib/converters/ensureBlock.js +14 -0
- data/node_modules/@babel/types/lib/converters/ensureBlock.js.map +1 -0
- data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +65 -0
- data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -0
- data/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +14 -0
- data/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +1 -0
- data/node_modules/@babel/types/lib/converters/toBlock.js +29 -0
- data/node_modules/@babel/types/lib/converters/toBlock.js.map +1 -0
- data/node_modules/@babel/types/lib/converters/toComputedKey.js +14 -0
- data/node_modules/@babel/types/lib/converters/toComputedKey.js.map +1 -0
- data/node_modules/@babel/types/lib/converters/toExpression.js +27 -0
- data/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -0
- data/node_modules/@babel/types/lib/converters/toIdentifier.js +25 -0
- data/node_modules/@babel/types/lib/converters/toIdentifier.js.map +1 -0
- data/node_modules/@babel/types/lib/converters/toKeyAlias.js +38 -0
- data/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +1 -0
- data/node_modules/@babel/types/lib/converters/toSequenceExpression.js +20 -0
- data/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -0
- data/node_modules/@babel/types/lib/converters/toStatement.js +39 -0
- data/node_modules/@babel/types/lib/converters/toStatement.js.map +1 -0
- data/node_modules/@babel/types/lib/converters/valueToNode.js +76 -0
- data/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -0
- data/node_modules/@babel/types/lib/definitions/core.js +1689 -0
- data/node_modules/@babel/types/lib/definitions/core.js.map +1 -0
- data/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +11 -0
- data/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +1 -0
- data/node_modules/@babel/types/lib/definitions/experimental.js +134 -0
- data/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -0
- data/node_modules/@babel/types/lib/definitions/flow.js +488 -0
- data/node_modules/@babel/types/lib/definitions/flow.js.map +1 -0
- data/node_modules/@babel/types/lib/definitions/index.js +96 -0
- data/node_modules/@babel/types/lib/definitions/index.js.map +1 -0
- data/node_modules/@babel/types/lib/definitions/jsx.js +158 -0
- data/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -0
- data/node_modules/@babel/types/lib/definitions/misc.js +32 -0
- data/node_modules/@babel/types/lib/definitions/misc.js.map +1 -0
- data/node_modules/@babel/types/lib/definitions/placeholders.js +27 -0
- data/node_modules/@babel/types/lib/definitions/placeholders.js.map +1 -0
- data/node_modules/@babel/types/lib/definitions/typescript.js +493 -0
- data/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -0
- data/node_modules/@babel/types/lib/definitions/utils.js +273 -0
- data/node_modules/@babel/types/lib/definitions/utils.js.map +1 -0
- data/node_modules/@babel/types/lib/index-legacy.d.ts +2758 -0
- data/node_modules/@babel/types/lib/index.d.ts +3269 -0
- data/node_modules/@babel/types/lib/index.js +576 -0
- data/node_modules/@babel/types/lib/index.js.flow +2612 -0
- data/node_modules/@babel/types/lib/index.js.map +1 -0
- data/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +15 -0
- data/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +1 -0
- data/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +65 -0
- data/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +1 -0
- data/node_modules/@babel/types/lib/modifications/inherits.js +28 -0
- data/node_modules/@babel/types/lib/modifications/inherits.js.map +1 -0
- data/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +17 -0
- data/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +1 -0
- data/node_modules/@babel/types/lib/modifications/removeProperties.js +24 -0
- data/node_modules/@babel/types/lib/modifications/removeProperties.js.map +1 -0
- data/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +14 -0
- data/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +1 -0
- data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +65 -0
- data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -0
- data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +96 -0
- data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -0
- data/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +13 -0
- data/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +1 -0
- data/node_modules/@babel/types/lib/traverse/traverse.js +50 -0
- data/node_modules/@babel/types/lib/traverse/traverse.js.map +1 -0
- data/node_modules/@babel/types/lib/traverse/traverseFast.js +26 -0
- data/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -0
- data/node_modules/@babel/types/lib/utils/deprecationWarning.js +44 -0
- data/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +1 -0
- data/node_modules/@babel/types/lib/utils/inherit.js +13 -0
- data/node_modules/@babel/types/lib/utils/inherit.js.map +1 -0
- data/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +40 -0
- data/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +1 -0
- data/node_modules/@babel/types/lib/utils/shallowEqual.js +17 -0
- data/node_modules/@babel/types/lib/utils/shallowEqual.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +13 -0
- data/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/generated/index.js +2752 -0
- data/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/is.js +27 -0
- data/node_modules/@babel/types/lib/validators/is.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isBinding.js +27 -0
- data/node_modules/@babel/types/lib/validators/isBinding.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isBlockScoped.js +13 -0
- data/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isImmutable.js +21 -0
- data/node_modules/@babel/types/lib/validators/isImmutable.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isLet.js +13 -0
- data/node_modules/@babel/types/lib/validators/isLet.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isNode.js +12 -0
- data/node_modules/@babel/types/lib/validators/isNode.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +57 -0
- data/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isPlaceholderType.js +19 -0
- data/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isReferenced.js +96 -0
- data/node_modules/@babel/types/lib/validators/isReferenced.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isScope.js +18 -0
- data/node_modules/@babel/types/lib/validators/isScope.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +14 -0
- data/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isType.js +22 -0
- data/node_modules/@babel/types/lib/validators/isType.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +13 -0
- data/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isValidIdentifier.js +18 -0
- data/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/isVar.js +15 -0
- data/node_modules/@babel/types/lib/validators/isVar.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/matchesPattern.js +36 -0
- data/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/react/isCompatTag.js +11 -0
- data/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/react/isReactComponent.js +11 -0
- data/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +1 -0
- data/node_modules/@babel/types/lib/validators/validate.js +30 -0
- data/node_modules/@babel/types/lib/validators/validate.js.map +1 -0
- data/node_modules/@babel/types/package.json +40 -0
- data/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +1 -0
- data/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -1
- data/node_modules/@eslint/eslintrc/lib/config-array-factory.js +5 -1
- data/node_modules/@eslint/eslintrc/lib/index.js +3 -1
- data/node_modules/@eslint/eslintrc/package.json +2 -2
- data/node_modules/@eslint/js/package.json +1 -1
- data/node_modules/@eslint/js/src/configs/eslint-all.js +0 -2
- data/node_modules/@humanwhocodes/retry/README.md +16 -0
- data/node_modules/@humanwhocodes/retry/dist/retrier.cjs +20 -3
- data/node_modules/@humanwhocodes/retry/dist/retrier.d.cts +28 -0
- data/node_modules/@humanwhocodes/retry/dist/retrier.d.ts +5 -1
- data/node_modules/@humanwhocodes/retry/dist/retrier.js +21 -3
- data/node_modules/@humanwhocodes/retry/dist/retrier.min.js +1 -1
- data/node_modules/@humanwhocodes/retry/dist/retrier.mjs +20 -3
- data/node_modules/@humanwhocodes/retry/package.json +7 -5
- data/node_modules/@jridgewell/gen-mapping/LICENSE +19 -0
- data/node_modules/@jridgewell/gen-mapping/README.md +227 -0
- data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +230 -0
- data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +1 -0
- data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +246 -0
- data/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +1 -0
- data/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +88 -0
- data/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
- data/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +36 -0
- data/node_modules/@jridgewell/gen-mapping/package.json +76 -0
- data/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
- data/node_modules/@jridgewell/resolve-uri/README.md +40 -0
- data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs +232 -0
- data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
- data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +240 -0
- data/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
- data/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +4 -0
- data/node_modules/@jridgewell/resolve-uri/package.json +69 -0
- data/node_modules/@jridgewell/set-array/LICENSE +19 -0
- data/node_modules/@jridgewell/set-array/README.md +37 -0
- data/node_modules/@jridgewell/set-array/dist/set-array.mjs +69 -0
- data/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +1 -0
- data/node_modules/@jridgewell/set-array/dist/set-array.umd.js +83 -0
- data/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +1 -0
- data/node_modules/@jridgewell/set-array/dist/types/set-array.d.ts +32 -0
- data/node_modules/@jridgewell/set-array/package.json +65 -0
- data/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
- data/node_modules/@jridgewell/sourcemap-codec/README.md +200 -0
- data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +164 -0
- data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
- data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +175 -0
- data/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
- data/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +6 -0
- data/node_modules/@jridgewell/sourcemap-codec/package.json +74 -0
- data/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
- data/node_modules/@jridgewell/trace-mapping/README.md +257 -0
- data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +580 -0
- data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
- data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +600 -0
- data/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
- data/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +8 -0
- data/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +32 -0
- data/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +7 -0
- data/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +1 -0
- data/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +2 -0
- data/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
- data/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +4 -0
- data/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +79 -0
- data/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +99 -0
- data/node_modules/@jridgewell/trace-mapping/package.json +77 -0
- data/node_modules/ast-types/LICENSE +20 -0
- data/node_modules/ast-types/README.md +512 -0
- data/node_modules/ast-types/lib/def/babel-core.d.ts +2 -0
- data/node_modules/ast-types/lib/def/babel-core.js +241 -0
- data/node_modules/ast-types/lib/def/babel-core.js.map +1 -0
- data/node_modules/ast-types/lib/def/babel.d.ts +2 -0
- data/node_modules/ast-types/lib/def/babel.js +26 -0
- data/node_modules/ast-types/lib/def/babel.js.map +1 -0
- data/node_modules/ast-types/lib/def/core.d.ts +2 -0
- data/node_modules/ast-types/lib/def/core.js +281 -0
- data/node_modules/ast-types/lib/def/core.js.map +1 -0
- data/node_modules/ast-types/lib/def/es-proposals.d.ts +2 -0
- data/node_modules/ast-types/lib/def/es-proposals.js +70 -0
- data/node_modules/ast-types/lib/def/es-proposals.js.map +1 -0
- data/node_modules/ast-types/lib/def/es2016.d.ts +2 -0
- data/node_modules/ast-types/lib/def/es2016.js +17 -0
- data/node_modules/ast-types/lib/def/es2016.js.map +1 -0
- data/node_modules/ast-types/lib/def/es2017.d.ts +2 -0
- data/node_modules/ast-types/lib/def/es2017.js +22 -0
- data/node_modules/ast-types/lib/def/es2017.js.map +1 -0
- data/node_modules/ast-types/lib/def/es2018.d.ts +2 -0
- data/node_modules/ast-types/lib/def/es2018.js +36 -0
- data/node_modules/ast-types/lib/def/es2018.js.map +1 -0
- data/node_modules/ast-types/lib/def/es2019.d.ts +2 -0
- data/node_modules/ast-types/lib/def/es2019.js +19 -0
- data/node_modules/ast-types/lib/def/es2019.js.map +1 -0
- data/node_modules/ast-types/lib/def/es2020.d.ts +2 -0
- data/node_modules/ast-types/lib/def/es2020.js +52 -0
- data/node_modules/ast-types/lib/def/es2020.js.map +1 -0
- data/node_modules/ast-types/lib/def/es2021.d.ts +2 -0
- data/node_modules/ast-types/lib/def/es2021.js +15 -0
- data/node_modules/ast-types/lib/def/es2021.js.map +1 -0
- data/node_modules/ast-types/lib/def/es2022.d.ts +2 -0
- data/node_modules/ast-types/lib/def/es2022.js +18 -0
- data/node_modules/ast-types/lib/def/es2022.js.map +1 -0
- data/node_modules/ast-types/lib/def/es6.d.ts +2 -0
- data/node_modules/ast-types/lib/def/es6.js +238 -0
- data/node_modules/ast-types/lib/def/es6.js.map +1 -0
- data/node_modules/ast-types/lib/def/esprima.d.ts +2 -0
- data/node_modules/ast-types/lib/def/esprima.js +51 -0
- data/node_modules/ast-types/lib/def/esprima.js.map +1 -0
- data/node_modules/ast-types/lib/def/flow.d.ts +2 -0
- data/node_modules/ast-types/lib/def/flow.js +362 -0
- data/node_modules/ast-types/lib/def/flow.js.map +1 -0
- data/node_modules/ast-types/lib/def/jsx.d.ts +2 -0
- data/node_modules/ast-types/lib/def/jsx.js +110 -0
- data/node_modules/ast-types/lib/def/jsx.js.map +1 -0
- data/node_modules/ast-types/lib/def/operators/core.d.ts +5 -0
- data/node_modules/ast-types/lib/def/operators/core.js +27 -0
- data/node_modules/ast-types/lib/def/operators/core.js.map +1 -0
- data/node_modules/ast-types/lib/def/operators/es2016.d.ts +5 -0
- data/node_modules/ast-types/lib/def/operators/es2016.js +21 -0
- data/node_modules/ast-types/lib/def/operators/es2016.js.map +1 -0
- data/node_modules/ast-types/lib/def/operators/es2020.d.ts +5 -0
- data/node_modules/ast-types/lib/def/operators/es2020.js +17 -0
- data/node_modules/ast-types/lib/def/operators/es2020.js.map +1 -0
- data/node_modules/ast-types/lib/def/operators/es2021.d.ts +5 -0
- data/node_modules/ast-types/lib/def/operators/es2021.js +20 -0
- data/node_modules/ast-types/lib/def/operators/es2021.js.map +1 -0
- data/node_modules/ast-types/lib/def/type-annotations.d.ts +7 -0
- data/node_modules/ast-types/lib/def/type-annotations.js +42 -0
- data/node_modules/ast-types/lib/def/type-annotations.js.map +1 -0
- data/node_modules/ast-types/lib/def/typescript.d.ts +2 -0
- data/node_modules/ast-types/lib/def/typescript.js +369 -0
- data/node_modules/ast-types/lib/def/typescript.js.map +1 -0
- data/node_modules/ast-types/lib/equiv.d.ts +5 -0
- data/node_modules/ast-types/lib/equiv.js +157 -0
- data/node_modules/ast-types/lib/equiv.js.map +1 -0
- data/node_modules/ast-types/lib/fork.d.ts +43 -0
- data/node_modules/ast-types/lib/fork.js +55 -0
- data/node_modules/ast-types/lib/fork.js.map +1 -0
- data/node_modules/ast-types/lib/gen/builders.d.ts +2850 -0
- data/node_modules/ast-types/lib/gen/builders.js +3 -0
- data/node_modules/ast-types/lib/gen/builders.js.map +1 -0
- data/node_modules/ast-types/lib/gen/kinds.d.ts +293 -0
- data/node_modules/ast-types/lib/gen/kinds.js +3 -0
- data/node_modules/ast-types/lib/gen/kinds.js.map +1 -0
- data/node_modules/ast-types/lib/gen/namedTypes.d.ts +2029 -0
- data/node_modules/ast-types/lib/gen/namedTypes.js +7 -0
- data/node_modules/ast-types/lib/gen/namedTypes.js.map +1 -0
- data/node_modules/ast-types/lib/gen/visitor.d.ts +297 -0
- data/node_modules/ast-types/lib/gen/visitor.js +3 -0
- data/node_modules/ast-types/lib/gen/visitor.js.map +1 -0
- data/node_modules/ast-types/lib/main.d.ts +29 -0
- data/node_modules/ast-types/lib/main.js +44 -0
- data/node_modules/ast-types/lib/main.js.map +1 -0
- data/node_modules/ast-types/lib/node-path.d.ts +21 -0
- data/node_modules/ast-types/lib/node-path.js +414 -0
- data/node_modules/ast-types/lib/node-path.js.map +1 -0
- data/node_modules/ast-types/lib/path-visitor.d.ts +51 -0
- data/node_modules/ast-types/lib/path-visitor.js +346 -0
- data/node_modules/ast-types/lib/path-visitor.js.map +1 -0
- data/node_modules/ast-types/lib/path.d.ts +24 -0
- data/node_modules/ast-types/lib/path.js +334 -0
- data/node_modules/ast-types/lib/path.js.map +1 -0
- data/node_modules/ast-types/lib/scope.d.ts +27 -0
- data/node_modules/ast-types/lib/scope.js +358 -0
- data/node_modules/ast-types/lib/scope.js.map +1 -0
- data/node_modules/ast-types/lib/shared.d.ts +21 -0
- data/node_modules/ast-types/lib/shared.js +91 -0
- data/node_modules/ast-types/lib/shared.js.map +1 -0
- data/node_modules/ast-types/lib/types.d.ts +141 -0
- data/node_modules/ast-types/lib/types.js +791 -0
- data/node_modules/ast-types/lib/types.js.map +1 -0
- data/node_modules/ast-types/package.json +68 -0
- data/node_modules/babel-core/README.md +50 -0
- data/node_modules/babel-core/index.js +2 -0
- data/node_modules/babel-core/package.json +18 -0
- data/node_modules/browserslist/LICENSE +20 -0
- data/node_modules/browserslist/README.md +67 -0
- data/node_modules/browserslist/browser.js +52 -0
- data/node_modules/browserslist/cli.js +156 -0
- data/node_modules/browserslist/error.d.ts +7 -0
- data/node_modules/browserslist/error.js +12 -0
- data/node_modules/browserslist/index.d.ts +201 -0
- data/node_modules/browserslist/index.js +1206 -0
- data/node_modules/browserslist/node.js +420 -0
- data/node_modules/browserslist/package.json +44 -0
- data/node_modules/browserslist/parse.js +78 -0
- data/node_modules/caniuse-lite/LICENSE +395 -0
- data/node_modules/caniuse-lite/README.md +6 -0
- data/node_modules/caniuse-lite/data/agents.js +1 -0
- data/node_modules/caniuse-lite/data/browserVersions.js +1 -0
- data/node_modules/caniuse-lite/data/browsers.js +1 -0
- data/node_modules/caniuse-lite/data/features/aac.js +1 -0
- data/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -0
- data/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -0
- data/node_modules/caniuse-lite/data/features/accelerometer.js +1 -0
- data/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -0
- data/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -0
- data/node_modules/caniuse-lite/data/features/ambient-light.js +1 -0
- data/node_modules/caniuse-lite/data/features/apng.js +1 -0
- data/node_modules/caniuse-lite/data/features/array-find-index.js +1 -0
- data/node_modules/caniuse-lite/data/features/array-find.js +1 -0
- data/node_modules/caniuse-lite/data/features/array-flat.js +1 -0
- data/node_modules/caniuse-lite/data/features/array-includes.js +1 -0
- data/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -0
- data/node_modules/caniuse-lite/data/features/asmjs.js +1 -0
- data/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -0
- data/node_modules/caniuse-lite/data/features/async-functions.js +1 -0
- data/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -0
- data/node_modules/caniuse-lite/data/features/audio-api.js +1 -0
- data/node_modules/caniuse-lite/data/features/audio.js +1 -0
- data/node_modules/caniuse-lite/data/features/audiotracks.js +1 -0
- data/node_modules/caniuse-lite/data/features/autofocus.js +1 -0
- data/node_modules/caniuse-lite/data/features/auxclick.js +1 -0
- data/node_modules/caniuse-lite/data/features/av1.js +1 -0
- data/node_modules/caniuse-lite/data/features/avif.js +1 -0
- data/node_modules/caniuse-lite/data/features/background-attachment.js +1 -0
- data/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -0
- data/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -0
- data/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -0
- data/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -0
- data/node_modules/caniuse-lite/data/features/background-sync.js +1 -0
- data/node_modules/caniuse-lite/data/features/battery-status.js +1 -0
- data/node_modules/caniuse-lite/data/features/beacon.js +1 -0
- data/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -0
- data/node_modules/caniuse-lite/data/features/bigint.js +1 -0
- data/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -0
- data/node_modules/caniuse-lite/data/features/bloburls.js +1 -0
- data/node_modules/caniuse-lite/data/features/border-image.js +1 -0
- data/node_modules/caniuse-lite/data/features/border-radius.js +1 -0
- data/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -0
- data/node_modules/caniuse-lite/data/features/brotli.js +1 -0
- data/node_modules/caniuse-lite/data/features/calc.js +1 -0
- data/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -0
- data/node_modules/caniuse-lite/data/features/canvas-text.js +1 -0
- data/node_modules/caniuse-lite/data/features/canvas.js +1 -0
- data/node_modules/caniuse-lite/data/features/ch-unit.js +1 -0
- data/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -0
- data/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -0
- data/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -0
- data/node_modules/caniuse-lite/data/features/classlist.js +1 -0
- data/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -0
- data/node_modules/caniuse-lite/data/features/clipboard.js +1 -0
- data/node_modules/caniuse-lite/data/features/colr-v1.js +1 -0
- data/node_modules/caniuse-lite/data/features/colr.js +1 -0
- data/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -0
- data/node_modules/caniuse-lite/data/features/console-basic.js +1 -0
- data/node_modules/caniuse-lite/data/features/console-time.js +1 -0
- data/node_modules/caniuse-lite/data/features/const.js +1 -0
- data/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -0
- data/node_modules/caniuse-lite/data/features/contenteditable.js +1 -0
- data/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -0
- data/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -0
- data/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -0
- data/node_modules/caniuse-lite/data/features/cors.js +1 -0
- data/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -0
- data/node_modules/caniuse-lite/data/features/credential-management.js +1 -0
- data/node_modules/caniuse-lite/data/features/cryptography.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-all.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-animation.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-any-link.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-appearance.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-autofill.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-canvas.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-color-function.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-containment.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-counters.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-element-function.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-env-function.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-filters.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-first-line.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-fixed.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-gradients.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-grid.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-has.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-image-set.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-masks.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-nesting.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-opacity.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-overflow.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-page-break.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-reflections.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-regions.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-resize.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-scroll-timeline.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-sel2.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-sel3.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-selection.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-shapes.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-sticky.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-table.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-transitions.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-variables.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-when-else.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -0
- data/node_modules/caniuse-lite/data/features/css-zoom.js +1 -0
- data/node_modules/caniuse-lite/data/features/css3-attr.js +1 -0
- data/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -0
- data/node_modules/caniuse-lite/data/features/css3-colors.js +1 -0
- data/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -0
- data/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -0
- data/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -0
- data/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -0
- data/node_modules/caniuse-lite/data/features/currentcolor.js +1 -0
- data/node_modules/caniuse-lite/data/features/custom-elements.js +1 -0
- data/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -0
- data/node_modules/caniuse-lite/data/features/customevent.js +1 -0
- data/node_modules/caniuse-lite/data/features/datalist.js +1 -0
- data/node_modules/caniuse-lite/data/features/dataset.js +1 -0
- data/node_modules/caniuse-lite/data/features/datauri.js +1 -0
- data/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -0
- data/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -0
- data/node_modules/caniuse-lite/data/features/decorators.js +1 -0
- data/node_modules/caniuse-lite/data/features/details.js +1 -0
- data/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -0
- data/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -0
- data/node_modules/caniuse-lite/data/features/dialog.js +1 -0
- data/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -0
- data/node_modules/caniuse-lite/data/features/dnssec.js +1 -0
- data/node_modules/caniuse-lite/data/features/do-not-track.js +1 -0
- data/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -0
- data/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -0
- data/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -0
- data/node_modules/caniuse-lite/data/features/document-policy.js +1 -0
- data/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -0
- data/node_modules/caniuse-lite/data/features/documenthead.js +1 -0
- data/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -0
- data/node_modules/caniuse-lite/data/features/dom-range.js +1 -0
- data/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -0
- data/node_modules/caniuse-lite/data/features/dommatrix.js +1 -0
- data/node_modules/caniuse-lite/data/features/download.js +1 -0
- data/node_modules/caniuse-lite/data/features/dragndrop.js +1 -0
- data/node_modules/caniuse-lite/data/features/element-closest.js +1 -0
- data/node_modules/caniuse-lite/data/features/element-from-point.js +1 -0
- data/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -0
- data/node_modules/caniuse-lite/data/features/eme.js +1 -0
- data/node_modules/caniuse-lite/data/features/eot.js +1 -0
- data/node_modules/caniuse-lite/data/features/es5.js +1 -0
- data/node_modules/caniuse-lite/data/features/es6-class.js +1 -0
- data/node_modules/caniuse-lite/data/features/es6-generators.js +1 -0
- data/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -0
- data/node_modules/caniuse-lite/data/features/es6-module.js +1 -0
- data/node_modules/caniuse-lite/data/features/es6-number.js +1 -0
- data/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -0
- data/node_modules/caniuse-lite/data/features/es6.js +1 -0
- data/node_modules/caniuse-lite/data/features/eventsource.js +1 -0
- data/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -0
- data/node_modules/caniuse-lite/data/features/feature-policy.js +1 -0
- data/node_modules/caniuse-lite/data/features/fetch.js +1 -0
- data/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -0
- data/node_modules/caniuse-lite/data/features/fileapi.js +1 -0
- data/node_modules/caniuse-lite/data/features/filereader.js +1 -0
- data/node_modules/caniuse-lite/data/features/filereadersync.js +1 -0
- data/node_modules/caniuse-lite/data/features/filesystem.js +1 -0
- data/node_modules/caniuse-lite/data/features/flac.js +1 -0
- data/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -0
- data/node_modules/caniuse-lite/data/features/flexbox.js +1 -0
- data/node_modules/caniuse-lite/data/features/flow-root.js +1 -0
- data/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -0
- data/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -0
- data/node_modules/caniuse-lite/data/features/font-feature.js +1 -0
- data/node_modules/caniuse-lite/data/features/font-kerning.js +1 -0
- data/node_modules/caniuse-lite/data/features/font-loading.js +1 -0
- data/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -0
- data/node_modules/caniuse-lite/data/features/font-smooth.js +1 -0
- data/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -0
- data/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -0
- data/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -0
- data/node_modules/caniuse-lite/data/features/fontface.js +1 -0
- data/node_modules/caniuse-lite/data/features/form-attribute.js +1 -0
- data/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -0
- data/node_modules/caniuse-lite/data/features/form-validation.js +1 -0
- data/node_modules/caniuse-lite/data/features/forms.js +1 -0
- data/node_modules/caniuse-lite/data/features/fullscreen.js +1 -0
- data/node_modules/caniuse-lite/data/features/gamepad.js +1 -0
- data/node_modules/caniuse-lite/data/features/geolocation.js +1 -0
- data/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -0
- data/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -0
- data/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -0
- data/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -0
- data/node_modules/caniuse-lite/data/features/gyroscope.js +1 -0
- data/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -0
- data/node_modules/caniuse-lite/data/features/hashchange.js +1 -0
- data/node_modules/caniuse-lite/data/features/heif.js +1 -0
- data/node_modules/caniuse-lite/data/features/hevc.js +1 -0
- data/node_modules/caniuse-lite/data/features/hidden.js +1 -0
- data/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -0
- data/node_modules/caniuse-lite/data/features/history.js +1 -0
- data/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -0
- data/node_modules/caniuse-lite/data/features/html5semantic.js +1 -0
- data/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -0
- data/node_modules/caniuse-lite/data/features/http2.js +1 -0
- data/node_modules/caniuse-lite/data/features/http3.js +1 -0
- data/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -0
- data/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -0
- data/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -0
- data/node_modules/caniuse-lite/data/features/imagecapture.js +1 -0
- data/node_modules/caniuse-lite/data/features/ime.js +1 -0
- data/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -0
- data/node_modules/caniuse-lite/data/features/import-maps.js +1 -0
- data/node_modules/caniuse-lite/data/features/imports.js +1 -0
- data/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -0
- data/node_modules/caniuse-lite/data/features/indexeddb.js +1 -0
- data/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -0
- data/node_modules/caniuse-lite/data/features/inline-block.js +1 -0
- data/node_modules/caniuse-lite/data/features/innertext.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-color.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-datetime.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-event.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-minlength.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-number.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-pattern.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-range.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-search.js +1 -0
- data/node_modules/caniuse-lite/data/features/input-selection.js +1 -0
- data/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -0
- data/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -0
- data/node_modules/caniuse-lite/data/features/internationalization.js +1 -0
- data/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -0
- data/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -0
- data/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -0
- data/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -0
- data/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -0
- data/node_modules/caniuse-lite/data/features/jpegxl.js +1 -0
- data/node_modules/caniuse-lite/data/features/jpegxr.js +1 -0
- data/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -0
- data/node_modules/caniuse-lite/data/features/json.js +1 -0
- data/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -0
- data/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -0
- data/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -0
- data/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -0
- data/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -0
- data/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -0
- data/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -0
- data/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -0
- data/node_modules/caniuse-lite/data/features/lazyload.js +1 -0
- data/node_modules/caniuse-lite/data/features/let.js +1 -0
- data/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -0
- data/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -0
- data/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -0
- data/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -0
- data/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -0
- data/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -0
- data/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -0
- data/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -0
- data/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -0
- data/node_modules/caniuse-lite/data/features/localecompare.js +1 -0
- data/node_modules/caniuse-lite/data/features/magnetometer.js +1 -0
- data/node_modules/caniuse-lite/data/features/matchesselector.js +1 -0
- data/node_modules/caniuse-lite/data/features/matchmedia.js +1 -0
- data/node_modules/caniuse-lite/data/features/mathml.js +1 -0
- data/node_modules/caniuse-lite/data/features/maxlength.js +1 -0
- data/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -0
- data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -0
- data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -0
- data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -0
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -0
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -0
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -0
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -0
- data/node_modules/caniuse-lite/data/features/media-fragments.js +1 -0
- data/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -0
- data/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -0
- data/node_modules/caniuse-lite/data/features/mediasource.js +1 -0
- data/node_modules/caniuse-lite/data/features/menu.js +1 -0
- data/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -0
- data/node_modules/caniuse-lite/data/features/meter.js +1 -0
- data/node_modules/caniuse-lite/data/features/midi.js +1 -0
- data/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -0
- data/node_modules/caniuse-lite/data/features/mp3.js +1 -0
- data/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -0
- data/node_modules/caniuse-lite/data/features/mpeg4.js +1 -0
- data/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -0
- data/node_modules/caniuse-lite/data/features/multicolumn.js +1 -0
- data/node_modules/caniuse-lite/data/features/mutation-events.js +1 -0
- data/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -0
- data/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -0
- data/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -0
- data/node_modules/caniuse-lite/data/features/nav-timing.js +1 -0
- data/node_modules/caniuse-lite/data/features/netinfo.js +1 -0
- data/node_modules/caniuse-lite/data/features/notifications.js +1 -0
- data/node_modules/caniuse-lite/data/features/object-entries.js +1 -0
- data/node_modules/caniuse-lite/data/features/object-fit.js +1 -0
- data/node_modules/caniuse-lite/data/features/object-observe.js +1 -0
- data/node_modules/caniuse-lite/data/features/object-values.js +1 -0
- data/node_modules/caniuse-lite/data/features/objectrtc.js +1 -0
- data/node_modules/caniuse-lite/data/features/offline-apps.js +1 -0
- data/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -0
- data/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -0
- data/node_modules/caniuse-lite/data/features/ogv.js +1 -0
- data/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -0
- data/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -0
- data/node_modules/caniuse-lite/data/features/online-status.js +1 -0
- data/node_modules/caniuse-lite/data/features/opus.js +1 -0
- data/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -0
- data/node_modules/caniuse-lite/data/features/outline.js +1 -0
- data/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -0
- data/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -0
- data/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -0
- data/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -0
- data/node_modules/caniuse-lite/data/features/passkeys.js +1 -0
- data/node_modules/caniuse-lite/data/features/passwordrules.js +1 -0
- data/node_modules/caniuse-lite/data/features/path2d.js +1 -0
- data/node_modules/caniuse-lite/data/features/payment-request.js +1 -0
- data/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -0
- data/node_modules/caniuse-lite/data/features/permissions-api.js +1 -0
- data/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -0
- data/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -0
- data/node_modules/caniuse-lite/data/features/picture.js +1 -0
- data/node_modules/caniuse-lite/data/features/ping.js +1 -0
- data/node_modules/caniuse-lite/data/features/png-alpha.js +1 -0
- data/node_modules/caniuse-lite/data/features/pointer-events.js +1 -0
- data/node_modules/caniuse-lite/data/features/pointer.js +1 -0
- data/node_modules/caniuse-lite/data/features/pointerlock.js +1 -0
- data/node_modules/caniuse-lite/data/features/portals.js +1 -0
- data/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -0
- data/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -0
- data/node_modules/caniuse-lite/data/features/progress.js +1 -0
- data/node_modules/caniuse-lite/data/features/promise-finally.js +1 -0
- data/node_modules/caniuse-lite/data/features/promises.js +1 -0
- data/node_modules/caniuse-lite/data/features/proximity.js +1 -0
- data/node_modules/caniuse-lite/data/features/proxy.js +1 -0
- data/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -0
- data/node_modules/caniuse-lite/data/features/push-api.js +1 -0
- data/node_modules/caniuse-lite/data/features/queryselector.js +1 -0
- data/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -0
- data/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -0
- data/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -0
- data/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -0
- data/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -0
- data/node_modules/caniuse-lite/data/features/rellist.js +1 -0
- data/node_modules/caniuse-lite/data/features/rem.js +1 -0
- data/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -0
- data/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -0
- data/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -0
- data/node_modules/caniuse-lite/data/features/resource-timing.js +1 -0
- data/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -0
- data/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -0
- data/node_modules/caniuse-lite/data/features/ruby.js +1 -0
- data/node_modules/caniuse-lite/data/features/run-in.js +1 -0
- data/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -0
- data/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -0
- data/node_modules/caniuse-lite/data/features/script-async.js +1 -0
- data/node_modules/caniuse-lite/data/features/script-defer.js +1 -0
- data/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -0
- data/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -0
- data/node_modules/caniuse-lite/data/features/sdch.js +1 -0
- data/node_modules/caniuse-lite/data/features/selection-api.js +1 -0
- data/node_modules/caniuse-lite/data/features/selectlist.js +1 -0
- data/node_modules/caniuse-lite/data/features/server-timing.js +1 -0
- data/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -0
- data/node_modules/caniuse-lite/data/features/setimmediate.js +1 -0
- data/node_modules/caniuse-lite/data/features/shadowdom.js +1 -0
- data/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -0
- data/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -0
- data/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -0
- data/node_modules/caniuse-lite/data/features/sni.js +1 -0
- data/node_modules/caniuse-lite/data/features/spdy.js +1 -0
- data/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -0
- data/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -0
- data/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -0
- data/node_modules/caniuse-lite/data/features/sql-storage.js +1 -0
- data/node_modules/caniuse-lite/data/features/srcset.js +1 -0
- data/node_modules/caniuse-lite/data/features/stream.js +1 -0
- data/node_modules/caniuse-lite/data/features/streams.js +1 -0
- data/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -0
- data/node_modules/caniuse-lite/data/features/style-scoped.js +1 -0
- data/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -0
- data/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -0
- data/node_modules/caniuse-lite/data/features/svg-css.js +1 -0
- data/node_modules/caniuse-lite/data/features/svg-filters.js +1 -0
- data/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -0
- data/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -0
- data/node_modules/caniuse-lite/data/features/svg-html.js +1 -0
- data/node_modules/caniuse-lite/data/features/svg-html5.js +1 -0
- data/node_modules/caniuse-lite/data/features/svg-img.js +1 -0
- data/node_modules/caniuse-lite/data/features/svg-smil.js +1 -0
- data/node_modules/caniuse-lite/data/features/svg.js +1 -0
- data/node_modules/caniuse-lite/data/features/sxg.js +1 -0
- data/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -0
- data/node_modules/caniuse-lite/data/features/template-literals.js +1 -0
- data/node_modules/caniuse-lite/data/features/template.js +1 -0
- data/node_modules/caniuse-lite/data/features/temporal.js +1 -0
- data/node_modules/caniuse-lite/data/features/testfeat.js +1 -0
- data/node_modules/caniuse-lite/data/features/text-decoration.js +1 -0
- data/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -0
- data/node_modules/caniuse-lite/data/features/text-overflow.js +1 -0
- data/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -0
- data/node_modules/caniuse-lite/data/features/text-stroke.js +1 -0
- data/node_modules/caniuse-lite/data/features/textcontent.js +1 -0
- data/node_modules/caniuse-lite/data/features/textencoder.js +1 -0
- data/node_modules/caniuse-lite/data/features/tls1-1.js +1 -0
- data/node_modules/caniuse-lite/data/features/tls1-2.js +1 -0
- data/node_modules/caniuse-lite/data/features/tls1-3.js +1 -0
- data/node_modules/caniuse-lite/data/features/touch.js +1 -0
- data/node_modules/caniuse-lite/data/features/transforms2d.js +1 -0
- data/node_modules/caniuse-lite/data/features/transforms3d.js +1 -0
- data/node_modules/caniuse-lite/data/features/trusted-types.js +1 -0
- data/node_modules/caniuse-lite/data/features/ttf.js +1 -0
- data/node_modules/caniuse-lite/data/features/typedarrays.js +1 -0
- data/node_modules/caniuse-lite/data/features/u2f.js +1 -0
- data/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -0
- data/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -0
- data/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -0
- data/node_modules/caniuse-lite/data/features/url.js +1 -0
- data/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -0
- data/node_modules/caniuse-lite/data/features/use-strict.js +1 -0
- data/node_modules/caniuse-lite/data/features/user-select-none.js +1 -0
- data/node_modules/caniuse-lite/data/features/user-timing.js +1 -0
- data/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -0
- data/node_modules/caniuse-lite/data/features/vector-effect.js +1 -0
- data/node_modules/caniuse-lite/data/features/vibration.js +1 -0
- data/node_modules/caniuse-lite/data/features/video.js +1 -0
- data/node_modules/caniuse-lite/data/features/videotracks.js +1 -0
- data/node_modules/caniuse-lite/data/features/view-transitions.js +1 -0
- data/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -0
- data/node_modules/caniuse-lite/data/features/viewport-units.js +1 -0
- data/node_modules/caniuse-lite/data/features/wai-aria.js +1 -0
- data/node_modules/caniuse-lite/data/features/wake-lock.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -0
- data/node_modules/caniuse-lite/data/features/wasm.js +1 -0
- data/node_modules/caniuse-lite/data/features/wav.js +1 -0
- data/node_modules/caniuse-lite/data/features/wbr-element.js +1 -0
- data/node_modules/caniuse-lite/data/features/web-animation.js +1 -0
- data/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -0
- data/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -0
- data/node_modules/caniuse-lite/data/features/web-serial.js +1 -0
- data/node_modules/caniuse-lite/data/features/web-share.js +1 -0
- data/node_modules/caniuse-lite/data/features/webauthn.js +1 -0
- data/node_modules/caniuse-lite/data/features/webcodecs.js +1 -0
- data/node_modules/caniuse-lite/data/features/webgl.js +1 -0
- data/node_modules/caniuse-lite/data/features/webgl2.js +1 -0
- data/node_modules/caniuse-lite/data/features/webgpu.js +1 -0
- data/node_modules/caniuse-lite/data/features/webhid.js +1 -0
- data/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -0
- data/node_modules/caniuse-lite/data/features/webm.js +1 -0
- data/node_modules/caniuse-lite/data/features/webnfc.js +1 -0
- data/node_modules/caniuse-lite/data/features/webp.js +1 -0
- data/node_modules/caniuse-lite/data/features/websockets.js +1 -0
- data/node_modules/caniuse-lite/data/features/webtransport.js +1 -0
- data/node_modules/caniuse-lite/data/features/webusb.js +1 -0
- data/node_modules/caniuse-lite/data/features/webvr.js +1 -0
- data/node_modules/caniuse-lite/data/features/webvtt.js +1 -0
- data/node_modules/caniuse-lite/data/features/webworkers.js +1 -0
- data/node_modules/caniuse-lite/data/features/webxr.js +1 -0
- data/node_modules/caniuse-lite/data/features/will-change.js +1 -0
- data/node_modules/caniuse-lite/data/features/woff.js +1 -0
- data/node_modules/caniuse-lite/data/features/woff2.js +1 -0
- data/node_modules/caniuse-lite/data/features/word-break.js +1 -0
- data/node_modules/caniuse-lite/data/features/wordwrap.js +1 -0
- data/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -0
- data/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -0
- data/node_modules/caniuse-lite/data/features/xhr2.js +1 -0
- data/node_modules/caniuse-lite/data/features/xhtml.js +1 -0
- data/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -0
- data/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -0
- data/node_modules/caniuse-lite/data/features/zstd.js +1 -0
- data/node_modules/caniuse-lite/data/features.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AD.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AF.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AI.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AL.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AO.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AS.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AT.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AU.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AW.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AX.js +1 -0
- data/node_modules/caniuse-lite/data/regions/AZ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BB.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BD.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BF.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BH.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BI.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BJ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BN.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BO.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BS.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BT.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BW.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BY.js +1 -0
- data/node_modules/caniuse-lite/data/regions/BZ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CD.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CF.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CH.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CI.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CK.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CL.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CN.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CO.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CU.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CV.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CX.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CY.js +1 -0
- data/node_modules/caniuse-lite/data/regions/CZ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/DE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/DJ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/DK.js +1 -0
- data/node_modules/caniuse-lite/data/regions/DM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/DO.js +1 -0
- data/node_modules/caniuse-lite/data/regions/DZ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/EC.js +1 -0
- data/node_modules/caniuse-lite/data/regions/EE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/EG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/ER.js +1 -0
- data/node_modules/caniuse-lite/data/regions/ES.js +1 -0
- data/node_modules/caniuse-lite/data/regions/ET.js +1 -0
- data/node_modules/caniuse-lite/data/regions/FI.js +1 -0
- data/node_modules/caniuse-lite/data/regions/FJ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/FK.js +1 -0
- data/node_modules/caniuse-lite/data/regions/FM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/FO.js +1 -0
- data/node_modules/caniuse-lite/data/regions/FR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GB.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GD.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GF.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GH.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GI.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GL.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GN.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GP.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GQ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GT.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GU.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GW.js +1 -0
- data/node_modules/caniuse-lite/data/regions/GY.js +1 -0
- data/node_modules/caniuse-lite/data/regions/HK.js +1 -0
- data/node_modules/caniuse-lite/data/regions/HN.js +1 -0
- data/node_modules/caniuse-lite/data/regions/HR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/HT.js +1 -0
- data/node_modules/caniuse-lite/data/regions/HU.js +1 -0
- data/node_modules/caniuse-lite/data/regions/ID.js +1 -0
- data/node_modules/caniuse-lite/data/regions/IE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/IL.js +1 -0
- data/node_modules/caniuse-lite/data/regions/IM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/IN.js +1 -0
- data/node_modules/caniuse-lite/data/regions/IQ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/IR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/IS.js +1 -0
- data/node_modules/caniuse-lite/data/regions/IT.js +1 -0
- data/node_modules/caniuse-lite/data/regions/JE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/JM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/JO.js +1 -0
- data/node_modules/caniuse-lite/data/regions/JP.js +1 -0
- data/node_modules/caniuse-lite/data/regions/KE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/KG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/KH.js +1 -0
- data/node_modules/caniuse-lite/data/regions/KI.js +1 -0
- data/node_modules/caniuse-lite/data/regions/KM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/KN.js +1 -0
- data/node_modules/caniuse-lite/data/regions/KP.js +1 -0
- data/node_modules/caniuse-lite/data/regions/KR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/KW.js +1 -0
- data/node_modules/caniuse-lite/data/regions/KY.js +1 -0
- data/node_modules/caniuse-lite/data/regions/KZ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/LA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/LB.js +1 -0
- data/node_modules/caniuse-lite/data/regions/LC.js +1 -0
- data/node_modules/caniuse-lite/data/regions/LI.js +1 -0
- data/node_modules/caniuse-lite/data/regions/LK.js +1 -0
- data/node_modules/caniuse-lite/data/regions/LR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/LS.js +1 -0
- data/node_modules/caniuse-lite/data/regions/LT.js +1 -0
- data/node_modules/caniuse-lite/data/regions/LU.js +1 -0
- data/node_modules/caniuse-lite/data/regions/LV.js +1 -0
- data/node_modules/caniuse-lite/data/regions/LY.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MC.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MD.js +1 -0
- data/node_modules/caniuse-lite/data/regions/ME.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MH.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MK.js +1 -0
- data/node_modules/caniuse-lite/data/regions/ML.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MN.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MO.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MP.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MQ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MS.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MT.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MU.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MV.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MW.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MX.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MY.js +1 -0
- data/node_modules/caniuse-lite/data/regions/MZ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NC.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NF.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NI.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NL.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NO.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NP.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NU.js +1 -0
- data/node_modules/caniuse-lite/data/regions/NZ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/OM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PF.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PH.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PK.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PL.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PN.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PS.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PT.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PW.js +1 -0
- data/node_modules/caniuse-lite/data/regions/PY.js +1 -0
- data/node_modules/caniuse-lite/data/regions/QA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/RE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/RO.js +1 -0
- data/node_modules/caniuse-lite/data/regions/RS.js +1 -0
- data/node_modules/caniuse-lite/data/regions/RU.js +1 -0
- data/node_modules/caniuse-lite/data/regions/RW.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SB.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SC.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SD.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SH.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SI.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SK.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SL.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SN.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SO.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/ST.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SV.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SY.js +1 -0
- data/node_modules/caniuse-lite/data/regions/SZ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TC.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TD.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TH.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TJ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TK.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TL.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TN.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TO.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TR.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TT.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TV.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TW.js +1 -0
- data/node_modules/caniuse-lite/data/regions/TZ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/UA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/UG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/US.js +1 -0
- data/node_modules/caniuse-lite/data/regions/UY.js +1 -0
- data/node_modules/caniuse-lite/data/regions/UZ.js +1 -0
- data/node_modules/caniuse-lite/data/regions/VA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/VC.js +1 -0
- data/node_modules/caniuse-lite/data/regions/VE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/VG.js +1 -0
- data/node_modules/caniuse-lite/data/regions/VI.js +1 -0
- data/node_modules/caniuse-lite/data/regions/VN.js +1 -0
- data/node_modules/caniuse-lite/data/regions/VU.js +1 -0
- data/node_modules/caniuse-lite/data/regions/WF.js +1 -0
- data/node_modules/caniuse-lite/data/regions/WS.js +1 -0
- data/node_modules/caniuse-lite/data/regions/YE.js +1 -0
- data/node_modules/caniuse-lite/data/regions/YT.js +1 -0
- data/node_modules/caniuse-lite/data/regions/ZA.js +1 -0
- data/node_modules/caniuse-lite/data/regions/ZM.js +1 -0
- data/node_modules/caniuse-lite/data/regions/ZW.js +1 -0
- data/node_modules/caniuse-lite/data/regions/alt-af.js +1 -0
- data/node_modules/caniuse-lite/data/regions/alt-an.js +1 -0
- data/node_modules/caniuse-lite/data/regions/alt-as.js +1 -0
- data/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -0
- data/node_modules/caniuse-lite/data/regions/alt-na.js +1 -0
- data/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -0
- data/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -0
- data/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -0
- data/node_modules/caniuse-lite/dist/lib/statuses.js +9 -0
- data/node_modules/caniuse-lite/dist/lib/supported.js +9 -0
- data/node_modules/caniuse-lite/dist/unpacker/agents.js +47 -0
- data/node_modules/caniuse-lite/dist/unpacker/browserVersions.js +1 -0
- data/node_modules/caniuse-lite/dist/unpacker/browsers.js +1 -0
- data/node_modules/caniuse-lite/dist/unpacker/feature.js +52 -0
- data/node_modules/caniuse-lite/dist/unpacker/features.js +6 -0
- data/node_modules/caniuse-lite/dist/unpacker/index.js +4 -0
- data/node_modules/caniuse-lite/dist/unpacker/region.js +22 -0
- data/node_modules/caniuse-lite/package.json +34 -0
- data/node_modules/clone-deep/LICENSE +21 -0
- data/node_modules/clone-deep/README.md +106 -0
- data/node_modules/clone-deep/index.js +49 -0
- data/node_modules/clone-deep/package.json +81 -0
- data/node_modules/commondir/LICENSE +24 -0
- data/node_modules/commondir/example/dir.js +3 -0
- data/node_modules/commondir/index.js +29 -0
- data/node_modules/commondir/package.json +34 -0
- data/node_modules/commondir/readme.markdown +48 -0
- data/node_modules/commondir/test/dirs.js +55 -0
- data/node_modules/configstore/node_modules/write-file-atomic/CHANGELOG.md +32 -0
- data/node_modules/configstore/node_modules/write-file-atomic/LICENSE +6 -0
- data/node_modules/configstore/node_modules/write-file-atomic/README.md +72 -0
- data/node_modules/configstore/node_modules/write-file-atomic/index.js +259 -0
- data/node_modules/configstore/node_modules/write-file-atomic/package.json +48 -0
- data/node_modules/convert-source-map/LICENSE +23 -0
- data/node_modules/convert-source-map/README.md +206 -0
- data/node_modules/convert-source-map/index.js +233 -0
- data/node_modules/convert-source-map/package.json +38 -0
- data/node_modules/electron-to-chromium/LICENSE +5 -0
- data/node_modules/electron-to-chromium/README.md +186 -0
- data/node_modules/electron-to-chromium/chromium-versions.js +66 -0
- data/node_modules/electron-to-chromium/chromium-versions.json +1 -0
- data/node_modules/electron-to-chromium/full-chromium-versions.js +3276 -0
- data/node_modules/electron-to-chromium/full-chromium-versions.json +1 -0
- data/node_modules/electron-to-chromium/full-versions.js +2380 -0
- data/node_modules/electron-to-chromium/full-versions.json +1 -0
- data/node_modules/electron-to-chromium/index.js +36 -0
- data/node_modules/electron-to-chromium/package.json +44 -0
- data/node_modules/electron-to-chromium/versions.js +156 -0
- data/node_modules/electron-to-chromium/versions.json +1 -0
- data/node_modules/escalade/dist/index.js +22 -0
- data/node_modules/escalade/dist/index.mjs +22 -0
- data/node_modules/escalade/index.d.ts +3 -0
- data/node_modules/escalade/license +9 -0
- data/node_modules/escalade/package.json +63 -0
- data/node_modules/escalade/readme.md +211 -0
- data/node_modules/escalade/sync/index.d.ts +2 -0
- data/node_modules/escalade/sync/index.js +18 -0
- data/node_modules/escalade/sync/index.mjs +18 -0
- data/node_modules/eslint/README.md +2 -2
- data/node_modules/eslint/bin/eslint.js +1 -1
- data/node_modules/eslint/lib/cli-engine/cli-engine.js +2 -2
- data/node_modules/eslint/lib/cli-engine/file-enumerator.js +2 -2
- data/node_modules/eslint/lib/cli-engine/lint-result-cache.js +2 -2
- data/node_modules/eslint/lib/cli-engine/load-rules.js +2 -2
- data/node_modules/eslint/lib/cli.js +3 -3
- data/node_modules/eslint/lib/eslint/eslint-helpers.js +2 -2
- data/node_modules/eslint/lib/eslint/eslint.js +5 -5
- data/node_modules/eslint/lib/eslint/legacy-eslint.js +3 -3
- data/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js +1 -1
- data/node_modules/eslint/lib/linter/code-path-analysis/fork-context.js +1 -1
- data/node_modules/eslint/lib/linter/linter.js +1 -1
- data/node_modules/eslint/lib/linter/report-translator.js +1 -1
- data/node_modules/eslint/lib/rule-tester/rule-tester.js +3 -3
- data/node_modules/eslint/lib/rules/func-style.js +42 -4
- data/node_modules/eslint/lib/rules/line-comment-position.js +3 -0
- data/node_modules/eslint/lib/rules/multiline-comment-style.js +3 -1
- data/node_modules/eslint/lib/rules/no-constant-binary-expression.js +1 -1
- data/node_modules/eslint/lib/rules/no-extra-boolean-cast.js +79 -27
- data/node_modules/eslint/lib/rules/no-misleading-character-class.js +111 -30
- data/node_modules/eslint/lib/rules/no-restricted-exports.js +13 -2
- data/node_modules/eslint/lib/rules/object-shorthand.js +21 -20
- data/node_modules/eslint/lib/shared/runtime-info.js +2 -2
- data/node_modules/eslint/lib/source-code/token-store/index.js +1 -1
- data/node_modules/eslint/messages/config-file-missing.js +16 -0
- data/node_modules/eslint/messages/eslintrc-incompat.js +22 -1
- data/node_modules/eslint/package.json +5 -5
- data/node_modules/eslint-plugin-align-assignments/README.md +49 -0
- data/node_modules/eslint-plugin-align-assignments/docs/rules/align-assignment.md +36 -0
- data/node_modules/eslint-plugin-align-assignments/lib/index.js +5 -0
- data/node_modules/eslint-plugin-align-assignments/lib/rules/align-assignments.js +170 -0
- data/node_modules/eslint-plugin-align-assignments/package.json +22 -0
- data/node_modules/eslint-plugin-align-assignments/tests/lib/rules/align-assignments_test.js +521 -0
- data/node_modules/eslint-plugin-align-import/LICENSE +21 -0
- data/node_modules/eslint-plugin-align-import/README.md +98 -0
- data/node_modules/eslint-plugin-align-import/docs/rules/align-import.md +52 -0
- data/node_modules/eslint-plugin-align-import/docs/rules/trim-import.md +32 -0
- data/node_modules/eslint-plugin-align-import/lib/index.js +9 -0
- data/node_modules/eslint-plugin-align-import/lib/rules/align-import.js +163 -0
- data/node_modules/eslint-plugin-align-import/lib/rules/trim-import.js +139 -0
- data/node_modules/eslint-plugin-align-import/package.json +28 -0
- data/node_modules/eslint-plugin-align-import/tests/lib/rules/align-import.js +304 -0
- data/node_modules/eslint-plugin-align-import/tests/lib/rules/trim-import.js +214 -0
- data/node_modules/eslint-plugin-prefer-arrow/LICENSE +21 -0
- data/node_modules/eslint-plugin-prefer-arrow/README.md +46 -0
- data/node_modules/eslint-plugin-prefer-arrow/index.js +10 -0
- data/node_modules/eslint-plugin-prefer-arrow/lib/rules/prefer-arrow-functions.js +296 -0
- data/node_modules/eslint-plugin-prefer-arrow/package.json +30 -0
- data/node_modules/eslint-plugin-prefer-arrow/test/lib/rules/prefer-arrow-functions.js +285 -0
- data/node_modules/eslint-plugin-sonarjs/LICENSE +165 -0
- data/node_modules/eslint-plugin-sonarjs/README.md +150 -0
- data/node_modules/eslint-plugin-sonarjs/lib/package.json +106 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/index.d.ts +101 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/index.js +117 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/cognitive-complexity.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/cognitive-complexity.js +273 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/elseif-without-else.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/elseif-without-else.js +63 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/max-switch-cases.d.ts +4 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/max-switch-cases.js +73 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-all-duplicated-branches.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-all-duplicated-branches.js +79 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-collapsible-if.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-collapsible-if.js +74 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-collection-size-mischeck.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-collection-size-mischeck.js +98 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-duplicate-string.d.ts +10 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-duplicate-string.js +135 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-duplicated-branches.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-duplicated-branches.js +147 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-element-overwrite.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-element-overwrite.js +177 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-empty-collection.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-empty-collection.js +202 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-extra-arguments.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-extra-arguments.js +181 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-gratuitous-expressions.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-gratuitous-expressions.js +227 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-identical-conditions.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-identical-conditions.js +131 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-identical-expressions.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-identical-expressions.js +108 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-identical-functions.d.ts +4 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-identical-functions.js +114 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-ignored-return.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-ignored-return.js +269 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-inverted-boolean-check.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-inverted-boolean-check.js +82 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-nested-switch.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-nested-switch.js +52 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-nested-template-literals.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-nested-template-literals.js +58 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-one-iteration-loop.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-one-iteration-loop.js +113 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-redundant-boolean.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-redundant-boolean.js +77 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-redundant-jump.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-redundant-jump.js +90 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-same-line-conditional.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-same-line-conditional.js +100 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-small-switch.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-small-switch.js +59 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-unused-collection.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-unused-collection.js +183 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-use-of-empty-return-value.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-use-of-empty-return-value.js +139 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-useless-catch.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/no-useless-catch.js +66 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/non-existent-operator.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/non-existent-operator.js +102 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/prefer-immediate-return.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/prefer-immediate-return.js +119 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/prefer-object-literal.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/prefer-object-literal.js +95 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/prefer-single-boolean-return.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/prefer-single-boolean-return.js +107 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/prefer-while.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/rules/prefer-while.js +71 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/collections.d.ts +2 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/collections.js +40 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/conditions.d.ts +13 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/conditions.js +47 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/docs-url.d.ts +1 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/docs-url.js +50 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/equivalence.d.ts +7 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/equivalence.js +24 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/index.d.ts +4 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/index.js +39 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/jsx.d.ts +2 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/jsx.js +48 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/locations.d.ts +39 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/locations.js +134 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/nodes.d.ts +22 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/nodes.js +93 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/parser-services.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/parser-services.js +7 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/utils-ast.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/utils-ast.js +30 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/utils-collection.d.ts +1 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/utils-collection.js +23 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/utils-parent.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/utils-parent.js +20 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/utils-type.d.ts +3 -0
- data/node_modules/eslint-plugin-sonarjs/lib/src/utils/utils-type.js +27 -0
- data/node_modules/eslint-plugin-sonarjs/package.json +106 -0
- data/node_modules/esprima/ChangeLog +235 -0
- data/node_modules/esprima/LICENSE.BSD +21 -0
- data/node_modules/esprima/README.md +46 -0
- data/node_modules/esprima/bin/esparse.js +139 -0
- data/node_modules/esprima/bin/esvalidate.js +236 -0
- data/node_modules/esprima/dist/esprima.js +6709 -0
- data/node_modules/esprima/package.json +112 -0
- data/node_modules/find-cache-dir/index.js +32 -0
- data/node_modules/find-cache-dir/license +9 -0
- data/node_modules/find-cache-dir/package.json +42 -0
- data/node_modules/find-cache-dir/readme.md +116 -0
- data/node_modules/flow-parser/README.md +44 -0
- data/node_modules/flow-parser/flow_parser.js +11286 -0
- data/node_modules/flow-parser/package.json +33 -0
- data/node_modules/{write-file-atomic → foreground-child}/node_modules/signal-exit/LICENSE.txt +1 -1
- data/node_modules/foreground-child/node_modules/signal-exit/README.md +74 -0
- data/node_modules/foreground-child/node_modules/signal-exit/package.json +106 -0
- data/node_modules/gensync/LICENSE +7 -0
- data/node_modules/gensync/README.md +196 -0
- data/node_modules/gensync/index.js +373 -0
- data/node_modules/gensync/index.js.flow +32 -0
- data/node_modules/gensync/package.json +37 -0
- data/node_modules/gensync/test/index.test.js +489 -0
- data/node_modules/is-plain-object/LICENSE +21 -0
- data/node_modules/is-plain-object/README.md +104 -0
- data/node_modules/is-plain-object/index.d.ts +5 -0
- data/node_modules/is-plain-object/index.js +37 -0
- data/node_modules/is-plain-object/package.json +79 -0
- data/node_modules/isobject/LICENSE +21 -0
- data/node_modules/isobject/README.md +122 -0
- data/node_modules/isobject/index.d.ts +5 -0
- data/node_modules/isobject/index.js +12 -0
- data/node_modules/isobject/package.json +74 -0
- data/node_modules/js-tokens/CHANGELOG.md +151 -0
- data/node_modules/js-tokens/LICENSE +21 -0
- data/node_modules/js-tokens/README.md +240 -0
- data/node_modules/js-tokens/index.js +23 -0
- data/node_modules/js-tokens/package.json +30 -0
- data/node_modules/jscodeshift/CHANGELOG.md +146 -0
- data/node_modules/jscodeshift/CODE_OF_CONDUCT.md +3 -0
- data/node_modules/jscodeshift/CONTRIBUTING.md +47 -0
- data/node_modules/jscodeshift/LICENSE +21 -0
- data/node_modules/jscodeshift/README.md +631 -0
- data/node_modules/jscodeshift/bin/jscodeshift.js +182 -0
- data/node_modules/jscodeshift/bin/jscodeshift.sh +12 -0
- data/node_modules/jscodeshift/dist/Collection.js +472 -0
- data/node_modules/jscodeshift/dist/Runner.js +318 -0
- data/node_modules/jscodeshift/dist/Worker.js +210 -0
- data/node_modules/jscodeshift/dist/argsParser.js +273 -0
- data/node_modules/jscodeshift/dist/collections/JSXElement.js +221 -0
- data/node_modules/jscodeshift/dist/collections/Node.js +187 -0
- data/node_modules/jscodeshift/dist/collections/VariableDeclarator.js +201 -0
- data/node_modules/jscodeshift/dist/collections/index.js +13 -0
- data/node_modules/jscodeshift/dist/core.js +183 -0
- data/node_modules/jscodeshift/dist/getParser.js +25 -0
- data/node_modules/jscodeshift/dist/ignoreFiles.js +68 -0
- data/node_modules/jscodeshift/dist/matchNode.js +40 -0
- data/node_modules/jscodeshift/dist/src/Collection.js +472 -0
- data/node_modules/jscodeshift/dist/src/Runner.js +318 -0
- data/node_modules/jscodeshift/dist/src/Worker.js +210 -0
- data/node_modules/jscodeshift/dist/src/argsParser.js +273 -0
- data/node_modules/jscodeshift/dist/src/collections/JSXElement.js +221 -0
- data/node_modules/jscodeshift/dist/src/collections/Node.js +187 -0
- data/node_modules/jscodeshift/dist/src/collections/VariableDeclarator.js +201 -0
- data/node_modules/jscodeshift/dist/src/collections/index.js +13 -0
- data/node_modules/jscodeshift/dist/src/core.js +183 -0
- data/node_modules/jscodeshift/dist/src/getParser.js +25 -0
- data/node_modules/jscodeshift/dist/src/ignoreFiles.js +68 -0
- data/node_modules/jscodeshift/dist/src/matchNode.js +40 -0
- data/node_modules/jscodeshift/dist/src/template.js +173 -0
- data/node_modules/jscodeshift/dist/src/testUtils.js +149 -0
- data/node_modules/jscodeshift/dist/src/utils/intersection.js +27 -0
- data/node_modules/jscodeshift/dist/src/utils/once.js +21 -0
- data/node_modules/jscodeshift/dist/src/utils/union.js +20 -0
- data/node_modules/jscodeshift/dist/template.js +173 -0
- data/node_modules/jscodeshift/dist/testUtils.js +149 -0
- data/node_modules/jscodeshift/dist/utils/intersection.js +27 -0
- data/node_modules/jscodeshift/dist/utils/once.js +21 -0
- data/node_modules/jscodeshift/dist/utils/union.js +20 -0
- data/node_modules/jscodeshift/index.js +9 -0
- data/node_modules/jscodeshift/node_modules/chalk/index.d.ts +415 -0
- data/node_modules/jscodeshift/node_modules/chalk/license +9 -0
- data/node_modules/jscodeshift/node_modules/chalk/package.json +68 -0
- data/node_modules/jscodeshift/node_modules/chalk/readme.md +341 -0
- data/node_modules/jscodeshift/node_modules/chalk/source/index.js +229 -0
- data/node_modules/jscodeshift/node_modules/chalk/source/templates.js +134 -0
- data/node_modules/jscodeshift/node_modules/chalk/source/util.js +39 -0
- data/node_modules/jscodeshift/package.json +71 -0
- data/node_modules/jscodeshift/parser/babel5Compat.js +50 -0
- data/node_modules/jscodeshift/parser/babylon.js +57 -0
- data/node_modules/jscodeshift/parser/flow.js +34 -0
- data/node_modules/jscodeshift/parser/ts.js +24 -0
- data/node_modules/jscodeshift/parser/tsOptions.js +44 -0
- data/node_modules/jscodeshift/parser/tsx.js +27 -0
- data/node_modules/jscodeshift/src/Collection.js +472 -0
- data/node_modules/jscodeshift/src/Runner.js +318 -0
- data/node_modules/jscodeshift/src/Worker.js +210 -0
- data/node_modules/jscodeshift/src/argsParser.js +273 -0
- data/node_modules/jscodeshift/src/collections/JSXElement.js +221 -0
- data/node_modules/jscodeshift/src/collections/Node.js +187 -0
- data/node_modules/jscodeshift/src/collections/VariableDeclarator.js +201 -0
- data/node_modules/jscodeshift/src/collections/index.js +13 -0
- data/node_modules/jscodeshift/src/core.js +183 -0
- data/node_modules/jscodeshift/src/getParser.js +25 -0
- data/node_modules/jscodeshift/src/ignoreFiles.js +68 -0
- data/node_modules/jscodeshift/src/matchNode.js +40 -0
- data/node_modules/jscodeshift/src/template.js +173 -0
- data/node_modules/jscodeshift/src/testUtils.js +149 -0
- data/node_modules/jscodeshift/src/utils/intersection.js +27 -0
- data/node_modules/jscodeshift/src/utils/once.js +21 -0
- data/node_modules/jscodeshift/src/utils/union.js +20 -0
- data/node_modules/jscodeshift/utils/requirePackage.js +24 -0
- data/node_modules/jscodeshift/utils/testUtils.js +50 -0
- data/node_modules/jsesc/LICENSE-MIT.txt +20 -0
- data/node_modules/jsesc/README.md +421 -0
- data/node_modules/jsesc/bin/jsesc +148 -0
- data/node_modules/jsesc/jsesc.js +329 -0
- data/node_modules/jsesc/man/jsesc.1 +94 -0
- data/node_modules/jsesc/package.json +54 -0
- data/node_modules/kind-of/CHANGELOG.md +160 -0
- data/node_modules/kind-of/LICENSE +21 -0
- data/node_modules/kind-of/README.md +367 -0
- data/node_modules/kind-of/index.js +129 -0
- data/node_modules/kind-of/package.json +88 -0
- data/node_modules/make-dir/index.d.ts +39 -0
- data/node_modules/make-dir/index.js +139 -0
- data/node_modules/make-dir/license +9 -0
- data/node_modules/make-dir/node_modules/semver/LICENSE +15 -0
- data/node_modules/make-dir/node_modules/semver/README.md +412 -0
- data/node_modules/make-dir/node_modules/semver/bin/semver +160 -0
- data/node_modules/make-dir/node_modules/semver/package.json +38 -0
- data/node_modules/make-dir/node_modules/semver/range.bnf +16 -0
- data/node_modules/make-dir/node_modules/semver/semver.js +1525 -0
- data/node_modules/make-dir/package.json +59 -0
- data/node_modules/make-dir/readme.md +123 -0
- data/node_modules/neo-async/LICENSE +22 -0
- data/node_modules/neo-async/README.md +273 -0
- data/node_modules/neo-async/all.js +3 -0
- data/node_modules/neo-async/allLimit.js +3 -0
- data/node_modules/neo-async/allSeries.js +3 -0
- data/node_modules/neo-async/angelFall.js +3 -0
- data/node_modules/neo-async/any.js +3 -0
- data/node_modules/neo-async/anyLimit.js +3 -0
- data/node_modules/neo-async/anySeries.js +3 -0
- data/node_modules/neo-async/apply.js +3 -0
- data/node_modules/neo-async/applyEach.js +3 -0
- data/node_modules/neo-async/applyEachSeries.js +3 -0
- data/node_modules/neo-async/async.js +9184 -0
- data/node_modules/neo-async/async.min.js +80 -0
- data/node_modules/neo-async/asyncify.js +3 -0
- data/node_modules/neo-async/auto.js +3 -0
- data/node_modules/neo-async/autoInject.js +3 -0
- data/node_modules/neo-async/cargo.js +3 -0
- data/node_modules/neo-async/compose.js +3 -0
- data/node_modules/neo-async/concat.js +3 -0
- data/node_modules/neo-async/concatLimit.js +3 -0
- data/node_modules/neo-async/concatSeries.js +3 -0
- data/node_modules/neo-async/constant.js +3 -0
- data/node_modules/neo-async/createLogger.js +3 -0
- data/node_modules/neo-async/detect.js +3 -0
- data/node_modules/neo-async/detectLimit.js +3 -0
- data/node_modules/neo-async/detectSeries.js +3 -0
- data/node_modules/neo-async/dir.js +3 -0
- data/node_modules/neo-async/doDuring.js +3 -0
- data/node_modules/neo-async/doUntil.js +3 -0
- data/node_modules/neo-async/doWhilst.js +3 -0
- data/node_modules/neo-async/during.js +3 -0
- data/node_modules/neo-async/each.js +3 -0
- data/node_modules/neo-async/eachLimit.js +3 -0
- data/node_modules/neo-async/eachOf.js +3 -0
- data/node_modules/neo-async/eachOfLimit.js +3 -0
- data/node_modules/neo-async/eachOfSeries.js +3 -0
- data/node_modules/neo-async/eachSeries.js +3 -0
- data/node_modules/neo-async/ensureAsync.js +3 -0
- data/node_modules/neo-async/every.js +3 -0
- data/node_modules/neo-async/everyLimit.js +3 -0
- data/node_modules/neo-async/everySeries.js +3 -0
- data/node_modules/neo-async/fast.js +3 -0
- data/node_modules/neo-async/filter.js +3 -0
- data/node_modules/neo-async/filterLimit.js +3 -0
- data/node_modules/neo-async/filterSeries.js +3 -0
- data/node_modules/neo-async/find.js +3 -0
- data/node_modules/neo-async/findLimit.js +3 -0
- data/node_modules/neo-async/findSeries.js +3 -0
- data/node_modules/neo-async/foldl.js +3 -0
- data/node_modules/neo-async/foldr.js +3 -0
- data/node_modules/neo-async/forEach.js +3 -0
- data/node_modules/neo-async/forEachLimit.js +3 -0
- data/node_modules/neo-async/forEachOf.js +3 -0
- data/node_modules/neo-async/forEachOfLimit.js +3 -0
- data/node_modules/neo-async/forEachOfSeries.js +3 -0
- data/node_modules/neo-async/forEachSeries.js +3 -0
- data/node_modules/neo-async/forever.js +3 -0
- data/node_modules/neo-async/groupBy.js +3 -0
- data/node_modules/neo-async/groupByLimit.js +3 -0
- data/node_modules/neo-async/groupBySeries.js +3 -0
- data/node_modules/neo-async/inject.js +3 -0
- data/node_modules/neo-async/iterator.js +3 -0
- data/node_modules/neo-async/log.js +3 -0
- data/node_modules/neo-async/map.js +3 -0
- data/node_modules/neo-async/mapLimit.js +3 -0
- data/node_modules/neo-async/mapSeries.js +3 -0
- data/node_modules/neo-async/mapValues.js +3 -0
- data/node_modules/neo-async/mapValuesLimit.js +3 -0
- data/node_modules/neo-async/mapValuesSeries.js +3 -0
- data/node_modules/neo-async/memoize.js +3 -0
- data/node_modules/neo-async/nextTick.js +3 -0
- data/node_modules/neo-async/omit.js +3 -0
- data/node_modules/neo-async/omitLimit.js +3 -0
- data/node_modules/neo-async/omitSeries.js +3 -0
- data/node_modules/neo-async/package.json +57 -0
- data/node_modules/neo-async/parallel.js +3 -0
- data/node_modules/neo-async/parallelLimit.js +3 -0
- data/node_modules/neo-async/pick.js +3 -0
- data/node_modules/neo-async/pickLimit.js +3 -0
- data/node_modules/neo-async/pickSeries.js +3 -0
- data/node_modules/neo-async/priorityQueue.js +3 -0
- data/node_modules/neo-async/queue.js +3 -0
- data/node_modules/neo-async/race.js +3 -0
- data/node_modules/neo-async/reduce.js +3 -0
- data/node_modules/neo-async/reduceRight.js +3 -0
- data/node_modules/neo-async/reflect.js +3 -0
- data/node_modules/neo-async/reflectAll.js +3 -0
- data/node_modules/neo-async/reject.js +3 -0
- data/node_modules/neo-async/rejectLimit.js +3 -0
- data/node_modules/neo-async/rejectSeries.js +3 -0
- data/node_modules/neo-async/retry.js +3 -0
- data/node_modules/neo-async/retryable.js +3 -0
- data/node_modules/neo-async/safe.js +3 -0
- data/node_modules/neo-async/select.js +3 -0
- data/node_modules/neo-async/selectLimit.js +3 -0
- data/node_modules/neo-async/selectSeries.js +3 -0
- data/node_modules/neo-async/seq.js +3 -0
- data/node_modules/neo-async/series.js +3 -0
- data/node_modules/neo-async/setImmediate.js +3 -0
- data/node_modules/neo-async/some.js +3 -0
- data/node_modules/neo-async/someLimit.js +3 -0
- data/node_modules/neo-async/someSeries.js +3 -0
- data/node_modules/neo-async/sortBy.js +3 -0
- data/node_modules/neo-async/sortByLimit.js +3 -0
- data/node_modules/neo-async/sortBySeries.js +3 -0
- data/node_modules/neo-async/timeout.js +3 -0
- data/node_modules/neo-async/times.js +3 -0
- data/node_modules/neo-async/timesLimit.js +3 -0
- data/node_modules/neo-async/timesSeries.js +3 -0
- data/node_modules/neo-async/transform.js +3 -0
- data/node_modules/neo-async/transformLimit.js +3 -0
- data/node_modules/neo-async/transformSeries.js +3 -0
- data/node_modules/neo-async/tryEach.js +3 -0
- data/node_modules/neo-async/unmemoize.js +3 -0
- data/node_modules/neo-async/until.js +3 -0
- data/node_modules/neo-async/waterfall.js +3 -0
- data/node_modules/neo-async/whilst.js +3 -0
- data/node_modules/neo-async/wrapSync.js +3 -0
- data/node_modules/node-dir/LICENSE.txt +22 -0
- data/node_modules/node-dir/README.md +225 -0
- data/node_modules/node-dir/index.js +5 -0
- data/node_modules/node-dir/lib/paths.js +240 -0
- data/node_modules/node-dir/lib/readfiles.js +122 -0
- data/node_modules/node-dir/lib/readfilesstream.js +131 -0
- data/node_modules/node-dir/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/node-dir/node_modules/minimatch/README.md +230 -0
- data/node_modules/node-dir/node_modules/minimatch/minimatch.js +947 -0
- data/node_modules/node-dir/node_modules/minimatch/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/node-dir/node_modules/minimatch/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/node-dir/node_modules/minimatch/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/node-dir/node_modules/minimatch/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/node-dir/node_modules/minimatch/package.json +33 -0
- data/node_modules/node-dir/package.json +40 -0
- data/node_modules/node-releases/LICENSE +21 -0
- data/node_modules/node-releases/README.md +12 -0
- data/node_modules/node-releases/data/processed/envs.json +1 -0
- data/node_modules/node-releases/data/release-schedule/release-schedule.json +1 -0
- data/node_modules/node-releases/package.json +19 -0
- data/node_modules/p-try/index.d.ts +39 -0
- data/node_modules/p-try/index.js +9 -0
- data/node_modules/p-try/license +9 -0
- data/node_modules/p-try/package.json +42 -0
- data/node_modules/p-try/readme.md +58 -0
- data/node_modules/picocolors/LICENSE +15 -0
- data/node_modules/picocolors/README.md +21 -0
- data/node_modules/picocolors/package.json +25 -0
- data/node_modules/picocolors/picocolors.browser.js +4 -0
- data/node_modules/picocolors/picocolors.d.ts +5 -0
- data/node_modules/picocolors/picocolors.js +65 -0
- data/node_modules/picocolors/types.ts +30 -0
- data/node_modules/pify/index.js +68 -0
- data/node_modules/pify/license +9 -0
- data/node_modules/pify/package.json +51 -0
- data/node_modules/pify/readme.md +145 -0
- data/node_modules/pirates/LICENSE +21 -0
- data/node_modules/pirates/README.md +69 -0
- data/node_modules/pirates/index.d.ts +82 -0
- data/node_modules/pirates/lib/index.js +139 -0
- data/node_modules/pirates/package.json +74 -0
- data/node_modules/pkg-dir/index.js +10 -0
- data/node_modules/pkg-dir/license +9 -0
- data/node_modules/pkg-dir/node_modules/find-up/index.js +46 -0
- data/node_modules/pkg-dir/node_modules/find-up/license +9 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/index.js +24 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/license +9 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/index.js +34 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/license +9 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/index.d.ts +38 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/index.js +57 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/license +9 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/package.json +52 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/node_modules/p-limit/readme.md +101 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/package.json +51 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/p-locate/readme.md +88 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/path-exists/index.js +17 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/path-exists/license +21 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/path-exists/package.json +40 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/node_modules/path-exists/readme.md +50 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/package.json +44 -0
- data/node_modules/pkg-dir/node_modules/find-up/node_modules/locate-path/readme.md +99 -0
- data/node_modules/pkg-dir/node_modules/find-up/package.json +50 -0
- data/node_modules/pkg-dir/node_modules/find-up/readme.md +87 -0
- data/node_modules/pkg-dir/package.json +53 -0
- data/node_modules/pkg-dir/readme.md +66 -0
- data/node_modules/recast/LICENSE +20 -0
- data/node_modules/recast/README.md +221 -0
- data/node_modules/recast/example/add-braces +44 -0
- data/node_modules/recast/example/generic-identity +17 -0
- data/node_modules/recast/example/identity +8 -0
- data/node_modules/recast/example/to-while +84 -0
- data/node_modules/recast/lib/comments.d.ts +2 -0
- data/node_modules/recast/lib/comments.js +313 -0
- data/node_modules/recast/lib/fast-path.d.ts +25 -0
- data/node_modules/recast/lib/fast-path.js +541 -0
- data/node_modules/recast/lib/lines.d.ts +62 -0
- data/node_modules/recast/lib/lines.js +654 -0
- data/node_modules/recast/lib/mapping.d.ts +15 -0
- data/node_modules/recast/lib/mapping.js +197 -0
- data/node_modules/recast/lib/options.d.ts +147 -0
- data/node_modules/recast/lib/options.js +55 -0
- data/node_modules/recast/lib/parser.d.ts +2 -0
- data/node_modules/recast/lib/parser.js +250 -0
- data/node_modules/recast/lib/patcher.d.ts +12 -0
- data/node_modules/recast/lib/patcher.js +386 -0
- data/node_modules/recast/lib/printer.d.ts +14 -0
- data/node_modules/recast/lib/printer.js +2388 -0
- data/node_modules/recast/lib/util.d.ts +18 -0
- data/node_modules/recast/lib/util.js +331 -0
- data/node_modules/recast/main.d.ts +50 -0
- data/node_modules/recast/main.js +65 -0
- data/node_modules/recast/package.json +74 -0
- data/node_modules/recast/parsers/_babel_options.d.ts +8 -0
- data/node_modules/recast/parsers/_babel_options.js +57 -0
- data/node_modules/recast/parsers/acorn.d.ts +1 -0
- data/node_modules/recast/parsers/acorn.js +33 -0
- data/node_modules/recast/parsers/babel-ts.d.ts +4 -0
- data/node_modules/recast/parsers/babel-ts.js +13 -0
- data/node_modules/recast/parsers/babel.d.ts +8 -0
- data/node_modules/recast/parsers/babel.js +33 -0
- data/node_modules/recast/parsers/babylon.d.ts +1 -0
- data/node_modules/recast/parsers/babylon.js +4 -0
- data/node_modules/recast/parsers/esprima.d.ts +1 -0
- data/node_modules/recast/parsers/esprima.js +30 -0
- data/node_modules/recast/parsers/flow.d.ts +2 -0
- data/node_modules/recast/parsers/flow.js +19 -0
- data/node_modules/recast/parsers/typescript.d.ts +2 -0
- data/node_modules/recast/parsers/typescript.js +19 -0
- data/node_modules/recast/tsconfig.json +18 -0
- data/node_modules/shallow-clone/LICENSE +21 -0
- data/node_modules/shallow-clone/README.md +153 -0
- data/node_modules/shallow-clone/index.js +83 -0
- data/node_modules/shallow-clone/package.json +64 -0
- data/node_modules/signal-exit/LICENSE.txt +1 -1
- data/node_modules/signal-exit/README.md +21 -56
- data/node_modules/signal-exit/package.json +19 -87
- data/node_modules/temp/LICENSE +20 -0
- data/node_modules/temp/README.md +295 -0
- data/node_modules/temp/lib/temp.js +314 -0
- data/node_modules/temp/node_modules/rimraf/LICENSE +15 -0
- data/node_modules/temp/node_modules/rimraf/README.md +101 -0
- data/node_modules/temp/node_modules/rimraf/bin.js +50 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/LICENSE +21 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/README.md +378 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/common.js +238 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/glob.js +790 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/LICENSE +15 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +230 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +947 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/LICENSE +21 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +129 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +201 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +47 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +33 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/package.json +55 -0
- data/node_modules/temp/node_modules/rimraf/node_modules/glob/sync.js +486 -0
- data/node_modules/temp/node_modules/rimraf/package.json +29 -0
- data/node_modules/temp/node_modules/rimraf/rimraf.js +364 -0
- data/node_modules/temp/package.json +48 -0
- data/node_modules/tiny-invariant/LICENSE +21 -0
- data/node_modules/tiny-invariant/README.md +109 -0
- data/node_modules/tiny-invariant/dist/esm/package.json +1 -0
- data/node_modules/tiny-invariant/dist/esm/tiny-invariant.d.ts +21 -0
- data/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +15 -0
- data/node_modules/tiny-invariant/dist/tiny-invariant.cjs.js +17 -0
- data/node_modules/tiny-invariant/dist/tiny-invariant.d.ts +21 -0
- data/node_modules/tiny-invariant/dist/tiny-invariant.esm.js +15 -0
- data/node_modules/tiny-invariant/dist/tiny-invariant.js +23 -0
- data/node_modules/tiny-invariant/dist/tiny-invariant.min.js +1 -0
- data/node_modules/tiny-invariant/package.json +89 -0
- data/node_modules/tiny-invariant/src/tiny-invariant.flow.js +12 -0
- data/node_modules/tiny-invariant/src/tiny-invariant.ts +48 -0
- data/node_modules/to-fast-properties/index.js +27 -0
- data/node_modules/to-fast-properties/license +10 -0
- data/node_modules/to-fast-properties/package.json +35 -0
- data/node_modules/to-fast-properties/readme.md +37 -0
- data/node_modules/tslib/CopyrightNotice.txt +15 -0
- data/node_modules/tslib/LICENSE.txt +12 -0
- data/node_modules/tslib/README.md +164 -0
- data/node_modules/tslib/SECURITY.md +41 -0
- data/node_modules/tslib/modules/index.d.ts +37 -0
- data/node_modules/tslib/modules/index.js +68 -0
- data/node_modules/tslib/modules/package.json +3 -0
- data/node_modules/tslib/package.json +47 -0
- data/node_modules/tslib/tslib.d.ts +453 -0
- data/node_modules/tslib/tslib.es6.html +1 -0
- data/node_modules/tslib/tslib.es6.js +370 -0
- data/node_modules/tslib/tslib.es6.mjs +370 -0
- data/node_modules/tslib/tslib.html +1 -0
- data/node_modules/tslib/tslib.js +421 -0
- data/node_modules/update-browserslist-db/LICENSE +20 -0
- data/node_modules/update-browserslist-db/README.md +22 -0
- data/node_modules/update-browserslist-db/check-npm-version.js +17 -0
- data/node_modules/update-browserslist-db/cli.js +42 -0
- data/node_modules/update-browserslist-db/index.d.ts +6 -0
- data/node_modules/update-browserslist-db/index.js +333 -0
- data/node_modules/update-browserslist-db/package.json +40 -0
- data/node_modules/update-browserslist-db/utils.js +25 -0
- data/node_modules/write-file-atomic/CHANGELOG.md +0 -7
- data/node_modules/write-file-atomic/README.md +3 -19
- data/node_modules/write-file-atomic/index.js +136 -157
- data/node_modules/write-file-atomic/package.json +13 -20
- data/package.json +8 -3
- metadata +2513 -39
- data/node_modules/@eslint/eslintrc/node_modules/globals/index.d.ts +0 -2077
- data/node_modules/@eslint/eslintrc/node_modules/globals/package.json +0 -58
- data/node_modules/@eslint/eslintrc/node_modules/globals/readme.md +0 -44
- data/node_modules/write-file-atomic/node_modules/signal-exit/README.md +0 -39
- data/node_modules/write-file-atomic/node_modules/signal-exit/package.json +0 -38
- /data/node_modules/{@eslint/eslintrc → @babel/traverse}/node_modules/globals/index.js +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/browser.d.ts +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/browser.d.ts.map +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/browser.js +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/browser.js.map +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/index.d.ts +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/index.d.ts.map +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/index.js +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/index.js.map +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/package.json +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/signals.d.ts +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/signals.d.ts.map +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/signals.js +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/cjs/signals.js.map +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/browser.d.ts +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/browser.d.ts.map +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/browser.js +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/browser.js.map +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/index.d.ts +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/index.d.ts.map +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/index.js +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/index.js.map +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/package.json +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/signals.d.ts +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/signals.d.ts.map +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/signals.js +0 -0
- /data/node_modules/{signal-exit → foreground-child/node_modules/signal-exit}/dist/mjs/signals.js.map +0 -0
- /data/node_modules/{write-file-atomic/node_modules/signal-exit → signal-exit}/index.js +0 -0
- /data/node_modules/{write-file-atomic/node_modules/signal-exit → signal-exit}/signals.js +0 -0
@@ -0,0 +1,2388 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Printer = void 0;
|
4
|
+
var tslib_1 = require("tslib");
|
5
|
+
var tiny_invariant_1 = tslib_1.__importDefault(require("tiny-invariant"));
|
6
|
+
var types = tslib_1.__importStar(require("ast-types"));
|
7
|
+
var comments_1 = require("./comments");
|
8
|
+
var fast_path_1 = tslib_1.__importDefault(require("./fast-path"));
|
9
|
+
var lines_1 = require("./lines");
|
10
|
+
var options_1 = require("./options");
|
11
|
+
var patcher_1 = require("./patcher");
|
12
|
+
var util = tslib_1.__importStar(require("./util"));
|
13
|
+
var namedTypes = types.namedTypes;
|
14
|
+
var isString = types.builtInTypes.string;
|
15
|
+
var isObject = types.builtInTypes.object;
|
16
|
+
var PrintResult = function PrintResult(code, sourceMap) {
|
17
|
+
(0, tiny_invariant_1.default)(this instanceof PrintResult);
|
18
|
+
isString.assert(code);
|
19
|
+
this.code = code;
|
20
|
+
if (sourceMap) {
|
21
|
+
isObject.assert(sourceMap);
|
22
|
+
this.map = sourceMap;
|
23
|
+
}
|
24
|
+
};
|
25
|
+
var PRp = PrintResult.prototype;
|
26
|
+
var warnedAboutToString = false;
|
27
|
+
PRp.toString = function () {
|
28
|
+
if (!warnedAboutToString) {
|
29
|
+
console.warn("Deprecation warning: recast.print now returns an object with " +
|
30
|
+
"a .code property. You appear to be treating the object as a " +
|
31
|
+
"string, which might still work but is strongly discouraged.");
|
32
|
+
warnedAboutToString = true;
|
33
|
+
}
|
34
|
+
return this.code;
|
35
|
+
};
|
36
|
+
var emptyPrintResult = new PrintResult("");
|
37
|
+
var Printer = function Printer(config) {
|
38
|
+
(0, tiny_invariant_1.default)(this instanceof Printer);
|
39
|
+
var explicitTabWidth = config && config.tabWidth;
|
40
|
+
config = (0, options_1.normalize)(config);
|
41
|
+
// It's common for client code to pass the same options into both
|
42
|
+
// recast.parse and recast.print, but the Printer doesn't need (and
|
43
|
+
// can be confused by) config.sourceFileName, so we null it out.
|
44
|
+
config.sourceFileName = null;
|
45
|
+
// Non-destructively modifies options with overrides, and returns a
|
46
|
+
// new print function that uses the modified options.
|
47
|
+
function makePrintFunctionWith(options, overrides) {
|
48
|
+
options = Object.assign({}, options, overrides);
|
49
|
+
return function (path) { return print(path, options); };
|
50
|
+
}
|
51
|
+
function print(path, options) {
|
52
|
+
(0, tiny_invariant_1.default)(path instanceof fast_path_1.default);
|
53
|
+
options = options || {};
|
54
|
+
if (options.includeComments) {
|
55
|
+
return (0, comments_1.printComments)(path, makePrintFunctionWith(options, {
|
56
|
+
includeComments: false,
|
57
|
+
}));
|
58
|
+
}
|
59
|
+
var oldTabWidth = config.tabWidth;
|
60
|
+
if (!explicitTabWidth) {
|
61
|
+
var loc = path.getNode().loc;
|
62
|
+
if (loc && loc.lines && loc.lines.guessTabWidth) {
|
63
|
+
config.tabWidth = loc.lines.guessTabWidth();
|
64
|
+
}
|
65
|
+
}
|
66
|
+
var reprinter = (0, patcher_1.getReprinter)(path);
|
67
|
+
var lines = reprinter
|
68
|
+
? // Since the print function that we pass to the reprinter will
|
69
|
+
// be used to print "new" nodes, it's tempting to think we
|
70
|
+
// should pass printRootGenerically instead of print, to avoid
|
71
|
+
// calling maybeReprint again, but that would be a mistake
|
72
|
+
// because the new nodes might not be entirely new, but merely
|
73
|
+
// moved from elsewhere in the AST. The print function is the
|
74
|
+
// right choice because it gives us the opportunity to reprint
|
75
|
+
// such nodes using their original source.
|
76
|
+
reprinter(print)
|
77
|
+
: genericPrint(path, config, options, makePrintFunctionWith(options, {
|
78
|
+
includeComments: true,
|
79
|
+
avoidRootParens: false,
|
80
|
+
}));
|
81
|
+
config.tabWidth = oldTabWidth;
|
82
|
+
return lines;
|
83
|
+
}
|
84
|
+
this.print = function (ast) {
|
85
|
+
if (!ast) {
|
86
|
+
return emptyPrintResult;
|
87
|
+
}
|
88
|
+
var lines = print(fast_path_1.default.from(ast), {
|
89
|
+
includeComments: true,
|
90
|
+
avoidRootParens: false,
|
91
|
+
});
|
92
|
+
return new PrintResult(lines.toString(config), util.composeSourceMaps(config.inputSourceMap, lines.getSourceMap(config.sourceMapName, config.sourceRoot)));
|
93
|
+
};
|
94
|
+
this.printGenerically = function (ast) {
|
95
|
+
if (!ast) {
|
96
|
+
return emptyPrintResult;
|
97
|
+
}
|
98
|
+
// Print the entire AST generically.
|
99
|
+
function printGenerically(path) {
|
100
|
+
return (0, comments_1.printComments)(path, function (path) {
|
101
|
+
return genericPrint(path, config, {
|
102
|
+
includeComments: true,
|
103
|
+
avoidRootParens: false,
|
104
|
+
}, printGenerically);
|
105
|
+
});
|
106
|
+
}
|
107
|
+
var path = fast_path_1.default.from(ast);
|
108
|
+
var oldReuseWhitespace = config.reuseWhitespace;
|
109
|
+
// Do not reuse whitespace (or anything else, for that matter)
|
110
|
+
// when printing generically.
|
111
|
+
config.reuseWhitespace = false;
|
112
|
+
// TODO Allow printing of comments?
|
113
|
+
var pr = new PrintResult(printGenerically(path).toString(config));
|
114
|
+
config.reuseWhitespace = oldReuseWhitespace;
|
115
|
+
return pr;
|
116
|
+
};
|
117
|
+
};
|
118
|
+
exports.Printer = Printer;
|
119
|
+
function genericPrint(path, config, options, printPath) {
|
120
|
+
(0, tiny_invariant_1.default)(path instanceof fast_path_1.default);
|
121
|
+
var node = path.getValue();
|
122
|
+
var parts = [];
|
123
|
+
var linesWithoutParens = genericPrintNoParens(path, config, printPath);
|
124
|
+
if (!node || linesWithoutParens.isEmpty()) {
|
125
|
+
return linesWithoutParens;
|
126
|
+
}
|
127
|
+
var shouldAddParens = false;
|
128
|
+
var decoratorsLines = printDecorators(path, printPath);
|
129
|
+
if (decoratorsLines.isEmpty()) {
|
130
|
+
// Nodes with decorators can't have parentheses, so we can avoid
|
131
|
+
// computing path.needsParens() except in this case.
|
132
|
+
if (!options.avoidRootParens) {
|
133
|
+
shouldAddParens = path.needsParens();
|
134
|
+
}
|
135
|
+
}
|
136
|
+
else {
|
137
|
+
parts.push(decoratorsLines);
|
138
|
+
}
|
139
|
+
if (shouldAddParens) {
|
140
|
+
parts.unshift("(");
|
141
|
+
}
|
142
|
+
parts.push(linesWithoutParens);
|
143
|
+
if (shouldAddParens) {
|
144
|
+
parts.push(")");
|
145
|
+
}
|
146
|
+
return (0, lines_1.concat)(parts);
|
147
|
+
}
|
148
|
+
// Note that the `options` parameter of this function is what other
|
149
|
+
// functions in this file call the `config` object (that is, the
|
150
|
+
// configuration object originally passed into the Printer constructor).
|
151
|
+
// Its properties are documented in lib/options.js.
|
152
|
+
function genericPrintNoParens(path, options, print) {
|
153
|
+
var n = path.getValue();
|
154
|
+
if (!n) {
|
155
|
+
return (0, lines_1.fromString)("");
|
156
|
+
}
|
157
|
+
if (typeof n === "string") {
|
158
|
+
return (0, lines_1.fromString)(n, options);
|
159
|
+
}
|
160
|
+
namedTypes.Printable.assert(n);
|
161
|
+
var parts = [];
|
162
|
+
switch (n.type) {
|
163
|
+
case "File":
|
164
|
+
return path.call(print, "program");
|
165
|
+
case "Program":
|
166
|
+
// Babel 6
|
167
|
+
if (n.directives) {
|
168
|
+
path.each(function (childPath) {
|
169
|
+
parts.push(print(childPath), ";\n");
|
170
|
+
}, "directives");
|
171
|
+
}
|
172
|
+
if (n.interpreter) {
|
173
|
+
parts.push(path.call(print, "interpreter"));
|
174
|
+
}
|
175
|
+
parts.push(path.call(function (bodyPath) { return printStatementSequence(bodyPath, options, print); }, "body"));
|
176
|
+
return (0, lines_1.concat)(parts);
|
177
|
+
case "Noop": // Babel extension.
|
178
|
+
case "EmptyStatement":
|
179
|
+
return (0, lines_1.fromString)("");
|
180
|
+
case "ExpressionStatement":
|
181
|
+
return (0, lines_1.concat)([path.call(print, "expression"), ";"]);
|
182
|
+
case "ParenthesizedExpression": // Babel extension.
|
183
|
+
return (0, lines_1.concat)(["(", path.call(print, "expression"), ")"]);
|
184
|
+
case "BinaryExpression":
|
185
|
+
case "LogicalExpression":
|
186
|
+
case "AssignmentExpression":
|
187
|
+
return (0, lines_1.fromString)(" ").join([
|
188
|
+
path.call(print, "left"),
|
189
|
+
n.operator,
|
190
|
+
path.call(print, "right"),
|
191
|
+
]);
|
192
|
+
case "AssignmentPattern":
|
193
|
+
return (0, lines_1.concat)([
|
194
|
+
path.call(print, "left"),
|
195
|
+
" = ",
|
196
|
+
path.call(print, "right"),
|
197
|
+
]);
|
198
|
+
case "MemberExpression":
|
199
|
+
case "OptionalMemberExpression": {
|
200
|
+
parts.push(path.call(print, "object"));
|
201
|
+
var property = path.call(print, "property");
|
202
|
+
// Like n.optional, except with defaults applied, so optional
|
203
|
+
// defaults to true for OptionalMemberExpression nodes.
|
204
|
+
var optional = types.getFieldValue(n, "optional");
|
205
|
+
if (n.computed) {
|
206
|
+
parts.push(optional ? "?.[" : "[", property, "]");
|
207
|
+
}
|
208
|
+
else {
|
209
|
+
parts.push(optional ? "?." : ".", property);
|
210
|
+
}
|
211
|
+
return (0, lines_1.concat)(parts);
|
212
|
+
}
|
213
|
+
case "ChainExpression":
|
214
|
+
return path.call(print, "expression");
|
215
|
+
case "MetaProperty":
|
216
|
+
return (0, lines_1.concat)([
|
217
|
+
path.call(print, "meta"),
|
218
|
+
".",
|
219
|
+
path.call(print, "property"),
|
220
|
+
]);
|
221
|
+
case "BindExpression":
|
222
|
+
if (n.object) {
|
223
|
+
parts.push(path.call(print, "object"));
|
224
|
+
}
|
225
|
+
parts.push("::", path.call(print, "callee"));
|
226
|
+
return (0, lines_1.concat)(parts);
|
227
|
+
case "Path":
|
228
|
+
return (0, lines_1.fromString)(".").join(n.body);
|
229
|
+
case "Identifier":
|
230
|
+
return (0, lines_1.concat)([
|
231
|
+
(0, lines_1.fromString)(n.name, options),
|
232
|
+
n.optional ? "?" : "",
|
233
|
+
path.call(print, "typeAnnotation"),
|
234
|
+
]);
|
235
|
+
case "SpreadElement":
|
236
|
+
case "SpreadElementPattern":
|
237
|
+
case "RestProperty": // Babel 6 for ObjectPattern
|
238
|
+
case "SpreadProperty":
|
239
|
+
case "SpreadPropertyPattern":
|
240
|
+
case "ObjectTypeSpreadProperty":
|
241
|
+
case "RestElement":
|
242
|
+
return (0, lines_1.concat)([
|
243
|
+
"...",
|
244
|
+
path.call(print, "argument"),
|
245
|
+
path.call(print, "typeAnnotation"),
|
246
|
+
]);
|
247
|
+
case "FunctionDeclaration":
|
248
|
+
case "FunctionExpression":
|
249
|
+
case "TSDeclareFunction":
|
250
|
+
if (n.declare) {
|
251
|
+
parts.push("declare ");
|
252
|
+
}
|
253
|
+
if (n.async) {
|
254
|
+
parts.push("async ");
|
255
|
+
}
|
256
|
+
parts.push("function");
|
257
|
+
if (n.generator)
|
258
|
+
parts.push("*");
|
259
|
+
if (n.id) {
|
260
|
+
parts.push(" ", path.call(print, "id"), path.call(print, "typeParameters"));
|
261
|
+
}
|
262
|
+
else {
|
263
|
+
if (n.typeParameters) {
|
264
|
+
parts.push(path.call(print, "typeParameters"));
|
265
|
+
}
|
266
|
+
}
|
267
|
+
parts.push("(", printFunctionParams(path, options, print), ")", path.call(print, "returnType"));
|
268
|
+
if (n.body) {
|
269
|
+
parts.push(" ", path.call(print, "body"));
|
270
|
+
}
|
271
|
+
return (0, lines_1.concat)(parts);
|
272
|
+
case "ArrowFunctionExpression":
|
273
|
+
if (n.async) {
|
274
|
+
parts.push("async ");
|
275
|
+
}
|
276
|
+
if (n.typeParameters) {
|
277
|
+
parts.push(path.call(print, "typeParameters"));
|
278
|
+
}
|
279
|
+
if (!options.arrowParensAlways &&
|
280
|
+
n.params.length === 1 &&
|
281
|
+
!n.rest &&
|
282
|
+
n.params[0].type === "Identifier" &&
|
283
|
+
!n.params[0].typeAnnotation &&
|
284
|
+
!n.returnType) {
|
285
|
+
parts.push(path.call(print, "params", 0));
|
286
|
+
}
|
287
|
+
else {
|
288
|
+
parts.push("(", printFunctionParams(path, options, print), ")", path.call(print, "returnType"));
|
289
|
+
}
|
290
|
+
parts.push(" => ", path.call(print, "body"));
|
291
|
+
return (0, lines_1.concat)(parts);
|
292
|
+
case "MethodDefinition":
|
293
|
+
return printMethod(path, options, print);
|
294
|
+
case "YieldExpression":
|
295
|
+
parts.push("yield");
|
296
|
+
if (n.delegate)
|
297
|
+
parts.push("*");
|
298
|
+
if (n.argument)
|
299
|
+
parts.push(" ", path.call(print, "argument"));
|
300
|
+
return (0, lines_1.concat)(parts);
|
301
|
+
case "AwaitExpression":
|
302
|
+
parts.push("await");
|
303
|
+
if (n.all)
|
304
|
+
parts.push("*");
|
305
|
+
if (n.argument)
|
306
|
+
parts.push(" ", path.call(print, "argument"));
|
307
|
+
return (0, lines_1.concat)(parts);
|
308
|
+
case "ModuleExpression":
|
309
|
+
return (0, lines_1.concat)([
|
310
|
+
"module {\n",
|
311
|
+
path.call(print, "body").indent(options.tabWidth),
|
312
|
+
"\n}",
|
313
|
+
]);
|
314
|
+
case "ModuleDeclaration":
|
315
|
+
parts.push("module", path.call(print, "id"));
|
316
|
+
if (n.source) {
|
317
|
+
(0, tiny_invariant_1.default)(!n.body);
|
318
|
+
parts.push("from", path.call(print, "source"));
|
319
|
+
}
|
320
|
+
else {
|
321
|
+
parts.push(path.call(print, "body"));
|
322
|
+
}
|
323
|
+
return (0, lines_1.fromString)(" ").join(parts);
|
324
|
+
case "ImportSpecifier":
|
325
|
+
if (n.importKind && n.importKind !== "value") {
|
326
|
+
parts.push(n.importKind + " ");
|
327
|
+
}
|
328
|
+
if (n.imported) {
|
329
|
+
parts.push(path.call(print, "imported"));
|
330
|
+
if (n.local && n.local.name !== n.imported.name) {
|
331
|
+
parts.push(" as ", path.call(print, "local"));
|
332
|
+
}
|
333
|
+
}
|
334
|
+
else if (n.id) {
|
335
|
+
parts.push(path.call(print, "id"));
|
336
|
+
if (n.name) {
|
337
|
+
parts.push(" as ", path.call(print, "name"));
|
338
|
+
}
|
339
|
+
}
|
340
|
+
return (0, lines_1.concat)(parts);
|
341
|
+
case "ExportSpecifier":
|
342
|
+
if (n.exportKind && n.exportKind !== "value") {
|
343
|
+
parts.push(n.exportKind + " ");
|
344
|
+
}
|
345
|
+
if (n.local) {
|
346
|
+
parts.push(path.call(print, "local"));
|
347
|
+
if (n.exported && n.exported.name !== n.local.name) {
|
348
|
+
parts.push(" as ", path.call(print, "exported"));
|
349
|
+
}
|
350
|
+
}
|
351
|
+
else if (n.id) {
|
352
|
+
parts.push(path.call(print, "id"));
|
353
|
+
if (n.name) {
|
354
|
+
parts.push(" as ", path.call(print, "name"));
|
355
|
+
}
|
356
|
+
}
|
357
|
+
return (0, lines_1.concat)(parts);
|
358
|
+
case "ExportBatchSpecifier":
|
359
|
+
return (0, lines_1.fromString)("*");
|
360
|
+
case "ImportNamespaceSpecifier":
|
361
|
+
parts.push("* as ");
|
362
|
+
if (n.local) {
|
363
|
+
parts.push(path.call(print, "local"));
|
364
|
+
}
|
365
|
+
else if (n.id) {
|
366
|
+
parts.push(path.call(print, "id"));
|
367
|
+
}
|
368
|
+
return (0, lines_1.concat)(parts);
|
369
|
+
case "ImportDefaultSpecifier":
|
370
|
+
if (n.local) {
|
371
|
+
return path.call(print, "local");
|
372
|
+
}
|
373
|
+
return path.call(print, "id");
|
374
|
+
case "TSExportAssignment":
|
375
|
+
return (0, lines_1.concat)(["export = ", path.call(print, "expression")]);
|
376
|
+
case "ExportDeclaration":
|
377
|
+
case "ExportDefaultDeclaration":
|
378
|
+
case "ExportNamedDeclaration":
|
379
|
+
return printExportDeclaration(path, options, print);
|
380
|
+
case "ExportAllDeclaration":
|
381
|
+
parts.push("export *");
|
382
|
+
if (n.exported) {
|
383
|
+
parts.push(" as ", path.call(print, "exported"));
|
384
|
+
}
|
385
|
+
parts.push(" from ", path.call(print, "source"), ";");
|
386
|
+
return (0, lines_1.concat)(parts);
|
387
|
+
case "TSNamespaceExportDeclaration":
|
388
|
+
parts.push("export as namespace ", path.call(print, "id"));
|
389
|
+
return maybeAddSemicolon((0, lines_1.concat)(parts));
|
390
|
+
case "ExportNamespaceSpecifier":
|
391
|
+
return (0, lines_1.concat)(["* as ", path.call(print, "exported")]);
|
392
|
+
case "ExportDefaultSpecifier":
|
393
|
+
return path.call(print, "exported");
|
394
|
+
case "Import":
|
395
|
+
return (0, lines_1.fromString)("import", options);
|
396
|
+
// Recast and ast-types currently support dynamic import(...) using
|
397
|
+
// either this dedicated ImportExpression type or a CallExpression
|
398
|
+
// whose callee has type Import.
|
399
|
+
// https://github.com/benjamn/ast-types/pull/365#issuecomment-605214486
|
400
|
+
case "ImportExpression":
|
401
|
+
return (0, lines_1.concat)(["import(", path.call(print, "source"), ")"]);
|
402
|
+
case "ImportDeclaration": {
|
403
|
+
parts.push("import ");
|
404
|
+
if (n.importKind && n.importKind !== "value") {
|
405
|
+
parts.push(n.importKind + " ");
|
406
|
+
}
|
407
|
+
if (n.specifiers && n.specifiers.length > 0) {
|
408
|
+
var unbracedSpecifiers_1 = [];
|
409
|
+
var bracedSpecifiers_1 = [];
|
410
|
+
path.each(function (specifierPath) {
|
411
|
+
var spec = specifierPath.getValue();
|
412
|
+
if (spec.type === "ImportSpecifier") {
|
413
|
+
bracedSpecifiers_1.push(print(specifierPath));
|
414
|
+
}
|
415
|
+
else if (spec.type === "ImportDefaultSpecifier" ||
|
416
|
+
spec.type === "ImportNamespaceSpecifier") {
|
417
|
+
unbracedSpecifiers_1.push(print(specifierPath));
|
418
|
+
}
|
419
|
+
}, "specifiers");
|
420
|
+
unbracedSpecifiers_1.forEach(function (lines, i) {
|
421
|
+
if (i > 0) {
|
422
|
+
parts.push(", ");
|
423
|
+
}
|
424
|
+
parts.push(lines);
|
425
|
+
});
|
426
|
+
if (bracedSpecifiers_1.length > 0) {
|
427
|
+
var lines = (0, lines_1.fromString)(", ").join(bracedSpecifiers_1);
|
428
|
+
if (lines.getLineLength(1) > options.wrapColumn) {
|
429
|
+
lines = (0, lines_1.concat)([
|
430
|
+
(0, lines_1.fromString)(",\n").join(bracedSpecifiers_1).indent(options.tabWidth),
|
431
|
+
",",
|
432
|
+
]);
|
433
|
+
}
|
434
|
+
if (unbracedSpecifiers_1.length > 0) {
|
435
|
+
parts.push(", ");
|
436
|
+
}
|
437
|
+
if (lines.length > 1) {
|
438
|
+
parts.push("{\n", lines, "\n}");
|
439
|
+
}
|
440
|
+
else if (options.objectCurlySpacing) {
|
441
|
+
parts.push("{ ", lines, " }");
|
442
|
+
}
|
443
|
+
else {
|
444
|
+
parts.push("{", lines, "}");
|
445
|
+
}
|
446
|
+
}
|
447
|
+
parts.push(" from ");
|
448
|
+
}
|
449
|
+
parts.push(path.call(print, "source"), maybePrintImportAssertions(path, options, print), ";");
|
450
|
+
return (0, lines_1.concat)(parts);
|
451
|
+
}
|
452
|
+
case "ImportAttribute":
|
453
|
+
return (0, lines_1.concat)([path.call(print, "key"), ": ", path.call(print, "value")]);
|
454
|
+
case "StaticBlock":
|
455
|
+
parts.push("static ");
|
456
|
+
// Intentionally fall through to BlockStatement below.
|
457
|
+
case "BlockStatement": {
|
458
|
+
var naked_1 = path.call(function (bodyPath) { return printStatementSequence(bodyPath, options, print); }, "body");
|
459
|
+
if (naked_1.isEmpty()) {
|
460
|
+
if (!n.directives || n.directives.length === 0) {
|
461
|
+
parts.push("{}");
|
462
|
+
return (0, lines_1.concat)(parts);
|
463
|
+
}
|
464
|
+
}
|
465
|
+
parts.push("{\n");
|
466
|
+
// Babel 6
|
467
|
+
if (n.directives) {
|
468
|
+
path.each(function (childPath) {
|
469
|
+
parts.push(maybeAddSemicolon(print(childPath).indent(options.tabWidth)), n.directives.length > 1 || !naked_1.isEmpty() ? "\n" : "");
|
470
|
+
}, "directives");
|
471
|
+
}
|
472
|
+
parts.push(naked_1.indent(options.tabWidth));
|
473
|
+
parts.push("\n}");
|
474
|
+
return (0, lines_1.concat)(parts);
|
475
|
+
}
|
476
|
+
case "ReturnStatement": {
|
477
|
+
parts.push("return");
|
478
|
+
if (n.argument) {
|
479
|
+
var argLines = path.call(print, "argument");
|
480
|
+
if (argLines.startsWithComment() ||
|
481
|
+
(argLines.length > 1 &&
|
482
|
+
namedTypes.JSXElement &&
|
483
|
+
namedTypes.JSXElement.check(n.argument))) {
|
484
|
+
parts.push(" (\n", argLines.indent(options.tabWidth), "\n)");
|
485
|
+
}
|
486
|
+
else {
|
487
|
+
parts.push(" ", argLines);
|
488
|
+
}
|
489
|
+
}
|
490
|
+
parts.push(";");
|
491
|
+
return (0, lines_1.concat)(parts);
|
492
|
+
}
|
493
|
+
case "CallExpression":
|
494
|
+
case "OptionalCallExpression":
|
495
|
+
parts.push(path.call(print, "callee"));
|
496
|
+
if (n.typeParameters) {
|
497
|
+
parts.push(path.call(print, "typeParameters"));
|
498
|
+
}
|
499
|
+
if (n.typeArguments) {
|
500
|
+
parts.push(path.call(print, "typeArguments"));
|
501
|
+
}
|
502
|
+
// Like n.optional, but defaults to true for OptionalCallExpression
|
503
|
+
// nodes that are missing an n.optional property (unusual),
|
504
|
+
// according to the OptionalCallExpression definition in ast-types.
|
505
|
+
if (types.getFieldValue(n, "optional")) {
|
506
|
+
parts.push("?.");
|
507
|
+
}
|
508
|
+
parts.push(printArgumentsList(path, options, print));
|
509
|
+
return (0, lines_1.concat)(parts);
|
510
|
+
case "RecordExpression":
|
511
|
+
parts.push("#");
|
512
|
+
// Intentionally fall through to printing the object literal...
|
513
|
+
case "ObjectExpression":
|
514
|
+
case "ObjectPattern":
|
515
|
+
case "ObjectTypeAnnotation": {
|
516
|
+
var isTypeAnnotation_1 = n.type === "ObjectTypeAnnotation";
|
517
|
+
var separator_1 = options.flowObjectCommas
|
518
|
+
? ","
|
519
|
+
: isTypeAnnotation_1
|
520
|
+
? ";"
|
521
|
+
: ",";
|
522
|
+
var fields = [];
|
523
|
+
var allowBreak_1 = false;
|
524
|
+
if (isTypeAnnotation_1) {
|
525
|
+
fields.push("indexers", "callProperties");
|
526
|
+
if (n.internalSlots != null) {
|
527
|
+
fields.push("internalSlots");
|
528
|
+
}
|
529
|
+
}
|
530
|
+
fields.push("properties");
|
531
|
+
var len_1 = 0;
|
532
|
+
fields.forEach(function (field) {
|
533
|
+
len_1 += n[field].length;
|
534
|
+
});
|
535
|
+
var oneLine_1 = (isTypeAnnotation_1 && len_1 === 1) || len_1 === 0;
|
536
|
+
var leftBrace = n.exact ? "{|" : "{";
|
537
|
+
var rightBrace = n.exact ? "|}" : "}";
|
538
|
+
parts.push(oneLine_1 ? leftBrace : leftBrace + "\n");
|
539
|
+
var leftBraceIndex = parts.length - 1;
|
540
|
+
var i_1 = 0;
|
541
|
+
fields.forEach(function (field) {
|
542
|
+
path.each(function (childPath) {
|
543
|
+
var lines = print(childPath);
|
544
|
+
if (!oneLine_1) {
|
545
|
+
lines = lines.indent(options.tabWidth);
|
546
|
+
}
|
547
|
+
var multiLine = !isTypeAnnotation_1 && lines.length > 1;
|
548
|
+
if (multiLine && allowBreak_1) {
|
549
|
+
// Similar to the logic for BlockStatement.
|
550
|
+
parts.push("\n");
|
551
|
+
}
|
552
|
+
parts.push(lines);
|
553
|
+
if (i_1 < len_1 - 1) {
|
554
|
+
// Add an extra line break if the previous object property
|
555
|
+
// had a multi-line value.
|
556
|
+
parts.push(separator_1 + (multiLine ? "\n\n" : "\n"));
|
557
|
+
allowBreak_1 = !multiLine;
|
558
|
+
}
|
559
|
+
else if (len_1 !== 1 && isTypeAnnotation_1) {
|
560
|
+
parts.push(separator_1);
|
561
|
+
}
|
562
|
+
else if (!oneLine_1 &&
|
563
|
+
util.isTrailingCommaEnabled(options, "objects") &&
|
564
|
+
childPath.getValue().type !== "RestElement") {
|
565
|
+
parts.push(separator_1);
|
566
|
+
}
|
567
|
+
i_1++;
|
568
|
+
}, field);
|
569
|
+
});
|
570
|
+
if (n.inexact) {
|
571
|
+
var line = (0, lines_1.fromString)("...", options);
|
572
|
+
if (oneLine_1) {
|
573
|
+
if (len_1 > 0) {
|
574
|
+
parts.push(separator_1, " ");
|
575
|
+
}
|
576
|
+
parts.push(line);
|
577
|
+
}
|
578
|
+
else {
|
579
|
+
// No trailing separator after ... to maintain parity with prettier.
|
580
|
+
parts.push("\n", line.indent(options.tabWidth));
|
581
|
+
}
|
582
|
+
}
|
583
|
+
parts.push(oneLine_1 ? rightBrace : "\n" + rightBrace);
|
584
|
+
if (i_1 !== 0 && oneLine_1 && options.objectCurlySpacing) {
|
585
|
+
parts[leftBraceIndex] = leftBrace + " ";
|
586
|
+
parts[parts.length - 1] = " " + rightBrace;
|
587
|
+
}
|
588
|
+
if (n.typeAnnotation) {
|
589
|
+
parts.push(path.call(print, "typeAnnotation"));
|
590
|
+
}
|
591
|
+
return (0, lines_1.concat)(parts);
|
592
|
+
}
|
593
|
+
case "PropertyPattern":
|
594
|
+
return (0, lines_1.concat)([
|
595
|
+
path.call(print, "key"),
|
596
|
+
": ",
|
597
|
+
path.call(print, "pattern"),
|
598
|
+
]);
|
599
|
+
case "ObjectProperty": // Babel 6
|
600
|
+
case "Property": {
|
601
|
+
// Non-standard AST node type.
|
602
|
+
if (n.method || n.kind === "get" || n.kind === "set") {
|
603
|
+
return printMethod(path, options, print);
|
604
|
+
}
|
605
|
+
if (n.shorthand && n.value.type === "AssignmentPattern") {
|
606
|
+
return path.call(print, "value");
|
607
|
+
}
|
608
|
+
var key = path.call(print, "key");
|
609
|
+
if (n.computed) {
|
610
|
+
parts.push("[", key, "]");
|
611
|
+
}
|
612
|
+
else {
|
613
|
+
parts.push(key);
|
614
|
+
}
|
615
|
+
if (!n.shorthand || n.key.name !== n.value.name) {
|
616
|
+
parts.push(": ", path.call(print, "value"));
|
617
|
+
}
|
618
|
+
return (0, lines_1.concat)(parts);
|
619
|
+
}
|
620
|
+
case "ClassMethod": // Babel 6
|
621
|
+
case "ObjectMethod": // Babel 6
|
622
|
+
case "ClassPrivateMethod":
|
623
|
+
case "TSDeclareMethod":
|
624
|
+
return printMethod(path, options, print);
|
625
|
+
case "PrivateName":
|
626
|
+
return (0, lines_1.concat)(["#", path.call(print, "id")]);
|
627
|
+
case "Decorator":
|
628
|
+
return (0, lines_1.concat)(["@", path.call(print, "expression")]);
|
629
|
+
case "TupleExpression":
|
630
|
+
parts.push("#");
|
631
|
+
// Intentionally fall through to printing the tuple elements...
|
632
|
+
case "ArrayExpression":
|
633
|
+
case "ArrayPattern": {
|
634
|
+
var elems = n.elements;
|
635
|
+
var len_2 = elems.length;
|
636
|
+
var printed_1 = path.map(print, "elements");
|
637
|
+
var joined = (0, lines_1.fromString)(", ").join(printed_1);
|
638
|
+
var oneLine_2 = joined.getLineLength(1) <= options.wrapColumn;
|
639
|
+
if (oneLine_2) {
|
640
|
+
if (options.arrayBracketSpacing) {
|
641
|
+
parts.push("[ ");
|
642
|
+
}
|
643
|
+
else {
|
644
|
+
parts.push("[");
|
645
|
+
}
|
646
|
+
}
|
647
|
+
else {
|
648
|
+
parts.push("[\n");
|
649
|
+
}
|
650
|
+
path.each(function (elemPath) {
|
651
|
+
var i = elemPath.getName();
|
652
|
+
var elem = elemPath.getValue();
|
653
|
+
if (!elem) {
|
654
|
+
// If the array expression ends with a hole, that hole
|
655
|
+
// will be ignored by the interpreter, but if it ends with
|
656
|
+
// two (or more) holes, we need to write out two (or more)
|
657
|
+
// commas so that the resulting code is interpreted with
|
658
|
+
// both (all) of the holes.
|
659
|
+
parts.push(",");
|
660
|
+
}
|
661
|
+
else {
|
662
|
+
var lines = printed_1[i];
|
663
|
+
if (oneLine_2) {
|
664
|
+
if (i > 0)
|
665
|
+
parts.push(" ");
|
666
|
+
}
|
667
|
+
else {
|
668
|
+
lines = lines.indent(options.tabWidth);
|
669
|
+
}
|
670
|
+
parts.push(lines);
|
671
|
+
if (i < len_2 - 1 ||
|
672
|
+
(!oneLine_2 && util.isTrailingCommaEnabled(options, "arrays")))
|
673
|
+
parts.push(",");
|
674
|
+
if (!oneLine_2)
|
675
|
+
parts.push("\n");
|
676
|
+
}
|
677
|
+
}, "elements");
|
678
|
+
if (oneLine_2 && options.arrayBracketSpacing) {
|
679
|
+
parts.push(" ]");
|
680
|
+
}
|
681
|
+
else {
|
682
|
+
parts.push("]");
|
683
|
+
}
|
684
|
+
if (n.typeAnnotation) {
|
685
|
+
parts.push(path.call(print, "typeAnnotation"));
|
686
|
+
}
|
687
|
+
return (0, lines_1.concat)(parts);
|
688
|
+
}
|
689
|
+
case "SequenceExpression":
|
690
|
+
return (0, lines_1.fromString)(", ").join(path.map(print, "expressions"));
|
691
|
+
case "ThisExpression":
|
692
|
+
return (0, lines_1.fromString)("this");
|
693
|
+
case "Super":
|
694
|
+
return (0, lines_1.fromString)("super");
|
695
|
+
case "NullLiteral": // Babel 6 Literal split
|
696
|
+
return (0, lines_1.fromString)("null");
|
697
|
+
case "RegExpLiteral": // Babel 6 Literal split
|
698
|
+
return (0, lines_1.fromString)(getPossibleRaw(n) || "/".concat(n.pattern, "/").concat(n.flags || ""), options);
|
699
|
+
case "BigIntLiteral": // Babel 7 Literal split
|
700
|
+
return (0, lines_1.fromString)(getPossibleRaw(n) || n.value + "n", options);
|
701
|
+
case "NumericLiteral": // Babel 6 Literal Split
|
702
|
+
return (0, lines_1.fromString)(getPossibleRaw(n) || n.value, options);
|
703
|
+
case "DecimalLiteral":
|
704
|
+
return (0, lines_1.fromString)(getPossibleRaw(n) || n.value + "m", options);
|
705
|
+
case "StringLiteral":
|
706
|
+
return (0, lines_1.fromString)(nodeStr(n.value, options));
|
707
|
+
case "BooleanLiteral": // Babel 6 Literal split
|
708
|
+
case "Literal":
|
709
|
+
return (0, lines_1.fromString)(getPossibleRaw(n) ||
|
710
|
+
(typeof n.value === "string" ? nodeStr(n.value, options) : n.value), options);
|
711
|
+
case "Directive": // Babel 6
|
712
|
+
return path.call(print, "value");
|
713
|
+
case "DirectiveLiteral": // Babel 6
|
714
|
+
return (0, lines_1.fromString)(getPossibleRaw(n) || nodeStr(n.value, options), options);
|
715
|
+
case "InterpreterDirective":
|
716
|
+
return (0, lines_1.fromString)("#!".concat(n.value, "\n"), options);
|
717
|
+
case "ModuleSpecifier":
|
718
|
+
if (n.local) {
|
719
|
+
throw new Error("The ESTree ModuleSpecifier type should be abstract");
|
720
|
+
}
|
721
|
+
// The Esprima ModuleSpecifier type is just a string-valued
|
722
|
+
// Literal identifying the imported-from module.
|
723
|
+
return (0, lines_1.fromString)(nodeStr(n.value, options), options);
|
724
|
+
case "UnaryExpression":
|
725
|
+
parts.push(n.operator);
|
726
|
+
if (/[a-z]$/.test(n.operator))
|
727
|
+
parts.push(" ");
|
728
|
+
parts.push(path.call(print, "argument"));
|
729
|
+
return (0, lines_1.concat)(parts);
|
730
|
+
case "UpdateExpression":
|
731
|
+
parts.push(path.call(print, "argument"), n.operator);
|
732
|
+
if (n.prefix)
|
733
|
+
parts.reverse();
|
734
|
+
return (0, lines_1.concat)(parts);
|
735
|
+
case "ConditionalExpression":
|
736
|
+
return (0, lines_1.concat)([
|
737
|
+
path.call(print, "test"),
|
738
|
+
" ? ",
|
739
|
+
path.call(print, "consequent"),
|
740
|
+
" : ",
|
741
|
+
path.call(print, "alternate"),
|
742
|
+
]);
|
743
|
+
case "NewExpression": {
|
744
|
+
parts.push("new ", path.call(print, "callee"));
|
745
|
+
if (n.typeParameters) {
|
746
|
+
parts.push(path.call(print, "typeParameters"));
|
747
|
+
}
|
748
|
+
if (n.typeArguments) {
|
749
|
+
parts.push(path.call(print, "typeArguments"));
|
750
|
+
}
|
751
|
+
var args = n.arguments;
|
752
|
+
if (args) {
|
753
|
+
parts.push(printArgumentsList(path, options, print));
|
754
|
+
}
|
755
|
+
return (0, lines_1.concat)(parts);
|
756
|
+
}
|
757
|
+
case "VariableDeclaration": {
|
758
|
+
if (n.declare) {
|
759
|
+
parts.push("declare ");
|
760
|
+
}
|
761
|
+
parts.push(n.kind, " ");
|
762
|
+
var maxLen_1 = 0;
|
763
|
+
var printed = path.map(function (childPath) {
|
764
|
+
var lines = print(childPath);
|
765
|
+
maxLen_1 = Math.max(lines.length, maxLen_1);
|
766
|
+
return lines;
|
767
|
+
}, "declarations");
|
768
|
+
if (maxLen_1 === 1) {
|
769
|
+
parts.push((0, lines_1.fromString)(", ").join(printed));
|
770
|
+
}
|
771
|
+
else if (printed.length > 1) {
|
772
|
+
parts.push((0, lines_1.fromString)(",\n")
|
773
|
+
.join(printed)
|
774
|
+
.indentTail(n.kind.length + 1));
|
775
|
+
}
|
776
|
+
else {
|
777
|
+
parts.push(printed[0]);
|
778
|
+
}
|
779
|
+
// We generally want to terminate all variable declarations with a
|
780
|
+
// semicolon, except when they are children of for loops.
|
781
|
+
var parentNode = path.getParentNode();
|
782
|
+
if (!namedTypes.ForStatement.check(parentNode) &&
|
783
|
+
!namedTypes.ForInStatement.check(parentNode) &&
|
784
|
+
!(namedTypes.ForOfStatement &&
|
785
|
+
namedTypes.ForOfStatement.check(parentNode)) &&
|
786
|
+
!(namedTypes.ForAwaitStatement &&
|
787
|
+
namedTypes.ForAwaitStatement.check(parentNode))) {
|
788
|
+
parts.push(";");
|
789
|
+
}
|
790
|
+
return (0, lines_1.concat)(parts);
|
791
|
+
}
|
792
|
+
case "VariableDeclarator":
|
793
|
+
return n.init
|
794
|
+
? (0, lines_1.fromString)(" = ").join([
|
795
|
+
path.call(print, "id"),
|
796
|
+
path.call(print, "init"),
|
797
|
+
])
|
798
|
+
: path.call(print, "id");
|
799
|
+
case "WithStatement":
|
800
|
+
return (0, lines_1.concat)([
|
801
|
+
"with (",
|
802
|
+
path.call(print, "object"),
|
803
|
+
") ",
|
804
|
+
path.call(print, "body"),
|
805
|
+
]);
|
806
|
+
case "IfStatement": {
|
807
|
+
var con = adjustClause(path.call(print, "consequent"), options);
|
808
|
+
parts.push("if (", path.call(print, "test"), ")", con);
|
809
|
+
if (n.alternate)
|
810
|
+
parts.push(endsWithBrace(con) ? " else" : "\nelse", adjustClause(path.call(print, "alternate"), options));
|
811
|
+
return (0, lines_1.concat)(parts);
|
812
|
+
}
|
813
|
+
case "ForStatement": {
|
814
|
+
// TODO Get the for (;;) case right.
|
815
|
+
var init = path.call(print, "init");
|
816
|
+
var sep = init.length > 1 ? ";\n" : "; ";
|
817
|
+
var forParen = "for (";
|
818
|
+
var indented = (0, lines_1.fromString)(sep)
|
819
|
+
.join([init, path.call(print, "test"), path.call(print, "update")])
|
820
|
+
.indentTail(forParen.length);
|
821
|
+
var head = (0, lines_1.concat)([forParen, indented, ")"]);
|
822
|
+
var clause = adjustClause(path.call(print, "body"), options);
|
823
|
+
parts.push(head);
|
824
|
+
if (head.length > 1) {
|
825
|
+
parts.push("\n");
|
826
|
+
clause = clause.trimLeft();
|
827
|
+
}
|
828
|
+
parts.push(clause);
|
829
|
+
return (0, lines_1.concat)(parts);
|
830
|
+
}
|
831
|
+
case "WhileStatement":
|
832
|
+
return (0, lines_1.concat)([
|
833
|
+
"while (",
|
834
|
+
path.call(print, "test"),
|
835
|
+
")",
|
836
|
+
adjustClause(path.call(print, "body"), options),
|
837
|
+
]);
|
838
|
+
case "ForInStatement":
|
839
|
+
// Note: esprima can't actually parse "for each (".
|
840
|
+
return (0, lines_1.concat)([
|
841
|
+
n.each ? "for each (" : "for (",
|
842
|
+
path.call(print, "left"),
|
843
|
+
" in ",
|
844
|
+
path.call(print, "right"),
|
845
|
+
")",
|
846
|
+
adjustClause(path.call(print, "body"), options),
|
847
|
+
]);
|
848
|
+
case "ForOfStatement":
|
849
|
+
case "ForAwaitStatement":
|
850
|
+
parts.push("for ");
|
851
|
+
if (n.await || n.type === "ForAwaitStatement") {
|
852
|
+
parts.push("await ");
|
853
|
+
}
|
854
|
+
parts.push("(", path.call(print, "left"), " of ", path.call(print, "right"), ")", adjustClause(path.call(print, "body"), options));
|
855
|
+
return (0, lines_1.concat)(parts);
|
856
|
+
case "DoWhileStatement": {
|
857
|
+
var doBody = (0, lines_1.concat)([
|
858
|
+
"do",
|
859
|
+
adjustClause(path.call(print, "body"), options),
|
860
|
+
]);
|
861
|
+
parts.push(doBody);
|
862
|
+
if (endsWithBrace(doBody))
|
863
|
+
parts.push(" while");
|
864
|
+
else
|
865
|
+
parts.push("\nwhile");
|
866
|
+
parts.push(" (", path.call(print, "test"), ");");
|
867
|
+
return (0, lines_1.concat)(parts);
|
868
|
+
}
|
869
|
+
case "DoExpression": {
|
870
|
+
var statements = path.call(function (bodyPath) { return printStatementSequence(bodyPath, options, print); }, "body");
|
871
|
+
return (0, lines_1.concat)(["do {\n", statements.indent(options.tabWidth), "\n}"]);
|
872
|
+
}
|
873
|
+
case "BreakStatement":
|
874
|
+
parts.push("break");
|
875
|
+
if (n.label)
|
876
|
+
parts.push(" ", path.call(print, "label"));
|
877
|
+
parts.push(";");
|
878
|
+
return (0, lines_1.concat)(parts);
|
879
|
+
case "ContinueStatement":
|
880
|
+
parts.push("continue");
|
881
|
+
if (n.label)
|
882
|
+
parts.push(" ", path.call(print, "label"));
|
883
|
+
parts.push(";");
|
884
|
+
return (0, lines_1.concat)(parts);
|
885
|
+
case "LabeledStatement":
|
886
|
+
return (0, lines_1.concat)([
|
887
|
+
path.call(print, "label"),
|
888
|
+
":\n",
|
889
|
+
path.call(print, "body"),
|
890
|
+
]);
|
891
|
+
case "TryStatement":
|
892
|
+
parts.push("try ", path.call(print, "block"));
|
893
|
+
if (n.handler) {
|
894
|
+
parts.push(" ", path.call(print, "handler"));
|
895
|
+
}
|
896
|
+
else if (n.handlers) {
|
897
|
+
path.each(function (handlerPath) {
|
898
|
+
parts.push(" ", print(handlerPath));
|
899
|
+
}, "handlers");
|
900
|
+
}
|
901
|
+
if (n.finalizer) {
|
902
|
+
parts.push(" finally ", path.call(print, "finalizer"));
|
903
|
+
}
|
904
|
+
return (0, lines_1.concat)(parts);
|
905
|
+
case "CatchClause":
|
906
|
+
parts.push("catch ");
|
907
|
+
if (n.param) {
|
908
|
+
parts.push("(", path.call(print, "param"));
|
909
|
+
}
|
910
|
+
if (n.guard) {
|
911
|
+
// Note: esprima does not recognize conditional catch clauses.
|
912
|
+
parts.push(" if ", path.call(print, "guard"));
|
913
|
+
}
|
914
|
+
if (n.param) {
|
915
|
+
parts.push(") ");
|
916
|
+
}
|
917
|
+
parts.push(path.call(print, "body"));
|
918
|
+
return (0, lines_1.concat)(parts);
|
919
|
+
case "ThrowStatement":
|
920
|
+
return (0, lines_1.concat)(["throw ", path.call(print, "argument"), ";"]);
|
921
|
+
case "SwitchStatement":
|
922
|
+
return (0, lines_1.concat)([
|
923
|
+
"switch (",
|
924
|
+
path.call(print, "discriminant"),
|
925
|
+
") {\n",
|
926
|
+
(0, lines_1.fromString)("\n").join(path.map(print, "cases")),
|
927
|
+
"\n}",
|
928
|
+
]);
|
929
|
+
// Note: ignoring n.lexical because it has no printing consequences.
|
930
|
+
case "SwitchCase":
|
931
|
+
if (n.test)
|
932
|
+
parts.push("case ", path.call(print, "test"), ":");
|
933
|
+
else
|
934
|
+
parts.push("default:");
|
935
|
+
if (n.consequent.length > 0) {
|
936
|
+
parts.push("\n", path
|
937
|
+
.call(function (consequentPath) {
|
938
|
+
return printStatementSequence(consequentPath, options, print);
|
939
|
+
}, "consequent")
|
940
|
+
.indent(options.tabWidth));
|
941
|
+
}
|
942
|
+
return (0, lines_1.concat)(parts);
|
943
|
+
case "DebuggerStatement":
|
944
|
+
return (0, lines_1.fromString)("debugger;");
|
945
|
+
// JSX extensions below.
|
946
|
+
case "JSXAttribute":
|
947
|
+
parts.push(path.call(print, "name"));
|
948
|
+
if (n.value)
|
949
|
+
parts.push("=", path.call(print, "value"));
|
950
|
+
return (0, lines_1.concat)(parts);
|
951
|
+
case "JSXIdentifier":
|
952
|
+
return (0, lines_1.fromString)(n.name, options);
|
953
|
+
case "JSXNamespacedName":
|
954
|
+
return (0, lines_1.fromString)(":").join([
|
955
|
+
path.call(print, "namespace"),
|
956
|
+
path.call(print, "name"),
|
957
|
+
]);
|
958
|
+
case "JSXMemberExpression":
|
959
|
+
return (0, lines_1.fromString)(".").join([
|
960
|
+
path.call(print, "object"),
|
961
|
+
path.call(print, "property"),
|
962
|
+
]);
|
963
|
+
case "JSXSpreadAttribute":
|
964
|
+
return (0, lines_1.concat)(["{...", path.call(print, "argument"), "}"]);
|
965
|
+
case "JSXSpreadChild":
|
966
|
+
return (0, lines_1.concat)(["{...", path.call(print, "expression"), "}"]);
|
967
|
+
case "JSXExpressionContainer":
|
968
|
+
return (0, lines_1.concat)(["{", path.call(print, "expression"), "}"]);
|
969
|
+
case "JSXElement":
|
970
|
+
case "JSXFragment": {
|
971
|
+
var openingPropName = "opening" + (n.type === "JSXElement" ? "Element" : "Fragment");
|
972
|
+
var closingPropName = "closing" + (n.type === "JSXElement" ? "Element" : "Fragment");
|
973
|
+
var openingLines = path.call(print, openingPropName);
|
974
|
+
if (n[openingPropName].selfClosing) {
|
975
|
+
(0, tiny_invariant_1.default)(!n[closingPropName], "unexpected " +
|
976
|
+
closingPropName +
|
977
|
+
" element in self-closing " +
|
978
|
+
n.type);
|
979
|
+
return openingLines;
|
980
|
+
}
|
981
|
+
var childLines = (0, lines_1.concat)(path.map(function (childPath) {
|
982
|
+
var child = childPath.getValue();
|
983
|
+
if (namedTypes.Literal.check(child) &&
|
984
|
+
typeof child.value === "string") {
|
985
|
+
if (/\S/.test(child.value)) {
|
986
|
+
return child.value.replace(/^\s+|\s+$/g, "");
|
987
|
+
}
|
988
|
+
else if (/\n/.test(child.value)) {
|
989
|
+
return "\n";
|
990
|
+
}
|
991
|
+
}
|
992
|
+
return print(childPath);
|
993
|
+
}, "children")).indentTail(options.tabWidth);
|
994
|
+
var closingLines = path.call(print, closingPropName);
|
995
|
+
return (0, lines_1.concat)([openingLines, childLines, closingLines]);
|
996
|
+
}
|
997
|
+
case "JSXOpeningElement": {
|
998
|
+
parts.push("<", path.call(print, "name"));
|
999
|
+
var typeDefPart = path.call(print, "typeParameters");
|
1000
|
+
if (typeDefPart.length)
|
1001
|
+
parts.push(typeDefPart);
|
1002
|
+
var attrParts_1 = [];
|
1003
|
+
path.each(function (attrPath) {
|
1004
|
+
attrParts_1.push(" ", print(attrPath));
|
1005
|
+
}, "attributes");
|
1006
|
+
var attrLines = (0, lines_1.concat)(attrParts_1);
|
1007
|
+
var needLineWrap = attrLines.length > 1 || attrLines.getLineLength(1) > options.wrapColumn;
|
1008
|
+
if (needLineWrap) {
|
1009
|
+
attrParts_1.forEach(function (part, i) {
|
1010
|
+
if (part === " ") {
|
1011
|
+
(0, tiny_invariant_1.default)(i % 2 === 0);
|
1012
|
+
attrParts_1[i] = "\n";
|
1013
|
+
}
|
1014
|
+
});
|
1015
|
+
attrLines = (0, lines_1.concat)(attrParts_1).indentTail(options.tabWidth);
|
1016
|
+
}
|
1017
|
+
parts.push(attrLines, n.selfClosing ? " />" : ">");
|
1018
|
+
return (0, lines_1.concat)(parts);
|
1019
|
+
}
|
1020
|
+
case "JSXClosingElement":
|
1021
|
+
return (0, lines_1.concat)(["</", path.call(print, "name"), ">"]);
|
1022
|
+
case "JSXOpeningFragment":
|
1023
|
+
return (0, lines_1.fromString)("<>");
|
1024
|
+
case "JSXClosingFragment":
|
1025
|
+
return (0, lines_1.fromString)("</>");
|
1026
|
+
case "JSXText":
|
1027
|
+
return (0, lines_1.fromString)(n.value, options);
|
1028
|
+
case "JSXEmptyExpression":
|
1029
|
+
return (0, lines_1.fromString)("");
|
1030
|
+
case "TypeAnnotatedIdentifier":
|
1031
|
+
return (0, lines_1.concat)([
|
1032
|
+
path.call(print, "annotation"),
|
1033
|
+
" ",
|
1034
|
+
path.call(print, "identifier"),
|
1035
|
+
]);
|
1036
|
+
case "ClassBody":
|
1037
|
+
if (n.body.length === 0) {
|
1038
|
+
return (0, lines_1.fromString)("{}");
|
1039
|
+
}
|
1040
|
+
return (0, lines_1.concat)([
|
1041
|
+
"{\n",
|
1042
|
+
path
|
1043
|
+
.call(function (bodyPath) { return printStatementSequence(bodyPath, options, print); }, "body")
|
1044
|
+
.indent(options.tabWidth),
|
1045
|
+
"\n}",
|
1046
|
+
]);
|
1047
|
+
case "ClassPropertyDefinition":
|
1048
|
+
parts.push("static ", path.call(print, "definition"));
|
1049
|
+
if (!namedTypes.MethodDefinition.check(n.definition))
|
1050
|
+
parts.push(";");
|
1051
|
+
return (0, lines_1.concat)(parts);
|
1052
|
+
case "ClassProperty": {
|
1053
|
+
if (n.declare) {
|
1054
|
+
parts.push("declare ");
|
1055
|
+
}
|
1056
|
+
var access = n.accessibility || n.access;
|
1057
|
+
if (typeof access === "string") {
|
1058
|
+
parts.push(access, " ");
|
1059
|
+
}
|
1060
|
+
if (n.static) {
|
1061
|
+
parts.push("static ");
|
1062
|
+
}
|
1063
|
+
if (n.abstract) {
|
1064
|
+
parts.push("abstract ");
|
1065
|
+
}
|
1066
|
+
if (n.readonly) {
|
1067
|
+
parts.push("readonly ");
|
1068
|
+
}
|
1069
|
+
var key = path.call(print, "key");
|
1070
|
+
if (n.computed) {
|
1071
|
+
key = (0, lines_1.concat)(["[", key, "]"]);
|
1072
|
+
}
|
1073
|
+
if (n.variance) {
|
1074
|
+
key = (0, lines_1.concat)([printVariance(path, print), key]);
|
1075
|
+
}
|
1076
|
+
parts.push(key);
|
1077
|
+
if (n.optional) {
|
1078
|
+
parts.push("?");
|
1079
|
+
}
|
1080
|
+
if (n.definite) {
|
1081
|
+
parts.push("!");
|
1082
|
+
}
|
1083
|
+
if (n.typeAnnotation) {
|
1084
|
+
parts.push(path.call(print, "typeAnnotation"));
|
1085
|
+
}
|
1086
|
+
if (n.value) {
|
1087
|
+
parts.push(" = ", path.call(print, "value"));
|
1088
|
+
}
|
1089
|
+
parts.push(";");
|
1090
|
+
return (0, lines_1.concat)(parts);
|
1091
|
+
}
|
1092
|
+
case "ClassPrivateProperty":
|
1093
|
+
if (n.static) {
|
1094
|
+
parts.push("static ");
|
1095
|
+
}
|
1096
|
+
parts.push(path.call(print, "key"));
|
1097
|
+
if (n.typeAnnotation) {
|
1098
|
+
parts.push(path.call(print, "typeAnnotation"));
|
1099
|
+
}
|
1100
|
+
if (n.value) {
|
1101
|
+
parts.push(" = ", path.call(print, "value"));
|
1102
|
+
}
|
1103
|
+
parts.push(";");
|
1104
|
+
return (0, lines_1.concat)(parts);
|
1105
|
+
case "ClassAccessorProperty": {
|
1106
|
+
parts.push.apply(parts, tslib_1.__spreadArray(tslib_1.__spreadArray([], printClassMemberModifiers(n), false), ["accessor "], false));
|
1107
|
+
if (n.computed) {
|
1108
|
+
parts.push("[", path.call(print, "key"), "]");
|
1109
|
+
}
|
1110
|
+
else {
|
1111
|
+
parts.push(path.call(print, "key"));
|
1112
|
+
}
|
1113
|
+
if (n.optional) {
|
1114
|
+
parts.push("?");
|
1115
|
+
}
|
1116
|
+
if (n.definite) {
|
1117
|
+
parts.push("!");
|
1118
|
+
}
|
1119
|
+
if (n.typeAnnotation) {
|
1120
|
+
parts.push(path.call(print, "typeAnnotation"));
|
1121
|
+
}
|
1122
|
+
if (n.value) {
|
1123
|
+
parts.push(" = ", path.call(print, "value"));
|
1124
|
+
}
|
1125
|
+
parts.push(";");
|
1126
|
+
return (0, lines_1.concat)(parts);
|
1127
|
+
}
|
1128
|
+
case "ClassDeclaration":
|
1129
|
+
case "ClassExpression":
|
1130
|
+
case "DeclareClass":
|
1131
|
+
if (n.declare) {
|
1132
|
+
parts.push("declare ");
|
1133
|
+
}
|
1134
|
+
if (n.abstract) {
|
1135
|
+
parts.push("abstract ");
|
1136
|
+
}
|
1137
|
+
parts.push("class");
|
1138
|
+
if (n.id) {
|
1139
|
+
parts.push(" ", path.call(print, "id"));
|
1140
|
+
}
|
1141
|
+
if (n.typeParameters) {
|
1142
|
+
parts.push(path.call(print, "typeParameters"));
|
1143
|
+
}
|
1144
|
+
if (n.superClass) {
|
1145
|
+
// ClassDeclaration and ClassExpression only
|
1146
|
+
parts.push(" extends ", path.call(print, "superClass"), path.call(print, "superTypeParameters"));
|
1147
|
+
}
|
1148
|
+
if (n.extends && n.extends.length > 0) {
|
1149
|
+
// DeclareClass only
|
1150
|
+
parts.push(" extends ", (0, lines_1.fromString)(", ").join(path.map(print, "extends")));
|
1151
|
+
}
|
1152
|
+
if (n["implements"] && n["implements"].length > 0) {
|
1153
|
+
parts.push(" implements ", (0, lines_1.fromString)(", ").join(path.map(print, "implements")));
|
1154
|
+
}
|
1155
|
+
parts.push(" ", path.call(print, "body"));
|
1156
|
+
if (n.type === "DeclareClass") {
|
1157
|
+
return printFlowDeclaration(path, parts);
|
1158
|
+
}
|
1159
|
+
else {
|
1160
|
+
return (0, lines_1.concat)(parts);
|
1161
|
+
}
|
1162
|
+
case "TemplateElement":
|
1163
|
+
return (0, lines_1.fromString)(n.value.raw, options).lockIndentTail();
|
1164
|
+
case "TemplateLiteral": {
|
1165
|
+
var expressions_1 = path.map(print, "expressions");
|
1166
|
+
parts.push("`");
|
1167
|
+
path.each(function (childPath) {
|
1168
|
+
var i = childPath.getName();
|
1169
|
+
parts.push(print(childPath));
|
1170
|
+
if (i < expressions_1.length) {
|
1171
|
+
parts.push("${", expressions_1[i], "}");
|
1172
|
+
}
|
1173
|
+
}, "quasis");
|
1174
|
+
parts.push("`");
|
1175
|
+
return (0, lines_1.concat)(parts).lockIndentTail();
|
1176
|
+
}
|
1177
|
+
case "TaggedTemplateExpression":
|
1178
|
+
return (0, lines_1.concat)([path.call(print, "tag"), path.call(print, "quasi")]);
|
1179
|
+
// These types are unprintable because they serve as abstract
|
1180
|
+
// supertypes for other (printable) types.
|
1181
|
+
case "Node":
|
1182
|
+
case "Printable":
|
1183
|
+
case "SourceLocation":
|
1184
|
+
case "Position":
|
1185
|
+
case "Statement":
|
1186
|
+
case "Function":
|
1187
|
+
case "Pattern":
|
1188
|
+
case "Expression":
|
1189
|
+
case "Declaration":
|
1190
|
+
case "Specifier":
|
1191
|
+
case "NamedSpecifier":
|
1192
|
+
case "Comment": // Supertype of Block and Line
|
1193
|
+
case "Flow": // Supertype of all Flow AST node types
|
1194
|
+
case "FlowType": // Supertype of all Flow types
|
1195
|
+
case "FlowPredicate": // Supertype of InferredPredicate and DeclaredPredicate
|
1196
|
+
case "MemberTypeAnnotation": // Flow
|
1197
|
+
case "Type": // Flow
|
1198
|
+
case "TSHasOptionalTypeParameterInstantiation":
|
1199
|
+
case "TSHasOptionalTypeParameters":
|
1200
|
+
case "TSHasOptionalTypeAnnotation":
|
1201
|
+
case "ChainElement": // Supertype of MemberExpression and CallExpression
|
1202
|
+
throw new Error("unprintable type: " + JSON.stringify(n.type));
|
1203
|
+
case "CommentBlock": // Babel block comment.
|
1204
|
+
case "Block": // Esprima block comment.
|
1205
|
+
return (0, lines_1.concat)(["/*", (0, lines_1.fromString)(n.value, options), "*/"]);
|
1206
|
+
case "CommentLine": // Babel line comment.
|
1207
|
+
case "Line": // Esprima line comment.
|
1208
|
+
return (0, lines_1.concat)(["//", (0, lines_1.fromString)(n.value, options)]);
|
1209
|
+
// Type Annotations for Facebook Flow, typically stripped out or
|
1210
|
+
// transformed away before printing.
|
1211
|
+
case "TypeAnnotation":
|
1212
|
+
if (n.typeAnnotation) {
|
1213
|
+
if (n.typeAnnotation.type !== "FunctionTypeAnnotation") {
|
1214
|
+
parts.push(": ");
|
1215
|
+
}
|
1216
|
+
parts.push(path.call(print, "typeAnnotation"));
|
1217
|
+
return (0, lines_1.concat)(parts);
|
1218
|
+
}
|
1219
|
+
return (0, lines_1.fromString)("");
|
1220
|
+
case "ExistentialTypeParam":
|
1221
|
+
case "ExistsTypeAnnotation":
|
1222
|
+
return (0, lines_1.fromString)("*", options);
|
1223
|
+
case "EmptyTypeAnnotation":
|
1224
|
+
return (0, lines_1.fromString)("empty", options);
|
1225
|
+
case "AnyTypeAnnotation":
|
1226
|
+
return (0, lines_1.fromString)("any", options);
|
1227
|
+
case "MixedTypeAnnotation":
|
1228
|
+
return (0, lines_1.fromString)("mixed", options);
|
1229
|
+
case "ArrayTypeAnnotation":
|
1230
|
+
return (0, lines_1.concat)([path.call(print, "elementType"), "[]"]);
|
1231
|
+
case "TupleTypeAnnotation": {
|
1232
|
+
var printed_2 = path.map(print, "types");
|
1233
|
+
var joined = (0, lines_1.fromString)(", ").join(printed_2);
|
1234
|
+
var oneLine_3 = joined.getLineLength(1) <= options.wrapColumn;
|
1235
|
+
if (oneLine_3) {
|
1236
|
+
if (options.arrayBracketSpacing) {
|
1237
|
+
parts.push("[ ");
|
1238
|
+
}
|
1239
|
+
else {
|
1240
|
+
parts.push("[");
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
else {
|
1244
|
+
parts.push("[\n");
|
1245
|
+
}
|
1246
|
+
path.each(function (elemPath) {
|
1247
|
+
var i = elemPath.getName();
|
1248
|
+
var elem = elemPath.getValue();
|
1249
|
+
if (!elem) {
|
1250
|
+
// If the array expression ends with a hole, that hole
|
1251
|
+
// will be ignored by the interpreter, but if it ends with
|
1252
|
+
// two (or more) holes, we need to write out two (or more)
|
1253
|
+
// commas so that the resulting code is interpreted with
|
1254
|
+
// both (all) of the holes.
|
1255
|
+
parts.push(",");
|
1256
|
+
}
|
1257
|
+
else {
|
1258
|
+
var lines = printed_2[i];
|
1259
|
+
if (oneLine_3) {
|
1260
|
+
if (i > 0)
|
1261
|
+
parts.push(" ");
|
1262
|
+
}
|
1263
|
+
else {
|
1264
|
+
lines = lines.indent(options.tabWidth);
|
1265
|
+
}
|
1266
|
+
parts.push(lines);
|
1267
|
+
if (i < n.types.length - 1 ||
|
1268
|
+
(!oneLine_3 && util.isTrailingCommaEnabled(options, "arrays")))
|
1269
|
+
parts.push(",");
|
1270
|
+
if (!oneLine_3)
|
1271
|
+
parts.push("\n");
|
1272
|
+
}
|
1273
|
+
}, "types");
|
1274
|
+
if (oneLine_3 && options.arrayBracketSpacing) {
|
1275
|
+
parts.push(" ]");
|
1276
|
+
}
|
1277
|
+
else {
|
1278
|
+
parts.push("]");
|
1279
|
+
}
|
1280
|
+
return (0, lines_1.concat)(parts);
|
1281
|
+
}
|
1282
|
+
case "BooleanTypeAnnotation":
|
1283
|
+
return (0, lines_1.fromString)("boolean", options);
|
1284
|
+
case "BooleanLiteralTypeAnnotation":
|
1285
|
+
(0, tiny_invariant_1.default)(typeof n.value === "boolean");
|
1286
|
+
return (0, lines_1.fromString)("" + n.value, options);
|
1287
|
+
case "InterfaceTypeAnnotation":
|
1288
|
+
parts.push("interface");
|
1289
|
+
if (n.extends && n.extends.length > 0) {
|
1290
|
+
parts.push(" extends ", (0, lines_1.fromString)(", ").join(path.map(print, "extends")));
|
1291
|
+
}
|
1292
|
+
parts.push(" ", path.call(print, "body"));
|
1293
|
+
return (0, lines_1.concat)(parts);
|
1294
|
+
case "DeclareFunction":
|
1295
|
+
return printFlowDeclaration(path, [
|
1296
|
+
"function ",
|
1297
|
+
path.call(print, "id"),
|
1298
|
+
";",
|
1299
|
+
]);
|
1300
|
+
case "DeclareModule":
|
1301
|
+
return printFlowDeclaration(path, [
|
1302
|
+
"module ",
|
1303
|
+
path.call(print, "id"),
|
1304
|
+
" ",
|
1305
|
+
path.call(print, "body"),
|
1306
|
+
]);
|
1307
|
+
case "DeclareModuleExports":
|
1308
|
+
return printFlowDeclaration(path, [
|
1309
|
+
"module.exports",
|
1310
|
+
path.call(print, "typeAnnotation"),
|
1311
|
+
]);
|
1312
|
+
case "DeclareVariable":
|
1313
|
+
return printFlowDeclaration(path, ["var ", path.call(print, "id"), ";"]);
|
1314
|
+
case "DeclareExportDeclaration":
|
1315
|
+
case "DeclareExportAllDeclaration":
|
1316
|
+
return (0, lines_1.concat)(["declare ", printExportDeclaration(path, options, print)]);
|
1317
|
+
case "EnumDeclaration":
|
1318
|
+
return (0, lines_1.concat)([
|
1319
|
+
"enum ",
|
1320
|
+
path.call(print, "id"),
|
1321
|
+
path.call(print, "body"),
|
1322
|
+
]);
|
1323
|
+
case "EnumBooleanBody":
|
1324
|
+
case "EnumNumberBody":
|
1325
|
+
case "EnumStringBody":
|
1326
|
+
case "EnumSymbolBody": {
|
1327
|
+
if (n.type === "EnumSymbolBody" || n.explicitType) {
|
1328
|
+
parts.push(" of ",
|
1329
|
+
// EnumBooleanBody => boolean, etc.
|
1330
|
+
n.type.slice(4, -4).toLowerCase());
|
1331
|
+
}
|
1332
|
+
parts.push(" {\n", (0, lines_1.fromString)("\n")
|
1333
|
+
.join(path.map(print, "members"))
|
1334
|
+
.indent(options.tabWidth), "\n}");
|
1335
|
+
return (0, lines_1.concat)(parts);
|
1336
|
+
}
|
1337
|
+
case "EnumDefaultedMember":
|
1338
|
+
return (0, lines_1.concat)([path.call(print, "id"), ","]);
|
1339
|
+
case "EnumBooleanMember":
|
1340
|
+
case "EnumNumberMember":
|
1341
|
+
case "EnumStringMember":
|
1342
|
+
return (0, lines_1.concat)([
|
1343
|
+
path.call(print, "id"),
|
1344
|
+
" = ",
|
1345
|
+
path.call(print, "init"),
|
1346
|
+
",",
|
1347
|
+
]);
|
1348
|
+
case "InferredPredicate":
|
1349
|
+
return (0, lines_1.fromString)("%checks", options);
|
1350
|
+
case "DeclaredPredicate":
|
1351
|
+
return (0, lines_1.concat)(["%checks(", path.call(print, "value"), ")"]);
|
1352
|
+
case "FunctionTypeAnnotation": {
|
1353
|
+
// FunctionTypeAnnotation is ambiguous:
|
1354
|
+
// declare function(a: B): void; OR
|
1355
|
+
// const A: (a: B) => void;
|
1356
|
+
var parent = path.getParentNode(0);
|
1357
|
+
var isArrowFunctionTypeAnnotation = !(namedTypes.ObjectTypeCallProperty.check(parent) ||
|
1358
|
+
(namedTypes.ObjectTypeInternalSlot.check(parent) && parent.method) ||
|
1359
|
+
namedTypes.DeclareFunction.check(path.getParentNode(2)));
|
1360
|
+
var needsColon = isArrowFunctionTypeAnnotation &&
|
1361
|
+
!namedTypes.FunctionTypeParam.check(parent) &&
|
1362
|
+
!namedTypes.TypeAlias.check(parent);
|
1363
|
+
if (needsColon) {
|
1364
|
+
parts.push(": ");
|
1365
|
+
}
|
1366
|
+
var hasTypeParameters = !!n.typeParameters;
|
1367
|
+
var needsParens = hasTypeParameters || n.params.length !== 1 || n.params[0].name;
|
1368
|
+
parts.push(hasTypeParameters ? path.call(print, "typeParameters") : "", needsParens ? "(" : "", printFunctionParams(path, options, print), needsParens ? ")" : "");
|
1369
|
+
// The returnType is not wrapped in a TypeAnnotation, so the colon
|
1370
|
+
// needs to be added separately.
|
1371
|
+
if (n.returnType) {
|
1372
|
+
parts.push(isArrowFunctionTypeAnnotation ? " => " : ": ", path.call(print, "returnType"));
|
1373
|
+
}
|
1374
|
+
return (0, lines_1.concat)(parts);
|
1375
|
+
}
|
1376
|
+
case "FunctionTypeParam": {
|
1377
|
+
var name = path.call(print, "name");
|
1378
|
+
parts.push(name);
|
1379
|
+
if (n.optional) {
|
1380
|
+
parts.push("?");
|
1381
|
+
}
|
1382
|
+
if (name.infos[0].line) {
|
1383
|
+
parts.push(": ");
|
1384
|
+
}
|
1385
|
+
parts.push(path.call(print, "typeAnnotation"));
|
1386
|
+
return (0, lines_1.concat)(parts);
|
1387
|
+
}
|
1388
|
+
case "GenericTypeAnnotation":
|
1389
|
+
return (0, lines_1.concat)([
|
1390
|
+
path.call(print, "id"),
|
1391
|
+
path.call(print, "typeParameters"),
|
1392
|
+
]);
|
1393
|
+
case "DeclareInterface":
|
1394
|
+
parts.push("declare ");
|
1395
|
+
// Fall through to InterfaceDeclaration...
|
1396
|
+
case "InterfaceDeclaration":
|
1397
|
+
case "TSInterfaceDeclaration":
|
1398
|
+
if (n.declare) {
|
1399
|
+
parts.push("declare ");
|
1400
|
+
}
|
1401
|
+
parts.push("interface ", path.call(print, "id"), path.call(print, "typeParameters"), " ");
|
1402
|
+
if (n["extends"] && n["extends"].length > 0) {
|
1403
|
+
parts.push("extends ", (0, lines_1.fromString)(", ").join(path.map(print, "extends")), " ");
|
1404
|
+
}
|
1405
|
+
if (n.body) {
|
1406
|
+
parts.push(path.call(print, "body"));
|
1407
|
+
}
|
1408
|
+
return (0, lines_1.concat)(parts);
|
1409
|
+
case "ClassImplements":
|
1410
|
+
case "InterfaceExtends":
|
1411
|
+
return (0, lines_1.concat)([
|
1412
|
+
path.call(print, "id"),
|
1413
|
+
path.call(print, "typeParameters"),
|
1414
|
+
]);
|
1415
|
+
case "IntersectionTypeAnnotation":
|
1416
|
+
return (0, lines_1.fromString)(" & ").join(path.map(print, "types"));
|
1417
|
+
case "NullableTypeAnnotation":
|
1418
|
+
return (0, lines_1.concat)(["?", path.call(print, "typeAnnotation")]);
|
1419
|
+
case "NullLiteralTypeAnnotation":
|
1420
|
+
return (0, lines_1.fromString)("null", options);
|
1421
|
+
case "ThisTypeAnnotation":
|
1422
|
+
return (0, lines_1.fromString)("this", options);
|
1423
|
+
case "NumberTypeAnnotation":
|
1424
|
+
return (0, lines_1.fromString)("number", options);
|
1425
|
+
case "ObjectTypeCallProperty":
|
1426
|
+
return path.call(print, "value");
|
1427
|
+
case "ObjectTypeIndexer":
|
1428
|
+
if (n.static) {
|
1429
|
+
parts.push("static ");
|
1430
|
+
}
|
1431
|
+
parts.push(printVariance(path, print), "[");
|
1432
|
+
if (n.id) {
|
1433
|
+
parts.push(path.call(print, "id"), ": ");
|
1434
|
+
}
|
1435
|
+
parts.push(path.call(print, "key"), "]: ", path.call(print, "value"));
|
1436
|
+
return (0, lines_1.concat)(parts);
|
1437
|
+
case "ObjectTypeProperty":
|
1438
|
+
return (0, lines_1.concat)([
|
1439
|
+
printVariance(path, print),
|
1440
|
+
path.call(print, "key"),
|
1441
|
+
n.optional ? "?" : "",
|
1442
|
+
": ",
|
1443
|
+
path.call(print, "value"),
|
1444
|
+
]);
|
1445
|
+
case "ObjectTypeInternalSlot":
|
1446
|
+
return (0, lines_1.concat)([
|
1447
|
+
n.static ? "static " : "",
|
1448
|
+
"[[",
|
1449
|
+
path.call(print, "id"),
|
1450
|
+
"]]",
|
1451
|
+
n.optional ? "?" : "",
|
1452
|
+
n.value.type !== "FunctionTypeAnnotation" ? ": " : "",
|
1453
|
+
path.call(print, "value"),
|
1454
|
+
]);
|
1455
|
+
case "QualifiedTypeIdentifier":
|
1456
|
+
return (0, lines_1.concat)([
|
1457
|
+
path.call(print, "qualification"),
|
1458
|
+
".",
|
1459
|
+
path.call(print, "id"),
|
1460
|
+
]);
|
1461
|
+
case "StringLiteralTypeAnnotation":
|
1462
|
+
return (0, lines_1.fromString)(nodeStr(n.value, options), options);
|
1463
|
+
case "NumberLiteralTypeAnnotation":
|
1464
|
+
case "NumericLiteralTypeAnnotation":
|
1465
|
+
(0, tiny_invariant_1.default)(typeof n.value === "number");
|
1466
|
+
return (0, lines_1.fromString)(JSON.stringify(n.value), options);
|
1467
|
+
case "BigIntLiteralTypeAnnotation":
|
1468
|
+
return (0, lines_1.fromString)(n.raw, options);
|
1469
|
+
case "StringTypeAnnotation":
|
1470
|
+
return (0, lines_1.fromString)("string", options);
|
1471
|
+
case "DeclareTypeAlias":
|
1472
|
+
parts.push("declare ");
|
1473
|
+
// Fall through to TypeAlias...
|
1474
|
+
case "TypeAlias":
|
1475
|
+
return (0, lines_1.concat)([
|
1476
|
+
"type ",
|
1477
|
+
path.call(print, "id"),
|
1478
|
+
path.call(print, "typeParameters"),
|
1479
|
+
" = ",
|
1480
|
+
path.call(print, "right"),
|
1481
|
+
";",
|
1482
|
+
]);
|
1483
|
+
case "DeclareOpaqueType":
|
1484
|
+
parts.push("declare ");
|
1485
|
+
// Fall through to OpaqueType...
|
1486
|
+
case "OpaqueType":
|
1487
|
+
parts.push("opaque type ", path.call(print, "id"), path.call(print, "typeParameters"));
|
1488
|
+
if (n["supertype"]) {
|
1489
|
+
parts.push(": ", path.call(print, "supertype"));
|
1490
|
+
}
|
1491
|
+
if (n["impltype"]) {
|
1492
|
+
parts.push(" = ", path.call(print, "impltype"));
|
1493
|
+
}
|
1494
|
+
parts.push(";");
|
1495
|
+
return (0, lines_1.concat)(parts);
|
1496
|
+
case "TypeCastExpression":
|
1497
|
+
return (0, lines_1.concat)([
|
1498
|
+
"(",
|
1499
|
+
path.call(print, "expression"),
|
1500
|
+
path.call(print, "typeAnnotation"),
|
1501
|
+
")",
|
1502
|
+
]);
|
1503
|
+
case "TypeParameterDeclaration":
|
1504
|
+
case "TypeParameterInstantiation":
|
1505
|
+
return (0, lines_1.concat)([
|
1506
|
+
"<",
|
1507
|
+
(0, lines_1.fromString)(", ").join(path.map(print, "params")),
|
1508
|
+
">",
|
1509
|
+
]);
|
1510
|
+
case "Variance":
|
1511
|
+
if (n.kind === "plus") {
|
1512
|
+
return (0, lines_1.fromString)("+");
|
1513
|
+
}
|
1514
|
+
if (n.kind === "minus") {
|
1515
|
+
return (0, lines_1.fromString)("-");
|
1516
|
+
}
|
1517
|
+
return (0, lines_1.fromString)("");
|
1518
|
+
case "TypeParameter":
|
1519
|
+
if (n.variance) {
|
1520
|
+
parts.push(printVariance(path, print));
|
1521
|
+
}
|
1522
|
+
parts.push(path.call(print, "name"));
|
1523
|
+
if (n.bound) {
|
1524
|
+
parts.push(path.call(print, "bound"));
|
1525
|
+
}
|
1526
|
+
if (n["default"]) {
|
1527
|
+
parts.push("=", path.call(print, "default"));
|
1528
|
+
}
|
1529
|
+
return (0, lines_1.concat)(parts);
|
1530
|
+
case "TypeofTypeAnnotation":
|
1531
|
+
return (0, lines_1.concat)([
|
1532
|
+
(0, lines_1.fromString)("typeof ", options),
|
1533
|
+
path.call(print, "argument"),
|
1534
|
+
]);
|
1535
|
+
case "IndexedAccessType":
|
1536
|
+
case "OptionalIndexedAccessType":
|
1537
|
+
return (0, lines_1.concat)([
|
1538
|
+
path.call(print, "objectType"),
|
1539
|
+
n.optional ? "?." : "",
|
1540
|
+
"[",
|
1541
|
+
path.call(print, "indexType"),
|
1542
|
+
"]",
|
1543
|
+
]);
|
1544
|
+
case "UnionTypeAnnotation":
|
1545
|
+
return (0, lines_1.fromString)(" | ").join(path.map(print, "types"));
|
1546
|
+
case "VoidTypeAnnotation":
|
1547
|
+
return (0, lines_1.fromString)("void", options);
|
1548
|
+
case "NullTypeAnnotation":
|
1549
|
+
return (0, lines_1.fromString)("null", options);
|
1550
|
+
case "SymbolTypeAnnotation":
|
1551
|
+
return (0, lines_1.fromString)("symbol", options);
|
1552
|
+
case "BigIntTypeAnnotation":
|
1553
|
+
return (0, lines_1.fromString)("bigint", options);
|
1554
|
+
// Type Annotations for TypeScript (when using Babylon as parser)
|
1555
|
+
case "TSType":
|
1556
|
+
throw new Error("unprintable type: " + JSON.stringify(n.type));
|
1557
|
+
case "TSNumberKeyword":
|
1558
|
+
return (0, lines_1.fromString)("number", options);
|
1559
|
+
case "TSBigIntKeyword":
|
1560
|
+
return (0, lines_1.fromString)("bigint", options);
|
1561
|
+
case "TSObjectKeyword":
|
1562
|
+
return (0, lines_1.fromString)("object", options);
|
1563
|
+
case "TSBooleanKeyword":
|
1564
|
+
return (0, lines_1.fromString)("boolean", options);
|
1565
|
+
case "TSStringKeyword":
|
1566
|
+
return (0, lines_1.fromString)("string", options);
|
1567
|
+
case "TSSymbolKeyword":
|
1568
|
+
return (0, lines_1.fromString)("symbol", options);
|
1569
|
+
case "TSAnyKeyword":
|
1570
|
+
return (0, lines_1.fromString)("any", options);
|
1571
|
+
case "TSVoidKeyword":
|
1572
|
+
return (0, lines_1.fromString)("void", options);
|
1573
|
+
case "TSIntrinsicKeyword":
|
1574
|
+
return (0, lines_1.fromString)("intrinsic", options);
|
1575
|
+
case "TSThisType":
|
1576
|
+
return (0, lines_1.fromString)("this", options);
|
1577
|
+
case "TSNullKeyword":
|
1578
|
+
return (0, lines_1.fromString)("null", options);
|
1579
|
+
case "TSUndefinedKeyword":
|
1580
|
+
return (0, lines_1.fromString)("undefined", options);
|
1581
|
+
case "TSUnknownKeyword":
|
1582
|
+
return (0, lines_1.fromString)("unknown", options);
|
1583
|
+
case "TSNeverKeyword":
|
1584
|
+
return (0, lines_1.fromString)("never", options);
|
1585
|
+
case "TSArrayType":
|
1586
|
+
return (0, lines_1.concat)([path.call(print, "elementType"), "[]"]);
|
1587
|
+
case "TSLiteralType":
|
1588
|
+
return path.call(print, "literal");
|
1589
|
+
case "TSUnionType":
|
1590
|
+
return (0, lines_1.fromString)(" | ").join(path.map(print, "types"));
|
1591
|
+
case "TSIntersectionType":
|
1592
|
+
return (0, lines_1.fromString)(" & ").join(path.map(print, "types"));
|
1593
|
+
case "TSConditionalType":
|
1594
|
+
parts.push(path.call(print, "checkType"), " extends ", path.call(print, "extendsType"), " ? ", path.call(print, "trueType"), " : ", path.call(print, "falseType"));
|
1595
|
+
return (0, lines_1.concat)(parts);
|
1596
|
+
case "TSInferType":
|
1597
|
+
parts.push("infer ", path.call(print, "typeParameter"));
|
1598
|
+
return (0, lines_1.concat)(parts);
|
1599
|
+
case "TSParenthesizedType":
|
1600
|
+
return (0, lines_1.concat)(["(", path.call(print, "typeAnnotation"), ")"]);
|
1601
|
+
case "TSFunctionType":
|
1602
|
+
return (0, lines_1.concat)([
|
1603
|
+
path.call(print, "typeParameters"),
|
1604
|
+
"(",
|
1605
|
+
printFunctionParams(path, options, print),
|
1606
|
+
") => ",
|
1607
|
+
path.call(print, "typeAnnotation", "typeAnnotation"),
|
1608
|
+
]);
|
1609
|
+
case "TSConstructorType":
|
1610
|
+
return (0, lines_1.concat)([
|
1611
|
+
"new ",
|
1612
|
+
path.call(print, "typeParameters"),
|
1613
|
+
"(",
|
1614
|
+
printFunctionParams(path, options, print),
|
1615
|
+
") => ",
|
1616
|
+
path.call(print, "typeAnnotation", "typeAnnotation"),
|
1617
|
+
]);
|
1618
|
+
case "TSMappedType": {
|
1619
|
+
parts.push(n.readonly ? "readonly " : "", "[", path.call(print, "typeParameter"), "]", n.optional ? "?" : "");
|
1620
|
+
if (n.typeAnnotation) {
|
1621
|
+
parts.push(": ", path.call(print, "typeAnnotation"), ";");
|
1622
|
+
}
|
1623
|
+
return (0, lines_1.concat)(["{\n", (0, lines_1.concat)(parts).indent(options.tabWidth), "\n}"]);
|
1624
|
+
}
|
1625
|
+
case "TSTupleType":
|
1626
|
+
return (0, lines_1.concat)([
|
1627
|
+
"[",
|
1628
|
+
(0, lines_1.fromString)(", ").join(path.map(print, "elementTypes")),
|
1629
|
+
"]",
|
1630
|
+
]);
|
1631
|
+
case "TSNamedTupleMember":
|
1632
|
+
parts.push(path.call(print, "label"));
|
1633
|
+
if (n.optional) {
|
1634
|
+
parts.push("?");
|
1635
|
+
}
|
1636
|
+
parts.push(": ", path.call(print, "elementType"));
|
1637
|
+
return (0, lines_1.concat)(parts);
|
1638
|
+
case "TSRestType":
|
1639
|
+
return (0, lines_1.concat)(["...", path.call(print, "typeAnnotation")]);
|
1640
|
+
case "TSOptionalType":
|
1641
|
+
return (0, lines_1.concat)([path.call(print, "typeAnnotation"), "?"]);
|
1642
|
+
case "TSIndexedAccessType":
|
1643
|
+
return (0, lines_1.concat)([
|
1644
|
+
path.call(print, "objectType"),
|
1645
|
+
"[",
|
1646
|
+
path.call(print, "indexType"),
|
1647
|
+
"]",
|
1648
|
+
]);
|
1649
|
+
case "TSTypeOperator":
|
1650
|
+
return (0, lines_1.concat)([
|
1651
|
+
path.call(print, "operator"),
|
1652
|
+
" ",
|
1653
|
+
path.call(print, "typeAnnotation"),
|
1654
|
+
]);
|
1655
|
+
case "TSTypeLiteral": {
|
1656
|
+
var members = (0, lines_1.fromString)("\n").join(path.map(print, "members").map(function (member) {
|
1657
|
+
if (lastNonSpaceCharacter(member) !== ";") {
|
1658
|
+
return member.concat(";");
|
1659
|
+
}
|
1660
|
+
return member;
|
1661
|
+
}));
|
1662
|
+
if (members.isEmpty()) {
|
1663
|
+
return (0, lines_1.fromString)("{}", options);
|
1664
|
+
}
|
1665
|
+
parts.push("{\n", members.indent(options.tabWidth), "\n}");
|
1666
|
+
return (0, lines_1.concat)(parts);
|
1667
|
+
}
|
1668
|
+
case "TSEnumMember":
|
1669
|
+
parts.push(path.call(print, "id"));
|
1670
|
+
if (n.initializer) {
|
1671
|
+
parts.push(" = ", path.call(print, "initializer"));
|
1672
|
+
}
|
1673
|
+
return (0, lines_1.concat)(parts);
|
1674
|
+
case "TSTypeQuery":
|
1675
|
+
return (0, lines_1.concat)(["typeof ", path.call(print, "exprName")]);
|
1676
|
+
case "TSParameterProperty":
|
1677
|
+
if (n.accessibility) {
|
1678
|
+
parts.push(n.accessibility, " ");
|
1679
|
+
}
|
1680
|
+
if (n.export) {
|
1681
|
+
parts.push("export ");
|
1682
|
+
}
|
1683
|
+
if (n.static) {
|
1684
|
+
parts.push("static ");
|
1685
|
+
}
|
1686
|
+
if (n.readonly) {
|
1687
|
+
parts.push("readonly ");
|
1688
|
+
}
|
1689
|
+
parts.push(path.call(print, "parameter"));
|
1690
|
+
return (0, lines_1.concat)(parts);
|
1691
|
+
case "TSTypeReference":
|
1692
|
+
return (0, lines_1.concat)([
|
1693
|
+
path.call(print, "typeName"),
|
1694
|
+
path.call(print, "typeParameters"),
|
1695
|
+
]);
|
1696
|
+
case "TSQualifiedName":
|
1697
|
+
return (0, lines_1.concat)([path.call(print, "left"), ".", path.call(print, "right")]);
|
1698
|
+
case "TSAsExpression":
|
1699
|
+
case "TSSatisfiesExpression": {
|
1700
|
+
var expression = path.call(print, "expression");
|
1701
|
+
parts.push(expression, n.type === "TSSatisfiesExpression" ? " satisfies " : " as ", path.call(print, "typeAnnotation"));
|
1702
|
+
return (0, lines_1.concat)(parts);
|
1703
|
+
}
|
1704
|
+
case "TSTypeCastExpression":
|
1705
|
+
return (0, lines_1.concat)([
|
1706
|
+
path.call(print, "expression"),
|
1707
|
+
path.call(print, "typeAnnotation"),
|
1708
|
+
]);
|
1709
|
+
case "TSNonNullExpression":
|
1710
|
+
return (0, lines_1.concat)([path.call(print, "expression"), "!"]);
|
1711
|
+
case "TSTypeAnnotation":
|
1712
|
+
return (0, lines_1.concat)([": ", path.call(print, "typeAnnotation")]);
|
1713
|
+
case "TSIndexSignature":
|
1714
|
+
return (0, lines_1.concat)([
|
1715
|
+
n.readonly ? "readonly " : "",
|
1716
|
+
"[",
|
1717
|
+
path.map(print, "parameters"),
|
1718
|
+
"]",
|
1719
|
+
path.call(print, "typeAnnotation"),
|
1720
|
+
]);
|
1721
|
+
case "TSPropertySignature":
|
1722
|
+
parts.push(printVariance(path, print), n.readonly ? "readonly " : "");
|
1723
|
+
if (n.computed) {
|
1724
|
+
parts.push("[", path.call(print, "key"), "]");
|
1725
|
+
}
|
1726
|
+
else {
|
1727
|
+
parts.push(path.call(print, "key"));
|
1728
|
+
}
|
1729
|
+
parts.push(n.optional ? "?" : "", path.call(print, "typeAnnotation"));
|
1730
|
+
return (0, lines_1.concat)(parts);
|
1731
|
+
case "TSMethodSignature":
|
1732
|
+
if (n.computed) {
|
1733
|
+
parts.push("[", path.call(print, "key"), "]");
|
1734
|
+
}
|
1735
|
+
else {
|
1736
|
+
parts.push(path.call(print, "key"));
|
1737
|
+
}
|
1738
|
+
if (n.optional) {
|
1739
|
+
parts.push("?");
|
1740
|
+
}
|
1741
|
+
parts.push(path.call(print, "typeParameters"), "(", printFunctionParams(path, options, print), ")", path.call(print, "typeAnnotation"));
|
1742
|
+
return (0, lines_1.concat)(parts);
|
1743
|
+
case "TSTypePredicate":
|
1744
|
+
if (n.asserts) {
|
1745
|
+
parts.push("asserts ");
|
1746
|
+
}
|
1747
|
+
parts.push(path.call(print, "parameterName"));
|
1748
|
+
if (n.typeAnnotation) {
|
1749
|
+
parts.push(" is ", path.call(print, "typeAnnotation", "typeAnnotation"));
|
1750
|
+
}
|
1751
|
+
return (0, lines_1.concat)(parts);
|
1752
|
+
case "TSCallSignatureDeclaration":
|
1753
|
+
return (0, lines_1.concat)([
|
1754
|
+
path.call(print, "typeParameters"),
|
1755
|
+
"(",
|
1756
|
+
printFunctionParams(path, options, print),
|
1757
|
+
")",
|
1758
|
+
path.call(print, "typeAnnotation"),
|
1759
|
+
]);
|
1760
|
+
case "TSConstructSignatureDeclaration":
|
1761
|
+
if (n.typeParameters) {
|
1762
|
+
parts.push("new", path.call(print, "typeParameters"));
|
1763
|
+
}
|
1764
|
+
else {
|
1765
|
+
parts.push("new ");
|
1766
|
+
}
|
1767
|
+
parts.push("(", printFunctionParams(path, options, print), ")", path.call(print, "typeAnnotation"));
|
1768
|
+
return (0, lines_1.concat)(parts);
|
1769
|
+
case "TSTypeAliasDeclaration":
|
1770
|
+
return (0, lines_1.concat)([
|
1771
|
+
n.declare ? "declare " : "",
|
1772
|
+
"type ",
|
1773
|
+
path.call(print, "id"),
|
1774
|
+
path.call(print, "typeParameters"),
|
1775
|
+
" = ",
|
1776
|
+
path.call(print, "typeAnnotation"),
|
1777
|
+
";",
|
1778
|
+
]);
|
1779
|
+
case "TSTypeParameter": {
|
1780
|
+
parts.push(path.call(print, "name"));
|
1781
|
+
// ambiguous because of TSMappedType
|
1782
|
+
var parent = path.getParentNode(0);
|
1783
|
+
var isInMappedType = namedTypes.TSMappedType.check(parent);
|
1784
|
+
if (n.constraint) {
|
1785
|
+
parts.push(isInMappedType ? " in " : " extends ", path.call(print, "constraint"));
|
1786
|
+
}
|
1787
|
+
if (n["default"]) {
|
1788
|
+
parts.push(" = ", path.call(print, "default"));
|
1789
|
+
}
|
1790
|
+
return (0, lines_1.concat)(parts);
|
1791
|
+
}
|
1792
|
+
case "TSTypeAssertion": {
|
1793
|
+
parts.push("<", path.call(print, "typeAnnotation"), "> ", path.call(print, "expression"));
|
1794
|
+
return (0, lines_1.concat)(parts);
|
1795
|
+
}
|
1796
|
+
case "TSTypeParameterDeclaration":
|
1797
|
+
case "TSTypeParameterInstantiation":
|
1798
|
+
return (0, lines_1.concat)([
|
1799
|
+
"<",
|
1800
|
+
(0, lines_1.fromString)(", ").join(path.map(print, "params")),
|
1801
|
+
">",
|
1802
|
+
]);
|
1803
|
+
case "TSEnumDeclaration": {
|
1804
|
+
parts.push(n.declare ? "declare " : "", n.const ? "const " : "", "enum ", path.call(print, "id"));
|
1805
|
+
var memberLines = (0, lines_1.fromString)(",\n").join(path.map(print, "members"));
|
1806
|
+
if (memberLines.isEmpty()) {
|
1807
|
+
parts.push(" {}");
|
1808
|
+
}
|
1809
|
+
else {
|
1810
|
+
parts.push(" {\n", memberLines.indent(options.tabWidth), "\n}");
|
1811
|
+
}
|
1812
|
+
return (0, lines_1.concat)(parts);
|
1813
|
+
}
|
1814
|
+
case "TSExpressionWithTypeArguments":
|
1815
|
+
return (0, lines_1.concat)([
|
1816
|
+
path.call(print, "expression"),
|
1817
|
+
path.call(print, "typeParameters"),
|
1818
|
+
]);
|
1819
|
+
case "TSInterfaceBody": {
|
1820
|
+
var lines = (0, lines_1.fromString)("\n").join(path.map(print, "body").map(function (element) {
|
1821
|
+
if (lastNonSpaceCharacter(element) !== ";") {
|
1822
|
+
return element.concat(";");
|
1823
|
+
}
|
1824
|
+
return element;
|
1825
|
+
}));
|
1826
|
+
if (lines.isEmpty()) {
|
1827
|
+
return (0, lines_1.fromString)("{}", options);
|
1828
|
+
}
|
1829
|
+
return (0, lines_1.concat)(["{\n", lines.indent(options.tabWidth), "\n}"]);
|
1830
|
+
}
|
1831
|
+
case "TSImportType":
|
1832
|
+
parts.push("import(", path.call(print, "argument"), ")");
|
1833
|
+
if (n.qualifier) {
|
1834
|
+
parts.push(".", path.call(print, "qualifier"));
|
1835
|
+
}
|
1836
|
+
if (n.typeParameters) {
|
1837
|
+
parts.push(path.call(print, "typeParameters"));
|
1838
|
+
}
|
1839
|
+
return (0, lines_1.concat)(parts);
|
1840
|
+
case "TSImportEqualsDeclaration":
|
1841
|
+
if (n.isExport) {
|
1842
|
+
parts.push("export ");
|
1843
|
+
}
|
1844
|
+
parts.push("import ", path.call(print, "id"), " = ", path.call(print, "moduleReference"));
|
1845
|
+
return maybeAddSemicolon((0, lines_1.concat)(parts));
|
1846
|
+
case "TSExternalModuleReference":
|
1847
|
+
return (0, lines_1.concat)(["require(", path.call(print, "expression"), ")"]);
|
1848
|
+
case "TSModuleDeclaration": {
|
1849
|
+
var parent = path.getParentNode();
|
1850
|
+
if (parent.type === "TSModuleDeclaration") {
|
1851
|
+
parts.push(".");
|
1852
|
+
}
|
1853
|
+
else {
|
1854
|
+
if (n.declare) {
|
1855
|
+
parts.push("declare ");
|
1856
|
+
}
|
1857
|
+
if (!n.global) {
|
1858
|
+
var isExternal = n.id.type === "StringLiteral" ||
|
1859
|
+
(n.id.type === "Literal" && typeof n.id.value === "string");
|
1860
|
+
if (isExternal) {
|
1861
|
+
parts.push("module ");
|
1862
|
+
}
|
1863
|
+
else if (n.loc && n.loc.lines && n.id.loc) {
|
1864
|
+
var prefix = n.loc.lines.sliceString(n.loc.start, n.id.loc.start);
|
1865
|
+
// These keywords are fundamentally ambiguous in the
|
1866
|
+
// Babylon parser, and not reflected in the AST, so
|
1867
|
+
// the best we can do is to match the original code,
|
1868
|
+
// when possible.
|
1869
|
+
if (prefix.indexOf("module") >= 0) {
|
1870
|
+
parts.push("module ");
|
1871
|
+
}
|
1872
|
+
else {
|
1873
|
+
parts.push("namespace ");
|
1874
|
+
}
|
1875
|
+
}
|
1876
|
+
else {
|
1877
|
+
parts.push("namespace ");
|
1878
|
+
}
|
1879
|
+
}
|
1880
|
+
}
|
1881
|
+
parts.push(path.call(print, "id"));
|
1882
|
+
if (n.body) {
|
1883
|
+
parts.push(" ");
|
1884
|
+
parts.push(path.call(print, "body"));
|
1885
|
+
}
|
1886
|
+
return (0, lines_1.concat)(parts);
|
1887
|
+
}
|
1888
|
+
case "TSModuleBlock": {
|
1889
|
+
var naked = path.call(function (bodyPath) { return printStatementSequence(bodyPath, options, print); }, "body");
|
1890
|
+
if (naked.isEmpty()) {
|
1891
|
+
parts.push("{}");
|
1892
|
+
}
|
1893
|
+
else {
|
1894
|
+
parts.push("{\n", naked.indent(options.tabWidth), "\n}");
|
1895
|
+
}
|
1896
|
+
return (0, lines_1.concat)(parts);
|
1897
|
+
}
|
1898
|
+
case "TSInstantiationExpression": {
|
1899
|
+
parts.push(path.call(print, "expression"), path.call(print, "typeParameters"));
|
1900
|
+
return (0, lines_1.concat)(parts);
|
1901
|
+
}
|
1902
|
+
// https://github.com/babel/babel/pull/10148
|
1903
|
+
case "V8IntrinsicIdentifier":
|
1904
|
+
return (0, lines_1.concat)(["%", path.call(print, "name")]);
|
1905
|
+
// https://github.com/babel/babel/pull/13191
|
1906
|
+
case "TopicReference":
|
1907
|
+
return (0, lines_1.fromString)("#");
|
1908
|
+
// Unhandled types below. If encountered, nodes of these types should
|
1909
|
+
// be either left alone or desugared into AST types that are fully
|
1910
|
+
// supported by the pretty-printer.
|
1911
|
+
case "ClassHeritage": // TODO
|
1912
|
+
case "ComprehensionBlock": // TODO
|
1913
|
+
case "ComprehensionExpression": // TODO
|
1914
|
+
case "Glob": // TODO
|
1915
|
+
case "GeneratorExpression": // TODO
|
1916
|
+
case "LetStatement": // TODO
|
1917
|
+
case "LetExpression": // TODO
|
1918
|
+
case "GraphExpression": // TODO
|
1919
|
+
case "GraphIndexExpression": // TODO
|
1920
|
+
case "XMLDefaultDeclaration":
|
1921
|
+
case "XMLAnyName":
|
1922
|
+
case "XMLQualifiedIdentifier":
|
1923
|
+
case "XMLFunctionQualifiedIdentifier":
|
1924
|
+
case "XMLAttributeSelector":
|
1925
|
+
case "XMLFilterExpression":
|
1926
|
+
case "XML":
|
1927
|
+
case "XMLElement":
|
1928
|
+
case "XMLList":
|
1929
|
+
case "XMLEscape":
|
1930
|
+
case "XMLText":
|
1931
|
+
case "XMLStartTag":
|
1932
|
+
case "XMLEndTag":
|
1933
|
+
case "XMLPointTag":
|
1934
|
+
case "XMLName":
|
1935
|
+
case "XMLAttribute":
|
1936
|
+
case "XMLCdata":
|
1937
|
+
case "XMLComment":
|
1938
|
+
case "XMLProcessingInstruction":
|
1939
|
+
default:
|
1940
|
+
debugger;
|
1941
|
+
throw new Error("unknown type: " + JSON.stringify(n.type));
|
1942
|
+
}
|
1943
|
+
}
|
1944
|
+
function printDecorators(path, printPath) {
|
1945
|
+
var parts = [];
|
1946
|
+
var node = path.getValue();
|
1947
|
+
if (node.decorators &&
|
1948
|
+
node.decorators.length > 0 &&
|
1949
|
+
// If the parent node is an export declaration, it will be
|
1950
|
+
// responsible for printing node.decorators.
|
1951
|
+
!util.getParentExportDeclaration(path)) {
|
1952
|
+
path.each(function (decoratorPath) {
|
1953
|
+
parts.push(printPath(decoratorPath), "\n");
|
1954
|
+
}, "decorators");
|
1955
|
+
}
|
1956
|
+
else if (util.isExportDeclaration(node) &&
|
1957
|
+
node.declaration &&
|
1958
|
+
node.declaration.decorators) {
|
1959
|
+
// Export declarations are responsible for printing any decorators
|
1960
|
+
// that logically apply to node.declaration.
|
1961
|
+
path.each(function (decoratorPath) {
|
1962
|
+
parts.push(printPath(decoratorPath), "\n");
|
1963
|
+
}, "declaration", "decorators");
|
1964
|
+
}
|
1965
|
+
return (0, lines_1.concat)(parts);
|
1966
|
+
}
|
1967
|
+
function printStatementSequence(path, options, print) {
|
1968
|
+
var filtered = [];
|
1969
|
+
var sawComment = false;
|
1970
|
+
var sawStatement = false;
|
1971
|
+
path.each(function (stmtPath) {
|
1972
|
+
var stmt = stmtPath.getValue();
|
1973
|
+
// Just in case the AST has been modified to contain falsy
|
1974
|
+
// "statements," it's safer simply to skip them.
|
1975
|
+
if (!stmt) {
|
1976
|
+
return;
|
1977
|
+
}
|
1978
|
+
// Skip printing EmptyStatement nodes to avoid leaving stray
|
1979
|
+
// semicolons lying around.
|
1980
|
+
if (stmt.type === "EmptyStatement" &&
|
1981
|
+
!(stmt.comments && stmt.comments.length > 0)) {
|
1982
|
+
return;
|
1983
|
+
}
|
1984
|
+
if (namedTypes.Comment.check(stmt)) {
|
1985
|
+
// The pretty printer allows a dangling Comment node to act as
|
1986
|
+
// a Statement when the Comment can't be attached to any other
|
1987
|
+
// non-Comment node in the tree.
|
1988
|
+
sawComment = true;
|
1989
|
+
}
|
1990
|
+
else if (namedTypes.Statement.check(stmt)) {
|
1991
|
+
sawStatement = true;
|
1992
|
+
}
|
1993
|
+
else {
|
1994
|
+
// When the pretty printer encounters a string instead of an
|
1995
|
+
// AST node, it just prints the string. This behavior can be
|
1996
|
+
// useful for fine-grained formatting decisions like inserting
|
1997
|
+
// blank lines.
|
1998
|
+
isString.assert(stmt);
|
1999
|
+
}
|
2000
|
+
// We can't hang onto stmtPath outside of this function, because
|
2001
|
+
// it's just a reference to a mutable FastPath object, so we have
|
2002
|
+
// to go ahead and print it here.
|
2003
|
+
filtered.push({
|
2004
|
+
node: stmt,
|
2005
|
+
printed: print(stmtPath),
|
2006
|
+
});
|
2007
|
+
});
|
2008
|
+
if (sawComment) {
|
2009
|
+
(0, tiny_invariant_1.default)(sawStatement === false, "Comments may appear as statements in otherwise empty statement " +
|
2010
|
+
"lists, but may not coexist with non-Comment nodes.");
|
2011
|
+
}
|
2012
|
+
var prevTrailingSpace = null;
|
2013
|
+
var len = filtered.length;
|
2014
|
+
var parts = [];
|
2015
|
+
filtered.forEach(function (info, i) {
|
2016
|
+
var printed = info.printed;
|
2017
|
+
var stmt = info.node;
|
2018
|
+
var multiLine = printed.length > 1;
|
2019
|
+
var notFirst = i > 0;
|
2020
|
+
var notLast = i < len - 1;
|
2021
|
+
var leadingSpace;
|
2022
|
+
var trailingSpace;
|
2023
|
+
var lines = stmt && stmt.loc && stmt.loc.lines;
|
2024
|
+
var trueLoc = lines && options.reuseWhitespace && util.getTrueLoc(stmt, lines);
|
2025
|
+
if (notFirst) {
|
2026
|
+
if (trueLoc) {
|
2027
|
+
var beforeStart = lines.skipSpaces(trueLoc.start, true);
|
2028
|
+
var beforeStartLine = beforeStart ? beforeStart.line : 1;
|
2029
|
+
var leadingGap = trueLoc.start.line - beforeStartLine;
|
2030
|
+
leadingSpace = Array(leadingGap + 1).join("\n");
|
2031
|
+
}
|
2032
|
+
else {
|
2033
|
+
leadingSpace = multiLine ? "\n\n" : "\n";
|
2034
|
+
}
|
2035
|
+
}
|
2036
|
+
else {
|
2037
|
+
leadingSpace = "";
|
2038
|
+
}
|
2039
|
+
if (notLast) {
|
2040
|
+
if (trueLoc) {
|
2041
|
+
var afterEnd = lines.skipSpaces(trueLoc.end);
|
2042
|
+
var afterEndLine = afterEnd ? afterEnd.line : lines.length;
|
2043
|
+
var trailingGap = afterEndLine - trueLoc.end.line;
|
2044
|
+
trailingSpace = Array(trailingGap + 1).join("\n");
|
2045
|
+
}
|
2046
|
+
else {
|
2047
|
+
trailingSpace = multiLine ? "\n\n" : "\n";
|
2048
|
+
}
|
2049
|
+
}
|
2050
|
+
else {
|
2051
|
+
trailingSpace = "";
|
2052
|
+
}
|
2053
|
+
parts.push(maxSpace(prevTrailingSpace, leadingSpace), printed);
|
2054
|
+
if (notLast) {
|
2055
|
+
prevTrailingSpace = trailingSpace;
|
2056
|
+
}
|
2057
|
+
else if (trailingSpace) {
|
2058
|
+
parts.push(trailingSpace);
|
2059
|
+
}
|
2060
|
+
});
|
2061
|
+
return (0, lines_1.concat)(parts);
|
2062
|
+
}
|
2063
|
+
function maxSpace(s1, s2) {
|
2064
|
+
if (!s1 && !s2) {
|
2065
|
+
return (0, lines_1.fromString)("");
|
2066
|
+
}
|
2067
|
+
if (!s1) {
|
2068
|
+
return (0, lines_1.fromString)(s2);
|
2069
|
+
}
|
2070
|
+
if (!s2) {
|
2071
|
+
return (0, lines_1.fromString)(s1);
|
2072
|
+
}
|
2073
|
+
var spaceLines1 = (0, lines_1.fromString)(s1);
|
2074
|
+
var spaceLines2 = (0, lines_1.fromString)(s2);
|
2075
|
+
if (spaceLines2.length > spaceLines1.length) {
|
2076
|
+
return spaceLines2;
|
2077
|
+
}
|
2078
|
+
return spaceLines1;
|
2079
|
+
}
|
2080
|
+
function printClassMemberModifiers(node) {
|
2081
|
+
var parts = [];
|
2082
|
+
if (node.declare) {
|
2083
|
+
parts.push("declare ");
|
2084
|
+
}
|
2085
|
+
var access = node.accessibility || node.access;
|
2086
|
+
if (typeof access === "string") {
|
2087
|
+
parts.push(access, " ");
|
2088
|
+
}
|
2089
|
+
if (node.static) {
|
2090
|
+
parts.push("static ");
|
2091
|
+
}
|
2092
|
+
if (node.override) {
|
2093
|
+
parts.push("override ");
|
2094
|
+
}
|
2095
|
+
if (node.abstract) {
|
2096
|
+
parts.push("abstract ");
|
2097
|
+
}
|
2098
|
+
if (node.readonly) {
|
2099
|
+
parts.push("readonly ");
|
2100
|
+
}
|
2101
|
+
return parts;
|
2102
|
+
}
|
2103
|
+
function printMethod(path, options, print) {
|
2104
|
+
var node = path.getNode();
|
2105
|
+
var kind = node.kind;
|
2106
|
+
var parts = [];
|
2107
|
+
var nodeValue = node.value;
|
2108
|
+
if (!namedTypes.FunctionExpression.check(nodeValue)) {
|
2109
|
+
nodeValue = node;
|
2110
|
+
}
|
2111
|
+
parts.push.apply(parts, printClassMemberModifiers(node));
|
2112
|
+
if (nodeValue.async) {
|
2113
|
+
parts.push("async ");
|
2114
|
+
}
|
2115
|
+
if (nodeValue.generator) {
|
2116
|
+
parts.push("*");
|
2117
|
+
}
|
2118
|
+
if (kind === "get" || kind === "set") {
|
2119
|
+
parts.push(kind, " ");
|
2120
|
+
}
|
2121
|
+
var key = path.call(print, "key");
|
2122
|
+
if (node.computed) {
|
2123
|
+
key = (0, lines_1.concat)(["[", key, "]"]);
|
2124
|
+
}
|
2125
|
+
parts.push(key);
|
2126
|
+
if (node.optional) {
|
2127
|
+
parts.push("?");
|
2128
|
+
}
|
2129
|
+
if (node === nodeValue) {
|
2130
|
+
parts.push(path.call(print, "typeParameters"), "(", printFunctionParams(path, options, print), ")", path.call(print, "returnType"));
|
2131
|
+
if (node.body) {
|
2132
|
+
parts.push(" ", path.call(print, "body"));
|
2133
|
+
}
|
2134
|
+
else {
|
2135
|
+
parts.push(";");
|
2136
|
+
}
|
2137
|
+
}
|
2138
|
+
else {
|
2139
|
+
parts.push(path.call(print, "value", "typeParameters"), "(", path.call(function (valuePath) { return printFunctionParams(valuePath, options, print); }, "value"), ")", path.call(print, "value", "returnType"));
|
2140
|
+
if (nodeValue.body) {
|
2141
|
+
parts.push(" ", path.call(print, "value", "body"));
|
2142
|
+
}
|
2143
|
+
else {
|
2144
|
+
parts.push(";");
|
2145
|
+
}
|
2146
|
+
}
|
2147
|
+
return (0, lines_1.concat)(parts);
|
2148
|
+
}
|
2149
|
+
function printArgumentsList(path, options, print) {
|
2150
|
+
var printed = path.map(print, "arguments");
|
2151
|
+
var trailingComma = util.isTrailingCommaEnabled(options, "parameters");
|
2152
|
+
var joined = (0, lines_1.fromString)(", ").join(printed);
|
2153
|
+
if (joined.getLineLength(1) > options.wrapColumn) {
|
2154
|
+
joined = (0, lines_1.fromString)(",\n").join(printed);
|
2155
|
+
return (0, lines_1.concat)([
|
2156
|
+
"(\n",
|
2157
|
+
joined.indent(options.tabWidth),
|
2158
|
+
trailingComma ? ",\n)" : "\n)",
|
2159
|
+
]);
|
2160
|
+
}
|
2161
|
+
return (0, lines_1.concat)(["(", joined, ")"]);
|
2162
|
+
}
|
2163
|
+
function printFunctionParams(path, options, print) {
|
2164
|
+
var fun = path.getValue();
|
2165
|
+
var params;
|
2166
|
+
var printed = [];
|
2167
|
+
if (fun.params) {
|
2168
|
+
params = fun.params;
|
2169
|
+
printed = path.map(print, "params");
|
2170
|
+
}
|
2171
|
+
else if (fun.parameters) {
|
2172
|
+
params = fun.parameters;
|
2173
|
+
printed = path.map(print, "parameters");
|
2174
|
+
}
|
2175
|
+
if (fun.defaults) {
|
2176
|
+
path.each(function (defExprPath) {
|
2177
|
+
var i = defExprPath.getName();
|
2178
|
+
var p = printed[i];
|
2179
|
+
if (p && defExprPath.getValue()) {
|
2180
|
+
printed[i] = (0, lines_1.concat)([p, " = ", print(defExprPath)]);
|
2181
|
+
}
|
2182
|
+
}, "defaults");
|
2183
|
+
}
|
2184
|
+
if (fun.rest) {
|
2185
|
+
printed.push((0, lines_1.concat)(["...", path.call(print, "rest")]));
|
2186
|
+
}
|
2187
|
+
var joined = (0, lines_1.fromString)(", ").join(printed);
|
2188
|
+
if (joined.length > 1 || joined.getLineLength(1) > options.wrapColumn) {
|
2189
|
+
joined = (0, lines_1.fromString)(",\n").join(printed);
|
2190
|
+
if (util.isTrailingCommaEnabled(options, "parameters") &&
|
2191
|
+
!fun.rest &&
|
2192
|
+
params[params.length - 1].type !== "RestElement") {
|
2193
|
+
joined = (0, lines_1.concat)([joined, ",\n"]);
|
2194
|
+
}
|
2195
|
+
else {
|
2196
|
+
joined = (0, lines_1.concat)([joined, "\n"]);
|
2197
|
+
}
|
2198
|
+
return (0, lines_1.concat)(["\n", joined.indent(options.tabWidth)]);
|
2199
|
+
}
|
2200
|
+
return joined;
|
2201
|
+
}
|
2202
|
+
function maybePrintImportAssertions(path, options, print) {
|
2203
|
+
var n = path.getValue();
|
2204
|
+
if (n.assertions && n.assertions.length > 0) {
|
2205
|
+
var parts = [" assert {"];
|
2206
|
+
var printed = path.map(print, "assertions");
|
2207
|
+
var flat = (0, lines_1.fromString)(", ").join(printed);
|
2208
|
+
if (flat.length > 1 || flat.getLineLength(1) > options.wrapColumn) {
|
2209
|
+
parts.push("\n", (0, lines_1.fromString)(",\n").join(printed).indent(options.tabWidth), "\n}");
|
2210
|
+
}
|
2211
|
+
else {
|
2212
|
+
parts.push(" ", flat, " }");
|
2213
|
+
}
|
2214
|
+
return (0, lines_1.concat)(parts);
|
2215
|
+
}
|
2216
|
+
return (0, lines_1.fromString)("");
|
2217
|
+
}
|
2218
|
+
function printExportDeclaration(path, options, print) {
|
2219
|
+
var decl = path.getValue();
|
2220
|
+
var parts = ["export "];
|
2221
|
+
if (decl.exportKind && decl.exportKind === "type") {
|
2222
|
+
if (!decl.declaration) {
|
2223
|
+
parts.push("type ");
|
2224
|
+
}
|
2225
|
+
}
|
2226
|
+
var shouldPrintSpaces = options.objectCurlySpacing;
|
2227
|
+
namedTypes.Declaration.assert(decl);
|
2228
|
+
if (decl["default"] || decl.type === "ExportDefaultDeclaration") {
|
2229
|
+
parts.push("default ");
|
2230
|
+
}
|
2231
|
+
if (decl.declaration) {
|
2232
|
+
parts.push(path.call(print, "declaration"));
|
2233
|
+
}
|
2234
|
+
else if (decl.specifiers) {
|
2235
|
+
if (decl.specifiers.length === 1 &&
|
2236
|
+
decl.specifiers[0].type === "ExportBatchSpecifier") {
|
2237
|
+
parts.push("*");
|
2238
|
+
}
|
2239
|
+
else if (decl.specifiers.length === 0) {
|
2240
|
+
parts.push("{}");
|
2241
|
+
}
|
2242
|
+
else if (decl.specifiers[0].type === "ExportDefaultSpecifier" ||
|
2243
|
+
decl.specifiers[0].type === "ExportNamespaceSpecifier") {
|
2244
|
+
var unbracedSpecifiers_2 = [];
|
2245
|
+
var bracedSpecifiers_2 = [];
|
2246
|
+
path.each(function (specifierPath) {
|
2247
|
+
var spec = specifierPath.getValue();
|
2248
|
+
if (spec.type === "ExportDefaultSpecifier" ||
|
2249
|
+
spec.type === "ExportNamespaceSpecifier") {
|
2250
|
+
unbracedSpecifiers_2.push(print(specifierPath));
|
2251
|
+
}
|
2252
|
+
else {
|
2253
|
+
bracedSpecifiers_2.push(print(specifierPath));
|
2254
|
+
}
|
2255
|
+
}, "specifiers");
|
2256
|
+
unbracedSpecifiers_2.forEach(function (lines, i) {
|
2257
|
+
if (i > 0) {
|
2258
|
+
parts.push(", ");
|
2259
|
+
}
|
2260
|
+
parts.push(lines);
|
2261
|
+
});
|
2262
|
+
if (bracedSpecifiers_2.length > 0) {
|
2263
|
+
var lines_2 = (0, lines_1.fromString)(", ").join(bracedSpecifiers_2);
|
2264
|
+
if (lines_2.getLineLength(1) > options.wrapColumn) {
|
2265
|
+
lines_2 = (0, lines_1.concat)([
|
2266
|
+
(0, lines_1.fromString)(",\n").join(bracedSpecifiers_2).indent(options.tabWidth),
|
2267
|
+
",",
|
2268
|
+
]);
|
2269
|
+
}
|
2270
|
+
if (unbracedSpecifiers_2.length > 0) {
|
2271
|
+
parts.push(", ");
|
2272
|
+
}
|
2273
|
+
if (lines_2.length > 1) {
|
2274
|
+
parts.push("{\n", lines_2, "\n}");
|
2275
|
+
}
|
2276
|
+
else if (options.objectCurlySpacing) {
|
2277
|
+
parts.push("{ ", lines_2, " }");
|
2278
|
+
}
|
2279
|
+
else {
|
2280
|
+
parts.push("{", lines_2, "}");
|
2281
|
+
}
|
2282
|
+
}
|
2283
|
+
}
|
2284
|
+
else {
|
2285
|
+
parts.push(shouldPrintSpaces ? "{ " : "{", (0, lines_1.fromString)(", ").join(path.map(print, "specifiers")), shouldPrintSpaces ? " }" : "}");
|
2286
|
+
}
|
2287
|
+
if (decl.source) {
|
2288
|
+
parts.push(" from ", path.call(print, "source"), maybePrintImportAssertions(path, options, print));
|
2289
|
+
}
|
2290
|
+
}
|
2291
|
+
var lines = (0, lines_1.concat)(parts);
|
2292
|
+
if (lastNonSpaceCharacter(lines) !== ";" &&
|
2293
|
+
!(decl.declaration &&
|
2294
|
+
(decl.declaration.type === "FunctionDeclaration" ||
|
2295
|
+
decl.declaration.type === "ClassDeclaration" ||
|
2296
|
+
decl.declaration.type === "TSModuleDeclaration" ||
|
2297
|
+
decl.declaration.type === "TSInterfaceDeclaration" ||
|
2298
|
+
decl.declaration.type === "TSEnumDeclaration"))) {
|
2299
|
+
lines = (0, lines_1.concat)([lines, ";"]);
|
2300
|
+
}
|
2301
|
+
return lines;
|
2302
|
+
}
|
2303
|
+
function printFlowDeclaration(path, parts) {
|
2304
|
+
var parentExportDecl = util.getParentExportDeclaration(path);
|
2305
|
+
if (parentExportDecl) {
|
2306
|
+
(0, tiny_invariant_1.default)(parentExportDecl.type === "DeclareExportDeclaration");
|
2307
|
+
}
|
2308
|
+
else {
|
2309
|
+
// If the parent node has type DeclareExportDeclaration, then it
|
2310
|
+
// will be responsible for printing the "declare" token. Otherwise
|
2311
|
+
// it needs to be printed with this non-exported declaration node.
|
2312
|
+
parts.unshift("declare ");
|
2313
|
+
}
|
2314
|
+
return (0, lines_1.concat)(parts);
|
2315
|
+
}
|
2316
|
+
function printVariance(path, print) {
|
2317
|
+
return path.call(function (variancePath) {
|
2318
|
+
var value = variancePath.getValue();
|
2319
|
+
if (value) {
|
2320
|
+
if (value === "plus") {
|
2321
|
+
return (0, lines_1.fromString)("+");
|
2322
|
+
}
|
2323
|
+
if (value === "minus") {
|
2324
|
+
return (0, lines_1.fromString)("-");
|
2325
|
+
}
|
2326
|
+
return print(variancePath);
|
2327
|
+
}
|
2328
|
+
return (0, lines_1.fromString)("");
|
2329
|
+
}, "variance");
|
2330
|
+
}
|
2331
|
+
function adjustClause(clause, options) {
|
2332
|
+
if (clause.length > 1)
|
2333
|
+
return (0, lines_1.concat)([" ", clause]);
|
2334
|
+
return (0, lines_1.concat)(["\n", maybeAddSemicolon(clause).indent(options.tabWidth)]);
|
2335
|
+
}
|
2336
|
+
function lastNonSpaceCharacter(lines) {
|
2337
|
+
var pos = lines.lastPos();
|
2338
|
+
do {
|
2339
|
+
var ch = lines.charAt(pos);
|
2340
|
+
if (/\S/.test(ch))
|
2341
|
+
return ch;
|
2342
|
+
} while (lines.prevPos(pos));
|
2343
|
+
}
|
2344
|
+
function endsWithBrace(lines) {
|
2345
|
+
return lastNonSpaceCharacter(lines) === "}";
|
2346
|
+
}
|
2347
|
+
function swapQuotes(str) {
|
2348
|
+
return str.replace(/['"]/g, function (m) { return (m === '"' ? "'" : '"'); });
|
2349
|
+
}
|
2350
|
+
function getPossibleRaw(node) {
|
2351
|
+
var value = types.getFieldValue(node, "value");
|
2352
|
+
var extra = types.getFieldValue(node, "extra");
|
2353
|
+
if (extra && typeof extra.raw === "string" && value == extra.rawValue) {
|
2354
|
+
return extra.raw;
|
2355
|
+
}
|
2356
|
+
if (node.type === "Literal") {
|
2357
|
+
var raw = node.raw;
|
2358
|
+
if (typeof raw === "string" && value == raw) {
|
2359
|
+
return raw;
|
2360
|
+
}
|
2361
|
+
}
|
2362
|
+
}
|
2363
|
+
function jsSafeStringify(str) {
|
2364
|
+
return JSON.stringify(str).replace(/[\u2028\u2029]/g, function (m) {
|
2365
|
+
return "\\u" + m.charCodeAt(0).toString(16);
|
2366
|
+
});
|
2367
|
+
}
|
2368
|
+
function nodeStr(str, options) {
|
2369
|
+
isString.assert(str);
|
2370
|
+
switch (options.quote) {
|
2371
|
+
case "auto": {
|
2372
|
+
var double = jsSafeStringify(str);
|
2373
|
+
var single = swapQuotes(jsSafeStringify(swapQuotes(str)));
|
2374
|
+
return double.length > single.length ? single : double;
|
2375
|
+
}
|
2376
|
+
case "single":
|
2377
|
+
return swapQuotes(jsSafeStringify(swapQuotes(str)));
|
2378
|
+
case "double":
|
2379
|
+
default:
|
2380
|
+
return jsSafeStringify(str);
|
2381
|
+
}
|
2382
|
+
}
|
2383
|
+
function maybeAddSemicolon(lines) {
|
2384
|
+
var eoc = lastNonSpaceCharacter(lines);
|
2385
|
+
if (!eoc || "\n};".indexOf(eoc) < 0)
|
2386
|
+
return (0, lines_1.concat)([lines, ";"]);
|
2387
|
+
return lines;
|
2388
|
+
}
|