Upgrading @babel/parser from 7.x to 8.x
Comparison of the public API of @babel/parser 7.29.9 and 8.0.7, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 3 |
| Changed signatures | 4 |
| Removed class or interface members | 0 |
| Changed class or interface members | 1 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 5 |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
@babel/parser | DecoratorsPluginOptions | interface | interface |
@babel/parser | ParserPluginWithOptions | type | ["decorators", DecoratorsPluginOptions] | ["discardBinding", { syntaxType: "void"; }] | ["estree", { classFeatures?: boolean | undefined; }] | ["importAttributes", { deprecatedAssertSyntax: boolean; }] | ["moduleAttributes", { version: "may-2020"; }] | ["optionalChainingAssign", { version: "2023-07"; }] | ["pipelineOperator", PipelineOperatorPluginOptions] | ["recordAndTuple", RecordAndTuplePluginOptions] | ["flow", { all?: boolean | undefined; }] | ["typescript", TypeScriptPluginOptions] |
@babel/parser | RecordAndTuplePluginOptions | interface | interface |
Changed signatures
| export | Before | After |
|---|---|---|
@babel/parser · tokTypes | { [name: string]: any; } | Record<string, ExportedTokenType> |
@babel/parser · ParseError | SyntaxError & ParseErrorSpecification<object> | SyntaxError & ({ missingPlugin?: string | string[] | undefined; loc: Position; pos: number; } & ErrorInfo) |
@babel/parser · ParseResult | Result & { comments: File; errors: ParseError[] | null; tokens?: any; } | Result & { comments: File; errors: ParseError[]; tokens?: any; } |
@babel/parser · FlowPluginOptions | { all?: boolean | undefined; } | interface |
Removed class or interface members
None detected.
Changed class or interface members
| member | Before | After |
|---|---|---|
PipelineOperatorPluginOptions.proposal | "minimal" | "fsharp" | "hack" | "smart" | "fsharp" | "hack" |
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | >=6.0.0 | ^22.18.0 || >=24.11.0 |
New exports (5)
| import | export | kind |
|---|---|---|
@babel/parser | File | variable |
@babel/parser | Token | class |
@babel/parser | getLine | function |
@babel/parser | getColumn | function |
@babel/parser | Expression | variable |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading @babel/parser from 7 to 8?
Between @babel/parser 7.29.9 and 8.0.7, Vigia found 3 removed exports, 4 changed signatures and 1 removed or changed class or interface members.
What became deprecated in @babel/parser 8?
0 exports or members are newly marked as deprecated in @babel/parser 8.0.7.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@babel/parser/upgrade?from=7.29.9&to=8.0.7