wice_grid 6.1.3 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.rspec +1 -1
- data/CHANGELOG.md +18 -13
- data/Gemfile +4 -0
- data/Gemfile.lock +409 -214
- data/Guardfile +71 -0
- data/README.md +96 -53
- data/app/views/kaminari/wice_grid/_paginator.html.erb +2 -2
- data/config/locales/is.yml +1 -1
- data/lib/wice/columns/column_action.rb +2 -2
- data/lib/wice/columns/column_bootstrap_datepicker.rb +6 -6
- data/lib/wice/columns/column_jquery_datepicker.rb +8 -8
- data/lib/wice/grid_output_buffer.rb +4 -0
- data/lib/wice/grid_renderer.rb +27 -27
- data/lib/wice/helpers/js_calendar_helpers.rb +1 -1
- data/lib/wice/helpers/wice_grid_serialized_queries_view_helpers.rb +7 -7
- data/lib/wice/helpers/wice_grid_view_helpers.rb +25 -25
- data/lib/wice/table_column_matrix.rb +3 -7
- data/lib/wice/wice_grid_controller.rb +2 -2
- data/lib/wice_grid.rb +8 -2
- data/node_modules/.bin/browserslist +1 -0
- data/node_modules/.bin/cake +1 -0
- data/node_modules/.bin/coffee +1 -0
- data/node_modules/.bin/decaffeinate +1 -0
- data/node_modules/.bin/esparse +1 -0
- data/node_modules/.bin/esvalidate +1 -0
- data/node_modules/.bin/is-ci +1 -0
- data/node_modules/.bin/is-ci-cli +1 -0
- data/node_modules/.bin/jsesc +1 -0
- data/node_modules/.bin/json5 +1 -0
- data/node_modules/.bin/node-which +1 -0
- data/node_modules/.bin/parser +1 -0
- data/node_modules/.bin/resolve +1 -0
- data/node_modules/.bin/semver +1 -0
- data/node_modules/.bin/update-browserslist-db +1 -0
- data/node_modules/.yarn-integrity +131 -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 +2090 -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 +794 -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 +144 -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 +1043 -0
- data/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map +1 -0
- data/node_modules/@babel/core/node_modules/.bin/json5 +1 -0
- data/node_modules/@babel/core/node_modules/.bin/parser +1 -0
- data/node_modules/@babel/core/node_modules/.bin/semver +1 -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 +31 -0
- data/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/types.js +225 -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/node_modules/.bin/jsesc +1 -0
- data/node_modules/@babel/generator/package.json +38 -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/.bin/browserslist +1 -0
- data/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver +1 -0
- data/node_modules/@babel/helper-compilation-targets/package.json +43 -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 +51 -0
- data/node_modules/@babel/helper-environment-visitor/lib/index.js.map +1 -0
- data/node_modules/@babel/helper-environment-visitor/package.json +34 -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 +28 -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 +27 -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 +34 -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-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 +27 -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 +31 -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 +31 -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 +27 -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/AwaitValue.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/AwaitValue.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/applyDecoratedDescriptor.js +31 -0
- data/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.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/arrayLikeToArray.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.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/assertThisInitialized.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.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/asyncToGenerator.js +38 -0
- data/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.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/checkPrivateRedeclaration.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js +25 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js +18 -0
- data/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classCallCheck.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.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/classPrivateFieldInitSpec.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js +12 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.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/classPrivateMethodGet.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.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/classStaticPrivateFieldDestructureSet.js +16 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js +16 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js +17 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.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/createClass.js +26 -0
- data/node_modules/@babel/helpers/lib/helpers/createClass.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js +60 -0
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js +27 -0
- data/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/createSuper.js +25 -0
- data/node_modules/@babel/helpers/lib/helpers/createSuper.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/decorate.js +350 -0
- data/node_modules/@babel/helpers/lib/helpers/decorate.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/defaults.js +18 -0
- data/node_modules/@babel/helpers/lib/helpers/defaults.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/defineEnumerableProperties.js +27 -0
- data/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/defineProperty.js +23 -0
- data/node_modules/@babel/helpers/lib/helpers/defineProperty.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/extends.js +22 -0
- data/node_modules/@babel/helpers/lib/helpers/extends.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/get.js +25 -0
- data/node_modules/@babel/helpers/lib/helpers/get.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/identity.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/identity.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/inherits.js +25 -0
- data/node_modules/@babel/helpers/lib/helpers/inherits.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js +14 -0
- data/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js +17 -0
- data/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/instanceof.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/instanceof.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.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/isNativeFunction.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.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/iterableToArray.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/iterableToArray.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/jsx.js +47 -0
- data/node_modules/@babel/helpers/lib/helpers/jsx.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js +16 -0
- data/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/objectSpread.js +24 -0
- data/node_modules/@babel/helpers/lib/helpers/objectSpread.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/objectWithoutProperties.js +24 -0
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js +19 -0
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js +17 -0
- data/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/readOnlyError.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/readOnlyError.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/set.js +48 -0
- data/node_modules/@babel/helpers/lib/helpers/set.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/setPrototypeOf.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/slicedToArray.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/superPropBase.js +16 -0
- data/node_modules/@babel/helpers/lib/helpers/superPropBase.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js +18 -0
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/tdz.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/tdz.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/temporalRef.js +13 -0
- data/node_modules/@babel/helpers/lib/helpers/temporalRef.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js +9 -0
- data/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/toArray.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/toArray.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js +15 -0
- data/node_modules/@babel/helpers/lib/helpers/toConsumableArray.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/unsupportedIterableToArray.js +19 -0
- data/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.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/wrapAsyncGenerator.js +97 -0
- data/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js +38 -0
- data/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.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/writeOnlyError.js +11 -0
- data/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js.map +1 -0
- data/node_modules/@babel/helpers/lib/helpers-generated.js +1207 -0
- data/node_modules/@babel/helpers/lib/helpers-generated.js.map +1 -0
- data/node_modules/@babel/helpers/lib/index.js +121 -0
- data/node_modules/@babel/helpers/lib/index.js.map +1 -0
- data/node_modules/@babel/helpers/package.json +31 -0
- data/node_modules/@babel/helpers/scripts/build-helper-metadata.js +209 -0
- data/node_modules/@babel/helpers/scripts/generate-helpers.js +207 -0
- data/node_modules/@babel/helpers/scripts/generate-regenerator-runtime.js +63 -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/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 +13989 -0
- data/node_modules/@babel/parser/lib/index.js.map +1 -0
- data/node_modules/@babel/parser/package.json +47 -0
- data/node_modules/@babel/parser/typings/babel-parser.d.ts +251 -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/node_modules/.bin/parser +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 +282 -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 +904 -0
- data/node_modules/@babel/traverse/lib/scope/index.js.map +1 -0
- data/node_modules/@babel/traverse/lib/scope/lib/renamer.js +115 -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/@babel/traverse/node_modules/.bin/parser +1 -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 +66 -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/@codemod/core/LICENSE.txt +202 -0
- data/node_modules/@codemod/core/README.md +41 -0
- data/node_modules/@codemod/core/build/AllSyntaxPlugin.d.ts +3 -0
- data/node_modules/@codemod/core/build/AllSyntaxPlugin.js +20 -0
- data/node_modules/@codemod/core/build/AllSyntaxPlugin.js.map +1 -0
- data/node_modules/@codemod/core/build/BabelPluginTypes.d.ts +17 -0
- data/node_modules/@codemod/core/build/BabelPluginTypes.js +3 -0
- data/node_modules/@codemod/core/build/BabelPluginTypes.js.map +1 -0
- data/node_modules/@codemod/core/build/RecastPlugin.d.ts +9 -0
- data/node_modules/@codemod/core/build/RecastPlugin.js +26 -0
- data/node_modules/@codemod/core/build/RecastPlugin.js.map +1 -0
- data/node_modules/@codemod/core/build/index.d.ts +1 -0
- data/node_modules/@codemod/core/build/index.js +14 -0
- data/node_modules/@codemod/core/build/index.js.map +1 -0
- data/node_modules/@codemod/core/build/transform.d.ts +7 -0
- data/node_modules/@codemod/core/build/transform.js +22 -0
- data/node_modules/@codemod/core/build/transform.js.map +1 -0
- data/node_modules/@codemod/core/node_modules/.bin/is-ci +1 -0
- data/node_modules/@codemod/core/node_modules/.bin/is-ci-cli +1 -0
- data/node_modules/@codemod/core/node_modules/.bin/resolve +1 -0
- data/node_modules/@codemod/core/package.json +45 -0
- data/node_modules/@codemod/parser/LICENSE.txt +202 -0
- data/node_modules/@codemod/parser/README.md +33 -0
- data/node_modules/@codemod/parser/build/index.d.ts +8 -0
- data/node_modules/@codemod/parser/build/index.js +16 -0
- data/node_modules/@codemod/parser/build/index.js.map +1 -0
- data/node_modules/@codemod/parser/build/options.d.ts +20 -0
- data/node_modules/@codemod/parser/build/options.js +180 -0
- data/node_modules/@codemod/parser/build/options.js.map +1 -0
- data/node_modules/@codemod/parser/node_modules/.bin/parser +1 -0
- data/node_modules/@codemod/parser/package.json +38 -0
- 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/@resugar/codemod-declarations-block-scope/LICENSE +7 -0
- data/node_modules/@resugar/codemod-declarations-block-scope/package.json +28 -0
- data/node_modules/@resugar/codemod-declarations-block-scope/src/index.d.ts +8 -0
- data/node_modules/@resugar/codemod-declarations-block-scope/src/index.js +45 -0
- data/node_modules/@resugar/codemod-declarations-block-scope/src/index.js.map +1 -0
- data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.d.ts +10 -0
- data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.js +136 -0
- data/node_modules/@resugar/codemod-declarations-block-scope/src/mostRestrictiveKindForDeclaration.js.map +1 -0
- data/node_modules/@resugar/codemod-functions-arrow/LICENSE +7 -0
- data/node_modules/@resugar/codemod-functions-arrow/package.json +32 -0
- data/node_modules/@resugar/codemod-functions-arrow/src/index.d.ts +2 -0
- data/node_modules/@resugar/codemod-functions-arrow/src/index.js +138 -0
- data/node_modules/@resugar/codemod-functions-arrow/src/index.js.map +1 -0
- data/node_modules/@resugar/codemod-modules-commonjs/LICENSE +7 -0
- data/node_modules/@resugar/codemod-modules-commonjs/package.json +33 -0
- data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.d.ts +28 -0
- data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.js +88 -0
- data/node_modules/@resugar/codemod-modules-commonjs/src/bindings.js.map +1 -0
- data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.d.ts +8 -0
- data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.js +80 -0
- data/node_modules/@resugar/codemod-modules-commonjs/src/getFirstUnsafeLocation.js.map +1 -0
- data/node_modules/@resugar/codemod-modules-commonjs/src/index.d.ts +8 -0
- data/node_modules/@resugar/codemod-modules-commonjs/src/index.js +644 -0
- data/node_modules/@resugar/codemod-modules-commonjs/src/index.js.map +1 -0
- data/node_modules/@resugar/codemod-objects-concise/LICENSE +7 -0
- data/node_modules/@resugar/codemod-objects-concise/package.json +28 -0
- data/node_modules/@resugar/codemod-objects-concise/src/index.d.ts +2 -0
- data/node_modules/@resugar/codemod-objects-concise/src/index.js +26 -0
- data/node_modules/@resugar/codemod-objects-concise/src/index.js.map +1 -0
- data/node_modules/@resugar/codemod-objects-destructuring/LICENSE +7 -0
- data/node_modules/@resugar/codemod-objects-destructuring/package.json +29 -0
- data/node_modules/@resugar/codemod-objects-destructuring/src/index.d.ts +2 -0
- data/node_modules/@resugar/codemod-objects-destructuring/src/index.js +103 -0
- data/node_modules/@resugar/codemod-objects-destructuring/src/index.js.map +1 -0
- data/node_modules/@resugar/codemod-objects-shorthand/LICENSE +7 -0
- data/node_modules/@resugar/codemod-objects-shorthand/package.json +32 -0
- data/node_modules/@resugar/codemod-objects-shorthand/src/index.d.ts +2 -0
- data/node_modules/@resugar/codemod-objects-shorthand/src/index.js +26 -0
- data/node_modules/@resugar/codemod-objects-shorthand/src/index.js.map +1 -0
- data/node_modules/@resugar/codemod-strings-template/LICENSE +7 -0
- data/node_modules/@resugar/codemod-strings-template/package.json +30 -0
- data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.d.ts +5 -0
- data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.js +40 -0
- data/node_modules/@resugar/codemod-strings-template/src/convertStringEscaping.js.map +1 -0
- data/node_modules/@resugar/codemod-strings-template/src/index.d.ts +2 -0
- data/node_modules/@resugar/codemod-strings-template/src/index.js +134 -0
- data/node_modules/@resugar/codemod-strings-template/src/index.js.map +1 -0
- data/node_modules/@resugar/helper-comments/LICENSE +7 -0
- data/node_modules/@resugar/helper-comments/package.json +25 -0
- data/node_modules/@resugar/helper-comments/src/index.d.ts +16 -0
- data/node_modules/@resugar/helper-comments/src/index.js +68 -0
- data/node_modules/@resugar/helper-comments/src/index.js.map +1 -0
- data/node_modules/add-variable-declarations/LICENSE +7 -0
- data/node_modules/add-variable-declarations/README.md +66 -0
- data/node_modules/add-variable-declarations/dist/index.d.ts +13 -0
- data/node_modules/add-variable-declarations/dist/index.js +498 -0
- data/node_modules/add-variable-declarations/dist/index.mjs +463 -0
- data/node_modules/add-variable-declarations/package.json +62 -0
- data/node_modules/ansi-styles/index.js +165 -0
- data/node_modules/ansi-styles/license +9 -0
- data/node_modules/ansi-styles/package.json +56 -0
- data/node_modules/ansi-styles/readme.md +147 -0
- data/node_modules/any-promise/.jshintrc +4 -0
- data/node_modules/any-promise/.npmignore +7 -0
- data/node_modules/any-promise/LICENSE +19 -0
- data/node_modules/any-promise/README.md +161 -0
- data/node_modules/any-promise/implementation.d.ts +3 -0
- data/node_modules/any-promise/implementation.js +1 -0
- data/node_modules/any-promise/index.d.ts +73 -0
- data/node_modules/any-promise/index.js +1 -0
- data/node_modules/any-promise/loader.js +78 -0
- data/node_modules/any-promise/optional.js +6 -0
- data/node_modules/any-promise/package.json +45 -0
- data/node_modules/any-promise/register/bluebird.d.ts +1 -0
- data/node_modules/any-promise/register/bluebird.js +2 -0
- data/node_modules/any-promise/register/es6-promise.d.ts +1 -0
- data/node_modules/any-promise/register/es6-promise.js +2 -0
- data/node_modules/any-promise/register/lie.d.ts +1 -0
- data/node_modules/any-promise/register/lie.js +2 -0
- data/node_modules/any-promise/register/native-promise-only.d.ts +1 -0
- data/node_modules/any-promise/register/native-promise-only.js +2 -0
- data/node_modules/any-promise/register/pinkie.d.ts +1 -0
- data/node_modules/any-promise/register/pinkie.js +2 -0
- data/node_modules/any-promise/register/promise.d.ts +1 -0
- data/node_modules/any-promise/register/promise.js +2 -0
- data/node_modules/any-promise/register/q.d.ts +1 -0
- data/node_modules/any-promise/register/q.js +2 -0
- data/node_modules/any-promise/register/rsvp.d.ts +1 -0
- data/node_modules/any-promise/register/rsvp.js +2 -0
- data/node_modules/any-promise/register/vow.d.ts +1 -0
- data/node_modules/any-promise/register/vow.js +2 -0
- data/node_modules/any-promise/register/when.d.ts +1 -0
- data/node_modules/any-promise/register/when.js +2 -0
- data/node_modules/any-promise/register-shim.js +18 -0
- data/node_modules/any-promise/register.d.ts +17 -0
- data/node_modules/any-promise/register.js +94 -0
- data/node_modules/ast-types/.travis.yml +11 -0
- data/node_modules/ast-types/LICENSE +20 -0
- data/node_modules/ast-types/README.md +512 -0
- data/node_modules/ast-types/def/babel-core.d.ts +2 -0
- data/node_modules/ast-types/def/babel-core.js +258 -0
- data/node_modules/ast-types/def/babel.d.ts +2 -0
- data/node_modules/ast-types/def/babel.js +13 -0
- data/node_modules/ast-types/def/core.d.ts +2 -0
- data/node_modules/ast-types/def/core.js +300 -0
- data/node_modules/ast-types/def/es-proposals.d.ts +2 -0
- data/node_modules/ast-types/def/es-proposals.js +35 -0
- data/node_modules/ast-types/def/es2020.d.ts +2 -0
- data/node_modules/ast-types/def/es2020.js +18 -0
- data/node_modules/ast-types/def/es6.d.ts +2 -0
- data/node_modules/ast-types/def/es6.js +212 -0
- data/node_modules/ast-types/def/es7.d.ts +2 -0
- data/node_modules/ast-types/def/es7.js +36 -0
- data/node_modules/ast-types/def/esNext.d.ts +2 -0
- data/node_modules/ast-types/def/esNext.js +57 -0
- data/node_modules/ast-types/def/esprima.d.ts +2 -0
- data/node_modules/ast-types/def/esprima.js +51 -0
- data/node_modules/ast-types/def/flow.d.ts +2 -0
- data/node_modules/ast-types/def/flow.js +294 -0
- data/node_modules/ast-types/def/jsx.d.ts +2 -0
- data/node_modules/ast-types/def/jsx.js +105 -0
- data/node_modules/ast-types/def/type-annotations.d.ts +7 -0
- data/node_modules/ast-types/def/type-annotations.js +42 -0
- data/node_modules/ast-types/def/typescript.d.ts +2 -0
- data/node_modules/ast-types/def/typescript.js +339 -0
- data/node_modules/ast-types/fork.d.ts +42 -0
- data/node_modules/ast-types/fork.js +54 -0
- data/node_modules/ast-types/gen/builders.d.ts +2572 -0
- data/node_modules/ast-types/gen/builders.js +2 -0
- data/node_modules/ast-types/gen/kinds.d.ts +263 -0
- data/node_modules/ast-types/gen/kinds.js +2 -0
- data/node_modules/ast-types/gen/namedTypes.d.ts +1800 -0
- data/node_modules/ast-types/gen/namedTypes.js +5 -0
- data/node_modules/ast-types/gen/nodes.d.ts +1265 -0
- data/node_modules/ast-types/gen/nodes.js +2 -0
- data/node_modules/ast-types/gen/visitor.d.ts +267 -0
- data/node_modules/ast-types/gen/visitor.js +2 -0
- data/node_modules/ast-types/lib/equiv.d.ts +5 -0
- data/node_modules/ast-types/lib/equiv.js +156 -0
- data/node_modules/ast-types/lib/node-path.d.ts +22 -0
- data/node_modules/ast-types/lib/node-path.js +413 -0
- data/node_modules/ast-types/lib/path-visitor.d.ts +52 -0
- data/node_modules/ast-types/lib/path-visitor.js +345 -0
- data/node_modules/ast-types/lib/path.d.ts +25 -0
- data/node_modules/ast-types/lib/path.js +333 -0
- data/node_modules/ast-types/lib/scope.d.ts +26 -0
- data/node_modules/ast-types/lib/scope.js +317 -0
- data/node_modules/ast-types/lib/shared.d.ts +13 -0
- data/node_modules/ast-types/lib/shared.js +49 -0
- data/node_modules/ast-types/lib/types.d.ts +136 -0
- data/node_modules/ast-types/lib/types.js +781 -0
- data/node_modules/ast-types/main.d.ts +28 -0
- data/node_modules/ast-types/main.js +54 -0
- data/node_modules/ast-types/package.json +63 -0
- data/node_modules/ast-types/tsconfig.json +20 -0
- data/node_modules/ast-types/types.d.ts +6 -0
- data/node_modules/ast-types/types.js +2 -0
- data/node_modules/automatic-semicolon-insertion/LICENSE +7 -0
- data/node_modules/automatic-semicolon-insertion/README.md +26 -0
- data/node_modules/automatic-semicolon-insertion/build/index.cjs +216 -0
- data/node_modules/automatic-semicolon-insertion/build/index.d.ts +38 -0
- data/node_modules/automatic-semicolon-insertion/build/index.mjs +192 -0
- data/node_modules/automatic-semicolon-insertion/build/traverse.d.ts +17 -0
- data/node_modules/automatic-semicolon-insertion/package.json +58 -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/node_modules/.bin/update-browserslist-db +1 -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/chalk/index.js +228 -0
- data/node_modules/chalk/index.js.flow +93 -0
- data/node_modules/chalk/license +9 -0
- data/node_modules/chalk/package.json +71 -0
- data/node_modules/chalk/readme.md +314 -0
- data/node_modules/chalk/templates.js +128 -0
- data/node_modules/chalk/types/index.d.ts +97 -0
- data/node_modules/ci-info/CHANGELOG.md +78 -0
- data/node_modules/ci-info/LICENSE +21 -0
- data/node_modules/ci-info/README.md +108 -0
- data/node_modules/ci-info/index.js +66 -0
- data/node_modules/ci-info/package.json +36 -0
- data/node_modules/ci-info/vendors.json +153 -0
- data/node_modules/coffee-lex/LICENSE +7 -0
- data/node_modules/coffee-lex/README.md +144 -0
- data/node_modules/coffee-lex/dist/index.d.ts +313 -0
- data/node_modules/coffee-lex/dist/index.js +1565 -0
- data/node_modules/coffee-lex/dist/index.mjs +1530 -0
- data/node_modules/coffee-lex/package.json +81 -0
- data/node_modules/color-convert/CHANGELOG.md +54 -0
- data/node_modules/color-convert/LICENSE +21 -0
- data/node_modules/color-convert/README.md +68 -0
- data/node_modules/color-convert/conversions.js +868 -0
- data/node_modules/color-convert/index.js +78 -0
- data/node_modules/color-convert/package.json +46 -0
- data/node_modules/color-convert/route.js +97 -0
- data/node_modules/color-name/.eslintrc.json +43 -0
- data/node_modules/color-name/.npmignore +107 -0
- data/node_modules/color-name/LICENSE +8 -0
- data/node_modules/color-name/README.md +11 -0
- data/node_modules/color-name/index.js +152 -0
- data/node_modules/color-name/package.json +25 -0
- data/node_modules/color-name/test.js +7 -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/cross-spawn/CHANGELOG.md +130 -0
- data/node_modules/cross-spawn/LICENSE +21 -0
- data/node_modules/cross-spawn/README.md +96 -0
- data/node_modules/cross-spawn/index.js +39 -0
- data/node_modules/cross-spawn/lib/enoent.js +59 -0
- data/node_modules/cross-spawn/lib/parse.js +91 -0
- data/node_modules/cross-spawn/lib/util/escape.js +45 -0
- data/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- data/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- data/node_modules/cross-spawn/node_modules/.bin/node-which +1 -0
- data/node_modules/cross-spawn/package.json +73 -0
- data/node_modules/debug/LICENSE +20 -0
- data/node_modules/debug/README.md +481 -0
- data/node_modules/debug/package.json +60 -0
- data/node_modules/debug/src/browser.js +269 -0
- data/node_modules/debug/src/common.js +274 -0
- data/node_modules/debug/src/index.js +10 -0
- data/node_modules/debug/src/node.js +263 -0
- data/node_modules/decaffeinate/LICENSE +7 -0
- data/node_modules/decaffeinate/README.md +196 -0
- data/node_modules/decaffeinate/bin/decaffeinate +3 -0
- data/node_modules/decaffeinate/dist/index.d.ts +72 -0
- data/node_modules/decaffeinate/dist/index.js +10542 -0
- data/node_modules/decaffeinate/dist/index.mjs +10582 -0
- data/node_modules/decaffeinate/node_modules/.bin/cake +1 -0
- data/node_modules/decaffeinate/node_modules/.bin/coffee +1 -0
- data/node_modules/decaffeinate/node_modules/.bin/is-ci +1 -0
- data/node_modules/decaffeinate/node_modules/.bin/is-ci-cli +1 -0
- data/node_modules/decaffeinate/package.json +133 -0
- data/node_modules/decaffeinate-coffeescript/LICENSE +22 -0
- data/node_modules/decaffeinate-coffeescript/README.md +47 -0
- data/node_modules/decaffeinate-coffeescript/bin/cake +18 -0
- data/node_modules/decaffeinate-coffeescript/bin/coffee +18 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/browser.js +132 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/cake.js +114 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/coffee-script.d.ts +60 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/coffee-script.js +331 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/command.js +610 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/grammar.js +816 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/helpers.js +249 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/index.js +29 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/lexer.d.ts +83 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/lexer.js +1166 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/nodes.d.ts +791 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/nodes.js +3899 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/optparse.js +139 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/parser.js +887 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/register.js +66 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/repl.js +203 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/rewriter.js +537 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/scope.d.ts +3 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/scope.js +165 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/sourcemap.d.ts +13 -0
- data/node_modules/decaffeinate-coffeescript/lib/coffee-script/sourcemap.js +161 -0
- data/node_modules/decaffeinate-coffeescript/package.json +49 -0
- data/node_modules/decaffeinate-coffeescript/register.js +1 -0
- data/node_modules/decaffeinate-coffeescript/repl.js +1 -0
- data/node_modules/decaffeinate-coffeescript2/LICENSE +22 -0
- data/node_modules/decaffeinate-coffeescript2/README.md +47 -0
- data/node_modules/decaffeinate-coffeescript2/bin/cake +25 -0
- data/node_modules/decaffeinate-coffeescript2/bin/coffee +25 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/browser.js +140 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/cake.js +135 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/coffeescript.d.ts +60 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/coffeescript.js +306 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/command.js +719 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/grammar.js +2130 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/helpers.js +333 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/index.js +209 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/lexer.d.ts +83 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/lexer.js +1703 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/nodes.d.ts +809 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/nodes.js +5974 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/optparse.js +230 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/parser.js +1108 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/register.js +85 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/repl.js +296 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/rewriter.js +1014 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/scope.d.ts +3 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/scope.js +187 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/sourcemap.d.ts +13 -0
- data/node_modules/decaffeinate-coffeescript2/lib/coffeescript/sourcemap.js +211 -0
- data/node_modules/decaffeinate-coffeescript2/package.json +56 -0
- data/node_modules/decaffeinate-coffeescript2/register.js +1 -0
- data/node_modules/decaffeinate-coffeescript2/repl.js +1 -0
- data/node_modules/decaffeinate-parser/LICENSE +7 -0
- data/node_modules/decaffeinate-parser/README.md +34 -0
- data/node_modules/decaffeinate-parser/dist/index.d.ts +644 -0
- data/node_modules/decaffeinate-parser/dist/index.js +3458 -0
- data/node_modules/decaffeinate-parser/dist/index.mjs +3557 -0
- data/node_modules/decaffeinate-parser/node_modules/.bin/cake +1 -0
- data/node_modules/decaffeinate-parser/node_modules/.bin/coffee +1 -0
- data/node_modules/decaffeinate-parser/package.json +93 -0
- data/node_modules/detect-indent/index.js +120 -0
- data/node_modules/detect-indent/license +21 -0
- data/node_modules/detect-indent/package.json +46 -0
- data/node_modules/detect-indent/readme.md +110 -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 +3308 -0
- data/node_modules/electron-to-chromium/full-chromium-versions.json +1 -0
- data/node_modules/electron-to-chromium/full-versions.js +2404 -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 +157 -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/escape-string-regexp/index.js +11 -0
- data/node_modules/escape-string-regexp/license +21 -0
- data/node_modules/escape-string-regexp/package.json +41 -0
- data/node_modules/escape-string-regexp/readme.md +27 -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/function-bind/.eslintrc +21 -0
- data/node_modules/function-bind/.github/FUNDING.yml +12 -0
- data/node_modules/function-bind/.github/SECURITY.md +3 -0
- data/node_modules/function-bind/.nycrc +13 -0
- data/node_modules/function-bind/CHANGELOG.md +136 -0
- data/node_modules/function-bind/LICENSE +20 -0
- data/node_modules/function-bind/README.md +46 -0
- data/node_modules/function-bind/implementation.js +84 -0
- data/node_modules/function-bind/index.js +5 -0
- data/node_modules/function-bind/package.json +87 -0
- data/node_modules/function-bind/test/.eslintrc +9 -0
- data/node_modules/function-bind/test/index.js +252 -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/.babelrc +5 -0
- data/node_modules/gensync/test/index.test.js +489 -0
- data/node_modules/globals/globals.json +1563 -0
- data/node_modules/globals/index.js +2 -0
- data/node_modules/globals/license +9 -0
- data/node_modules/globals/package.json +41 -0
- data/node_modules/globals/readme.md +41 -0
- data/node_modules/has-flag/index.js +8 -0
- data/node_modules/has-flag/license +9 -0
- data/node_modules/has-flag/package.json +44 -0
- data/node_modules/has-flag/readme.md +70 -0
- data/node_modules/hasown/.eslintrc +5 -0
- data/node_modules/hasown/.github/FUNDING.yml +12 -0
- data/node_modules/hasown/.nycrc +13 -0
- data/node_modules/hasown/CHANGELOG.md +40 -0
- data/node_modules/hasown/LICENSE +21 -0
- data/node_modules/hasown/README.md +40 -0
- data/node_modules/hasown/index.d.ts +3 -0
- data/node_modules/hasown/index.js +8 -0
- data/node_modules/hasown/package.json +92 -0
- data/node_modules/hasown/tsconfig.json +6 -0
- data/node_modules/is-ci/CHANGELOG.md +14 -0
- data/node_modules/is-ci/LICENSE +21 -0
- data/node_modules/is-ci/README.md +50 -0
- data/node_modules/is-ci/bin.js +4 -0
- data/node_modules/is-ci/index.js +3 -0
- data/node_modules/is-ci/package.json +38 -0
- data/node_modules/is-ci-cli/LICENSE +21 -0
- data/node_modules/is-ci-cli/README.md +29 -0
- data/node_modules/is-ci-cli/cli.js +46 -0
- data/node_modules/is-ci-cli/node_modules/.bin/is-ci +1 -0
- data/node_modules/is-ci-cli/package.json +39 -0
- data/node_modules/is-core-module/.eslintrc +18 -0
- data/node_modules/is-core-module/.nycrc +9 -0
- data/node_modules/is-core-module/CHANGELOG.md +180 -0
- data/node_modules/is-core-module/LICENSE +20 -0
- data/node_modules/is-core-module/README.md +40 -0
- data/node_modules/is-core-module/core.json +158 -0
- data/node_modules/is-core-module/index.js +69 -0
- data/node_modules/is-core-module/package.json +73 -0
- data/node_modules/is-core-module/test/index.js +133 -0
- data/node_modules/is-finite/index.js +5 -0
- data/node_modules/is-finite/license +9 -0
- data/node_modules/is-finite/package.json +34 -0
- data/node_modules/is-finite/readme.md +33 -0
- data/node_modules/isexe/.npmignore +2 -0
- data/node_modules/isexe/LICENSE +15 -0
- data/node_modules/isexe/README.md +51 -0
- data/node_modules/isexe/index.js +57 -0
- data/node_modules/isexe/mode.js +41 -0
- data/node_modules/isexe/package.json +31 -0
- data/node_modules/isexe/test/basic.js +221 -0
- data/node_modules/isexe/windows.js +42 -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/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/json5/LICENSE.md +23 -0
- data/node_modules/json5/README.md +282 -0
- data/node_modules/json5/dist/index.js +1737 -0
- data/node_modules/json5/dist/index.min.js +1 -0
- data/node_modules/json5/dist/index.min.mjs +1 -0
- data/node_modules/json5/dist/index.mjs +1426 -0
- data/node_modules/json5/lib/cli.js +152 -0
- data/node_modules/json5/lib/index.d.ts +4 -0
- data/node_modules/json5/lib/index.js +9 -0
- data/node_modules/json5/lib/parse.d.ts +15 -0
- data/node_modules/json5/lib/parse.js +1114 -0
- data/node_modules/json5/lib/register.js +13 -0
- data/node_modules/json5/lib/require.js +4 -0
- data/node_modules/json5/lib/stringify.d.ts +89 -0
- data/node_modules/json5/lib/stringify.js +261 -0
- data/node_modules/json5/lib/unicode.d.ts +3 -0
- data/node_modules/json5/lib/unicode.js +4 -0
- data/node_modules/json5/lib/util.d.ts +5 -0
- data/node_modules/json5/lib/util.js +35 -0
- data/node_modules/json5/package.json +72 -0
- data/node_modules/lines-and-columns/LICENSE +21 -0
- data/node_modules/lines-and-columns/README.md +33 -0
- data/node_modules/lines-and-columns/build/index.cjs +61 -0
- data/node_modules/lines-and-columns/build/index.d.ts +12 -0
- data/node_modules/lines-and-columns/build/index.mjs +58 -0
- data/node_modules/lines-and-columns/package.json +61 -0
- data/node_modules/lru-cache/LICENSE +15 -0
- data/node_modules/lru-cache/README.md +166 -0
- data/node_modules/lru-cache/index.js +334 -0
- data/node_modules/lru-cache/package.json +32 -0
- data/node_modules/magic-string/LICENSE +7 -0
- data/node_modules/magic-string/README.md +304 -0
- data/node_modules/magic-string/dist/magic-string.cjs.d.ts +268 -0
- data/node_modules/magic-string/dist/magic-string.cjs.js +1547 -0
- data/node_modules/magic-string/dist/magic-string.cjs.js.map +1 -0
- data/node_modules/magic-string/dist/magic-string.es.d.mts +268 -0
- data/node_modules/magic-string/dist/magic-string.es.mjs +1541 -0
- data/node_modules/magic-string/dist/magic-string.es.mjs.map +1 -0
- data/node_modules/magic-string/dist/magic-string.umd.js +1639 -0
- data/node_modules/magic-string/dist/magic-string.umd.js.map +1 -0
- data/node_modules/magic-string/package.json +63 -0
- data/node_modules/ms/index.js +162 -0
- data/node_modules/ms/license.md +21 -0
- data/node_modules/ms/package.json +37 -0
- data/node_modules/ms/readme.md +60 -0
- data/node_modules/mz/HISTORY.md +66 -0
- data/node_modules/mz/LICENSE +22 -0
- data/node_modules/mz/README.md +106 -0
- data/node_modules/mz/child_process.js +8 -0
- data/node_modules/mz/crypto.js +9 -0
- data/node_modules/mz/dns.js +16 -0
- data/node_modules/mz/fs.js +62 -0
- data/node_modules/mz/index.js +8 -0
- data/node_modules/mz/package.json +44 -0
- data/node_modules/mz/readline.js +64 -0
- data/node_modules/mz/zlib.js +13 -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/object-assign/index.js +90 -0
- data/node_modules/object-assign/license +21 -0
- data/node_modules/object-assign/package.json +42 -0
- data/node_modules/object-assign/readme.md +61 -0
- data/node_modules/path-key/index.d.ts +40 -0
- data/node_modules/path-key/index.js +16 -0
- data/node_modules/path-key/license +9 -0
- data/node_modules/path-key/package.json +39 -0
- data/node_modules/path-key/readme.md +61 -0
- data/node_modules/path-parse/LICENSE +21 -0
- data/node_modules/path-parse/README.md +42 -0
- data/node_modules/path-parse/index.js +75 -0
- data/node_modules/path-parse/package.json +33 -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/private/LICENSE +20 -0
- data/node_modules/private/README.md +245 -0
- data/node_modules/private/package.json +39 -0
- data/node_modules/private/private.js +129 -0
- data/node_modules/recast/.editorconfig +2 -0
- data/node_modules/recast/.node-version +1 -0
- data/node_modules/recast/.travis.yml +20 -0
- data/node_modules/recast/LICENSE +20 -0
- data/node_modules/recast/README.md +208 -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 +308 -0
- data/node_modules/recast/lib/fast-path.d.ts +25 -0
- data/node_modules/recast/lib/fast-path.js +545 -0
- data/node_modules/recast/lib/lines.d.ts +62 -0
- data/node_modules/recast/lib/lines.js +666 -0
- data/node_modules/recast/lib/mapping.d.ts +15 -0
- data/node_modules/recast/lib/mapping.js +202 -0
- data/node_modules/recast/lib/options.d.ts +148 -0
- data/node_modules/recast/lib/options.js +56 -0
- data/node_modules/recast/lib/parser.d.ts +2 -0
- data/node_modules/recast/lib/parser.js +257 -0
- data/node_modules/recast/lib/patcher.d.ts +12 -0
- data/node_modules/recast/lib/patcher.js +400 -0
- data/node_modules/recast/lib/printer.d.ts +14 -0
- data/node_modules/recast/lib/printer.js +2262 -0
- data/node_modules/recast/lib/util.d.ts +16 -0
- data/node_modules/recast/lib/util.js +339 -0
- data/node_modules/recast/main.d.ts +50 -0
- data/node_modules/recast/main.js +73 -0
- data/node_modules/recast/node_modules/.bin/esparse +1 -0
- data/node_modules/recast/node_modules/.bin/esvalidate +1 -0
- data/node_modules/recast/package.json +62 -0
- data/node_modules/recast/parsers/_babel_options.d.ts +8 -0
- data/node_modules/recast/parsers/_babel_options.js +42 -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.d.ts +8 -0
- data/node_modules/recast/parsers/babel.js +30 -0
- data/node_modules/recast/parsers/babylon.d.ts +1 -0
- data/node_modules/recast/parsers/babylon.js +6 -0
- data/node_modules/recast/parsers/esprima.d.ts +1 -0
- data/node_modules/recast/parsers/esprima.js +29 -0
- data/node_modules/recast/parsers/flow.d.ts +2 -0
- data/node_modules/recast/parsers/flow.js +21 -0
- data/node_modules/recast/parsers/typescript.d.ts +2 -0
- data/node_modules/recast/parsers/typescript.js +21 -0
- data/node_modules/recast/tsconfig.json +20 -0
- data/node_modules/repeating/index.js +24 -0
- data/node_modules/repeating/license +21 -0
- data/node_modules/repeating/package.json +37 -0
- data/node_modules/repeating/readme.md +30 -0
- data/node_modules/resolve/.editorconfig +37 -0
- data/node_modules/resolve/.eslintrc +65 -0
- data/node_modules/resolve/.github/FUNDING.yml +12 -0
- data/node_modules/resolve/LICENSE +21 -0
- data/node_modules/resolve/SECURITY.md +3 -0
- data/node_modules/resolve/async.js +3 -0
- data/node_modules/resolve/bin/resolve +50 -0
- data/node_modules/resolve/example/async.js +5 -0
- data/node_modules/resolve/example/sync.js +3 -0
- data/node_modules/resolve/index.js +6 -0
- data/node_modules/resolve/lib/async.js +329 -0
- data/node_modules/resolve/lib/caller.js +8 -0
- data/node_modules/resolve/lib/core.js +12 -0
- data/node_modules/resolve/lib/core.json +158 -0
- data/node_modules/resolve/lib/homedir.js +24 -0
- data/node_modules/resolve/lib/is-core.js +5 -0
- data/node_modules/resolve/lib/node-modules-paths.js +42 -0
- data/node_modules/resolve/lib/normalize-options.js +10 -0
- data/node_modules/resolve/lib/sync.js +208 -0
- data/node_modules/resolve/package.json +72 -0
- data/node_modules/resolve/readme.markdown +301 -0
- data/node_modules/resolve/sync.js +3 -0
- data/node_modules/resolve/test/core.js +88 -0
- data/node_modules/resolve/test/dotdot/abc/index.js +2 -0
- data/node_modules/resolve/test/dotdot/index.js +1 -0
- data/node_modules/resolve/test/dotdot.js +29 -0
- data/node_modules/resolve/test/faulty_basedir.js +29 -0
- data/node_modules/resolve/test/filter.js +34 -0
- data/node_modules/resolve/test/filter_sync.js +33 -0
- data/node_modules/resolve/test/home_paths.js +127 -0
- data/node_modules/resolve/test/home_paths_sync.js +114 -0
- data/node_modules/resolve/test/mock.js +315 -0
- data/node_modules/resolve/test/mock_sync.js +214 -0
- data/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
- data/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
- data/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
- data/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
- data/node_modules/resolve/test/module_dir.js +56 -0
- data/node_modules/resolve/test/node-modules-paths.js +143 -0
- data/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
- data/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
- data/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
- data/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
- data/node_modules/resolve/test/node_path.js +70 -0
- data/node_modules/resolve/test/nonstring.js +9 -0
- data/node_modules/resolve/test/pathfilter.js +75 -0
- data/node_modules/resolve/test/precedence/aaa/index.js +1 -0
- data/node_modules/resolve/test/precedence/aaa/main.js +1 -0
- data/node_modules/resolve/test/precedence/aaa.js +1 -0
- data/node_modules/resolve/test/precedence/bbb/main.js +1 -0
- data/node_modules/resolve/test/precedence/bbb.js +1 -0
- data/node_modules/resolve/test/precedence.js +23 -0
- data/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- data/node_modules/resolve/test/resolver/baz/package.json +4 -0
- data/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- data/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
- data/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
- data/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
- data/node_modules/resolve/test/resolver/cup.coffee +1 -0
- data/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
- data/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
- data/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
- data/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
- data/node_modules/resolve/test/resolver/false_main/index.js +0 -0
- data/node_modules/resolve/test/resolver/false_main/package.json +4 -0
- data/node_modules/resolve/test/resolver/foo.js +1 -0
- data/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
- data/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
- data/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
- data/node_modules/resolve/test/resolver/mug.coffee +0 -0
- data/node_modules/resolve/test/resolver/mug.js +0 -0
- data/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
- data/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
- data/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
- data/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
- data/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
- data/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
- data/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
- data/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
- data/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
- data/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- data/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- data/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
- data/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
- data/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
- data/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
- data/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
- data/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
- data/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
- data/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
- data/node_modules/resolve/test/resolver.js +597 -0
- data/node_modules/resolve/test/resolver_sync.js +730 -0
- data/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
- data/node_modules/resolve/test/shadowed_core.js +54 -0
- data/node_modules/resolve/test/subdirs.js +13 -0
- data/node_modules/resolve/test/symlinks.js +176 -0
- data/node_modules/semver/LICENSE +15 -0
- data/node_modules/semver/README.md +443 -0
- data/node_modules/semver/bin/semver.js +174 -0
- data/node_modules/semver/package.json +38 -0
- data/node_modules/semver/range.bnf +16 -0
- data/node_modules/semver/semver.js +1643 -0
- data/node_modules/shebang-command/index.js +19 -0
- data/node_modules/shebang-command/license +9 -0
- data/node_modules/shebang-command/package.json +34 -0
- data/node_modules/shebang-command/readme.md +34 -0
- data/node_modules/shebang-regex/index.d.ts +22 -0
- data/node_modules/shebang-regex/index.js +2 -0
- data/node_modules/shebang-regex/license +9 -0
- data/node_modules/shebang-regex/package.json +35 -0
- data/node_modules/shebang-regex/readme.md +33 -0
- data/node_modules/source-map/CHANGELOG.md +301 -0
- data/node_modules/source-map/LICENSE +28 -0
- data/node_modules/source-map/README.md +742 -0
- data/node_modules/source-map/dist/source-map.debug.js +3234 -0
- data/node_modules/source-map/dist/source-map.js +3233 -0
- data/node_modules/source-map/dist/source-map.min.js +2 -0
- data/node_modules/source-map/dist/source-map.min.js.map +1 -0
- data/node_modules/source-map/lib/array-set.js +121 -0
- data/node_modules/source-map/lib/base64-vlq.js +140 -0
- data/node_modules/source-map/lib/base64.js +67 -0
- data/node_modules/source-map/lib/binary-search.js +111 -0
- data/node_modules/source-map/lib/mapping-list.js +79 -0
- data/node_modules/source-map/lib/quick-sort.js +114 -0
- data/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- data/node_modules/source-map/lib/source-map-generator.js +425 -0
- data/node_modules/source-map/lib/source-node.js +413 -0
- data/node_modules/source-map/lib/util.js +488 -0
- data/node_modules/source-map/package.json +73 -0
- data/node_modules/source-map/source-map.d.ts +98 -0
- data/node_modules/source-map/source-map.js +8 -0
- data/node_modules/supports-color/browser.js +5 -0
- data/node_modules/supports-color/index.js +131 -0
- data/node_modules/supports-color/license +9 -0
- data/node_modules/supports-color/package.json +53 -0
- data/node_modules/supports-color/readme.md +66 -0
- data/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
- data/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
- data/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
- data/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
- data/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
- data/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
- data/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
- data/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
- data/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
- data/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
- data/node_modules/thenify/History.md +11 -0
- data/node_modules/thenify/LICENSE +22 -0
- data/node_modules/thenify/README.md +120 -0
- data/node_modules/thenify/index.js +77 -0
- data/node_modules/thenify/package.json +31 -0
- data/node_modules/thenify-all/History.md +11 -0
- data/node_modules/thenify-all/LICENSE +22 -0
- data/node_modules/thenify-all/README.md +66 -0
- data/node_modules/thenify-all/index.js +73 -0
- data/node_modules/thenify-all/package.json +34 -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 +374 -0
- data/node_modules/tslib/tslib.es6.mjs +373 -0
- data/node_modules/tslib/tslib.html +1 -0
- data/node_modules/tslib/tslib.js +424 -0
- data/node_modules/update-browserslist-db/.devcontainer.json +42 -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/node_modules/.bin/browserslist +1 -0
- data/node_modules/update-browserslist-db/package.json +40 -0
- data/node_modules/update-browserslist-db/utils.js +25 -0
- data/node_modules/which/CHANGELOG.md +166 -0
- data/node_modules/which/LICENSE +15 -0
- data/node_modules/which/README.md +54 -0
- data/node_modules/which/bin/node-which +52 -0
- data/node_modules/which/package.json +43 -0
- data/node_modules/which/which.js +125 -0
- data/node_modules/yallist/LICENSE +15 -0
- data/node_modules/yallist/README.md +204 -0
- data/node_modules/yallist/iterator.js +8 -0
- data/node_modules/yallist/package.json +29 -0
- data/node_modules/yallist/yallist.js +426 -0
- data/package.json +3 -0
- data/spec/acceptance_helper.rb +2 -10
- data/spec/features/action_column_request_spec.rb +25 -25
- data/spec/features/adding_rows_request_spec.rb +2 -2
- data/spec/features/all_records_request_spec.rb +4 -2
- data/spec/features/auto_reloads2_request_spec.rb +29 -29
- data/spec/features/auto_reloads3_request_spec.rb +55 -56
- data/spec/features/auto_reloads_request_spec.rb +29 -29
- data/spec/features/basics1_request_spec.rb +1 -1
- data/spec/features/basics2_request_spec.rb +1 -1
- data/spec/features/basics3_request_spec.rb +1 -1
- data/spec/features/basics4_request_spec.rb +2 -2
- data/spec/features/basics5_request_spec.rb +2 -2
- data/spec/features/basics6_request_spec.rb +3 -3
- data/spec/features/blockless_column_definition_spec.rb +1 -1
- data/spec/features/buttons_request_spec.rb +6 -6
- data/spec/features/csv_and_detached_filters_spec.rb +1 -1
- data/spec/features/csv_export_request_spec.rb +7 -4
- data/spec/features/custom_filter_params_request_spec.rb +4 -4
- data/spec/features/custom_filters1_request_spec.rb +5 -5
- data/spec/features/custom_filters2_request_spec.rb +3 -3
- data/spec/features/custom_filters3_request_spec.rb +3 -3
- data/spec/features/custom_filters4_request_spec.rb +2 -2
- data/spec/features/custom_ordering_on_calculated_request_spec.rb +2 -2
- data/spec/features/custom_ordering_request_spec.rb +23 -19
- data/spec/features/custom_ordering_with_arel_request_spec.rb +23 -19
- data/spec/features/custom_ordering_with_proc_request_spec.rb +30 -28
- data/spec/features/custom_ordering_with_ruby_request_spec.rb +18 -16
- data/spec/features/dates_request_spec.rb +6 -6
- data/spec/features/detached_filters_spec.rb +1 -1
- data/spec/features/detached_filters_two_grids_spec.rb +6 -6
- data/spec/features/disable_all_filters_spec.rb +2 -2
- data/spec/features/hiding_checkboxes_in_action_column_request_spec.rb +28 -28
- data/spec/features/integration_with_application_view_request_spec.rb +2 -2
- data/spec/features/integration_with_forms_request_spec.rb +91 -89
- data/spec/features/joining_tables_spec.rb +3 -3
- data/spec/features/localization_request_spec.rb +2 -2
- data/spec/features/many_grids_on_page_request_spec.rb +5 -5
- data/spec/features/negation_request_spec.rb +2 -2
- data/spec/features/no_records_request_spec.rb +17 -15
- data/spec/features/numeric_filters_request_spec.rb +2 -1
- data/spec/features/resultset_processings2_request_spec.rb +21 -19
- data/spec/features/resultset_processings_request_spec.rb +21 -17
- data/spec/features/saved_queries_request_spec.rb +8 -8
- data/spec/features/shared.rb +59 -59
- data/spec/features/shared_detached_filters.rb +5 -5
- data/spec/features/styling_spec.rb +2 -2
- data/spec/features/two_associations_spec.rb +26 -31
- data/spec/features/upper_pagination_panel_request_spec.rb +3 -5
- data/spec/features/when_filtered_spec.rb +120 -146
- data/spec/fixtures/companies.yml +8 -8
- data/spec/fixtures/priorities.yml +10 -10
- data/spec/fixtures/project_roles.yml +8 -8
- data/spec/fixtures/projects.yml +6 -6
- data/spec/fixtures/statuses.yml +18 -18
- data/spec/fixtures/tasks.yml +150 -150
- data/spec/fixtures/users.yml +24 -24
- data/spec/fixtures/versions.yml +22 -22
- data/spec/models/priority_spec.rb +0 -1
- data/spec/models/user_spec.rb +0 -4
- data/spec/rails_helper.rb +59 -2
- data/spec/spec_helper.rb +4 -0
- data/spec/support/download_helper.rb +37 -0
- data/spec/support/test_app/app/assets/builds/.keep +0 -0
- data/spec/support/test_app/app/assets/builds/application.css +34148 -0
- data/spec/support/test_app/app/assets/config/manifest.js +13 -0
- data/spec/support/test_app/app/assets/images/favicon.ico +0 -0
- data/spec/support/test_app/app/assets/images/forkme_right_gray.png +0 -0
- data/spec/support/test_app/app/assets/stylesheets/application.scss +15 -2
- data/spec/support/test_app/app/controllers/action_column_controller.rb +0 -2
- data/spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb +0 -1
- data/spec/support/test_app/app/controllers/csv_export_controller.rb +1 -2
- data/spec/support/test_app/app/controllers/localization_controller.rb +0 -2
- data/spec/support/test_app/app/controllers/resultset_processings_controller.rb +0 -3
- data/spec/support/test_app/app/helpers/application_helper.rb +23 -21
- data/spec/support/test_app/app/javascript/application.js +8 -0
- data/spec/support/test_app/app/views/action_column/_grid.html.erb +8 -19
- data/spec/support/test_app/app/views/action_column/index.html.haml +32 -31
- data/spec/support/test_app/app/views/adding_rows/_grid.html.erb +9 -21
- data/spec/support/test_app/app/views/adding_rows/index.html.haml +34 -33
- data/spec/support/test_app/app/views/all_records/_grid.html.erb +10 -18
- data/spec/support/test_app/app/views/all_records/index.html.haml +9 -8
- data/spec/support/test_app/app/views/auto_reloads/_grid.html.erb +9 -19
- data/spec/support/test_app/app/views/auto_reloads/index.html.haml +12 -11
- data/spec/support/test_app/app/views/auto_reloads2/_grid.html.erb +9 -19
- data/spec/support/test_app/app/views/auto_reloads2/index.html.haml +5 -18
- data/spec/support/test_app/app/views/auto_reloads3/_grid.html.erb +6 -16
- data/spec/support/test_app/app/views/auto_reloads3/index.html.haml +11 -30
- data/spec/support/test_app/app/views/basics1/_grid.html.erb +1 -7
- data/spec/support/test_app/app/views/basics1/index.html.haml +10 -9
- data/spec/support/test_app/app/views/basics2/_grid.html.erb +6 -13
- data/spec/support/test_app/app/views/basics2/index.html.haml +9 -8
- data/spec/support/test_app/app/views/basics3/_grid.html.erb +5 -12
- data/spec/support/test_app/app/views/basics3/index.html.haml +10 -9
- data/spec/support/test_app/app/views/basics4/_grid.html.erb +6 -13
- data/spec/support/test_app/app/views/basics4/index.html.haml +9 -8
- data/spec/support/test_app/app/views/basics5/_grid.html.erb +5 -12
- data/spec/support/test_app/app/views/basics5/index.html.haml +9 -8
- data/spec/support/test_app/app/views/basics6/_grid.html.erb +5 -12
- data/spec/support/test_app/app/views/basics6/index.html.haml +13 -12
- data/spec/support/test_app/app/views/blockless_column_definition/_grid.html.erb +5 -12
- data/spec/support/test_app/app/views/blockless_column_definition/index.html.haml +12 -11
- data/spec/support/test_app/app/views/buttons/_grid.html.erb +6 -14
- data/spec/support/test_app/app/views/buttons/index.html.haml +20 -21
- data/spec/support/test_app/app/views/csv_and_detached_filters/_grid.html.erb +6 -15
- data/spec/support/test_app/app/views/csv_and_detached_filters/index.html.haml +7 -19
- data/spec/support/test_app/app/views/csv_export/_projects_grid.html.erb +5 -11
- data/spec/support/test_app/app/views/csv_export/_tasks_grid.html.erb +11 -19
- data/spec/support/test_app/app/views/csv_export/index.html.haml +76 -80
- data/spec/support/test_app/app/views/custom_filter_params/_grid.html.erb +2 -4
- data/spec/support/test_app/app/views/custom_filter_params/index.html.haml +9 -8
- data/spec/support/test_app/app/views/custom_filters1/_g1.html.erb +3 -6
- data/spec/support/test_app/app/views/custom_filters1/_g2.html.erb +4 -7
- data/spec/support/test_app/app/views/custom_filters1/_g3.html.erb +4 -7
- data/spec/support/test_app/app/views/custom_filters1/_g4.html.erb +3 -6
- data/spec/support/test_app/app/views/custom_filters1/index.html.haml +16 -19
- data/spec/support/test_app/app/views/custom_filters2/_grid.html.erb +9 -17
- data/spec/support/test_app/app/views/custom_filters2/index.html.haml +37 -37
- data/spec/support/test_app/app/views/custom_filters3/_grid.html.erb +5 -10
- data/spec/support/test_app/app/views/custom_filters3/index.html.haml +13 -12
- data/spec/support/test_app/app/views/custom_filters4/_grid.html.erb +8 -13
- data/spec/support/test_app/app/views/custom_filters4/index.html.haml +9 -8
- data/spec/support/test_app/app/views/custom_ordering/_grid.html.erb +4 -7
- data/spec/support/test_app/app/views/custom_ordering/index.html.haml +8 -8
- data/spec/support/test_app/app/views/custom_ordering_on_calculated/_grid.html.erb +4 -8
- data/spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml +9 -9
- data/spec/support/test_app/app/views/custom_ordering_with_arel/_grid.html.erb +4 -7
- data/spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml +7 -8
- data/spec/support/test_app/app/views/custom_ordering_with_proc/_grid.html.erb +4 -7
- data/spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml +7 -7
- data/spec/support/test_app/app/views/custom_ordering_with_ruby/_grid.html.erb +4 -7
- data/spec/support/test_app/app/views/custom_ordering_with_ruby/index.html.haml +9 -9
- data/spec/support/test_app/app/views/dates/_grid.html.erb +9 -18
- data/spec/support/test_app/app/views/dates/index.html.haml +37 -48
- data/spec/support/test_app/app/views/detached_filters/_grid.html.erb +6 -15
- data/spec/support/test_app/app/views/detached_filters/index.html.haml +29 -40
- data/spec/support/test_app/app/views/detached_filters_two_grids/_grid.html.erb +6 -15
- data/spec/support/test_app/app/views/detached_filters_two_grids/index.html.haml +5 -17
- data/spec/support/test_app/app/views/disable_all_filters/_grid.html.erb +6 -13
- data/spec/support/test_app/app/views/disable_all_filters/index.html.haml +11 -10
- data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/_grid.html.erb +8 -20
- data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/index.html.haml +19 -19
- data/spec/support/test_app/app/views/integration_with_application_view/_grid.html.erb +8 -16
- data/spec/support/test_app/app/views/integration_with_application_view/index.html.haml +27 -26
- data/spec/support/test_app/app/views/integration_with_forms/_grid.html.erb +7 -14
- data/spec/support/test_app/app/views/integration_with_forms/index.html.haml +10 -10
- data/spec/support/test_app/app/views/joining_tables/_grid.html.erb +7 -16
- data/spec/support/test_app/app/views/joining_tables/index.html.haml +22 -22
- data/spec/support/test_app/app/views/layouts/application.html.haml +33 -38
- data/spec/support/test_app/app/views/localization/_grid.html.erb +11 -21
- data/spec/support/test_app/app/views/localization/index.html.haml +8 -9
- data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid1.html.erb +3 -8
- data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid2.html.erb +3 -8
- data/spec/support/test_app/app/views/many_grids_on_page/index.html.haml +17 -19
- data/spec/support/test_app/app/views/negation/_grid.html.erb +9 -17
- data/spec/support/test_app/app/views/negation/index.html.haml +12 -11
- data/spec/support/test_app/app/views/no_records/_empty_grid.html.haml +3 -1
- data/spec/support/test_app/app/views/no_records/_grid1.html.erb +2 -6
- data/spec/support/test_app/app/views/no_records/_grid2.html.erb +2 -6
- data/spec/support/test_app/app/views/no_records/_grid3.html.erb +4 -8
- data/spec/support/test_app/app/views/no_records/index.html.haml +20 -19
- data/spec/support/test_app/app/views/null_values/_grid.html.erb +4 -10
- data/spec/support/test_app/app/views/null_values/index.html.haml +18 -17
- data/spec/support/test_app/app/views/numeric_filters/_grid.html.erb +5 -12
- data/spec/support/test_app/app/views/numeric_filters/index.html.haml +8 -8
- data/spec/support/test_app/app/views/resultset_processings/_grid.html.erb +8 -16
- data/spec/support/test_app/app/views/resultset_processings/index.html.haml +44 -43
- data/spec/support/test_app/app/views/resultset_processings2/_grid.html.erb +8 -16
- data/spec/support/test_app/app/views/resultset_processings2/index.html.haml +36 -37
- data/spec/support/test_app/app/views/saved_queries/_grid.html.erb +9 -17
- data/spec/support/test_app/app/views/saved_queries/index.html.haml +9 -9
- data/spec/support/test_app/app/views/styling/_grid1.html.erb +5 -9
- data/spec/support/test_app/app/views/styling/_grid2.html.erb +4 -10
- data/spec/support/test_app/app/views/styling/index.html.haml +41 -50
- data/spec/support/test_app/app/views/tasks/_grid.html.erb +6 -12
- data/spec/support/test_app/app/views/two_associations/_grid.html.erb +4 -11
- data/spec/support/test_app/app/views/two_associations/index.html.haml +9 -8
- data/spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb +6 -13
- data/spec/support/test_app/app/views/upper_pagination_panel/index.html.haml +11 -10
- data/spec/support/test_app/app/views/when_filtered/_grid.html.erb +5 -12
- data/spec/support/test_app/app/views/when_filtered/index.html.haml +12 -11
- data/spec/support/test_app/bin/dartsass +27 -0
- data/spec/support/test_app/bin/importmap +4 -0
- data/spec/support/test_app/config/application.rb +17 -3
- data/spec/support/test_app/config/environment.rb +20 -0
- data/spec/support/test_app/config/environments/development.rb +1 -1
- data/spec/support/test_app/config/importmap.rb +16 -0
- data/spec/support/test_app/config/initializers/assets.rb +1 -0
- data/spec/support/test_app/config/routes.rb +49 -47
- data/spec/support/test_app/vendor/javascript/.keep +0 -0
- data/spec/support/test_app/vendor/javascript/@hotwired--stimulus.js +2 -0
- data/spec/support/test_app/vendor/javascript/@stimulus-components--rails-nested-form.js +2 -0
- data/spec/support/test_app/vendor/javascript/reload_on_change.js +5 -0
- data/spec/wice/grid_output_buffer_spec.rb +50 -32
- data/spec/wice/table_column_matrix_spec.rb +65 -16
- data/spec/wice/wice_grid_misc_spec.rb +304 -156
- data/spec/wice/wice_grid_spreadsheet_spec.rb +8 -7
- data/vendor/assets/javascripts/wice_grid_init.js.coffee +5 -29
- data/vendor/assets/javascripts/wice_grid_processor.js.coffee +4 -20
- data/vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee +5 -11
- data/vendor/assets/stylesheets/wice_grid.scss +33 -0
- data/wice_grid.gemspec +38 -38
- data/yarn.lock +710 -0
- metadata +2671 -133
- data/spec/support/test_app/app/assets/javascripts/application.js +0 -20
- data/spec/support/test_app/app/assets/javascripts/common.js.coffee +0 -6
- /data/{spec/support/test_app/public/favicon.ico → node_modules/resolve/test/pathfilter/deep_ref/main.js} +0 -0
- /data/spec/support/test_app/{app/assets/javascripts → vendor/javascript}/jquery.ui.datepicker.locales.js +0 -0
@@ -0,0 +1,1703 @@
|
|
1
|
+
// Generated by CoffeeScript 2.2.1
|
2
|
+
(function() {
|
3
|
+
// The CoffeeScript Lexer. Uses a series of token-matching regexes to attempt
|
4
|
+
// matches against the beginning of the source code. When a match is found,
|
5
|
+
// a token is produced, we consume the match, and start again. Tokens are in the
|
6
|
+
// form:
|
7
|
+
|
8
|
+
// [tag, value, locationData]
|
9
|
+
|
10
|
+
// where locationData is {first_line, first_column, last_line, last_column}, which is a
|
11
|
+
// format that can be fed directly into [Jison](https://github.com/zaach/jison). These
|
12
|
+
// are read by jison in the `parser.lexer` function defined in coffeescript.coffee.
|
13
|
+
var BOM, BOOL, CALLABLE, CODE, COFFEE_ALIASES, COFFEE_ALIAS_MAP, COFFEE_KEYWORDS, COMMENT, COMPARABLE_LEFT_SIDE, COMPARE, COMPOUND_ASSIGN, CSX_ATTRIBUTE, CSX_FRAGMENT_IDENTIFIER, CSX_IDENTIFIER, CSX_INTERPOLATION, HERECOMMENT_ILLEGAL, HEREDOC_DOUBLE, HEREDOC_INDENT, HEREDOC_SINGLE, HEREGEX, HEREGEX_OMIT, HERE_JSTOKEN, IDENTIFIER, INDENTABLE_CLOSERS, INDEXABLE, INSIDE_CSX, INVERSES, JSTOKEN, JS_KEYWORDS, LEADING_BLANK_LINE, LINE_BREAK, LINE_CONTINUER, Lexer, MATH, MULTI_DENT, NOT_REGEX, NUMBER, OPERATOR, POSSIBLY_DIVISION, REGEX, REGEX_FLAGS, REGEX_ILLEGAL, REGEX_INVALID_ESCAPE, RELATION, RESERVED, Rewriter, SHIFT, SIMPLE_STRING_OMIT, STRICT_PROSCRIBED, STRING_DOUBLE, STRING_INVALID_ESCAPE, STRING_OMIT, STRING_SINGLE, STRING_START, TRAILING_BLANK_LINE, TRAILING_SPACES, UNARY, UNARY_MATH, UNFINISHED, UNICODE_CODE_POINT_ESCAPE, VALID_FLAGS, WHITESPACE, attachCommentsToNode, compact, count, invertLiterate, isForFrom, isUnassignable, key, locationDataToString, merge, repeat, starts, throwSyntaxError,
|
14
|
+
indexOf = [].indexOf,
|
15
|
+
slice = [].slice;
|
16
|
+
|
17
|
+
({Rewriter, INVERSES} = require('./rewriter'));
|
18
|
+
|
19
|
+
// Import the helpers we need.
|
20
|
+
({count, starts, compact, repeat, invertLiterate, merge, attachCommentsToNode, locationDataToString, throwSyntaxError} = require('./helpers'));
|
21
|
+
|
22
|
+
// The Lexer Class
|
23
|
+
// ---------------
|
24
|
+
|
25
|
+
// The Lexer class reads a stream of CoffeeScript and divvies it up into tagged
|
26
|
+
// tokens. Some potential ambiguity in the grammar has been avoided by
|
27
|
+
// pushing some extra smarts into the Lexer.
|
28
|
+
exports.Lexer = Lexer = class Lexer {
|
29
|
+
// **tokenize** is the Lexer's main method. Scan by attempting to match tokens
|
30
|
+
// one at a time, using a regular expression anchored at the start of the
|
31
|
+
// remaining code, or a custom recursive token-matching method
|
32
|
+
// (for interpolations). When the next token has been recorded, we move forward
|
33
|
+
// within the code past the token, and begin again.
|
34
|
+
|
35
|
+
// Each tokenizing method is responsible for returning the number of characters
|
36
|
+
// it has consumed.
|
37
|
+
|
38
|
+
// Before returning the token stream, run it through the [Rewriter](rewriter.html).
|
39
|
+
tokenize(code, opts = {}) {
|
40
|
+
var consumed, end, i, ref;
|
41
|
+
this.literate = opts.literate; // Are we lexing literate CoffeeScript?
|
42
|
+
this.indent = 0; // The current indentation level.
|
43
|
+
this.baseIndent = 0; // The overall minimum indentation level.
|
44
|
+
this.indebt = 0; // The over-indentation at the current level.
|
45
|
+
this.outdebt = 0; // The under-outdentation at the current level.
|
46
|
+
this.indents = []; // The stack of all current indentation levels.
|
47
|
+
this.indentLiteral = ''; // The indentation.
|
48
|
+
this.ends = []; // The stack for pairing up tokens.
|
49
|
+
this.tokens = []; // Stream of parsed tokens in the form `['TYPE', value, location data]`.
|
50
|
+
this.seenFor = false; // Used to recognize `FORIN`, `FOROF` and `FORFROM` tokens.
|
51
|
+
this.seenImport = false; // Used to recognize `IMPORT FROM? AS?` tokens.
|
52
|
+
this.seenExport = false; // Used to recognize `EXPORT FROM? AS?` tokens.
|
53
|
+
this.importSpecifierList = false; // Used to identify when in an `IMPORT {...} FROM? ...`.
|
54
|
+
this.exportSpecifierList = false; // Used to identify when in an `EXPORT {...} FROM? ...`.
|
55
|
+
this.csxDepth = 0; // Used to optimize CSX checks, how deep in CSX we are.
|
56
|
+
this.csxObjAttribute = {}; // Used to detect if CSX attributes is wrapped in {} (<div {props...} />).
|
57
|
+
this.chunkLine = opts.line || 0; // The start line for the current @chunk.
|
58
|
+
this.chunkColumn = opts.column || 0; // The start column of the current @chunk.
|
59
|
+
code = this.clean(code); // The stripped, cleaned original source code.
|
60
|
+
|
61
|
+
// At every position, run through this list of attempted matches,
|
62
|
+
// short-circuiting if any of them succeed. Their order determines precedence:
|
63
|
+
// `@literalToken` is the fallback catch-all.
|
64
|
+
i = 0;
|
65
|
+
while (this.chunk = code.slice(i)) {
|
66
|
+
consumed = this.identifierToken() || this.commentToken() || this.whitespaceToken() || this.lineToken() || this.stringToken() || this.numberToken() || this.csxToken() || this.regexToken() || this.jsToken() || this.literalToken();
|
67
|
+
// Update position.
|
68
|
+
[this.chunkLine, this.chunkColumn] = this.getLineAndColumnFromChunk(consumed);
|
69
|
+
i += consumed;
|
70
|
+
if (opts.untilBalanced && this.ends.length === 0) {
|
71
|
+
return {
|
72
|
+
tokens: this.tokens,
|
73
|
+
index: i
|
74
|
+
};
|
75
|
+
}
|
76
|
+
}
|
77
|
+
this.closeIndentation();
|
78
|
+
if (end = this.ends.pop()) {
|
79
|
+
this.error(`missing ${end.tag}`, ((ref = end.origin) != null ? ref : end)[2]);
|
80
|
+
}
|
81
|
+
if (opts.rewrite === false) {
|
82
|
+
return this.tokens;
|
83
|
+
}
|
84
|
+
return (new Rewriter).rewrite(this.tokens);
|
85
|
+
}
|
86
|
+
|
87
|
+
// Preprocess the code to remove leading and trailing whitespace, carriage
|
88
|
+
// returns, etc. If we’re lexing literate CoffeeScript, strip external Markdown
|
89
|
+
// by removing all lines that aren’t indented by at least four spaces or a tab.
|
90
|
+
clean(code) {
|
91
|
+
if (code.charCodeAt(0) === BOM) {
|
92
|
+
code = code.slice(1);
|
93
|
+
}
|
94
|
+
code = code.replace(/\r/g, '').replace(TRAILING_SPACES, '');
|
95
|
+
if (WHITESPACE.test(code)) {
|
96
|
+
code = `\n${code}`;
|
97
|
+
this.chunkLine--;
|
98
|
+
}
|
99
|
+
if (this.literate) {
|
100
|
+
code = invertLiterate(code);
|
101
|
+
}
|
102
|
+
return code;
|
103
|
+
}
|
104
|
+
|
105
|
+
// Tokenizers
|
106
|
+
// ----------
|
107
|
+
|
108
|
+
// Matches identifying literals: variables, keywords, method names, etc.
|
109
|
+
// Check to ensure that JavaScript reserved words aren’t being used as
|
110
|
+
// identifiers. Because CoffeeScript reserves a handful of keywords that are
|
111
|
+
// allowed in JavaScript, we’re careful not to tag them as keywords when
|
112
|
+
// referenced as property names here, so you can still do `jQuery.is()` even
|
113
|
+
// though `is` means `===` otherwise.
|
114
|
+
identifierToken() {
|
115
|
+
var alias, colon, colonOffset, colonToken, id, idLength, inCSXTag, input, match, poppedToken, prev, prevprev, ref, ref1, ref10, ref2, ref3, ref4, ref5, ref6, ref7, ref8, ref9, regExSuper, regex, sup, tag, tagToken;
|
116
|
+
inCSXTag = this.atCSXTag();
|
117
|
+
regex = inCSXTag ? CSX_ATTRIBUTE : IDENTIFIER;
|
118
|
+
if (!(match = regex.exec(this.chunk))) {
|
119
|
+
return 0;
|
120
|
+
}
|
121
|
+
[input, id, colon] = match;
|
122
|
+
// Preserve length of id for location data
|
123
|
+
idLength = id.length;
|
124
|
+
poppedToken = void 0;
|
125
|
+
if (id === 'own' && this.tag() === 'FOR') {
|
126
|
+
this.token('OWN', id);
|
127
|
+
return id.length;
|
128
|
+
}
|
129
|
+
if (id === 'from' && this.tag() === 'YIELD') {
|
130
|
+
this.token('FROM', id);
|
131
|
+
return id.length;
|
132
|
+
}
|
133
|
+
if (id === 'as' && this.seenImport) {
|
134
|
+
if (this.value() === '*') {
|
135
|
+
this.tokens[this.tokens.length - 1][0] = 'IMPORT_ALL';
|
136
|
+
} else if (ref = this.value(true), indexOf.call(COFFEE_KEYWORDS, ref) >= 0) {
|
137
|
+
prev = this.prev();
|
138
|
+
[prev[0], prev[1]] = ['IDENTIFIER', this.value(true)];
|
139
|
+
}
|
140
|
+
if ((ref1 = this.tag()) === 'DEFAULT' || ref1 === 'IMPORT_ALL' || ref1 === 'IDENTIFIER') {
|
141
|
+
this.token('AS', id);
|
142
|
+
return id.length;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
if (id === 'as' && this.seenExport) {
|
146
|
+
if ((ref2 = this.tag()) === 'IDENTIFIER' || ref2 === 'DEFAULT') {
|
147
|
+
this.token('AS', id);
|
148
|
+
return id.length;
|
149
|
+
}
|
150
|
+
if (ref3 = this.value(true), indexOf.call(COFFEE_KEYWORDS, ref3) >= 0) {
|
151
|
+
prev = this.prev();
|
152
|
+
[prev[0], prev[1]] = ['IDENTIFIER', this.value(true)];
|
153
|
+
this.token('AS', id);
|
154
|
+
return id.length;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
if (id === 'default' && this.seenExport && ((ref4 = this.tag()) === 'EXPORT' || ref4 === 'AS')) {
|
158
|
+
this.token('DEFAULT', id);
|
159
|
+
return id.length;
|
160
|
+
}
|
161
|
+
if (id === 'do' && (regExSuper = /^(\s*super)(?!\(\))/.exec(this.chunk.slice(3)))) {
|
162
|
+
this.token('SUPER', 'super');
|
163
|
+
this.token('CALL_START', '(');
|
164
|
+
this.token('CALL_END', ')');
|
165
|
+
[input, sup] = regExSuper;
|
166
|
+
return sup.length + 3;
|
167
|
+
}
|
168
|
+
prev = this.prev();
|
169
|
+
tag = colon || (prev != null) && (((ref5 = prev[0]) === '.' || ref5 === '?.' || ref5 === '::' || ref5 === '?::') || !prev.spaced && prev[0] === '@') ? 'PROPERTY' : 'IDENTIFIER';
|
170
|
+
if (tag === 'IDENTIFIER' && (indexOf.call(JS_KEYWORDS, id) >= 0 || indexOf.call(COFFEE_KEYWORDS, id) >= 0) && !(this.exportSpecifierList && indexOf.call(COFFEE_KEYWORDS, id) >= 0)) {
|
171
|
+
tag = id.toUpperCase();
|
172
|
+
if (tag === 'WHEN' && (ref6 = this.tag(), indexOf.call(LINE_BREAK, ref6) >= 0)) {
|
173
|
+
tag = 'LEADING_WHEN';
|
174
|
+
} else if (tag === 'FOR') {
|
175
|
+
this.seenFor = true;
|
176
|
+
} else if (tag === 'UNLESS') {
|
177
|
+
tag = 'IF';
|
178
|
+
} else if (tag === 'IMPORT') {
|
179
|
+
this.seenImport = true;
|
180
|
+
} else if (tag === 'EXPORT') {
|
181
|
+
this.seenExport = true;
|
182
|
+
} else if (indexOf.call(UNARY, tag) >= 0) {
|
183
|
+
tag = 'UNARY';
|
184
|
+
} else if (indexOf.call(RELATION, tag) >= 0) {
|
185
|
+
if (tag !== 'INSTANCEOF' && this.seenFor) {
|
186
|
+
tag = 'FOR' + tag;
|
187
|
+
this.seenFor = false;
|
188
|
+
} else {
|
189
|
+
tag = 'RELATION';
|
190
|
+
if (this.value() === '!') {
|
191
|
+
poppedToken = this.tokens.pop();
|
192
|
+
id = '!' + id;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
} else if (tag === 'IDENTIFIER' && this.seenFor && id === 'from' && isForFrom(prev)) {
|
197
|
+
tag = 'FORFROM';
|
198
|
+
this.seenFor = false;
|
199
|
+
// Throw an error on attempts to use `get` or `set` as keywords, or
|
200
|
+
// what CoffeeScript would normally interpret as calls to functions named
|
201
|
+
// `get` or `set`, i.e. `get({foo: function () {}})`.
|
202
|
+
} else if (tag === 'PROPERTY' && prev) {
|
203
|
+
if (prev.spaced && (ref7 = prev[0], indexOf.call(CALLABLE, ref7) >= 0) && /^[gs]et$/.test(prev[1]) && this.tokens.length > 1 && ((ref8 = this.tokens[this.tokens.length - 2][0]) !== '.' && ref8 !== '?.' && ref8 !== '@')) {
|
204
|
+
this.error(`'${prev[1]}' cannot be used as a keyword, or as a function call without parentheses`, prev[2]);
|
205
|
+
} else if (this.tokens.length > 2) {
|
206
|
+
prevprev = this.tokens[this.tokens.length - 2];
|
207
|
+
if (((ref9 = prev[0]) === '@' || ref9 === 'THIS') && prevprev && prevprev.spaced && /^[gs]et$/.test(prevprev[1]) && ((ref10 = this.tokens[this.tokens.length - 3][0]) !== '.' && ref10 !== '?.' && ref10 !== '@')) {
|
208
|
+
this.error(`'${prevprev[1]}' cannot be used as a keyword, or as a function call without parentheses`, prevprev[2]);
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
if (tag === 'IDENTIFIER' && indexOf.call(RESERVED, id) >= 0) {
|
213
|
+
this.error(`reserved word '${id}'`, {
|
214
|
+
length: id.length
|
215
|
+
});
|
216
|
+
}
|
217
|
+
if (!(tag === 'PROPERTY' || this.exportSpecifierList)) {
|
218
|
+
if (indexOf.call(COFFEE_ALIASES, id) >= 0) {
|
219
|
+
alias = id;
|
220
|
+
id = COFFEE_ALIAS_MAP[id];
|
221
|
+
}
|
222
|
+
tag = (function() {
|
223
|
+
switch (id) {
|
224
|
+
case '!':
|
225
|
+
return 'UNARY';
|
226
|
+
case '==':
|
227
|
+
case '!=':
|
228
|
+
return 'COMPARE';
|
229
|
+
case 'true':
|
230
|
+
case 'false':
|
231
|
+
return 'BOOL';
|
232
|
+
case 'break':
|
233
|
+
case 'continue':
|
234
|
+
case 'debugger':
|
235
|
+
return 'STATEMENT';
|
236
|
+
case '&&':
|
237
|
+
case '||':
|
238
|
+
return id;
|
239
|
+
default:
|
240
|
+
return tag;
|
241
|
+
}
|
242
|
+
})();
|
243
|
+
}
|
244
|
+
tagToken = this.token(tag, id, 0, idLength);
|
245
|
+
if (alias) {
|
246
|
+
tagToken.origin = [tag, alias, tagToken[2]];
|
247
|
+
}
|
248
|
+
if (poppedToken) {
|
249
|
+
[tagToken[2].first_line, tagToken[2].first_column] = [poppedToken[2].first_line, poppedToken[2].first_column];
|
250
|
+
}
|
251
|
+
if (colon) {
|
252
|
+
colonOffset = input.lastIndexOf(inCSXTag ? '=' : ':');
|
253
|
+
colonToken = this.token(':', ':', colonOffset, colon.length);
|
254
|
+
if (inCSXTag) { // used by rewriter
|
255
|
+
colonToken.csxColon = true;
|
256
|
+
}
|
257
|
+
}
|
258
|
+
if (inCSXTag && tag === 'IDENTIFIER' && prev[0] !== ':') {
|
259
|
+
this.token(',', ',', 0, 0, tagToken);
|
260
|
+
}
|
261
|
+
return input.length;
|
262
|
+
}
|
263
|
+
|
264
|
+
// Matches numbers, including decimals, hex, and exponential notation.
|
265
|
+
// Be careful not to interfere with ranges in progress.
|
266
|
+
numberToken() {
|
267
|
+
var base, lexedLength, match, number, numberValue, tag;
|
268
|
+
if (!(match = NUMBER.exec(this.chunk))) {
|
269
|
+
return 0;
|
270
|
+
}
|
271
|
+
number = match[0];
|
272
|
+
lexedLength = number.length;
|
273
|
+
switch (false) {
|
274
|
+
case !/^0[BOX]/.test(number):
|
275
|
+
this.error(`radix prefix in '${number}' must be lowercase`, {
|
276
|
+
offset: 1
|
277
|
+
});
|
278
|
+
break;
|
279
|
+
case !/^(?!0x).*E/.test(number):
|
280
|
+
this.error(`exponential notation in '${number}' must be indicated with a lowercase 'e'`, {
|
281
|
+
offset: number.indexOf('E')
|
282
|
+
});
|
283
|
+
break;
|
284
|
+
case !/^0\d*[89]/.test(number):
|
285
|
+
this.error(`decimal literal '${number}' must not be prefixed with '0'`, {
|
286
|
+
length: lexedLength
|
287
|
+
});
|
288
|
+
break;
|
289
|
+
case !/^0\d+/.test(number):
|
290
|
+
this.error(`octal literal '${number}' must be prefixed with '0o'`, {
|
291
|
+
length: lexedLength
|
292
|
+
});
|
293
|
+
}
|
294
|
+
base = (function() {
|
295
|
+
switch (number.charAt(1)) {
|
296
|
+
case 'b':
|
297
|
+
return 2;
|
298
|
+
case 'o':
|
299
|
+
return 8;
|
300
|
+
case 'x':
|
301
|
+
return 16;
|
302
|
+
default:
|
303
|
+
return null;
|
304
|
+
}
|
305
|
+
})();
|
306
|
+
numberValue = base != null ? parseInt(number.slice(2), base) : parseFloat(number);
|
307
|
+
tag = numberValue === 2e308 ? 'INFINITY' : 'NUMBER';
|
308
|
+
this.token(tag, number, 0, lexedLength);
|
309
|
+
return lexedLength;
|
310
|
+
}
|
311
|
+
|
312
|
+
// Matches strings, including multiline strings, as well as heredocs, with or without
|
313
|
+
// interpolation.
|
314
|
+
stringToken() {
|
315
|
+
var $, attempt, delimiter, doc, end, heredoc, i, indent, indentRegex, match, prev, quote, ref, regex, token, tokens;
|
316
|
+
[quote] = STRING_START.exec(this.chunk) || [];
|
317
|
+
if (!quote) {
|
318
|
+
return 0;
|
319
|
+
}
|
320
|
+
// If the preceding token is `from` and this is an import or export statement,
|
321
|
+
// properly tag the `from`.
|
322
|
+
prev = this.prev();
|
323
|
+
if (prev && this.value() === 'from' && (this.seenImport || this.seenExport)) {
|
324
|
+
prev[0] = 'FROM';
|
325
|
+
}
|
326
|
+
regex = (function() {
|
327
|
+
switch (quote) {
|
328
|
+
case "'":
|
329
|
+
return STRING_SINGLE;
|
330
|
+
case '"':
|
331
|
+
return STRING_DOUBLE;
|
332
|
+
case "'''":
|
333
|
+
return HEREDOC_SINGLE;
|
334
|
+
case '"""':
|
335
|
+
return HEREDOC_DOUBLE;
|
336
|
+
}
|
337
|
+
})();
|
338
|
+
heredoc = quote.length === 3;
|
339
|
+
({
|
340
|
+
tokens,
|
341
|
+
index: end
|
342
|
+
} = this.matchWithInterpolations(regex, quote));
|
343
|
+
$ = tokens.length - 1;
|
344
|
+
delimiter = quote.charAt(0);
|
345
|
+
if (heredoc) {
|
346
|
+
// Find the smallest indentation. It will be removed from all lines later.
|
347
|
+
indent = null;
|
348
|
+
doc = ((function() {
|
349
|
+
var j, len, results;
|
350
|
+
results = [];
|
351
|
+
for (i = j = 0, len = tokens.length; j < len; i = ++j) {
|
352
|
+
token = tokens[i];
|
353
|
+
if (token[0] === 'NEOSTRING') {
|
354
|
+
results.push(token[1]);
|
355
|
+
}
|
356
|
+
}
|
357
|
+
return results;
|
358
|
+
})()).join('#{}');
|
359
|
+
while (match = HEREDOC_INDENT.exec(doc)) {
|
360
|
+
attempt = match[1];
|
361
|
+
if (indent === null || (0 < (ref = attempt.length) && ref < indent.length)) {
|
362
|
+
indent = attempt;
|
363
|
+
}
|
364
|
+
}
|
365
|
+
if (indent) {
|
366
|
+
indentRegex = RegExp(`\\n${indent}`, "g");
|
367
|
+
}
|
368
|
+
this.mergeInterpolationTokens(tokens, {delimiter}, (value, i) => {
|
369
|
+
value = this.formatString(value, {
|
370
|
+
delimiter: quote
|
371
|
+
});
|
372
|
+
if (indentRegex) {
|
373
|
+
value = value.replace(indentRegex, '\n');
|
374
|
+
}
|
375
|
+
if (i === 0) {
|
376
|
+
value = value.replace(LEADING_BLANK_LINE, '');
|
377
|
+
}
|
378
|
+
if (i === $) {
|
379
|
+
value = value.replace(TRAILING_BLANK_LINE, '');
|
380
|
+
}
|
381
|
+
return value;
|
382
|
+
});
|
383
|
+
} else {
|
384
|
+
this.mergeInterpolationTokens(tokens, {delimiter}, (value, i) => {
|
385
|
+
value = this.formatString(value, {
|
386
|
+
delimiter: quote
|
387
|
+
});
|
388
|
+
value = value.replace(SIMPLE_STRING_OMIT, function(match, offset) {
|
389
|
+
if ((i === 0 && offset === 0) || (i === $ && offset + match.length === value.length)) {
|
390
|
+
return '';
|
391
|
+
} else {
|
392
|
+
return ' ';
|
393
|
+
}
|
394
|
+
});
|
395
|
+
return value;
|
396
|
+
});
|
397
|
+
}
|
398
|
+
if (this.atCSXTag()) {
|
399
|
+
this.token(',', ',', 0, 0, this.prev);
|
400
|
+
}
|
401
|
+
return end;
|
402
|
+
}
|
403
|
+
|
404
|
+
// Matches and consumes comments. The comments are taken out of the token
|
405
|
+
// stream and saved for later, to be reinserted into the output after
|
406
|
+
// everything has been parsed and the JavaScript code generated.
|
407
|
+
commentToken(chunk = this.chunk) {
|
408
|
+
var comment, commentAttachments, content, contents, here, i, match, matchIllegal, newLine, placeholderToken, prev;
|
409
|
+
if (!(match = chunk.match(COMMENT))) {
|
410
|
+
return 0;
|
411
|
+
}
|
412
|
+
[comment, here] = match;
|
413
|
+
contents = null;
|
414
|
+
// Does this comment follow code on the same line?
|
415
|
+
newLine = /^\s*\n+\s*#/.test(comment);
|
416
|
+
if (here) {
|
417
|
+
matchIllegal = HERECOMMENT_ILLEGAL.exec(comment);
|
418
|
+
if (matchIllegal) {
|
419
|
+
this.error(`block comments cannot contain ${matchIllegal[0]}`, {
|
420
|
+
offset: matchIllegal.index,
|
421
|
+
length: matchIllegal[0].length
|
422
|
+
});
|
423
|
+
}
|
424
|
+
// Parse indentation or outdentation as if this block comment didn’t exist.
|
425
|
+
chunk = chunk.replace(`###${here}###`, '');
|
426
|
+
// Remove leading newlines, like `Rewriter::removeLeadingNewlines`, to
|
427
|
+
// avoid the creation of unwanted `TERMINATOR` tokens.
|
428
|
+
chunk = chunk.replace(/^\n+/, '');
|
429
|
+
this.lineToken(chunk);
|
430
|
+
// Pull out the ###-style comment’s content, and format it.
|
431
|
+
content = here;
|
432
|
+
if (indexOf.call(content, '\n') >= 0) {
|
433
|
+
content = content.replace(RegExp(`\\n${repeat(' ', this.indent)}`, "g"), '\n');
|
434
|
+
}
|
435
|
+
contents = [content];
|
436
|
+
} else {
|
437
|
+
// The `COMMENT` regex captures successive line comments as one token.
|
438
|
+
// Remove any leading newlines before the first comment, but preserve
|
439
|
+
// blank lines between line comments.
|
440
|
+
content = comment.replace(/^(\n*)/, '');
|
441
|
+
content = content.replace(/^([ |\t]*)#/gm, '');
|
442
|
+
contents = content.split('\n');
|
443
|
+
}
|
444
|
+
commentAttachments = (function() {
|
445
|
+
var j, len, results;
|
446
|
+
results = [];
|
447
|
+
for (i = j = 0, len = contents.length; j < len; i = ++j) {
|
448
|
+
content = contents[i];
|
449
|
+
results.push({
|
450
|
+
content: content,
|
451
|
+
here: here != null,
|
452
|
+
newLine: newLine || i !== 0 // Line comments after the first one start new lines, by definition.
|
453
|
+
});
|
454
|
+
}
|
455
|
+
return results;
|
456
|
+
})();
|
457
|
+
prev = this.prev();
|
458
|
+
if (!prev) {
|
459
|
+
// If there’s no previous token, create a placeholder token to attach
|
460
|
+
// this comment to; and follow with a newline.
|
461
|
+
commentAttachments[0].newLine = true;
|
462
|
+
this.lineToken(this.chunk.slice(comment.length));
|
463
|
+
placeholderToken = this.makeToken('JS', '');
|
464
|
+
placeholderToken.generated = true;
|
465
|
+
placeholderToken.comments = commentAttachments;
|
466
|
+
this.tokens.push(placeholderToken);
|
467
|
+
this.newlineToken(0);
|
468
|
+
} else {
|
469
|
+
attachCommentsToNode(commentAttachments, prev);
|
470
|
+
}
|
471
|
+
return comment.length;
|
472
|
+
}
|
473
|
+
|
474
|
+
// Matches JavaScript interpolated directly into the source via backticks.
|
475
|
+
jsToken() {
|
476
|
+
var match, script;
|
477
|
+
if (!(this.chunk.charAt(0) === '`' && (match = HERE_JSTOKEN.exec(this.chunk) || JSTOKEN.exec(this.chunk)))) {
|
478
|
+
return 0;
|
479
|
+
}
|
480
|
+
// Convert escaped backticks to backticks, and escaped backslashes
|
481
|
+
// just before escaped backticks to backslashes
|
482
|
+
script = match[1].replace(/\\+(`|$)/g, function(string) {
|
483
|
+
// `string` is always a value like '\`', '\\\`', '\\\\\`', etc.
|
484
|
+
// By reducing it to its latter half, we turn '\`' to '`', '\\\`' to '\`', etc.
|
485
|
+
return string.slice(-Math.ceil(string.length / 2));
|
486
|
+
});
|
487
|
+
this.token('JS', script, 0, match[0].length);
|
488
|
+
return match[0].length;
|
489
|
+
}
|
490
|
+
|
491
|
+
// Matches regular expression literals, as well as multiline extended ones.
|
492
|
+
// Lexing regular expressions is difficult to distinguish from division, so we
|
493
|
+
// borrow some basic heuristics from JavaScript and Ruby.
|
494
|
+
regexToken() {
|
495
|
+
var body, closed, comment, comments, end, flags, index, j, len, match, origin, prev, ref, ref1, regex, tokens;
|
496
|
+
switch (false) {
|
497
|
+
case !(match = REGEX_ILLEGAL.exec(this.chunk)):
|
498
|
+
this.error(`regular expressions cannot begin with ${match[2]}`, {
|
499
|
+
offset: match.index + match[1].length
|
500
|
+
});
|
501
|
+
break;
|
502
|
+
case !(match = this.matchWithInterpolations(HEREGEX, '///')):
|
503
|
+
({tokens, index} = match);
|
504
|
+
comments = this.chunk.slice(0, index).match(/\s+(#(?!{).*)/g);
|
505
|
+
if (comments) {
|
506
|
+
for (j = 0, len = comments.length; j < len; j++) {
|
507
|
+
comment = comments[j];
|
508
|
+
this.commentToken(comment);
|
509
|
+
}
|
510
|
+
}
|
511
|
+
break;
|
512
|
+
case !(match = REGEX.exec(this.chunk)):
|
513
|
+
[regex, body, closed] = match;
|
514
|
+
this.validateEscapes(body, {
|
515
|
+
isRegex: true,
|
516
|
+
offsetInChunk: 1
|
517
|
+
});
|
518
|
+
index = regex.length;
|
519
|
+
prev = this.prev();
|
520
|
+
if (prev) {
|
521
|
+
if (prev.spaced && (ref = prev[0], indexOf.call(CALLABLE, ref) >= 0)) {
|
522
|
+
if (!closed || POSSIBLY_DIVISION.test(regex)) {
|
523
|
+
return 0;
|
524
|
+
}
|
525
|
+
} else if (ref1 = prev[0], indexOf.call(NOT_REGEX, ref1) >= 0) {
|
526
|
+
return 0;
|
527
|
+
}
|
528
|
+
}
|
529
|
+
if (!closed) {
|
530
|
+
this.error('missing / (unclosed regex)');
|
531
|
+
}
|
532
|
+
break;
|
533
|
+
default:
|
534
|
+
return 0;
|
535
|
+
}
|
536
|
+
[flags] = REGEX_FLAGS.exec(this.chunk.slice(index));
|
537
|
+
end = index + flags.length;
|
538
|
+
origin = this.makeToken('REGEX', null, 0, end);
|
539
|
+
switch (false) {
|
540
|
+
case !!VALID_FLAGS.test(flags):
|
541
|
+
this.error(`invalid regular expression flags ${flags}`, {
|
542
|
+
offset: index,
|
543
|
+
length: flags.length
|
544
|
+
});
|
545
|
+
break;
|
546
|
+
case !(regex || tokens.length === 1):
|
547
|
+
if (body) {
|
548
|
+
body = this.formatRegex(body, {
|
549
|
+
flags,
|
550
|
+
delimiter: '/'
|
551
|
+
});
|
552
|
+
} else {
|
553
|
+
body = this.formatHeregex(tokens[0][1], {flags});
|
554
|
+
}
|
555
|
+
this.token('REGEX', `${this.makeDelimitedLiteral(body, {
|
556
|
+
delimiter: '/'
|
557
|
+
})}${flags}`, 0, end, origin);
|
558
|
+
break;
|
559
|
+
default:
|
560
|
+
this.token('REGEX_START', '(', 0, 0, origin);
|
561
|
+
this.token('IDENTIFIER', 'RegExp', 0, 0);
|
562
|
+
this.token('CALL_START', '(', 0, 0);
|
563
|
+
this.mergeInterpolationTokens(tokens, {
|
564
|
+
delimiter: '"',
|
565
|
+
double: true
|
566
|
+
}, (str) => {
|
567
|
+
return this.formatHeregex(str, {flags});
|
568
|
+
});
|
569
|
+
if (flags) {
|
570
|
+
this.token(',', ',', index - 1, 0);
|
571
|
+
this.token('STRING', '"' + flags + '"', index - 1, flags.length);
|
572
|
+
}
|
573
|
+
this.token(')', ')', end - 1, 0);
|
574
|
+
this.token('REGEX_END', ')', end - 1, 0);
|
575
|
+
}
|
576
|
+
return end;
|
577
|
+
}
|
578
|
+
|
579
|
+
// Matches newlines, indents, and outdents, and determines which is which.
|
580
|
+
// If we can detect that the current line is continued onto the next line,
|
581
|
+
// then the newline is suppressed:
|
582
|
+
|
583
|
+
// elements
|
584
|
+
// .each( ... )
|
585
|
+
// .map( ... )
|
586
|
+
|
587
|
+
// Keeps track of the level of indentation, because a single outdent token
|
588
|
+
// can close multiple indents, so we need to know how far in we happen to be.
|
589
|
+
lineToken(chunk = this.chunk) {
|
590
|
+
var backslash, diff, indent, match, minLiteralLength, newIndentLiteral, noNewlines, prev, size;
|
591
|
+
if (!(match = MULTI_DENT.exec(chunk))) {
|
592
|
+
return 0;
|
593
|
+
}
|
594
|
+
indent = match[0];
|
595
|
+
prev = this.prev();
|
596
|
+
backslash = (prev != null) && prev[0] === '\\';
|
597
|
+
if (!(backslash && this.seenFor)) {
|
598
|
+
this.seenFor = false;
|
599
|
+
}
|
600
|
+
if (!this.importSpecifierList) {
|
601
|
+
this.seenImport = false;
|
602
|
+
}
|
603
|
+
if (!this.exportSpecifierList) {
|
604
|
+
this.seenExport = false;
|
605
|
+
}
|
606
|
+
size = indent.length - 1 - indent.lastIndexOf('\n');
|
607
|
+
noNewlines = this.unfinished();
|
608
|
+
newIndentLiteral = size > 0 ? indent.slice(-size) : '';
|
609
|
+
if (!/^(.?)\1*$/.exec(newIndentLiteral)) {
|
610
|
+
this.error('mixed indentation', {
|
611
|
+
offset: indent.length
|
612
|
+
});
|
613
|
+
return indent.length;
|
614
|
+
}
|
615
|
+
minLiteralLength = Math.min(newIndentLiteral.length, this.indentLiteral.length);
|
616
|
+
if (newIndentLiteral.slice(0, minLiteralLength) !== this.indentLiteral.slice(0, minLiteralLength)) {
|
617
|
+
this.error('indentation mismatch', {
|
618
|
+
offset: indent.length
|
619
|
+
});
|
620
|
+
return indent.length;
|
621
|
+
}
|
622
|
+
if (size - this.indebt === this.indent) {
|
623
|
+
if (noNewlines) {
|
624
|
+
this.suppressNewlines();
|
625
|
+
} else {
|
626
|
+
this.newlineToken(0);
|
627
|
+
}
|
628
|
+
return indent.length;
|
629
|
+
}
|
630
|
+
if (size > this.indent) {
|
631
|
+
if (noNewlines) {
|
632
|
+
this.indebt = size - this.indent;
|
633
|
+
this.suppressNewlines();
|
634
|
+
return indent.length;
|
635
|
+
}
|
636
|
+
if (!this.tokens.length) {
|
637
|
+
this.baseIndent = this.indent = size;
|
638
|
+
this.indentLiteral = newIndentLiteral;
|
639
|
+
return indent.length;
|
640
|
+
}
|
641
|
+
diff = size - this.indent + this.outdebt;
|
642
|
+
this.token('INDENT', diff, indent.length - size, size);
|
643
|
+
this.indents.push(diff);
|
644
|
+
this.ends.push({
|
645
|
+
tag: 'OUTDENT'
|
646
|
+
});
|
647
|
+
this.outdebt = this.indebt = 0;
|
648
|
+
this.indent = size;
|
649
|
+
this.indentLiteral = newIndentLiteral;
|
650
|
+
} else if (size < this.baseIndent) {
|
651
|
+
this.error('missing indentation', {
|
652
|
+
offset: indent.length
|
653
|
+
});
|
654
|
+
} else {
|
655
|
+
this.indebt = 0;
|
656
|
+
this.outdentToken(this.indent - size, noNewlines, indent.length);
|
657
|
+
}
|
658
|
+
return indent.length;
|
659
|
+
}
|
660
|
+
|
661
|
+
// Record an outdent token or multiple tokens, if we happen to be moving back
|
662
|
+
// inwards past several recorded indents. Sets new @indent value.
|
663
|
+
outdentToken(moveOut, noNewlines, outdentLength) {
|
664
|
+
var decreasedIndent, dent, lastIndent, ref;
|
665
|
+
decreasedIndent = this.indent - moveOut;
|
666
|
+
while (moveOut > 0) {
|
667
|
+
lastIndent = this.indents[this.indents.length - 1];
|
668
|
+
if (!lastIndent) {
|
669
|
+
this.outdebt = moveOut = 0;
|
670
|
+
} else if (this.outdebt && moveOut <= this.outdebt) {
|
671
|
+
this.outdebt -= moveOut;
|
672
|
+
moveOut = 0;
|
673
|
+
} else {
|
674
|
+
dent = this.indents.pop() + this.outdebt;
|
675
|
+
if (outdentLength && (ref = this.chunk[outdentLength], indexOf.call(INDENTABLE_CLOSERS, ref) >= 0)) {
|
676
|
+
decreasedIndent -= dent - moveOut;
|
677
|
+
moveOut = dent;
|
678
|
+
}
|
679
|
+
this.outdebt = 0;
|
680
|
+
// pair might call outdentToken, so preserve decreasedIndent
|
681
|
+
this.pair('OUTDENT');
|
682
|
+
this.token('OUTDENT', moveOut, 0, outdentLength);
|
683
|
+
moveOut -= dent;
|
684
|
+
}
|
685
|
+
}
|
686
|
+
if (dent) {
|
687
|
+
this.outdebt -= moveOut;
|
688
|
+
}
|
689
|
+
this.suppressSemicolons();
|
690
|
+
if (!(this.tag() === 'TERMINATOR' || noNewlines)) {
|
691
|
+
this.token('TERMINATOR', '\n', outdentLength, 0);
|
692
|
+
}
|
693
|
+
this.indent = decreasedIndent;
|
694
|
+
this.indentLiteral = this.indentLiteral.slice(0, decreasedIndent);
|
695
|
+
return this;
|
696
|
+
}
|
697
|
+
|
698
|
+
// Matches and consumes non-meaningful whitespace. Tag the previous token
|
699
|
+
// as being “spaced”, because there are some cases where it makes a difference.
|
700
|
+
whitespaceToken() {
|
701
|
+
var match, nline, prev;
|
702
|
+
if (!((match = WHITESPACE.exec(this.chunk)) || (nline = this.chunk.charAt(0) === '\n'))) {
|
703
|
+
return 0;
|
704
|
+
}
|
705
|
+
prev = this.prev();
|
706
|
+
if (prev) {
|
707
|
+
prev[match ? 'spaced' : 'newLine'] = true;
|
708
|
+
}
|
709
|
+
if (match) {
|
710
|
+
return match[0].length;
|
711
|
+
} else {
|
712
|
+
return 0;
|
713
|
+
}
|
714
|
+
}
|
715
|
+
|
716
|
+
// Generate a newline token. Consecutive newlines get merged together.
|
717
|
+
newlineToken(offset) {
|
718
|
+
this.suppressSemicolons();
|
719
|
+
if (this.tag() !== 'TERMINATOR') {
|
720
|
+
this.token('TERMINATOR', '\n', offset, 0);
|
721
|
+
}
|
722
|
+
return this;
|
723
|
+
}
|
724
|
+
|
725
|
+
// Use a `\` at a line-ending to suppress the newline.
|
726
|
+
// The slash is removed here once its job is done.
|
727
|
+
suppressNewlines() {
|
728
|
+
var prev;
|
729
|
+
prev = this.prev();
|
730
|
+
if (prev[1] === '\\') {
|
731
|
+
if (prev.comments && this.tokens.length > 1) {
|
732
|
+
// `@tokens.length` should be at least 2 (some code, then `\`).
|
733
|
+
// If something puts a `\` after nothing, they deserve to lose any
|
734
|
+
// comments that trail it.
|
735
|
+
attachCommentsToNode(prev.comments, this.tokens[this.tokens.length - 2]);
|
736
|
+
}
|
737
|
+
this.tokens.pop();
|
738
|
+
}
|
739
|
+
return this;
|
740
|
+
}
|
741
|
+
|
742
|
+
// CSX is like JSX but for CoffeeScript.
|
743
|
+
csxToken() {
|
744
|
+
var afterTag, colon, csxTag, end, firstChar, id, input, match, origin, prev, prevChar, ref, token, tokens;
|
745
|
+
firstChar = this.chunk[0];
|
746
|
+
// Check the previous token to detect if attribute is spread.
|
747
|
+
prevChar = this.tokens.length > 0 ? this.tokens[this.tokens.length - 1][0] : '';
|
748
|
+
if (firstChar === '<') {
|
749
|
+
match = CSX_IDENTIFIER.exec(this.chunk.slice(1)) || CSX_FRAGMENT_IDENTIFIER.exec(this.chunk.slice(1));
|
750
|
+
// Not the right hand side of an unspaced comparison (i.e. `a<b`).
|
751
|
+
if (!(match && (this.csxDepth > 0 || !(prev = this.prev()) || prev.spaced || (ref = prev[0], indexOf.call(COMPARABLE_LEFT_SIDE, ref) < 0)))) {
|
752
|
+
return 0;
|
753
|
+
}
|
754
|
+
[input, id, colon] = match;
|
755
|
+
origin = this.token('CSX_TAG', id, 0, id.length + 1);
|
756
|
+
this.token('CALL_START', '(');
|
757
|
+
this.token('[', '[');
|
758
|
+
this.ends.push({
|
759
|
+
tag: '/>',
|
760
|
+
origin: origin,
|
761
|
+
name: id
|
762
|
+
});
|
763
|
+
this.csxDepth++;
|
764
|
+
return id.length + 1;
|
765
|
+
} else if (csxTag = this.atCSXTag()) {
|
766
|
+
if (this.chunk.slice(0, 2) === '/>') {
|
767
|
+
this.pair('/>');
|
768
|
+
this.token(']', ']', 0, 2);
|
769
|
+
this.token('CALL_END', ')', 0, 2);
|
770
|
+
this.csxDepth--;
|
771
|
+
return 2;
|
772
|
+
} else if (firstChar === '{') {
|
773
|
+
if (prevChar === ':') {
|
774
|
+
token = this.token('(', '(');
|
775
|
+
this.csxObjAttribute[this.csxDepth] = false;
|
776
|
+
} else {
|
777
|
+
token = this.token('{', '{');
|
778
|
+
this.csxObjAttribute[this.csxDepth] = true;
|
779
|
+
}
|
780
|
+
this.ends.push({
|
781
|
+
tag: '}',
|
782
|
+
origin: token
|
783
|
+
});
|
784
|
+
return 1;
|
785
|
+
} else if (firstChar === '>') {
|
786
|
+
// Ignore terminators inside a tag.
|
787
|
+
this.pair('/>'); // As if the current tag was self-closing.
|
788
|
+
origin = this.token(']', ']');
|
789
|
+
this.token(',', ',');
|
790
|
+
({
|
791
|
+
tokens,
|
792
|
+
index: end
|
793
|
+
} = this.matchWithInterpolations(INSIDE_CSX, '>', '</', CSX_INTERPOLATION));
|
794
|
+
this.mergeInterpolationTokens(tokens, {
|
795
|
+
delimiter: '"'
|
796
|
+
}, (value, i) => {
|
797
|
+
return this.formatString(value, {
|
798
|
+
delimiter: '>'
|
799
|
+
});
|
800
|
+
});
|
801
|
+
match = CSX_IDENTIFIER.exec(this.chunk.slice(end)) || CSX_FRAGMENT_IDENTIFIER.exec(this.chunk.slice(end));
|
802
|
+
if (!match || match[1] !== csxTag.name) {
|
803
|
+
this.error(`expected corresponding CSX closing tag for ${csxTag.name}`, csxTag.origin[2]);
|
804
|
+
}
|
805
|
+
afterTag = end + csxTag.name.length;
|
806
|
+
if (this.chunk[afterTag] !== '>') {
|
807
|
+
this.error("missing closing > after tag name", {
|
808
|
+
offset: afterTag,
|
809
|
+
length: 1
|
810
|
+
});
|
811
|
+
}
|
812
|
+
// +1 for the closing `>`.
|
813
|
+
this.token('CALL_END', ')', end, csxTag.name.length + 1);
|
814
|
+
this.csxDepth--;
|
815
|
+
return afterTag + 1;
|
816
|
+
} else {
|
817
|
+
return 0;
|
818
|
+
}
|
819
|
+
} else if (this.atCSXTag(1)) {
|
820
|
+
if (firstChar === '}') {
|
821
|
+
this.pair(firstChar);
|
822
|
+
if (this.csxObjAttribute[this.csxDepth]) {
|
823
|
+
this.token('}', '}');
|
824
|
+
this.csxObjAttribute[this.csxDepth] = false;
|
825
|
+
} else {
|
826
|
+
this.token(')', ')');
|
827
|
+
}
|
828
|
+
this.token(',', ',');
|
829
|
+
return 1;
|
830
|
+
} else {
|
831
|
+
return 0;
|
832
|
+
}
|
833
|
+
} else {
|
834
|
+
return 0;
|
835
|
+
}
|
836
|
+
}
|
837
|
+
|
838
|
+
atCSXTag(depth = 0) {
|
839
|
+
var i, last, ref;
|
840
|
+
if (this.csxDepth === 0) {
|
841
|
+
return false;
|
842
|
+
}
|
843
|
+
i = this.ends.length - 1;
|
844
|
+
while (((ref = this.ends[i]) != null ? ref.tag : void 0) === 'OUTDENT' || depth-- > 0) { // Ignore indents.
|
845
|
+
i--;
|
846
|
+
}
|
847
|
+
last = this.ends[i];
|
848
|
+
return (last != null ? last.tag : void 0) === '/>' && last;
|
849
|
+
}
|
850
|
+
|
851
|
+
// We treat all other single characters as a token. E.g.: `( ) , . !`
|
852
|
+
// Multi-character operators are also literal tokens, so that Jison can assign
|
853
|
+
// the proper order of operations. There are some symbols that we tag specially
|
854
|
+
// here. `;` and newlines are both treated as a `TERMINATOR`, we distinguish
|
855
|
+
// parentheses that indicate a method call from regular parentheses, and so on.
|
856
|
+
literalToken() {
|
857
|
+
var match, message, origin, prev, ref, ref1, ref2, ref3, ref4, skipToken, tag, token, value;
|
858
|
+
if (match = OPERATOR.exec(this.chunk)) {
|
859
|
+
[value] = match;
|
860
|
+
if (CODE.test(value)) {
|
861
|
+
this.tagParameters();
|
862
|
+
}
|
863
|
+
} else {
|
864
|
+
value = this.chunk.charAt(0);
|
865
|
+
}
|
866
|
+
tag = value;
|
867
|
+
prev = this.prev();
|
868
|
+
if (prev && indexOf.call(['=', ...COMPOUND_ASSIGN], value) >= 0) {
|
869
|
+
skipToken = false;
|
870
|
+
if (value === '=' && ((ref = prev[1]) === '||' || ref === '&&') && !prev.spaced) {
|
871
|
+
prev[0] = 'COMPOUND_ASSIGN';
|
872
|
+
prev[1] += '=';
|
873
|
+
prev = this.tokens[this.tokens.length - 2];
|
874
|
+
skipToken = true;
|
875
|
+
}
|
876
|
+
if (prev && prev[0] !== 'PROPERTY') {
|
877
|
+
origin = (ref1 = prev.origin) != null ? ref1 : prev;
|
878
|
+
message = isUnassignable(prev[1], origin[1]);
|
879
|
+
if (message) {
|
880
|
+
this.error(message, origin[2]);
|
881
|
+
}
|
882
|
+
}
|
883
|
+
if (skipToken) {
|
884
|
+
return value.length;
|
885
|
+
}
|
886
|
+
}
|
887
|
+
if (value === '{' && this.seenImport) {
|
888
|
+
this.importSpecifierList = true;
|
889
|
+
} else if (this.importSpecifierList && value === '}') {
|
890
|
+
this.importSpecifierList = false;
|
891
|
+
} else if (value === '{' && (prev != null ? prev[0] : void 0) === 'EXPORT') {
|
892
|
+
this.exportSpecifierList = true;
|
893
|
+
} else if (this.exportSpecifierList && value === '}') {
|
894
|
+
this.exportSpecifierList = false;
|
895
|
+
}
|
896
|
+
if (value === ';') {
|
897
|
+
if (ref2 = prev != null ? prev[0] : void 0, indexOf.call(['=', ...UNFINISHED], ref2) >= 0) {
|
898
|
+
this.error('unexpected ;');
|
899
|
+
}
|
900
|
+
this.seenFor = this.seenImport = this.seenExport = false;
|
901
|
+
tag = 'TERMINATOR';
|
902
|
+
} else if (value === '*' && (prev != null ? prev[0] : void 0) === 'EXPORT') {
|
903
|
+
tag = 'EXPORT_ALL';
|
904
|
+
} else if (indexOf.call(MATH, value) >= 0) {
|
905
|
+
tag = 'MATH';
|
906
|
+
} else if (indexOf.call(COMPARE, value) >= 0) {
|
907
|
+
tag = 'COMPARE';
|
908
|
+
} else if (indexOf.call(COMPOUND_ASSIGN, value) >= 0) {
|
909
|
+
tag = 'COMPOUND_ASSIGN';
|
910
|
+
} else if (indexOf.call(UNARY, value) >= 0) {
|
911
|
+
tag = 'UNARY';
|
912
|
+
} else if (indexOf.call(UNARY_MATH, value) >= 0) {
|
913
|
+
tag = 'UNARY_MATH';
|
914
|
+
} else if (indexOf.call(SHIFT, value) >= 0) {
|
915
|
+
tag = 'SHIFT';
|
916
|
+
} else if (value === '?' && (prev != null ? prev.spaced : void 0)) {
|
917
|
+
tag = 'BIN?';
|
918
|
+
} else if (prev) {
|
919
|
+
if (value === '(' && !prev.spaced && (ref3 = prev[0], indexOf.call(CALLABLE, ref3) >= 0)) {
|
920
|
+
if (prev[0] === '?') {
|
921
|
+
prev[0] = 'FUNC_EXIST';
|
922
|
+
}
|
923
|
+
tag = 'CALL_START';
|
924
|
+
} else if (value === '[' && (((ref4 = prev[0], indexOf.call(INDEXABLE, ref4) >= 0) && !prev.spaced) || (prev[0] === '::'))) { // `.prototype` can’t be a method you can call.
|
925
|
+
tag = 'INDEX_START';
|
926
|
+
switch (prev[0]) {
|
927
|
+
case '?':
|
928
|
+
prev[0] = 'INDEX_SOAK';
|
929
|
+
}
|
930
|
+
}
|
931
|
+
}
|
932
|
+
token = this.makeToken(tag, value);
|
933
|
+
switch (value) {
|
934
|
+
case '(':
|
935
|
+
case '{':
|
936
|
+
case '[':
|
937
|
+
this.ends.push({
|
938
|
+
tag: INVERSES[value],
|
939
|
+
origin: token
|
940
|
+
});
|
941
|
+
break;
|
942
|
+
case ')':
|
943
|
+
case '}':
|
944
|
+
case ']':
|
945
|
+
this.pair(value);
|
946
|
+
}
|
947
|
+
this.tokens.push(this.makeToken(tag, value));
|
948
|
+
return value.length;
|
949
|
+
}
|
950
|
+
|
951
|
+
// Token Manipulators
|
952
|
+
// ------------------
|
953
|
+
|
954
|
+
// A source of ambiguity in our grammar used to be parameter lists in function
|
955
|
+
// definitions versus argument lists in function calls. Walk backwards, tagging
|
956
|
+
// parameters specially in order to make things easier for the parser.
|
957
|
+
tagParameters() {
|
958
|
+
var i, paramEndToken, stack, tok, tokens;
|
959
|
+
if (this.tag() !== ')') {
|
960
|
+
return this;
|
961
|
+
}
|
962
|
+
stack = [];
|
963
|
+
({tokens} = this);
|
964
|
+
i = tokens.length;
|
965
|
+
paramEndToken = tokens[--i];
|
966
|
+
paramEndToken[0] = 'PARAM_END';
|
967
|
+
while (tok = tokens[--i]) {
|
968
|
+
switch (tok[0]) {
|
969
|
+
case ')':
|
970
|
+
stack.push(tok);
|
971
|
+
break;
|
972
|
+
case '(':
|
973
|
+
case 'CALL_START':
|
974
|
+
if (stack.length) {
|
975
|
+
stack.pop();
|
976
|
+
} else if (tok[0] === '(') {
|
977
|
+
tok[0] = 'PARAM_START';
|
978
|
+
return this;
|
979
|
+
} else {
|
980
|
+
paramEndToken[0] = 'CALL_END';
|
981
|
+
return this;
|
982
|
+
}
|
983
|
+
}
|
984
|
+
}
|
985
|
+
return this;
|
986
|
+
}
|
987
|
+
|
988
|
+
// Close up all remaining open blocks at the end of the file.
|
989
|
+
closeIndentation() {
|
990
|
+
return this.outdentToken(this.indent);
|
991
|
+
}
|
992
|
+
|
993
|
+
// Match the contents of a delimited token and expand variables and expressions
|
994
|
+
// inside it using Ruby-like notation for substitution of arbitrary
|
995
|
+
// expressions.
|
996
|
+
|
997
|
+
// "Hello #{name.capitalize()}."
|
998
|
+
|
999
|
+
// If it encounters an interpolation, this method will recursively create a new
|
1000
|
+
// Lexer and tokenize until the `{` of `#{` is balanced with a `}`.
|
1001
|
+
|
1002
|
+
// - `regex` matches the contents of a token (but not `delimiter`, and not
|
1003
|
+
// `#{` if interpolations are desired).
|
1004
|
+
// - `delimiter` is the delimiter of the token. Examples are `'`, `"`, `'''`,
|
1005
|
+
// `"""` and `///`.
|
1006
|
+
// - `closingDelimiter` is different from `delimiter` only in CSX
|
1007
|
+
// - `interpolators` matches the start of an interpolation, for CSX it's both
|
1008
|
+
// `{` and `<` (i.e. nested CSX tag)
|
1009
|
+
|
1010
|
+
// This method allows us to have strings within interpolations within strings,
|
1011
|
+
// ad infinitum.
|
1012
|
+
matchWithInterpolations(regex, delimiter, closingDelimiter, interpolators) {
|
1013
|
+
var braceInterpolator, close, column, firstToken, index, interpolationOffset, interpolator, lastToken, line, match, nested, offsetInChunk, open, ref, rest, str, strPart, tokens;
|
1014
|
+
if (closingDelimiter == null) {
|
1015
|
+
closingDelimiter = delimiter;
|
1016
|
+
}
|
1017
|
+
if (interpolators == null) {
|
1018
|
+
interpolators = /^#\{/;
|
1019
|
+
}
|
1020
|
+
tokens = [];
|
1021
|
+
offsetInChunk = delimiter.length;
|
1022
|
+
if (this.chunk.slice(0, offsetInChunk) !== delimiter) {
|
1023
|
+
return null;
|
1024
|
+
}
|
1025
|
+
str = this.chunk.slice(offsetInChunk);
|
1026
|
+
while (true) {
|
1027
|
+
[strPart] = regex.exec(str);
|
1028
|
+
this.validateEscapes(strPart, {
|
1029
|
+
isRegex: delimiter.charAt(0) === '/',
|
1030
|
+
offsetInChunk
|
1031
|
+
});
|
1032
|
+
// Push a fake `'NEOSTRING'` token, which will get turned into a real string later.
|
1033
|
+
tokens.push(this.makeToken('NEOSTRING', strPart, offsetInChunk));
|
1034
|
+
str = str.slice(strPart.length);
|
1035
|
+
offsetInChunk += strPart.length;
|
1036
|
+
if (!(match = interpolators.exec(str))) {
|
1037
|
+
break;
|
1038
|
+
}
|
1039
|
+
[interpolator] = match;
|
1040
|
+
// To remove the `#` in `#{`.
|
1041
|
+
interpolationOffset = interpolator.length - 1;
|
1042
|
+
[line, column] = this.getLineAndColumnFromChunk(offsetInChunk + interpolationOffset);
|
1043
|
+
rest = str.slice(interpolationOffset);
|
1044
|
+
({
|
1045
|
+
tokens: nested,
|
1046
|
+
index
|
1047
|
+
} = new Lexer().tokenize(rest, {
|
1048
|
+
line: line,
|
1049
|
+
column: column,
|
1050
|
+
untilBalanced: true
|
1051
|
+
}));
|
1052
|
+
// Account for the `#` in `#{`
|
1053
|
+
index += interpolationOffset;
|
1054
|
+
braceInterpolator = str[index - 1] === '}';
|
1055
|
+
if (braceInterpolator) {
|
1056
|
+
// Turn the leading and trailing `{` and `}` into parentheses. Unnecessary
|
1057
|
+
// parentheses will be removed later.
|
1058
|
+
[open] = nested, [close] = slice.call(nested, -1);
|
1059
|
+
open[0] = open[1] = '(';
|
1060
|
+
close[0] = close[1] = ')';
|
1061
|
+
close.origin = ['', 'end of interpolation', close[2]];
|
1062
|
+
}
|
1063
|
+
if (((ref = nested[1]) != null ? ref[0] : void 0) === 'TERMINATOR') {
|
1064
|
+
// Remove leading `'TERMINATOR'` (if any).
|
1065
|
+
nested.splice(1, 1);
|
1066
|
+
}
|
1067
|
+
if (!braceInterpolator) {
|
1068
|
+
// We are not using `{` and `}`, so wrap the interpolated tokens instead.
|
1069
|
+
open = this.makeToken('(', '(', offsetInChunk, 0);
|
1070
|
+
close = this.makeToken(')', ')', offsetInChunk + index - 1, 0);
|
1071
|
+
nested = [open, ...nested, close];
|
1072
|
+
}
|
1073
|
+
// Push a fake `'TOKENS'` token, which will get turned into real tokens later.
|
1074
|
+
tokens.push(['TOKENS', nested]);
|
1075
|
+
str = str.slice(index);
|
1076
|
+
offsetInChunk += index;
|
1077
|
+
}
|
1078
|
+
if (str.slice(0, closingDelimiter.length) !== closingDelimiter) {
|
1079
|
+
this.error(`missing ${closingDelimiter}`, {
|
1080
|
+
length: delimiter.length
|
1081
|
+
});
|
1082
|
+
}
|
1083
|
+
[firstToken] = tokens, [lastToken] = slice.call(tokens, -1);
|
1084
|
+
firstToken[2].first_column -= delimiter.length;
|
1085
|
+
if (lastToken[1].substr(-1) === '\n') {
|
1086
|
+
lastToken[2].last_line += 1;
|
1087
|
+
lastToken[2].last_column = closingDelimiter.length - 1;
|
1088
|
+
} else {
|
1089
|
+
lastToken[2].last_column += closingDelimiter.length;
|
1090
|
+
}
|
1091
|
+
if (lastToken[1].length === 0) {
|
1092
|
+
lastToken[2].last_column -= 1;
|
1093
|
+
}
|
1094
|
+
return {
|
1095
|
+
tokens,
|
1096
|
+
index: offsetInChunk + closingDelimiter.length
|
1097
|
+
};
|
1098
|
+
}
|
1099
|
+
|
1100
|
+
// Merge the array `tokens` of the fake token types `'TOKENS'` and `'NEOSTRING'`
|
1101
|
+
// (as returned by `matchWithInterpolations`) into the token stream. The value
|
1102
|
+
// of `'NEOSTRING'`s are converted using `fn` and turned into strings using
|
1103
|
+
// `options` first.
|
1104
|
+
mergeInterpolationTokens(tokens, options, fn) {
|
1105
|
+
var converted, firstEmptyStringIndex, firstIndex, i, j, k, lastToken, len, len1, locationToken, lparen, placeholderToken, plusToken, rparen, tag, token, tokensToPush, val, value;
|
1106
|
+
if (tokens.length > 1) {
|
1107
|
+
lparen = this.token('STRING_START', '(', 0, 0);
|
1108
|
+
}
|
1109
|
+
firstIndex = this.tokens.length;
|
1110
|
+
for (i = j = 0, len = tokens.length; j < len; i = ++j) {
|
1111
|
+
token = tokens[i];
|
1112
|
+
[tag, value] = token;
|
1113
|
+
switch (tag) {
|
1114
|
+
case 'TOKENS':
|
1115
|
+
if (value.length === 2) {
|
1116
|
+
if (!(value[0].comments || value[1].comments)) {
|
1117
|
+
// Optimize out empty interpolations (an empty pair of parentheses).
|
1118
|
+
continue;
|
1119
|
+
}
|
1120
|
+
// There are comments (and nothing else) in this interpolation.
|
1121
|
+
if (this.csxDepth === 0) {
|
1122
|
+
// This is an interpolated string, not a CSX tag; and for whatever
|
1123
|
+
// reason `` `a${/*test*/}b` `` is invalid JS. So compile to
|
1124
|
+
// `` `a${/*test*/''}b` `` instead.
|
1125
|
+
placeholderToken = this.makeToken('STRING', "''");
|
1126
|
+
} else {
|
1127
|
+
placeholderToken = this.makeToken('JS', '');
|
1128
|
+
}
|
1129
|
+
// Use the same location data as the first parenthesis.
|
1130
|
+
placeholderToken[2] = value[0][2];
|
1131
|
+
for (k = 0, len1 = value.length; k < len1; k++) {
|
1132
|
+
val = value[k];
|
1133
|
+
if (!val.comments) {
|
1134
|
+
continue;
|
1135
|
+
}
|
1136
|
+
if (placeholderToken.comments == null) {
|
1137
|
+
placeholderToken.comments = [];
|
1138
|
+
}
|
1139
|
+
placeholderToken.comments.push(...val.comments);
|
1140
|
+
}
|
1141
|
+
value.splice(1, 0, placeholderToken);
|
1142
|
+
}
|
1143
|
+
// Push all the tokens in the fake `'TOKENS'` token. These already have
|
1144
|
+
// sane location data.
|
1145
|
+
locationToken = value[0];
|
1146
|
+
tokensToPush = value;
|
1147
|
+
break;
|
1148
|
+
case 'NEOSTRING':
|
1149
|
+
// Convert `'NEOSTRING'` into `'STRING'`.
|
1150
|
+
converted = fn.call(this, token[1], i);
|
1151
|
+
// Optimize out empty strings. We ensure that the tokens stream always
|
1152
|
+
// starts with a string token, though, to make sure that the result
|
1153
|
+
// really is a string.
|
1154
|
+
if (converted.length === 0) {
|
1155
|
+
if (i === 0) {
|
1156
|
+
firstEmptyStringIndex = this.tokens.length;
|
1157
|
+
} else {
|
1158
|
+
continue;
|
1159
|
+
}
|
1160
|
+
}
|
1161
|
+
// However, there is one case where we can optimize away a starting
|
1162
|
+
// empty string.
|
1163
|
+
if (i === 2 && (firstEmptyStringIndex != null)) {
|
1164
|
+
this.tokens.splice(firstEmptyStringIndex, 2); // Remove empty string and the plus.
|
1165
|
+
}
|
1166
|
+
token[0] = 'STRING';
|
1167
|
+
token[1] = this.makeDelimitedLiteral(converted, options);
|
1168
|
+
locationToken = token;
|
1169
|
+
tokensToPush = [token];
|
1170
|
+
}
|
1171
|
+
if (this.tokens.length > firstIndex) {
|
1172
|
+
// Create a 0-length "+" token.
|
1173
|
+
plusToken = this.token('+', '+');
|
1174
|
+
plusToken[2] = {
|
1175
|
+
first_line: locationToken[2].first_line,
|
1176
|
+
first_column: locationToken[2].first_column,
|
1177
|
+
last_line: locationToken[2].first_line,
|
1178
|
+
last_column: locationToken[2].first_column
|
1179
|
+
};
|
1180
|
+
}
|
1181
|
+
this.tokens.push(...tokensToPush);
|
1182
|
+
}
|
1183
|
+
if (lparen) {
|
1184
|
+
[lastToken] = slice.call(tokens, -1);
|
1185
|
+
lparen.origin = [
|
1186
|
+
'STRING',
|
1187
|
+
null,
|
1188
|
+
{
|
1189
|
+
first_line: lparen[2].first_line,
|
1190
|
+
first_column: lparen[2].first_column,
|
1191
|
+
last_line: lastToken[2].last_line,
|
1192
|
+
last_column: lastToken[2].last_column
|
1193
|
+
}
|
1194
|
+
];
|
1195
|
+
lparen[2] = lparen.origin[2];
|
1196
|
+
rparen = this.token('STRING_END', ')');
|
1197
|
+
return rparen[2] = {
|
1198
|
+
first_line: lastToken[2].last_line,
|
1199
|
+
first_column: lastToken[2].last_column,
|
1200
|
+
last_line: lastToken[2].last_line,
|
1201
|
+
last_column: lastToken[2].last_column
|
1202
|
+
};
|
1203
|
+
}
|
1204
|
+
}
|
1205
|
+
|
1206
|
+
// Pairs up a closing token, ensuring that all listed pairs of tokens are
|
1207
|
+
// correctly balanced throughout the course of the token stream.
|
1208
|
+
pair(tag) {
|
1209
|
+
var lastIndent, prev, ref, ref1, wanted;
|
1210
|
+
ref = this.ends, [prev] = slice.call(ref, -1);
|
1211
|
+
if (tag !== (wanted = prev != null ? prev.tag : void 0)) {
|
1212
|
+
if ('OUTDENT' !== wanted) {
|
1213
|
+
this.error(`unmatched ${tag}`);
|
1214
|
+
}
|
1215
|
+
// Auto-close `INDENT` to support syntax like this:
|
1216
|
+
|
1217
|
+
// el.click((event) ->
|
1218
|
+
// el.hide())
|
1219
|
+
|
1220
|
+
ref1 = this.indents, [lastIndent] = slice.call(ref1, -1);
|
1221
|
+
this.outdentToken(lastIndent, true);
|
1222
|
+
return this.pair(tag);
|
1223
|
+
}
|
1224
|
+
return this.ends.pop();
|
1225
|
+
}
|
1226
|
+
|
1227
|
+
// Helpers
|
1228
|
+
// -------
|
1229
|
+
|
1230
|
+
// Returns the line and column number from an offset into the current chunk.
|
1231
|
+
|
1232
|
+
// `offset` is a number of characters into `@chunk`.
|
1233
|
+
getLineAndColumnFromChunk(offset) {
|
1234
|
+
var column, lastLine, lineCount, ref, string;
|
1235
|
+
if (offset === 0) {
|
1236
|
+
return [this.chunkLine, this.chunkColumn];
|
1237
|
+
}
|
1238
|
+
if (offset >= this.chunk.length) {
|
1239
|
+
string = this.chunk;
|
1240
|
+
} else {
|
1241
|
+
string = this.chunk.slice(0, +(offset - 1) + 1 || 9e9);
|
1242
|
+
}
|
1243
|
+
lineCount = count(string, '\n');
|
1244
|
+
column = this.chunkColumn;
|
1245
|
+
if (lineCount > 0) {
|
1246
|
+
ref = string.split('\n'), [lastLine] = slice.call(ref, -1);
|
1247
|
+
column = lastLine.length;
|
1248
|
+
} else {
|
1249
|
+
column += string.length;
|
1250
|
+
}
|
1251
|
+
return [this.chunkLine + lineCount, column];
|
1252
|
+
}
|
1253
|
+
|
1254
|
+
// Same as `token`, except this just returns the token without adding it
|
1255
|
+
// to the results.
|
1256
|
+
makeToken(tag, value, offsetInChunk = 0, length = value.length) {
|
1257
|
+
var lastCharacter, locationData, token;
|
1258
|
+
locationData = {};
|
1259
|
+
[locationData.first_line, locationData.first_column] = this.getLineAndColumnFromChunk(offsetInChunk);
|
1260
|
+
// Use length - 1 for the final offset - we're supplying the last_line and the last_column,
|
1261
|
+
// so if last_column == first_column, then we're looking at a character of length 1.
|
1262
|
+
lastCharacter = length > 0 ? length - 1 : 0;
|
1263
|
+
[locationData.last_line, locationData.last_column] = this.getLineAndColumnFromChunk(offsetInChunk + lastCharacter);
|
1264
|
+
token = [tag, value, locationData];
|
1265
|
+
return token;
|
1266
|
+
}
|
1267
|
+
|
1268
|
+
// Add a token to the results.
|
1269
|
+
// `offset` is the offset into the current `@chunk` where the token starts.
|
1270
|
+
// `length` is the length of the token in the `@chunk`, after the offset. If
|
1271
|
+
// not specified, the length of `value` will be used.
|
1272
|
+
|
1273
|
+
// Returns the new token.
|
1274
|
+
token(tag, value, offsetInChunk, length, origin) {
|
1275
|
+
var token;
|
1276
|
+
token = this.makeToken(tag, value, offsetInChunk, length);
|
1277
|
+
if (origin) {
|
1278
|
+
token.origin = origin;
|
1279
|
+
}
|
1280
|
+
this.tokens.push(token);
|
1281
|
+
return token;
|
1282
|
+
}
|
1283
|
+
|
1284
|
+
// Peek at the last tag in the token stream.
|
1285
|
+
tag() {
|
1286
|
+
var ref, token;
|
1287
|
+
ref = this.tokens, [token] = slice.call(ref, -1);
|
1288
|
+
return token != null ? token[0] : void 0;
|
1289
|
+
}
|
1290
|
+
|
1291
|
+
// Peek at the last value in the token stream.
|
1292
|
+
value(useOrigin = false) {
|
1293
|
+
var ref, ref1, token;
|
1294
|
+
ref = this.tokens, [token] = slice.call(ref, -1);
|
1295
|
+
if (useOrigin && ((token != null ? token.origin : void 0) != null)) {
|
1296
|
+
return (ref1 = token.origin) != null ? ref1[1] : void 0;
|
1297
|
+
} else {
|
1298
|
+
return token != null ? token[1] : void 0;
|
1299
|
+
}
|
1300
|
+
}
|
1301
|
+
|
1302
|
+
// Get the previous token in the token stream.
|
1303
|
+
prev() {
|
1304
|
+
return this.tokens[this.tokens.length - 1];
|
1305
|
+
}
|
1306
|
+
|
1307
|
+
// Are we in the midst of an unfinished expression?
|
1308
|
+
unfinished() {
|
1309
|
+
var ref;
|
1310
|
+
return LINE_CONTINUER.test(this.chunk) || (ref = this.tag(), indexOf.call(UNFINISHED, ref) >= 0);
|
1311
|
+
}
|
1312
|
+
|
1313
|
+
formatString(str, options) {
|
1314
|
+
return this.replaceUnicodeCodePointEscapes(str.replace(STRING_OMIT, '$1'), options);
|
1315
|
+
}
|
1316
|
+
|
1317
|
+
formatHeregex(str, options) {
|
1318
|
+
return this.formatRegex(str.replace(HEREGEX_OMIT, '$1$2'), merge(options, {
|
1319
|
+
delimiter: '///'
|
1320
|
+
}));
|
1321
|
+
}
|
1322
|
+
|
1323
|
+
formatRegex(str, options) {
|
1324
|
+
return this.replaceUnicodeCodePointEscapes(str, options);
|
1325
|
+
}
|
1326
|
+
|
1327
|
+
unicodeCodePointToUnicodeEscapes(codePoint) {
|
1328
|
+
var high, low, toUnicodeEscape;
|
1329
|
+
toUnicodeEscape = function(val) {
|
1330
|
+
var str;
|
1331
|
+
str = val.toString(16);
|
1332
|
+
return `\\u${repeat('0', 4 - str.length)}${str}`;
|
1333
|
+
};
|
1334
|
+
if (codePoint < 0x10000) {
|
1335
|
+
return toUnicodeEscape(codePoint);
|
1336
|
+
}
|
1337
|
+
// surrogate pair
|
1338
|
+
high = Math.floor((codePoint - 0x10000) / 0x400) + 0xD800;
|
1339
|
+
low = (codePoint - 0x10000) % 0x400 + 0xDC00;
|
1340
|
+
return `${toUnicodeEscape(high)}${toUnicodeEscape(low)}`;
|
1341
|
+
}
|
1342
|
+
|
1343
|
+
// Replace `\u{...}` with `\uxxxx[\uxxxx]` in regexes without `u` flag
|
1344
|
+
replaceUnicodeCodePointEscapes(str, options) {
|
1345
|
+
var shouldReplace;
|
1346
|
+
shouldReplace = (options.flags != null) && indexOf.call(options.flags, 'u') < 0;
|
1347
|
+
return str.replace(UNICODE_CODE_POINT_ESCAPE, (match, escapedBackslash, codePointHex, offset) => {
|
1348
|
+
var codePointDecimal;
|
1349
|
+
if (escapedBackslash) {
|
1350
|
+
return escapedBackslash;
|
1351
|
+
}
|
1352
|
+
codePointDecimal = parseInt(codePointHex, 16);
|
1353
|
+
if (codePointDecimal > 0x10ffff) {
|
1354
|
+
this.error("unicode code point escapes greater than \\u{10ffff} are not allowed", {
|
1355
|
+
offset: offset + options.delimiter.length,
|
1356
|
+
length: codePointHex.length + 4
|
1357
|
+
});
|
1358
|
+
}
|
1359
|
+
if (!shouldReplace) {
|
1360
|
+
return match;
|
1361
|
+
}
|
1362
|
+
return this.unicodeCodePointToUnicodeEscapes(codePointDecimal);
|
1363
|
+
});
|
1364
|
+
}
|
1365
|
+
|
1366
|
+
// Validates escapes in strings and regexes.
|
1367
|
+
validateEscapes(str, options = {}) {
|
1368
|
+
var before, hex, invalidEscape, invalidEscapeRegex, match, message, octal, ref, unicode, unicodeCodePoint;
|
1369
|
+
invalidEscapeRegex = options.isRegex ? REGEX_INVALID_ESCAPE : STRING_INVALID_ESCAPE;
|
1370
|
+
match = invalidEscapeRegex.exec(str);
|
1371
|
+
if (!match) {
|
1372
|
+
return;
|
1373
|
+
}
|
1374
|
+
match[0], before = match[1], octal = match[2], hex = match[3], unicodeCodePoint = match[4], unicode = match[5];
|
1375
|
+
message = octal ? "octal escape sequences are not allowed" : "invalid escape sequence";
|
1376
|
+
invalidEscape = `\\${octal || hex || unicodeCodePoint || unicode}`;
|
1377
|
+
return this.error(`${message} ${invalidEscape}`, {
|
1378
|
+
offset: ((ref = options.offsetInChunk) != null ? ref : 0) + match.index + before.length,
|
1379
|
+
length: invalidEscape.length
|
1380
|
+
});
|
1381
|
+
}
|
1382
|
+
|
1383
|
+
// Constructs a string or regex by escaping certain characters.
|
1384
|
+
makeDelimitedLiteral(body, options = {}) {
|
1385
|
+
var regex;
|
1386
|
+
if (body === '' && options.delimiter === '/') {
|
1387
|
+
body = '(?:)';
|
1388
|
+
}
|
1389
|
+
regex = RegExp(`(\\\\\\\\)|(\\\\0(?=[1-7]))|\\\\?(${options.delimiter // Escaped backslash.
|
1390
|
+
// Null character mistaken as octal escape.
|
1391
|
+
// (Possibly escaped) delimiter.
|
1392
|
+
// (Possibly escaped) newlines.
|
1393
|
+
// Other escapes.
|
1394
|
+
})|\\\\?(?:(\\n)|(\\r)|(\\u2028)|(\\u2029))|(\\\\.)`, "g");
|
1395
|
+
body = body.replace(regex, function(match, backslash, nul, delimiter, lf, cr, ls, ps, other) {
|
1396
|
+
switch (false) {
|
1397
|
+
// Ignore escaped backslashes.
|
1398
|
+
case !backslash:
|
1399
|
+
if (options.double) {
|
1400
|
+
return backslash + backslash;
|
1401
|
+
} else {
|
1402
|
+
return backslash;
|
1403
|
+
}
|
1404
|
+
case !nul:
|
1405
|
+
return '\\x00';
|
1406
|
+
case !delimiter:
|
1407
|
+
return `\\${delimiter}`;
|
1408
|
+
case !lf:
|
1409
|
+
return '\\n';
|
1410
|
+
case !cr:
|
1411
|
+
return '\\r';
|
1412
|
+
case !ls:
|
1413
|
+
return '\\u2028';
|
1414
|
+
case !ps:
|
1415
|
+
return '\\u2029';
|
1416
|
+
case !other:
|
1417
|
+
if (options.double) {
|
1418
|
+
return `\\${other}`;
|
1419
|
+
} else {
|
1420
|
+
return other;
|
1421
|
+
}
|
1422
|
+
}
|
1423
|
+
});
|
1424
|
+
return `${options.delimiter}${body}${options.delimiter}`;
|
1425
|
+
}
|
1426
|
+
|
1427
|
+
suppressSemicolons() {
|
1428
|
+
var ref, ref1, results;
|
1429
|
+
results = [];
|
1430
|
+
while (this.value() === ';') {
|
1431
|
+
this.tokens.pop();
|
1432
|
+
if (ref = (ref1 = this.prev()) != null ? ref1[0] : void 0, indexOf.call(['=', ...UNFINISHED], ref) >= 0) {
|
1433
|
+
results.push(this.error('unexpected ;'));
|
1434
|
+
} else {
|
1435
|
+
results.push(void 0);
|
1436
|
+
}
|
1437
|
+
}
|
1438
|
+
return results;
|
1439
|
+
}
|
1440
|
+
|
1441
|
+
// Throws an error at either a given offset from the current chunk or at the
|
1442
|
+
// location of a token (`token[2]`).
|
1443
|
+
error(message, options = {}) {
|
1444
|
+
var first_column, first_line, location, ref, ref1;
|
1445
|
+
location = 'first_line' in options ? options : ([first_line, first_column] = this.getLineAndColumnFromChunk((ref = options.offset) != null ? ref : 0), {
|
1446
|
+
first_line,
|
1447
|
+
first_column,
|
1448
|
+
last_column: first_column + ((ref1 = options.length) != null ? ref1 : 1) - 1
|
1449
|
+
});
|
1450
|
+
return throwSyntaxError(message, location);
|
1451
|
+
}
|
1452
|
+
|
1453
|
+
};
|
1454
|
+
|
1455
|
+
// Helper functions
|
1456
|
+
// ----------------
|
1457
|
+
isUnassignable = function(name, displayName = name) {
|
1458
|
+
switch (false) {
|
1459
|
+
case indexOf.call([...JS_KEYWORDS, ...COFFEE_KEYWORDS], name) < 0:
|
1460
|
+
return `keyword '${displayName}' can't be assigned`;
|
1461
|
+
case indexOf.call(STRICT_PROSCRIBED, name) < 0:
|
1462
|
+
return `'${displayName}' can't be assigned`;
|
1463
|
+
case indexOf.call(RESERVED, name) < 0:
|
1464
|
+
return `reserved word '${displayName}' can't be assigned`;
|
1465
|
+
default:
|
1466
|
+
return false;
|
1467
|
+
}
|
1468
|
+
};
|
1469
|
+
|
1470
|
+
exports.isUnassignable = isUnassignable;
|
1471
|
+
|
1472
|
+
// `from` isn’t a CoffeeScript keyword, but it behaves like one in `import` and
|
1473
|
+
// `export` statements (handled above) and in the declaration line of a `for`
|
1474
|
+
// loop. Try to detect when `from` is a variable identifier and when it is this
|
1475
|
+
// “sometimes” keyword.
|
1476
|
+
isForFrom = function(prev) {
|
1477
|
+
var ref;
|
1478
|
+
if (prev[0] === 'IDENTIFIER') {
|
1479
|
+
// `for i from from`, `for from from iterable`
|
1480
|
+
if (prev[1] === 'from') {
|
1481
|
+
prev[1][0] = 'IDENTIFIER';
|
1482
|
+
true;
|
1483
|
+
}
|
1484
|
+
// `for i from iterable`
|
1485
|
+
return true;
|
1486
|
+
// `for from…`
|
1487
|
+
} else if (prev[0] === 'FOR') {
|
1488
|
+
return false;
|
1489
|
+
// `for {from}…`, `for [from]…`, `for {a, from}…`, `for {a: from}…`
|
1490
|
+
} else if ((ref = prev[1]) === '{' || ref === '[' || ref === ',' || ref === ':') {
|
1491
|
+
return false;
|
1492
|
+
} else {
|
1493
|
+
return true;
|
1494
|
+
}
|
1495
|
+
};
|
1496
|
+
|
1497
|
+
// Constants
|
1498
|
+
// ---------
|
1499
|
+
|
1500
|
+
// Keywords that CoffeeScript shares in common with JavaScript.
|
1501
|
+
JS_KEYWORDS = ['true', 'false', 'null', 'this', 'new', 'delete', 'typeof', 'in', 'instanceof', 'return', 'throw', 'break', 'continue', 'debugger', 'yield', 'await', 'if', 'else', 'switch', 'for', 'while', 'do', 'try', 'catch', 'finally', 'class', 'extends', 'super', 'import', 'export', 'default'];
|
1502
|
+
|
1503
|
+
// CoffeeScript-only keywords.
|
1504
|
+
COFFEE_KEYWORDS = ['undefined', 'Infinity', 'NaN', 'then', 'unless', 'until', 'loop', 'of', 'by', 'when'];
|
1505
|
+
|
1506
|
+
COFFEE_ALIAS_MAP = {
|
1507
|
+
and: '&&',
|
1508
|
+
or: '||',
|
1509
|
+
is: '==',
|
1510
|
+
isnt: '!=',
|
1511
|
+
not: '!',
|
1512
|
+
yes: 'true',
|
1513
|
+
no: 'false',
|
1514
|
+
on: 'true',
|
1515
|
+
off: 'false'
|
1516
|
+
};
|
1517
|
+
|
1518
|
+
COFFEE_ALIASES = (function() {
|
1519
|
+
var results;
|
1520
|
+
results = [];
|
1521
|
+
for (key in COFFEE_ALIAS_MAP) {
|
1522
|
+
results.push(key);
|
1523
|
+
}
|
1524
|
+
return results;
|
1525
|
+
})();
|
1526
|
+
|
1527
|
+
COFFEE_KEYWORDS = COFFEE_KEYWORDS.concat(COFFEE_ALIASES);
|
1528
|
+
|
1529
|
+
// The list of keywords that are reserved by JavaScript, but not used, or are
|
1530
|
+
// used by CoffeeScript internally. We throw an error when these are encountered,
|
1531
|
+
// to avoid having a JavaScript error at runtime.
|
1532
|
+
RESERVED = ['case', 'function', 'var', 'void', 'with', 'const', 'let', 'enum', 'native', 'implements', 'interface', 'package', 'private', 'protected', 'public', 'static'];
|
1533
|
+
|
1534
|
+
STRICT_PROSCRIBED = ['arguments', 'eval'];
|
1535
|
+
|
1536
|
+
// The superset of both JavaScript keywords and reserved words, none of which may
|
1537
|
+
// be used as identifiers or properties.
|
1538
|
+
exports.JS_FORBIDDEN = JS_KEYWORDS.concat(RESERVED).concat(STRICT_PROSCRIBED);
|
1539
|
+
|
1540
|
+
// The character code of the nasty Microsoft madness otherwise known as the BOM.
|
1541
|
+
BOM = 65279;
|
1542
|
+
|
1543
|
+
// Token matching regexes.
|
1544
|
+
IDENTIFIER = /^(?!\d)((?:(?!\s)[$\w\x7f-\uffff])+)([^\n\S]*:(?!:))?/; // Is this a property name?
|
1545
|
+
|
1546
|
+
CSX_IDENTIFIER = /^(?![\d<])((?:(?!\s)[\.\-$\w\x7f-\uffff])+)/; // Must not start with `<`.
|
1547
|
+
// Like `IDENTIFIER`, but includes `-`s and `.`s.
|
1548
|
+
|
1549
|
+
// Fragment: <></>
|
1550
|
+
CSX_FRAGMENT_IDENTIFIER = /^()>/; // Ends immediately with `>`.
|
1551
|
+
|
1552
|
+
CSX_ATTRIBUTE = /^(?!\d)((?:(?!\s)[\-$\w\x7f-\uffff])+)([^\S]*=(?!=))?/; // Like `IDENTIFIER`, but includes `-`s.
|
1553
|
+
// Is this an attribute with a value?
|
1554
|
+
|
1555
|
+
NUMBER = /^0b[01]+|^0o[0-7]+|^0x[\da-f]+|^\d*\.?\d+(?:e[+-]?\d+)?/i; // binary
|
1556
|
+
// octal
|
1557
|
+
// hex
|
1558
|
+
// decimal
|
1559
|
+
|
1560
|
+
OPERATOR = /^(?:[-=]>|[-+*\/%<>&|^!?=]=|>>>=?|([-+:])\1|([&|<>*\/%])\2=?|\?(\.|::)|\.{2,3})/; // function
|
1561
|
+
// compound assign / compare
|
1562
|
+
// zero-fill right shift
|
1563
|
+
// doubles
|
1564
|
+
// logic / shift / power / floor division / modulo
|
1565
|
+
// soak access
|
1566
|
+
// range or splat
|
1567
|
+
|
1568
|
+
WHITESPACE = /^[^\n\S]+/;
|
1569
|
+
|
1570
|
+
COMMENT = /^\s*###([^#][\s\S]*?)(?:###[^\n\S]*|###$)|^(?:\s*#(?!##[^#]).*)+/;
|
1571
|
+
|
1572
|
+
CODE = /^[-=]>/;
|
1573
|
+
|
1574
|
+
MULTI_DENT = /^(?:\n[^\n\S]*)+/;
|
1575
|
+
|
1576
|
+
JSTOKEN = /^`(?!``)((?:[^`\\]|\\[\s\S])*)`/;
|
1577
|
+
|
1578
|
+
HERE_JSTOKEN = /^```((?:[^`\\]|\\[\s\S]|`(?!``))*)```/;
|
1579
|
+
|
1580
|
+
// String-matching-regexes.
|
1581
|
+
STRING_START = /^(?:'''|"""|'|")/;
|
1582
|
+
|
1583
|
+
STRING_SINGLE = /^(?:[^\\']|\\[\s\S])*/;
|
1584
|
+
|
1585
|
+
STRING_DOUBLE = /^(?:[^\\"#]|\\[\s\S]|\#(?!\{))*/;
|
1586
|
+
|
1587
|
+
HEREDOC_SINGLE = /^(?:[^\\']|\\[\s\S]|'(?!''))*/;
|
1588
|
+
|
1589
|
+
HEREDOC_DOUBLE = /^(?:[^\\"#]|\\[\s\S]|"(?!"")|\#(?!\{))*/;
|
1590
|
+
|
1591
|
+
INSIDE_CSX = /^(?:[^\{<])*/; // Start of CoffeeScript interpolation. // Similar to `HEREDOC_DOUBLE` but there is no escaping.
|
1592
|
+
// Maybe CSX tag (`<` not allowed even if bare).
|
1593
|
+
|
1594
|
+
CSX_INTERPOLATION = /^(?:\{|<(?!\/))/; // CoffeeScript interpolation.
|
1595
|
+
// CSX opening tag.
|
1596
|
+
|
1597
|
+
STRING_OMIT = /((?:\\\\)+)|\\[^\S\n]*\n\s*/g; // Consume (and preserve) an even number of backslashes.
|
1598
|
+
// Remove escaped newlines.
|
1599
|
+
|
1600
|
+
SIMPLE_STRING_OMIT = /\s*\n\s*/g;
|
1601
|
+
|
1602
|
+
HEREDOC_INDENT = /\n+([^\n\S]*)(?=\S)/g;
|
1603
|
+
|
1604
|
+
// Regex-matching-regexes.
|
1605
|
+
REGEX = /^\/(?!\/)((?:[^[\/\n\\]|\\[^\n]|\[(?:\\[^\n]|[^\]\n\\])*\])*)(\/)?/; // Every other thing.
|
1606
|
+
// Anything but newlines escaped.
|
1607
|
+
// Character class.
|
1608
|
+
|
1609
|
+
REGEX_FLAGS = /^\w*/;
|
1610
|
+
|
1611
|
+
VALID_FLAGS = /^(?!.*(.).*\1)[imguy]*$/;
|
1612
|
+
|
1613
|
+
// Match any character, except those that need special handling below.
|
1614
|
+
// Match `\` followed by any character.
|
1615
|
+
// Match any `/` except `///`.
|
1616
|
+
// Match `#` which is not part of interpolation, e.g. `#{}`.
|
1617
|
+
// Comments consume everything until the end of the line, including `///`.
|
1618
|
+
HEREGEX = /^(?:[^\\\/#\s]|\\[\s\S]|\/(?!\/\/)|\#(?!\{)|\s+(?:#(?!\{).*)?)*/;
|
1619
|
+
|
1620
|
+
HEREGEX_OMIT = /((?:\\\\)+)|\\(\s)|\s+(?:#.*)?/g; // Consume (and preserve) an even number of backslashes.
|
1621
|
+
// Preserve escaped whitespace.
|
1622
|
+
// Remove whitespace and comments.
|
1623
|
+
|
1624
|
+
REGEX_ILLEGAL = /^(\/|\/{3}\s*)(\*)/;
|
1625
|
+
|
1626
|
+
POSSIBLY_DIVISION = /^\/=?\s/;
|
1627
|
+
|
1628
|
+
// Other regexes.
|
1629
|
+
HERECOMMENT_ILLEGAL = /\*\//;
|
1630
|
+
|
1631
|
+
LINE_CONTINUER = /^\s*(?:,|\??\.(?![.\d])|::)/;
|
1632
|
+
|
1633
|
+
STRING_INVALID_ESCAPE = /((?:^|[^\\])(?:\\\\)*)\\(?:(0[0-7]|[1-7])|(x(?![\da-fA-F]{2}).{0,2})|(u\{(?![\da-fA-F]{1,}\})[^}]*\}?)|(u(?!\{|[\da-fA-F]{4}).{0,4}))/; // Make sure the escape isn’t escaped.
|
1634
|
+
// octal escape
|
1635
|
+
// hex escape
|
1636
|
+
// unicode code point escape
|
1637
|
+
// unicode escape
|
1638
|
+
|
1639
|
+
REGEX_INVALID_ESCAPE = /((?:^|[^\\])(?:\\\\)*)\\(?:(0[0-7])|(x(?![\da-fA-F]{2}).{0,2})|(u\{(?![\da-fA-F]{1,}\})[^}]*\}?)|(u(?!\{|[\da-fA-F]{4}).{0,4}))/; // Make sure the escape isn’t escaped.
|
1640
|
+
// octal escape
|
1641
|
+
// hex escape
|
1642
|
+
// unicode code point escape
|
1643
|
+
// unicode escape
|
1644
|
+
|
1645
|
+
UNICODE_CODE_POINT_ESCAPE = /(\\\\)|\\u\{([\da-fA-F]+)\}/g; // Make sure the escape isn’t escaped.
|
1646
|
+
|
1647
|
+
LEADING_BLANK_LINE = /^[^\n\S]*\n/;
|
1648
|
+
|
1649
|
+
TRAILING_BLANK_LINE = /\n[^\n\S]*$/;
|
1650
|
+
|
1651
|
+
TRAILING_SPACES = /\s+$/;
|
1652
|
+
|
1653
|
+
// Compound assignment tokens.
|
1654
|
+
COMPOUND_ASSIGN = ['-=', '+=', '/=', '*=', '%=', '||=', '&&=', '?=', '<<=', '>>=', '>>>=', '&=', '^=', '|=', '**=', '//=', '%%='];
|
1655
|
+
|
1656
|
+
// Unary tokens.
|
1657
|
+
UNARY = ['NEW', 'TYPEOF', 'DELETE', 'DO'];
|
1658
|
+
|
1659
|
+
UNARY_MATH = ['!', '~'];
|
1660
|
+
|
1661
|
+
// Bit-shifting tokens.
|
1662
|
+
SHIFT = ['<<', '>>', '>>>'];
|
1663
|
+
|
1664
|
+
// Comparison tokens.
|
1665
|
+
COMPARE = ['==', '!=', '<', '>', '<=', '>='];
|
1666
|
+
|
1667
|
+
// Mathematical tokens.
|
1668
|
+
MATH = ['*', '/', '%', '//', '%%'];
|
1669
|
+
|
1670
|
+
// Relational tokens that are negatable with `not` prefix.
|
1671
|
+
RELATION = ['IN', 'OF', 'INSTANCEOF'];
|
1672
|
+
|
1673
|
+
// Boolean tokens.
|
1674
|
+
BOOL = ['TRUE', 'FALSE'];
|
1675
|
+
|
1676
|
+
// Tokens which could legitimately be invoked or indexed. An opening
|
1677
|
+
// parentheses or bracket following these tokens will be recorded as the start
|
1678
|
+
// of a function invocation or indexing operation.
|
1679
|
+
CALLABLE = ['IDENTIFIER', 'PROPERTY', ')', ']', '?', '@', 'THIS', 'SUPER'];
|
1680
|
+
|
1681
|
+
INDEXABLE = CALLABLE.concat(['NUMBER', 'INFINITY', 'NAN', 'STRING', 'STRING_END', 'REGEX', 'REGEX_END', 'BOOL', 'NULL', 'UNDEFINED', '}', '::']);
|
1682
|
+
|
1683
|
+
// Tokens which can be the left-hand side of a less-than comparison, i.e. `a<b`.
|
1684
|
+
COMPARABLE_LEFT_SIDE = ['IDENTIFIER', ')', ']', 'NUMBER'];
|
1685
|
+
|
1686
|
+
// Tokens which a regular expression will never immediately follow (except spaced
|
1687
|
+
// CALLABLEs in some cases), but which a division operator can.
|
1688
|
+
|
1689
|
+
// See: http://www-archive.mozilla.org/js/language/js20-2002-04/rationale/syntax.html#regular-expressions
|
1690
|
+
NOT_REGEX = INDEXABLE.concat(['++', '--']);
|
1691
|
+
|
1692
|
+
// Tokens that, when immediately preceding a `WHEN`, indicate that the `WHEN`
|
1693
|
+
// occurs at the start of a line. We disambiguate these from trailing whens to
|
1694
|
+
// avoid an ambiguity in the grammar.
|
1695
|
+
LINE_BREAK = ['INDENT', 'OUTDENT', 'TERMINATOR'];
|
1696
|
+
|
1697
|
+
// Additional indent in front of these is ignored.
|
1698
|
+
INDENTABLE_CLOSERS = [')', '}', ']'];
|
1699
|
+
|
1700
|
+
// Tokens that, when appearing at the end of a line, suppress a following TERMINATOR/INDENT token
|
1701
|
+
UNFINISHED = ['\\', '.', '?.', '?::', 'UNARY', 'MATH', 'UNARY_MATH', '+', '-', '**', 'SHIFT', 'RELATION', 'COMPARE', '&', '^', '|', '&&', '||', 'BIN?', 'EXTENDS'];
|
1702
|
+
|
1703
|
+
}).call(this);
|