condenser 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +49 -21
- data/lib/condenser.rb +9 -3
- data/lib/condenser/build_cache.rb +3 -1
- data/lib/condenser/environment.rb +6 -0
- data/lib/condenser/minifiers/uglify_minifier.rb +0 -2
- data/lib/condenser/processors/babel_processor.rb +12 -8
- data/lib/condenser/processors/node_modules/@babel/code-frame/lib/index.js +7 -13
- data/lib/condenser/processors/node_modules/@babel/code-frame/package.json +12 -12
- data/lib/condenser/processors/node_modules/@babel/{helper-call-delegate → compat-data}/LICENSE +0 -0
- data/lib/condenser/processors/node_modules/@babel/compat-data/corejs2-built-ins.js +4 -0
- data/lib/condenser/processors/node_modules/@babel/compat-data/corejs3-shipped-proposals.js +4 -0
- data/lib/condenser/processors/node_modules/@babel/{preset-env → compat-data}/data/corejs2-built-ins.json +93 -63
- data/lib/condenser/processors/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json +5 -0
- data/lib/condenser/processors/node_modules/@babel/{preset-env/data/built-in-modules.json → compat-data/data/native-modules.json} +5 -2
- data/lib/condenser/processors/node_modules/@babel/compat-data/data/overlapping-plugins.json +18 -0
- data/lib/condenser/processors/node_modules/@babel/compat-data/data/plugin-bugfixes.json +125 -0
- data/lib/condenser/processors/node_modules/@babel/{preset-env → compat-data}/data/plugins.json +137 -103
- data/lib/condenser/processors/node_modules/@babel/compat-data/native-modules.js +4 -0
- data/lib/condenser/processors/node_modules/@babel/compat-data/overlapping-plugins.js +4 -0
- data/lib/condenser/processors/node_modules/@babel/compat-data/package.json +72 -0
- data/lib/condenser/processors/node_modules/@babel/compat-data/plugin-bugfixes.js +4 -0
- data/lib/condenser/processors/node_modules/@babel/compat-data/plugins.js +4 -0
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/caching.js +190 -64
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/config-chain.js +26 -26
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/config-descriptors.js +4 -4
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/configuration.js +41 -41
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/import.js +10 -0
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/index-browser.js +5 -5
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/module-types.js +96 -0
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/package.js +2 -2
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/files/utils.js +16 -8
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/full.js +69 -33
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/index.js +36 -10
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/partial.js +21 -10
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/util.js +5 -0
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/validation/options.js +11 -3
- data/lib/condenser/processors/node_modules/@babel/core/lib/config/validation/plugins.js +5 -1
- data/lib/condenser/processors/node_modules/@babel/core/lib/gensync-utils/async.js +89 -0
- data/lib/condenser/processors/node_modules/@babel/core/lib/gensync-utils/fs.js +48 -0
- data/lib/condenser/processors/node_modules/@babel/core/lib/gensync-utils/resolve.js +35 -0
- data/lib/condenser/processors/node_modules/@babel/core/lib/index.js +24 -0
- data/lib/condenser/processors/node_modules/@babel/core/lib/parse.js +27 -42
- data/lib/condenser/processors/node_modules/@babel/core/lib/parser/index.js +97 -0
- data/lib/condenser/processors/node_modules/@babel/core/lib/{transformation → parser}/util/missing-plugin-helper.js +16 -10
- data/lib/condenser/processors/node_modules/@babel/core/lib/tools/build-external-helpers.js +4 -1
- data/lib/condenser/processors/node_modules/@babel/core/lib/transform-ast.js +27 -33
- data/lib/condenser/processors/node_modules/@babel/core/lib/transform-file.js +20 -57
- data/lib/condenser/processors/node_modules/@babel/core/lib/transform.js +23 -31
- data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/file/file.js +12 -31
- data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/index.js +7 -18
- data/lib/condenser/processors/node_modules/@babel/core/lib/transformation/normalize-file.js +3 -88
- data/lib/condenser/processors/node_modules/@babel/core/package.json +17 -15
- data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/flow.js +5 -0
- data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/modules.js +2 -2
- data/lib/condenser/processors/node_modules/@babel/generator/lib/generators/types.js +68 -1
- data/lib/condenser/processors/node_modules/@babel/generator/lib/index.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/generator/lib/node/index.js +1 -6
- data/lib/condenser/processors/node_modules/@babel/generator/lib/node/parentheses.js +50 -23
- data/lib/condenser/processors/node_modules/@babel/generator/lib/node/whitespace.js +11 -2
- data/lib/condenser/processors/node_modules/@babel/generator/lib/printer.js +31 -12
- data/lib/condenser/processors/node_modules/@babel/generator/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/helper-annotate-as-pure/package.json +13 -12
- data/lib/condenser/processors/node_modules/@babel/helper-builder-binary-assignment-operator-visitor/package.json +13 -13
- data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/LICENSE +22 -0
- data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/debug.js +35 -0
- data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/filter-items.js +90 -0
- data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/index.js +237 -0
- data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/options.js +23 -0
- data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/pretty.js +49 -0
- data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/targets.js +27 -0
- data/lib/condenser/processors/node_modules/@babel/{parser → helper-compilation-targets}/lib/types.js +0 -0
- data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/lib/utils.js +65 -0
- data/lib/condenser/processors/node_modules/@babel/helper-compilation-targets/package.json +66 -0
- data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js +23 -14
- data/lib/condenser/processors/node_modules/@babel/helper-create-class-features-plugin/package.json +19 -19
- data/lib/condenser/processors/node_modules/@babel/helper-create-regexp-features-plugin/lib/index.js +6 -1
- data/lib/condenser/processors/node_modules/@babel/helper-create-regexp-features-plugin/package.json +16 -15
- data/lib/condenser/processors/node_modules/@babel/helper-define-map/package.json +13 -13
- data/lib/condenser/processors/node_modules/@babel/helper-explode-assignable-expression/package.json +13 -13
- data/lib/condenser/processors/node_modules/@babel/helper-function-name/lib/index.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/helper-function-name/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/helper-get-function-arity/package.json +12 -12
- data/lib/condenser/processors/node_modules/@babel/helper-hoist-variables/package.json +12 -13
- data/lib/condenser/processors/node_modules/@babel/helper-member-expression-to-functions/package.json +13 -13
- data/lib/condenser/processors/node_modules/@babel/helper-module-imports/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/lib/get-module-name.js +42 -0
- data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/lib/index.js +16 -2
- data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js +46 -2
- data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js +4 -2
- data/lib/condenser/processors/node_modules/@babel/helper-module-transforms/package.json +20 -17
- data/lib/condenser/processors/node_modules/@babel/helper-optimise-call-expression/package.json +13 -13
- data/lib/condenser/processors/node_modules/@babel/helper-plugin-utils/LICENSE +1 -1
- data/lib/condenser/processors/node_modules/@babel/helper-plugin-utils/lib/index.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/helper-plugin-utils/package.json +22 -11
- data/lib/condenser/processors/node_modules/@babel/helper-regex/lib/index.js +2 -10
- data/lib/condenser/processors/node_modules/@babel/helper-regex/package.json +11 -11
- data/lib/condenser/processors/node_modules/@babel/helper-remap-async-to-generator/package.json +16 -16
- data/lib/condenser/processors/node_modules/@babel/helper-replace-supers/lib/index.js +1 -0
- data/lib/condenser/processors/node_modules/@babel/helper-replace-supers/package.json +17 -16
- data/lib/condenser/processors/node_modules/@babel/helper-simple-access/package.json +13 -13
- data/lib/condenser/processors/node_modules/@babel/helper-split-export-declaration/package.json +13 -13
- data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
- data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/README.md +19 -0
- data/lib/condenser/processors/node_modules/@babel/{parser/lib/util → helper-validator-identifier/lib}/identifier.js +26 -48
- data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
- data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/lib/keyword.js +38 -0
- data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/package.json +47 -0
- data/lib/condenser/processors/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +75 -0
- data/lib/condenser/processors/node_modules/@babel/helper-wrap-function/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/helpers/lib/helpers.js +166 -26
- data/lib/condenser/processors/node_modules/@babel/helpers/lib/index.js +28 -9
- data/lib/condenser/processors/node_modules/@babel/helpers/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/highlight/lib/index.js +12 -34
- data/lib/condenser/processors/node_modules/@babel/highlight/package.json +12 -12
- data/lib/condenser/processors/node_modules/@babel/parser/bin/babel-parser.js +5 -6
- data/lib/condenser/processors/node_modules/@babel/parser/lib/index.js +6137 -5631
- data/lib/condenser/processors/node_modules/@babel/parser/lib/index.js.map +1 -1
- data/lib/condenser/processors/node_modules/@babel/parser/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-async-generator-functions/package.json +16 -16
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-class-properties/package.json +10 -10
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-dynamic-import/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-json-strings/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/LICENSE +22 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/README.md +19 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/lib/index.js +51 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-nullish-coalescing-operator/package.json +55 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-numeric-separator/LICENSE +22 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-numeric-separator/README.md +19 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-numeric-separator/lib/index.js +36 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-numeric-separator/package.json +55 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-object-rest-spread/lib/index.js +67 -8
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-object-rest-spread/package.json +16 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-catch-binding/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-chaining/LICENSE +22 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-chaining/README.md +19 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-chaining/lib/index.js +120 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-optional-chaining/package.json +56 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-proposal-unicode-property-regex/package.json +17 -16
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-async-generators/package.json +12 -13
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-dynamic-import/package.json +12 -13
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-json-strings/package.json +12 -13
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/LICENSE +22 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/README.md +19 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js +22 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/package.json +53 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-numeric-separator/LICENSE +22 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-numeric-separator/README.md +19 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-numeric-separator/lib/index.js +22 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-numeric-separator/package.json +54 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-object-rest-spread/package.json +12 -13
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-catch-binding/package.json +12 -13
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-chaining/LICENSE +22 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-chaining/README.md +19 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js +22 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-optional-chaining/package.json +53 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-syntax-top-level-await/package.json +13 -13
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-arrow-functions/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-async-to-generator/package.json +16 -16
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-block-scoped-functions/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-block-scoping/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-classes/lib/inline-createSuper-helpers.js +72 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-classes/lib/transformClass.js +22 -5
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-classes/package.json +20 -20
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-computed-properties/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-destructuring/lib/index.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-destructuring/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-dotall-regex/package.json +17 -16
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-duplicate-keys/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-exponentiation-operator/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-for-of/lib/index.js +79 -167
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-for-of/lib/no-helper-implementation.js +174 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-for-of/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-function-name/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-literals/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-member-expression-literals/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-amd/lib/index.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-amd/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-commonjs/package.json +17 -17
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-systemjs/lib/index.js +9 -2
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-systemjs/package.json +17 -16
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-umd/lib/index.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-modules-umd/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-named-capturing-groups-regex/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-new-target/package.json +16 -16
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-object-super/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/lib/index.js +6 -0
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/lib/params.js +93 -39
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/lib/rest.js +16 -3
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-parameters/package.json +16 -16
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-property-literals/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-regenerator/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-reserved-words/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-runtime/package.json +16 -16
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-shorthand-properties/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-spread/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-sticky-regex/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-template-literals/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-typeof-symbol/lib/index.js +9 -1
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-typeof-symbol/package.json +18 -14
- data/lib/condenser/processors/node_modules/@babel/plugin-transform-unicode-regex/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/built-in-modules.js +3 -0
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/built-in-modules.json.js +3 -0
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/built-ins.js +4 -0
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/corejs2-built-ins.js +3 -0
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/corejs2-built-ins.json.js +3 -0
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/plugins.js +3 -0
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/plugins.json.js +3 -0
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/shipped-proposals.js +22 -9
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/unreleased-labels.js +3 -3
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/available-plugins.js +47 -11
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/debug.js +2 -23
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/filter-items.js +3 -68
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/index.js +37 -16
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/normalize-options.js +11 -12
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/options.js +3 -19
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/plugins-compat-data.js +31 -0
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs2/entry-plugin.js +4 -4
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs2/usage-plugin.js +4 -4
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs3/built-in-definitions.js +4 -4
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs3/entry-plugin.js +2 -2
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js +4 -4
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/targets-parser.js +18 -206
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/utils.js +0 -101
- data/lib/condenser/processors/node_modules/@babel/preset-env/package.json +69 -65
- data/lib/condenser/processors/node_modules/@babel/preset-modules/README.md +168 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/index.js +27 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-async-arrows-in-class/index.js +45 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-edge-default-parameters/index.js +36 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-edge-function-name/index.js +42 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-jsx-spread/index.js +115 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-safari-block-shadowing/index.js +47 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-safari-for-shadowing/index.js +42 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/lib/plugins/transform-tagged-template-caching/index.js +75 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/package.json +128 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/src/index.js +30 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-async-arrows-in-class/index.js +35 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-edge-default-parameters/index.js +29 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-edge-function-name/index.js +31 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-jsx-spread/index.js +111 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-safari-block-shadowing/index.js +39 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-safari-for-shadowing/index.js +38 -0
- data/lib/condenser/processors/node_modules/@babel/preset-modules/src/plugins/transform-tagged-template-caching/index.js +88 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/arrayLikeToArray.js +11 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/arrayWithoutHoles.js +3 -7
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/construct.js +1 -12
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/createForOfIteratorHelper.js +66 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/createForOfIteratorHelperLoose.js +35 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/createSuper.js +25 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/arrayLikeToArray.js +9 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithoutHoles.js +2 -7
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/construct.js +1 -14
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/createForOfIteratorHelper.js +59 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/createForOfIteratorHelperLoose.js +27 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/createSuper.js +19 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/isNativeReflectConstruct.js +13 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArray.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimit.js +2 -4
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimitLoose.js +2 -4
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableRest.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableSpread.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread.js +2 -2
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArrayLoose.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/toArray.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js +2 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/unsupportedIterableToArray.js +15 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/isNativeReflectConstruct.js +16 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/iterableToArray.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/iterableToArrayLimit.js +3 -4
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/iterableToArrayLimitLoose.js +3 -4
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/maybeArrayLike.js +14 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/nonIterableRest.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/nonIterableSpread.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/objectSpread.js +2 -2
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/slicedToArray.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/slicedToArrayLoose.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/toArray.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/toConsumableArray.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/typeof.js +2 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/unsupportedIterableToArray.js +20 -0
- data/lib/condenser/processors/node_modules/@babel/runtime-corejs3/package.json +7 -7
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +11 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +3 -7
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/construct.js +1 -12
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +58 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +23 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/createSuper.js +23 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +9 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +2 -7
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/construct.js +1 -14
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +55 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +20 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/createSuper.js +18 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +12 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -4
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js +1 -4
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/objectSpread.js +2 -2
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/toArray.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +2 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js +2 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +14 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/iterableToArray.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +1 -4
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js +1 -4
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/maybeArrayLike.js +12 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/nonIterableRest.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/nonIterableSpread.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/objectSpread.js +2 -2
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/slicedToArray.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/slicedToArrayLoose.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/toArray.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/toConsumableArray.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/typeof.js +2 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +12 -0
- data/lib/condenser/processors/node_modules/@babel/runtime/package.json +16 -15
- data/lib/condenser/processors/node_modules/@babel/template/lib/options.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/template/package.json +14 -14
- data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/comments.js +2 -2
- data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +1 -1
- data/lib/condenser/processors/node_modules/@babel/traverse/lib/path/removal.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/traverse/lib/scope/index.js +190 -87
- data/lib/condenser/processors/node_modules/@babel/traverse/lib/visitors.js +4 -0
- data/lib/condenser/processors/node_modules/@babel/traverse/package.json +18 -19
- data/lib/condenser/processors/node_modules/@babel/types/lib/asserts/generated/index.js +20 -5
- data/lib/condenser/processors/node_modules/@babel/types/lib/builders/generated/index.js +20 -5
- data/lib/condenser/processors/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +14 -0
- data/lib/condenser/processors/node_modules/@babel/types/lib/clone/cloneNode.js +36 -13
- data/lib/condenser/processors/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +2 -4
- data/lib/condenser/processors/node_modules/@babel/types/lib/constants/index.js +3 -1
- data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/core.js +171 -40
- data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/es2015.js +124 -64
- data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/experimental.js +29 -3
- data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/flow.js +4 -1
- data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/index.js +6 -0
- data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/jsx.js +1 -2
- data/lib/condenser/processors/node_modules/@babel/types/lib/definitions/utils.js +87 -21
- data/lib/condenser/processors/node_modules/@babel/types/lib/index.d.ts +143 -119
- data/lib/condenser/processors/node_modules/@babel/types/lib/index.js +9 -0
- data/lib/condenser/processors/node_modules/@babel/types/lib/index.js.flow +137 -116
- data/lib/condenser/processors/node_modules/@babel/types/lib/validators/generated/index.js +62 -14
- data/lib/condenser/processors/node_modules/@babel/types/lib/validators/isReferenced.js +7 -3
- data/lib/condenser/processors/node_modules/@babel/types/lib/validators/isScope.js +4 -0
- data/lib/condenser/processors/node_modules/@babel/types/lib/validators/isValidIdentifier.js +11 -9
- data/lib/condenser/processors/node_modules/@babel/types/lib/validators/validate.js +9 -0
- data/lib/condenser/processors/node_modules/@babel/types/package.json +15 -15
- data/lib/condenser/processors/node_modules/@babel/types/scripts/generators/docs.js +5 -1
- data/lib/condenser/processors/node_modules/@babel/types/scripts/generators/flow.js +6 -3
- data/lib/condenser/processors/node_modules/@babel/types/scripts/generators/typescript.js +17 -13
- data/lib/condenser/processors/node_modules/@types/estree/README.md +16 -16
- data/lib/condenser/processors/node_modules/@types/estree/index.d.ts +1 -7
- data/lib/condenser/processors/node_modules/@types/estree/package.json +16 -18
- data/lib/condenser/processors/node_modules/@types/node/LICENSE +21 -21
- data/lib/condenser/processors/node_modules/@types/node/README.md +16 -16
- data/lib/condenser/processors/node_modules/@types/node/assert.d.ts +3 -0
- data/lib/condenser/processors/node_modules/@types/node/async_hooks.d.ts +115 -0
- data/lib/condenser/processors/node_modules/@types/node/child_process.d.ts +2 -2
- data/lib/condenser/processors/node_modules/@types/node/cluster.d.ts +2 -6
- data/lib/condenser/processors/node_modules/@types/node/crypto.d.ts +6 -6
- data/lib/condenser/processors/node_modules/@types/node/dns.d.ts +5 -0
- data/lib/condenser/processors/node_modules/@types/node/events.d.ts +31 -21
- data/lib/condenser/processors/node_modules/@types/node/fs.d.ts +238 -52
- data/lib/condenser/processors/node_modules/@types/node/globals.d.ts +63 -53
- data/lib/condenser/processors/node_modules/@types/node/http.d.ts +36 -18
- data/lib/condenser/processors/node_modules/@types/node/http2.d.ts +1 -0
- data/lib/condenser/processors/node_modules/@types/node/https.d.ts +1 -17
- data/lib/condenser/processors/node_modules/@types/node/index.d.ts +9 -7
- data/lib/condenser/processors/node_modules/@types/node/module.d.ts +41 -3
- data/lib/condenser/processors/node_modules/@types/node/os.d.ts +9 -1
- data/lib/condenser/processors/node_modules/@types/node/package.json +25 -13
- data/lib/condenser/processors/node_modules/@types/node/perf_hooks.d.ts +27 -10
- data/lib/condenser/processors/node_modules/@types/node/querystring.d.ts +2 -3
- data/lib/condenser/processors/node_modules/@types/node/readline.d.ts +14 -0
- data/lib/condenser/processors/node_modules/@types/node/repl.d.ts +6 -1
- data/lib/condenser/processors/node_modules/@types/node/stream.d.ts +35 -11
- data/lib/condenser/processors/node_modules/@types/node/tls.d.ts +67 -1
- data/lib/condenser/processors/node_modules/@types/node/ts3.2/fs.d.ts +5 -5
- data/lib/condenser/processors/node_modules/@types/node/ts3.5/index.d.ts +14 -0
- data/lib/condenser/processors/node_modules/@types/node/ts3.5/wasi.d.ts +52 -0
- data/lib/condenser/processors/node_modules/@types/node/tty.d.ts +1 -1
- data/lib/condenser/processors/node_modules/@types/node/url.d.ts +1 -1
- data/lib/condenser/processors/node_modules/@types/node/util.d.ts +20 -12
- data/lib/condenser/processors/node_modules/@types/node/vm.d.ts +36 -4
- data/lib/condenser/processors/node_modules/@types/node/worker_threads.d.ts +30 -1
- data/lib/condenser/processors/node_modules/browserslist/CHANGELOG.md +28 -0
- data/lib/condenser/processors/node_modules/browserslist/LICENSE +1 -1
- data/lib/condenser/processors/node_modules/browserslist/README.md +7 -5
- data/lib/condenser/processors/node_modules/browserslist/cli.js +21 -11
- data/lib/condenser/processors/node_modules/browserslist/index.js +90 -5
- data/lib/condenser/processors/node_modules/browserslist/node.js +22 -15
- data/lib/condenser/processors/node_modules/browserslist/package.json +16 -17
- data/lib/condenser/processors/node_modules/browserslist/update-db.js +134 -0
- data/lib/condenser/processors/node_modules/caniuse-lite/CHANGELOG.md +24 -0
- data/lib/condenser/processors/node_modules/caniuse-lite/data/agents.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/browserVersions.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/aac.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/apng.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-find.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/async-iterations-and-generators.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/audio.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/av1.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/avif.js +1 -0
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/beacon.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/bigint.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/border-image.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/brotli.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/calc.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/canvas.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/classlist.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/clear-site-data-header.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/console-time.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/const.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/cors.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-all.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-apply-rule.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-has.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-hyphenate.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-table.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-touch-action-2.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/customevent.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/datalist.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dataset.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/datauri.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/details.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dialog.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/domfocusin-domfocusout-events.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/download.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/eme.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/eot.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es5.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/es6.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fetch.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/filereader.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flac.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/focusoptions-preventscroll.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-variant-east-asian.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fontface.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/forms.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/heif.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hevc.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/hidden.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/history.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/http2.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/http3.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ime.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/imports.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/innertext.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-color.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-event.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-number.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-range.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-search.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -0
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/json.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/let.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mathml.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/media-attribute.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/media-session-api.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/menu.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/meter.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/midi.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mp3.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/navigator-language.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/node-contains.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/node-parentelement.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/notifications.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/object-values.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ogv.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/online-status.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/opus.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/outline.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/path2d.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/picture.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ping.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pointer.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/private-class-fields.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/private-methods-and-accessors.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/progress.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/promises.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/proximity.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/proxy.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/public-class-fields.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/push-api.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rellist.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rem.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/replace-all.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ruby.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/run-in.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/script-async.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sdch.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sha-2.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sni.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/spdy.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/srcset.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/stopimmediatepropagation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/stream.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/streams.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/svg.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/sxg.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/symbols.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/template.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/text-underline-offset.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/token-binding.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/touch.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/ttf.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/u2f.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -0
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/url.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/vibration.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/video.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wasm.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wav.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/web-share.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webgl.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webgpu.js +1 -0
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webhid.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webm.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webp.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/websockets.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webusb.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webvr.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/webxr.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/will-change.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/woff.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/woff2.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/word-break.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AD.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AF.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AI.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AL.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AO.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AS.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AT.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AU.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AW.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AX.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/AZ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BB.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BD.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BF.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BH.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BI.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BJ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BN.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BO.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BS.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BT.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BW.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BY.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/BZ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CD.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CF.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CH.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CI.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CK.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CL.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CN.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CO.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CU.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CV.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CX.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CY.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/CZ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DJ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DK.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DO.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/DZ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/EC.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/EE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/EG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ER.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ES.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ET.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FI.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FJ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FK.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FO.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/FR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GB.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GD.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GF.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GH.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GI.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GL.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GN.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GP.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GQ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GT.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GU.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GW.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/GY.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HK.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HN.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HT.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/HU.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ID.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IL.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IN.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IQ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IS.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/IT.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JO.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/JP.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KH.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KI.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KN.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KP.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KW.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KY.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/KZ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LB.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LC.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LI.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LK.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LS.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LT.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LU.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LV.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/LY.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MC.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MD.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ME.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MH.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MK.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ML.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MN.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MO.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MP.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MQ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MS.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MT.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MU.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MV.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MW.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MX.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MY.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/MZ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NC.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NF.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NI.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NL.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NO.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NP.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NU.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/NZ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/OM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PF.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PH.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PK.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PL.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PN.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PS.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PT.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PW.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/PY.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/QA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RO.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RS.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RU.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/RW.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SB.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SC.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SD.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SH.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SI.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SK.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SL.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SN.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SO.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ST.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SV.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SY.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/SZ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TC.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TD.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TH.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TJ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TK.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TL.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TN.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TO.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TR.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TT.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TV.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TW.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/TZ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/US.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UY.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/UZ.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VC.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VG.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VI.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VN.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/VU.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/WF.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/WS.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/YE.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/YT.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ZA.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ZM.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/ZW.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-af.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-an.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-as.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-na.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -1
- data/lib/condenser/processors/node_modules/caniuse-lite/package.json +10 -10
- data/lib/condenser/processors/node_modules/core-js-compat/data.json +217 -200
- data/lib/condenser/processors/node_modules/core-js-compat/package.json +12 -12
- data/lib/condenser/processors/node_modules/core-js-pure/internals/array-last-index-of.js +2 -1
- data/lib/condenser/processors/node_modules/core-js-pure/internals/array-method-uses-to-length.js +5 -8
- data/lib/condenser/processors/node_modules/core-js-pure/internals/shared.js +1 -1
- data/lib/condenser/processors/node_modules/core-js-pure/internals/task.js +7 -1
- data/lib/condenser/processors/node_modules/core-js-pure/modules/es.array.reduce-right.js +2 -1
- data/lib/condenser/processors/node_modules/core-js-pure/modules/web.url.js +1 -1
- data/lib/condenser/processors/node_modules/core-js-pure/package.json +5 -5
- data/lib/condenser/processors/node_modules/core-js-pure/postinstall.js +3 -1
- data/lib/condenser/processors/node_modules/electron-to-chromium/chromium-versions.js +3 -1
- data/lib/condenser/processors/node_modules/electron-to-chromium/full-chromium-versions.js +142 -0
- data/lib/condenser/processors/node_modules/electron-to-chromium/full-versions.js +92 -0
- data/lib/condenser/processors/node_modules/electron-to-chromium/package.json +11 -11
- data/lib/condenser/processors/node_modules/electron-to-chromium/versions.js +4 -0
- data/lib/condenser/processors/node_modules/esutils/package.json +2 -3
- data/lib/condenser/processors/node_modules/find-up/index.js +48 -0
- data/lib/condenser/processors/node_modules/{acorn/LICENSE → find-up/license} +3 -1
- data/lib/condenser/processors/node_modules/find-up/package.json +85 -0
- data/lib/condenser/processors/node_modules/find-up/readme.md +85 -0
- data/lib/condenser/processors/node_modules/fsevents/LICENSE +22 -0
- data/lib/condenser/processors/node_modules/fsevents/README.md +77 -0
- data/lib/condenser/processors/node_modules/fsevents/fsevents.d.ts +55 -0
- data/lib/condenser/processors/node_modules/fsevents/fsevents.js +77 -0
- data/lib/condenser/processors/node_modules/fsevents/fsevents.node +0 -0
- data/lib/condenser/processors/node_modules/fsevents/package.json +84 -0
- data/lib/condenser/processors/node_modules/gensync/LICENSE +7 -0
- data/lib/condenser/processors/node_modules/gensync/README.md +196 -0
- data/lib/condenser/processors/node_modules/gensync/index.js +366 -0
- data/lib/condenser/processors/node_modules/gensync/index.js.flow +32 -0
- data/lib/condenser/processors/node_modules/gensync/package.json +60 -0
- data/lib/condenser/processors/node_modules/gensync/test/.babelrc +5 -0
- data/lib/condenser/processors/node_modules/gensync/test/index.test.js +475 -0
- data/lib/condenser/processors/node_modules/invariant/package.json +2 -0
- data/lib/condenser/processors/node_modules/json5/CHANGELOG.md +15 -0
- data/lib/condenser/processors/node_modules/json5/README.md +1 -1
- data/lib/condenser/processors/node_modules/json5/dist/index.js +5 -5
- data/lib/condenser/processors/node_modules/json5/dist/index.min.js +1 -1
- data/lib/condenser/processors/node_modules/json5/dist/index.min.mjs +1 -1
- data/lib/condenser/processors/node_modules/json5/dist/index.mjs +5 -5
- data/lib/condenser/processors/node_modules/json5/lib/util.js +5 -5
- data/lib/condenser/processors/node_modules/json5/package.json +11 -11
- data/lib/condenser/processors/node_modules/leven/index.d.ts +21 -0
- data/lib/condenser/processors/node_modules/leven/index.js +77 -0
- data/lib/condenser/processors/node_modules/leven/license +9 -0
- data/lib/condenser/processors/node_modules/leven/package.json +89 -0
- data/lib/condenser/processors/node_modules/leven/readme.md +50 -0
- data/lib/condenser/processors/node_modules/{js-levenshtein → levenary}/LICENSE +3 -2
- data/lib/condenser/processors/node_modules/levenary/README.md +40 -0
- data/lib/condenser/processors/node_modules/levenary/index.d.ts +15 -0
- data/lib/condenser/processors/node_modules/levenary/index.flow.js +15 -0
- data/lib/condenser/processors/node_modules/levenary/index.js +27 -0
- data/lib/condenser/processors/node_modules/levenary/index.mjs +14 -0
- data/lib/condenser/processors/node_modules/levenary/package.json +98 -0
- data/lib/condenser/processors/node_modules/locate-path/index.js +24 -0
- data/lib/condenser/processors/node_modules/locate-path/license +21 -0
- data/lib/condenser/processors/node_modules/locate-path/package.json +79 -0
- data/lib/condenser/processors/node_modules/locate-path/readme.md +99 -0
- data/lib/condenser/processors/node_modules/magic-string/CHANGELOG.md +8 -0
- data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.cjs.js +3 -7
- data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.cjs.js.map +1 -1
- data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.es.js +3 -7
- data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.es.js.map +1 -1
- data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.umd.js +3 -7
- data/lib/condenser/processors/node_modules/magic-string/dist/magic-string.umd.js.map +1 -1
- data/lib/condenser/processors/node_modules/magic-string/package.json +6 -5
- data/lib/condenser/processors/node_modules/minimist/example/parse.js +1 -1
- data/lib/condenser/processors/node_modules/minimist/index.js +12 -3
- data/lib/condenser/processors/node_modules/minimist/package.json +10 -10
- data/lib/condenser/processors/node_modules/minimist/readme.markdown +18 -14
- data/lib/condenser/processors/node_modules/minimist/test/bool.js +12 -0
- data/lib/condenser/processors/node_modules/minimist/test/proto.js +44 -0
- data/lib/condenser/processors/node_modules/node-releases/data/processed/envs.json +70 -0
- data/lib/condenser/processors/node_modules/node-releases/data/raw/nodejs.json +14 -0
- data/lib/condenser/processors/node_modules/node-releases/data/release-schedule/release-schedule.json +3 -3
- data/lib/condenser/processors/node_modules/node-releases/package.json +14 -13
- data/lib/condenser/processors/node_modules/p-limit/index.js +42 -0
- data/lib/condenser/processors/node_modules/p-limit/license +9 -0
- data/lib/condenser/processors/node_modules/p-limit/package.json +81 -0
- data/lib/condenser/processors/node_modules/p-limit/readme.md +69 -0
- data/lib/condenser/processors/node_modules/p-locate/index.js +31 -0
- data/lib/condenser/processors/node_modules/p-locate/license +21 -0
- data/lib/condenser/processors/node_modules/p-locate/package.json +86 -0
- data/lib/condenser/processors/node_modules/p-locate/readme.md +86 -0
- data/lib/condenser/processors/node_modules/p-try/index.js +4 -0
- data/lib/condenser/processors/node_modules/p-try/license +21 -0
- data/lib/condenser/processors/node_modules/p-try/package.json +75 -0
- data/lib/condenser/processors/node_modules/p-try/readme.md +38 -0
- data/lib/condenser/processors/node_modules/path-exists/index.js +17 -0
- data/lib/condenser/processors/node_modules/path-exists/license +21 -0
- data/lib/condenser/processors/node_modules/path-exists/package.json +72 -0
- data/lib/condenser/processors/node_modules/path-exists/readme.md +50 -0
- data/lib/condenser/processors/node_modules/pkg-up/index.js +5 -0
- data/lib/condenser/processors/node_modules/pkg-up/license +21 -0
- data/lib/condenser/processors/node_modules/pkg-up/package.json +82 -0
- data/lib/condenser/processors/node_modules/pkg-up/readme.md +64 -0
- data/lib/condenser/processors/node_modules/private/package.json +5 -5
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Alphabetic.js +12 -12
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Assigned.js +14 -13
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Case_Ignorable.js +6 -6
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Cased.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_Casefolded.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_Casemapped.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_Lowercased.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_NFKC_Casefolded.js +3 -3
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_Titlecased.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Changes_When_Uppercased.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Dash.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Diacritic.js +3 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Emoji.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Emoji_Modifier_Base.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Emoji_Presentation.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Extended_Pictographic.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Extender.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Grapheme_Base.js +14 -14
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Grapheme_Extend.js +6 -6
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/ID_Continue.js +13 -12
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/ID_Start.js +9 -9
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Ideographic.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Lowercase.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Sentence_Terminal.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Terminal_Punctuation.js +3 -3
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Unified_Ideograph.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/Uppercase.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/XID_Continue.js +13 -12
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Binary_Property/XID_Start.js +9 -9
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Cased_Letter.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Dash_Punctuation.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Decimal_Number.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Letter.js +9 -9
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Lowercase_Letter.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Mark.js +6 -6
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Modifier_Letter.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Modifier_Symbol.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Nonspacing_Mark.js +6 -6
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Number.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Other.js +10 -10
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Other_Letter.js +7 -7
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Other_Number.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Other_Punctuation.js +3 -3
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Other_Symbol.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Punctuation.js +3 -3
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Spacing_Mark.js +3 -3
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Symbol.js +3 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Unassigned.js +10 -10
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/General_Category/Uppercase_Letter.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Arabic.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Armenian.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Bopomofo.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Chakma.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Chorasmian.js +3 -0
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Common.js +4 -4
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Dives_Akuru.js +3 -0
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Han.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Inherited.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Khitan_Small_Script.js +3 -0
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Latin.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Lisu.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Malayalam.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Newa.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Oriya.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Sharada.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Sinhala.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Syloti_Nagri.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Tangut.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script/Yezidi.js +3 -0
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Arabic.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Bopomofo.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Chakma.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Chorasmian.js +3 -0
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Common.js +3 -3
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Cyrillic.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Dives_Akuru.js +3 -0
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Georgian.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Han.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Inherited.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Khitan_Small_Script.js +3 -0
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Latin.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Lisu.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Malayalam.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Newa.js +2 -2
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Oriya.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Sharada.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Sinhala.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Syloti_Nagri.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Syriac.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Tangut.js +1 -1
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/Script_Extensions/Yezidi.js +3 -0
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/index.js +8 -0
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/package.json +14 -14
- data/lib/condenser/processors/node_modules/regenerate-unicode-properties/unicode-version.js +1 -1
- data/lib/condenser/processors/node_modules/regenerator-runtime/README.md +1 -1
- data/lib/condenser/processors/node_modules/regenerator-runtime/package.json +11 -11
- data/lib/condenser/processors/node_modules/regenerator-runtime/runtime.js +9 -6
- data/lib/condenser/processors/node_modules/regenerator-transform/lib/emit.js +27 -16
- data/lib/condenser/processors/node_modules/regenerator-transform/lib/hoist.js +2 -2
- data/lib/condenser/processors/node_modules/regenerator-transform/lib/leap.js +2 -2
- data/lib/condenser/processors/node_modules/regenerator-transform/lib/meta.js +2 -2
- data/lib/condenser/processors/node_modules/regenerator-transform/lib/replaceShorthandObjectMethod.js +2 -2
- data/lib/condenser/processors/node_modules/regenerator-transform/lib/visit.js +21 -10
- data/lib/condenser/processors/node_modules/regenerator-transform/package.json +20 -15
- data/lib/condenser/processors/node_modules/regenerator-transform/src/emit.js +23 -15
- data/lib/condenser/processors/node_modules/regenerator-transform/src/visit.js +17 -6
- data/lib/condenser/processors/node_modules/regexpu-core/README.md +4 -4
- data/lib/condenser/processors/node_modules/regexpu-core/package.json +17 -17
- data/lib/condenser/processors/node_modules/regexpu-core/rewrite-pattern.js +16 -10
- data/lib/condenser/processors/node_modules/regjsgen/package.json +5 -5
- data/lib/condenser/processors/node_modules/regjsparser/package.json +10 -10
- data/lib/condenser/processors/node_modules/regjsparser/parser.js +16 -4
- data/lib/condenser/processors/node_modules/resolve/.editorconfig +20 -0
- data/lib/condenser/processors/node_modules/resolve/appveyor.yml +1 -0
- data/lib/condenser/processors/node_modules/resolve/index.js +0 -1
- data/lib/condenser/processors/node_modules/resolve/lib/async.js +21 -7
- data/lib/condenser/processors/node_modules/resolve/lib/core.json +1 -1
- data/lib/condenser/processors/node_modules/resolve/lib/sync.js +20 -7
- data/lib/condenser/processors/node_modules/resolve/package.json +8 -8
- data/lib/condenser/processors/node_modules/resolve/readme.markdown +18 -0
- data/lib/condenser/processors/node_modules/resolve/test/resolver.js +32 -0
- data/lib/condenser/processors/node_modules/resolve/test/resolver/baz/package.json +1 -0
- data/lib/condenser/processors/node_modules/resolve/test/resolver_sync.js +29 -0
- data/lib/condenser/processors/node_modules/rollup-plugin-node-resolve/package.json +1 -1
- data/lib/condenser/processors/node_modules/rollup/CHANGELOG.md +344 -0
- data/lib/condenser/processors/node_modules/rollup/LICENSE.md +350 -102
- data/lib/condenser/processors/node_modules/rollup/dist/bin/rollup +1774 -1098
- data/lib/condenser/processors/node_modules/rollup/dist/es/package.json +1 -0
- data/lib/condenser/processors/node_modules/rollup/dist/es/rollup.browser.js +11 -0
- data/lib/condenser/processors/node_modules/rollup/dist/es/rollup.js +15 -0
- data/lib/condenser/processors/node_modules/rollup/dist/{rollup.es.js → es/shared/rollup.js} +16330 -14991
- data/lib/condenser/processors/node_modules/rollup/dist/es/shared/watch.js +7139 -0
- data/lib/condenser/processors/node_modules/rollup/dist/loadConfigFile.js +25 -0
- data/lib/condenser/processors/node_modules/rollup/dist/rollup.browser.js +3 -17
- data/lib/condenser/processors/node_modules/rollup/dist/rollup.d.ts +154 -93
- data/lib/condenser/processors/node_modules/rollup/dist/rollup.js +10 -17115
- data/lib/condenser/processors/node_modules/rollup/dist/shared/_events_commonjs-external.js +22 -0
- data/lib/condenser/processors/node_modules/rollup/dist/shared/loadConfigFile.js +560 -0
- data/lib/condenser/processors/node_modules/rollup/dist/shared/mergeOptions.js +67 -0
- data/lib/condenser/processors/node_modules/rollup/dist/shared/rollup.js +18787 -0
- data/lib/condenser/processors/node_modules/rollup/dist/shared/watch.js +7095 -0
- data/lib/condenser/processors/node_modules/rollup/package.json +71 -62
- data/lib/condenser/processors/node_modules/semver/package.json +2 -0
- data/lib/condenser/processors/node_modules/sourcemap-codec/CHANGELOG.md +4 -0
- data/lib/condenser/processors/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js +30 -39
- data/lib/condenser/processors/node_modules/sourcemap-codec/dist/sourcemap-codec.es.js.map +1 -1
- data/lib/condenser/processors/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js +30 -39
- data/lib/condenser/processors/node_modules/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -1
- data/lib/condenser/processors/node_modules/sourcemap-codec/package.json +5 -5
- data/lib/condenser/processors/node_modules/unicode-match-property-value-ecmascript/data/mappings.js +16 -0
- data/lib/condenser/processors/node_modules/unicode-match-property-value-ecmascript/package.json +12 -12
- data/lib/condenser/processors/node_modules/unicode-property-aliases-ecmascript/index.js +6 -0
- data/lib/condenser/processors/node_modules/unicode-property-aliases-ecmascript/package.json +7 -7
- data/lib/condenser/processors/node_processor.rb +8 -0
- data/lib/condenser/processors/package-lock.json +683 -541
- data/lib/condenser/processors/rollup_processor.rb +0 -1
- data/lib/condenser/templating_engine/ejs.rb +19 -0
- data/lib/condenser/transformers/jst_transformer.rb +87 -0
- data/lib/condenser/version.rb +1 -1
- data/test/preprocessor/babel_test.rb +2 -4
- data/test/templates/ejs_test.rb +3 -8
- metadata +204 -85
- data/lib/condenser/processors/node_modules/.bin/acorn +0 -1
- data/lib/condenser/processors/node_modules/@babel/helper-call-delegate/README.md +0 -19
- data/lib/condenser/processors/node_modules/@babel/helper-call-delegate/lib/index.js +0 -70
- data/lib/condenser/processors/node_modules/@babel/helper-call-delegate/package.json +0 -46
- data/lib/condenser/processors/node_modules/@babel/parser/lib/options.js +0 -35
- data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/base.js +0 -24
- data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/comments.js +0 -198
- data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/expression.js +0 -1703
- data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/index.js +0 -59
- data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/location.js +0 -49
- data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/lval.js +0 -364
- data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/node.js +0 -89
- data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/statement.js +0 -1529
- data/lib/condenser/processors/node_modules/@babel/parser/lib/parser/util.js +0 -228
- data/lib/condenser/processors/node_modules/@babel/parser/lib/plugin-utils.js +0 -91
- data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/estree.js +0 -283
- data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/flow.js +0 -2690
- data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/jsx/index.js +0 -516
- data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/jsx/xhtml.js +0 -263
- data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/placeholders.js +0 -204
- data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/typescript/index.js +0 -2076
- data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/typescript/scope.js +0 -94
- data/lib/condenser/processors/node_modules/@babel/parser/lib/plugins/v8intrinsic.js +0 -43
- data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/context.js +0 -102
- data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/index.js +0 -1225
- data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/state.js +0 -101
- data/lib/condenser/processors/node_modules/@babel/parser/lib/tokenizer/types.js +0 -267
- data/lib/condenser/processors/node_modules/@babel/parser/lib/util/location.js +0 -43
- data/lib/condenser/processors/node_modules/@babel/parser/lib/util/scope.js +0 -172
- data/lib/condenser/processors/node_modules/@babel/parser/lib/util/scopeflags.js +0 -82
- data/lib/condenser/processors/node_modules/@babel/parser/lib/util/whitespace.js +0 -58
- data/lib/condenser/processors/node_modules/@babel/preset-env/CONTRIBUTING.md +0 -103
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/corejs2-built-in-features.js +0 -359
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/overlapping-plugins.js +0 -16
- data/lib/condenser/processors/node_modules/@babel/preset-env/data/plugin-features.js +0 -108
- data/lib/condenser/processors/node_modules/@babel/preset-env/lib/polyfills/corejs3/shipped-proposals.js +0 -8
- data/lib/condenser/processors/node_modules/@types/estree/flow.d.ts +0 -174
- data/lib/condenser/processors/node_modules/acorn/CHANGELOG.md +0 -562
- data/lib/condenser/processors/node_modules/acorn/README.md +0 -270
- data/lib/condenser/processors/node_modules/acorn/bin/acorn +0 -4
- data/lib/condenser/processors/node_modules/acorn/dist/acorn.d.ts +0 -209
- data/lib/condenser/processors/node_modules/acorn/dist/acorn.js +0 -5001
- data/lib/condenser/processors/node_modules/acorn/dist/acorn.js.map +0 -1
- data/lib/condenser/processors/node_modules/acorn/dist/acorn.mjs +0 -4970
- data/lib/condenser/processors/node_modules/acorn/dist/acorn.mjs.map +0 -1
- data/lib/condenser/processors/node_modules/acorn/dist/bin.js +0 -64
- data/lib/condenser/processors/node_modules/acorn/package.json +0 -66
- data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/LICENSE +0 -21
- data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/README.md +0 -16
- data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/index.d.ts +0 -548
- data/lib/condenser/processors/node_modules/is-reference/node_modules/@types/estree/package.json +0 -51
- data/lib/condenser/processors/node_modules/js-levenshtein/README.md +0 -59
- data/lib/condenser/processors/node_modules/js-levenshtein/index.js +0 -105
- data/lib/condenser/processors/node_modules/js-levenshtein/package.json +0 -81
- data/lib/condenser/processors/node_modules/node-releases/.idea/encodings.xml +0 -4
- data/lib/condenser/processors/node_modules/node-releases/.idea/inspectionProfiles/Project_Default.xml +0 -8
- data/lib/condenser/processors/node_modules/node-releases/.idea/misc.xml +0 -9
- data/lib/condenser/processors/node_modules/node-releases/.idea/modules.xml +0 -8
- data/lib/condenser/processors/node_modules/node-releases/.idea/node-releases.iml +0 -12
- data/lib/condenser/processors/node_modules/node-releases/.idea/vcs.xml +0 -6
- data/lib/condenser/processors/node_modules/node-releases/.idea/workspace.xml +0 -121
- data/lib/condenser/processors/node_modules/node-releases/node_modules/.bin/semver +0 -1
- data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/CHANGELOG.md +0 -70
- data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/LICENSE +0 -15
- data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/README.md +0 -443
- data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/bin/semver.js +0 -174
- data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/package.json +0 -60
- data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/range.bnf +0 -16
- data/lib/condenser/processors/node_modules/node-releases/node_modules/semver/semver.js +0 -1596
- data/lib/condenser/processors/node_modules/rollup/dist/rollup.browser.es.js +0 -25
- data/lib/condenser/processors/node_modules/rollup/dist/shared/index.js +0 -320
- data/lib/condenser/transformers/ejs.rb +0 -100
@@ -1,2076 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.default = void 0;
|
7
|
-
|
8
|
-
var _types = require("../../tokenizer/types");
|
9
|
-
|
10
|
-
var _context = require("../../tokenizer/context");
|
11
|
-
|
12
|
-
var N = _interopRequireWildcard(require("../../types"));
|
13
|
-
|
14
|
-
var _scopeflags = require("../../util/scopeflags");
|
15
|
-
|
16
|
-
var _scope = _interopRequireDefault(require("./scope"));
|
17
|
-
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
19
|
-
|
20
|
-
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
21
|
-
|
22
|
-
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
23
|
-
|
24
|
-
function nonNull(x) {
|
25
|
-
if (x == null) {
|
26
|
-
throw new Error(`Unexpected ${x} value.`);
|
27
|
-
}
|
28
|
-
|
29
|
-
return x;
|
30
|
-
}
|
31
|
-
|
32
|
-
function assert(x) {
|
33
|
-
if (!x) {
|
34
|
-
throw new Error("Assert fail");
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
function keywordTypeFromName(value) {
|
39
|
-
switch (value) {
|
40
|
-
case "any":
|
41
|
-
return "TSAnyKeyword";
|
42
|
-
|
43
|
-
case "boolean":
|
44
|
-
return "TSBooleanKeyword";
|
45
|
-
|
46
|
-
case "bigint":
|
47
|
-
return "TSBigIntKeyword";
|
48
|
-
|
49
|
-
case "never":
|
50
|
-
return "TSNeverKeyword";
|
51
|
-
|
52
|
-
case "number":
|
53
|
-
return "TSNumberKeyword";
|
54
|
-
|
55
|
-
case "object":
|
56
|
-
return "TSObjectKeyword";
|
57
|
-
|
58
|
-
case "string":
|
59
|
-
return "TSStringKeyword";
|
60
|
-
|
61
|
-
case "symbol":
|
62
|
-
return "TSSymbolKeyword";
|
63
|
-
|
64
|
-
case "undefined":
|
65
|
-
return "TSUndefinedKeyword";
|
66
|
-
|
67
|
-
case "unknown":
|
68
|
-
return "TSUnknownKeyword";
|
69
|
-
|
70
|
-
default:
|
71
|
-
return undefined;
|
72
|
-
}
|
73
|
-
}
|
74
|
-
|
75
|
-
var _default = superClass => class extends superClass {
|
76
|
-
getScopeHandler() {
|
77
|
-
return _scope.default;
|
78
|
-
}
|
79
|
-
|
80
|
-
tsIsIdentifier() {
|
81
|
-
return this.match(_types.types.name);
|
82
|
-
}
|
83
|
-
|
84
|
-
tsNextTokenCanFollowModifier() {
|
85
|
-
this.next();
|
86
|
-
return !this.hasPrecedingLineBreak() && !this.match(_types.types.parenL) && !this.match(_types.types.parenR) && !this.match(_types.types.colon) && !this.match(_types.types.eq) && !this.match(_types.types.question) && !this.match(_types.types.bang);
|
87
|
-
}
|
88
|
-
|
89
|
-
tsParseModifier(allowedModifiers) {
|
90
|
-
if (!this.match(_types.types.name)) {
|
91
|
-
return undefined;
|
92
|
-
}
|
93
|
-
|
94
|
-
const modifier = this.state.value;
|
95
|
-
|
96
|
-
if (allowedModifiers.indexOf(modifier) !== -1 && this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))) {
|
97
|
-
return modifier;
|
98
|
-
}
|
99
|
-
|
100
|
-
return undefined;
|
101
|
-
}
|
102
|
-
|
103
|
-
tsParseModifiers(allowedModifiers) {
|
104
|
-
const modifiers = Object.create(null);
|
105
|
-
|
106
|
-
while (true) {
|
107
|
-
const startPos = this.state.start;
|
108
|
-
const modifier = this.tsParseModifier(allowedModifiers);
|
109
|
-
if (!modifier) break;
|
110
|
-
|
111
|
-
if (Object.hasOwnProperty.call(modifiers, modifier)) {
|
112
|
-
this.raise(startPos, `Duplicate modifier: '${modifier}'`);
|
113
|
-
}
|
114
|
-
|
115
|
-
modifiers[modifier] = true;
|
116
|
-
}
|
117
|
-
|
118
|
-
return modifiers;
|
119
|
-
}
|
120
|
-
|
121
|
-
tsIsListTerminator(kind) {
|
122
|
-
switch (kind) {
|
123
|
-
case "EnumMembers":
|
124
|
-
case "TypeMembers":
|
125
|
-
return this.match(_types.types.braceR);
|
126
|
-
|
127
|
-
case "HeritageClauseElement":
|
128
|
-
return this.match(_types.types.braceL);
|
129
|
-
|
130
|
-
case "TupleElementTypes":
|
131
|
-
return this.match(_types.types.bracketR);
|
132
|
-
|
133
|
-
case "TypeParametersOrArguments":
|
134
|
-
return this.isRelational(">");
|
135
|
-
}
|
136
|
-
|
137
|
-
throw new Error("Unreachable");
|
138
|
-
}
|
139
|
-
|
140
|
-
tsParseList(kind, parseElement) {
|
141
|
-
const result = [];
|
142
|
-
|
143
|
-
while (!this.tsIsListTerminator(kind)) {
|
144
|
-
result.push(parseElement());
|
145
|
-
}
|
146
|
-
|
147
|
-
return result;
|
148
|
-
}
|
149
|
-
|
150
|
-
tsParseDelimitedList(kind, parseElement) {
|
151
|
-
return nonNull(this.tsParseDelimitedListWorker(kind, parseElement, true));
|
152
|
-
}
|
153
|
-
|
154
|
-
tsParseDelimitedListWorker(kind, parseElement, expectSuccess) {
|
155
|
-
const result = [];
|
156
|
-
|
157
|
-
while (true) {
|
158
|
-
if (this.tsIsListTerminator(kind)) {
|
159
|
-
break;
|
160
|
-
}
|
161
|
-
|
162
|
-
const element = parseElement();
|
163
|
-
|
164
|
-
if (element == null) {
|
165
|
-
return undefined;
|
166
|
-
}
|
167
|
-
|
168
|
-
result.push(element);
|
169
|
-
|
170
|
-
if (this.eat(_types.types.comma)) {
|
171
|
-
continue;
|
172
|
-
}
|
173
|
-
|
174
|
-
if (this.tsIsListTerminator(kind)) {
|
175
|
-
break;
|
176
|
-
}
|
177
|
-
|
178
|
-
if (expectSuccess) {
|
179
|
-
this.expect(_types.types.comma);
|
180
|
-
}
|
181
|
-
|
182
|
-
return undefined;
|
183
|
-
}
|
184
|
-
|
185
|
-
return result;
|
186
|
-
}
|
187
|
-
|
188
|
-
tsParseBracketedList(kind, parseElement, bracket, skipFirstToken) {
|
189
|
-
if (!skipFirstToken) {
|
190
|
-
if (bracket) {
|
191
|
-
this.expect(_types.types.bracketL);
|
192
|
-
} else {
|
193
|
-
this.expectRelational("<");
|
194
|
-
}
|
195
|
-
}
|
196
|
-
|
197
|
-
const result = this.tsParseDelimitedList(kind, parseElement);
|
198
|
-
|
199
|
-
if (bracket) {
|
200
|
-
this.expect(_types.types.bracketR);
|
201
|
-
} else {
|
202
|
-
this.expectRelational(">");
|
203
|
-
}
|
204
|
-
|
205
|
-
return result;
|
206
|
-
}
|
207
|
-
|
208
|
-
tsParseImportType() {
|
209
|
-
const node = this.startNode();
|
210
|
-
this.expect(_types.types._import);
|
211
|
-
this.expect(_types.types.parenL);
|
212
|
-
|
213
|
-
if (!this.match(_types.types.string)) {
|
214
|
-
this.raise(this.state.start, "Argument in a type import must be a string literal");
|
215
|
-
}
|
216
|
-
|
217
|
-
node.argument = this.parseExprAtom();
|
218
|
-
this.expect(_types.types.parenR);
|
219
|
-
|
220
|
-
if (this.eat(_types.types.dot)) {
|
221
|
-
node.qualifier = this.tsParseEntityName(true);
|
222
|
-
}
|
223
|
-
|
224
|
-
if (this.isRelational("<")) {
|
225
|
-
node.typeParameters = this.tsParseTypeArguments();
|
226
|
-
}
|
227
|
-
|
228
|
-
return this.finishNode(node, "TSImportType");
|
229
|
-
}
|
230
|
-
|
231
|
-
tsParseEntityName(allowReservedWords) {
|
232
|
-
let entity = this.parseIdentifier();
|
233
|
-
|
234
|
-
while (this.eat(_types.types.dot)) {
|
235
|
-
const node = this.startNodeAtNode(entity);
|
236
|
-
node.left = entity;
|
237
|
-
node.right = this.parseIdentifier(allowReservedWords);
|
238
|
-
entity = this.finishNode(node, "TSQualifiedName");
|
239
|
-
}
|
240
|
-
|
241
|
-
return entity;
|
242
|
-
}
|
243
|
-
|
244
|
-
tsParseTypeReference() {
|
245
|
-
const node = this.startNode();
|
246
|
-
node.typeName = this.tsParseEntityName(false);
|
247
|
-
|
248
|
-
if (!this.hasPrecedingLineBreak() && this.isRelational("<")) {
|
249
|
-
node.typeParameters = this.tsParseTypeArguments();
|
250
|
-
}
|
251
|
-
|
252
|
-
return this.finishNode(node, "TSTypeReference");
|
253
|
-
}
|
254
|
-
|
255
|
-
tsParseThisTypePredicate(lhs) {
|
256
|
-
this.next();
|
257
|
-
const node = this.startNodeAtNode(lhs);
|
258
|
-
node.parameterName = lhs;
|
259
|
-
node.typeAnnotation = this.tsParseTypeAnnotation(false);
|
260
|
-
return this.finishNode(node, "TSTypePredicate");
|
261
|
-
}
|
262
|
-
|
263
|
-
tsParseThisTypeNode() {
|
264
|
-
const node = this.startNode();
|
265
|
-
this.next();
|
266
|
-
return this.finishNode(node, "TSThisType");
|
267
|
-
}
|
268
|
-
|
269
|
-
tsParseTypeQuery() {
|
270
|
-
const node = this.startNode();
|
271
|
-
this.expect(_types.types._typeof);
|
272
|
-
|
273
|
-
if (this.match(_types.types._import)) {
|
274
|
-
node.exprName = this.tsParseImportType();
|
275
|
-
} else {
|
276
|
-
node.exprName = this.tsParseEntityName(true);
|
277
|
-
}
|
278
|
-
|
279
|
-
return this.finishNode(node, "TSTypeQuery");
|
280
|
-
}
|
281
|
-
|
282
|
-
tsParseTypeParameter() {
|
283
|
-
const node = this.startNode();
|
284
|
-
node.name = this.parseIdentifierName(node.start);
|
285
|
-
node.constraint = this.tsEatThenParseType(_types.types._extends);
|
286
|
-
node.default = this.tsEatThenParseType(_types.types.eq);
|
287
|
-
return this.finishNode(node, "TSTypeParameter");
|
288
|
-
}
|
289
|
-
|
290
|
-
tsTryParseTypeParameters() {
|
291
|
-
if (this.isRelational("<")) {
|
292
|
-
return this.tsParseTypeParameters();
|
293
|
-
}
|
294
|
-
}
|
295
|
-
|
296
|
-
tsParseTypeParameters() {
|
297
|
-
const node = this.startNode();
|
298
|
-
|
299
|
-
if (this.isRelational("<") || this.match(_types.types.jsxTagStart)) {
|
300
|
-
this.next();
|
301
|
-
} else {
|
302
|
-
this.unexpected();
|
303
|
-
}
|
304
|
-
|
305
|
-
node.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this), false, true);
|
306
|
-
return this.finishNode(node, "TSTypeParameterDeclaration");
|
307
|
-
}
|
308
|
-
|
309
|
-
tsTryNextParseConstantContext() {
|
310
|
-
if (this.lookahead().type === _types.types._const) {
|
311
|
-
this.next();
|
312
|
-
return this.tsParseTypeReference();
|
313
|
-
}
|
314
|
-
|
315
|
-
return null;
|
316
|
-
}
|
317
|
-
|
318
|
-
tsFillSignature(returnToken, signature) {
|
319
|
-
const returnTokenRequired = returnToken === _types.types.arrow;
|
320
|
-
signature.typeParameters = this.tsTryParseTypeParameters();
|
321
|
-
this.expect(_types.types.parenL);
|
322
|
-
signature.parameters = this.tsParseBindingListForSignature();
|
323
|
-
|
324
|
-
if (returnTokenRequired) {
|
325
|
-
signature.typeAnnotation = this.tsParseTypeOrTypePredicateAnnotation(returnToken);
|
326
|
-
} else if (this.match(returnToken)) {
|
327
|
-
signature.typeAnnotation = this.tsParseTypeOrTypePredicateAnnotation(returnToken);
|
328
|
-
}
|
329
|
-
}
|
330
|
-
|
331
|
-
tsParseBindingListForSignature() {
|
332
|
-
return this.parseBindingList(_types.types.parenR, 41).map(pattern => {
|
333
|
-
if (pattern.type !== "Identifier" && pattern.type !== "RestElement" && pattern.type !== "ObjectPattern" && pattern.type !== "ArrayPattern") {
|
334
|
-
this.raise(pattern.start, "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern," + `instead got ${pattern.type}`);
|
335
|
-
}
|
336
|
-
|
337
|
-
return pattern;
|
338
|
-
});
|
339
|
-
}
|
340
|
-
|
341
|
-
tsParseTypeMemberSemicolon() {
|
342
|
-
if (!this.eat(_types.types.comma)) {
|
343
|
-
this.semicolon();
|
344
|
-
}
|
345
|
-
}
|
346
|
-
|
347
|
-
tsParseSignatureMember(kind, node) {
|
348
|
-
this.tsFillSignature(_types.types.colon, node);
|
349
|
-
this.tsParseTypeMemberSemicolon();
|
350
|
-
return this.finishNode(node, kind);
|
351
|
-
}
|
352
|
-
|
353
|
-
tsIsUnambiguouslyIndexSignature() {
|
354
|
-
this.next();
|
355
|
-
return this.eat(_types.types.name) && this.match(_types.types.colon);
|
356
|
-
}
|
357
|
-
|
358
|
-
tsTryParseIndexSignature(node) {
|
359
|
-
if (!(this.match(_types.types.bracketL) && this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))) {
|
360
|
-
return undefined;
|
361
|
-
}
|
362
|
-
|
363
|
-
this.expect(_types.types.bracketL);
|
364
|
-
const id = this.parseIdentifier();
|
365
|
-
id.typeAnnotation = this.tsParseTypeAnnotation();
|
366
|
-
this.resetEndLocation(id);
|
367
|
-
this.expect(_types.types.bracketR);
|
368
|
-
node.parameters = [id];
|
369
|
-
const type = this.tsTryParseTypeAnnotation();
|
370
|
-
if (type) node.typeAnnotation = type;
|
371
|
-
this.tsParseTypeMemberSemicolon();
|
372
|
-
return this.finishNode(node, "TSIndexSignature");
|
373
|
-
}
|
374
|
-
|
375
|
-
tsParsePropertyOrMethodSignature(node, readonly) {
|
376
|
-
if (this.eat(_types.types.question)) node.optional = true;
|
377
|
-
const nodeAny = node;
|
378
|
-
|
379
|
-
if (!readonly && (this.match(_types.types.parenL) || this.isRelational("<"))) {
|
380
|
-
const method = nodeAny;
|
381
|
-
this.tsFillSignature(_types.types.colon, method);
|
382
|
-
this.tsParseTypeMemberSemicolon();
|
383
|
-
return this.finishNode(method, "TSMethodSignature");
|
384
|
-
} else {
|
385
|
-
const property = nodeAny;
|
386
|
-
if (readonly) property.readonly = true;
|
387
|
-
const type = this.tsTryParseTypeAnnotation();
|
388
|
-
if (type) property.typeAnnotation = type;
|
389
|
-
this.tsParseTypeMemberSemicolon();
|
390
|
-
return this.finishNode(property, "TSPropertySignature");
|
391
|
-
}
|
392
|
-
}
|
393
|
-
|
394
|
-
tsParseTypeMember() {
|
395
|
-
const node = this.startNode();
|
396
|
-
|
397
|
-
if (this.match(_types.types.parenL) || this.isRelational("<")) {
|
398
|
-
return this.tsParseSignatureMember("TSCallSignatureDeclaration", node);
|
399
|
-
}
|
400
|
-
|
401
|
-
if (this.match(_types.types._new)) {
|
402
|
-
const id = this.startNode();
|
403
|
-
this.next();
|
404
|
-
|
405
|
-
if (this.match(_types.types.parenL) || this.isRelational("<")) {
|
406
|
-
return this.tsParseSignatureMember("TSConstructSignatureDeclaration", node);
|
407
|
-
} else {
|
408
|
-
node.key = this.createIdentifier(id, "new");
|
409
|
-
return this.tsParsePropertyOrMethodSignature(node, false);
|
410
|
-
}
|
411
|
-
}
|
412
|
-
|
413
|
-
const readonly = !!this.tsParseModifier(["readonly"]);
|
414
|
-
const idx = this.tsTryParseIndexSignature(node);
|
415
|
-
|
416
|
-
if (idx) {
|
417
|
-
if (readonly) node.readonly = true;
|
418
|
-
return idx;
|
419
|
-
}
|
420
|
-
|
421
|
-
this.parsePropertyName(node);
|
422
|
-
return this.tsParsePropertyOrMethodSignature(node, readonly);
|
423
|
-
}
|
424
|
-
|
425
|
-
tsParseTypeLiteral() {
|
426
|
-
const node = this.startNode();
|
427
|
-
node.members = this.tsParseObjectTypeMembers();
|
428
|
-
return this.finishNode(node, "TSTypeLiteral");
|
429
|
-
}
|
430
|
-
|
431
|
-
tsParseObjectTypeMembers() {
|
432
|
-
this.expect(_types.types.braceL);
|
433
|
-
const members = this.tsParseList("TypeMembers", this.tsParseTypeMember.bind(this));
|
434
|
-
this.expect(_types.types.braceR);
|
435
|
-
return members;
|
436
|
-
}
|
437
|
-
|
438
|
-
tsIsStartOfMappedType() {
|
439
|
-
this.next();
|
440
|
-
|
441
|
-
if (this.eat(_types.types.plusMin)) {
|
442
|
-
return this.isContextual("readonly");
|
443
|
-
}
|
444
|
-
|
445
|
-
if (this.isContextual("readonly")) {
|
446
|
-
this.next();
|
447
|
-
}
|
448
|
-
|
449
|
-
if (!this.match(_types.types.bracketL)) {
|
450
|
-
return false;
|
451
|
-
}
|
452
|
-
|
453
|
-
this.next();
|
454
|
-
|
455
|
-
if (!this.tsIsIdentifier()) {
|
456
|
-
return false;
|
457
|
-
}
|
458
|
-
|
459
|
-
this.next();
|
460
|
-
return this.match(_types.types._in);
|
461
|
-
}
|
462
|
-
|
463
|
-
tsParseMappedTypeParameter() {
|
464
|
-
const node = this.startNode();
|
465
|
-
node.name = this.parseIdentifierName(node.start);
|
466
|
-
node.constraint = this.tsExpectThenParseType(_types.types._in);
|
467
|
-
return this.finishNode(node, "TSTypeParameter");
|
468
|
-
}
|
469
|
-
|
470
|
-
tsParseMappedType() {
|
471
|
-
const node = this.startNode();
|
472
|
-
this.expect(_types.types.braceL);
|
473
|
-
|
474
|
-
if (this.match(_types.types.plusMin)) {
|
475
|
-
node.readonly = this.state.value;
|
476
|
-
this.next();
|
477
|
-
this.expectContextual("readonly");
|
478
|
-
} else if (this.eatContextual("readonly")) {
|
479
|
-
node.readonly = true;
|
480
|
-
}
|
481
|
-
|
482
|
-
this.expect(_types.types.bracketL);
|
483
|
-
node.typeParameter = this.tsParseMappedTypeParameter();
|
484
|
-
this.expect(_types.types.bracketR);
|
485
|
-
|
486
|
-
if (this.match(_types.types.plusMin)) {
|
487
|
-
node.optional = this.state.value;
|
488
|
-
this.next();
|
489
|
-
this.expect(_types.types.question);
|
490
|
-
} else if (this.eat(_types.types.question)) {
|
491
|
-
node.optional = true;
|
492
|
-
}
|
493
|
-
|
494
|
-
node.typeAnnotation = this.tsTryParseType();
|
495
|
-
this.semicolon();
|
496
|
-
this.expect(_types.types.braceR);
|
497
|
-
return this.finishNode(node, "TSMappedType");
|
498
|
-
}
|
499
|
-
|
500
|
-
tsParseTupleType() {
|
501
|
-
const node = this.startNode();
|
502
|
-
node.elementTypes = this.tsParseBracketedList("TupleElementTypes", this.tsParseTupleElementType.bind(this), true, false);
|
503
|
-
let seenOptionalElement = false;
|
504
|
-
node.elementTypes.forEach(elementNode => {
|
505
|
-
if (elementNode.type === "TSOptionalType") {
|
506
|
-
seenOptionalElement = true;
|
507
|
-
} else if (seenOptionalElement && elementNode.type !== "TSRestType") {
|
508
|
-
this.raise(elementNode.start, "A required element cannot follow an optional element.");
|
509
|
-
}
|
510
|
-
});
|
511
|
-
return this.finishNode(node, "TSTupleType");
|
512
|
-
}
|
513
|
-
|
514
|
-
tsParseTupleElementType() {
|
515
|
-
if (this.match(_types.types.ellipsis)) {
|
516
|
-
const restNode = this.startNode();
|
517
|
-
this.next();
|
518
|
-
restNode.typeAnnotation = this.tsParseType();
|
519
|
-
|
520
|
-
if (this.match(_types.types.comma) && this.lookaheadCharCode() !== 93) {
|
521
|
-
this.raiseRestNotLast(this.state.start);
|
522
|
-
}
|
523
|
-
|
524
|
-
return this.finishNode(restNode, "TSRestType");
|
525
|
-
}
|
526
|
-
|
527
|
-
const type = this.tsParseType();
|
528
|
-
|
529
|
-
if (this.eat(_types.types.question)) {
|
530
|
-
const optionalTypeNode = this.startNodeAtNode(type);
|
531
|
-
optionalTypeNode.typeAnnotation = type;
|
532
|
-
return this.finishNode(optionalTypeNode, "TSOptionalType");
|
533
|
-
}
|
534
|
-
|
535
|
-
return type;
|
536
|
-
}
|
537
|
-
|
538
|
-
tsParseParenthesizedType() {
|
539
|
-
const node = this.startNode();
|
540
|
-
this.expect(_types.types.parenL);
|
541
|
-
node.typeAnnotation = this.tsParseType();
|
542
|
-
this.expect(_types.types.parenR);
|
543
|
-
return this.finishNode(node, "TSParenthesizedType");
|
544
|
-
}
|
545
|
-
|
546
|
-
tsParseFunctionOrConstructorType(type) {
|
547
|
-
const node = this.startNode();
|
548
|
-
|
549
|
-
if (type === "TSConstructorType") {
|
550
|
-
this.expect(_types.types._new);
|
551
|
-
}
|
552
|
-
|
553
|
-
this.tsFillSignature(_types.types.arrow, node);
|
554
|
-
return this.finishNode(node, type);
|
555
|
-
}
|
556
|
-
|
557
|
-
tsParseLiteralTypeNode() {
|
558
|
-
const node = this.startNode();
|
559
|
-
|
560
|
-
node.literal = (() => {
|
561
|
-
switch (this.state.type) {
|
562
|
-
case _types.types.num:
|
563
|
-
case _types.types.string:
|
564
|
-
case _types.types._true:
|
565
|
-
case _types.types._false:
|
566
|
-
return this.parseExprAtom();
|
567
|
-
|
568
|
-
default:
|
569
|
-
throw this.unexpected();
|
570
|
-
}
|
571
|
-
})();
|
572
|
-
|
573
|
-
return this.finishNode(node, "TSLiteralType");
|
574
|
-
}
|
575
|
-
|
576
|
-
tsParseTemplateLiteralType() {
|
577
|
-
const node = this.startNode();
|
578
|
-
const templateNode = this.parseTemplate(false);
|
579
|
-
|
580
|
-
if (templateNode.expressions.length > 0) {
|
581
|
-
this.raise(templateNode.expressions[0].start, "Template literal types cannot have any substitution");
|
582
|
-
}
|
583
|
-
|
584
|
-
node.literal = templateNode;
|
585
|
-
return this.finishNode(node, "TSLiteralType");
|
586
|
-
}
|
587
|
-
|
588
|
-
tsParseThisTypeOrThisTypePredicate() {
|
589
|
-
const thisKeyword = this.tsParseThisTypeNode();
|
590
|
-
|
591
|
-
if (this.isContextual("is") && !this.hasPrecedingLineBreak()) {
|
592
|
-
return this.tsParseThisTypePredicate(thisKeyword);
|
593
|
-
} else {
|
594
|
-
return thisKeyword;
|
595
|
-
}
|
596
|
-
}
|
597
|
-
|
598
|
-
tsParseNonArrayType() {
|
599
|
-
switch (this.state.type) {
|
600
|
-
case _types.types.name:
|
601
|
-
case _types.types._void:
|
602
|
-
case _types.types._null:
|
603
|
-
{
|
604
|
-
const type = this.match(_types.types._void) ? "TSVoidKeyword" : this.match(_types.types._null) ? "TSNullKeyword" : keywordTypeFromName(this.state.value);
|
605
|
-
|
606
|
-
if (type !== undefined && this.lookaheadCharCode() !== 46) {
|
607
|
-
const node = this.startNode();
|
608
|
-
this.next();
|
609
|
-
return this.finishNode(node, type);
|
610
|
-
}
|
611
|
-
|
612
|
-
return this.tsParseTypeReference();
|
613
|
-
}
|
614
|
-
|
615
|
-
case _types.types.string:
|
616
|
-
case _types.types.num:
|
617
|
-
case _types.types._true:
|
618
|
-
case _types.types._false:
|
619
|
-
return this.tsParseLiteralTypeNode();
|
620
|
-
|
621
|
-
case _types.types.plusMin:
|
622
|
-
if (this.state.value === "-") {
|
623
|
-
const node = this.startNode();
|
624
|
-
|
625
|
-
if (this.lookahead().type !== _types.types.num) {
|
626
|
-
throw this.unexpected();
|
627
|
-
}
|
628
|
-
|
629
|
-
node.literal = this.parseMaybeUnary();
|
630
|
-
return this.finishNode(node, "TSLiteralType");
|
631
|
-
}
|
632
|
-
|
633
|
-
break;
|
634
|
-
|
635
|
-
case _types.types._this:
|
636
|
-
return this.tsParseThisTypeOrThisTypePredicate();
|
637
|
-
|
638
|
-
case _types.types._typeof:
|
639
|
-
return this.tsParseTypeQuery();
|
640
|
-
|
641
|
-
case _types.types._import:
|
642
|
-
return this.tsParseImportType();
|
643
|
-
|
644
|
-
case _types.types.braceL:
|
645
|
-
return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this)) ? this.tsParseMappedType() : this.tsParseTypeLiteral();
|
646
|
-
|
647
|
-
case _types.types.bracketL:
|
648
|
-
return this.tsParseTupleType();
|
649
|
-
|
650
|
-
case _types.types.parenL:
|
651
|
-
return this.tsParseParenthesizedType();
|
652
|
-
|
653
|
-
case _types.types.backQuote:
|
654
|
-
return this.tsParseTemplateLiteralType();
|
655
|
-
}
|
656
|
-
|
657
|
-
throw this.unexpected();
|
658
|
-
}
|
659
|
-
|
660
|
-
tsParseArrayTypeOrHigher() {
|
661
|
-
let type = this.tsParseNonArrayType();
|
662
|
-
|
663
|
-
while (!this.hasPrecedingLineBreak() && this.eat(_types.types.bracketL)) {
|
664
|
-
if (this.match(_types.types.bracketR)) {
|
665
|
-
const node = this.startNodeAtNode(type);
|
666
|
-
node.elementType = type;
|
667
|
-
this.expect(_types.types.bracketR);
|
668
|
-
type = this.finishNode(node, "TSArrayType");
|
669
|
-
} else {
|
670
|
-
const node = this.startNodeAtNode(type);
|
671
|
-
node.objectType = type;
|
672
|
-
node.indexType = this.tsParseType();
|
673
|
-
this.expect(_types.types.bracketR);
|
674
|
-
type = this.finishNode(node, "TSIndexedAccessType");
|
675
|
-
}
|
676
|
-
}
|
677
|
-
|
678
|
-
return type;
|
679
|
-
}
|
680
|
-
|
681
|
-
tsParseTypeOperator(operator) {
|
682
|
-
const node = this.startNode();
|
683
|
-
this.expectContextual(operator);
|
684
|
-
node.operator = operator;
|
685
|
-
node.typeAnnotation = this.tsParseTypeOperatorOrHigher();
|
686
|
-
|
687
|
-
if (operator === "readonly") {
|
688
|
-
this.tsCheckTypeAnnotationForReadOnly(node);
|
689
|
-
}
|
690
|
-
|
691
|
-
return this.finishNode(node, "TSTypeOperator");
|
692
|
-
}
|
693
|
-
|
694
|
-
tsCheckTypeAnnotationForReadOnly(node) {
|
695
|
-
switch (node.typeAnnotation.type) {
|
696
|
-
case "TSTupleType":
|
697
|
-
case "TSArrayType":
|
698
|
-
return;
|
699
|
-
|
700
|
-
default:
|
701
|
-
this.raise(node.start, "'readonly' type modifier is only permitted on array and tuple literal types.");
|
702
|
-
}
|
703
|
-
}
|
704
|
-
|
705
|
-
tsParseInferType() {
|
706
|
-
const node = this.startNode();
|
707
|
-
this.expectContextual("infer");
|
708
|
-
const typeParameter = this.startNode();
|
709
|
-
typeParameter.name = this.parseIdentifierName(typeParameter.start);
|
710
|
-
node.typeParameter = this.finishNode(typeParameter, "TSTypeParameter");
|
711
|
-
return this.finishNode(node, "TSInferType");
|
712
|
-
}
|
713
|
-
|
714
|
-
tsParseTypeOperatorOrHigher() {
|
715
|
-
const operator = ["keyof", "unique", "readonly"].find(kw => this.isContextual(kw));
|
716
|
-
return operator ? this.tsParseTypeOperator(operator) : this.isContextual("infer") ? this.tsParseInferType() : this.tsParseArrayTypeOrHigher();
|
717
|
-
}
|
718
|
-
|
719
|
-
tsParseUnionOrIntersectionType(kind, parseConstituentType, operator) {
|
720
|
-
this.eat(operator);
|
721
|
-
let type = parseConstituentType();
|
722
|
-
|
723
|
-
if (this.match(operator)) {
|
724
|
-
const types = [type];
|
725
|
-
|
726
|
-
while (this.eat(operator)) {
|
727
|
-
types.push(parseConstituentType());
|
728
|
-
}
|
729
|
-
|
730
|
-
const node = this.startNodeAtNode(type);
|
731
|
-
node.types = types;
|
732
|
-
type = this.finishNode(node, kind);
|
733
|
-
}
|
734
|
-
|
735
|
-
return type;
|
736
|
-
}
|
737
|
-
|
738
|
-
tsParseIntersectionTypeOrHigher() {
|
739
|
-
return this.tsParseUnionOrIntersectionType("TSIntersectionType", this.tsParseTypeOperatorOrHigher.bind(this), _types.types.bitwiseAND);
|
740
|
-
}
|
741
|
-
|
742
|
-
tsParseUnionTypeOrHigher() {
|
743
|
-
return this.tsParseUnionOrIntersectionType("TSUnionType", this.tsParseIntersectionTypeOrHigher.bind(this), _types.types.bitwiseOR);
|
744
|
-
}
|
745
|
-
|
746
|
-
tsIsStartOfFunctionType() {
|
747
|
-
if (this.isRelational("<")) {
|
748
|
-
return true;
|
749
|
-
}
|
750
|
-
|
751
|
-
return this.match(_types.types.parenL) && this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this));
|
752
|
-
}
|
753
|
-
|
754
|
-
tsSkipParameterStart() {
|
755
|
-
if (this.match(_types.types.name) || this.match(_types.types._this)) {
|
756
|
-
this.next();
|
757
|
-
return true;
|
758
|
-
}
|
759
|
-
|
760
|
-
if (this.match(_types.types.braceL)) {
|
761
|
-
let braceStackCounter = 1;
|
762
|
-
this.next();
|
763
|
-
|
764
|
-
while (braceStackCounter > 0) {
|
765
|
-
if (this.match(_types.types.braceL)) {
|
766
|
-
++braceStackCounter;
|
767
|
-
} else if (this.match(_types.types.braceR)) {
|
768
|
-
--braceStackCounter;
|
769
|
-
}
|
770
|
-
|
771
|
-
this.next();
|
772
|
-
}
|
773
|
-
|
774
|
-
return true;
|
775
|
-
}
|
776
|
-
|
777
|
-
if (this.match(_types.types.bracketL)) {
|
778
|
-
let braceStackCounter = 1;
|
779
|
-
this.next();
|
780
|
-
|
781
|
-
while (braceStackCounter > 0) {
|
782
|
-
if (this.match(_types.types.bracketL)) {
|
783
|
-
++braceStackCounter;
|
784
|
-
} else if (this.match(_types.types.bracketR)) {
|
785
|
-
--braceStackCounter;
|
786
|
-
}
|
787
|
-
|
788
|
-
this.next();
|
789
|
-
}
|
790
|
-
|
791
|
-
return true;
|
792
|
-
}
|
793
|
-
|
794
|
-
return false;
|
795
|
-
}
|
796
|
-
|
797
|
-
tsIsUnambiguouslyStartOfFunctionType() {
|
798
|
-
this.next();
|
799
|
-
|
800
|
-
if (this.match(_types.types.parenR) || this.match(_types.types.ellipsis)) {
|
801
|
-
return true;
|
802
|
-
}
|
803
|
-
|
804
|
-
if (this.tsSkipParameterStart()) {
|
805
|
-
if (this.match(_types.types.colon) || this.match(_types.types.comma) || this.match(_types.types.question) || this.match(_types.types.eq)) {
|
806
|
-
return true;
|
807
|
-
}
|
808
|
-
|
809
|
-
if (this.match(_types.types.parenR)) {
|
810
|
-
this.next();
|
811
|
-
|
812
|
-
if (this.match(_types.types.arrow)) {
|
813
|
-
return true;
|
814
|
-
}
|
815
|
-
}
|
816
|
-
}
|
817
|
-
|
818
|
-
return false;
|
819
|
-
}
|
820
|
-
|
821
|
-
tsParseTypeOrTypePredicateAnnotation(returnToken) {
|
822
|
-
return this.tsInType(() => {
|
823
|
-
const t = this.startNode();
|
824
|
-
this.expect(returnToken);
|
825
|
-
const asserts = this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));
|
826
|
-
|
827
|
-
if (asserts && this.match(_types.types._this)) {
|
828
|
-
let thisTypePredicate = this.tsParseThisTypeOrThisTypePredicate();
|
829
|
-
|
830
|
-
if (thisTypePredicate.type === "TSThisType") {
|
831
|
-
const node = this.startNodeAtNode(t);
|
832
|
-
node.parameterName = thisTypePredicate;
|
833
|
-
node.asserts = true;
|
834
|
-
thisTypePredicate = this.finishNode(node, "TSTypePredicate");
|
835
|
-
} else {
|
836
|
-
thisTypePredicate.asserts = true;
|
837
|
-
}
|
838
|
-
|
839
|
-
t.typeAnnotation = thisTypePredicate;
|
840
|
-
return this.finishNode(t, "TSTypeAnnotation");
|
841
|
-
}
|
842
|
-
|
843
|
-
const typePredicateVariable = this.tsIsIdentifier() && this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));
|
844
|
-
|
845
|
-
if (!typePredicateVariable) {
|
846
|
-
if (!asserts) {
|
847
|
-
return this.tsParseTypeAnnotation(false, t);
|
848
|
-
}
|
849
|
-
|
850
|
-
const node = this.startNodeAtNode(t);
|
851
|
-
node.parameterName = this.parseIdentifier();
|
852
|
-
node.asserts = asserts;
|
853
|
-
t.typeAnnotation = this.finishNode(node, "TSTypePredicate");
|
854
|
-
return this.finishNode(t, "TSTypeAnnotation");
|
855
|
-
}
|
856
|
-
|
857
|
-
const type = this.tsParseTypeAnnotation(false);
|
858
|
-
const node = this.startNodeAtNode(t);
|
859
|
-
node.parameterName = typePredicateVariable;
|
860
|
-
node.typeAnnotation = type;
|
861
|
-
node.asserts = asserts;
|
862
|
-
t.typeAnnotation = this.finishNode(node, "TSTypePredicate");
|
863
|
-
return this.finishNode(t, "TSTypeAnnotation");
|
864
|
-
});
|
865
|
-
}
|
866
|
-
|
867
|
-
tsTryParseTypeOrTypePredicateAnnotation() {
|
868
|
-
return this.match(_types.types.colon) ? this.tsParseTypeOrTypePredicateAnnotation(_types.types.colon) : undefined;
|
869
|
-
}
|
870
|
-
|
871
|
-
tsTryParseTypeAnnotation() {
|
872
|
-
return this.match(_types.types.colon) ? this.tsParseTypeAnnotation() : undefined;
|
873
|
-
}
|
874
|
-
|
875
|
-
tsTryParseType() {
|
876
|
-
return this.tsEatThenParseType(_types.types.colon);
|
877
|
-
}
|
878
|
-
|
879
|
-
tsParseTypePredicatePrefix() {
|
880
|
-
const id = this.parseIdentifier();
|
881
|
-
|
882
|
-
if (this.isContextual("is") && !this.hasPrecedingLineBreak()) {
|
883
|
-
this.next();
|
884
|
-
return id;
|
885
|
-
}
|
886
|
-
}
|
887
|
-
|
888
|
-
tsParseTypePredicateAsserts() {
|
889
|
-
if (!this.match(_types.types.name) || this.state.value !== "asserts" || this.hasPrecedingLineBreak()) {
|
890
|
-
return false;
|
891
|
-
}
|
892
|
-
|
893
|
-
const containsEsc = this.state.containsEsc;
|
894
|
-
this.next();
|
895
|
-
|
896
|
-
if (!this.match(_types.types.name) && !this.match(_types.types._this)) {
|
897
|
-
return false;
|
898
|
-
}
|
899
|
-
|
900
|
-
if (containsEsc) {
|
901
|
-
this.raise(this.state.lastTokStart, "Escape sequence in keyword asserts");
|
902
|
-
}
|
903
|
-
|
904
|
-
return true;
|
905
|
-
}
|
906
|
-
|
907
|
-
tsParseTypeAnnotation(eatColon = true, t = this.startNode()) {
|
908
|
-
this.tsInType(() => {
|
909
|
-
if (eatColon) this.expect(_types.types.colon);
|
910
|
-
t.typeAnnotation = this.tsParseType();
|
911
|
-
});
|
912
|
-
return this.finishNode(t, "TSTypeAnnotation");
|
913
|
-
}
|
914
|
-
|
915
|
-
tsParseType() {
|
916
|
-
assert(this.state.inType);
|
917
|
-
const type = this.tsParseNonConditionalType();
|
918
|
-
|
919
|
-
if (this.hasPrecedingLineBreak() || !this.eat(_types.types._extends)) {
|
920
|
-
return type;
|
921
|
-
}
|
922
|
-
|
923
|
-
const node = this.startNodeAtNode(type);
|
924
|
-
node.checkType = type;
|
925
|
-
node.extendsType = this.tsParseNonConditionalType();
|
926
|
-
this.expect(_types.types.question);
|
927
|
-
node.trueType = this.tsParseType();
|
928
|
-
this.expect(_types.types.colon);
|
929
|
-
node.falseType = this.tsParseType();
|
930
|
-
return this.finishNode(node, "TSConditionalType");
|
931
|
-
}
|
932
|
-
|
933
|
-
tsParseNonConditionalType() {
|
934
|
-
if (this.tsIsStartOfFunctionType()) {
|
935
|
-
return this.tsParseFunctionOrConstructorType("TSFunctionType");
|
936
|
-
}
|
937
|
-
|
938
|
-
if (this.match(_types.types._new)) {
|
939
|
-
return this.tsParseFunctionOrConstructorType("TSConstructorType");
|
940
|
-
}
|
941
|
-
|
942
|
-
return this.tsParseUnionTypeOrHigher();
|
943
|
-
}
|
944
|
-
|
945
|
-
tsParseTypeAssertion() {
|
946
|
-
const node = this.startNode();
|
947
|
-
|
948
|
-
const _const = this.tsTryNextParseConstantContext();
|
949
|
-
|
950
|
-
node.typeAnnotation = _const || this.tsNextThenParseType();
|
951
|
-
this.expectRelational(">");
|
952
|
-
node.expression = this.parseMaybeUnary();
|
953
|
-
return this.finishNode(node, "TSTypeAssertion");
|
954
|
-
}
|
955
|
-
|
956
|
-
tsParseHeritageClause(descriptor) {
|
957
|
-
const originalStart = this.state.start;
|
958
|
-
const delimitedList = this.tsParseDelimitedList("HeritageClauseElement", this.tsParseExpressionWithTypeArguments.bind(this));
|
959
|
-
|
960
|
-
if (!delimitedList.length) {
|
961
|
-
this.raise(originalStart, `'${descriptor}' list cannot be empty.`);
|
962
|
-
}
|
963
|
-
|
964
|
-
return delimitedList;
|
965
|
-
}
|
966
|
-
|
967
|
-
tsParseExpressionWithTypeArguments() {
|
968
|
-
const node = this.startNode();
|
969
|
-
node.expression = this.tsParseEntityName(false);
|
970
|
-
|
971
|
-
if (this.isRelational("<")) {
|
972
|
-
node.typeParameters = this.tsParseTypeArguments();
|
973
|
-
}
|
974
|
-
|
975
|
-
return this.finishNode(node, "TSExpressionWithTypeArguments");
|
976
|
-
}
|
977
|
-
|
978
|
-
tsParseInterfaceDeclaration(node) {
|
979
|
-
node.id = this.parseIdentifier();
|
980
|
-
this.checkLVal(node.id, _scopeflags.BIND_TS_INTERFACE, undefined, "typescript interface declaration");
|
981
|
-
node.typeParameters = this.tsTryParseTypeParameters();
|
982
|
-
|
983
|
-
if (this.eat(_types.types._extends)) {
|
984
|
-
node.extends = this.tsParseHeritageClause("extends");
|
985
|
-
}
|
986
|
-
|
987
|
-
const body = this.startNode();
|
988
|
-
body.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this));
|
989
|
-
node.body = this.finishNode(body, "TSInterfaceBody");
|
990
|
-
return this.finishNode(node, "TSInterfaceDeclaration");
|
991
|
-
}
|
992
|
-
|
993
|
-
tsParseTypeAliasDeclaration(node) {
|
994
|
-
node.id = this.parseIdentifier();
|
995
|
-
this.checkLVal(node.id, _scopeflags.BIND_TS_TYPE, undefined, "typescript type alias");
|
996
|
-
node.typeParameters = this.tsTryParseTypeParameters();
|
997
|
-
node.typeAnnotation = this.tsExpectThenParseType(_types.types.eq);
|
998
|
-
this.semicolon();
|
999
|
-
return this.finishNode(node, "TSTypeAliasDeclaration");
|
1000
|
-
}
|
1001
|
-
|
1002
|
-
tsInNoContext(cb) {
|
1003
|
-
const oldContext = this.state.context;
|
1004
|
-
this.state.context = [oldContext[0]];
|
1005
|
-
|
1006
|
-
try {
|
1007
|
-
return cb();
|
1008
|
-
} finally {
|
1009
|
-
this.state.context = oldContext;
|
1010
|
-
}
|
1011
|
-
}
|
1012
|
-
|
1013
|
-
tsInType(cb) {
|
1014
|
-
const oldInType = this.state.inType;
|
1015
|
-
this.state.inType = true;
|
1016
|
-
|
1017
|
-
try {
|
1018
|
-
return cb();
|
1019
|
-
} finally {
|
1020
|
-
this.state.inType = oldInType;
|
1021
|
-
}
|
1022
|
-
}
|
1023
|
-
|
1024
|
-
tsEatThenParseType(token) {
|
1025
|
-
return !this.match(token) ? undefined : this.tsNextThenParseType();
|
1026
|
-
}
|
1027
|
-
|
1028
|
-
tsExpectThenParseType(token) {
|
1029
|
-
return this.tsDoThenParseType(() => this.expect(token));
|
1030
|
-
}
|
1031
|
-
|
1032
|
-
tsNextThenParseType() {
|
1033
|
-
return this.tsDoThenParseType(() => this.next());
|
1034
|
-
}
|
1035
|
-
|
1036
|
-
tsDoThenParseType(cb) {
|
1037
|
-
return this.tsInType(() => {
|
1038
|
-
cb();
|
1039
|
-
return this.tsParseType();
|
1040
|
-
});
|
1041
|
-
}
|
1042
|
-
|
1043
|
-
tsParseEnumMember() {
|
1044
|
-
const node = this.startNode();
|
1045
|
-
node.id = this.match(_types.types.string) ? this.parseExprAtom() : this.parseIdentifier(true);
|
1046
|
-
|
1047
|
-
if (this.eat(_types.types.eq)) {
|
1048
|
-
node.initializer = this.parseMaybeAssign();
|
1049
|
-
}
|
1050
|
-
|
1051
|
-
return this.finishNode(node, "TSEnumMember");
|
1052
|
-
}
|
1053
|
-
|
1054
|
-
tsParseEnumDeclaration(node, isConst) {
|
1055
|
-
if (isConst) node.const = true;
|
1056
|
-
node.id = this.parseIdentifier();
|
1057
|
-
this.checkLVal(node.id, isConst ? _scopeflags.BIND_TS_CONST_ENUM : _scopeflags.BIND_TS_ENUM, undefined, "typescript enum declaration");
|
1058
|
-
this.expect(_types.types.braceL);
|
1059
|
-
node.members = this.tsParseDelimitedList("EnumMembers", this.tsParseEnumMember.bind(this));
|
1060
|
-
this.expect(_types.types.braceR);
|
1061
|
-
return this.finishNode(node, "TSEnumDeclaration");
|
1062
|
-
}
|
1063
|
-
|
1064
|
-
tsParseModuleBlock() {
|
1065
|
-
const node = this.startNode();
|
1066
|
-
this.scope.enter(_scopeflags.SCOPE_OTHER);
|
1067
|
-
this.expect(_types.types.braceL);
|
1068
|
-
this.parseBlockOrModuleBlockBody(node.body = [], undefined, true, _types.types.braceR);
|
1069
|
-
this.scope.exit();
|
1070
|
-
return this.finishNode(node, "TSModuleBlock");
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
tsParseModuleOrNamespaceDeclaration(node, nested = false) {
|
1074
|
-
node.id = this.parseIdentifier();
|
1075
|
-
|
1076
|
-
if (!nested) {
|
1077
|
-
this.checkLVal(node.id, _scopeflags.BIND_TS_NAMESPACE, null, "module or namespace declaration");
|
1078
|
-
}
|
1079
|
-
|
1080
|
-
if (this.eat(_types.types.dot)) {
|
1081
|
-
const inner = this.startNode();
|
1082
|
-
this.tsParseModuleOrNamespaceDeclaration(inner, true);
|
1083
|
-
node.body = inner;
|
1084
|
-
} else {
|
1085
|
-
this.scope.enter(_scopeflags.SCOPE_TS_MODULE);
|
1086
|
-
node.body = this.tsParseModuleBlock();
|
1087
|
-
this.scope.exit();
|
1088
|
-
}
|
1089
|
-
|
1090
|
-
return this.finishNode(node, "TSModuleDeclaration");
|
1091
|
-
}
|
1092
|
-
|
1093
|
-
tsParseAmbientExternalModuleDeclaration(node) {
|
1094
|
-
if (this.isContextual("global")) {
|
1095
|
-
node.global = true;
|
1096
|
-
node.id = this.parseIdentifier();
|
1097
|
-
} else if (this.match(_types.types.string)) {
|
1098
|
-
node.id = this.parseExprAtom();
|
1099
|
-
} else {
|
1100
|
-
this.unexpected();
|
1101
|
-
}
|
1102
|
-
|
1103
|
-
if (this.match(_types.types.braceL)) {
|
1104
|
-
this.scope.enter(_scopeflags.SCOPE_TS_MODULE);
|
1105
|
-
node.body = this.tsParseModuleBlock();
|
1106
|
-
this.scope.exit();
|
1107
|
-
} else {
|
1108
|
-
this.semicolon();
|
1109
|
-
}
|
1110
|
-
|
1111
|
-
return this.finishNode(node, "TSModuleDeclaration");
|
1112
|
-
}
|
1113
|
-
|
1114
|
-
tsParseImportEqualsDeclaration(node, isExport) {
|
1115
|
-
node.isExport = isExport || false;
|
1116
|
-
node.id = this.parseIdentifier();
|
1117
|
-
this.checkLVal(node.id, _scopeflags.BIND_LEXICAL, undefined, "import equals declaration");
|
1118
|
-
this.expect(_types.types.eq);
|
1119
|
-
node.moduleReference = this.tsParseModuleReference();
|
1120
|
-
this.semicolon();
|
1121
|
-
return this.finishNode(node, "TSImportEqualsDeclaration");
|
1122
|
-
}
|
1123
|
-
|
1124
|
-
tsIsExternalModuleReference() {
|
1125
|
-
return this.isContextual("require") && this.lookaheadCharCode() === 40;
|
1126
|
-
}
|
1127
|
-
|
1128
|
-
tsParseModuleReference() {
|
1129
|
-
return this.tsIsExternalModuleReference() ? this.tsParseExternalModuleReference() : this.tsParseEntityName(false);
|
1130
|
-
}
|
1131
|
-
|
1132
|
-
tsParseExternalModuleReference() {
|
1133
|
-
const node = this.startNode();
|
1134
|
-
this.expectContextual("require");
|
1135
|
-
this.expect(_types.types.parenL);
|
1136
|
-
|
1137
|
-
if (!this.match(_types.types.string)) {
|
1138
|
-
throw this.unexpected();
|
1139
|
-
}
|
1140
|
-
|
1141
|
-
node.expression = this.parseExprAtom();
|
1142
|
-
this.expect(_types.types.parenR);
|
1143
|
-
return this.finishNode(node, "TSExternalModuleReference");
|
1144
|
-
}
|
1145
|
-
|
1146
|
-
tsLookAhead(f) {
|
1147
|
-
const state = this.state.clone();
|
1148
|
-
const res = f();
|
1149
|
-
this.state = state;
|
1150
|
-
return res;
|
1151
|
-
}
|
1152
|
-
|
1153
|
-
tsTryParseAndCatch(f) {
|
1154
|
-
const result = this.tryParse(abort => f() || abort());
|
1155
|
-
if (result.aborted || !result.node) return undefined;
|
1156
|
-
if (result.error) this.state = result.failState;
|
1157
|
-
return result.node;
|
1158
|
-
}
|
1159
|
-
|
1160
|
-
tsTryParse(f) {
|
1161
|
-
const state = this.state.clone();
|
1162
|
-
const result = f();
|
1163
|
-
|
1164
|
-
if (result !== undefined && result !== false) {
|
1165
|
-
return result;
|
1166
|
-
} else {
|
1167
|
-
this.state = state;
|
1168
|
-
return undefined;
|
1169
|
-
}
|
1170
|
-
}
|
1171
|
-
|
1172
|
-
tsTryParseDeclare(nany) {
|
1173
|
-
if (this.isLineTerminator()) {
|
1174
|
-
return;
|
1175
|
-
}
|
1176
|
-
|
1177
|
-
let starttype = this.state.type;
|
1178
|
-
let kind;
|
1179
|
-
|
1180
|
-
if (this.isContextual("let")) {
|
1181
|
-
starttype = _types.types._var;
|
1182
|
-
kind = "let";
|
1183
|
-
}
|
1184
|
-
|
1185
|
-
switch (starttype) {
|
1186
|
-
case _types.types._function:
|
1187
|
-
return this.parseFunctionStatement(nany, false, true);
|
1188
|
-
|
1189
|
-
case _types.types._class:
|
1190
|
-
nany.declare = true;
|
1191
|
-
return this.parseClass(nany, true, false);
|
1192
|
-
|
1193
|
-
case _types.types._const:
|
1194
|
-
if (this.match(_types.types._const) && this.isLookaheadContextual("enum")) {
|
1195
|
-
this.expect(_types.types._const);
|
1196
|
-
this.expectContextual("enum");
|
1197
|
-
return this.tsParseEnumDeclaration(nany, true);
|
1198
|
-
}
|
1199
|
-
|
1200
|
-
case _types.types._var:
|
1201
|
-
kind = kind || this.state.value;
|
1202
|
-
return this.parseVarStatement(nany, kind);
|
1203
|
-
|
1204
|
-
case _types.types.name:
|
1205
|
-
{
|
1206
|
-
const value = this.state.value;
|
1207
|
-
|
1208
|
-
if (value === "global") {
|
1209
|
-
return this.tsParseAmbientExternalModuleDeclaration(nany);
|
1210
|
-
} else {
|
1211
|
-
return this.tsParseDeclaration(nany, value, true);
|
1212
|
-
}
|
1213
|
-
}
|
1214
|
-
}
|
1215
|
-
}
|
1216
|
-
|
1217
|
-
tsTryParseExportDeclaration() {
|
1218
|
-
return this.tsParseDeclaration(this.startNode(), this.state.value, true);
|
1219
|
-
}
|
1220
|
-
|
1221
|
-
tsParseExpressionStatement(node, expr) {
|
1222
|
-
switch (expr.name) {
|
1223
|
-
case "declare":
|
1224
|
-
{
|
1225
|
-
const declaration = this.tsTryParseDeclare(node);
|
1226
|
-
|
1227
|
-
if (declaration) {
|
1228
|
-
declaration.declare = true;
|
1229
|
-
return declaration;
|
1230
|
-
}
|
1231
|
-
|
1232
|
-
break;
|
1233
|
-
}
|
1234
|
-
|
1235
|
-
case "global":
|
1236
|
-
if (this.match(_types.types.braceL)) {
|
1237
|
-
this.scope.enter(_scopeflags.SCOPE_TS_MODULE);
|
1238
|
-
const mod = node;
|
1239
|
-
mod.global = true;
|
1240
|
-
mod.id = expr;
|
1241
|
-
mod.body = this.tsParseModuleBlock();
|
1242
|
-
this.scope.exit();
|
1243
|
-
return this.finishNode(mod, "TSModuleDeclaration");
|
1244
|
-
}
|
1245
|
-
|
1246
|
-
break;
|
1247
|
-
|
1248
|
-
default:
|
1249
|
-
return this.tsParseDeclaration(node, expr.name, false);
|
1250
|
-
}
|
1251
|
-
}
|
1252
|
-
|
1253
|
-
tsParseDeclaration(node, value, next) {
|
1254
|
-
switch (value) {
|
1255
|
-
case "abstract":
|
1256
|
-
if (this.tsCheckLineTerminatorAndMatch(_types.types._class, next)) {
|
1257
|
-
const cls = node;
|
1258
|
-
cls.abstract = true;
|
1259
|
-
|
1260
|
-
if (next) {
|
1261
|
-
this.next();
|
1262
|
-
|
1263
|
-
if (!this.match(_types.types._class)) {
|
1264
|
-
this.unexpected(null, _types.types._class);
|
1265
|
-
}
|
1266
|
-
}
|
1267
|
-
|
1268
|
-
return this.parseClass(cls, true, false);
|
1269
|
-
}
|
1270
|
-
|
1271
|
-
break;
|
1272
|
-
|
1273
|
-
case "enum":
|
1274
|
-
if (next || this.match(_types.types.name)) {
|
1275
|
-
if (next) this.next();
|
1276
|
-
return this.tsParseEnumDeclaration(node, false);
|
1277
|
-
}
|
1278
|
-
|
1279
|
-
break;
|
1280
|
-
|
1281
|
-
case "interface":
|
1282
|
-
if (this.tsCheckLineTerminatorAndMatch(_types.types.name, next)) {
|
1283
|
-
if (next) this.next();
|
1284
|
-
return this.tsParseInterfaceDeclaration(node);
|
1285
|
-
}
|
1286
|
-
|
1287
|
-
break;
|
1288
|
-
|
1289
|
-
case "module":
|
1290
|
-
if (next) this.next();
|
1291
|
-
|
1292
|
-
if (this.match(_types.types.string)) {
|
1293
|
-
return this.tsParseAmbientExternalModuleDeclaration(node);
|
1294
|
-
} else if (this.tsCheckLineTerminatorAndMatch(_types.types.name, next)) {
|
1295
|
-
return this.tsParseModuleOrNamespaceDeclaration(node);
|
1296
|
-
}
|
1297
|
-
|
1298
|
-
break;
|
1299
|
-
|
1300
|
-
case "namespace":
|
1301
|
-
if (this.tsCheckLineTerminatorAndMatch(_types.types.name, next)) {
|
1302
|
-
if (next) this.next();
|
1303
|
-
return this.tsParseModuleOrNamespaceDeclaration(node);
|
1304
|
-
}
|
1305
|
-
|
1306
|
-
break;
|
1307
|
-
|
1308
|
-
case "type":
|
1309
|
-
if (this.tsCheckLineTerminatorAndMatch(_types.types.name, next)) {
|
1310
|
-
if (next) this.next();
|
1311
|
-
return this.tsParseTypeAliasDeclaration(node);
|
1312
|
-
}
|
1313
|
-
|
1314
|
-
break;
|
1315
|
-
}
|
1316
|
-
}
|
1317
|
-
|
1318
|
-
tsCheckLineTerminatorAndMatch(tokenType, next) {
|
1319
|
-
return (next || this.match(tokenType)) && !this.isLineTerminator();
|
1320
|
-
}
|
1321
|
-
|
1322
|
-
tsTryParseGenericAsyncArrowFunction(startPos, startLoc) {
|
1323
|
-
if (!this.isRelational("<")) {
|
1324
|
-
return undefined;
|
1325
|
-
}
|
1326
|
-
|
1327
|
-
const res = this.tsTryParseAndCatch(() => {
|
1328
|
-
const node = this.startNodeAt(startPos, startLoc);
|
1329
|
-
node.typeParameters = this.tsParseTypeParameters();
|
1330
|
-
super.parseFunctionParams(node);
|
1331
|
-
node.returnType = this.tsTryParseTypeOrTypePredicateAnnotation();
|
1332
|
-
this.expect(_types.types.arrow);
|
1333
|
-
return node;
|
1334
|
-
});
|
1335
|
-
|
1336
|
-
if (!res) {
|
1337
|
-
return undefined;
|
1338
|
-
}
|
1339
|
-
|
1340
|
-
return this.parseArrowExpression(res, null, true);
|
1341
|
-
}
|
1342
|
-
|
1343
|
-
tsParseTypeArguments() {
|
1344
|
-
const node = this.startNode();
|
1345
|
-
node.params = this.tsInType(() => this.tsInNoContext(() => {
|
1346
|
-
this.expectRelational("<");
|
1347
|
-
return this.tsParseDelimitedList("TypeParametersOrArguments", this.tsParseType.bind(this));
|
1348
|
-
}));
|
1349
|
-
this.state.exprAllowed = false;
|
1350
|
-
this.expectRelational(">");
|
1351
|
-
return this.finishNode(node, "TSTypeParameterInstantiation");
|
1352
|
-
}
|
1353
|
-
|
1354
|
-
tsIsDeclarationStart() {
|
1355
|
-
if (this.match(_types.types.name)) {
|
1356
|
-
switch (this.state.value) {
|
1357
|
-
case "abstract":
|
1358
|
-
case "declare":
|
1359
|
-
case "enum":
|
1360
|
-
case "interface":
|
1361
|
-
case "module":
|
1362
|
-
case "namespace":
|
1363
|
-
case "type":
|
1364
|
-
return true;
|
1365
|
-
}
|
1366
|
-
}
|
1367
|
-
|
1368
|
-
return false;
|
1369
|
-
}
|
1370
|
-
|
1371
|
-
isExportDefaultSpecifier() {
|
1372
|
-
if (this.tsIsDeclarationStart()) return false;
|
1373
|
-
return super.isExportDefaultSpecifier();
|
1374
|
-
}
|
1375
|
-
|
1376
|
-
parseAssignableListItem(allowModifiers, decorators) {
|
1377
|
-
const startPos = this.state.start;
|
1378
|
-
const startLoc = this.state.startLoc;
|
1379
|
-
let accessibility;
|
1380
|
-
let readonly = false;
|
1381
|
-
|
1382
|
-
if (allowModifiers) {
|
1383
|
-
accessibility = this.parseAccessModifier();
|
1384
|
-
readonly = !!this.tsParseModifier(["readonly"]);
|
1385
|
-
}
|
1386
|
-
|
1387
|
-
const left = this.parseMaybeDefault();
|
1388
|
-
this.parseAssignableListItemTypes(left);
|
1389
|
-
const elt = this.parseMaybeDefault(left.start, left.loc.start, left);
|
1390
|
-
|
1391
|
-
if (accessibility || readonly) {
|
1392
|
-
const pp = this.startNodeAt(startPos, startLoc);
|
1393
|
-
|
1394
|
-
if (decorators.length) {
|
1395
|
-
pp.decorators = decorators;
|
1396
|
-
}
|
1397
|
-
|
1398
|
-
if (accessibility) pp.accessibility = accessibility;
|
1399
|
-
if (readonly) pp.readonly = readonly;
|
1400
|
-
|
1401
|
-
if (elt.type !== "Identifier" && elt.type !== "AssignmentPattern") {
|
1402
|
-
this.raise(pp.start, "A parameter property may not be declared using a binding pattern.");
|
1403
|
-
}
|
1404
|
-
|
1405
|
-
pp.parameter = elt;
|
1406
|
-
return this.finishNode(pp, "TSParameterProperty");
|
1407
|
-
}
|
1408
|
-
|
1409
|
-
if (decorators.length) {
|
1410
|
-
left.decorators = decorators;
|
1411
|
-
}
|
1412
|
-
|
1413
|
-
return elt;
|
1414
|
-
}
|
1415
|
-
|
1416
|
-
parseFunctionBodyAndFinish(node, type, isMethod = false) {
|
1417
|
-
if (this.match(_types.types.colon)) {
|
1418
|
-
node.returnType = this.tsParseTypeOrTypePredicateAnnotation(_types.types.colon);
|
1419
|
-
}
|
1420
|
-
|
1421
|
-
const bodilessType = type === "FunctionDeclaration" ? "TSDeclareFunction" : type === "ClassMethod" ? "TSDeclareMethod" : undefined;
|
1422
|
-
|
1423
|
-
if (bodilessType && !this.match(_types.types.braceL) && this.isLineTerminator()) {
|
1424
|
-
this.finishNode(node, bodilessType);
|
1425
|
-
return;
|
1426
|
-
}
|
1427
|
-
|
1428
|
-
super.parseFunctionBodyAndFinish(node, type, isMethod);
|
1429
|
-
}
|
1430
|
-
|
1431
|
-
registerFunctionStatementId(node) {
|
1432
|
-
if (!node.body && node.id) {
|
1433
|
-
this.checkLVal(node.id, _scopeflags.BIND_TS_AMBIENT, null, "function name");
|
1434
|
-
} else {
|
1435
|
-
super.registerFunctionStatementId(...arguments);
|
1436
|
-
}
|
1437
|
-
}
|
1438
|
-
|
1439
|
-
parseSubscript(base, startPos, startLoc, noCalls, state) {
|
1440
|
-
if (!this.hasPrecedingLineBreak() && this.match(_types.types.bang)) {
|
1441
|
-
this.state.exprAllowed = false;
|
1442
|
-
this.next();
|
1443
|
-
const nonNullExpression = this.startNodeAt(startPos, startLoc);
|
1444
|
-
nonNullExpression.expression = base;
|
1445
|
-
return this.finishNode(nonNullExpression, "TSNonNullExpression");
|
1446
|
-
}
|
1447
|
-
|
1448
|
-
if (this.isRelational("<")) {
|
1449
|
-
const result = this.tsTryParseAndCatch(() => {
|
1450
|
-
if (!noCalls && this.atPossibleAsync(base)) {
|
1451
|
-
const asyncArrowFn = this.tsTryParseGenericAsyncArrowFunction(startPos, startLoc);
|
1452
|
-
|
1453
|
-
if (asyncArrowFn) {
|
1454
|
-
return asyncArrowFn;
|
1455
|
-
}
|
1456
|
-
}
|
1457
|
-
|
1458
|
-
const node = this.startNodeAt(startPos, startLoc);
|
1459
|
-
node.callee = base;
|
1460
|
-
const typeArguments = this.tsParseTypeArguments();
|
1461
|
-
|
1462
|
-
if (typeArguments) {
|
1463
|
-
if (!noCalls && this.eat(_types.types.parenL)) {
|
1464
|
-
node.arguments = this.parseCallExpressionArguments(_types.types.parenR, false);
|
1465
|
-
node.typeParameters = typeArguments;
|
1466
|
-
return this.finishCallExpression(node, state.optionalChainMember);
|
1467
|
-
} else if (this.match(_types.types.backQuote)) {
|
1468
|
-
return this.parseTaggedTemplateExpression(startPos, startLoc, base, state, typeArguments);
|
1469
|
-
}
|
1470
|
-
}
|
1471
|
-
|
1472
|
-
this.unexpected();
|
1473
|
-
});
|
1474
|
-
if (result) return result;
|
1475
|
-
}
|
1476
|
-
|
1477
|
-
return super.parseSubscript(base, startPos, startLoc, noCalls, state);
|
1478
|
-
}
|
1479
|
-
|
1480
|
-
parseNewArguments(node) {
|
1481
|
-
if (this.isRelational("<")) {
|
1482
|
-
const typeParameters = this.tsTryParseAndCatch(() => {
|
1483
|
-
const args = this.tsParseTypeArguments();
|
1484
|
-
if (!this.match(_types.types.parenL)) this.unexpected();
|
1485
|
-
return args;
|
1486
|
-
});
|
1487
|
-
|
1488
|
-
if (typeParameters) {
|
1489
|
-
node.typeParameters = typeParameters;
|
1490
|
-
}
|
1491
|
-
}
|
1492
|
-
|
1493
|
-
super.parseNewArguments(node);
|
1494
|
-
}
|
1495
|
-
|
1496
|
-
parseExprOp(left, leftStartPos, leftStartLoc, minPrec, noIn) {
|
1497
|
-
if (nonNull(_types.types._in.binop) > minPrec && !this.hasPrecedingLineBreak() && this.isContextual("as")) {
|
1498
|
-
const node = this.startNodeAt(leftStartPos, leftStartLoc);
|
1499
|
-
node.expression = left;
|
1500
|
-
|
1501
|
-
const _const = this.tsTryNextParseConstantContext();
|
1502
|
-
|
1503
|
-
if (_const) {
|
1504
|
-
node.typeAnnotation = _const;
|
1505
|
-
} else {
|
1506
|
-
node.typeAnnotation = this.tsNextThenParseType();
|
1507
|
-
}
|
1508
|
-
|
1509
|
-
this.finishNode(node, "TSAsExpression");
|
1510
|
-
return this.parseExprOp(node, leftStartPos, leftStartLoc, minPrec, noIn);
|
1511
|
-
}
|
1512
|
-
|
1513
|
-
return super.parseExprOp(left, leftStartPos, leftStartLoc, minPrec, noIn);
|
1514
|
-
}
|
1515
|
-
|
1516
|
-
checkReservedWord(word, startLoc, checkKeywords, isBinding) {}
|
1517
|
-
|
1518
|
-
checkDuplicateExports() {}
|
1519
|
-
|
1520
|
-
parseImport(node) {
|
1521
|
-
if (this.match(_types.types.name) && this.lookahead().type === _types.types.eq) {
|
1522
|
-
return this.tsParseImportEqualsDeclaration(node);
|
1523
|
-
}
|
1524
|
-
|
1525
|
-
return super.parseImport(node);
|
1526
|
-
}
|
1527
|
-
|
1528
|
-
parseExport(node) {
|
1529
|
-
if (this.match(_types.types._import)) {
|
1530
|
-
this.expect(_types.types._import);
|
1531
|
-
return this.tsParseImportEqualsDeclaration(node, true);
|
1532
|
-
} else if (this.eat(_types.types.eq)) {
|
1533
|
-
const assign = node;
|
1534
|
-
assign.expression = this.parseExpression();
|
1535
|
-
this.semicolon();
|
1536
|
-
return this.finishNode(assign, "TSExportAssignment");
|
1537
|
-
} else if (this.eatContextual("as")) {
|
1538
|
-
const decl = node;
|
1539
|
-
this.expectContextual("namespace");
|
1540
|
-
decl.id = this.parseIdentifier();
|
1541
|
-
this.semicolon();
|
1542
|
-
return this.finishNode(decl, "TSNamespaceExportDeclaration");
|
1543
|
-
} else {
|
1544
|
-
return super.parseExport(node);
|
1545
|
-
}
|
1546
|
-
}
|
1547
|
-
|
1548
|
-
isAbstractClass() {
|
1549
|
-
return this.isContextual("abstract") && this.lookahead().type === _types.types._class;
|
1550
|
-
}
|
1551
|
-
|
1552
|
-
parseExportDefaultExpression() {
|
1553
|
-
if (this.isAbstractClass()) {
|
1554
|
-
const cls = this.startNode();
|
1555
|
-
this.next();
|
1556
|
-
this.parseClass(cls, true, true);
|
1557
|
-
cls.abstract = true;
|
1558
|
-
return cls;
|
1559
|
-
}
|
1560
|
-
|
1561
|
-
if (this.state.value === "interface") {
|
1562
|
-
const result = this.tsParseDeclaration(this.startNode(), this.state.value, true);
|
1563
|
-
if (result) return result;
|
1564
|
-
}
|
1565
|
-
|
1566
|
-
return super.parseExportDefaultExpression();
|
1567
|
-
}
|
1568
|
-
|
1569
|
-
parseStatementContent(context, topLevel) {
|
1570
|
-
if (this.state.type === _types.types._const) {
|
1571
|
-
const ahead = this.lookahead();
|
1572
|
-
|
1573
|
-
if (ahead.type === _types.types.name && ahead.value === "enum") {
|
1574
|
-
const node = this.startNode();
|
1575
|
-
this.expect(_types.types._const);
|
1576
|
-
this.expectContextual("enum");
|
1577
|
-
return this.tsParseEnumDeclaration(node, true);
|
1578
|
-
}
|
1579
|
-
}
|
1580
|
-
|
1581
|
-
return super.parseStatementContent(context, topLevel);
|
1582
|
-
}
|
1583
|
-
|
1584
|
-
parseAccessModifier() {
|
1585
|
-
return this.tsParseModifier(["public", "protected", "private"]);
|
1586
|
-
}
|
1587
|
-
|
1588
|
-
parseClassMember(classBody, member, state, constructorAllowsSuper) {
|
1589
|
-
const accessibility = this.parseAccessModifier();
|
1590
|
-
if (accessibility) member.accessibility = accessibility;
|
1591
|
-
super.parseClassMember(classBody, member, state, constructorAllowsSuper);
|
1592
|
-
}
|
1593
|
-
|
1594
|
-
parseClassMemberWithIsStatic(classBody, member, state, isStatic, constructorAllowsSuper) {
|
1595
|
-
const modifiers = this.tsParseModifiers(["abstract", "readonly", "declare"]);
|
1596
|
-
Object.assign(member, modifiers);
|
1597
|
-
const idx = this.tsTryParseIndexSignature(member);
|
1598
|
-
|
1599
|
-
if (idx) {
|
1600
|
-
classBody.body.push(idx);
|
1601
|
-
|
1602
|
-
if (modifiers.abstract) {
|
1603
|
-
this.raise(member.start, "Index signatures cannot have the 'abstract' modifier");
|
1604
|
-
}
|
1605
|
-
|
1606
|
-
if (isStatic) {
|
1607
|
-
this.raise(member.start, "Index signatures cannot have the 'static' modifier");
|
1608
|
-
}
|
1609
|
-
|
1610
|
-
if (member.accessibility) {
|
1611
|
-
this.raise(member.start, `Index signatures cannot have an accessibility modifier ('${member.accessibility}')`);
|
1612
|
-
}
|
1613
|
-
|
1614
|
-
return;
|
1615
|
-
}
|
1616
|
-
|
1617
|
-
super.parseClassMemberWithIsStatic(classBody, member, state, isStatic, constructorAllowsSuper);
|
1618
|
-
}
|
1619
|
-
|
1620
|
-
parsePostMemberNameModifiers(methodOrProp) {
|
1621
|
-
const optional = this.eat(_types.types.question);
|
1622
|
-
if (optional) methodOrProp.optional = true;
|
1623
|
-
|
1624
|
-
if (methodOrProp.readonly && this.match(_types.types.parenL)) {
|
1625
|
-
this.raise(methodOrProp.start, "Class methods cannot have the 'readonly' modifier");
|
1626
|
-
}
|
1627
|
-
|
1628
|
-
if (methodOrProp.declare && this.match(_types.types.parenL)) {
|
1629
|
-
this.raise(methodOrProp.start, "Class methods cannot have the 'declare' modifier");
|
1630
|
-
}
|
1631
|
-
}
|
1632
|
-
|
1633
|
-
parseExpressionStatement(node, expr) {
|
1634
|
-
const decl = expr.type === "Identifier" ? this.tsParseExpressionStatement(node, expr) : undefined;
|
1635
|
-
return decl || super.parseExpressionStatement(node, expr);
|
1636
|
-
}
|
1637
|
-
|
1638
|
-
shouldParseExportDeclaration() {
|
1639
|
-
if (this.tsIsDeclarationStart()) return true;
|
1640
|
-
return super.shouldParseExportDeclaration();
|
1641
|
-
}
|
1642
|
-
|
1643
|
-
parseConditional(expr, noIn, startPos, startLoc, refNeedsArrowPos) {
|
1644
|
-
if (!refNeedsArrowPos || !this.match(_types.types.question)) {
|
1645
|
-
return super.parseConditional(expr, noIn, startPos, startLoc, refNeedsArrowPos);
|
1646
|
-
}
|
1647
|
-
|
1648
|
-
const result = this.tryParse(() => super.parseConditional(expr, noIn, startPos, startLoc));
|
1649
|
-
|
1650
|
-
if (!result.node) {
|
1651
|
-
refNeedsArrowPos.start = result.error.pos || this.state.start;
|
1652
|
-
return expr;
|
1653
|
-
}
|
1654
|
-
|
1655
|
-
if (result.error) this.state = result.failState;
|
1656
|
-
return result.node;
|
1657
|
-
}
|
1658
|
-
|
1659
|
-
parseParenItem(node, startPos, startLoc) {
|
1660
|
-
node = super.parseParenItem(node, startPos, startLoc);
|
1661
|
-
|
1662
|
-
if (this.eat(_types.types.question)) {
|
1663
|
-
node.optional = true;
|
1664
|
-
this.resetEndLocation(node);
|
1665
|
-
}
|
1666
|
-
|
1667
|
-
if (this.match(_types.types.colon)) {
|
1668
|
-
const typeCastNode = this.startNodeAt(startPos, startLoc);
|
1669
|
-
typeCastNode.expression = node;
|
1670
|
-
typeCastNode.typeAnnotation = this.tsParseTypeAnnotation();
|
1671
|
-
return this.finishNode(typeCastNode, "TSTypeCastExpression");
|
1672
|
-
}
|
1673
|
-
|
1674
|
-
return node;
|
1675
|
-
}
|
1676
|
-
|
1677
|
-
parseExportDeclaration(node) {
|
1678
|
-
const startPos = this.state.start;
|
1679
|
-
const startLoc = this.state.startLoc;
|
1680
|
-
const isDeclare = this.eatContextual("declare");
|
1681
|
-
let declaration;
|
1682
|
-
|
1683
|
-
if (this.match(_types.types.name)) {
|
1684
|
-
declaration = this.tsTryParseExportDeclaration();
|
1685
|
-
}
|
1686
|
-
|
1687
|
-
if (!declaration) {
|
1688
|
-
declaration = super.parseExportDeclaration(node);
|
1689
|
-
}
|
1690
|
-
|
1691
|
-
if (declaration && isDeclare) {
|
1692
|
-
this.resetStartLocation(declaration, startPos, startLoc);
|
1693
|
-
declaration.declare = true;
|
1694
|
-
}
|
1695
|
-
|
1696
|
-
return declaration;
|
1697
|
-
}
|
1698
|
-
|
1699
|
-
parseClassId(node, isStatement, optionalId) {
|
1700
|
-
if ((!isStatement || optionalId) && this.isContextual("implements")) {
|
1701
|
-
return;
|
1702
|
-
}
|
1703
|
-
|
1704
|
-
super.parseClassId(node, isStatement, optionalId, node.declare ? _scopeflags.BIND_TS_AMBIENT : _scopeflags.BIND_CLASS);
|
1705
|
-
const typeParameters = this.tsTryParseTypeParameters();
|
1706
|
-
if (typeParameters) node.typeParameters = typeParameters;
|
1707
|
-
}
|
1708
|
-
|
1709
|
-
parseClassPropertyAnnotation(node) {
|
1710
|
-
if (!node.optional && this.eat(_types.types.bang)) {
|
1711
|
-
node.definite = true;
|
1712
|
-
}
|
1713
|
-
|
1714
|
-
const type = this.tsTryParseTypeAnnotation();
|
1715
|
-
if (type) node.typeAnnotation = type;
|
1716
|
-
}
|
1717
|
-
|
1718
|
-
parseClassProperty(node) {
|
1719
|
-
this.parseClassPropertyAnnotation(node);
|
1720
|
-
|
1721
|
-
if (node.declare && this.match(_types.types.equal)) {
|
1722
|
-
this.raise(this.state.start, "'declare' class fields cannot have an initializer");
|
1723
|
-
}
|
1724
|
-
|
1725
|
-
return super.parseClassProperty(node);
|
1726
|
-
}
|
1727
|
-
|
1728
|
-
parseClassPrivateProperty(node) {
|
1729
|
-
if (node.abstract) {
|
1730
|
-
this.raise(node.start, "Private elements cannot have the 'abstract' modifier.");
|
1731
|
-
}
|
1732
|
-
|
1733
|
-
if (node.accessibility) {
|
1734
|
-
this.raise(node.start, `Private elements cannot have an accessibility modifier ('${node.accessibility}')`);
|
1735
|
-
}
|
1736
|
-
|
1737
|
-
this.parseClassPropertyAnnotation(node);
|
1738
|
-
return super.parseClassPrivateProperty(node);
|
1739
|
-
}
|
1740
|
-
|
1741
|
-
pushClassMethod(classBody, method, isGenerator, isAsync, isConstructor, allowsDirectSuper) {
|
1742
|
-
const typeParameters = this.tsTryParseTypeParameters();
|
1743
|
-
if (typeParameters) method.typeParameters = typeParameters;
|
1744
|
-
super.pushClassMethod(classBody, method, isGenerator, isAsync, isConstructor, allowsDirectSuper);
|
1745
|
-
}
|
1746
|
-
|
1747
|
-
pushClassPrivateMethod(classBody, method, isGenerator, isAsync) {
|
1748
|
-
const typeParameters = this.tsTryParseTypeParameters();
|
1749
|
-
if (typeParameters) method.typeParameters = typeParameters;
|
1750
|
-
super.pushClassPrivateMethod(classBody, method, isGenerator, isAsync);
|
1751
|
-
}
|
1752
|
-
|
1753
|
-
parseClassSuper(node) {
|
1754
|
-
super.parseClassSuper(node);
|
1755
|
-
|
1756
|
-
if (node.superClass && this.isRelational("<")) {
|
1757
|
-
node.superTypeParameters = this.tsParseTypeArguments();
|
1758
|
-
}
|
1759
|
-
|
1760
|
-
if (this.eatContextual("implements")) {
|
1761
|
-
node.implements = this.tsParseHeritageClause("implements");
|
1762
|
-
}
|
1763
|
-
}
|
1764
|
-
|
1765
|
-
parseObjPropValue(prop, ...args) {
|
1766
|
-
const typeParameters = this.tsTryParseTypeParameters();
|
1767
|
-
if (typeParameters) prop.typeParameters = typeParameters;
|
1768
|
-
super.parseObjPropValue(prop, ...args);
|
1769
|
-
}
|
1770
|
-
|
1771
|
-
parseFunctionParams(node, allowModifiers) {
|
1772
|
-
const typeParameters = this.tsTryParseTypeParameters();
|
1773
|
-
if (typeParameters) node.typeParameters = typeParameters;
|
1774
|
-
super.parseFunctionParams(node, allowModifiers);
|
1775
|
-
}
|
1776
|
-
|
1777
|
-
parseVarId(decl, kind) {
|
1778
|
-
super.parseVarId(decl, kind);
|
1779
|
-
|
1780
|
-
if (decl.id.type === "Identifier" && this.eat(_types.types.bang)) {
|
1781
|
-
decl.definite = true;
|
1782
|
-
}
|
1783
|
-
|
1784
|
-
const type = this.tsTryParseTypeAnnotation();
|
1785
|
-
|
1786
|
-
if (type) {
|
1787
|
-
decl.id.typeAnnotation = type;
|
1788
|
-
this.resetEndLocation(decl.id);
|
1789
|
-
}
|
1790
|
-
}
|
1791
|
-
|
1792
|
-
parseAsyncArrowFromCallExpression(node, call) {
|
1793
|
-
if (this.match(_types.types.colon)) {
|
1794
|
-
node.returnType = this.tsParseTypeAnnotation();
|
1795
|
-
}
|
1796
|
-
|
1797
|
-
return super.parseAsyncArrowFromCallExpression(node, call);
|
1798
|
-
}
|
1799
|
-
|
1800
|
-
parseMaybeAssign(...args) {
|
1801
|
-
let state;
|
1802
|
-
let jsx;
|
1803
|
-
let typeCast;
|
1804
|
-
|
1805
|
-
if (this.match(_types.types.jsxTagStart)) {
|
1806
|
-
state = this.state.clone();
|
1807
|
-
jsx = this.tryParse(() => super.parseMaybeAssign(...args), state);
|
1808
|
-
if (!jsx.error) return jsx.node;
|
1809
|
-
const {
|
1810
|
-
context
|
1811
|
-
} = this.state;
|
1812
|
-
|
1813
|
-
if (context[context.length - 1] === _context.types.j_oTag) {
|
1814
|
-
context.length -= 2;
|
1815
|
-
} else if (context[context.length - 1] === _context.types.j_expr) {
|
1816
|
-
context.length -= 1;
|
1817
|
-
}
|
1818
|
-
}
|
1819
|
-
|
1820
|
-
if (!(jsx && jsx.error) && !this.isRelational("<")) {
|
1821
|
-
return super.parseMaybeAssign(...args);
|
1822
|
-
}
|
1823
|
-
|
1824
|
-
let typeParameters;
|
1825
|
-
state = state || this.state.clone();
|
1826
|
-
const arrow = this.tryParse(abort => {
|
1827
|
-
typeParameters = this.tsParseTypeParameters();
|
1828
|
-
const expr = super.parseMaybeAssign(...args);
|
1829
|
-
|
1830
|
-
if (expr.type !== "ArrowFunctionExpression" || expr.extra && expr.extra.parenthesized) {
|
1831
|
-
abort();
|
1832
|
-
}
|
1833
|
-
|
1834
|
-
if (typeParameters && typeParameters.params.length !== 0) {
|
1835
|
-
this.resetStartLocationFromNode(expr, typeParameters);
|
1836
|
-
}
|
1837
|
-
|
1838
|
-
expr.typeParameters = typeParameters;
|
1839
|
-
return expr;
|
1840
|
-
}, state);
|
1841
|
-
if (!arrow.error && !arrow.aborted) return arrow.node;
|
1842
|
-
|
1843
|
-
if (!jsx) {
|
1844
|
-
assert(!this.hasPlugin("jsx"));
|
1845
|
-
typeCast = this.tryParse(() => super.parseMaybeAssign(...args), state);
|
1846
|
-
if (!typeCast.error) return typeCast.node;
|
1847
|
-
}
|
1848
|
-
|
1849
|
-
if (jsx && jsx.node) {
|
1850
|
-
this.state = jsx.failState;
|
1851
|
-
return jsx.node;
|
1852
|
-
}
|
1853
|
-
|
1854
|
-
if (arrow.node) {
|
1855
|
-
this.state = arrow.failState;
|
1856
|
-
return arrow.node;
|
1857
|
-
}
|
1858
|
-
|
1859
|
-
if (typeCast && typeCast.node) {
|
1860
|
-
this.state = typeCast.failState;
|
1861
|
-
return typeCast.node;
|
1862
|
-
}
|
1863
|
-
|
1864
|
-
if (jsx && jsx.thrown) throw jsx.error;
|
1865
|
-
if (arrow.thrown) throw arrow.error;
|
1866
|
-
if (typeCast && typeCast.thrown) throw typeCast.error;
|
1867
|
-
throw jsx && jsx.error || arrow.error || typeCast && typeCast.error;
|
1868
|
-
}
|
1869
|
-
|
1870
|
-
parseMaybeUnary(refShorthandDefaultPos) {
|
1871
|
-
if (!this.hasPlugin("jsx") && this.isRelational("<")) {
|
1872
|
-
return this.tsParseTypeAssertion();
|
1873
|
-
} else {
|
1874
|
-
return super.parseMaybeUnary(refShorthandDefaultPos);
|
1875
|
-
}
|
1876
|
-
}
|
1877
|
-
|
1878
|
-
parseArrow(node) {
|
1879
|
-
if (this.match(_types.types.colon)) {
|
1880
|
-
const result = this.tryParse(abort => {
|
1881
|
-
const returnType = this.tsParseTypeOrTypePredicateAnnotation(_types.types.colon);
|
1882
|
-
if (this.canInsertSemicolon() || !this.match(_types.types.arrow)) abort();
|
1883
|
-
return returnType;
|
1884
|
-
});
|
1885
|
-
if (result.aborted) return;
|
1886
|
-
|
1887
|
-
if (!result.thrown) {
|
1888
|
-
if (result.error) this.state = result.failState;
|
1889
|
-
node.returnType = result.node;
|
1890
|
-
}
|
1891
|
-
}
|
1892
|
-
|
1893
|
-
return super.parseArrow(node);
|
1894
|
-
}
|
1895
|
-
|
1896
|
-
parseAssignableListItemTypes(param) {
|
1897
|
-
if (this.eat(_types.types.question)) {
|
1898
|
-
if (param.type !== "Identifier") {
|
1899
|
-
this.raise(param.start, "A binding pattern parameter cannot be optional in an implementation signature.");
|
1900
|
-
}
|
1901
|
-
|
1902
|
-
param.optional = true;
|
1903
|
-
}
|
1904
|
-
|
1905
|
-
const type = this.tsTryParseTypeAnnotation();
|
1906
|
-
if (type) param.typeAnnotation = type;
|
1907
|
-
this.resetEndLocation(param);
|
1908
|
-
return param;
|
1909
|
-
}
|
1910
|
-
|
1911
|
-
toAssignable(node, isBinding, contextDescription) {
|
1912
|
-
switch (node.type) {
|
1913
|
-
case "TSTypeCastExpression":
|
1914
|
-
return super.toAssignable(this.typeCastToParameter(node), isBinding, contextDescription);
|
1915
|
-
|
1916
|
-
case "TSParameterProperty":
|
1917
|
-
return super.toAssignable(node, isBinding, contextDescription);
|
1918
|
-
|
1919
|
-
case "TSAsExpression":
|
1920
|
-
case "TSNonNullExpression":
|
1921
|
-
case "TSTypeAssertion":
|
1922
|
-
node.expression = this.toAssignable(node.expression, isBinding, contextDescription);
|
1923
|
-
return node;
|
1924
|
-
|
1925
|
-
default:
|
1926
|
-
return super.toAssignable(node, isBinding, contextDescription);
|
1927
|
-
}
|
1928
|
-
}
|
1929
|
-
|
1930
|
-
checkLVal(expr, bindingType = _scopeflags.BIND_NONE, checkClashes, contextDescription) {
|
1931
|
-
switch (expr.type) {
|
1932
|
-
case "TSTypeCastExpression":
|
1933
|
-
return;
|
1934
|
-
|
1935
|
-
case "TSParameterProperty":
|
1936
|
-
this.checkLVal(expr.parameter, bindingType, checkClashes, "parameter property");
|
1937
|
-
return;
|
1938
|
-
|
1939
|
-
case "TSAsExpression":
|
1940
|
-
case "TSNonNullExpression":
|
1941
|
-
case "TSTypeAssertion":
|
1942
|
-
this.checkLVal(expr.expression, bindingType, checkClashes, contextDescription);
|
1943
|
-
return;
|
1944
|
-
|
1945
|
-
default:
|
1946
|
-
super.checkLVal(expr, bindingType, checkClashes, contextDescription);
|
1947
|
-
return;
|
1948
|
-
}
|
1949
|
-
}
|
1950
|
-
|
1951
|
-
parseBindingAtom() {
|
1952
|
-
switch (this.state.type) {
|
1953
|
-
case _types.types._this:
|
1954
|
-
return this.parseIdentifier(true);
|
1955
|
-
|
1956
|
-
default:
|
1957
|
-
return super.parseBindingAtom();
|
1958
|
-
}
|
1959
|
-
}
|
1960
|
-
|
1961
|
-
parseMaybeDecoratorArguments(expr) {
|
1962
|
-
if (this.isRelational("<")) {
|
1963
|
-
const typeArguments = this.tsParseTypeArguments();
|
1964
|
-
|
1965
|
-
if (this.match(_types.types.parenL)) {
|
1966
|
-
const call = super.parseMaybeDecoratorArguments(expr);
|
1967
|
-
call.typeParameters = typeArguments;
|
1968
|
-
return call;
|
1969
|
-
}
|
1970
|
-
|
1971
|
-
this.unexpected(this.state.start, _types.types.parenL);
|
1972
|
-
}
|
1973
|
-
|
1974
|
-
return super.parseMaybeDecoratorArguments(expr);
|
1975
|
-
}
|
1976
|
-
|
1977
|
-
isClassMethod() {
|
1978
|
-
return this.isRelational("<") || super.isClassMethod();
|
1979
|
-
}
|
1980
|
-
|
1981
|
-
isClassProperty() {
|
1982
|
-
return this.match(_types.types.bang) || this.match(_types.types.colon) || super.isClassProperty();
|
1983
|
-
}
|
1984
|
-
|
1985
|
-
parseMaybeDefault(...args) {
|
1986
|
-
const node = super.parseMaybeDefault(...args);
|
1987
|
-
|
1988
|
-
if (node.type === "AssignmentPattern" && node.typeAnnotation && node.right.start < node.typeAnnotation.start) {
|
1989
|
-
this.raise(node.typeAnnotation.start, "Type annotations must come before default assignments, " + "e.g. instead of `age = 25: number` use `age: number = 25`");
|
1990
|
-
}
|
1991
|
-
|
1992
|
-
return node;
|
1993
|
-
}
|
1994
|
-
|
1995
|
-
getTokenFromCode(code) {
|
1996
|
-
if (this.state.inType && (code === 62 || code === 60)) {
|
1997
|
-
return this.finishOp(_types.types.relational, 1);
|
1998
|
-
} else {
|
1999
|
-
return super.getTokenFromCode(code);
|
2000
|
-
}
|
2001
|
-
}
|
2002
|
-
|
2003
|
-
toAssignableList(exprList, isBinding) {
|
2004
|
-
for (let i = 0; i < exprList.length; i++) {
|
2005
|
-
const expr = exprList[i];
|
2006
|
-
if (!expr) continue;
|
2007
|
-
|
2008
|
-
switch (expr.type) {
|
2009
|
-
case "TSTypeCastExpression":
|
2010
|
-
exprList[i] = this.typeCastToParameter(expr);
|
2011
|
-
break;
|
2012
|
-
|
2013
|
-
case "TSAsExpression":
|
2014
|
-
case "TSTypeAssertion":
|
2015
|
-
if (!isBinding) {
|
2016
|
-
exprList[i] = this.typeCastToParameter(expr);
|
2017
|
-
} else {
|
2018
|
-
this.raise(expr.start, "Unexpected type cast in parameter position.");
|
2019
|
-
}
|
2020
|
-
|
2021
|
-
break;
|
2022
|
-
}
|
2023
|
-
}
|
2024
|
-
|
2025
|
-
return super.toAssignableList(...arguments);
|
2026
|
-
}
|
2027
|
-
|
2028
|
-
typeCastToParameter(node) {
|
2029
|
-
node.expression.typeAnnotation = node.typeAnnotation;
|
2030
|
-
this.resetEndLocation(node.expression, node.typeAnnotation.end, node.typeAnnotation.loc.end);
|
2031
|
-
return node.expression;
|
2032
|
-
}
|
2033
|
-
|
2034
|
-
toReferencedList(exprList, isInParens) {
|
2035
|
-
for (let i = 0; i < exprList.length; i++) {
|
2036
|
-
const expr = exprList[i];
|
2037
|
-
|
2038
|
-
if (expr && expr._exprListItem && expr.type === "TsTypeCastExpression") {
|
2039
|
-
this.raise(expr.start, "Did not expect a type annotation here.");
|
2040
|
-
}
|
2041
|
-
}
|
2042
|
-
|
2043
|
-
return exprList;
|
2044
|
-
}
|
2045
|
-
|
2046
|
-
shouldParseArrow() {
|
2047
|
-
return this.match(_types.types.colon) || super.shouldParseArrow();
|
2048
|
-
}
|
2049
|
-
|
2050
|
-
shouldParseAsyncArrow() {
|
2051
|
-
return this.match(_types.types.colon) || super.shouldParseAsyncArrow();
|
2052
|
-
}
|
2053
|
-
|
2054
|
-
canHaveLeadingDecorator() {
|
2055
|
-
return super.canHaveLeadingDecorator() || this.isAbstractClass();
|
2056
|
-
}
|
2057
|
-
|
2058
|
-
jsxParseOpeningElementAfterName(node) {
|
2059
|
-
if (this.isRelational("<")) {
|
2060
|
-
const typeArguments = this.tsTryParseAndCatch(() => this.tsParseTypeArguments());
|
2061
|
-
if (typeArguments) node.typeParameters = typeArguments;
|
2062
|
-
}
|
2063
|
-
|
2064
|
-
return super.jsxParseOpeningElementAfterName(node);
|
2065
|
-
}
|
2066
|
-
|
2067
|
-
getGetterSetterExpectedParamCount(method) {
|
2068
|
-
const baseCount = super.getGetterSetterExpectedParamCount(method);
|
2069
|
-
const firstParam = method.params[0];
|
2070
|
-
const hasContextParam = firstParam && firstParam.type === "Identifier" && firstParam.name === "this";
|
2071
|
-
return hasContextParam ? baseCount + 1 : baseCount;
|
2072
|
-
}
|
2073
|
-
|
2074
|
-
};
|
2075
|
-
|
2076
|
-
exports.default = _default;
|