Packages

@babel/code-frame

8.0.6 · 18 Sep 2026MIT328M / weekRepositoryHomepagenpmAtom feed

Your version

7.16.0

29 Oct 2021Where it was published

7.29.7 is the newest release of 7.x.

In short

7 new4 fixed8 changed14 internal

Release note

:eyeglasses: Spec Compliance

  • babel-helpers, babel-plugin-proposal-async-generator-functions, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

:rocket: New Feature

  • babel-generator, babel-parser, babel-plugin-transform-typescript, babel-types

    • Support TypeScript 4.5 type-only import/export specifiers (@sosukesuzuki)

  • babel-parser

    • feat: support startColumn option (@JLHwung)

  • babel-helper-fixtures, babel-helper-transform-fixture-test-runner, babel-parser, babel-plugin-syntax-typescript, babel-preset-typescript

  • Other

  • babel-generator, babel-parser, babel-plugin-proposal-pipeline-operator, babel-plugin-syntax-pipeline-operator

  • babel-compat-data, babel-generator, babel-parser, babel-preset-env, babel-types

  • babel-helper-skip-transparent-expression-wrappers, babel-plugin-proposal-optional-chaining

    • add skipTransparentExprWrapperNodes helper (@lightmare)

  • babel-traverse, babel-types

    • Add aliases for Standardized, TypeScript, and Flow (@jridgewell)

:bug: Bug Fix

  • babel-parser, babel-plugin-transform-typescript

  • babel-plugin-transform-typescript

    • fix: allow enum member without initializer after non-literal member (@lightmare)

  • babel-core, babel-helper-create-class-features-plugin, babel-plugin-transform-typescript

    • Don't transform declare class in plugin-proposal-class-properties (@forivall)

  • babel-compat-data, babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-transform-react-constant-elements, babel-preset-env, babel-traverse

    • Implement @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression (@JLHwung)

  • babel-plugin-proposal-async-generator-functions, babel-traverse

    • Restore traversal context after enter / traverse (@JLHwung)

  • babel-traverse, babel-types

    • Mark static block as FunctionParent (@JLHwung)

  • babel-generator

:house: Internal

  • Every package

  • Other

  • babel-helper-fixtures, babel-plugin-proposal-class-properties, babel-plugin-transform-runtime, babel-preset-react

  • babel-types

    • [ts] precise return type on createTypeAnnotationBasedOnTypeof (babel-types) (@lightmare)

  • babel-helpers

    • minor: remove ineffectual helper names filter (@lightmare)

  • babel-core, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx, babel-types

    • Improve transform-react-jsx typings (@JLHwung)

:running_woman: Performance

  • babel-types

    • Simplify (transpiled) babel-types builder wrappers (@lightmare)