Aktualizacja convert-source-map z 1.x do 2.x
Porównanie publicznego API convert-source-map 1.9.0 i 2.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 | 0 |
| Zmienione sygnatury | 2 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 1 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 0 |
| Nowe eksporty | 1 |
Usunięte eksporty
Nie wykryto.
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
convert-source-map · fromMapFileSource | (content: string, commentFileDir: string): SourceMapConverter | null | (content: string, readMap: (filename: string) => string): SourceMapConverter | null | (content: string, readMap: (filename: string) => Promise<string>): Promise<SourceMapConverter | null> |
convert-source-map · fromMapFileComment | (comment: string, commentFileDir: string): SourceMapConverter | (comment: string, readMap: (filename: string) => string): SourceMapConverter | (comment: string, readMap: (filename: string) => Promise<string>): Promise<SourceMapConverter> |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
SourceMapConverter.toComment | (options?: { multiline?: boolean | undefined; } | undefined): string | (options?: { multiline?: boolean | undefined; encoding?: "uri" | undefined; } | undefined): string |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
Nie wykryto.
Nowe eksporty (1)
| import | export | kind |
|---|---|---|
convert-source-map | fromURI | function |
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji convert-source-map z 1 do 2?
Między convert-source-map 1.9.0 a 2.0.0 Vigia znalazła 0 usuniętych eksportów, 2 zmienionych sygnatur i 1 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w convert-source-map 2?
0 eksportów lub składowych oznaczono w convert-source-map 2.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/convert-source-map/upgrade?from=1.9.0&to=2.0.0