unstale

npm / @babel/preset-flow

@babel/preset-flow

What changed in @babel/preset-flow 8, from its official release notes, upgrade guides and advisories. Also covers @babel/helper-builder-react-jsx, @babel/plugin-external-helpers, @babel/plugin-proposal-export-default-from, @babel/plugin-syntax-export-default-from, @babel/plugin-syntax-jsx, @babel/plugin-transform-arrow-functions, @babel/plugin-transform-async-to-generator, @babel/plugin-transform-block-scoped-functions, @babel/plugin-transform-class-properties, @babel/plugin-transform-exponentiation-operator, @babel/plugin-transform-export-namespace-from, @babel/plugin-transform-flow-strip-types, @babel/plugin-transform-literals, @babel/plugin-transform-logical-assignment-operators, @babel/plugin-transform-modules-commonjs, @babel/plugin-transform-named-capturing-groups-regex, @babel/plugin-transform-nullish-coalescing-operator, @babel/plugin-transform-numeric-separator, @babel/plugin-transform-object-rest-spread, @babel/plugin-transform-object-super, @babel/plugin-transform-optional-catch-binding, @babel/plugin-transform-private-methods, @babel/plugin-transform-react-display-name, @babel/plugin-transform-react-jsx, @babel/plugin-transform-react-jsx-development, @babel/plugin-transform-react-pure-annotations, @babel/plugin-transform-shorthand-properties, @babel/plugin-transform-sticky-regex, @babel/plugin-transform-template-literals, @babel/plugin-transform-unicode-regex, @babel/preset-react. Sources checked 2026-11-30.

2 breaking2 deprecations1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@babel/preset-flow 85 changes

Breaking changes 2

  • This plugin requires @babel/core@^8.0.0 as a peer dependency; Babel 7 and Babel 8 plugin/core combinations are not officially supported.

    8.0.0upgrade guide

  • Importing internal files is disallowed; use the exported API instead.

    8.0.0upgrade guide

Deprecations 2

  • The loose option still works but emits a warning pointing to the equivalent assumptions configuration.

    8.0.0upgrade guide

  • The spec option still works but emits a warning pointing to the equivalent assumptions configuration.

    8.0.0upgrade guide

Fixes and other changes 1

  • Preserves the receiver of private member calls wrapped in TypeScript syntax.

    8.1.2release notes