Aktualizacja source-map-js z 0.x do 1.x
Porównanie publicznego API source-map-js 0.6.2 i 1.2.2, 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 | 0 |
| Zmienione sygnatury | 0 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 10 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 1 |
| Nowe eksporty | 0 |
Usunięte eksporty
Nie wykryto.
Zmienione sygnatury
Nie wykryto.
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
Mapping.name | string | undefined | string | null | undefined |
Mapping.source | string | string | null | undefined |
Mapping.original | Position | Position | null | undefined |
MappingItem.name | string | string | null |
MappingItem.source | string | string | null |
MappingItem.originalLine | number | number | null |
MappingItem.originalColumn | number | number | null |
SourceMapConsumer.sourceContentFor | (source: string, returnNullOnMissing?: boolean | undefined): string | (source: string, returnNullOnMissing?: boolean | undefined): string | null |
SourceMapGenerator.setSourceContent | (sourceFile: string, sourceContent: string): void | (sourceFile: string, sourceContent: string | null | undefined): void |
SourceMapGenerator.static fromSourceMap | (sourceMapConsumer: SourceMapConsumer): SourceMapGenerator | (sourceMapConsumer: SourceMapConsumer, startOfSourceMap?: StartOfSourceMap | undefined): SourceMapGenerator |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
engines.node | >=0.10.0 | — |
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji source-map-js z 0 do 1?
Między source-map-js 0.6.2 a 1.2.2 Vigia znalazła 0 usuniętych eksportów, 0 zmienionych sygnatur i 10 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w source-map-js 1?
0 eksportów lub składowych oznaczono w source-map-js 1.2.2 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/source-map-js/upgrade?from=0.6.2&to=1.2.2