Vigia

Nâng cấp @babel/helper-module-imports từ 7.x lên 8.x

So sánh API công khai của @babel/helper-module-imports 7.29.7 và 8.0.0, được tính tự động từ kiểu TypeScript. Chữ ký thay đổi là thay đổi có thể không tương thích, không phải điều chắc chắn.

Tóm tắt

Đường dẫn import bị xóa0
Export bị xóa1
Chữ ký thay đổi3
Thành viên lớp hoặc interface bị xóa0
Thành viên lớp hoặc interface thay đổi4
Mới bị ngừng hỗ trợ0
Thay đổi yêu cầu (engines, phụ thuộc peer)1
Export mới0

Export bị xóa

importexportkindTrước
@babel/helper-module-importsImportOptionsinterfaceinterface

Chữ ký thay đổi

exportTrướcSau
@babel/helper-module-imports · addDefault(path: NodePath, importedSource: string, opts?: Partial<ImportOptions> | undefined): t.Identifier(path: NodePath, importedSource: string, opts?: Partial<ImportOptions> | undefined): any
@babel/helper-module-imports · addNamespace(path: NodePath, importedSource: string, opts?: Partial<ImportOptions> | undefined): t.Identifier(path: NodePath, importedSource: string, opts?: Partial<ImportOptions> | undefined): any
@babel/helper-module-imports · addSideEffect(path: NodePath, importedSource: string, opts?: Partial<ImportOptions> | undefined): void(path: NodePath, importedSource: string, opts?: Partial<ImportOptions> | undefined): any

Thành viên lớp hoặc interface bị xóa

Không phát hiện.

Thành viên lớp hoặc interface thay đổi

memberTrướcSau
ImportInjector.addNamed(importName: string, importedSourceIn: string, opts: Partial<ImportOptions>): t.Identifier(importName: string, importedSourceIn: string, opts: Partial<ImportOptions> | undefined): any
ImportInjector.addDefault(importedSourceIn: string, opts: Partial<ImportOptions>): t.Identifier(importedSourceIn: string, opts: Partial<ImportOptions> | undefined): any
ImportInjector.addNamespace(importedSourceIn: string, opts: Partial<ImportOptions>): t.Identifier(importedSourceIn: string, opts: Partial<ImportOptions> | undefined): any
ImportInjector.addSideEffect(importedSourceIn: string, opts: Partial<ImportOptions>): void(importedSourceIn: string, opts: Partial<ImportOptions> | undefined): any

Mới bị ngừng hỗ trợ

Không phát hiện.

Thay đổi yêu cầu (engines, phụ thuộc peer)

TrướcSau
engines.node>=6.9.0^22.18.0 || >=24.11.0

Câu hỏi thường gặp

Nâng cấp @babel/helper-module-imports từ 7 lên 8 có những thay đổi không tương thích nào?

Giữa @babel/helper-module-imports 7.29.7 và 8.0.0, Vigia tìm thấy 1 export bị xóa, 3 chữ ký thay đổi và 4 thành viên lớp hoặc interface bị xóa hay thay đổi.

Những gì bị ngừng hỗ trợ trong @babel/helper-module-imports 8?

0 export hoặc thành viên mới bị đánh dấu ngừng hỗ trợ trong @babel/helper-module-imports 8.0.0.

Dành cho tác tử

GET https://vigia.coredls.cloud/v1/packages/npm/@babel/helper-module-imports/upgrade?from=7.29.7&to=8.0.0