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 paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 2 |
| Removed class or interface members | 0 |
| Changed class or interface members | 1 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 0 |
| New exports | 1 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
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
| member | Before | After |
|---|---|---|
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)
| import | export | kind |
|---|---|---|
convert-source-map | fromURI | function |
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