diff --git a/tasks/transform_conformance/babel.snap.md b/tasks/transform_conformance/babel.snap.md index 0a3dc2b3017fe..baeab7d5770c6 100644 --- a/tasks/transform_conformance/babel.snap.md +++ b/tasks/transform_conformance/babel.snap.md @@ -1,496 +1,2455 @@ commit: 12619ffe -Passed: 487/953 +Passed: 260/953 # All Passed: -* babel-plugin-transform-optional-catch-binding -* babel-preset-react * babel-plugin-transform-react-display-name -* babel-plugin-transform-react-jsx-self * babel-plugin-transform-react-jsx-source # babel-preset-env (157/579) * .plugins-overlapping/chrome-49/input.js + + * .plugins-overlapping/chrome-50/input.js + + * .plugins-overlapping/chrome-54/input.js + + * bugfixes/_esmodules/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/_esmodules-no-bugfixes/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/edge-default-params-chrome-40/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/edge-default-params-chrome-70/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/edge-default-params-edge-14/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/edge-default-params-edge-15/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/edge-default-params-edge-17/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/edge-default-params-edge-17-no-bugfixes/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/edge-default-params-edge-18/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/edge-function-name-edge-14/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/edge-function-name-edge-14-no-bugfixes/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/edge-function-name-edge-15/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/safari-block-scoping-safari-10/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/safari-block-scoping-safari-10-no-bugfixes/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/safari-block-scoping-safari-11/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/safari-block-scoping-safari-9/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89-no-bugfixes/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes-always-enabled/class-in-computed-field-chrome-100/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes-always-enabled/class-in-computed-field-firefox-50/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes-always-enabled/class-in-computed-field-firefox-90/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * bugfixes-always-enabled/static-class-fields-chrome-70/input.js + + * bugfixes-always-enabled/static-class-fields-chrome-90/input.js + + * bugfixes-always-enabled/static-class-fields-chrome-96/input.js + + * bugfixes-always-enabled/static-class-fields-chrome-97/input.js + + * corejs2-babel-7/entry-all/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-chrome-48/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-chrome-49/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-chrome-66/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-chromeandroid/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-core-js-main/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-core-js-main-require/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-electron/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-ie-11/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-ie-9/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-import/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-node/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-node-10.13/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-node-web/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-require/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/entry-shippedProposals/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/exclude/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/exclude-built-ins/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/exclude-include/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/exclude-regenerator/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/force-all-transforms/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/include-built-ins/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-all/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-browserslist-config-ignore/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-destructuring-assignment/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-destructuring-catch/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-destructuring-for-x/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-destructuring-params/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-destructuring-variable-declaration/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-evaluated-class-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-evaluated-instance-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-evaluated-not-confident/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-for-of/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-for-of-destructure-with/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-for-of-destructure-without/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-instance-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-instance-methods-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-modules-namespaced/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-modules-transform/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-no-builtins/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-no-transform/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-number-ie-11/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-promise-all/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-promise-finally/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-promise-race/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-regenerator-used-async/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-regenerator-used-async-and-promise-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-regenerator-used-async-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-regenerator-used-generator/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-regenerator-used-generator-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-remove-babel-polyfill-import/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-shippedProposals/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-source-type-script/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-source-type-script-query/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-spread/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-symbol-iterator/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-symbol-iterator-in/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-timers/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-typed-array/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-typed-array-edge-13/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-typed-array-static/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-yield-non-star/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs2-babel-7/usage-yield-star/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-all/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-all-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-babel-polyfill/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-chrome-48/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-chrome-49/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-chrome-66/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-chromeandroid/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-electron/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-es-proposals-stage/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-es-proposals-stage-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-features/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-features-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-missed/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-mixed/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-mixed-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-modules-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-proposals/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-proposals-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-stable-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-stage/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-stage-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-web/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-entries-web-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-ie-11/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-ie-9/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-import/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-node/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-node-10.13/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-node-11/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-node-web/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-normalization/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-require/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-require-all/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-require-babel-polyfill/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-require-es-chrome-71/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-require-es-proposals/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-specified-imports/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-stable/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-stable-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/entry-stable-samsung-8.2/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/exclude/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/exclude-built-ins/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/exclude-include/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/force-all-transforms/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/include-built-ins/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-all/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-all-proposals/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-all-proposals-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-browserslist-config-ignore/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * corejs3/usage-built-in-from-global-object/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-destructuring-assignment/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-destructuring-catch/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-destructuring-for-x/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-destructuring-iife/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-destructuring-params/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-destructuring-variable-declaration/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-determanated-instance-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-dynamic-import/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-dynamic-import-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-evaluated-class-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-evaluated-instance-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-fetch/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-fetch-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-for-of/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-for-of-destructure-with/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-for-of-destructure-without/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-in/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-instance-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-instance-methods-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-modules-namespaced/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-modules-transform/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-no-builtins/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-no-transform/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-number-ie-11/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-object-destructuring/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-object-destructuring-with-rest/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-object-spread/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-promise-all/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-promise-finally/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-promise-race/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-regenerator-used-async/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-regenerator-used-async-and-promise-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-regenerator-used-async-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-regenerator-used-generator/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-regenerator-used-generator-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-shippedProposals/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-source-type-script/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-source-type-script-query/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-spread/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-static-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-static-methods-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-symbol-iterator/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-symbol-iterator-in/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-timers/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-typed-array/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-typed-array-edge-13/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-typed-array-static/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-yield-non-star/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3/usage-yield-star/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-all/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-all-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-babel-polyfill/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-chrome-48/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-chrome-49/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-chrome-66/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-chromeandroid/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-electron/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-es-proposals-stage/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-es-proposals-stage-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-features/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-features-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-missed/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-mixed/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-mixed-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-modules/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-modules-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-proposals/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-proposals-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-stable/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-stable-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-stage/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-stage-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-web/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-entries-web-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-ie-11/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-ie-9/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-import/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-node/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-node-10.13/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-node-11/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-node-web/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-normalization/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-require/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-require-all/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-require-babel-polyfill/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-require-es-chrome-71/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-require-es-proposals/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-specified-imports/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-stable/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-stable-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/entry-stable-samsung-8.2/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/exclude/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/exclude-built-ins/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/exclude-include/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/exclude-regenerator/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/force-all-transforms/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/include-built-ins/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-all/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-all-proposals/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-all-proposals-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-browserslist-config-ignore/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-built-in-from-global-object/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-destructuring-assignment/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-destructuring-catch/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-destructuring-for-x/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-destructuring-iife/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-destructuring-params/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-destructuring-variable-declaration/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-determanated-instance-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-dynamic-import/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-dynamic-import-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-evaluated-class-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-evaluated-instance-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-fetch/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-fetch-chrome-71/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-for-of/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-for-of-destructure-with/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-for-of-destructure-without/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-in/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-instance-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-instance-methods-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-modules-namespaced/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-modules-transform/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-no-builtins/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-no-transform/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-number-ie-11/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-object-destructuring/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-object-destructuring-with-rest/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-object-spread/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-promise-all/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-promise-finally/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-promise-race/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-regenerator-used-async/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-regenerator-used-async-and-promise-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-regenerator-used-async-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-regenerator-used-generator/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-regenerator-used-generator-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-shippedProposals/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-source-type-script/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-source-type-script-query/input.js +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-spread/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-static-methods/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-static-methods-native-support/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-symbol-iterator/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-symbol-iterator-in/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-timers/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-typed-array/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-typed-array-edge-13/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-typed-array-static/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-yield-non-star/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * corejs3-babel-7/usage-yield-star/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * debug/browserslist-env/input.mjs + + * debug/entry-corejs3-versions-decimals/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * debug/entry-corejs3-versions-strings/input.mjs +preset-env: unknown field `corejs`, expected `targets` or `bugfixes` + * debug/entry-no-corejs/input.mjs +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * debug/entry-no-corejs-no-import/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * debug/usage-no-corejs/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * debug/usage-no-corejs-none/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * dynamic-import/auto-esm-unsupported-import-unsupported/input.mjs + + * dynamic-import/modules-amd/input.js +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * dynamic-import/modules-cjs/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * dynamic-import/modules-false/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * dynamic-import/modules-systemjs/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * dynamic-import/modules-umd/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * dynamic-import-babel-7/auto-esm-unsupported-import-unsupported/input.mjs + + * dynamic-import-babel-7/modules-amd/input.js +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * dynamic-import-babel-7/modules-cjs/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * dynamic-import-babel-7/modules-false/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * dynamic-import-babel-7/modules-systemjs/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * dynamic-import-babel-7/modules-umd/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * export-namespace-from/auto-esm-not-supported/input.mjs + + * export-namespace-from/auto-export-namespace-not-supported/input.mjs + + * export-namespace-from/false-export-namespace-not-supported/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * export-namespace-from/false-export-namespace-not-supported-caller-supported/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * export-namespace-from/false-export-namespace-supported/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * modules/auto-cjs/input.mjs + + * modules/auto-unknown/input.mjs + + * modules/modules-cjs/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * modules/modules-commonjs/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * modules/modules-false/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * modules/modules-systemjs/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * modules/modules-umd/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * plugins-integration/block-scoping-inside-generator/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * plugins-integration/class-arrow-super-tagged-expr/input.js + + * plugins-integration/class-features-node-12/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * plugins-integration/for-of-array-block-scoping/input.js + + * plugins-integration/for-of-array-block-scoping-2/input.js + + * plugins-integration/issue-10662/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * plugins-integration/issue-11278/input.mjs + + * plugins-integration/issue-15012/input.js + + * plugins-integration/issue-15170/input.js + + * plugins-integration/issue-16155/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * plugins-integration/issue-7527/input.mjs + + * plugins-integration/issue-9935/input.js + + * plugins-integration/regression-2892/input.mjs + + * plugins-integration/spread-super-firefox-40/input.js + + * preset-options/browserslist-config/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options/browserslist-config-ignore-config-with-false/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options/browserslist-config-ignore-package-with-false/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options/browserslist-default-via-config/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options/browserslist-defaults/input.mjs + + * preset-options/browserslist-defaults-not-ie/input.mjs +Targets: node `current` is not supported + * preset-options/browserslist-package/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options/browserslist-package-ignore-with-targets/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options/deno-1_0/input.mjs + + * preset-options/destructuring-edge/input.js +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/empty-options/input.mjs + + * preset-options/esmodules-async-functions/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/include/input.mjs +preset-env: unknown field `include`, expected `targets` or `bugfixes` + * preset-options/include-scoped/input.mjs +preset-env: unknown field `include`, expected `targets` or `bugfixes` + * preset-options/ios-10/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/ios-10_3/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/ios-11/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/ios-6/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/no-options/input.mjs + + * preset-options/removed-loose/input.js +preset-env: unknown field `loose`, expected `targets` or `bugfixes` + * preset-options/removed-spec/input.js +preset-env: unknown field `spec`, expected `targets` or `bugfixes` + * preset-options/reserved-keys-ie8/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/reserved-keys-ie9/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/reserved-names-ie8/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/reserved-names-ie9/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/rhino-1_7_13/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/safari-10_3-block-scoped/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * preset-options/safari-tagged-template-literals/input.js + + * preset-options/safari-tp/input.js +failed to resolve query: failed to parse the rest of input: ...'' + * preset-options/targets-as-object/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/targets-as-string/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options/unicode-property-regex-chrome-49/input.js + + * preset-options/unicode-sets-regex-chrome-111/input.js + + * preset-options/useBuiltIns-false/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/browserslist-config/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options-babel-7/browserslist-config-ignore-config-with-false/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options-babel-7/browserslist-config-ignore-package-with-false/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options-babel-7/browserslist-default-via-config/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options-babel-7/browserslist-defaults/input.mjs + + * preset-options-babel-7/browserslist-defaults-not-ie/input.mjs +Targets: node `current` is not supported + * preset-options-babel-7/browserslist-package/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options-babel-7/browserslist-package-ignore-with-targets/input.mjs +preset-env: unknown field `configPath`, expected `targets` or `bugfixes` + * preset-options-babel-7/deno-1_0/input.mjs + + * preset-options-babel-7/destructuring-edge/input.js +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/empty-options/input.mjs + + * preset-options-babel-7/esmodules-async-functions/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/include/input.mjs +preset-env: unknown field `include`, expected `targets` or `bugfixes` + * preset-options-babel-7/include-scoped/input.mjs +preset-env: unknown field `include`, expected `targets` or `bugfixes` + * preset-options-babel-7/ios-10/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/ios-10_3/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/ios-11/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/ios-6/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/loose-typeof-symbol/input.mjs +preset-env: unknown field `loose`, expected `targets` or `bugfixes` + * preset-options-babel-7/loose-with-typeof-symbol-includes/input.mjs +preset-env: unknown field `include`, expected `targets` or `bugfixes` + * preset-options-babel-7/no-options/input.mjs + + * preset-options-babel-7/reserved-keys-ie8/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/reserved-keys-ie9/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/reserved-names-ie8/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/reserved-names-ie9/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/rhino-1_7_13/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/safari-10_3-block-scoped/input.js +preset-env: unknown field `debug`, expected `targets` or `bugfixes` + * preset-options-babel-7/safari-tagged-template-literals/input.js + + * preset-options-babel-7/safari-tp/input.js +failed to resolve query: failed to parse the rest of input: ...'' + * preset-options-babel-7/shippedProposals/input.js + + * preset-options-babel-7/spec/input.js +preset-env: unknown field `spec`, expected `targets` or `bugfixes` + * preset-options-babel-7/targets-as-object/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/targets-as-string/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * preset-options-babel-7/unicode-property-regex-chrome-49/input.js + + * preset-options-babel-7/unicode-sets-regex-chrome-111/input.js + + * preset-options-babel-7/useBuiltIns-false/input.mjs +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * sanity/block-scoping-for-of/input.js +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * sanity/regex-dot-all/input.js +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * sanity/transform-duplicate-keys/input.js +preset-env: unknown field `modules`, expected `targets` or `bugfixes` + * shipped-proposals/import-assertions/input.mjs +preset-env: unknown field `shippedProposals`, expected `targets` or `bugfixes` + * shipped-proposals/new-class-features-chrome-90/input.js +preset-env: unknown field `shippedProposals`, expected `targets` or `bugfixes` + * shipped-proposals/new-class-features-chrome-94/input.js +preset-env: unknown field `shippedProposals`, expected `targets` or `bugfixes` + * shipped-proposals/new-class-features-firefox-70/input.js +preset-env: unknown field `shippedProposals`, expected `targets` or `bugfixes` + + +# babel-plugin-transform-logical-assignment-operators (0/6) +* logical-assignment/anonymous-functions-transform/input.js +ReferenceId mismatch after transform + +* logical-assignment/arrow-functions-transform/input.js +ReferenceId mismatch after transform -# babel-plugin-transform-logical-assignment-operators (4/6) * logical-assignment/general-semantics/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* logical-assignment/named-functions-transform/input.js +ReferenceId mismatch after transform + * logical-assignment/null-coalescing/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* logical-assignment/null-coalescing-without-other/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + -# babel-plugin-transform-nullish-coalescing-operator (2/12) +# babel-plugin-transform-nullish-coalescing-operator (1/12) * assumption-noDocumentAll/transform/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + * assumption-noDocumentAll/transform-in-default-destructuring/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + * assumption-noDocumentAll/transform-in-default-param/input.js +Bindings Mismatch: +previous scope ScopeId(0): ["bar", "foo"] +current scope ScopeId(0): ["_nullish_coalescing_operator", "bar", "foo"] +Bindings Mismatch: +previous scope ScopeId(1): ["_nullish_coalescing_operator", "foo", "qux"] +current scope ScopeId(1): ["foo", "qux"] +Symbols mismatch after transform +ReferenceId mismatch after transform + * assumption-noDocumentAll/transform-in-function/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + * assumption-noDocumentAll/transform-static-refs-in-default/input.js +ReferenceId mismatch after transform + * assumption-noDocumentAll/transform-static-refs-in-function/input.js + + * nullish-coalescing/transform-in-default-destructuring/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + * nullish-coalescing/transform-in-default-param/input.js +Bindings Mismatch: +previous scope ScopeId(0): ["bar", "foo"] +current scope ScopeId(0): ["_nullish_coalescing_operator", "bar", "foo"] +Bindings Mismatch: +previous scope ScopeId(1): ["_nullish_coalescing_operator", "foo", "qux"] +current scope ScopeId(1): ["foo", "qux"] +Symbols mismatch after transform +ReferenceId mismatch after transform + * nullish-coalescing/transform-in-function/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + * nullish-coalescing/transform-loose/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* nullish-coalescing/transform-static-refs-in-default/input.js +ReferenceId mismatch after transform + + +# babel-plugin-transform-optional-catch-binding (2/4) +* optional-catch-bindings/try-catch-block-no-binding/input.js +Scopes mismatch after transform +Symbols mismatch after transform + +* optional-catch-bindings/try-catch-finally-no-binding/input.js +Scopes mismatch after transform +Symbols mismatch after transform + + +# babel-plugin-transform-exponentiation-operator (0/4) +* exponentiation-operator/assignment/input.js +ReferenceId mismatch after transform + +* exponentiation-operator/binary/input.js +ReferenceId mismatch after transform -# babel-plugin-transform-exponentiation-operator (3/4) * regression/4349/input.js +ReferenceId mismatch after transform + +* regression/4403/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + # babel-plugin-transform-arrow-functions (1/6) * assumption-newableArrowFunctions-false/basic/input.js +Bindings Mismatch: +previous scope ScopeId(1): ["f"] +current scope ScopeId(1): ["_this2", "f"] +Bindings Mismatch: +previous scope ScopeId(4): [] +current scope ScopeId(4): ["_this"] +Bindings Mismatch: +previous scope ScopeId(5): ["_this"] +current scope ScopeId(5): [] +Bindings Mismatch: +previous scope ScopeId(6): ["_this2"] +current scope ScopeId(6): [] +Symbols mismatch after transform +ReferenceId mismatch after transform + * assumption-newableArrowFunctions-false/naming/input.js + + * assumption-newableArrowFunctions-false/self-referential/input.js + + * spec/newableArrowFunction-default/input.js + + * spec/newableArrowFunction-vs-spec-false/input.js -# babel-preset-typescript (7/10) + + +# babel-preset-typescript (4/10) +* jsx-compat/js-valid/input.js +ReferenceId mismatch after transform + +* jsx-compat/tsx-valid/input.tsx +ReferenceId mismatch after transform + * node-extensions/import-in-cts/input.cts + + +* node-extensions/type-param-arrow-in-ts/input.ts +Bindings Mismatch: +previous scope ScopeId(1): ["T"] +current scope ScopeId(1): [] +Symbols mismatch after transform + * opts/optimizeConstEnums/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + * opts/rewriteImportExtensions/input.ts -# babel-plugin-transform-typescript (130/151) + + +# babel-plugin-transform-typescript (53/151) +* class/abstract-allowDeclareFields-false/input.ts +Scopes mismatch after transform +Symbols mismatch after transform + +* class/abstract-allowDeclareFields-true/input.ts +Scopes mismatch after transform +Symbols mismatch after transform + * class/accessor-allowDeclareFields-false/input.ts +TS(18010): An accessibility modifier cannot be used with a private identifier. +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + * class/accessor-allowDeclareFields-true/input.ts +TS(18010): An accessibility modifier cannot be used with a private identifier. +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* class/head/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* class/methods/input.ts +Scopes mismatch after transform + +* class/parameter-properties/input.ts +ReferenceId mismatch after transform + +* class/parameter-properties-late-super/input.ts +Scopes mismatch after transform +ReferenceId mismatch after transform + +* class/parameter-properties-with-super/input.ts +ReferenceId mismatch after transform + +* class/private-method-override/input.ts +Scopes mismatch after transform +Symbols mismatch after transform + +* declarations/erased/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["E", "I", "M", "N", "T", "m", "x"] +current scope ScopeId(0): [] + +* declarations/export-declare-enum/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A"] +current scope ScopeId(0): [] + +* declarations/nested-namespace/input.mjs +Bindings Mismatch: +previous scope ScopeId(0): ["P"] +current scope ScopeId(0): [] + +* enum/boolean-value/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/const/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/constant-folding/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/enum-merging-inner-references/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/enum-merging-inner-references-shadow/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/export/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/inferred/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/inner-references/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + * enum/mix-references/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/non-foldable-constant/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/non-scoped/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/outer-references/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/scoped/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/string-value/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/string-value-template/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* enum/string-values-computed/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + * enum/ts5.0-const-foldable/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + * exports/declared-types/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* exports/export-const-enums/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* exports/export-import=/input.ts +Symbols mismatch after transform +ReferenceId mismatch after transform + +* exports/export-type/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A"] +current scope ScopeId(0): [] +ReferenceId mismatch after transform + +* exports/imported-types/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A", "B", "C"] +current scope ScopeId(0): ["C"] +Symbols mismatch after transform +ReferenceId mismatch after transform + +* exports/imported-types-only-remove-type-imports/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A", "B", "C"] +current scope ScopeId(0): ["C"] +Symbols mismatch after transform +ReferenceId mismatch after transform + * exports/interface/input.ts +Scopes mismatch after transform +Symbols mismatch after transform + +* exports/issue-9916-1/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["PromiseRejectCb", "PromiseResolveCb", "a"] +current scope ScopeId(0): ["a"] + +* exports/issue-9916-2/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["PromiseRejectCb", "PromiseResolveCb"] +current scope ScopeId(0): [] + +* exports/issue-9916-3/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["PromiseRejectCb", "PromiseResolveCb", "a"] +current scope ScopeId(0): ["a"] + +* exports/type-only-export-specifier-1/input.ts +ReferenceId mismatch after transform + +* function/parameters/input.ts +Bindings Mismatch: +previous scope ScopeId(1): ["T", "x", "y"] +current scope ScopeId(1): ["x", "y"] +Symbols mismatch after transform + +* imports/elide-preact/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["FooBar", "Fragment", "h", "x"] +current scope ScopeId(0): ["x"] +Symbols mismatch after transform + +* imports/elide-preact-no-1/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["Fragment", "h", "render"] +current scope ScopeId(0): ["Fragment", "h"] +Symbols mismatch after transform + +* imports/elide-preact-no-2/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["Fragment", "render"] +current scope ScopeId(0): ["Fragment"] +Symbols mismatch after transform + +* imports/elide-react/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["React", "x"] +current scope ScopeId(0): ["x"] +Symbols mismatch after transform + +* imports/elide-type-referenced-in-imports-equal-no/input.ts +Symbols mismatch after transform +ReferenceId mismatch after transform + +* imports/elide-typeof/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A", "x"] +current scope ScopeId(0): ["x"] +Symbols mismatch after transform + +* imports/elision/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A", "B", "C", "D", "Used", "Used2", "Used3", "x", "y", "z"] +current scope ScopeId(0): ["Used", "Used2", "Used3", "x", "y", "z"] +Symbols mismatch after transform + +* imports/elision-export-type/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A", "B", "T", "T1"] +current scope ScopeId(0): ["A", "B"] +Symbols mismatch after transform +ReferenceId mismatch after transform + +* imports/elision-locations/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A", "B", "C", "Class", "D", "E", "F", "G", "H", "Iface", "x", "y"] +current scope ScopeId(0): ["A", "Class", "x", "y"] +Symbols mismatch after transform +ReferenceId mismatch after transform + +* imports/elision-qualifiedname/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A", "x"] +current scope ScopeId(0): ["x"] +Symbols mismatch after transform + +* imports/elision-rename/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["B", "x"] +current scope ScopeId(0): ["x"] +Symbols mismatch after transform + +* imports/enum-id/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* imports/enum-value/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* imports/import-removed-exceptions/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["H", "I", "I2", "J", "a", "b", "c2", "d", "d2", "e", "e4"] +current scope ScopeId(0): [] +Symbols mismatch after transform + +* imports/import-type/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A", "B", "T", "Types"] +current scope ScopeId(0): [] +Symbols mismatch after transform + +* imports/import-type-func-with-duplicate-name/input.ts +Symbols mismatch after transform + +* imports/import-type-not-removed/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A", "B"] +current scope ScopeId(0): [] +Symbols mismatch after transform + * imports/only-remove-type-imports/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["H", "I", "I2", "J", "K1", "K2", "L1", "L2", "L3", "a", "b", "c2", "d", "d2", "e", "e4"] +current scope ScopeId(0): ["K1", "K2", "L1", "L2", "L3", "a", "b", "c2", "d", "d2", "e", "e4"] +Symbols mismatch after transform + +* imports/property-signature/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A", "obj"] +current scope ScopeId(0): ["obj"] +Symbols mismatch after transform + +* imports/type-only-export-specifier-1/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["bar", "baz", "foo"] +current scope ScopeId(0): [] +Symbols mismatch after transform +ReferenceId mismatch after transform + * imports/type-only-export-specifier-2/input.ts +ReferenceId mismatch after transform + +* imports/type-only-import-specifier-1/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["Foo1", "Foo2"] +current scope ScopeId(0): ["Foo1"] +Symbols mismatch after transform + +* imports/type-only-import-specifier-2/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["Foo1", "Foo2"] +current scope ScopeId(0): [] +Symbols mismatch after transform + +* imports/type-only-import-specifier-3/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["Foo1", "Foo2"] +current scope ScopeId(0): [] +Symbols mismatch after transform +ReferenceId mismatch after transform + * imports/type-only-import-specifier-4/input.ts + + +* lvalues/TSTypeParameterInstantiation/input.ts +Scopes mismatch after transform +Symbols mismatch after transform + +* namespace/alias/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["AliasModule", "LongNameModule", "b", "babel", "bar", "baz", "node", "some", "str"] +current scope ScopeId(0): ["AliasModule", "b", "babel", "bar", "baz", "node", "some", "str"] +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/clobber-class/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/clobber-enum/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/clobber-export/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/contentious-names/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/declare/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/declare-global-nested-namespace/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/empty-removed/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/export/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/export-type-only/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["Platform"] +current scope ScopeId(0): [] +ReferenceId mismatch after transform + +* namespace/module-nested/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/module-nested-export/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/multiple/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/nested/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/nested-namespace/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/nested-shorthand/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/same-name/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* namespace/undeclared/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + * optimize-const-enums/custom-values/input.ts +transform-typescript: unknown field `optimizeConstEnums`, expected one of `jsxPragma`, `jsxPragmaFrag`, `onlyRemoveTypeImports`, `allowNamespaces`, `allowDeclareFields` + * optimize-const-enums/custom-values-exported/input.ts +transform-typescript: unknown field `optimizeConstEnums`, expected one of `jsxPragma`, `jsxPragmaFrag`, `onlyRemoveTypeImports`, `allowNamespaces`, `allowDeclareFields` + * optimize-const-enums/declare/input.ts +transform-typescript: unknown field `optimizeConstEnums`, expected one of `jsxPragma`, `jsxPragmaFrag`, `onlyRemoveTypeImports`, `allowNamespaces`, `allowDeclareFields` + * optimize-const-enums/export-const-enum/input.ts +transform-typescript: unknown field `optimizeConstEnums`, expected one of `jsxPragma`, `jsxPragmaFrag`, `onlyRemoveTypeImports`, `allowNamespaces`, `allowDeclareFields` + * optimize-const-enums/export-const-enum-type-and-value/input.ts +transform-typescript: unknown field `optimizeConstEnums`, expected one of `jsxPragma`, `jsxPragmaFrag`, `onlyRemoveTypeImports`, `allowNamespaces`, `allowDeclareFields` + * optimize-const-enums/export-const-enum-type-no-deopt/input.ts +transform-typescript: unknown field `optimizeConstEnums`, expected one of `jsxPragma`, `jsxPragmaFrag`, `onlyRemoveTypeImports`, `allowNamespaces`, `allowDeclareFields` + * optimize-const-enums/exported/input.ts +transform-typescript: unknown field `optimizeConstEnums`, expected one of `jsxPragma`, `jsxPragmaFrag`, `onlyRemoveTypeImports`, `allowNamespaces`, `allowDeclareFields` + * optimize-const-enums/local/input.ts +transform-typescript: unknown field `optimizeConstEnums`, expected one of `jsxPragma`, `jsxPragmaFrag`, `onlyRemoveTypeImports`, `allowNamespaces`, `allowDeclareFields` + * optimize-const-enums/local-shadowed/input.ts +transform-typescript: unknown field `optimizeConstEnums`, expected one of `jsxPragma`, `jsxPragmaFrag`, `onlyRemoveTypeImports`, `allowNamespaces`, `allowDeclareFields` + * optimize-const-enums/merged/input.ts +transform-typescript: unknown field `optimizeConstEnums`, expected one of `jsxPragma`, `jsxPragmaFrag`, `onlyRemoveTypeImports`, `allowNamespaces`, `allowDeclareFields` + * optimize-const-enums/merged-exported/input.ts +transform-typescript: unknown field `optimizeConstEnums`, expected one of `jsxPragma`, `jsxPragmaFrag`, `onlyRemoveTypeImports`, `allowNamespaces`, `allowDeclareFields` + * regression/15768/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + + +# babel-preset-react (2/9) +* preset-options/development/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* preset-options/development-runtime-automatic/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* preset-options/empty-options/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* preset-options/runtime-automatic/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* preset-options/runtime-classic/input.js +ReferenceId mismatch after transform + +* preset-options/runtime-classic-pragma-no-frag/input.js +ReferenceId mismatch after transform + +* regression/11294/input.mjs +ReferenceId mismatch after transform + + +# babel-plugin-transform-react-jsx (19/142) +* autoImport/after-polyfills/input.mjs +Symbols mismatch after transform +ReferenceId mismatch after transform + +* autoImport/after-polyfills-2/input.mjs +Symbols mismatch after transform +ReferenceId mismatch after transform + +* autoImport/after-polyfills-script-not-supported/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* autoImport/auto-import-react-source-type-module/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* autoImport/auto-import-react-source-type-script/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* autoImport/complicated-scope-module/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* autoImport/complicated-scope-script/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* autoImport/import-source/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* autoImport/import-source-pragma/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* autoImport/react-defined/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* pure/false-default-pragma-automatic-runtime/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* pure/false-default-pragma-classic-runtime/input.js +ReferenceId mismatch after transform + +* pure/false-pragma-comment-classic-runtime/input.js +ReferenceId mismatch after transform + +* pure/false-pragma-option-classic-runtime/input.js +ReferenceId mismatch after transform + +* pure/true-default-pragma-automatic-runtime/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* pure/true-default-pragma-classic-runtime/input.js +ReferenceId mismatch after transform + +* pure/true-pragma-comment-classic-runtime/input.js +ReferenceId mismatch after transform + +* pure/true-pragma-option-classic-runtime/input.js +ReferenceId mismatch after transform + +* pure/unset-default-pragma-automatic-runtime/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* pure/unset-default-pragma-classic-runtime/input.js +ReferenceId mismatch after transform + +* pure/unset-pragma-comment-classic-runtime/input.js +ReferenceId mismatch after transform + +* pure/unset-pragma-option-classic-runtime/input.js +ReferenceId mismatch after transform + +* react/adds-appropriate-newlines-when-using-spread-attribute/input.js +ReferenceId mismatch after transform + +* react/arrow-functions/input.js +Bindings Mismatch: +previous scope ScopeId(1): [] +current scope ScopeId(1): ["_this"] +Bindings Mismatch: +previous scope ScopeId(2): ["_this"] +current scope ScopeId(2): [] +Bindings Mismatch: +previous scope ScopeId(3): [] +current scope ScopeId(3): ["_this2"] +Bindings Mismatch: +previous scope ScopeId(4): ["_this2"] +current scope ScopeId(4): [] +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react/assignment/input.js +ReferenceId mismatch after transform + +* react/concatenates-adjacent-string-literals/input.js +ReferenceId mismatch after transform + +* react/does-not-add-source-self/input.mjs +ReferenceId mismatch after transform + +* react/dont-coerce-expression-containers/input.js +ReferenceId mismatch after transform + +* react/duplicate-props/input.js +ReferenceId mismatch after transform + +* react/flattens-spread/input.js +ReferenceId mismatch after transform + +* react/handle-spread-with-proto/input.js +ReferenceId mismatch after transform + +* react/honor-custom-jsx-comment/input.js +ReferenceId mismatch after transform + +* react/honor-custom-jsx-comment-if-jsx-pragma-option-set/input.js +ReferenceId mismatch after transform + +* react/honor-custom-jsx-pragma-option/input.js +ReferenceId mismatch after transform + +* react/jsx-with-retainlines-option/input.js +ReferenceId mismatch after transform + +* react/jsx-without-retainlines-option/input.js +ReferenceId mismatch after transform + +* react/pragma-works-with-no-space-at-the-end/input.js +ReferenceId mismatch after transform + +* react/proto-in-jsx-attribute/input.js +ReferenceId mismatch after transform + +* react/should-allow-constructor-as-prop/input.js +ReferenceId mismatch after transform + +* react/should-allow-deeper-js-namespacing/input.js +ReferenceId mismatch after transform + +* react/should-allow-elements-as-attributes/input.js +ReferenceId mismatch after transform + +* react/should-allow-js-namespacing/input.js +ReferenceId mismatch after transform + +* react/should-allow-jsx-docs-comment-with-pragma/input.js +ReferenceId mismatch after transform + +* react/should-allow-nested-fragments/input.js +ReferenceId mismatch after transform + +* react/should-allow-no-pragmafrag-if-frag-unused/input.js +ReferenceId mismatch after transform + +* react/should-allow-pragmafrag-and-frag/input.js +ReferenceId mismatch after transform + +* react/should-avoid-wrapping-in-extra-parens-if-not-needed/input.js +ReferenceId mismatch after transform + +* react/should-convert-simple-tags/input.js +ReferenceId mismatch after transform + +* react/should-convert-simple-text/input.js +ReferenceId mismatch after transform + +* react/should-escape-xhtml-jsxattribute/input.js +ReferenceId mismatch after transform + +* react/should-escape-xhtml-jsxtext/input.js +ReferenceId mismatch after transform + +* react/should-handle-attributed-elements/input.js +ReferenceId mismatch after transform + +* react/should-handle-has-own-property-correctly/input.js +ReferenceId mismatch after transform + +* react/should-have-correct-comma-in-nested-children/input.js +ReferenceId mismatch after transform + +* react/should-insert-commas-after-expressions-before-whitespace/input.js +ReferenceId mismatch after transform + +* react/should-not-add-quotes-to-identifier-names/input.js +ReferenceId mismatch after transform + +* react/should-not-allow-jsx-pragma-to-be-anywhere-in-comment/input.js +ReferenceId mismatch after transform + +* react/should-not-mangle-expressioncontainer-attribute-values/input.js +ReferenceId mismatch after transform + +* react/should-not-strip-nbsp-even-coupled-with-other-whitespace/input.js +ReferenceId mismatch after transform + +* react/should-not-strip-tags-with-a-single-child-of-nbsp/input.js +ReferenceId mismatch after transform + +* react/should-properly-handle-comments-between-props/input.js +ReferenceId mismatch after transform + +* react/should-quote-jsx-attributes/input.js +ReferenceId mismatch after transform + +* react/should-support-xml-namespaces-if-flag/input.js +ReferenceId mismatch after transform + +* react/should-transform-known-hyphenated-tags/input.js +ReferenceId mismatch after transform + +* react/this-tag-name/input.js +ReferenceId mismatch after transform + +* react/weird-symbols/input.js +ReferenceId mismatch after transform + +* react/wraps-props-in-react-spread-for-first-spread-attributes/input.js +ReferenceId mismatch after transform + +* react/wraps-props-in-react-spread-for-last-spread-attributes/input.js +ReferenceId mismatch after transform + +* react/wraps-props-in-react-spread-for-middle-spread-attributes/input.js +ReferenceId mismatch after transform + +* react-automatic/adds-appropriate-newlines-when-using-spread-attribute/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/arrow-functions/input.js +Bindings Mismatch: +previous scope ScopeId(1): [] +current scope ScopeId(1): ["_this"] +Bindings Mismatch: +previous scope ScopeId(2): ["_this"] +current scope ScopeId(2): [] +Bindings Mismatch: +previous scope ScopeId(3): [] +current scope ScopeId(3): ["_this2"] +Bindings Mismatch: +previous scope ScopeId(4): ["_this2"] +current scope ScopeId(4): [] +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/assignment/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/concatenates-adjacent-string-literals/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform -# babel-plugin-transform-react-jsx (141/142) * react-automatic/does-not-add-source-self-automatic/input.mjs +transform-react-jsx: unknown field `autoImport`, expected one of `runtime`, `development`, `throwIfNamespace`, `pure`, `importSource`, `pragma`, `pragmaFrag`, `useBuiltIns`, `useSpread`, `refresh` + +* react-automatic/dont-coerce-expression-containers/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/duplicate-props/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/flattens-spread/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/handle-fragments/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/handle-fragments-with-key/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/handle-fragments-with-no-children/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/handle-nonstatic-children/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/handle-spread-with-proto/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/handle-static-children/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/jsx-with-retainlines-option/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/jsx-without-retainlines-option/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/key-undefined-works/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/pragma-works-with-no-space-at-the-end/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-allow-constructor-as-prop/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-allow-deeper-js-namespacing/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-allow-elements-as-attributes/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-allow-js-namespacing/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-allow-nested-fragments/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-avoid-wrapping-in-extra-parens-if-not-needed/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-convert-simple-tags/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-convert-simple-text/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-escape-xhtml-jsxattribute/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-escape-xhtml-jsxtext/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-handle-attributed-elements/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-handle-has-own-property-correctly/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-have-correct-comma-in-nested-children/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-insert-commas-after-expressions-before-whitespace/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-not-add-quotes-to-identifier-names/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-not-mangle-expressioncontainer-attribute-values/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-not-strip-nbsp-even-coupled-with-other-whitespace/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-not-strip-tags-with-a-single-child-of-nbsp/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-properly-handle-comments-between-props/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-properly-handle-keys/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-properly-handle-null-prop-spread/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-quote-jsx-attributes/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-support-xml-namespaces-if-flag/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-transform-known-hyphenated-tags/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-use-createElement-when-key-comes-after-spread/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/should-use-jsx-when-key-comes-before-spread/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/this-tag-name/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/weird-symbols/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/wraps-props-in-react-spread-for-last-spread-attributes/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* react-automatic/wraps-props-in-react-spread-for-middle-spread-attributes/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* regression/pragma-frag-set-default-classic-runtime/input.js +ReferenceId mismatch after transform + +* runtime/classic/input.js +ReferenceId mismatch after transform + +* runtime/defaults-to-automatic/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* runtime/pragma-runtime-classsic/input.js +ReferenceId mismatch after transform + +* runtime/runtime-automatic/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* sourcemaps/JSXText/input.js +ReferenceId mismatch after transform + + +# babel-plugin-transform-react-jsx-self (2/3) +* react-source/arrow-function/input.js +Bindings Mismatch: +previous scope ScopeId(0): ["fn"] +current scope ScopeId(0): ["_this", "fn"] +Bindings Mismatch: +previous scope ScopeId(1): ["_this"] +current scope ScopeId(1): [] +Bindings Mismatch: +previous scope ScopeId(2): [] +current scope ScopeId(2): ["_this2"] +Bindings Mismatch: +previous scope ScopeId(3): ["_this2"] +current scope ScopeId(3): [] +Symbols mismatch after transform +ReferenceId mismatch after transform + + +# babel-plugin-transform-react-jsx-development (2/10) +* cross-platform/auto-import-dev/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* cross-platform/classic-runtime/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* cross-platform/fragments/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* cross-platform/handle-fragments-with-key/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* cross-platform/handle-nonstatic-children/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* cross-platform/handle-static-children/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform + +* cross-platform/within-derived-classes-constructor/input.js +Symbols mismatch after transform +ReferenceId mismatch after transform -# babel-plugin-transform-react-jsx-development (9/10) * cross-platform/within-ts-module-block/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + diff --git a/tasks/transform_conformance/babel_exec.snap.md b/tasks/transform_conformance/babel_exec.snap.md index ad46721f7abbb..7adef34a03dd0 100644 --- a/tasks/transform_conformance/babel_exec.snap.md +++ b/tasks/transform_conformance/babel_exec.snap.md @@ -1,24 +1,24 @@ commit: 12619ffe -Passed: 16/23 +Passed: 20/23 # All Passed: +* babel-plugin-transform-logical-assignment-operators * babel-plugin-transform-nullish-coalescing-operator * babel-plugin-transform-optional-catch-binding * babel-plugin-transform-exponentiation-operator * babel-plugin-transform-arrow-functions +* babel-plugin-transform-react-jsx-source -# babel-preset-env (7/11) +# babel-preset-env (8/11) * plugins-integration/class-arrow-super-tagged-expr/exec.js +exec failed + * plugins-integration/issue-15170/exec.js -* sanity/check-es2015-constants/exec.js -* sanity/regex-dot-all/exec.js +exec failed -# babel-plugin-transform-logical-assignment-operators (3/4) -* logical-assignment/null-coalescing/exec.js +* sanity/check-es2015-constants/exec.js +exec failed -# babel-plugin-transform-react-jsx-source (0/2) -* react-source/basic-sample/exec.js -* react-source/with-source/exec.js diff --git a/tasks/transform_conformance/oxc.snap.md b/tasks/transform_conformance/oxc.snap.md index b62b65c0fd1b1..17d335d9dc3cb 100644 --- a/tasks/transform_conformance/oxc.snap.md +++ b/tasks/transform_conformance/oxc.snap.md @@ -1,15 +1,149 @@ commit: 12619ffe -Passed: 31/35 +Passed: 4/35 # All Passed: -* babel-plugin-transform-optional-catch-binding -* babel-plugin-transform-typescript -# babel-plugin-transform-react-jsx (23/27) + +# babel-plugin-transform-optional-catch-binding (0/1) +* try-catch-shadow/input.js +Scopes mismatch after transform +Symbols mismatch after transform + + +# babel-plugin-transform-typescript (1/7) +* class-constructor-arguments/input.ts +ReferenceId mismatch after transform + +* computed-constant-value/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* elimination-declare/input.ts +Bindings Mismatch: +previous scope ScopeId(0): ["A", "ReactiveMarkerSymbol"] +current scope ScopeId(0): [] + +* enum-member-reference/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* export-elimination/input.ts +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* redeclarations/input.ts +Symbols mismatch after transform + + +# babel-plugin-transform-react-jsx (3/27) * refresh/can-handle-implicit-arrow-returns/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/does-not-consider-require-like-methods-to-be-hocs/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/does-not-get-tripped-by-iifes/input.jsx +Bindings Mismatch: +previous scope ScopeId(0): [] +current scope ScopeId(0): ["_s"] +Bindings Mismatch: +previous scope ScopeId(1): ["_s"] +current scope ScopeId(1): [] +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/generates-signatures-for-function-declarations-calling-hooks/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/generates-signatures-for-function-expressions-calling-hooks/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/generates-valid-signature-for-exotic-ways-to-call-hooks/input.jsx +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/ignores-complex-definitions/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/ignores-hoc-definitions/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/includes-custom-hooks-into-the-signatures/input.jsx +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/registers-capitalized-identifiers-in-hoc-calls/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + * refresh/registers-identifiers-used-in-jsx-at-definition-site/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + * refresh/registers-identifiers-used-in-react-create-element-at-definition-site/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/registers-likely-hocs-with-inline-functions-1/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/registers-likely-hocs-with-inline-functions-2/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/registers-likely-hocs-with-inline-functions-3/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/registers-top-level-exported-function-declarations/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/registers-top-level-exported-named-arrow-functions/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/registers-top-level-function-declarations/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/registers-top-level-variable-declarations-with-arrow-functions/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/registers-top-level-variable-declarations-with-function-expressions/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + * refresh/supports-typescript-namespace-syntax/input.tsx +Scopes mismatch after transform +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/uses-custom-identifiers-for-refresh-reg-and-refresh-sig/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* refresh/uses-original-function-declaration-if-it-get-reassigned/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + +* unicode/input.jsx +Symbols mismatch after transform +ReferenceId mismatch after transform + diff --git a/tasks/transform_conformance/src/driver.rs b/tasks/transform_conformance/src/driver.rs index e6ca8fc36cb5d..fd27917c0d255 100644 --- a/tasks/transform_conformance/src/driver.rs +++ b/tasks/transform_conformance/src/driver.rs @@ -73,7 +73,7 @@ impl Driver { options, printed: String::new(), errors: vec![], - check_semantic: false, + check_semantic: true, checker: PostTransformChecker::default(), } } diff --git a/tasks/transform_conformance/src/lib.rs b/tasks/transform_conformance/src/lib.rs index c3114c8e1720e..f1b722beefd89 100644 --- a/tasks/transform_conformance/src/lib.rs +++ b/tasks/transform_conformance/src/lib.rs @@ -153,7 +153,11 @@ impl TestRunner { // Run the test let (passed, failed): (Vec, Vec) = test_cases .into_iter() - .partition(|test_case| test_case.test(self.options.filter.is_some())); + .map(|mut test_case| { + test_case.test(self.options.filter.is_some()); + test_case + }) + .partition(|test_case| test_case.errors().is_empty()); all_passed_count += passed.len(); // Snapshot @@ -168,6 +172,14 @@ impl TestRunner { snapshot.push_str(&normalize_path( test_case.path().strip_prefix(&case_root).unwrap(), )); + let errors = test_case.errors(); + if !errors.is_empty() { + snapshot.push('\n'); + for error in test_case.errors() { + snapshot.push_str(&error.message); + } + snapshot.push('\n'); + } snapshot.push('\n'); } snapshot.push('\n'); diff --git a/tasks/transform_conformance/src/test_case.rs b/tasks/transform_conformance/src/test_case.rs index 58e881383df14..641dae4327e51 100644 --- a/tasks/transform_conformance/src/test_case.rs +++ b/tasks/transform_conformance/src/test_case.rs @@ -65,12 +65,19 @@ impl TestCaseKind { } } - pub fn test(&self, filter: bool) -> bool { + pub fn test(&mut self, filter: bool) { match self { Self::Transform(test_case) => test_case.test(filter), Self::Exec(test_case) => test_case.test(filter), } } + + pub fn errors(&self) -> &Vec { + match self { + Self::Transform(test_case) => test_case.errors(), + Self::Exec(test_case) => test_case.errors(), + } + } } fn transform_options(options: &BabelOptions) -> Result> { @@ -84,7 +91,9 @@ pub trait TestCase { fn transform_options(&self) -> &Result>; - fn test(&self, filtered: bool) -> bool; + fn test(&mut self, filtered: bool); + + fn errors(&self) -> &Vec; fn path(&self) -> &Path; @@ -178,6 +187,7 @@ pub struct ConformanceTestCase { path: PathBuf, options: BabelOptions, transform_options: Result>, + errors: Vec, } impl TestCase for ConformanceTestCase { @@ -185,7 +195,7 @@ impl TestCase for ConformanceTestCase { let mut options = BabelOptions::from_test_path(path.parent().unwrap()); options.cwd.replace(cwd.to_path_buf()); let transform_options = transform_options(&options); - Self { path: path.to_path_buf(), options, transform_options } + Self { path: path.to_path_buf(), options, transform_options, errors: vec![] } } fn options(&self) -> &BabelOptions { @@ -200,8 +210,12 @@ impl TestCase for ConformanceTestCase { &self.path } + fn errors(&self) -> &Vec { + &self.errors + } + /// Test conformance by comparing the parsed babel code and transformed code. - fn test(&self, filtered: bool) -> bool { + fn test(&mut self, filtered: bool) { let output_path = self.path.parent().unwrap().read_dir().unwrap().find_map(|entry| { let path = entry.ok()?.path(); let file_stem = path.file_stem()?; @@ -237,14 +251,12 @@ impl TestCase for ConformanceTestCase { let mut transformed_code = String::new(); let mut actual_errors = String::new(); + let mut transform_options = None; - let transform_options = match self.transform_options() { - Ok(transform_options) => { - match Driver::new(transform_options.clone()).execute( - &input, - source_type, - &self.path, - ) { + match self.transform_options() { + Ok(options) => { + transform_options.replace(options.clone()); + match Driver::new(options.clone()).execute(&input, source_type, &self.path) { Ok(printed) => { transformed_code = printed; } @@ -257,14 +269,12 @@ impl TestCase for ConformanceTestCase { actual_errors = get_babel_error(&error); } } - Some(transform_options.clone()) } Err(json_err) => { let error = json_err.iter().map(ToString::to_string).collect::>().join("\n"); actual_errors = get_babel_error(&error); - None } - }; + } let babel_options = self.options(); @@ -315,7 +325,10 @@ impl TestCase for ConformanceTestCase { println!("Passed: {passed}"); } - passed + + if !passed { + self.errors.push(OxcDiagnostic::error(actual_errors)); + } } } @@ -324,6 +337,7 @@ pub struct ExecTestCase { path: PathBuf, options: BabelOptions, transform_options: Result>, + errors: Vec, } impl ExecTestCase { @@ -357,7 +371,7 @@ impl TestCase for ExecTestCase { let mut options = BabelOptions::from_test_path(path.parent().unwrap()); options.cwd.replace(cwd.to_path_buf()); let transform_options = transform_options(&options); - Self { path: path.to_path_buf(), options, transform_options } + Self { path: path.to_path_buf(), options, transform_options, errors: vec![] } } fn options(&self) -> &BabelOptions { @@ -372,7 +386,11 @@ impl TestCase for ExecTestCase { &self.path } - fn test(&self, filtered: bool) -> bool { + fn errors(&self) -> &Vec { + &self.errors + } + + fn test(&mut self, filtered: bool) { if filtered { println!("input_path: {:?}", &self.path); println!("Input:\n{}\n", fs::read_to_string(&self.path).unwrap()); @@ -387,7 +405,7 @@ impl TestCase for ExecTestCase { error.iter().map(ToString::to_string).collect::>().join("\n") ); } - return false; + return; } }; let target_path = self.write_to_test_files(&result); @@ -398,7 +416,9 @@ impl TestCase for ExecTestCase { println!("Test Result:\n{}\n", TestRunnerEnv::get_test_result(&target_path)); } - passed + if !passed { + self.errors.push(OxcDiagnostic::error("exec failed")); + } } }