---
title: "@babel/code-frame 8.0.0 Breaking Changes on npm | Since.dev"
description: "What each @babel/code-frame release removed, renamed or changed: 14 breaking changes in 7 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@babel/code-frame
last_updated: 2026-12-04
---

# @babel/code-frame breaking changes

@babel/code-frame 8.0.0 (June 16, 2026) is its newest release with breaking changes, 7 of them. The first: Removed BabelCodeFrameOptions. Every breaking API change we have recorded in @babel/code-frame on npm: 14 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.1.5`, released December 2, 2026. [Source repository](https://github.com/babel/babel)

Its 8.0.0-alpha.13 release requires Node.js 18.20.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [7.29.2](#v-7-29-2) to [8.0.0](#v-8-0-0): 13 breaking changes in 6 versions.

## @babel/code-frame 8.0.0 breaking changes

@babel/code-frame 8.0.0, released June 16, 2026: 7 breaking changes.

- **Removed** `BabelCodeFrameOptions`  

BabelCodeFrameOptions was removed in @babel/code-frame 8.0.0 [npmjs.com](https://www.npmjs.com/package/@babel/code-frame/v/8.0.0)
- **Removed** `default`  

default was removed in @babel/code-frame 8.0.0 [npmjs.com](https://www.npmjs.com/package/@babel/code-frame/v/8.0.0)
- **Removed** `SourceLocation`  

SourceLocation was removed in @babel/code-frame 8.0.0 [npmjs.com](https://www.npmjs.com/package/@babel/code-frame/v/8.0.0)
- **Behavior changed**  

All Babel 8 packages need Node.js ^22.18.0 or >=24.11.0 to run. Users on older Node.js versions must upgrade Node.js before running Babel 8. [next.babeljs.io](https://next.babeljs.io/docs/v8-migration)
- **Behavior changed**  

Babel is now shipped as native ECMAScript modules, so code that loads Babel packages with require() must switch to import. [next.babeljs.io](https://next.babeljs.io/docs/v8-migration)
- **Signature changed** `codeFrameColumns`  

Was function codeFrameColumns(rawLines: string, location: SourceLocation, options?: BabelCodeFrameOptions): string; now function codeFrameColumns(rawLines: string, loc: NodeLocation, opts?: Options): string. [npmjs.com](https://www.npmjs.com/package/@babel/code-frame/v/8.0.0)
- **Signature changed** `highlight`  

Was function highlight(code: string): string; now function highlight(text: string): string. [npmjs.com](https://www.npmjs.com/package/@babel/code-frame/v/8.0.0)

## @babel/code-frame 8.0.0-beta.0 breaking changes

@babel/code-frame 8.0.0-beta.0, released June 16, 2026: 1 breaking change.

- **Removed**  

The release raises the Node.js requirement for all Babel packages. Users on older Node.js versions must upgrade Node.js before installing this version. [github.com](https://github.com/babel/babel/releases/tag/v8.0.0-beta.0)

## @babel/code-frame 8.0.0-alpha.13 breaking changes

@babel/code-frame 8.0.0-alpha.13, released June 16, 2026: 1 breaking change.

- **Removed**  

The release raises the Node.js requirement for every Babel package again. Users on older Node.js versions must upgrade Node.js before installing this version. [github.com](https://github.com/babel/babel/releases/tag/v8.0.0-alpha.13)

## @babel/code-frame 8.0.0-alpha.9 breaking changes

@babel/code-frame 8.0.0-alpha.9, released June 16, 2026: 1 breaking change.

- **Removed**  

The release raises the Node.js requirement for every Babel package. Users on older Node.js versions must upgrade Node.js before installing this version. [github.com](https://github.com/babel/babel/releases/tag/v8.0.0-alpha.9)

## @babel/code-frame 8.0.0-alpha.1 breaking changes

@babel/code-frame 8.0.0-alpha.1, released June 16, 2026: 1 breaking change.

- **Removed** `getChalk`  

The getChalk function was removed from babel-code-frame. Code that calls it must stop using it. [github.com](https://github.com/babel/babel/releases/tag/v8.0.0-alpha.1)

## @babel/code-frame 8.0.0-alpha.0 breaking changes

@babel/code-frame 8.0.0-alpha.0, released June 16, 2026: 2 breaking changes.

- **Behavior changed**  

Babel 8 requires Node.js ^16.20.0, ^18.16.0 or >=20.0.0. Users on older Node.js versions must upgrade before using it. [github.com](https://github.com/babel/babel/releases/tag/v8.0.0-alpha.0)
- **Behavior changed**  

The highlighted output of the code frame changes in Babel 8, so code that depends on the exact highlighted text may need updating. [github.com](https://github.com/babel/babel/releases/tag/v8.0.0-alpha.0)

## Older versions

1 older version.

### @babel/code-frame 7.29.2 breaking changes

@babel/code-frame 7.29.2, released May 25, 2026: 1 breaking change.

- **Behavior changed**  

The parser now follows the spec for async arrow functions, so code that previously parsed may now be rejected as a syntax error. Move affected async arrow functions to a leading position in the expression. [github.com](https://github.com/babel/babel/releases/tag/v7.29.2)

## Related packages

- [@babel/plugin-transform-parameters](https://since.dev/packages/npm/@babel/plugin-transform-parameters.md)
- [@babel/core](https://since.dev/packages/npm/@babel/core.md)
- [@babel/traverse](https://since.dev/packages/npm/@babel/traverse.md)
- [@babel/plugin-transform-modules-commonjs](https://since.dev/packages/npm/@babel/plugin-transform-modules-commonjs.md)
- [@babel/parser](https://since.dev/packages/npm/@babel/parser.md)
- [@babel/helpers](https://since.dev/packages/npm/@babel/helpers.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
