Packages

@babel/compat-data

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

Your version

7.20.5

28 Nov 2022Where it was published

7.29.7 is the newest release of 7.x.

In short

9 fixed5 changed8 internal

Release note

Thanks @davydof and @SuperSodaSea for your first PRs!

:eyeglasses: Spec Compliance

  • babel-helpers, babel-plugin-transform-destructuring, babel-plugin-transform-modules-commonjs, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-traverse

  • babel-cli, babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-class-static-block, babel-plugin-transform-classes, babel-plugin-transform-runtime, babel-preset-env

    • fix: apply toPropertyKey when defining class members (@JLHwung)

  • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-proposal-private-property-in-object, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

    • fix: validate rhs of in when transpiling #p in C (@JLHwung)

:bug: Bug Fix

  • babel-parser

    • Parse using[foo] as computed member expression (@JLHwung)

    • Export ParseResult type (@davydof)

    • fix: parse import module, ... (@JLHwung)

  • babel-helper-wrap-function, babel-preset-env, babel-traverse

    • fix: Edge cases for async functions and noNewArrow assumption (@liuxingbaoyu)

  • babel-plugin-transform-arrow-functions, babel-plugin-transform-parameters, babel-traverse

    • fix: Throw error when compiling super() in arrow functions with default / rest parameters (@SuperSodaSea)

  • babel-helpers, babel-node, babel-plugin-proposal-async-generator-functions, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

  • babel-helper-create-regexp-features-plugin

  • babel-parser, babel-types

  • babel-generator

    • Don't print inner comments as leading when wrapping in (``) (@nicolo-ribaudo)

  • babel-plugin-transform-block-scoping, babel-traverse

:nail_care: Polish

  • babel-generator

  • babel-plugin-transform-block-scoping

:house: Internal

  • babel-core, babel-parser