Vigia

Upgrading convert-source-map from 1.x to 2.x

Comparison of the public API of convert-source-map 1.9.0 and 2.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths0
Removed exports0
Changed signatures2
Removed class or interface members0
Changed class or interface members1
Newly deprecated0
Requirement changes (engines, peer dependencies)0
New exports1

Removed exports

None detected.

Changed signatures

exportBeforeAfter
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>

Removed class or interface members

None detected.

Changed class or interface members

memberBeforeAfter
SourceMapConverter.toComment(options?: { multiline?: boolean | undefined; } | undefined): string(options?: { multiline?: boolean | undefined; encoding?: "uri" | undefined; } | undefined): string

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

None detected.

New exports (1)
importexportkind
convert-source-mapfromURIfunction

Frequently asked questions

What are the breaking changes when upgrading convert-source-map from 1 to 2?

Between convert-source-map 1.9.0 and 2.0.0, Vigia found 0 removed exports, 2 changed signatures and 1 removed or changed class or interface members.

What became deprecated in convert-source-map 2?

0 exports or members are newly marked as deprecated in convert-source-map 2.0.0.

For agents

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