@babel/parser을(를) 7.x에서 8.x로 업그레이드하기
@babel/parser 7.29.13과 8.1.2의 공개 API를 TypeScript 타입에서 자동으로 비교한 결과입니다. 시그니처 변경은 호환성이 깨질 가능성이 있다는 뜻이며 확정은 아닙니다.
요약
| 삭제된 import 경로 | 0 |
|---|---|
| 삭제된 export | 3 |
| 변경된 시그니처 | 4 |
| 삭제된 클래스·인터페이스 멤버 | 0 |
| 변경된 클래스·인터페이스 멤버 | 1 |
| 새로 지원 중단됨 | 0 |
| 요구 사항 변경 (engines, peer 의존성) | 1 |
| 새 export | 5 |
삭제된 export
| import | export | kind | 이전 |
|---|---|---|---|
@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 |
변경된 시그니처
| export | 이전 | 이후 |
|---|---|---|
@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 |
삭제된 클래스·인터페이스 멤버
감지되지 않았습니다.
변경된 클래스·인터페이스 멤버
| member | 이전 | 이후 |
|---|---|---|
PipelineOperatorPluginOptions.proposal | "minimal" | "fsharp" | "hack" | "smart" | "fsharp" | "hack" |
새로 지원 중단됨
감지되지 않았습니다.
요구 사항 변경 (engines, peer 의존성)
| 이전 | 이후 | |
|---|---|---|
engines.node | >=6.0.0 | — |
새 export (5)
| import | export | kind |
|---|---|---|
@babel/parser | File | variable |
@babel/parser | Token | class |
@babel/parser | getLine | function |
@babel/parser | getColumn | function |
@babel/parser | Expression | variable |
이 데이터를 AI 에이전트에 제공하세요
Vigia는 무료 MCP 서버입니다. 코딩 에이전트가 코드를 작성하기 전에 버전, 호환성을 깨는 변경, 취약점을 확인합니다. 가입도 API 키도 필요 없습니다.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor에 추가VS Code에 추가★ GitHub에서 스타 누르기
그 밖의 MCP 클라이언트
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }에이전트 스킬(SKILL.md): 에이전트에게 Vigia를 언제 쓸지 알려 줍니다 · 풀 리퀘스트용 GitHub Action
자주 묻는 질문
@babel/parser을(를) 7에서 8(으)로 업그레이드할 때 호환성이 깨지는 변경은 무엇인가요?
@babel/parser 7.29.13과 8.1.2 사이에서 Vigia는 삭제된 export 3개, 변경된 시그니처 4개, 삭제되거나 변경된 클래스·인터페이스 멤버 1개를 찾았습니다.
@babel/parser 8에서 지원 중단된 것은 무엇인가요?
@babel/parser 8.1.2에서 export 또는 멤버 0개가 새로 지원 중단으로 표시되었습니다.
에이전트용
GET https://vigia.coredls.cloud/v1/packages/npm/@babel/parser/upgrade?from=7.29.13&to=8.1.2