Aktualizacja @babel/helper-module-imports z 7.x do 8.x
Porównanie publicznego API @babel/helper-module-imports 7.29.7 i 8.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 1 |
| Zmienione sygnatury | 3 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 4 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 1 |
| Nowe eksporty | 0 |
Usunięte eksporty
| import | export | kind | Przed |
|---|---|---|---|
@babel/helper-module-imports | ImportOptions | interface | interface |
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
@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 |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
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 |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
engines.node | >=6.9.0 | ^22.18.0 || >=24.11.0 |
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji @babel/helper-module-imports z 7 do 8?
Między @babel/helper-module-imports 7.29.7 a 8.0.0 Vigia znalazła 1 usuniętych eksportów, 3 zmienionych sygnatur i 4 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w @babel/helper-module-imports 8?
0 eksportów lub składowych oznaczono w @babel/helper-module-imports 8.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/@babel/helper-module-imports/upgrade?from=7.29.7&to=8.0.0