Packages

@babel/compat-data

8.0.5 · 10 Sep 2026MIT196.4M / weekRepositorynpmAtom feed

Your version

7.26.5

10 Jan 2025Where it was published

7.29.7 is the newest release of 7.x.

In short

1 new3 fixed11 internal

Release note

:eyeglasses: Spec Compliance

  • babel-parser

    • Allow the dynamic import.defer() form of import defer (@babel-bot)

:bug: Bug Fix

  • babel-plugin-transform-block-scoped-functions

  • babel-plugin-transform-typescript

    • fix: Correctly generate exported const enums in namespace (@liuxingbaoyu)

  • babel-parser

    • [estree] Unify method type parameters handling (@JLHwung)

    • fix: Correctly set position for @(a.b)() (@liuxingbaoyu)

    • [estree] Adjust the start loc of class methods with type params (@nicolo-ribaudo)

  • babel-generator, babel-parser, babel-plugin-transform-flow-strip-types, babel-types

    • Support flow jsx opening element type arguments (@JLHwung)

  • babel-compat-data, babel-preset-env

    • fix: More accurate transform-typeof-symbol compat data (@liuxingbaoyu)

  • babel-generator, babel-parser, babel-types

:microscope: Output optimization

  • babel-plugin-transform-nullish-coalescing-operator