diff --git a/packages/babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining/src/index.ts b/packages/babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining/src/index.ts index 9f340bb7f1..4a39d985fe 100644 --- a/packages/babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining/src/index.ts +++ b/packages/babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining/src/index.ts @@ -5,6 +5,7 @@ import type { NodePath, types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const noDocumentAll = api.assumption("noDocumentAll") ?? false; const pureGetters = api.assumption("pureGetters") ?? false; diff --git a/packages/babel-plugin-bugfix-v8-static-class-fields-redefine-readonly/src/index.ts b/packages/babel-plugin-bugfix-v8-static-class-fields-redefine-readonly/src/index.ts index a49c088385..80584fd3fd 100644 --- a/packages/babel-plugin-bugfix-v8-static-class-fields-redefine-readonly/src/index.ts +++ b/packages/babel-plugin-bugfix-v8-static-class-fields-redefine-readonly/src/index.ts @@ -8,6 +8,7 @@ import { toRanges, } from "./util.ts"; + function buildFieldsReplacement( fields: t.ClassProperty[], scope: Scope, @@ -33,6 +34,7 @@ function buildFieldsReplacement( export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const setPublicClassFields = api.assumption("setPublicClassFields"); diff --git a/packages/babel-plugin-external-helpers/src/index.ts b/packages/babel-plugin-external-helpers/src/index.ts index 8ca3f14492..fafe49370e 100644 --- a/packages/babel-plugin-external-helpers/src/index.ts +++ b/packages/babel-plugin-external-helpers/src/index.ts @@ -8,6 +8,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { helperVersion = "7.0.0-beta.0", whitelist = false } = options; diff --git a/packages/babel-plugin-proposal-decorators/src/index.ts b/packages/babel-plugin-proposal-decorators/src/index.ts index 460837bc6e..8d3fd03101 100644 --- a/packages/babel-plugin-proposal-decorators/src/index.ts +++ b/packages/babel-plugin-proposal-decorators/src/index.ts @@ -18,6 +18,7 @@ export type { Options }; export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); // Options are validated in @babel/plugin-syntax-decorators if (!process.env.BABEL_8_BREAKING) { diff --git a/packages/babel-plugin-proposal-do-expressions/src/index.ts b/packages/babel-plugin-proposal-do-expressions/src/index.ts index 0dfa12a07c..6e0b29bff8 100644 --- a/packages/babel-plugin-proposal-do-expressions/src/index.ts +++ b/packages/babel-plugin-proposal-do-expressions/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "proposal-do-expressions", diff --git a/packages/babel-plugin-proposal-export-default-from/src/index.ts b/packages/babel-plugin-proposal-export-default-from/src/index.ts index d681a86826..a87ee435d6 100644 --- a/packages/babel-plugin-proposal-export-default-from/src/index.ts +++ b/packages/babel-plugin-proposal-export-default-from/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "proposal-export-default-from", diff --git a/packages/babel-plugin-proposal-function-bind/src/index.ts b/packages/babel-plugin-proposal-function-bind/src/index.ts index 5876d8c0e9..81d1174517 100644 --- a/packages/babel-plugin-proposal-function-bind/src/index.ts +++ b/packages/babel-plugin-proposal-function-bind/src/index.ts @@ -3,6 +3,7 @@ import { types as t, type Scope } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); function getTempId(scope: Scope) { let id = scope.path.getData("functionBind"); diff --git a/packages/babel-plugin-proposal-function-sent/src/index.ts b/packages/babel-plugin-proposal-function-sent/src/index.ts index 3cde99a51d..b2e02e6373 100644 --- a/packages/babel-plugin-proposal-function-sent/src/index.ts +++ b/packages/babel-plugin-proposal-function-sent/src/index.ts @@ -4,6 +4,7 @@ import { types as t, type Visitor } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const isFunctionSent = (node: t.MetaProperty) => t.isIdentifier(node.meta, { name: "function" }) && diff --git a/packages/babel-plugin-proposal-import-attributes-to-assertions/src/index.ts b/packages/babel-plugin-proposal-import-attributes-to-assertions/src/index.ts index 274f74bdbe..fb6afcc728 100644 --- a/packages/babel-plugin-proposal-import-attributes-to-assertions/src/index.ts +++ b/packages/babel-plugin-proposal-import-attributes-to-assertions/src/index.ts @@ -4,6 +4,7 @@ import syntaxImportAttributes from "@babel/plugin-syntax-import-attributes"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "proposal-import-attributes-to-assertions", diff --git a/packages/babel-plugin-proposal-partial-application/src/index.ts b/packages/babel-plugin-proposal-partial-application/src/index.ts index 03fda1fe64..6e5c9a0353 100644 --- a/packages/babel-plugin-proposal-partial-application/src/index.ts +++ b/packages/babel-plugin-proposal-partial-application/src/index.ts @@ -3,6 +3,7 @@ import { types as t, type Scope } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); /** * a function to figure out if a call expression has diff --git a/packages/babel-plugin-proposal-pipeline-operator/src/index.ts b/packages/babel-plugin-proposal-pipeline-operator/src/index.ts index 8e52435f09..9b5d833a6d 100644 --- a/packages/babel-plugin-proposal-pipeline-operator/src/index.ts +++ b/packages/babel-plugin-proposal-pipeline-operator/src/index.ts @@ -15,6 +15,7 @@ const visitorsPerProposal = { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { proposal } = options; diff --git a/packages/babel-plugin-proposal-record-and-tuple/src/index.ts b/packages/babel-plugin-proposal-record-and-tuple/src/index.ts index bbe5e806d0..5798b72904 100644 --- a/packages/babel-plugin-proposal-record-and-tuple/src/index.ts +++ b/packages/babel-plugin-proposal-record-and-tuple/src/index.ts @@ -38,6 +38,7 @@ type ImportCache = WeakMap; export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const polyfillModuleName = v.validateStringOption( "polyfillModuleName", diff --git a/packages/babel-plugin-proposal-throw-expressions/src/index.ts b/packages/babel-plugin-proposal-throw-expressions/src/index.ts index 062860041c..dee4ca9611 100644 --- a/packages/babel-plugin-proposal-throw-expressions/src/index.ts +++ b/packages/babel-plugin-proposal-throw-expressions/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "proposal-throw-expressions", diff --git a/packages/babel-plugin-syntax-async-do-expressions/src/index.ts b/packages/babel-plugin-syntax-async-do-expressions/src/index.ts index 19a96f0924..683797d0c6 100644 --- a/packages/babel-plugin-syntax-async-do-expressions/src/index.ts +++ b/packages/babel-plugin-syntax-async-do-expressions/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-async-do-expressions", diff --git a/packages/babel-plugin-syntax-decorators/src/index.ts b/packages/babel-plugin-syntax-decorators/src/index.ts index 48a8c1913a..93bef6eb67 100644 --- a/packages/babel-plugin-syntax-decorators/src/index.ts +++ b/packages/babel-plugin-syntax-decorators/src/index.ts @@ -18,6 +18,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); let { version } = options; diff --git a/packages/babel-plugin-syntax-destructuring-private/src/index.ts b/packages/babel-plugin-syntax-destructuring-private/src/index.ts index 25a763b3f2..5946104bd7 100644 --- a/packages/babel-plugin-syntax-destructuring-private/src/index.ts +++ b/packages/babel-plugin-syntax-destructuring-private/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-destructuring-private", diff --git a/packages/babel-plugin-syntax-do-expressions/src/index.ts b/packages/babel-plugin-syntax-do-expressions/src/index.ts index cd5f50d39c..a647b61010 100644 --- a/packages/babel-plugin-syntax-do-expressions/src/index.ts +++ b/packages/babel-plugin-syntax-do-expressions/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-do-expressions", diff --git a/packages/babel-plugin-syntax-explicit-resource-management/src/index.ts b/packages/babel-plugin-syntax-explicit-resource-management/src/index.ts index 70372354f2..b53e4f1b87 100644 --- a/packages/babel-plugin-syntax-explicit-resource-management/src/index.ts +++ b/packages/babel-plugin-syntax-explicit-resource-management/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-explicit-resource-management", diff --git a/packages/babel-plugin-syntax-export-default-from/src/index.ts b/packages/babel-plugin-syntax-export-default-from/src/index.ts index 86c10d050e..cc69909791 100644 --- a/packages/babel-plugin-syntax-export-default-from/src/index.ts +++ b/packages/babel-plugin-syntax-export-default-from/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-export-default-from", diff --git a/packages/babel-plugin-syntax-flow/src/index.ts b/packages/babel-plugin-syntax-flow/src/index.ts index f5565cd5bf..d3b26e0e4d 100644 --- a/packages/babel-plugin-syntax-flow/src/index.ts +++ b/packages/babel-plugin-syntax-flow/src/index.ts @@ -6,6 +6,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); // When enabled and plugins includes flow, all files should be parsed as if // the @flow pragma was provided. diff --git a/packages/babel-plugin-syntax-function-bind/src/index.ts b/packages/babel-plugin-syntax-function-bind/src/index.ts index 7cfdc1ae10..bc016cb4c6 100644 --- a/packages/babel-plugin-syntax-function-bind/src/index.ts +++ b/packages/babel-plugin-syntax-function-bind/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-function-bind", diff --git a/packages/babel-plugin-syntax-function-sent/src/index.ts b/packages/babel-plugin-syntax-function-sent/src/index.ts index 8eaa31312c..c1813e70ff 100644 --- a/packages/babel-plugin-syntax-function-sent/src/index.ts +++ b/packages/babel-plugin-syntax-function-sent/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-function-sent", diff --git a/packages/babel-plugin-syntax-import-assertions/src/index.ts b/packages/babel-plugin-syntax-import-assertions/src/index.ts index 4f12684276..eddb39d948 100644 --- a/packages/babel-plugin-syntax-import-assertions/src/index.ts +++ b/packages/babel-plugin-syntax-import-assertions/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const isPlugin = (plugin: string | [string, object], name: string) => name === "plugin" || (Array.isArray(plugin) && plugin[0] === "plugin"); diff --git a/packages/babel-plugin-syntax-import-defer/src/index.ts b/packages/babel-plugin-syntax-import-defer/src/index.ts index 41fdcd37c0..c0afd84646 100644 --- a/packages/babel-plugin-syntax-import-defer/src/index.ts +++ b/packages/babel-plugin-syntax-import-defer/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-import-defer", diff --git a/packages/babel-plugin-syntax-jsx/src/index.ts b/packages/babel-plugin-syntax-jsx/src/index.ts index 2171a59e27..c373865eff 100644 --- a/packages/babel-plugin-syntax-jsx/src/index.ts +++ b/packages/babel-plugin-syntax-jsx/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-jsx", diff --git a/packages/babel-plugin-syntax-module-blocks/src/index.ts b/packages/babel-plugin-syntax-module-blocks/src/index.ts index c8593c073a..332493feeb 100644 --- a/packages/babel-plugin-syntax-module-blocks/src/index.ts +++ b/packages/babel-plugin-syntax-module-blocks/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-module-blocks", diff --git a/packages/babel-plugin-syntax-partial-application/src/index.ts b/packages/babel-plugin-syntax-partial-application/src/index.ts index 44384ebb0d..1cf47ed22e 100644 --- a/packages/babel-plugin-syntax-partial-application/src/index.ts +++ b/packages/babel-plugin-syntax-partial-application/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-partial-application", diff --git a/packages/babel-plugin-syntax-pipeline-operator/src/index.ts b/packages/babel-plugin-syntax-pipeline-operator/src/index.ts index e297089cfe..b99ab267ef 100644 --- a/packages/babel-plugin-syntax-pipeline-operator/src/index.ts +++ b/packages/babel-plugin-syntax-pipeline-operator/src/index.ts @@ -12,6 +12,7 @@ export interface Options { export default declare((api, { proposal, topicToken }: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); if (typeof proposal !== "string" || !PIPELINE_PROPOSALS.includes(proposal)) { const proposalList = PIPELINE_PROPOSALS.map(p => `"${p}"`).join(", "); diff --git a/packages/babel-plugin-syntax-record-and-tuple/src/index.ts b/packages/babel-plugin-syntax-record-and-tuple/src/index.ts index 7089b910f8..f18842c85f 100644 --- a/packages/babel-plugin-syntax-record-and-tuple/src/index.ts +++ b/packages/babel-plugin-syntax-record-and-tuple/src/index.ts @@ -6,6 +6,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); if (process.env.BABEL_8_BREAKING) { if (options.syntaxType === "bar") { throw new Error( diff --git a/packages/babel-plugin-syntax-throw-expressions/src/index.ts b/packages/babel-plugin-syntax-throw-expressions/src/index.ts index 2600958997..fcef582d52 100644 --- a/packages/babel-plugin-syntax-throw-expressions/src/index.ts +++ b/packages/babel-plugin-syntax-throw-expressions/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "syntax-throw-expressions", diff --git a/packages/babel-plugin-syntax-typescript/src/index.ts b/packages/babel-plugin-syntax-typescript/src/index.ts index 7ecd203137..f22f0ebc31 100644 --- a/packages/babel-plugin-syntax-typescript/src/index.ts +++ b/packages/babel-plugin-syntax-typescript/src/index.ts @@ -26,6 +26,7 @@ export interface Options { export default declare((api, opts: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { disallowAmbiguousJSXLike, dts } = opts; diff --git a/packages/babel-plugin-transform-arrow-functions/src/index.ts b/packages/babel-plugin-transform-arrow-functions/src/index.ts index 26f6a141a1..c2e836e86c 100644 --- a/packages/babel-plugin-transform-arrow-functions/src/index.ts +++ b/packages/babel-plugin-transform-arrow-functions/src/index.ts @@ -6,6 +6,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const noNewArrows = api.assumption("noNewArrows") ?? !options.spec; diff --git a/packages/babel-plugin-transform-async-generator-functions/src/index.ts b/packages/babel-plugin-transform-async-generator-functions/src/index.ts index 694f6e8dad..a0aea026ab 100644 --- a/packages/babel-plugin-transform-async-generator-functions/src/index.ts +++ b/packages/babel-plugin-transform-async-generator-functions/src/index.ts @@ -7,6 +7,7 @@ import rewriteForAwait from "./for-await.ts"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const yieldStarVisitor = visitors.environmentVisitor({ ArrowFunctionExpression(path) { diff --git a/packages/babel-plugin-transform-async-to-generator/src/index.ts b/packages/babel-plugin-transform-async-to-generator/src/index.ts index 4b2bcccb32..91b7be3bfe 100644 --- a/packages/babel-plugin-transform-async-to-generator/src/index.ts +++ b/packages/babel-plugin-transform-async-to-generator/src/index.ts @@ -14,6 +14,7 @@ type State = { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { method, module } = options; // Todo(BABEL 8): Consider default it to false diff --git a/packages/babel-plugin-transform-block-scoped-functions/src/index.ts b/packages/babel-plugin-transform-block-scoped-functions/src/index.ts index c4fa18854c..d037fcc6ac 100644 --- a/packages/babel-plugin-transform-block-scoped-functions/src/index.ts +++ b/packages/babel-plugin-transform-block-scoped-functions/src/index.ts @@ -3,6 +3,7 @@ import { types as t, type NodePath } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); function transformStatementList( parentPath: NodePath, diff --git a/packages/babel-plugin-transform-block-scoping/src/index.ts b/packages/babel-plugin-transform-block-scoping/src/index.ts index e7e0e6edc6..01dc959d70 100644 --- a/packages/babel-plugin-transform-block-scoping/src/index.ts +++ b/packages/babel-plugin-transform-block-scoping/src/index.ts @@ -18,6 +18,7 @@ export interface Options { export default declare((api, opts: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { throwIfClosureRequired = false, tdz: tdzEnabled = false } = opts; if (typeof throwIfClosureRequired !== "boolean") { diff --git a/packages/babel-plugin-transform-class-properties/src/index.ts b/packages/babel-plugin-transform-class-properties/src/index.ts index 41054e0ac2..bcd8ac9cd4 100644 --- a/packages/babel-plugin-transform-class-properties/src/index.ts +++ b/packages/babel-plugin-transform-class-properties/src/index.ts @@ -12,6 +12,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return createClassFeaturePlugin({ name: "transform-class-properties", diff --git a/packages/babel-plugin-transform-classes/src/index.ts b/packages/babel-plugin-transform-classes/src/index.ts index af3d1cc3e6..223019a91e 100644 --- a/packages/babel-plugin-transform-classes/src/index.ts +++ b/packages/babel-plugin-transform-classes/src/index.ts @@ -19,6 +19,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { loose = false } = options; diff --git a/packages/babel-plugin-transform-computed-properties/src/index.ts b/packages/babel-plugin-transform-computed-properties/src/index.ts index ef6ba631f9..93c05548a1 100644 --- a/packages/babel-plugin-transform-computed-properties/src/index.ts +++ b/packages/babel-plugin-transform-computed-properties/src/index.ts @@ -31,6 +31,7 @@ if (!process.env.BABEL_8_BREAKING) { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const setComputedProperties = api.assumption("setComputedProperties") ?? options.loose; diff --git a/packages/babel-plugin-transform-destructuring/src/index.ts b/packages/babel-plugin-transform-destructuring/src/index.ts index 05847cd97b..f4a6bbe9e3 100644 --- a/packages/babel-plugin-transform-destructuring/src/index.ts +++ b/packages/babel-plugin-transform-destructuring/src/index.ts @@ -30,6 +30,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { useBuiltIns = false } = options; diff --git a/packages/babel-plugin-transform-dotall-regex/src/index.ts b/packages/babel-plugin-transform-dotall-regex/src/index.ts index 9dd6189cbc..4e999fbe35 100644 --- a/packages/babel-plugin-transform-dotall-regex/src/index.ts +++ b/packages/babel-plugin-transform-dotall-regex/src/index.ts @@ -4,6 +4,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return createRegExpFeaturePlugin({ name: "transform-dotall-regex", diff --git a/packages/babel-plugin-transform-duplicate-keys/src/index.ts b/packages/babel-plugin-transform-duplicate-keys/src/index.ts index 1691ad80ac..3ac0800edf 100644 --- a/packages/babel-plugin-transform-duplicate-keys/src/index.ts +++ b/packages/babel-plugin-transform-duplicate-keys/src/index.ts @@ -12,6 +12,7 @@ function getName( export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-duplicate-keys", diff --git a/packages/babel-plugin-transform-dynamic-import/src/index.ts b/packages/babel-plugin-transform-dynamic-import/src/index.ts index 29c4899177..79bb6be57d 100644 --- a/packages/babel-plugin-transform-dynamic-import/src/index.ts +++ b/packages/babel-plugin-transform-dynamic-import/src/index.ts @@ -17,6 +17,7 @@ bundler handle dynamic imports. export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-dynamic-import", diff --git a/packages/babel-plugin-transform-exponentiation-operator/src/index.ts b/packages/babel-plugin-transform-exponentiation-operator/src/index.ts index b46dc57ca9..4699225bfb 100644 --- a/packages/babel-plugin-transform-exponentiation-operator/src/index.ts +++ b/packages/babel-plugin-transform-exponentiation-operator/src/index.ts @@ -4,6 +4,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-exponentiation-operator", diff --git a/packages/babel-plugin-transform-export-namespace-from/src/index.ts b/packages/babel-plugin-transform-export-namespace-from/src/index.ts index 790a38432c..281e65d4f0 100644 --- a/packages/babel-plugin-transform-export-namespace-from/src/index.ts +++ b/packages/babel-plugin-transform-export-namespace-from/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-export-namespace-from", diff --git a/packages/babel-plugin-transform-flow-comments/src/index.ts b/packages/babel-plugin-transform-flow-comments/src/index.ts index b8acd87514..c0e47dea68 100644 --- a/packages/babel-plugin-transform-flow-comments/src/index.ts +++ b/packages/babel-plugin-transform-flow-comments/src/index.ts @@ -5,6 +5,7 @@ import generateCode from "@babel/generator"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); function commentFromString(comment: string | t.Comment): t.Comment { return typeof comment === "string" diff --git a/packages/babel-plugin-transform-flow-strip-types/src/index.ts b/packages/babel-plugin-transform-flow-strip-types/src/index.ts index 437411748f..418dfd787a 100644 --- a/packages/babel-plugin-transform-flow-strip-types/src/index.ts +++ b/packages/babel-plugin-transform-flow-strip-types/src/index.ts @@ -9,6 +9,7 @@ export interface Options { export default declare((api, opts: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const FLOW_DIRECTIVE = /@flow(?:\s+(?:strict(?:-local)?|weak))?|@noflow/; diff --git a/packages/babel-plugin-transform-for-of/src/index.ts b/packages/babel-plugin-transform-for-of/src/index.ts index d0a62ba583..7b32b0bdde 100644 --- a/packages/babel-plugin-transform-for-of/src/index.ts +++ b/packages/babel-plugin-transform-for-of/src/index.ts @@ -34,6 +34,7 @@ function buildLoopBody( export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); { const { assumeArray, allowArrayLike, loose } = options; diff --git a/packages/babel-plugin-transform-function-name/src/index.ts b/packages/babel-plugin-transform-function-name/src/index.ts index 4a7e179aa2..4da2ed6928 100644 --- a/packages/babel-plugin-transform-function-name/src/index.ts +++ b/packages/babel-plugin-transform-function-name/src/index.ts @@ -3,6 +3,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const supportUnicodeId = !isRequired( "transform-unicode-escapes", api.targets(), diff --git a/packages/babel-plugin-transform-instanceof/src/index.ts b/packages/babel-plugin-transform-instanceof/src/index.ts index 6bd6d5b95f..b8e74652c0 100644 --- a/packages/babel-plugin-transform-instanceof/src/index.ts +++ b/packages/babel-plugin-transform-instanceof/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-instanceof", diff --git a/packages/babel-plugin-transform-jscript/src/index.ts b/packages/babel-plugin-transform-jscript/src/index.ts index ffd1407dab..884d6cdf43 100644 --- a/packages/babel-plugin-transform-jscript/src/index.ts +++ b/packages/babel-plugin-transform-jscript/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-jscript", diff --git a/packages/babel-plugin-transform-json-strings/src/index.ts b/packages/babel-plugin-transform-json-strings/src/index.ts index 2bccae5a2c..376870f498 100644 --- a/packages/babel-plugin-transform-json-strings/src/index.ts +++ b/packages/babel-plugin-transform-json-strings/src/index.ts @@ -3,6 +3,7 @@ import type { NodePath, types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const regex = /(\\*)([\u2028\u2029])/g; function replace(match: string, escapes: string, separator: string) { // If there's an odd number, that means the separator itself was escaped. diff --git a/packages/babel-plugin-transform-literals/src/index.ts b/packages/babel-plugin-transform-literals/src/index.ts index c9617d9c4b..4d3732c0f9 100644 --- a/packages/babel-plugin-transform-literals/src/index.ts +++ b/packages/babel-plugin-transform-literals/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-literals", diff --git a/packages/babel-plugin-transform-logical-assignment-operators/src/index.ts b/packages/babel-plugin-transform-logical-assignment-operators/src/index.ts index cdcd2f913e..24bbdbf21c 100644 --- a/packages/babel-plugin-transform-logical-assignment-operators/src/index.ts +++ b/packages/babel-plugin-transform-logical-assignment-operators/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-logical-assignment-operators", diff --git a/packages/babel-plugin-transform-member-expression-literals/src/index.ts b/packages/babel-plugin-transform-member-expression-literals/src/index.ts index c7423fa396..5f282644ff 100644 --- a/packages/babel-plugin-transform-member-expression-literals/src/index.ts +++ b/packages/babel-plugin-transform-member-expression-literals/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-member-expression-literals", diff --git a/packages/babel-plugin-transform-modules-amd/src/index.ts b/packages/babel-plugin-transform-modules-amd/src/index.ts index e9d35f6191..cd8fa3a09a 100644 --- a/packages/babel-plugin-transform-modules-amd/src/index.ts +++ b/packages/babel-plugin-transform-modules-amd/src/index.ts @@ -62,6 +62,7 @@ type State = { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { allowTopLevelThis, strict, strictMode, importInterop, noInterop } = options; diff --git a/packages/babel-plugin-transform-modules-commonjs/src/index.ts b/packages/babel-plugin-transform-modules-commonjs/src/index.ts index 8165278504..fe37aa145d 100644 --- a/packages/babel-plugin-transform-modules-commonjs/src/index.ts +++ b/packages/babel-plugin-transform-modules-commonjs/src/index.ts @@ -35,6 +35,7 @@ export interface Options extends PluginOptions { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { // 'true' for imports to strictly have .default, instead of having diff --git a/packages/babel-plugin-transform-modules-systemjs/src/index.ts b/packages/babel-plugin-transform-modules-systemjs/src/index.ts index 922801b93d..d041ff9f2c 100644 --- a/packages/babel-plugin-transform-modules-systemjs/src/index.ts +++ b/packages/babel-plugin-transform-modules-systemjs/src/index.ts @@ -176,6 +176,7 @@ type ReassignmentVisitorState = { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { systemGlobal = "System", allowTopLevelThis = false } = options; const reassignmentVisited = new WeakSet(); diff --git a/packages/babel-plugin-transform-modules-umd/src/index.ts b/packages/babel-plugin-transform-modules-umd/src/index.ts index 28431911ed..7c23df196f 100644 --- a/packages/babel-plugin-transform-modules-umd/src/index.ts +++ b/packages/babel-plugin-transform-modules-umd/src/index.ts @@ -53,6 +53,7 @@ export interface Options extends PluginOptions { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { globals, diff --git a/packages/babel-plugin-transform-new-target/src/index.ts b/packages/babel-plugin-transform-new-target/src/index.ts index 3ce4aa9fa1..b3742179b0 100644 --- a/packages/babel-plugin-transform-new-target/src/index.ts +++ b/packages/babel-plugin-transform-new-target/src/index.ts @@ -3,6 +3,7 @@ import { types as t, type NodePath } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-new-target", diff --git a/packages/babel-plugin-transform-nullish-coalescing-operator/src/index.ts b/packages/babel-plugin-transform-nullish-coalescing-operator/src/index.ts index d81330b0ff..88113a3e84 100644 --- a/packages/babel-plugin-transform-nullish-coalescing-operator/src/index.ts +++ b/packages/babel-plugin-transform-nullish-coalescing-operator/src/index.ts @@ -7,6 +7,7 @@ export interface Options { export default declare((api, { loose = false }: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const noDocumentAll = api.assumption("noDocumentAll") ?? loose; return { diff --git a/packages/babel-plugin-transform-numeric-separator/src/index.ts b/packages/babel-plugin-transform-numeric-separator/src/index.ts index fe28a7b35f..e3eae8f24e 100644 --- a/packages/babel-plugin-transform-numeric-separator/src/index.ts +++ b/packages/babel-plugin-transform-numeric-separator/src/index.ts @@ -18,6 +18,7 @@ function remover({ node }: NodePath) { export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-numeric-separator", diff --git a/packages/babel-plugin-transform-object-assign/src/index.ts b/packages/babel-plugin-transform-object-assign/src/index.ts index 48e2d07a10..e8f97c596e 100644 --- a/packages/babel-plugin-transform-object-assign/src/index.ts +++ b/packages/babel-plugin-transform-object-assign/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-object-assign", diff --git a/packages/babel-plugin-transform-object-rest-spread/src/index.ts b/packages/babel-plugin-transform-object-rest-spread/src/index.ts index ac21306c40..0b0e6aebbf 100644 --- a/packages/babel-plugin-transform-object-rest-spread/src/index.ts +++ b/packages/babel-plugin-transform-object-rest-spread/src/index.ts @@ -26,6 +26,7 @@ export interface Options { export default declare((api, opts: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const targets = api.targets(); const supportsObjectAssign = !isRequired("Object.assign", targets, { diff --git a/packages/babel-plugin-transform-object-set-prototype-of-to-assign/src/index.ts b/packages/babel-plugin-transform-object-set-prototype-of-to-assign/src/index.ts index 257c975168..ee159c30f8 100644 --- a/packages/babel-plugin-transform-object-set-prototype-of-to-assign/src/index.ts +++ b/packages/babel-plugin-transform-object-set-prototype-of-to-assign/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-object-set-prototype-of-to-assign", diff --git a/packages/babel-plugin-transform-object-super/src/index.ts b/packages/babel-plugin-transform-object-super/src/index.ts index fe71aa236a..4d33ae6178 100644 --- a/packages/babel-plugin-transform-object-super/src/index.ts +++ b/packages/babel-plugin-transform-object-super/src/index.ts @@ -20,6 +20,7 @@ function replacePropertySuper( export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const newLets = new Set<{ scopePath: NodePath; id: t.Identifier; diff --git a/packages/babel-plugin-transform-optional-catch-binding/src/index.ts b/packages/babel-plugin-transform-optional-catch-binding/src/index.ts index d1b77049f4..1221d7a38d 100644 --- a/packages/babel-plugin-transform-optional-catch-binding/src/index.ts +++ b/packages/babel-plugin-transform-optional-catch-binding/src/index.ts @@ -2,6 +2,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-optional-catch-binding", diff --git a/packages/babel-plugin-transform-optional-chaining/src/index.ts b/packages/babel-plugin-transform-optional-chaining/src/index.ts index 0652f7b3d1..f086765127 100644 --- a/packages/babel-plugin-transform-optional-chaining/src/index.ts +++ b/packages/babel-plugin-transform-optional-chaining/src/index.ts @@ -7,6 +7,7 @@ export interface Options { } export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { loose = false } = options; const noDocumentAll = api.assumption("noDocumentAll") ?? loose; diff --git a/packages/babel-plugin-transform-parameters/src/index.ts b/packages/babel-plugin-transform-parameters/src/index.ts index 4524ee85f5..bac4ed5b0f 100644 --- a/packages/babel-plugin-transform-parameters/src/index.ts +++ b/packages/babel-plugin-transform-parameters/src/index.ts @@ -9,6 +9,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const ignoreFunctionLength = api.assumption("ignoreFunctionLength") ?? options.loose; diff --git a/packages/babel-plugin-transform-private-methods/src/index.ts b/packages/babel-plugin-transform-private-methods/src/index.ts index 9727a1bf14..599b40cc59 100644 --- a/packages/babel-plugin-transform-private-methods/src/index.ts +++ b/packages/babel-plugin-transform-private-methods/src/index.ts @@ -12,6 +12,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return createClassFeaturePlugin({ name: "transform-private-methods", diff --git a/packages/babel-plugin-transform-private-property-in-object/src/index.ts b/packages/babel-plugin-transform-private-property-in-object/src/index.ts index a95fcd2268..77b264f652 100644 --- a/packages/babel-plugin-transform-private-property-in-object/src/index.ts +++ b/packages/babel-plugin-transform-private-property-in-object/src/index.ts @@ -13,6 +13,7 @@ export interface Options { } export default declare((api, opt: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { types: t, template } = api; const { loose } = opt; diff --git a/packages/babel-plugin-transform-property-literals/src/index.ts b/packages/babel-plugin-transform-property-literals/src/index.ts index 2b65b7c786..5290a90c53 100644 --- a/packages/babel-plugin-transform-property-literals/src/index.ts +++ b/packages/babel-plugin-transform-property-literals/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-property-literals", diff --git a/packages/babel-plugin-transform-property-mutators/src/index.ts b/packages/babel-plugin-transform-property-mutators/src/index.ts index 527571a6cc..e2ffd82a9c 100644 --- a/packages/babel-plugin-transform-property-mutators/src/index.ts +++ b/packages/babel-plugin-transform-property-mutators/src/index.ts @@ -4,6 +4,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-property-mutators", diff --git a/packages/babel-plugin-transform-proto-to-assign/src/index.ts b/packages/babel-plugin-transform-proto-to-assign/src/index.ts index f1cdbcae6b..6715c7fcfe 100644 --- a/packages/babel-plugin-transform-proto-to-assign/src/index.ts +++ b/packages/babel-plugin-transform-proto-to-assign/src/index.ts @@ -3,6 +3,7 @@ import { types as t, type File } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); function isProtoKey(node: t.ObjectExpression["properties"][number]) { return ( diff --git a/packages/babel-plugin-transform-react-constant-elements/src/index.ts b/packages/babel-plugin-transform-react-constant-elements/src/index.ts index 5cad9cb4e5..8960d5ae9b 100644 --- a/packages/babel-plugin-transform-react-constant-elements/src/index.ts +++ b/packages/babel-plugin-transform-react-constant-elements/src/index.ts @@ -14,6 +14,7 @@ interface VisitorState { } export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { allowMutablePropsOnTags } = options; diff --git a/packages/babel-plugin-transform-react-display-name/src/index.ts b/packages/babel-plugin-transform-react-display-name/src/index.ts index c8bd72fb62..52e3cca0e7 100644 --- a/packages/babel-plugin-transform-react-display-name/src/index.ts +++ b/packages/babel-plugin-transform-react-display-name/src/index.ts @@ -8,6 +8,7 @@ type ReactCreateClassCall = t.CallExpression & { export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); function addDisplayName(id: string, call: ReactCreateClassCall) { const props = call.arguments[0].properties; diff --git a/packages/babel-plugin-transform-react-inline-elements/src/index.ts b/packages/babel-plugin-transform-react-inline-elements/src/index.ts index 0d7f423b02..b7cffa91e5 100644 --- a/packages/babel-plugin-transform-react-inline-elements/src/index.ts +++ b/packages/babel-plugin-transform-react-inline-elements/src/index.ts @@ -4,6 +4,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); function hasRefOrSpread(attrs: t.JSXOpeningElement["attributes"]) { for (let i = 0; i < attrs.length; i++) { diff --git a/packages/babel-plugin-transform-react-jsx-compat/src/index.ts b/packages/babel-plugin-transform-react-jsx-compat/src/index.ts index d0a3a068d6..4ee2535e34 100644 --- a/packages/babel-plugin-transform-react-jsx-compat/src/index.ts +++ b/packages/babel-plugin-transform-react-jsx-compat/src/index.ts @@ -4,6 +4,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-react-jsx-compat", diff --git a/packages/babel-plugin-transform-react-jsx-self/src/index.ts b/packages/babel-plugin-transform-react-jsx-self/src/index.ts index 3c8f0d6f01..6868726cbd 100644 --- a/packages/babel-plugin-transform-react-jsx-self/src/index.ts +++ b/packages/babel-plugin-transform-react-jsx-self/src/index.ts @@ -71,6 +71,7 @@ function isThisAllowed(path: NodePath) { export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const visitor: Visitor = { JSXOpeningElement(path) { diff --git a/packages/babel-plugin-transform-react-jsx-source/src/index.ts b/packages/babel-plugin-transform-react-jsx-source/src/index.ts index 1e025a56d9..f9453d279d 100644 --- a/packages/babel-plugin-transform-react-jsx-source/src/index.ts +++ b/packages/babel-plugin-transform-react-jsx-source/src/index.ts @@ -28,6 +28,7 @@ type State = { }; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); function makeTrace( fileNameIdentifier: t.Identifier, diff --git a/packages/babel-plugin-transform-react-pure-annotations/src/index.ts b/packages/babel-plugin-transform-react-pure-annotations/src/index.ts index 0cf4ddd6ce..6363c630b4 100644 --- a/packages/babel-plugin-transform-react-pure-annotations/src/index.ts +++ b/packages/babel-plugin-transform-react-pure-annotations/src/index.ts @@ -27,6 +27,7 @@ const PURE_CALLS: [string, Set][] = [ export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-react-pure-annotations", diff --git a/packages/babel-plugin-transform-reserved-words/src/index.ts b/packages/babel-plugin-transform-reserved-words/src/index.ts index 50a012ebdb..5bce58af41 100644 --- a/packages/babel-plugin-transform-reserved-words/src/index.ts +++ b/packages/babel-plugin-transform-reserved-words/src/index.ts @@ -3,6 +3,7 @@ import { types as t, type NodePath } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-reserved-words", diff --git a/packages/babel-plugin-transform-runtime/src/index.ts b/packages/babel-plugin-transform-runtime/src/index.ts index 3c6ff3766a..cb73ae75f5 100644 --- a/packages/babel-plugin-transform-runtime/src/index.ts +++ b/packages/babel-plugin-transform-runtime/src/index.ts @@ -18,6 +18,7 @@ export interface Options { export default declare((api, options: Options, dirname) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { version: runtimeVersion = "7.0.0-beta.0", diff --git a/packages/babel-plugin-transform-shorthand-properties/src/index.ts b/packages/babel-plugin-transform-shorthand-properties/src/index.ts index 5c00fbb7c5..12a722f3c3 100644 --- a/packages/babel-plugin-transform-shorthand-properties/src/index.ts +++ b/packages/babel-plugin-transform-shorthand-properties/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-shorthand-properties", diff --git a/packages/babel-plugin-transform-spread/src/index.ts b/packages/babel-plugin-transform-spread/src/index.ts index da362c9e23..22826f3a9b 100644 --- a/packages/babel-plugin-transform-spread/src/index.ts +++ b/packages/babel-plugin-transform-spread/src/index.ts @@ -12,6 +12,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const iterableIsArray = api.assumption("iterableIsArray") ?? options.loose; const arrayLikeIsIterable = diff --git a/packages/babel-plugin-transform-sticky-regex/src/index.ts b/packages/babel-plugin-transform-sticky-regex/src/index.ts index 44d82d739c..29daa452d6 100644 --- a/packages/babel-plugin-transform-sticky-regex/src/index.ts +++ b/packages/babel-plugin-transform-sticky-regex/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-sticky-regex", diff --git a/packages/babel-plugin-transform-strict-mode/src/index.ts b/packages/babel-plugin-transform-strict-mode/src/index.ts index 16dc08e22e..42e2548e84 100644 --- a/packages/babel-plugin-transform-strict-mode/src/index.ts +++ b/packages/babel-plugin-transform-strict-mode/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-strict-mode", diff --git a/packages/babel-plugin-transform-template-literals/src/index.ts b/packages/babel-plugin-transform-template-literals/src/index.ts index 9746809339..63d19177dd 100644 --- a/packages/babel-plugin-transform-template-literals/src/index.ts +++ b/packages/babel-plugin-transform-template-literals/src/index.ts @@ -7,6 +7,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const ignoreToPrimitiveHint = api.assumption("ignoreToPrimitiveHint") ?? options.loose; diff --git a/packages/babel-plugin-transform-typeof-symbol/src/index.ts b/packages/babel-plugin-transform-typeof-symbol/src/index.ts index f43f2092cb..49c09c9e44 100644 --- a/packages/babel-plugin-transform-typeof-symbol/src/index.ts +++ b/packages/babel-plugin-transform-typeof-symbol/src/index.ts @@ -3,6 +3,7 @@ import { types as t } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return { name: "transform-typeof-symbol", diff --git a/packages/babel-plugin-transform-typescript/src/index.ts b/packages/babel-plugin-transform-typescript/src/index.ts index b8f6ee2f1a..e602885448 100644 --- a/packages/babel-plugin-transform-typescript/src/index.ts +++ b/packages/babel-plugin-transform-typescript/src/index.ts @@ -107,6 +107,7 @@ export default declare((api, opts: Options) => { const { types: t, template } = api; api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const JSX_PRAGMA_REGEX = /\*?\s*@jsx((?:Frag)?)\s+(\S+)/; diff --git a/packages/babel-plugin-transform-unicode-escapes/src/index.ts b/packages/babel-plugin-transform-unicode-escapes/src/index.ts index 8b6304f3d4..6b895be2ff 100644 --- a/packages/babel-plugin-transform-unicode-escapes/src/index.ts +++ b/packages/babel-plugin-transform-unicode-escapes/src/index.ts @@ -3,6 +3,7 @@ import { types as t, type NodePath } from "@babel/core"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const surrogate = /[\ud800-\udfff]/g; const unicodeEscape = /(\\+)u\{([0-9a-fA-F]+)\}/g; diff --git a/packages/babel-plugin-transform-unicode-property-regex/src/index.ts b/packages/babel-plugin-transform-unicode-property-regex/src/index.ts index 0ef298dfdf..b7d8859359 100644 --- a/packages/babel-plugin-transform-unicode-property-regex/src/index.ts +++ b/packages/babel-plugin-transform-unicode-property-regex/src/index.ts @@ -8,6 +8,7 @@ export interface Options { export default declare((api, options: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { useUnicodeFlag = true } = options; if (typeof useUnicodeFlag !== "boolean") { diff --git a/packages/babel-plugin-transform-unicode-regex/src/index.ts b/packages/babel-plugin-transform-unicode-regex/src/index.ts index bdfe30c050..8d0d0d4585 100644 --- a/packages/babel-plugin-transform-unicode-regex/src/index.ts +++ b/packages/babel-plugin-transform-unicode-regex/src/index.ts @@ -4,6 +4,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return createRegExpFeaturePlugin({ name: "transform-unicode-regex", diff --git a/packages/babel-plugin-transform-unicode-sets-regex/src/index.ts b/packages/babel-plugin-transform-unicode-sets-regex/src/index.ts index 01d9b6729a..45e5ed664d 100644 --- a/packages/babel-plugin-transform-unicode-sets-regex/src/index.ts +++ b/packages/babel-plugin-transform-unicode-sets-regex/src/index.ts @@ -4,6 +4,7 @@ import { declare } from "@babel/helper-plugin-utils"; export default declare(api => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); return createRegExpFeaturePlugin({ name: "transform-unicode-sets-regex", diff --git a/packages/babel-preset-env/src/index.ts b/packages/babel-preset-env/src/index.ts index c250560458..03bb553dee 100644 --- a/packages/babel-preset-env/src/index.ts +++ b/packages/babel-preset-env/src/index.ts @@ -316,6 +316,7 @@ function supportsExportNamespaceFrom(caller: CallerMetadata | undefined) { export default declarePreset((api, opts: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const babelTargets = api.targets(); diff --git a/packages/babel-preset-flow/src/index.ts b/packages/babel-preset-flow/src/index.ts index 86cd0480f6..2b79455b55 100644 --- a/packages/babel-preset-flow/src/index.ts +++ b/packages/babel-preset-flow/src/index.ts @@ -4,6 +4,7 @@ import normalizeOptions from "./normalize-options.ts"; export default declarePreset((api, opts) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { all, allowDeclareFields, diff --git a/packages/babel-preset-react/src/index.ts b/packages/babel-preset-react/src/index.ts index 7df45a7565..7360357a26 100644 --- a/packages/babel-preset-react/src/index.ts +++ b/packages/babel-preset-react/src/index.ts @@ -19,6 +19,7 @@ export interface Options { export default declarePreset((api, opts: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { development, diff --git a/packages/babel-preset-typescript/src/index.ts b/packages/babel-preset-typescript/src/index.ts index 967f324822..f866024191 100644 --- a/packages/babel-preset-typescript/src/index.ts +++ b/packages/babel-preset-typescript/src/index.ts @@ -8,6 +8,7 @@ import pluginRewriteTSImports from "./plugin-rewrite-ts-imports.ts"; export default declarePreset((api, opts: Options) => { api.assertVersion(REQUIRED_VERSION(7)); +console.log('REQUIRED VERSION CHECK'); const { allExtensions,