immosquare-cleaner 0.1.63 → 0.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/lib/immosquare-cleaner.rb +37 -37
- data/lib/tasks/immosquare_cleaner.rake +17 -1
- data/linters/rubocop/cop/custom_cops/style/font_awesome_normalization.rb +106 -0
- data/linters/rubocop-3.4.1.yml +3 -1
- data/linters/rubocop.yml +4 -0
- data/node_modules/@babel/compat-data/data/plugins.json +6 -7
- data/node_modules/@babel/compat-data/package.json +2 -2
- data/node_modules/@babel/core/lib/config/files/configuration.js +3 -0
- data/node_modules/@babel/core/lib/config/files/configuration.js.map +1 -1
- data/node_modules/@babel/core/lib/config/files/module-types.js +74 -63
- data/node_modules/@babel/core/lib/config/files/module-types.js.map +1 -1
- data/node_modules/@babel/core/lib/config/files/plugins.js +1 -0
- data/node_modules/@babel/core/lib/config/files/plugins.js.map +1 -1
- data/node_modules/@babel/core/lib/config/partial.js +1 -1
- data/node_modules/@babel/core/lib/config/partial.js.map +1 -1
- data/node_modules/@babel/core/lib/index.js +1 -2
- data/node_modules/@babel/core/lib/index.js.map +1 -1
- data/node_modules/@babel/core/lib/parser/index.js.map +1 -1
- data/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs +3 -1
- data/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs.map +1 -1
- data/node_modules/@babel/core/lib/transformation/file/file.js +2 -4
- data/node_modules/@babel/core/lib/transformation/file/file.js.map +1 -1
- data/node_modules/@babel/core/lib/transformation/normalize-file.js.map +1 -1
- data/node_modules/@babel/core/lib/transformation/util/clone-deep.js +27 -7
- data/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map +1 -1
- data/node_modules/@babel/core/package.json +13 -14
- data/node_modules/@babel/generator/lib/generators/classes.js +7 -4
- data/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
- data/node_modules/@babel/generator/lib/generators/deprecated.js +28 -0
- data/node_modules/@babel/generator/lib/generators/deprecated.js.map +1 -0
- data/node_modules/@babel/generator/lib/generators/expressions.js +9 -3
- data/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -1
- data/node_modules/@babel/generator/lib/generators/jsx.js +6 -1
- data/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -1
- data/node_modules/@babel/generator/lib/generators/template-literals.js +16 -11
- data/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -1
- data/node_modules/@babel/generator/lib/generators/types.js +0 -9
- data/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
- data/node_modules/@babel/generator/lib/generators/typescript.js +36 -18
- data/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
- data/node_modules/@babel/generator/lib/node/parentheses.js +40 -3
- data/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -1
- data/node_modules/@babel/generator/lib/printer.js +4 -3
- data/node_modules/@babel/generator/lib/printer.js.map +1 -1
- data/node_modules/@babel/generator/package.json +5 -5
- data/node_modules/@babel/helper-compilation-targets/lib/index.js +1 -1
- data/node_modules/@babel/helper-compilation-targets/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-compilation-targets/package.json +2 -2
- data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js +1 -9
- data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js.map +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js +9 -0
- data/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js.map +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/lib/features.js +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/lib/features.js.map +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js +8 -8
- data/node_modules/@babel/helper-create-class-features-plugin/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-create-class-features-plugin/package.json +5 -5
- data/node_modules/@babel/helper-plugin-utils/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-plugin-utils/package.json +2 -2
- data/node_modules/@babel/helper-replace-supers/lib/index.js.map +1 -1
- data/node_modules/@babel/helper-replace-supers/package.json +3 -3
- data/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js +1 -1
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js +1 -1
- data/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js +7 -3
- data/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map +1 -1
- data/node_modules/@babel/helpers/lib/helpers-generated.js +3 -3
- data/node_modules/@babel/helpers/lib/helpers-generated.js.map +1 -1
- data/node_modules/@babel/helpers/package.json +5 -5
- data/node_modules/@babel/parser/lib/index.js +426 -236
- data/node_modules/@babel/parser/lib/index.js.map +1 -1
- data/node_modules/@babel/parser/package.json +2 -2
- data/node_modules/@babel/parser/typings/babel-parser.d.ts +127 -164
- data/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js +6 -0
- data/node_modules/@babel/plugin-transform-flow-strip-types/lib/index.js.map +1 -1
- data/node_modules/@babel/plugin-transform-flow-strip-types/package.json +4 -4
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js +3 -2
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js.map +1 -1
- data/node_modules/@babel/plugin-transform-nullish-coalescing-operator/package.json +3 -3
- data/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js +3 -1
- data/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js.map +1 -1
- data/node_modules/@babel/plugin-transform-typescript/lib/enum.js +24 -11
- data/node_modules/@babel/plugin-transform-typescript/lib/enum.js.map +1 -1
- data/node_modules/@babel/plugin-transform-typescript/lib/index.js +38 -9
- data/node_modules/@babel/plugin-transform-typescript/lib/index.js.map +1 -1
- data/node_modules/@babel/plugin-transform-typescript/lib/namespace.js +2 -0
- data/node_modules/@babel/plugin-transform-typescript/lib/namespace.js.map +1 -1
- data/node_modules/@babel/plugin-transform-typescript/package.json +5 -5
- data/node_modules/@babel/template/lib/options.js.map +1 -1
- data/node_modules/@babel/template/lib/parse.js.map +1 -1
- data/node_modules/@babel/template/package.json +4 -4
- data/node_modules/@babel/traverse/lib/cache.js +4 -5
- data/node_modules/@babel/traverse/lib/cache.js.map +1 -1
- data/node_modules/@babel/traverse/lib/path/conversion.js +1 -2
- data/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
- data/node_modules/@babel/traverse/lib/path/evaluation.js +17 -0
- data/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -1
- data/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -1
- data/node_modules/@babel/traverse/lib/path/modification.js +1 -1
- data/node_modules/@babel/traverse/lib/path/modification.js.map +1 -1
- data/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -1
- data/node_modules/@babel/traverse/lib/scope/index.js +9 -2
- data/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
- data/node_modules/@babel/traverse/lib/visitors.js +1 -1
- data/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
- data/node_modules/@babel/traverse/package.json +6 -6
- data/node_modules/@babel/types/lib/asserts/generated/index.js +8 -0
- data/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -1
- data/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
- data/node_modules/@babel/types/lib/builders/generated/index.js +22 -2858
- data/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -1
- data/node_modules/@babel/types/lib/builders/generated/lowercase.js +2886 -0
- data/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -0
- data/node_modules/@babel/types/lib/builders/generated/uppercase.js +267 -255
- data/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -1
- data/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -1
- data/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -1
- data/node_modules/@babel/types/lib/definitions/core.js +26 -17
- data/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
- data/node_modules/@babel/types/lib/definitions/flow.js +6 -3
- data/node_modules/@babel/types/lib/definitions/flow.js.map +1 -1
- data/node_modules/@babel/types/lib/definitions/jsx.js +9 -4
- data/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -1
- data/node_modules/@babel/types/lib/definitions/typescript.js +51 -26
- data/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -1
- data/node_modules/@babel/types/lib/definitions/utils.js +2 -2
- data/node_modules/@babel/types/lib/definitions/utils.js.map +1 -1
- data/node_modules/@babel/types/lib/index-legacy.d.ts +27 -7
- data/node_modules/@babel/types/lib/index.d.ts +1178 -1156
- data/node_modules/@babel/types/lib/index.js +10 -21
- data/node_modules/@babel/types/lib/index.js.flow +26 -6
- data/node_modules/@babel/types/lib/index.js.map +1 -1
- data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +9 -8
- data/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -1
- data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +1 -0
- data/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -1
- data/node_modules/@babel/types/lib/validators/generated/index.js +17 -0
- data/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -1
- data/node_modules/@babel/types/package.json +12 -12
- data/node_modules/{@babel/eslint-parser/node_modules/eslint-visitor-keys → @eslint/config-helpers}/LICENSE +2 -2
- data/node_modules/@eslint/config-helpers/README.md +97 -0
- data/node_modules/@eslint/config-helpers/dist/cjs/index.cjs +546 -0
- data/node_modules/@eslint/config-helpers/dist/cjs/index.d.cts +22 -0
- data/node_modules/@eslint/config-helpers/dist/cjs/types.cts +31 -0
- data/node_modules/@eslint/config-helpers/dist/esm/index.d.ts +22 -0
- data/node_modules/@eslint/config-helpers/dist/esm/index.js +544 -0
- data/node_modules/@eslint/config-helpers/dist/esm/types.d.ts +23 -0
- data/node_modules/@eslint/config-helpers/dist/esm/types.ts +31 -0
- data/node_modules/@eslint/config-helpers/package.json +60 -0
- data/node_modules/@eslint/js/package.json +1 -1
- data/node_modules/@eslint-community/eslint-utils/index.js +21 -1
- data/node_modules/@eslint-community/eslint-utils/index.js.map +1 -1
- data/node_modules/@eslint-community/eslint-utils/index.mjs +21 -1
- data/node_modules/@eslint-community/eslint-utils/index.mjs.map +1 -1
- data/node_modules/@eslint-community/eslint-utils/package.json +1 -1
- data/node_modules/acorn/CHANGELOG.md +12 -0
- data/node_modules/acorn/dist/acorn.js +33 -24
- data/node_modules/acorn/dist/acorn.mjs +33 -24
- data/node_modules/acorn/package.json +1 -1
- data/node_modules/async-function/CHANGELOG.md +16 -0
- data/node_modules/{jscodeshift → async-function}/LICENSE +1 -1
- data/node_modules/async-function/README.md +51 -0
- data/node_modules/async-function/index.d.mts +3 -0
- data/node_modules/async-function/index.d.ts +13 -0
- data/node_modules/async-function/index.js +8 -0
- data/node_modules/async-function/index.mjs +4 -0
- data/node_modules/async-function/legacy.js +18 -0
- data/node_modules/async-function/package.json +86 -0
- data/node_modules/async-function/require.mjs +5 -0
- data/node_modules/async-function/test/index.js +40 -0
- data/node_modules/async-function/tsconfig.json +9 -0
- data/node_modules/browserslist/index.js +23 -4
- data/node_modules/browserslist/node.js +69 -60
- data/node_modules/browserslist/package.json +1 -1
- data/node_modules/call-bind-apply-helpers/CHANGELOG.md +7 -0
- data/node_modules/call-bind-apply-helpers/index.d.ts +38 -20
- data/node_modules/call-bind-apply-helpers/index.js +1 -1
- data/node_modules/call-bind-apply-helpers/package.json +8 -8
- data/node_modules/call-bind-apply-helpers/test/index.js +4 -4
- data/node_modules/call-bound/CHANGELOG.md +8 -0
- data/node_modules/call-bound/index.d.ts +91 -10
- data/node_modules/call-bound/index.js +4 -3
- data/node_modules/call-bound/package.json +10 -10
- data/node_modules/call-bound/test/index.js +11 -4
- data/node_modules/call-bound/tsconfig.json +2 -1
- data/node_modules/caniuse-lite/data/agents.js +1 -1
- data/node_modules/caniuse-lite/data/browserVersions.js +1 -1
- data/node_modules/caniuse-lite/data/features/aac.js +1 -1
- data/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
- data/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
- data/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
- data/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
- data/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
- data/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
- data/node_modules/caniuse-lite/data/features/apng.js +1 -1
- data/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
- data/node_modules/caniuse-lite/data/features/array-find.js +1 -1
- data/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
- data/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
- data/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
- data/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
- data/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
- data/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
- data/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
- data/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
- data/node_modules/caniuse-lite/data/features/audio.js +1 -1
- data/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
- data/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
- data/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
- data/node_modules/caniuse-lite/data/features/av1.js +1 -1
- data/node_modules/caniuse-lite/data/features/avif.js +1 -1
- data/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
- data/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
- data/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
- data/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
- data/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
- data/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
- data/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
- data/node_modules/caniuse-lite/data/features/beacon.js +1 -1
- data/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
- data/node_modules/caniuse-lite/data/features/bigint.js +1 -1
- data/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
- data/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
- data/node_modules/caniuse-lite/data/features/border-image.js +1 -1
- data/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
- data/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
- data/node_modules/caniuse-lite/data/features/brotli.js +1 -1
- data/node_modules/caniuse-lite/data/features/calc.js +1 -1
- data/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
- data/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
- data/node_modules/caniuse-lite/data/features/canvas.js +1 -1
- data/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
- data/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
- data/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
- data/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
- data/node_modules/caniuse-lite/data/features/classlist.js +1 -1
- data/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
- data/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
- data/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
- data/node_modules/caniuse-lite/data/features/colr.js +1 -1
- data/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
- data/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
- data/node_modules/caniuse-lite/data/features/console-time.js +1 -1
- data/node_modules/caniuse-lite/data/features/const.js +1 -1
- data/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
- data/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
- data/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
- data/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
- data/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
- data/node_modules/caniuse-lite/data/features/cors.js +1 -1
- data/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
- data/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
- data/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-all.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-has.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-table.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
- data/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
- data/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
- data/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
- data/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
- data/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
- data/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
- data/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
- data/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
- data/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
- data/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
- data/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
- data/node_modules/caniuse-lite/data/features/customevent.js +1 -1
- data/node_modules/caniuse-lite/data/features/datalist.js +1 -1
- data/node_modules/caniuse-lite/data/features/dataset.js +1 -1
- data/node_modules/caniuse-lite/data/features/datauri.js +1 -1
- data/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
- data/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
- data/node_modules/caniuse-lite/data/features/decorators.js +1 -1
- data/node_modules/caniuse-lite/data/features/details.js +1 -1
- data/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
- data/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
- data/node_modules/caniuse-lite/data/features/dialog.js +1 -1
- data/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
- data/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
- data/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
- data/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
- data/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
- data/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
- data/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
- data/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
- data/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
- data/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
- data/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
- data/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
- data/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
- data/node_modules/caniuse-lite/data/features/download.js +1 -1
- data/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
- data/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
- data/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
- data/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
- data/node_modules/caniuse-lite/data/features/eme.js +1 -1
- data/node_modules/caniuse-lite/data/features/eot.js +1 -1
- data/node_modules/caniuse-lite/data/features/es5.js +1 -1
- data/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
- data/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
- data/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
- data/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
- data/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
- data/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
- data/node_modules/caniuse-lite/data/features/es6.js +1 -1
- data/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
- data/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
- data/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
- data/node_modules/caniuse-lite/data/features/fetch.js +1 -1
- data/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
- data/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
- data/node_modules/caniuse-lite/data/features/filereader.js +1 -1
- data/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
- data/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
- data/node_modules/caniuse-lite/data/features/flac.js +1 -1
- data/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
- data/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
- data/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
- data/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
- data/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
- data/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
- data/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
- data/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
- data/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
- data/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
- data/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
- data/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
- data/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
- data/node_modules/caniuse-lite/data/features/fontface.js +1 -1
- data/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
- data/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
- data/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
- data/node_modules/caniuse-lite/data/features/forms.js +1 -1
- data/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
- data/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
- data/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
- data/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
- data/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
- data/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
- data/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
- data/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
- data/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
- data/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
- data/node_modules/caniuse-lite/data/features/heif.js +1 -1
- data/node_modules/caniuse-lite/data/features/hevc.js +1 -1
- data/node_modules/caniuse-lite/data/features/hidden.js +1 -1
- data/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
- data/node_modules/caniuse-lite/data/features/history.js +1 -1
- data/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
- data/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
- data/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
- data/node_modules/caniuse-lite/data/features/http2.js +1 -1
- data/node_modules/caniuse-lite/data/features/http3.js +1 -1
- data/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
- data/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
- data/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
- data/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
- data/node_modules/caniuse-lite/data/features/ime.js +1 -1
- data/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
- data/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
- data/node_modules/caniuse-lite/data/features/imports.js +1 -1
- data/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
- data/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
- data/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
- data/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
- data/node_modules/caniuse-lite/data/features/innertext.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-color.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-event.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-number.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-range.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-search.js +1 -1
- data/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
- data/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
- data/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
- data/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
- data/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
- data/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
- data/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
- data/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
- data/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
- data/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
- data/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
- data/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
- data/node_modules/caniuse-lite/data/features/json.js +1 -1
- data/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
- data/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
- data/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
- data/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
- data/node_modules/caniuse-lite/data/features/let.js +1 -1
- data/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
- data/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
- data/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
- data/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
- data/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
- data/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
- data/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
- data/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
- data/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
- data/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
- data/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
- data/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
- data/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
- data/node_modules/caniuse-lite/data/features/mathml.js +1 -1
- data/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
- data/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
- data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
- data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
- data/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
- data/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
- data/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
- data/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
- data/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
- data/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
- data/node_modules/caniuse-lite/data/features/menu.js +1 -1
- data/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
- data/node_modules/caniuse-lite/data/features/meter.js +1 -1
- data/node_modules/caniuse-lite/data/features/midi.js +1 -1
- data/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
- data/node_modules/caniuse-lite/data/features/mp3.js +1 -1
- data/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
- data/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
- data/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
- data/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
- data/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
- data/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
- data/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
- data/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
- data/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
- data/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
- data/node_modules/caniuse-lite/data/features/notifications.js +1 -1
- data/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
- data/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
- data/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
- data/node_modules/caniuse-lite/data/features/object-values.js +1 -1
- data/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
- data/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
- data/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
- data/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
- data/node_modules/caniuse-lite/data/features/ogv.js +1 -1
- data/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
- data/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
- data/node_modules/caniuse-lite/data/features/online-status.js +1 -1
- data/node_modules/caniuse-lite/data/features/opus.js +1 -1
- data/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
- data/node_modules/caniuse-lite/data/features/outline.js +1 -1
- data/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
- data/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
- data/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
- data/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
- data/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
- data/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
- data/node_modules/caniuse-lite/data/features/path2d.js +1 -1
- data/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
- data/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
- data/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
- data/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
- data/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
- data/node_modules/caniuse-lite/data/features/picture.js +1 -1
- data/node_modules/caniuse-lite/data/features/ping.js +1 -1
- data/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
- data/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
- data/node_modules/caniuse-lite/data/features/pointer.js +1 -1
- data/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
- data/node_modules/caniuse-lite/data/features/portals.js +1 -1
- data/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
- data/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
- data/node_modules/caniuse-lite/data/features/progress.js +1 -1
- data/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
- data/node_modules/caniuse-lite/data/features/promises.js +1 -1
- data/node_modules/caniuse-lite/data/features/proximity.js +1 -1
- data/node_modules/caniuse-lite/data/features/proxy.js +1 -1
- data/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
- data/node_modules/caniuse-lite/data/features/push-api.js +1 -1
- data/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
- data/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
- data/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
- data/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
- data/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
- data/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
- data/node_modules/caniuse-lite/data/features/rellist.js +1 -1
- data/node_modules/caniuse-lite/data/features/rem.js +1 -1
- data/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
- data/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
- data/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
- data/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
- data/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
- data/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
- data/node_modules/caniuse-lite/data/features/ruby.js +1 -1
- data/node_modules/caniuse-lite/data/features/run-in.js +1 -1
- data/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
- data/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
- data/node_modules/caniuse-lite/data/features/script-async.js +1 -1
- data/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
- data/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
- data/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
- data/node_modules/caniuse-lite/data/features/sdch.js +1 -1
- data/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
- data/node_modules/caniuse-lite/data/features/selectlist.js +1 -1
- data/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
- data/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
- data/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
- data/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
- data/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
- data/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
- data/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
- data/node_modules/caniuse-lite/data/features/sni.js +1 -1
- data/node_modules/caniuse-lite/data/features/spdy.js +1 -1
- data/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
- data/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
- data/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
- data/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
- data/node_modules/caniuse-lite/data/features/srcset.js +1 -1
- data/node_modules/caniuse-lite/data/features/stream.js +1 -1
- data/node_modules/caniuse-lite/data/features/streams.js +1 -1
- data/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
- data/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
- data/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
- data/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
- data/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
- data/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
- data/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
- data/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
- data/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
- data/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
- data/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
- data/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
- data/node_modules/caniuse-lite/data/features/svg.js +1 -1
- data/node_modules/caniuse-lite/data/features/sxg.js +1 -1
- data/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
- data/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
- data/node_modules/caniuse-lite/data/features/template.js +1 -1
- data/node_modules/caniuse-lite/data/features/temporal.js +1 -1
- data/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
- data/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
- data/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
- data/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
- data/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
- data/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
- data/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
- data/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
- data/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
- data/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
- data/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
- data/node_modules/caniuse-lite/data/features/touch.js +1 -1
- data/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
- data/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
- data/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
- data/node_modules/caniuse-lite/data/features/ttf.js +1 -1
- data/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
- data/node_modules/caniuse-lite/data/features/u2f.js +1 -1
- data/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
- data/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
- data/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
- data/node_modules/caniuse-lite/data/features/url.js +1 -1
- data/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
- data/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
- data/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
- data/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
- data/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
- data/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
- data/node_modules/caniuse-lite/data/features/vibration.js +1 -1
- data/node_modules/caniuse-lite/data/features/video.js +1 -1
- data/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
- data/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
- data/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
- data/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
- data/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
- data/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
- data/node_modules/caniuse-lite/data/features/wasm.js +1 -1
- data/node_modules/caniuse-lite/data/features/wav.js +1 -1
- data/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
- data/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
- data/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
- data/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
- data/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
- data/node_modules/caniuse-lite/data/features/web-share.js +1 -1
- data/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
- data/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
- data/node_modules/caniuse-lite/data/features/webgl.js +1 -1
- data/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
- data/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
- data/node_modules/caniuse-lite/data/features/webhid.js +1 -1
- data/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
- data/node_modules/caniuse-lite/data/features/webm.js +1 -1
- data/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
- data/node_modules/caniuse-lite/data/features/webp.js +1 -1
- data/node_modules/caniuse-lite/data/features/websockets.js +1 -1
- data/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
- data/node_modules/caniuse-lite/data/features/webusb.js +1 -1
- data/node_modules/caniuse-lite/data/features/webvr.js +1 -1
- data/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
- data/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
- data/node_modules/caniuse-lite/data/features/webxr.js +1 -1
- data/node_modules/caniuse-lite/data/features/will-change.js +1 -1
- data/node_modules/caniuse-lite/data/features/woff.js +1 -1
- data/node_modules/caniuse-lite/data/features/woff2.js +1 -1
- data/node_modules/caniuse-lite/data/features/word-break.js +1 -1
- data/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
- data/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
- data/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
- data/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
- data/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
- data/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
- data/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
- data/node_modules/caniuse-lite/data/features/zstd.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AD.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AF.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AI.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AL.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AO.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AS.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AT.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AU.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AW.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AX.js +1 -1
- data/node_modules/caniuse-lite/data/regions/AZ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BB.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BD.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BF.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BH.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BI.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BJ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BN.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BO.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BS.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BT.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BW.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BY.js +1 -1
- data/node_modules/caniuse-lite/data/regions/BZ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CD.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CF.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CH.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CI.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CK.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CL.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CN.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CO.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CU.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CV.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CX.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CY.js +1 -1
- data/node_modules/caniuse-lite/data/regions/CZ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/DE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/DJ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/DK.js +1 -1
- data/node_modules/caniuse-lite/data/regions/DM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/DO.js +1 -1
- data/node_modules/caniuse-lite/data/regions/DZ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/EC.js +1 -1
- data/node_modules/caniuse-lite/data/regions/EE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/EG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/ER.js +1 -1
- data/node_modules/caniuse-lite/data/regions/ES.js +1 -1
- data/node_modules/caniuse-lite/data/regions/ET.js +1 -1
- data/node_modules/caniuse-lite/data/regions/FI.js +1 -1
- data/node_modules/caniuse-lite/data/regions/FJ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/FK.js +1 -1
- data/node_modules/caniuse-lite/data/regions/FM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/FO.js +1 -1
- data/node_modules/caniuse-lite/data/regions/FR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GB.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GD.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GF.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GH.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GI.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GL.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GN.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GP.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GQ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GT.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GU.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GW.js +1 -1
- data/node_modules/caniuse-lite/data/regions/GY.js +1 -1
- data/node_modules/caniuse-lite/data/regions/HK.js +1 -1
- data/node_modules/caniuse-lite/data/regions/HN.js +1 -1
- data/node_modules/caniuse-lite/data/regions/HR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/HT.js +1 -1
- data/node_modules/caniuse-lite/data/regions/HU.js +1 -1
- data/node_modules/caniuse-lite/data/regions/ID.js +1 -1
- data/node_modules/caniuse-lite/data/regions/IE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/IL.js +1 -1
- data/node_modules/caniuse-lite/data/regions/IM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/IN.js +1 -1
- data/node_modules/caniuse-lite/data/regions/IQ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/IR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/IS.js +1 -1
- data/node_modules/caniuse-lite/data/regions/IT.js +1 -1
- data/node_modules/caniuse-lite/data/regions/JE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/JM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/JO.js +1 -1
- data/node_modules/caniuse-lite/data/regions/JP.js +1 -1
- data/node_modules/caniuse-lite/data/regions/KE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/KG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/KH.js +1 -1
- data/node_modules/caniuse-lite/data/regions/KI.js +1 -1
- data/node_modules/caniuse-lite/data/regions/KM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/KN.js +1 -1
- data/node_modules/caniuse-lite/data/regions/KP.js +1 -1
- data/node_modules/caniuse-lite/data/regions/KR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/KW.js +1 -1
- data/node_modules/caniuse-lite/data/regions/KY.js +1 -1
- data/node_modules/caniuse-lite/data/regions/KZ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/LA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/LB.js +1 -1
- data/node_modules/caniuse-lite/data/regions/LC.js +1 -1
- data/node_modules/caniuse-lite/data/regions/LI.js +1 -1
- data/node_modules/caniuse-lite/data/regions/LK.js +1 -1
- data/node_modules/caniuse-lite/data/regions/LR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/LS.js +1 -1
- data/node_modules/caniuse-lite/data/regions/LT.js +1 -1
- data/node_modules/caniuse-lite/data/regions/LU.js +1 -1
- data/node_modules/caniuse-lite/data/regions/LV.js +1 -1
- data/node_modules/caniuse-lite/data/regions/LY.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MC.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MD.js +1 -1
- data/node_modules/caniuse-lite/data/regions/ME.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MH.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MK.js +1 -1
- data/node_modules/caniuse-lite/data/regions/ML.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MN.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MO.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MP.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MQ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MS.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MT.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MU.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MV.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MW.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MX.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MY.js +1 -1
- data/node_modules/caniuse-lite/data/regions/MZ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NC.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NF.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NI.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NL.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NO.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NP.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NU.js +1 -1
- data/node_modules/caniuse-lite/data/regions/NZ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/OM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PF.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PH.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PK.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PL.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PN.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PS.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PT.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PW.js +1 -1
- data/node_modules/caniuse-lite/data/regions/PY.js +1 -1
- data/node_modules/caniuse-lite/data/regions/QA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/RE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/RO.js +1 -1
- data/node_modules/caniuse-lite/data/regions/RS.js +1 -1
- data/node_modules/caniuse-lite/data/regions/RU.js +1 -1
- data/node_modules/caniuse-lite/data/regions/RW.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SB.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SC.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SD.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SH.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SI.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SK.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SL.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SN.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SO.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/ST.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SV.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SY.js +1 -1
- data/node_modules/caniuse-lite/data/regions/SZ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TC.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TD.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TH.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TJ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TL.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TN.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TO.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TR.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TT.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TV.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TW.js +1 -1
- data/node_modules/caniuse-lite/data/regions/TZ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/UA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/UG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/US.js +1 -1
- data/node_modules/caniuse-lite/data/regions/UY.js +1 -1
- data/node_modules/caniuse-lite/data/regions/UZ.js +1 -1
- data/node_modules/caniuse-lite/data/regions/VA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/VC.js +1 -1
- data/node_modules/caniuse-lite/data/regions/VE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/VG.js +1 -1
- data/node_modules/caniuse-lite/data/regions/VI.js +1 -1
- data/node_modules/caniuse-lite/data/regions/VN.js +1 -1
- data/node_modules/caniuse-lite/data/regions/VU.js +1 -1
- data/node_modules/caniuse-lite/data/regions/WF.js +1 -1
- data/node_modules/caniuse-lite/data/regions/WS.js +1 -1
- data/node_modules/caniuse-lite/data/regions/YE.js +1 -1
- data/node_modules/caniuse-lite/data/regions/YT.js +1 -1
- data/node_modules/caniuse-lite/data/regions/ZA.js +1 -1
- data/node_modules/caniuse-lite/data/regions/ZM.js +1 -1
- data/node_modules/caniuse-lite/data/regions/ZW.js +1 -1
- data/node_modules/caniuse-lite/data/regions/alt-af.js +1 -1
- data/node_modules/caniuse-lite/data/regions/alt-an.js +1 -1
- data/node_modules/caniuse-lite/data/regions/alt-as.js +1 -1
- data/node_modules/caniuse-lite/data/regions/alt-eu.js +1 -1
- data/node_modules/caniuse-lite/data/regions/alt-na.js +1 -1
- data/node_modules/caniuse-lite/data/regions/alt-oc.js +1 -1
- data/node_modules/caniuse-lite/data/regions/alt-sa.js +1 -1
- data/node_modules/caniuse-lite/data/regions/alt-ww.js +1 -1
- data/node_modules/caniuse-lite/package.json +1 -1
- data/node_modules/electron-to-chromium/chromium-versions.js +4 -1
- data/node_modules/electron-to-chromium/chromium-versions.json +1 -1
- data/node_modules/electron-to-chromium/full-chromium-versions.js +75 -3
- data/node_modules/electron-to-chromium/full-chromium-versions.json +1 -1
- data/node_modules/electron-to-chromium/full-versions.js +45 -1
- data/node_modules/electron-to-chromium/full-versions.json +1 -1
- data/node_modules/electron-to-chromium/package.json +1 -1
- data/node_modules/electron-to-chromium/versions.js +8 -1
- data/node_modules/electron-to-chromium/versions.json +1 -1
- data/node_modules/es-object-atoms/CHANGELOG.md +21 -0
- data/node_modules/es-object-atoms/README.md +7 -0
- data/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +2 -2
- data/node_modules/es-object-atoms/ToObject.d.ts +6 -2
- data/node_modules/es-object-atoms/isObject.d.ts +3 -0
- data/node_modules/es-object-atoms/isObject.js +6 -0
- data/node_modules/es-object-atoms/package.json +9 -8
- data/node_modules/es-object-atoms/test/index.js +11 -1
- data/node_modules/es-shim-unscopables/CHANGELOG.md +8 -0
- data/node_modules/es-shim-unscopables/index.d.ts +8 -0
- data/node_modules/es-shim-unscopables/index.js +2 -1
- data/node_modules/es-shim-unscopables/package.json +20 -11
- data/node_modules/es-shim-unscopables/test/index.js +4 -1
- data/node_modules/es-shim-unscopables/test/with.js +8 -0
- data/node_modules/es-shim-unscopables/tsconfig.json +10 -0
- data/node_modules/eslint/README.md +6 -4
- data/node_modules/eslint/lib/config-api.js +12 -0
- data/node_modules/eslint/lib/languages/js/source-code/source-code.js +18 -14
- data/node_modules/eslint/lib/rules/no-console.js +19 -11
- data/node_modules/eslint/lib/rules/no-native-reassign.js +1 -1
- data/node_modules/eslint/lib/rules/no-negated-in-lhs.js +1 -1
- data/node_modules/eslint/lib/types/config-api.d.ts +8 -0
- data/node_modules/eslint/lib/types/rules.d.ts +5199 -0
- data/node_modules/eslint/package.json +14 -6
- data/node_modules/eslint-scope/README.md +4 -3
- data/node_modules/eslint-scope/dist/eslint-scope.cjs +59 -2
- data/node_modules/eslint-scope/lib/index.js +1 -0
- data/node_modules/eslint-scope/lib/referencer.js +52 -0
- data/node_modules/eslint-scope/lib/scope-manager.js +4 -0
- data/node_modules/eslint-scope/lib/scope.js +1 -1
- data/node_modules/eslint-scope/lib/version.js +1 -1
- data/node_modules/eslint-scope/package.json +1 -1
- data/node_modules/flatted/index.js +3 -3
- data/node_modules/flatted/min.js +1 -1
- data/node_modules/flatted/package.json +21 -8
- data/node_modules/flatted/python/flatted.py +4 -4
- data/node_modules/flow-parser/flow_parser.js +5550 -5530
- data/node_modules/flow-parser/package.json +1 -1
- data/node_modules/for-each/CHANGELOG.md +107 -0
- data/node_modules/for-each/README.md +0 -4
- data/node_modules/for-each/index.d.ts +35 -0
- data/node_modules/for-each/index.js +11 -4
- data/node_modules/for-each/package.json +47 -36
- data/node_modules/for-each/test/test.js +54 -12
- data/node_modules/for-each/tsconfig.json +8 -0
- data/node_modules/get-intrinsic/CHANGELOG.md +8 -0
- data/node_modules/get-intrinsic/index.js +1 -0
- data/node_modules/get-intrinsic/package.json +8 -8
- data/node_modules/import-fresh/index.js +2 -1
- data/node_modules/import-fresh/package.json +6 -1
- data/node_modules/import-fresh/readme.md +14 -8
- data/node_modules/is-async-function/CHANGELOG.md +13 -0
- data/node_modules/is-async-function/index.d.ts +4 -2
- data/node_modules/is-async-function/index.js +3 -18
- data/node_modules/is-async-function/package.json +8 -3
- data/node_modules/is-boolean-object/CHANGELOG.md +11 -0
- data/node_modules/is-boolean-object/index.js +1 -1
- data/node_modules/is-boolean-object/package.json +8 -6
- data/node_modules/is-boolean-object/test/index.js +24 -1
- data/node_modules/is-weakref/CHANGELOG.md +8 -0
- data/node_modules/is-weakref/index.d.ts +1 -1
- data/node_modules/is-weakref/index.js +3 -1
- data/node_modules/is-weakref/package.json +6 -6
- data/node_modules/object-inspect/CHANGELOG.md +8 -0
- data/node_modules/object-inspect/index.js +10 -7
- data/node_modules/object-inspect/package.json +5 -4
- data/node_modules/object-inspect/test/values.js +50 -0
- data/node_modules/possible-typed-array-names/CHANGELOG.md +14 -0
- data/node_modules/possible-typed-array-names/README.md +4 -2
- data/node_modules/possible-typed-array-names/index.d.ts +1 -0
- data/node_modules/possible-typed-array-names/index.js +1 -0
- data/node_modules/possible-typed-array-names/package.json +10 -9
- data/node_modules/possible-typed-array-names/test/index.js +6 -3
- data/node_modules/possible-typed-array-names/tsconfig.json +2 -42
- data/node_modules/recast/lib/lines.d.ts +2 -2
- data/node_modules/recast/lib/printer.js +17 -5
- data/node_modules/recast/package.json +1 -1
- data/node_modules/typescript/README.md +1 -1
- data/node_modules/typescript/lib/_tsc.js +931 -500
- data/node_modules/typescript/lib/_tsserver.js +43 -7
- data/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/de/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/es/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/it/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/lib.dom.d.ts +769 -142
- data/node_modules/typescript/lib/lib.dom.iterable.d.ts +9 -7
- data/node_modules/typescript/lib/lib.es2015.iterable.d.ts +69 -54
- data/node_modules/typescript/lib/lib.es2020.bigint.d.ts +41 -7
- data/node_modules/typescript/lib/lib.es2023.array.d.ts +24 -24
- data/node_modules/typescript/lib/lib.es5.d.ts +60 -51
- data/node_modules/typescript/lib/lib.esnext.d.ts +2 -0
- data/node_modules/typescript/lib/lib.esnext.float16.d.ts +443 -0
- data/node_modules/typescript/lib/lib.esnext.iterator.d.ts +1 -1
- data/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
- data/node_modules/typescript/lib/lib.webworker.d.ts +262 -55
- data/node_modules/typescript/lib/lib.webworker.iterable.d.ts +6 -7
- data/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/typescript.d.ts +14 -3
- data/node_modules/typescript/lib/typescript.js +1035 -570
- data/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +14 -8
- data/node_modules/typescript/package.json +22 -22
- data/node_modules/update-browserslist-db/index.js +5 -7
- data/node_modules/update-browserslist-db/package.json +2 -2
- data/node_modules/which-typed-array/CHANGELOG.md +10 -0
- data/node_modules/which-typed-array/index.js +21 -20
- data/node_modules/which-typed-array/package.json +9 -7
- data/node_modules/which-typed-array/tsconfig.json +1 -1
- data/package.json +2 -3
- metadata +41 -206
- data/linters/jscodeshift/arrow-function-transform.js +0 -42
- data/node_modules/.bin/jscodeshift +0 -1
- data/node_modules/@babel/eslint-parser/LICENSE +0 -22
- data/node_modules/@babel/eslint-parser/README.md +0 -142
- data/node_modules/@babel/eslint-parser/lib/analyze-scope.cjs +0 -322
- data/node_modules/@babel/eslint-parser/lib/analyze-scope.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/client.cjs +0 -106
- data/node_modules/@babel/eslint-parser/lib/client.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/configuration.cjs +0 -23
- data/node_modules/@babel/eslint-parser/lib/configuration.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/convert/convertAST.cjs +0 -134
- data/node_modules/@babel/eslint-parser/lib/convert/convertAST.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs +0 -10
- data/node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/convert/convertTokens.cjs +0 -159
- data/node_modules/@babel/eslint-parser/lib/convert/convertTokens.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/convert/index.cjs +0 -25
- data/node_modules/@babel/eslint-parser/lib/convert/index.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/experimental-worker.cjs +0 -32
- data/node_modules/@babel/eslint-parser/lib/experimental-worker.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/index.cjs +0 -32
- data/node_modules/@babel/eslint-parser/lib/index.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/parse.cjs +0 -37
- data/node_modules/@babel/eslint-parser/lib/parse.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/utils/eslint-version.cjs +0 -5
- data/node_modules/@babel/eslint-parser/lib/utils/eslint-version.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/worker/ast-info.cjs +0 -37
- data/node_modules/@babel/eslint-parser/lib/worker/ast-info.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/worker/babel-core.cjs +0 -21
- data/node_modules/@babel/eslint-parser/lib/worker/babel-core.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/worker/configuration.cjs +0 -91
- data/node_modules/@babel/eslint-parser/lib/worker/configuration.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/worker/extract-parser-options-plugin.cjs +0 -11
- data/node_modules/@babel/eslint-parser/lib/worker/extract-parser-options-plugin.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/worker/handle-message.cjs +0 -32
- data/node_modules/@babel/eslint-parser/lib/worker/handle-message.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/worker/index.cjs +0 -39
- data/node_modules/@babel/eslint-parser/lib/worker/index.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/lib/worker/maybeParse.cjs +0 -48
- data/node_modules/@babel/eslint-parser/lib/worker/maybeParse.cjs.map +0 -1
- data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/CHANGELOG.md +0 -36
- data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/README.md +0 -98
- data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/lib/index.js +0 -81
- data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/lib/visitor-keys.json +0 -289
- data/node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys/package.json +0 -39
- data/node_modules/@babel/eslint-parser/node_modules/semver/LICENSE +0 -15
- data/node_modules/@babel/eslint-parser/node_modules/semver/README.md +0 -443
- data/node_modules/@babel/eslint-parser/node_modules/semver/bin/semver.js +0 -174
- data/node_modules/@babel/eslint-parser/node_modules/semver/package.json +0 -38
- data/node_modules/@babel/eslint-parser/node_modules/semver/range.bnf +0 -16
- data/node_modules/@babel/eslint-parser/node_modules/semver/semver.js +0 -1643
- data/node_modules/@babel/eslint-parser/package.json +0 -53
- data/node_modules/@babel/eslint-parser/types.d.cts +0 -9
- data/node_modules/@babel/plugin-proposal-decorators/LICENSE +0 -22
- data/node_modules/@babel/plugin-proposal-decorators/README.md +0 -19
- data/node_modules/@babel/plugin-proposal-decorators/lib/index.js +0 -41
- data/node_modules/@babel/plugin-proposal-decorators/lib/index.js.map +0 -1
- data/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js +0 -165
- data/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js.map +0 -1
- data/node_modules/@babel/plugin-proposal-decorators/package.json +0 -42
- data/node_modules/@babel/plugin-syntax-decorators/LICENSE +0 -22
- data/node_modules/@babel/plugin-syntax-decorators/README.md +0 -19
- data/node_modules/@babel/plugin-syntax-decorators/lib/index.js +0 -81
- data/node_modules/@babel/plugin-syntax-decorators/lib/index.js.map +0 -1
- data/node_modules/@babel/plugin-syntax-decorators/package.json +0 -33
- data/node_modules/@babel/plugin-transform-react-display-name/LICENSE +0 -22
- data/node_modules/@babel/plugin-transform-react-display-name/README.md +0 -19
- data/node_modules/@babel/plugin-transform-react-display-name/lib/index.js +0 -92
- data/node_modules/@babel/plugin-transform-react-display-name/lib/index.js.map +0 -1
- data/node_modules/@babel/plugin-transform-react-display-name/package.json +0 -34
- data/node_modules/@babel/plugin-transform-react-jsx/LICENSE +0 -22
- data/node_modules/@babel/plugin-transform-react-jsx/README.md +0 -19
- data/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js +0 -505
- data/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js.map +0 -1
- data/node_modules/@babel/plugin-transform-react-jsx/lib/development.js +0 -13
- data/node_modules/@babel/plugin-transform-react-jsx/lib/development.js.map +0 -1
- data/node_modules/@babel/plugin-transform-react-jsx/lib/index.js +0 -13
- data/node_modules/@babel/plugin-transform-react-jsx/lib/index.js.map +0 -1
- data/node_modules/@babel/plugin-transform-react-jsx/package.json +0 -39
- data/node_modules/@babel/plugin-transform-react-jsx-development/LICENSE +0 -22
- data/node_modules/@babel/plugin-transform-react-jsx-development/README.md +0 -19
- data/node_modules/@babel/plugin-transform-react-jsx-development/lib/index.js +0 -10
- data/node_modules/@babel/plugin-transform-react-jsx-development/lib/index.js.map +0 -1
- data/node_modules/@babel/plugin-transform-react-jsx-development/package.json +0 -33
- data/node_modules/@babel/plugin-transform-react-pure-annotations/LICENSE +0 -22
- data/node_modules/@babel/plugin-transform-react-pure-annotations/README.md +0 -19
- data/node_modules/@babel/plugin-transform-react-pure-annotations/lib/index.js +0 -49
- data/node_modules/@babel/plugin-transform-react-pure-annotations/lib/index.js.map +0 -1
- data/node_modules/@babel/plugin-transform-react-pure-annotations/package.json +0 -34
- data/node_modules/@babel/preset-react/LICENSE +0 -22
- data/node_modules/@babel/preset-react/README.md +0 -19
- data/node_modules/@babel/preset-react/lib/index.js +0 -79
- data/node_modules/@babel/preset-react/lib/index.js.map +0 -1
- data/node_modules/@babel/preset-react/package.json +0 -37
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/LICENSE +0 -7
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/index.js +0 -8
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/CHANGELOG.md +0 -70
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/LICENSE +0 -22
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/README.md +0 -54
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/definition.js +0 -86
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/index.js +0 -165
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/pattern-visitor.js +0 -152
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/reference.js +0 -167
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/referencer.js +0 -629
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/scope-manager.js +0 -247
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/scope.js +0 -748
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/lib/variable.js +0 -88
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/LICENSE.BSD +0 -19
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/README.md +0 -153
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/estraverse.js +0 -782
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/gulpfile.js +0 -70
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/node_modules/estraverse/package.json +0 -40
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/package.json +0 -48
- data/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/package.json +0 -14
- data/node_modules/eslint/lib/types/rules/best-practices.d.ts +0 -1143
- data/node_modules/eslint/lib/types/rules/deprecated.d.ts +0 -252
- data/node_modules/eslint/lib/types/rules/ecmascript-6.d.ts +0 -647
- data/node_modules/eslint/lib/types/rules/index.d.ts +0 -50
- data/node_modules/eslint/lib/types/rules/node-commonjs.d.ts +0 -171
- data/node_modules/eslint/lib/types/rules/possible-errors.d.ts +0 -685
- data/node_modules/eslint/lib/types/rules/strict-mode.d.ts +0 -38
- data/node_modules/eslint/lib/types/rules/stylistic-issues.d.ts +0 -2043
- data/node_modules/eslint/lib/types/rules/variables.d.ts +0 -234
- data/node_modules/flatted/python/test.py +0 -63
- data/node_modules/jscodeshift/CHANGELOG.md +0 -226
- data/node_modules/jscodeshift/CODE_OF_CONDUCT.md +0 -3
- data/node_modules/jscodeshift/CONTRIBUTING.md +0 -48
- data/node_modules/jscodeshift/README.md +0 -671
- data/node_modules/jscodeshift/bin/jscodeshift.js +0 -182
- data/node_modules/jscodeshift/bin/jscodeshift.sh +0 -12
- data/node_modules/jscodeshift/dist/Collection.js +0 -472
- data/node_modules/jscodeshift/dist/Runner.js +0 -322
- data/node_modules/jscodeshift/dist/Worker.js +0 -210
- data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.input.js +0 -1
- data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.js +0 -11
- data/node_modules/jscodeshift/dist/__testfixtures__/test-async-transform.output.js +0 -1
- data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.input.js +0 -1
- data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.js +0 -7
- data/node_modules/jscodeshift/dist/__testfixtures__/test-sync-transform.output.js +0 -1
- data/node_modules/jscodeshift/dist/argsParser.js +0 -273
- data/node_modules/jscodeshift/dist/collections/ImportDeclaration.js +0 -113
- data/node_modules/jscodeshift/dist/collections/JSXElement.js +0 -221
- data/node_modules/jscodeshift/dist/collections/Node.js +0 -187
- data/node_modules/jscodeshift/dist/collections/VariableDeclarator.js +0 -210
- data/node_modules/jscodeshift/dist/collections/index.js +0 -14
- data/node_modules/jscodeshift/dist/core.js +0 -183
- data/node_modules/jscodeshift/dist/getParser.js +0 -25
- data/node_modules/jscodeshift/dist/ignoreFiles.js +0 -68
- data/node_modules/jscodeshift/dist/matchNode.js +0 -40
- data/node_modules/jscodeshift/dist/template.js +0 -173
- data/node_modules/jscodeshift/dist/testUtils.js +0 -173
- data/node_modules/jscodeshift/dist/utils/intersection.js +0 -27
- data/node_modules/jscodeshift/dist/utils/once.js +0 -21
- data/node_modules/jscodeshift/dist/utils/union.js +0 -20
- data/node_modules/jscodeshift/index.js +0 -9
- data/node_modules/jscodeshift/package.json +0 -74
- data/node_modules/jscodeshift/parser/babel5Compat.js +0 -50
- data/node_modules/jscodeshift/parser/babylon.js +0 -57
- data/node_modules/jscodeshift/parser/flow.js +0 -34
- data/node_modules/jscodeshift/parser/ts.js +0 -24
- data/node_modules/jscodeshift/parser/tsOptions.js +0 -46
- data/node_modules/jscodeshift/parser/tsx.js +0 -27
- data/node_modules/jscodeshift/src/Collection.js +0 -472
- data/node_modules/jscodeshift/src/Runner.js +0 -322
- data/node_modules/jscodeshift/src/Worker.js +0 -210
- data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.input.js +0 -1
- data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.js +0 -11
- data/node_modules/jscodeshift/src/__testfixtures__/test-async-transform.output.js +0 -1
- data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.input.js +0 -1
- data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.js +0 -7
- data/node_modules/jscodeshift/src/__testfixtures__/test-sync-transform.output.js +0 -1
- data/node_modules/jscodeshift/src/argsParser.js +0 -273
- data/node_modules/jscodeshift/src/collections/ImportDeclaration.js +0 -113
- data/node_modules/jscodeshift/src/collections/JSXElement.js +0 -221
- data/node_modules/jscodeshift/src/collections/Node.js +0 -187
- data/node_modules/jscodeshift/src/collections/VariableDeclarator.js +0 -210
- data/node_modules/jscodeshift/src/collections/index.js +0 -14
- data/node_modules/jscodeshift/src/core.js +0 -183
- data/node_modules/jscodeshift/src/getParser.js +0 -25
- data/node_modules/jscodeshift/src/ignoreFiles.js +0 -68
- data/node_modules/jscodeshift/src/matchNode.js +0 -40
- data/node_modules/jscodeshift/src/template.js +0 -173
- data/node_modules/jscodeshift/src/testUtils.js +0 -173
- data/node_modules/jscodeshift/src/utils/intersection.js +0 -27
- data/node_modules/jscodeshift/src/utils/once.js +0 -21
- data/node_modules/jscodeshift/src/utils/union.js +0 -20
- data/node_modules/jscodeshift/utils/requirePackage.js +0 -24
- data/node_modules/jscodeshift/utils/testUtils.js +0 -49
- data/node_modules/jscodeshift/website/README.md +0 -44
- data/node_modules/jscodeshift/website/astro.config.mjs +0 -36
- data/node_modules/jscodeshift/website/package.json +0 -17
- data/node_modules/jscodeshift/website/public/favicon.svg +0 -1
- data/node_modules/jscodeshift/website/src/assets/houston.webp +0 -0
- data/node_modules/jscodeshift/website/src/content/config.ts +0 -6
- data/node_modules/jscodeshift/website/src/content/docs/build/api-reference.mdx +0 -406
- data/node_modules/jscodeshift/website/src/content/docs/build/ast-grammar.mdx +0 -3086
- data/node_modules/jscodeshift/website/src/content/docs/index.mdx +0 -15
- data/node_modules/jscodeshift/website/src/content/docs/overview/introduction.mdx +0 -45
- data/node_modules/jscodeshift/website/src/content/docs/run/cli.mdx +0 -161
- data/node_modules/jscodeshift/website/src/env.d.ts +0 -2
- data/node_modules/jscodeshift/website/tsconfig.json +0 -3
- data/node_modules/typescript/lib/cancellationToken.js +0 -90
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_browserslist","require","_helperValidatorOption","_nativeModules","_lruCache","_utils","_targets","_options","_pretty","_debug","_filterItems","ESM_SUPPORT","browserModulesData","v","OptionValidator","validateTargetNames","targets","validTargets","Object","keys","TargetNames","target","Error","formatMessage","findSuggestion","isBrowsersQueryValid","browsers","Array","isArray","every","b","validateBrowsers","invariant","undefined","String","getLowestVersions","reduce","all","browser","browserName","browserVersion","split","browserNameMap","splitVersion","toLowerCase","isSplitUnreleased","isUnreleasedVersion","semverify","version","isUnreleased","getLowestUnreleased","parsedBrowserVersion","semverMin","_","outputDecimalWarning","decimalTargets","length","console","warn","forEach","value","semverifyTarget","nodeTargetParser","parsed","process","versions","node","defaultTargetParser","generateTargets","inputTargets","input","assign","esmodules","resolveTargets","queries","env","resolved","browserslist","mobileToDesktop","targetsCache","LruCache","max","resolveTargetsCached","cacheKey","join","cached","get","set","getTargets","options","_browsers","_browsers2","configPath","onBrowserslistConfigFound","shouldParseBrowsers","hasTargets","shouldSearchForConfig","ignoreBrowserslistConfig","BROWSERSLIST","configFile","BROWSERSLIST_CONFIG","findConfigFile","loadConfig","config","browserslistEnv","map","queryBrowsers","esmSupportVersion","getHighestUnreleased","result","decimalWarnings","sort","push","parsedTarget","parsedValue"],"sources":["../src/index.ts"],"sourcesContent":["import browserslist from \"browserslist\";\nimport { findSuggestion } from \"@babel/helper-validator-option\";\nimport browserModulesData from \"@babel/compat-data/native-modules\";\nimport LruCache from \"lru-cache\";\n\nimport {\n semverify,\n semverMin,\n isUnreleasedVersion,\n getLowestUnreleased,\n getHighestUnreleased,\n} from \"./utils.ts\";\nimport { OptionValidator } from \"@babel/helper-validator-option\";\nimport { browserNameMap } from \"./targets.ts\";\nimport { TargetNames } from \"./options.ts\";\nimport type {\n Target,\n Targets,\n InputTargets,\n Browsers,\n BrowserslistBrowserName,\n TargetsTuple,\n} from \"./types.ts\";\n\nexport type { Target, Targets, InputTargets };\n\nexport { prettifyTargets } from \"./pretty.ts\";\nexport { getInclusionReasons } from \"./debug.ts\";\nexport { default as filterItems, isRequired } from \"./filter-items.ts\";\nexport { unreleasedLabels } from \"./targets.ts\";\nexport { TargetNames };\n\nconst ESM_SUPPORT = browserModulesData[\"es6.module\"];\n\nconst v = new OptionValidator(PACKAGE_JSON.name);\n\nfunction validateTargetNames(targets: Targets): TargetsTuple {\n const validTargets = Object.keys(TargetNames);\n for (const target of Object.keys(targets)) {\n if (!(target in TargetNames)) {\n throw new Error(\n v.formatMessage(`'${target}' is not a valid target\n- Did you mean '${findSuggestion(target, validTargets)}'?`),\n );\n }\n }\n\n return targets;\n}\n\nexport function isBrowsersQueryValid(browsers: unknown): boolean {\n return (\n typeof browsers === \"string\" ||\n (Array.isArray(browsers) && browsers.every(b => typeof b === \"string\"))\n );\n}\n\nfunction validateBrowsers(browsers: Browsers | undefined) {\n v.invariant(\n browsers === undefined || isBrowsersQueryValid(browsers),\n `'${String(browsers)}' is not a valid browserslist query`,\n );\n\n return browsers;\n}\n\nfunction getLowestVersions(browsers: Array<string>): Targets {\n return browsers.reduce(\n (all, browser) => {\n const [browserName, browserVersion] = browser.split(\" \") as [\n BrowserslistBrowserName,\n string,\n ];\n const target = browserNameMap[browserName];\n\n if (!target) {\n return all;\n }\n\n try {\n // Browser version can return as \"10.0-10.2\"\n const splitVersion = browserVersion.split(\"-\")[0].toLowerCase();\n const isSplitUnreleased = isUnreleasedVersion(splitVersion, target);\n\n if (!all[target]) {\n all[target] = isSplitUnreleased\n ? splitVersion\n : semverify(splitVersion);\n return all;\n }\n\n const version = all[target];\n const isUnreleased = isUnreleasedVersion(version, target);\n\n if (isUnreleased && isSplitUnreleased) {\n all[target] = getLowestUnreleased(version, splitVersion, target);\n } else if (isUnreleased) {\n all[target] = semverify(splitVersion);\n } else if (!isUnreleased && !isSplitUnreleased) {\n const parsedBrowserVersion = semverify(splitVersion);\n\n all[target] = semverMin(version, parsedBrowserVersion);\n }\n } catch (_) {}\n\n return all;\n },\n {} as Record<Target, string>,\n );\n}\n\nfunction outputDecimalWarning(\n decimalTargets: Array<{ target: string; value: number }>,\n) {\n if (!decimalTargets.length) {\n return;\n }\n\n console.warn(\"Warning, the following targets are using a decimal version:\\n\");\n decimalTargets.forEach(({ target, value }) =>\n console.warn(` ${target}: ${value}`),\n );\n console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`);\n}\n\nfunction semverifyTarget(target: Target, value: string) {\n try {\n return semverify(value);\n } catch (_) {\n throw new Error(\n v.formatMessage(\n `'${value}' is not a valid value for 'targets.${target}'.`,\n ),\n );\n }\n}\n\n// Parse `node: true` and `node: \"current\"` to version\nfunction nodeTargetParser(value: true | string) {\n const parsed =\n value === true || value === \"current\"\n ? process.versions.node\n : semverifyTarget(\"node\", value);\n return [\"node\", parsed] as const;\n}\n\nfunction defaultTargetParser(\n target: Exclude<Target, \"node\">,\n value: string,\n): readonly [Exclude<Target, \"node\">, string] {\n const version = isUnreleasedVersion(value, target)\n ? value.toLowerCase()\n : semverifyTarget(target, value);\n return [target, version] as const;\n}\n\nfunction generateTargets(inputTargets: InputTargets): Targets {\n const input = { ...inputTargets };\n delete input.esmodules;\n delete input.browsers;\n return input;\n}\n\nfunction resolveTargets(queries: Browsers, env?: string): Targets {\n const resolved = browserslist(queries, {\n mobileToDesktop: true,\n env,\n });\n return getLowestVersions(resolved);\n}\n\nconst targetsCache = new LruCache({ max: 64 });\n\nfunction resolveTargetsCached(queries: Browsers, env?: string): Targets {\n const cacheKey = typeof queries === \"string\" ? queries : queries.join() + env;\n let cached = targetsCache.get(cacheKey) as Targets | undefined;\n if (!cached) {\n cached = resolveTargets(queries, env);\n targetsCache.set(cacheKey, cached);\n }\n return { ...cached };\n}\n\ntype GetTargetsOption = {\n // This is not the path of the config file, but the path where start searching it from\n configPath?: string;\n // The path of the config file\n configFile?: string;\n // The env to pass to browserslist\n browserslistEnv?: string;\n // true to disable config loading\n ignoreBrowserslistConfig?: boolean;\n // custom hook when browserslist config is found\n onBrowserslistConfigFound?: (configFile: string) => void;\n};\n\nexport default function getTargets(\n inputTargets: InputTargets = {},\n options: GetTargetsOption = {},\n): Targets {\n let { browsers, esmodules } = inputTargets;\n const { configPath = \".\", onBrowserslistConfigFound } = options;\n\n validateBrowsers(browsers);\n\n const input = generateTargets(inputTargets);\n let targets = validateTargetNames(input);\n\n const shouldParseBrowsers = !!browsers;\n const hasTargets = shouldParseBrowsers || Object.keys(targets).length > 0;\n const shouldSearchForConfig =\n !options.ignoreBrowserslistConfig && !hasTargets;\n\n if (!browsers && shouldSearchForConfig) {\n // https://github.com/browserslist/browserslist/blob/8ae85caa905d130f4ca86f7a998a5b63abbbe582/node.js#L243\n browsers = process.env.BROWSERSLIST;\n if (!browsers) {\n const configFile =\n options.configFile ||\n process.env.BROWSERSLIST_CONFIG ||\n browserslist.findConfigFile(configPath);\n if (configFile != null) {\n onBrowserslistConfigFound?.(configFile);\n browsers = browserslist.loadConfig({\n config: configFile,\n env: options.browserslistEnv,\n });\n }\n }\n\n if (browsers == null) {\n if (process.env.BABEL_8_BREAKING) {\n // In Babel 8, if no targets are passed, we use browserslist's defaults.\n browsers = [\"defaults\"];\n } else {\n // If no targets are passed, we need to overwrite browserslist's defaults\n // so that we enable all transforms (acting like the now deprecated\n // preset-latest).\n browsers = [];\n }\n }\n }\n\n // `esmodules` as a target indicates the specific set of browsers supporting ES Modules.\n // These values OVERRIDE the `browsers` field.\n if (esmodules && (esmodules !== \"intersect\" || !browsers?.length)) {\n browsers = Object.keys(ESM_SUPPORT)\n .map(\n (browser: keyof typeof ESM_SUPPORT) =>\n `${browser} >= ${ESM_SUPPORT[browser]}`,\n )\n .join(\", \");\n esmodules = false;\n }\n\n // If current value of `browsers` is undefined (`ignoreBrowserslistConfig` should be `false`)\n // or an empty array (without any user config, use default config),\n // we don't need to call `resolveTargets` to execute the related methods of `browserslist` library.\n if (browsers?.length) {\n const queryBrowsers = resolveTargetsCached(\n browsers,\n options.browserslistEnv,\n );\n\n if (esmodules === \"intersect\") {\n for (const browser of Object.keys(queryBrowsers) as Target[]) {\n if (browser !== \"deno\" && browser !== \"ie\") {\n const esmSupportVersion =\n ESM_SUPPORT[browser === \"opera_mobile\" ? \"op_mob\" : browser];\n\n if (esmSupportVersion) {\n const version = queryBrowsers[browser];\n queryBrowsers[browser] = getHighestUnreleased(\n version,\n semverify(esmSupportVersion),\n browser,\n );\n } else {\n delete queryBrowsers[browser];\n }\n } else {\n delete queryBrowsers[browser];\n }\n }\n }\n\n targets = Object.assign(queryBrowsers, targets);\n }\n\n // Parse remaining targets\n const result: Targets = {};\n const decimalWarnings = [];\n for (const target of Object.keys(targets).sort() as Target[]) {\n const value = targets[target];\n\n // Warn when specifying minor/patch as a decimal\n if (typeof value === \"number\" && value % 1 !== 0) {\n decimalWarnings.push({ target, value });\n }\n\n const [parsedTarget, parsedValue] =\n target === \"node\"\n ? nodeTargetParser(value)\n : defaultTargetParser(target, value as string);\n\n if (parsedValue) {\n // Merge (lowest wins)\n result[parsedTarget] = parsedValue;\n }\n }\n\n outputDecimalWarning(decimalWarnings);\n\n return result;\n}\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,MAAMnD,KAAK,GAAG5C,OAAO,CAACK,MAAM,CAAC;IAG7B,IAAI,OAAOuC,KAAK,KAAK,QAAQ,IAAIA,KAAK,GAAG,CAAC,KAAK,CAAC,EAAE;MAChDkD,eAAe,CAACE,IAAI,CAAC;QAAE3F,MAAM;QAAEuC;MAAM,CAAC,CAAC;IACzC;IAEA,MAAM,CAACqD,YAAY,EAAEC,WAAW,CAAC,GAC/B7F,MAAM,KAAK,MAAM,GACbyC,gBAAgB,CAACF,KAAK,CAAC,GACvBO,mBAAmB,CAAC9C,MAAM,EAAEuC,KAAe,CAAC;IAElD,IAAIsD,WAAW,EAAE;MAEfL,MAAM,CAACI,YAAY,CAAC,GAAGC,WAAW;IACpC;EACF;EAEA5D,oBAAoB,CAACwD,eAAe,CAAC;EAErC,OAAOD,MAAM;AACf","ignoreList":[]}
|
1
|
+
{"version":3,"names":["_browserslist","require","_helperValidatorOption","_nativeModules","_lruCache","_utils","_targets","_options","_pretty","_debug","_filterItems","ESM_SUPPORT","browserModulesData","v","OptionValidator","validateTargetNames","targets","validTargets","Object","keys","TargetNames","target","Error","formatMessage","findSuggestion","isBrowsersQueryValid","browsers","Array","isArray","every","b","validateBrowsers","invariant","undefined","String","getLowestVersions","reduce","all","browser","browserName","browserVersion","split","browserNameMap","splitVersion","toLowerCase","isSplitUnreleased","isUnreleasedVersion","semverify","version","isUnreleased","getLowestUnreleased","parsedBrowserVersion","semverMin","_","outputDecimalWarning","decimalTargets","length","console","warn","forEach","value","semverifyTarget","nodeTargetParser","parsed","process","versions","node","defaultTargetParser","generateTargets","inputTargets","input","assign","esmodules","resolveTargets","queries","env","resolved","browserslist","mobileToDesktop","targetsCache","LruCache","max","resolveTargetsCached","cacheKey","join","cached","get","set","getTargets","options","_browsers","_browsers2","configPath","onBrowserslistConfigFound","shouldParseBrowsers","hasTargets","shouldSearchForConfig","ignoreBrowserslistConfig","BROWSERSLIST","configFile","BROWSERSLIST_CONFIG","findConfigFile","loadConfig","config","browserslistEnv","map","queryBrowsers","esmSupportVersion","getHighestUnreleased","result","decimalWarnings","sort","push","parsedTarget","parsedValue"],"sources":["../src/index.ts"],"sourcesContent":["import browserslist from \"browserslist\";\nimport { findSuggestion } from \"@babel/helper-validator-option\";\nimport browserModulesData from \"@babel/compat-data/native-modules\";\nimport LruCache from \"lru-cache\";\n\nimport {\n semverify,\n semverMin,\n isUnreleasedVersion,\n getLowestUnreleased,\n getHighestUnreleased,\n} from \"./utils.ts\";\nimport { OptionValidator } from \"@babel/helper-validator-option\";\nimport { browserNameMap } from \"./targets.ts\";\nimport { TargetNames } from \"./options.ts\";\nimport type {\n Target,\n Targets,\n InputTargets,\n Browsers,\n BrowserslistBrowserName,\n TargetsTuple,\n} from \"./types.ts\";\n\nexport type { Target, Targets, InputTargets };\n\nexport { prettifyTargets } from \"./pretty.ts\";\nexport { getInclusionReasons } from \"./debug.ts\";\nexport { default as filterItems, isRequired } from \"./filter-items.ts\";\nexport { unreleasedLabels } from \"./targets.ts\";\nexport { TargetNames };\n\nconst ESM_SUPPORT = browserModulesData[\"es6.module\"];\n\nconst v = new OptionValidator(PACKAGE_JSON.name);\n\nfunction validateTargetNames(targets: Targets): TargetsTuple {\n const validTargets = Object.keys(TargetNames);\n for (const target of Object.keys(targets)) {\n if (!(target in TargetNames)) {\n throw new Error(\n v.formatMessage(`'${target}' is not a valid target\n- Did you mean '${findSuggestion(target, validTargets)}'?`),\n );\n }\n }\n\n return targets;\n}\n\nexport function isBrowsersQueryValid(browsers: unknown): boolean {\n return (\n typeof browsers === \"string\" ||\n (Array.isArray(browsers) && browsers.every(b => typeof b === \"string\"))\n );\n}\n\nfunction validateBrowsers(browsers: Browsers | undefined) {\n v.invariant(\n browsers === undefined || isBrowsersQueryValid(browsers),\n `'${String(browsers)}' is not a valid browserslist query`,\n );\n\n return browsers;\n}\n\nfunction getLowestVersions(browsers: Array<string>): Targets {\n return browsers.reduce(\n (all, browser) => {\n const [browserName, browserVersion] = browser.split(\" \") as [\n BrowserslistBrowserName,\n string,\n ];\n const target = browserNameMap[browserName];\n\n if (!target) {\n return all;\n }\n\n try {\n // Browser version can return as \"10.0-10.2\"\n const splitVersion = browserVersion.split(\"-\")[0].toLowerCase();\n const isSplitUnreleased = isUnreleasedVersion(splitVersion, target);\n\n if (!all[target]) {\n all[target] = isSplitUnreleased\n ? splitVersion\n : semverify(splitVersion);\n return all;\n }\n\n const version = all[target];\n const isUnreleased = isUnreleasedVersion(version, target);\n\n if (isUnreleased && isSplitUnreleased) {\n all[target] = getLowestUnreleased(version, splitVersion, target);\n } else if (isUnreleased) {\n all[target] = semverify(splitVersion);\n } else if (!isUnreleased && !isSplitUnreleased) {\n const parsedBrowserVersion = semverify(splitVersion);\n\n all[target] = semverMin(version, parsedBrowserVersion);\n }\n } catch (_) {}\n\n return all;\n },\n {} as Record<Target, string>,\n );\n}\n\nfunction outputDecimalWarning(\n decimalTargets: Array<{ target: string; value: number }>,\n) {\n if (!decimalTargets.length) {\n return;\n }\n\n console.warn(\"Warning, the following targets are using a decimal version:\\n\");\n decimalTargets.forEach(({ target, value }) =>\n console.warn(` ${target}: ${value}`),\n );\n console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`);\n}\n\nfunction semverifyTarget(target: Target, value: string) {\n try {\n return semverify(value);\n } catch (_) {\n throw new Error(\n v.formatMessage(\n `'${value}' is not a valid value for 'targets.${target}'.`,\n ),\n );\n }\n}\n\n// Parse `node: true` and `node: \"current\"` to version\nfunction nodeTargetParser(value: true | string) {\n const parsed =\n value === true || value === \"current\"\n ? // Align with `browserslist` and strip prerelease tag.\n process.versions.node.split(\"-\")[0]\n : semverifyTarget(\"node\", value);\n return [\"node\", parsed] as const;\n}\n\nfunction defaultTargetParser(\n target: Exclude<Target, \"node\">,\n value: string,\n): readonly [Exclude<Target, \"node\">, string] {\n const version = isUnreleasedVersion(value, target)\n ? value.toLowerCase()\n : semverifyTarget(target, value);\n return [target, version] as const;\n}\n\nfunction generateTargets(inputTargets: InputTargets): Targets {\n const input = { ...inputTargets };\n delete input.esmodules;\n delete input.browsers;\n return input;\n}\n\nfunction resolveTargets(queries: Browsers, env?: string): Targets {\n const resolved = browserslist(queries, {\n mobileToDesktop: true,\n env,\n });\n return getLowestVersions(resolved);\n}\n\nconst targetsCache = new LruCache({ max: 64 });\n\nfunction resolveTargetsCached(queries: Browsers, env?: string): Targets {\n const cacheKey = typeof queries === \"string\" ? queries : queries.join() + env;\n let cached = targetsCache.get(cacheKey) as Targets | undefined;\n if (!cached) {\n cached = resolveTargets(queries, env);\n targetsCache.set(cacheKey, cached);\n }\n return { ...cached };\n}\n\ntype GetTargetsOption = {\n // This is not the path of the config file, but the path where start searching it from\n configPath?: string;\n // The path of the config file\n configFile?: string;\n // The env to pass to browserslist\n browserslistEnv?: string;\n // true to disable config loading\n ignoreBrowserslistConfig?: boolean;\n // custom hook when browserslist config is found\n onBrowserslistConfigFound?: (configFile: string) => void;\n};\n\nexport default function getTargets(\n inputTargets: InputTargets = {},\n options: GetTargetsOption = {},\n): Targets {\n let { browsers, esmodules } = inputTargets;\n const { configPath = \".\", onBrowserslistConfigFound } = options;\n\n validateBrowsers(browsers);\n\n const input = generateTargets(inputTargets);\n let targets = validateTargetNames(input);\n\n const shouldParseBrowsers = !!browsers;\n const hasTargets = shouldParseBrowsers || Object.keys(targets).length > 0;\n const shouldSearchForConfig =\n !options.ignoreBrowserslistConfig && !hasTargets;\n\n if (!browsers && shouldSearchForConfig) {\n // https://github.com/browserslist/browserslist/blob/8ae85caa905d130f4ca86f7a998a5b63abbbe582/node.js#L243\n browsers = process.env.BROWSERSLIST;\n if (!browsers) {\n const configFile =\n options.configFile ||\n process.env.BROWSERSLIST_CONFIG ||\n browserslist.findConfigFile(configPath);\n if (configFile != null) {\n onBrowserslistConfigFound?.(configFile);\n browsers = browserslist.loadConfig({\n config: configFile,\n env: options.browserslistEnv,\n });\n }\n }\n\n if (browsers == null) {\n if (process.env.BABEL_8_BREAKING) {\n // In Babel 8, if no targets are passed, we use browserslist's defaults.\n browsers = [\"defaults\"];\n } else {\n // If no targets are passed, we need to overwrite browserslist's defaults\n // so that we enable all transforms (acting like the now deprecated\n // preset-latest).\n browsers = [];\n }\n }\n }\n\n // `esmodules` as a target indicates the specific set of browsers supporting ES Modules.\n // These values OVERRIDE the `browsers` field.\n if (esmodules && (esmodules !== \"intersect\" || !browsers?.length)) {\n browsers = Object.keys(ESM_SUPPORT)\n .map(\n (browser: keyof typeof ESM_SUPPORT) =>\n `${browser} >= ${ESM_SUPPORT[browser]}`,\n )\n .join(\", \");\n esmodules = false;\n }\n\n // If current value of `browsers` is undefined (`ignoreBrowserslistConfig` should be `false`)\n // or an empty array (without any user config, use default config),\n // we don't need to call `resolveTargets` to execute the related methods of `browserslist` library.\n if (browsers?.length) {\n const queryBrowsers = resolveTargetsCached(\n browsers,\n options.browserslistEnv,\n );\n\n if (esmodules === \"intersect\") {\n for (const browser of Object.keys(queryBrowsers) as Target[]) {\n if (browser !== \"deno\" && browser !== \"ie\") {\n const esmSupportVersion =\n ESM_SUPPORT[browser === \"opera_mobile\" ? \"op_mob\" : browser];\n\n if (esmSupportVersion) {\n const version = queryBrowsers[browser];\n queryBrowsers[browser] = getHighestUnreleased(\n version,\n semverify(esmSupportVersion),\n browser,\n );\n } else {\n delete queryBrowsers[browser];\n }\n } else {\n delete queryBrowsers[browser];\n }\n }\n }\n\n targets = Object.assign(queryBrowsers, targets);\n }\n\n // Parse remaining targets\n const result: Targets = {};\n const decimalWarnings = [];\n for (const target of Object.keys(targets).sort() as Target[]) {\n const value = targets[target];\n\n // Warn when specifying minor/patch as a decimal\n if (typeof value === \"number\" && value % 1 !== 0) {\n decimalWarnings.push({ target, value });\n }\n\n const [parsedTarget, parsedValue] =\n target === \"node\"\n ? nodeTargetParser(value)\n : defaultTargetParser(target, value as string);\n\n if (parsedValue) {\n // Merge (lowest wins)\n result[parsedTarget] = parsedValue;\n }\n }\n\n outputDecimalW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IH,MAAM,CAACC,IAAI,CAACH,OAAO,CAAC,CAAC+F,IAAI,CAAC,CAAC,EAAc;IAC5D,MAAMnD,KAAK,GAAG5C,OAAO,CAACK,MAAM,CAAC;IAG7B,IAAI,OAAOuC,KAAK,KAAK,QAAQ,IAAIA,KAAK,GAAG,CAAC,KAAK,CAAC,EAAE;MAChDkD,eAAe,CAACE,IAAI,CAAC;QAAE3F,MAAM;QAAEuC;MAAM,CAAC,CAAC;IACzC;IAEA,MAAM,CAACqD,YAAY,EAAEC,WAAW,CAAC,GAC/B7F,MAAM,KAAK,MAAM,GACbyC,gBAAgB,CAACF,KAAK,CAAC,GACvBO,mBAAmB,CAAC9C,MAAM,EAAEuC,KAAe,CAAC;IAElD,IAAIsD,WAAW,EAAE;MAEfL,MAAM,CAACI,YAAY,CAAC,GAAGC,WAAW;IACpC;EACF;EAEA5D,oBAAoB,CAACwD,eAAe,CAAC;EAErC,OAAOD,MAAM;AACf","ignoreList":[]}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babel/helper-compilation-targets",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.26.5",
|
4
4
|
"author": "The Babel Team (https://babel.dev/team)",
|
5
5
|
"license": "MIT",
|
6
6
|
"description": "Helper functions on Babel compilation targets",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"babel-plugin"
|
26
26
|
],
|
27
27
|
"dependencies": {
|
28
|
-
"@babel/compat-data": "^7.
|
28
|
+
"@babel/compat-data": "^7.26.5",
|
29
29
|
"@babel/helper-validator-option": "^7.25.9",
|
30
30
|
"browserslist": "^4.24.0",
|
31
31
|
"lru-cache": "^5.1.1",
|
@@ -4,17 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.buildDecoratedClass = buildDecoratedClass;
|
7
|
-
exports.hasDecorators = hasDecorators;
|
8
|
-
exports.hasOwnDecorators = hasOwnDecorators;
|
9
7
|
var _core = require("@babel/core");
|
10
8
|
var _helperReplaceSupers = require("@babel/helper-replace-supers");
|
11
|
-
|
12
|
-
var _node$decorators;
|
13
|
-
return !!((_node$decorators = node.decorators) != null && _node$decorators.length);
|
14
|
-
}
|
15
|
-
function hasDecorators(node) {
|
16
|
-
return hasOwnDecorators(node) || node.body.body.some(hasOwnDecorators);
|
17
|
-
}
|
9
|
+
;
|
18
10
|
function prop(key, value) {
|
19
11
|
if (!value) return null;
|
20
12
|
return _core.types.objectProperty(_core.types.identifier(key), value);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_core","require","_helperReplaceSupers","hasOwnDecorators","node","_node$decorators","decorators","length","hasDecorators","body","some","prop","key","value","t","objectProperty","identifier","method","objectMethod","blockStatement","takeDecorators","result","arrayExpression","map","decorator","expression","undefined","getKey","computed","isIdentifier","stringLiteral","name","String","extractElementDescriptor","file","classRef","superRef","path","isMethod","isClassMethod","isPrivate","buildCodeFrameError","type","scope","isTSDeclareMethod","ReplaceSupers","methodPath","objectRef","refToPreserve","replace","properties","kind","static","booleanLiteral","filter","Boolean","_path$ensureFunctionN","ensureFunctionName","NodePath","prototype","push","toExpression","isClassProperty","template","statements","ast","buildUndefinedNode","remove","objectExpression","addDecorateHelper","addHelper","buildDecoratedClass","ref","elements","initializeId","generateUidIdentifier","isDeclaration","id","isStrict","isInStrictMode","superClass","cloneNode","superId","generateUidIdentifierBasedOnNode","classDecorators","definitions","element","abstract","wrapperCall","nullLiteral","arguments","directives","directive","directiveLiteral","replacement","classPathDesc","statement","instanceNodes","wrapClass","replaceWith","get"],"sources":["../src/decorators-2018-09.ts"],"sourcesContent":["// TODO(Babel 8): Remove this file\n\nimport { types as t, template } from \"@babel/core\";\nimport type { File, NodePath } from \"@babel/core\";\nimport ReplaceSupers from \"@babel/helper-replace-supers\";\n\ntype Decoratable = Extract<t.Node, { decorators?: t.Decorator[] | null }>;\n\nexport function hasOwnDecorators(node: t.Class | t.ClassBody[\"body\"][number]) {\n // @ts-expect-error: 'decorators' not in TSIndexSignature\n return !!node.decorators?.length;\n}\n\nexport function hasDecorators(node: t.Class) {\n return hasOwnDecorators(node) || node.body.body.some(hasOwnDecorators);\n}\n\nfunction prop(key: string, value?: t.Expression) {\n if (!value) return null;\n return t.objectProperty(t.identifier(key), value);\n}\n\nfunction method(key: string, body: t.Statement[]) {\n return t.objectMethod(\n \"method\",\n t.identifier(key),\n [],\n t.blockStatement(body),\n );\n}\n\nfunction takeDecorators(node: Decoratable) {\n let result: t.ArrayExpression | undefined;\n if (node.decorators && node.decorators.length > 0) {\n result = t.arrayExpression(\n node.decorators.map(decorator => decorator.expression),\n );\n }\n node.decorators = undefined;\n return result;\n}\n\ntype AcceptedElement = Exclude<ClassElement, t.TSIndexSignature>;\ntype SupportedElement = Exclude<\n AcceptedElement,\n | t.ClassPrivateMethod\n | t.ClassPrivateProperty\n | t.ClassAccessorProperty\n | t.StaticBlock\n>;\n\nfunction getKey(node: SupportedElement) {\n if (node.computed) {\n return node.key;\n } else if (t.isIdentifier(node.key)) {\n return t.stringLiteral(node.key.name);\n } else {\n return t.stringLiteral(\n String(\n // A non-identifier non-computed key\n (node.key as t.StringLiteral | t.NumericLiteral | t.BigIntLiteral)\n .value,\n ),\n );\n }\n}\n\nfunction extractElementDescriptor(\n file: File,\n classRef: t.Identifier,\n superRef: t.Identifier,\n path: NodePath<AcceptedElement>,\n) {\n const isMethod = path.isClassMethod();\n if (path.isPrivate()) {\n throw path.buildCodeFrameError(\n `Private ${\n isMethod ? \"methods\" : \"fields\"\n } in decorated classes are not supported yet.`,\n );\n }\n if (path.node.type === \"ClassAccessorProperty\") {\n throw path.buildCodeFrameError(\n `Accessor properties are not supported in 2018-09 decorator transform, please specify { \"version\": \"2021-12\" } instead.`,\n );\n }\n if (path.node.type === \"StaticBlock\") {\n throw path.buildCodeFrameError(\n `Static blocks are not supported in 2018-09 decorator transform, please specify { \"version\": \"2021-12\" } instead.`,\n );\n }\n\n const { node, scope } = path as NodePath<SupportedElement>;\n\n if (!path.isTSDeclareMethod()) {\n new ReplaceSupers({\n methodPath: path as NodePath<\n Exclude<SupportedElement, t.TSDeclareMethod>\n >,\n objectRef: classRef,\n superRef,\n file,\n refToPreserve: classRef,\n }).replace();\n }\n\n const properties: t.ObjectExpression[\"properties\"] = [\n prop(\"kind\", t.stringLiteral(t.isClassMethod(node) ? node.kind : \"field\")),\n prop(\"decorators\", takeDecorators(node as Decoratable)),\n prop(\"static\", node.static && t.booleanLiteral(true)),\n prop(\"key\", getKey(node)),\n ].filter(Boolean);\n\n if (isMethod) {\n if (!process.env.BABEL_8_BREAKING && !USE_ESM && !IS_STANDALONE) {\n // polyfill when being run by an older Babel version\n path.ensureFunctionName ??=\n // eslint-disable-next-line no-restricted-globals\n require(\"@babel/traverse\").NodePath.prototype.ensureFunctionName;\n }\n // @ts-expect-error path is a ClassMethod, that technically\n // is not supported as it does not have an .id property\n // This plugin will however then transform the ClassMethod\n // to a function expression, so it's fine.\n path.ensureFunctionName(false);\n\n properties.push(prop(\"value\", t.toExpression(path.node)));\n } else if (t.isClassProperty(node) && node.value) {\n properties.push(\n method(\"value\", template.statements.ast`return ${node.value}`),\n );\n } else {\n properties.push(prop(\"value\", scope.buildUndefinedNode()));\n }\n\n path.remove();\n\n return t.objectExpression(properties);\n}\n\nfunction addDecorateHelper(file: File) {\n return file.addHelper(\"decorate\");\n}\n\ntype ClassElement = t.Class[\"body\"][\"body\"][number];\ntype ClassElementPath = NodePath<ClassElement>;\n\nexport function buildDecoratedClass(\n ref: t.Identifier,\n path: NodePath<t.Class>,\n elements: ClassElementPath[],\n file: File,\n) {\n const { node, scope } = path;\n const initializeId = scope.generateUidIdentifier(\"initialize\");\n const isDeclaration = node.id && path.isDeclaration();\n const isStrict = path.isInStrictMode();\n const { superClass } = node;\n\n node.type = \"ClassDeclaration\";\n if (!node.id) node.id = t.cloneNode(ref);\n\n let superId: t.Identifier;\n if (superClass) {\n superId = scope.generateUidIdentifierBasedOnNode(node.superClass, \"super\");\n node.superClass = superId;\n }\n\n const classDecorators = takeDecorators(node);\n const definitions = t.arrayExpression(\n elements\n .filter(\n element =>\n // @ts-expect-error Ignore TypeScript's abstract methods (see #10514)\n !element.node.abstract && element.node.type !== \"TSIndexSignature\",\n )\n .map(path =>\n extractElementDescriptor(\n file,\n node.id,\n superId,\n // @ts-expect-error TS can not exclude TSIndexSignature\n path,\n ),\n ),\n );\n\n const wrapperCall = template.expression.ast`\n ${addDecorateHelper(file)}(\n ${classDecorators || t.nullLiteral()},\n function (${initializeId}, ${superClass ? t.cloneNode(superId) : null}) {\n ${node}\n return { F: ${t.cloneNode(node.id)}, d: ${definitions} };\n },\n ${superClass}\n )\n ` as t.CallExpression & { arguments: [unknown, t.FunctionExpression] };\n\n if (!isStrict) {\n wrapperCall.arguments[1].body.directives.push(\n t.directive(t.directiveLiteral(\"use strict\")),\n );\n }\n\n let replacement: t.Node = wrapperCall;\n let classPathDesc = \"arguments.1.body.body.0\";\n if (isDeclaration) {\n replacement = template.statement.ast`let ${ref} = ${wrapperCall}`;\n classPathDesc = \"declarations.0.init.\" + classPathDesc;\n }\n\n return {\n instanceNodes: [\n template.statement.ast`\n ${t.cloneNode(initializeId)}(this)\n ` as t.ExpressionStatement,\n ],\n wrapClass(path: NodePath<t.Class>) {\n path.replaceWith(replacement);\n return path.get(classPathDesc) as NodePath;\n },\n };\n}\n"],"mappings":";;;;;;;;AAEA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,oBAAA,GAAAD,OAAA;AAIO,SAASE,gBAAgBA,CAACC,IAA2C,EAAE;EAAA,IAAAC,gBAAA;EAE5E,OAAO,CAAC,GAAAA,gBAAA,GAACD,IAAI,CAACE,UAAU,aAAfD,gBAAA,CAAiBE,MAAM;AAClC;AAEO,SAASC,aAAaA,CAACJ,IAAa,EAAE;EAC3C,OAAOD,gBAAgB,CAACC,IAAI,CAAC,IAAIA,IAAI,CAACK,IAAI,CAACA,IAAI,CAACC,IAAI,CAACP,gBAAgB,CAAC;AACx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IAAI,CAACF,QAAQ,EAAE;IACbU,WAAW,CAACE,SAAS,CAAC,CAAC,CAAC,CAACjF,IAAI,CAACkF,UAAU,CAAC/B,IAAI,CAC3C9C,WAAC,CAAC8E,SAAS,CAAC9E,WAAC,CAAC+E,gBAAgB,CAAC,YAAY,CAAC,CAC9C,CAAC;EACH;EAEA,IAAIC,WAAmB,GAAGN,WAAW;EACrC,IAAIO,aAAa,GAAG,yBAAyB;EAC7C,IAAInB,aAAa,EAAE;IACjBkB,WAAW,GAAG/B,cAAQ,CAACiC,SAAS,CAAC/B,GAAG,OAAOO,GAAG,MAAMgB,WAAW,EAAE;IACjEO,aAAa,GAAG,sBAAsB,GAAGA,aAAa;EACxD;EAEA,OAAO;IACLE,aAAa,EAAE,CACblC,cAAQ,CAACiC,SAAS,CAAC/B,GAAG;AAC5B,UAAUnD,WAAC,CAACmE,SAAS,CAACP,YAAY,CAAC;AACnC,OAAO,CACF;IACDwB,SAASA,CAAC7D,IAAuB,EAAE;MACjCA,IAAI,CAAC8D,WAAW,CAACL,WAAW,CAAC;MAC7B,OAAOzD,IAAI,CAAC+D,GAAG,CAACL,aAAa,CAAC;IAChC;EACF,CAAC;AACH","ignoreList":[]}
|
1
|
+
{"version":3,"names":["_core","require","_helperReplaceSupers","prop","key","value","t","objectProperty","identifier","method","body","objectMethod","blockStatement","takeDecorators","node","result","decorators","length","arrayExpression","map","decorator","expression","undefined","getKey","computed","isIdentifier","stringLiteral","name","String","extractElementDescriptor","file","classRef","superRef","path","isMethod","isClassMethod","isPrivate","buildCodeFrameError","type","scope","isTSDeclareMethod","ReplaceSupers","methodPath","objectRef","refToPreserve","replace","properties","kind","static","booleanLiteral","filter","Boolean","_path$ensureFunctionN","ensureFunctionName","NodePath","prototype","push","toExpression","isClassProperty","template","statements","ast","buildUndefinedNode","remove","objectExpression","addDecorateHelper","addHelper","buildDecoratedClass","ref","elements","initializeId","generateUidIdentifier","isDeclaration","id","isStrict","isInStrictMode","superClass","cloneNode","superId","generateUidIdentifierBasedOnNode","classDecorators","definitions","element","abstract","wrapperCall","nullLiteral","arguments","directives","directive","directiveLiteral","replacement","classPathDesc","statement","instanceNodes","wrapClass","replaceWith","get"],"sources":["../src/decorators-2018-09.ts"],"sourcesContent":["// TODO(Babel 8): Remove this file\nif (process.env.BABEL_8_BREAKING && process.env.IS_PUBLISH) {\n throw new Error(\n \"Internal Babel error: This file should only be loaded in Babel 7\",\n );\n}\n\nimport { types as t, template } from \"@babel/core\";\nimport type { File, NodePath } from \"@babel/core\";\nimport ReplaceSupers from \"@babel/helper-replace-supers\";\n\ntype Decoratable = Extract<t.Node, { decorators?: t.Decorator[] | null }>;\n\nfunction prop(key: string, value?: t.Expression) {\n if (!value) return null;\n return t.objectProperty(t.identifier(key), value);\n}\n\nfunction method(key: string, body: t.Statement[]) {\n return t.objectMethod(\n \"method\",\n t.identifier(key),\n [],\n t.blockStatement(body),\n );\n}\n\nfunction takeDecorators(node: Decoratable) {\n let result: t.ArrayExpression | undefined;\n if (node.decorators && node.decorators.length > 0) {\n result = t.arrayExpression(\n node.decorators.map(decorator => decorator.expression),\n );\n }\n node.decorators = undefined;\n return result;\n}\n\ntype AcceptedElement = Exclude<ClassElement, t.TSIndexSignature>;\ntype SupportedElement = Exclude<\n AcceptedElement,\n | t.ClassPrivateMethod\n | t.ClassPrivateProperty\n | t.ClassAccessorProperty\n | t.StaticBlock\n>;\n\nfunction getKey(node: SupportedElement) {\n if (node.computed) {\n return node.key;\n } else if (t.isIdentifier(node.key)) {\n return t.stringLiteral(node.key.name);\n } else {\n return t.stringLiteral(\n String(\n // A non-identifier non-computed key\n (node.key as t.StringLiteral | t.NumericLiteral | t.BigIntLiteral)\n .value,\n ),\n );\n }\n}\n\nfunction extractElementDescriptor(\n file: File,\n classRef: t.Identifier,\n superRef: t.Identifier,\n path: NodePath<AcceptedElement>,\n) {\n const isMethod = path.isClassMethod();\n if (path.isPrivate()) {\n throw path.buildCodeFrameError(\n `Private ${\n isMethod ? \"methods\" : \"fields\"\n } in decorated classes are not supported yet.`,\n );\n }\n if (path.node.type === \"ClassAccessorProperty\") {\n throw path.buildCodeFrameError(\n `Accessor properties are not supported in 2018-09 decorator transform, please specify { \"version\": \"2021-12\" } instead.`,\n );\n }\n if (path.node.type === \"StaticBlock\") {\n throw path.buildCodeFrameError(\n `Static blocks are not supported in 2018-09 decorator transform, please specify { \"version\": \"2021-12\" } instead.`,\n );\n }\n\n const { node, scope } = path as NodePath<SupportedElement>;\n\n if (!path.isTSDeclareMethod()) {\n new ReplaceSupers({\n methodPath: path as NodePath<\n Exclude<SupportedElement, t.TSDeclareMethod>\n >,\n objectRef: classRef,\n superRef,\n file,\n refToPreserve: classRef,\n }).replace();\n }\n\n const properties: t.ObjectExpression[\"properties\"] = [\n prop(\"kind\", t.stringLiteral(t.isClassMethod(node) ? node.kind : \"field\")),\n prop(\"decorators\", takeDecorators(node as Decoratable)),\n prop(\"static\", node.static && t.booleanLiteral(true)),\n prop(\"key\", getKey(node)),\n ].filter(Boolean);\n\n if (isMethod) {\n if (!process.env.BABEL_8_BREAKING && !USE_ESM && !IS_STANDALONE) {\n // polyfill when being run by an older Babel version\n path.ensureFunctionName ??=\n // eslint-disable-next-line no-restricted-globals\n require(\"@babel/traverse\").NodePath.prototype.ensureFunctionName;\n }\n // @ts-expect-error path is a ClassMethod, that technically\n // is not supported as it does not have an .id property\n // This plugin will however then transform the ClassMethod\n // to a function expression, so it's fine.\n path.ensureFunctionName(false);\n\n properties.push(prop(\"value\", t.toExpression(path.node)));\n } else if (t.isClassProperty(node) && node.value) {\n properties.push(\n method(\"value\", template.statements.ast`return ${node.value}`),\n );\n } else {\n properties.push(prop(\"value\", scope.buildUndefinedNode()));\n }\n\n path.remove();\n\n return t.objectExpression(properties);\n}\n\nfunction addDecorateHelper(file: File) {\n return file.addHelper(\"decorate\");\n}\n\ntype ClassElement = t.Class[\"body\"][\"body\"][number];\ntype ClassElementPath = NodePath<ClassElement>;\n\nexport function buildDecoratedClass(\n ref: t.Identifier,\n path: NodePath<t.Class>,\n elements: ClassElementPath[],\n file: File,\n) {\n const { node, scope } = path;\n const initializeId = scope.generateUidIdentifier(\"initialize\");\n const isDeclaration = node.id && path.isDeclaration();\n const isStrict = path.isInStrictMode();\n const { superClass } = node;\n\n node.type = \"ClassDeclaration\";\n if (!node.id) node.id = t.cloneNode(ref);\n\n let superId: t.Identifier;\n if (superClass) {\n superId = scope.generateUidIdentifierBasedOnNode(node.superClass, \"super\");\n node.superClass = superId;\n }\n\n const classDecorators = takeDecorators(node);\n const definitions = t.arrayExpression(\n elements\n .filter(\n element =>\n // @ts-expect-error Ignore TypeScript's abstract methods (see #10514)\n !element.node.abstract && element.node.type !== \"TSIndexSignature\",\n )\n .map(path =>\n extractElementDescriptor(\n file,\n node.id,\n superId,\n // @ts-expect-error TS can not exclude TSIndexSignature\n path,\n ),\n ),\n );\n\n const wrapperCall = template.expression.ast`\n ${addDecorateHelper(file)}(\n ${classDecorators || t.nullLiteral()},\n function (${initializeId}, ${superClass ? t.cloneNode(superId) : null}) {\n ${node}\n return { F: ${t.cloneNode(node.id)}, d: ${definitions} };\n },\n ${superClass}\n )\n ` as t.CallExpression & { arguments: [unknown, t.FunctionExpression] };\n\n if (!isStrict) {\n wrapperCall.arguments[1].body.directives.push(\n t.directive(t.directiveLiteral(\"use strict\")),\n );\n }\n\n let replacement: t.Node = wrapperCall;\n let classPathDesc = \"arguments.1.body.body.0\";\n if (isDeclaration) {\n replacement = template.statement.ast`let ${ref} = ${wrapperCall}`;\n classPathDesc = \"declarations.0.init.\" + classPathDesc;\n }\n\n return {\n instanceNodes: [\n template.statement.ast`\n ${t.cloneNode(initializeId)}(this)\n ` as t.ExpressionStatement,\n ],\n wrapClass(path: NodePath<t.Class>) {\n path.replaceWith(replacement);\n return path.get(classPathDesc) as NodePath;\n },\n };\n}\n"],"mappings":";;;;;;AAOA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,oBAAA,GAAAD,OAAA;AAAyD;AAIz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AAE;IACbU,WAAW,CAACE,SAAS,CAAC,CAAC,CAAC,CAAC5E,IAAI,CAAC6E,UAAU,CAAC/B,IAAI,CAC3ClD,WAAC,CAACkF,SAAS,CAAClF,WAAC,CAACmF,gBAAgB,CAAC,YAAY,CAAC,CAC9C,CAAC;EACH;EAEA,IAAIC,WAAmB,GAAGN,WAAW;EACrC,IAAIO,aAAa,GAAG,yBAAyB;EAC7C,IAAInB,aAAa,EAAE;IACjBkB,WAAW,GAAG/B,cAAQ,CAACiC,SAAS,CAAC/B,GAAG,OAAOO,GAAG,MAAMgB,WAAW,EAAE;IACjEO,aAAa,GAAG,sBAAsB,GAAGA,aAAa;EACxD;EAEA,OAAO;IACLE,aAAa,EAAE,CACblC,cAAQ,CAACiC,SAAS,CAAC/B,GAAG;AAC5B,UAAUvD,WAAC,CAACuE,SAAS,CAACP,YAAY,CAAC;AACnC,OAAO,CACF;IACDwB,SAASA,CAAC7D,IAAuB,EAAE;MACjCA,IAAI,CAAC8D,WAAW,CAACL,WAAW,CAAC;MAC7B,OAAOzD,IAAI,CAAC+D,GAAG,CAACL,aAAa,CAAC;IAChC;EACF,CAAC;AACH","ignoreList":[]}
|
@@ -4,11 +4,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.default = _default;
|
7
|
+
exports.hasDecorators = hasDecorators;
|
8
|
+
exports.hasOwnDecorators = hasOwnDecorators;
|
7
9
|
var _core = require("@babel/core");
|
8
10
|
var _helperReplaceSupers = require("@babel/helper-replace-supers");
|
9
11
|
var _helperSkipTransparentExpressionWrappers = require("@babel/helper-skip-transparent-expression-wrappers");
|
10
12
|
var _fields = require("./fields.js");
|
11
13
|
var _misc = require("./misc.js");
|
14
|
+
function hasOwnDecorators(node) {
|
15
|
+
var _node$decorators;
|
16
|
+
return !!((_node$decorators = node.decorators) != null && _node$decorators.length);
|
17
|
+
}
|
18
|
+
function hasDecorators(node) {
|
19
|
+
return hasOwnDecorators(node) || node.body.body.some(hasOwnDecorators);
|
20
|
+
}
|
12
21
|
function incrementId(id, idx = id.length - 1) {
|
13
22
|
if (idx === -1) {
|
14
23
|
id.unshift(65);
|