@babel/types breaking changes
Updated December 4, 2026
On this page
Latest version 8.1.5, released December 2, 2026. Source repository
Its 8.0.0 release requires Node.js 22.18.0 or later. Node.js end of life dates.
- From 7.29.15 to 8.1.3: 1,021 breaking changes in 19 versions.
- From 7.27.1 to 8.1.3: 1,440 breaking changes in 30 versions.
@babel/types 8.1.3 breaking changes
- Signature changed
ACCESSOR_TYPES
Was const ACCESSOR_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
BINARY_TYPES
Was const BINARY_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
BLOCK_TYPES
Was const BLOCK_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
BLOCKPARENT_TYPES
Was const BLOCKPARENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
CLASS_TYPES
Was const CLASS_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
COMPLETIONSTATEMENT_TYPES
Was const COMPLETIONSTATEMENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
CONDITIONAL_TYPES
Was const CONDITIONAL_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
DECLARATION_TYPES
Was const DECLARATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
ENUMBODY_TYPES
Was const ENUMBODY_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
ENUMMEMBER_TYPES
Was const ENUMMEMBER_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
EXPORTDECLARATION_TYPES
Was const EXPORTDECLARATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
EXPRESSION_TYPES
Was const EXPRESSION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
EXPRESSIONWRAPPER_TYPES
Was const EXPRESSIONWRAPPER_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
FLOW_TYPES
Was const FLOW_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
FLOWBASEANNOTATION_TYPES
Was const FLOWBASEANNOTATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
FLOWDECLARATION_TYPES
Was const FLOWDECLARATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
FLOWPREDICATE_TYPES
Was const FLOWPREDICATE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
FLOWTYPE_TYPES
Was const FLOWTYPE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
FOR_TYPES
Was const FOR_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral"... npmjs.com - Signature changed
FORXSTATEMENT_TYPES
Was const FORXSTATEMENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
FUNCTION_TYPES
Was const FUNCTION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
FUNCTIONPARAMETER_TYPES
Was const FUNCTIONPARAMETER_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
FUNCTIONPARENT_TYPES
Was const FUNCTIONPARENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
IMMUTABLE_TYPES
Was const IMMUTABLE_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
IMPORTOREXPORTDECLARATION_TYPES
Was const IMPORTOREXPORTDECLARATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" |... npmjs.com - Signature changed
is
Was function is<T extends Node["type"], P extends Extract<Node, {type: T;}>>(type: T, n: Node | null | undefined, required: Partial<P>): n is P function is<T extends Node["type"]>(type: T, node: Node | null | undefined, opts?: undefined)... npmjs.com - Signature changed
JSX_TYPES
Was const JSX_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" | "BigIntLiteral"... npmjs.com - Signature changed
LITERAL_TYPES
Was const LITERAL_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
LOOP_TYPES
Was const LOOP_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
LVAL_TYPES
Was const LVAL_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
METHOD_TYPES
Was const METHOD_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
MISCELLANEOUS_TYPES
Was const MISCELLANEOUS_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
MODULEDECLARATION_TYPES
Was const MODULEDECLARATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
MODULESPECIFIER_TYPES
Was const MODULESPECIFIER_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
OBJECTMEMBER_TYPES
Was const OBJECTMEMBER_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
ParentMaps.ArrayTypeAnnotation
Was ArrayTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation |... npmjs.com - Signature changed
ParentMaps.ArrowFunctionExpression
Was ArrowFunctionExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration |... npmjs.com - Signature changed
ParentMaps.AssignmentExpression
Was AssignmentExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration |... npmjs.com - Signature changed
ParentMaps.AwaitExpression
Was AwaitExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression |... npmjs.com - Signature changed
ParentMaps.BigIntLiteralTypeAnnotation
Was BigIntLiteralTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation |... npmjs.com - Signature changed
ParentMaps.BinaryExpression
Was BinaryExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression... npmjs.com - Signature changed
ParentMaps.BindExpression
Was BindExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression |... npmjs.com - Signature changed
ParentMaps.BooleanLiteralTypeAnnotation
Was BooleanLiteralTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation... npmjs.com - Signature changed
ParentMaps.BooleanTypeAnnotation
Was BooleanTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation |... npmjs.com - Signature changed
ParentMaps.CallExpression
Was CallExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression |... npmjs.com - Signature changed
ParentMaps.ClassExpression
Was ClassExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression |... npmjs.com - Signature changed
ParentMaps.ConditionalExpression
Was ConditionalExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration |... npmjs.com - Signature changed
ParentMaps.ContinueStatement
Was ContinueStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; now... npmjs.com - Signature changed
ParentMaps.DebuggerStatement
Was DebuggerStatement: BlockStatement | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock | WhileStatement | WithStatement; now... npmjs.com - Signature changed
ParentMaps.DeclareExportAllDeclaration
Was DeclareExportAllDeclaration: BlockStatement | DeclareExportDeclaration | DoWhileStatement | ForInStatement | ForOfStatement | ForStatement | IfStatement | LabeledStatement | Program | StaticBlock | SwitchCase | TSModuleBlock |... npmjs.com
And 143 more in this version. Sign up to see every change
@babel/types 8.1.0 breaking changes
- Signature changed
ACCESSOR_TYPES
Was const ACCESSOR_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
BINARY_TYPES
Was const BINARY_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
BLOCK_TYPES
Was const BLOCK_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
BLOCKPARENT_TYPES
Was const BLOCKPARENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
CLASS_TYPES
Was const CLASS_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
COMPLETIONSTATEMENT_TYPES
Was const COMPLETIONSTATEMENT_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
CONDITIONAL_TYPES
Was const CONDITIONAL_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
Declaration
Was type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface |... npmjs.com - Signature changed
DECLARATION_TYPES
Was const DECLARATION_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
ENUMBODY_TYPES
Was const ENUMBODY_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com
And 99 more in this version. Sign up to see every change
@babel/types 8.0.8 breaking changes
- Behavior changed
Call expressions used as arrow function parameters in sloppy mode are now a syntax error. Rewrite those parameter lists. github.com - Behavior changed
Arrow functions used directly as a new callee or an await operand are now syntax errors. Wrap them in parentheses or restructure the code. github.com - Behavior changed
Classes named eval or arguments are now a syntax error. Rename such classes. github.com - Behavior changed
With createParenthesizedExpressions enabled, delete applied to a parenthesized identifier is now a parse error. github.com - Behavior changed
Import declarations that combine named specifiers with * as ns are now a syntax error. Remove the named specifiers from such imports. github.com - Behavior changed
Code with a line break between a const binding name and of is now a syntax error. Adjust such code to parse under the new rules. github.com
@babel/types 8.0.7 breaking changes
- Behavior changed
NodePath.evaluate
Path evaluation now looks through TypeScript expression wrappers, so results for such expressions may differ from before. github.com - Behavior changed
path.evaluate
Destructured bindings are no longer evaluated by path.evaluate, so code relying on those results will see different values. github.com
@babel/types 8.0.5 breaking changes
- Behavior changed
babel-register no longer passes the parent process's execArgv to child processes. Code relying on the inherited flags must pass them explicitly. github.com - Signature changed
classMethod
Was function classMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, params: (FunctionParameter | TSParameterProperty)[], body: BlockStatement... npmjs.com - Signature changed
classProperty
Was function classProperty(key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | null, decorators?: Decorator[] | null, computed?... npmjs.com - Signature changed
exportSpecifier
Was function exportSpecifier(local: Identifier, exported: Identifier | StringLiteral): ExportSpecifier; now function exportSpecifier(local: Identifier | StringLiteral, exported: Identifier | StringLiteral): ExportSpecifier. npmjs.com - Signature changed
ExportSpecifier.local
Was local: Identifier; now local: Identifier | StringLiteral. npmjs.com - Signature changed
newExpression
Was function newExpression(callee: Expression, _arguments: (Expression | SpreadElement | ArgumentPlaceholder)[]): NewExpression; now function newExpression(callee: Expression | V8IntrinsicIdentifier, _arguments: (Expression | SpreadElement... npmjs.com - Signature changed
NewExpression.callee
Was callee: Expression; now callee: Expression | V8IntrinsicIdentifier. npmjs.com - Signature changed
ParentMaps.Identifier
Was Identifier: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | BreakStatement | CallExpression | CatchClause |... npmjs.com - Signature changed
ParentMaps.PrivateName
Was PrivateName: BinaryExpression | ClassAccessorProperty | ClassPrivateMethod | ClassPrivateProperty | MemberExpression | ObjectProperty | OptionalMemberExpression; now PrivateName: BinaryExpression | ClassAccessorProperty | ClassMethod |... npmjs.com - Signature changed
ParentMaps.TSNamedTupleMember
Was TSNamedTupleMember: TSTupleType; now TSNamedTupleMember: TSArrayType | TSAsExpression | TSConditionalType | TSIndexedAccessType | TSIntersectionType | TSMappedType | TSNamedTupleMember | TSOptionalType | TSParenthesizedType |... npmjs.com
And 8 more in this version. Sign up to see every change
@babel/types 8.0.0 breaking changes
- Removed
Babel 8 itself will not run on older Node.js versions, so upgrade Node.js before upgrading Babel. next.babeljs.io - Removed
assertDecimalLiteral
assertDecimalLiteral was removed in @babel/types 8.0.0 npmjs.com - Removed
assertNoop
assertNoop was removed in @babel/types 8.0.0 npmjs.com - Removed
assertPipelineBareFunction
assertPipelineBareFunction was removed in @babel/types 8.0.0 npmjs.com - Removed
assertPipelinePrimaryTopicReference
assertPipelinePrimaryTopicReference was removed in @babel/types 8.0.0 npmjs.com - Removed
assertPipelineTopicExpression
assertPipelineTopicExpression was removed in @babel/types 8.0.0 npmjs.com - Removed
assertRecordExpression
assertRecordExpression was removed in @babel/types 8.0.0 npmjs.com - Removed
assertTSExpressionWithTypeArguments
assertTSExpressionWithTypeArguments was removed in @babel/types 8.0.0 npmjs.com - Removed
assertTupleExpression
assertTupleExpression was removed in @babel/types 8.0.0 npmjs.com - Removed
BinaryExpression.end
BinaryExpression.end was removed in @babel/types 8.0.0 npmjs.com
And 633 more in this version. Sign up to see every change
Older versions
25 older versions, each with its first changes. Sign up to see every change
Show 25 older versions
@babel/types 8.0.0-rc.5 breaking changes
- Behavior changed
The package now requires a newer Node.js version range. Users on older Node.js versions must upgrade before using it. github.com
@babel/types 8.0.0-rc.1 breaking changes
- Removed
Smart pipeline support is removed and an accessor property is removed from a Standardized alias. Code relying on these must be updated. github.com
@babel/types 8.0.0-beta.4 breaking changes
- Removed
Records and Tuples support is fully removed, so code that depends on those node types or features will no longer work. github.com - Removed
Import assertions are no longer supported; use import attributes instead. github.com
And 3 more in this version.
@babel/types 8.0.0-beta.1 breaking changes
- Behavior changed
LVal coverage was updated in Babel 8 beta 1, which changes which node types are treated as assignment targets. github.com
@babel/types 8.0.0-beta.0 breaking changes
- Removed
Babel 8 beta requires a newer Node.js version. Upgrade Node.js before using this package. github.com - Removed
BLOCK_SCOPED_SYMBOL
The BLOCK_SCOPED_SYMBOL export was removed in Babel 8 beta. Code that imports it must stop using it. github.com
And 3 more in this version.
@babel/types 8.0.0-alpha.17 breaking changes
- Behavior changed
TSHeritageBase.expression
The expression field of TSHeritageBase is parsed as an expression node. Update code that expects the old shape. github.com
@babel/types 8.0.0-alpha.16 breaking changes
- Removed
Type declarations for TypeScript 4.0 and older are no longer shipped. Users on those TypeScript versions must upgrade. github.com - Behavior changed
ExportNamedDeclaration
The export import = syntax now produces an ExportNamedDeclaration node. Code that handles it must be updated. github.com
@babel/types 8.0.0-alpha.15 breaking changes
- Removed
TSImportType.typeParameters
The typeParameters field of TSImportType is now typeArguments. npmjs.com - Removed
TSTypeQuery.typeParameters
The typeParameters field of TSTypeQuery is now typeArguments. npmjs.com
And 5 more in this version.
@babel/types 8.0.0-alpha.14 breaking changes
- Removed
TSModuleDeclaration.global
The global field on TSModuleDeclaration is removed. Code that reads it must be changed. npmjs.com - Removed
TSTypeReference.typeParameters
The typeParameters field is now typeArguments. Update code that reads or sets it. npmjs.com
And 2 more in this version.
@babel/types 8.0.0-alpha.13 breaking changes
- Removed
DecimalLiteral
The DecimalLiteral node type is removed. Code that creates or checks it must be changed. github.com - Renamed
TsExpressionWithTypeArguments
TsExpressionWithTypeArguments is replaced by TSClassImplements or TSInterfaceHeritage. Update code that builds or checks this node. github.com
And 5 more in this version.
@babel/types 8.0.0-alpha.9 breaking changes
- Behavior changed
Every package now requires Node.js ^18.20.0, ^20.10.0 or >=21.0.0. Upgrade Node.js before using this version. github.com - Configuration changed
Babel 8 packages require Node.js ^18.20.0, ^20.10.0 or 21 and later; older Node.js versions are no longer supported. github.com
@babel/types 8.0.0-alpha.5 breaking changes
- Removed
toSequenceExpression
toSequenceExpression is inlined into @babel/traverse and no longer exported from @babel/types. github.com
@babel/types 8.0.0-alpha.0 breaking changes
- Removed
Builders that existed only for backwards compatibility are removed, so code calling them must switch to the current builders. github.com - Removed
MemberExpression.optional
The optional field on MemberExpression nodes is removed, so code reading or setting it must change. npmjs.com
And 11 more in this version.
@babel/types 7.29.15 breaking changes
- Signature changed
is
Was function is<T extends Node["type"], P extends Extract<Node, {type: T;}>>(type: T, n: Node | null | undefined, required: Partial<P>): n is P function is<T extends Node["type"]>(type: T, node: Node | null | undefined, opts?: undefined)... npmjs.com
@babel/types 7.29.14 breaking changes
- Behavior changed
The parser now requires a parenthesis after import.source, import.defer and import.sync, so code that omitted it will fail to parse. github.com
@babel/types 7.29.13 breaking changes
- Behavior changed
Parser now disallows access to new import properties that were previously accepted, so code using them may fail to parse. github.com
@babel/types 7.29.8 breaking changes
- Removed
NewExpression.optional
newExpression().optional was removed in @babel/types 7.29.8 npmjs.com - Behavior changed
Code that writes a super call directly after new is now rejected as invalid syntax, so such code must be rewritten. github.com
And 5 more in this version.
@babel/types 7.29.0 breaking changes
- Signature changed
exportAllDeclaration
Was function exportAllDeclaration(source: StringLiteral): ExportAllDeclaration; now function exportAllDeclaration(source: StringLiteral, attributes?: ImportAttribute[] | null): ExportAllDeclaration. npmjs.com - Signature changed
exportNamedDeclaration
Was function exportNamedDeclaration(declaration?: Declaration | null, specifiers?: (ExportSpecifier | ExportDefaultSpecifier | ExportNamespaceSpecifier)[], source?: StringLiteral | null): ExportNamedDeclaration; now function... npmjs.com
And 1 more in this version.
@babel/types 7.28.6 breaking changes
- Signature changed
TraversalAncestors
Was type TraversalAncestors = Array<{node: Node; key: string; index?: number;}>; now type TraversalAncestors = {node: Node; key: string; index?: number;}[]. npmjs.com
@babel/types 7.28.5 breaking changes
- Signature changed
isAccessor
Was function isAccessor(node: Node | null | undefined, opts?: Opts<Accessor> | null): node is Accessor; now function isAccessor(node: Node | null | undefined): node is Accessor function isAccessor<Opts extends Options<Accessor>>(node: Node... npmjs.com - Signature changed
isAnyTypeAnnotation
Was function isAnyTypeAnnotation(node: Node | null | undefined, opts?: Opts<AnyTypeAnnotation> | null): node is AnyTypeAnnotation; now function isAnyTypeAnnotation(node: Node | null | undefined): node is AnyTypeAnnotation function... npmjs.com
And 311 more in this version.
@babel/types 7.28.2 breaking changes
- Signature changed
tsTypeOperator
Was function tsTypeOperator(typeAnnotation: TSType, operator: string): TSTypeOperator; now function tsTypeOperator(typeAnnotation: TSType, operator?: string): TSTypeOperator. npmjs.com - Signature changed
tSTypeOperator
Was function tsTypeOperator(typeAnnotation: TSType, operator: string): TSTypeOperator; now function tsTypeOperator(typeAnnotation: TSType, operator?: string): TSTypeOperator. npmjs.com
@babel/types 7.28.1 breaking changes
- Signature changed
assignmentExpression
Was function assignmentExpression(operator: string, left: LVal, right: Expression): AssignmentExpression; now function assignmentExpression(operator: string, left: LVal | OptionalMemberExpression, right: Expression): AssignmentExpression. npmjs.com - Signature changed
AssignmentExpression.left
Was left: LVal; now left: LVal | OptionalMemberExpression. npmjs.com
And 1 more in this version.
@babel/types 7.28.0 breaking changes
- Signature changed
ACCESSOR_TYPES
Was const ACCESSOR_TYPES: ("AnyTypeAnnotation" | "ArgumentPlaceholder" | "ArrayExpression" | "ArrayPattern" | "ArrayTypeAnnotation" | "ArrowFunctionExpression" | "AssignmentExpression" | "AssignmentPattern" | "AwaitExpression" |... npmjs.com - Signature changed
arrayPattern
Was function arrayPattern(elements: Array<null | PatternLike | LVal>): ArrayPattern; now function arrayPattern(elements: Array<null | PatternLike>): ArrayPattern. npmjs.com
And 83 more in this version.
@babel/types 7.27.7 breaking changes
- Behavior changed
The parser now disables the using declaration in ambient contexts, so code that previously parsed there will now fail to parse. github.com - Behavior changed
The parser's allow* options are now interpreted only at the top level, so nested code may be parsed differently. Check any configuration that relies on these options. github.com
@babel/types 7.27.1 breaking changes
- Behavior changed
TSImportType options are now parsed more strictly by babel-parser and babel-types, so previously accepted option shapes may now be rejected. github.com - Signature changed
__internal__deprecationWarning
Was function deprecationWarning(oldName: string, newName: string, prefix?: string): void; now function deprecationWarning(oldName: string, newName: string, prefix?: string, cacheKey?: string): void. npmjs.com
And 50 more in this version.
Related packages
- @babel/plugin-transform-parameters
- @babel/core
- @babel/traverse
- @babel/plugin-transform-modules-commonjs
- @babel/parser
- @babel/helpers
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.