Vigia

Nâng cấp convert-source-map từ 1.x lên 2.x

So sánh API công khai của convert-source-map 1.9.0 và 2.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óa0
Chữ ký thay đổi2
Thành viên lớp hoặc interface bị xóa0
Thành viên lớp hoặc interface thay đổi1
Mới bị ngừng hỗ trợ0
Thay đổi yêu cầu (engines, phụ thuộc peer)0
Export mới1

Export bị xóa

Không phát hiện.

Chữ ký thay đổi

exportTrướcSau
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>

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
SourceMapConverter.toComment(options?: { multiline?: boolean | undefined; } | undefined): string(options?: { multiline?: boolean | undefined; encoding?: "uri" | undefined; } | undefined): string

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

Không phát hiện.

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

Không phát hiện.

Export mới (1)
importexportkind
convert-source-mapfromURIfunction

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

Nâng cấp convert-source-map từ 1 lên 2 có những thay đổi không tương thích nào?

Giữa convert-source-map 1.9.0 và 2.0.0, Vigia tìm thấy 0 export bị xóa, 2 chữ ký thay đổi và 1 thành viên lớp hoặc interface bị xóa hay thay đổi.

Những gì bị ngừng hỗ trợ trong convert-source-map 2?

0 export hoặc thành viên mới bị đánh dấu ngừng hỗ trợ trong convert-source-map 2.0.0.

Dành cho tác tử

GET https://vigia.coredls.cloud/v1/packages/npm/convert-source-map/upgrade?from=1.9.0&to=2.0.0