# What changed in @babel/code-frame

> 22 changes in @babel/code-frame 8 from its official release notes, upgrade guides and advisories: 19 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-24. HTML: https://unstale.sh/npm/@babel/code-frame/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @babel/code-frame 8

### Breaking changes

- BigIntLiteral.value is a bigint rather than a string; use toString() for its string representation. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- The typeParameters field is renamed to typeArguments across the listed expression and TypeScript AST nodes. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- The superTypeParameters field is renamed to superTypeArguments in ClassDeclaration and ClassExpression. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- The column passed to codeFrameColumns is now 0-based, matching @babel/parser AST locations. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- TSParenthesizedType is no longer generated unless createParenthesizedExpression is enabled; node.extra.parenthesized can detect parentheses when disabled. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- The default export was removed; migrate to the `codeFrameColumns` API. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- Dynamic import() is represented by an ImportExpression node instead of a CallExpression with an Import callee. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- Babel is shipped as native ECMAScript modules. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration)
- Babel 8 packages require Node.js ^22.18.0 || >=24.11.0; older Node versions cannot run Babel. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration)
- The parameters field is renamed to params. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- The typeAnnotation field is renamed to returnType. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- Class implements entries use TSClassImplements instead of TSExpressionWithTypeArguments. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- Enum members are wrapped in a TSEnumBody node under the body property. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- An exported TSImportEqualsDeclaration is represented inside an ExportNamedDeclaration; its isExport field is removed. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- The argument field is renamed to source. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- Interface heritage entries use TSInterfaceHeritage instead of TSExpressionWithTypeArguments. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- The typeParameter property is flattened into key and constraint properties on TSMappedType. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- Interpolated template literal types produce TSTemplateLiteralType nodes; templates without interpolation retain their existing AST shape. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
- TSTypeParameter.name is an Identifier node rather than a plain string. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)

### New APIs and options

- When both estree and typescript parser plugins are enabled, the parser creates TSAbstractMethodDefinition and TSPropertyDefinition nodes. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)

### Behavior and default changes

- Dotted namespace names are represented as a single TSModuleDeclaration with a TSQualifiedName name. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)

### Fixes and other changes

- TSTypeQuery.exprName can be a ThisExpression instead of an Identifier for typeof this. (8.0.0) — [upgrade guide](https://babel.dev/docs/v8-migration-api)
