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

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

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