convert-source-map is a JavaScript utility for converting source maps between different formats, such as turning inline `sourceMappingURL` comments and JSON forms into each other. It also supports reading source maps from files via a caller-provided `readMap` function (sync or async), and modifying map properties (add, set) and emitting updated inline or file-linking comments.
Project status
- Maintenance status: The GitHub repo shows an upstream push as recently as 2025-03-27, which suggests ongoing maintenance, but the provided “recent update summaries” only go up through v2.0.0 (2022-10-17), so the exact release activity since then is unclear.
- Update cadence: Based on the available version history, updates were spaced out (v1.8.0 in 2021-06, v1.9.0 in 2022-10, v2.0.0 in 2022-10), and there is no evidence here of further published updates after v2.0.0.
AI summary generated Today
Recent updates
v2.0.0
10/17/2022v2.0.0 introduces URI (percent-encoded JSON) support for source map payloads and adds a new, more flexible mechanism for reading external map files (sync or async via a callback). It also refactors the comment parsing and encoding logic and raises the minimum supported Node.js version. Release notes were not provided for this version.
BreakingFeaturesv1.9.0
10/10/2022Release v1.9.0 updates the internal base64 encode/decode logic in index.js to remove the safe-buffer dependency and use native Buffer, or browser atob/btoa as a fallback. It also replaces the legacy Travis CI configuration with a GitHub Actions workflow that tests across a wide range of Node.js versions and updates the README badge.
v1.8.0
6/18/2021Release v1.8.0 was published on 2021-06-18, but no release notes were provided by the publisher. As a result, this release cannot be assessed for new features, breaking changes, bug fixes, security updates, performance improvements, or migration steps based solely on the provided information.
v1.7.0
11/6/2019Release v1.7.0 contains a very small change: the package metadata in package.json was updated. No functional code changes were shown in the provided diff, but bundler behavior for the Node core module fs is modified via the new browser field.
v1.6.0
9/4/2018v1.6.0 makes a small internal change to how the library encodes and decodes base64, switching from Node's deprecated Buffer constructor usage to safe-buffer. Release notes are not provided, so the documented change scope is unknown.
Securityv1.5.1
11/23/2017Version 1.5.1 makes small changes to sourceMappingURL comment matching and improves the addProperty error message wording. The npm package metadata was also tightened to only include index.js in the published files.
v1.5.0
3/27/2017Release v1.5.0 has no provided release notes. The code changes are small but meaningful: the module now exposes `commentRegex` and `mapFileCommentRegex` as getters that return a fresh `RegExp` instance on each access, affecting regex identity and `lastIndex` behavior.
Breakingv1.4.0
2/13/2017Version v1.4.0 updates how inline source map comments are parsed and generated, and modernizes the project tooling and test environment. The core behavioral changes are around sourcemap data URI handling (charset and regex behavior) and removal of an alternate “largeSource” parsing path.
Breakingv1.3.0
7/22/2016Release v1.3.0 changes the way file paths are constructed when reading from a source map file map. The only code modification is switching from path.join to path.resolve in index.js.
v1.2.0
2/26/2016Release v1.2.0 is published, but no release notes were provided by the publisher. Because the release notes are missing, this analysis cannot identify specific new features, bug fixes, breaking changes, or other developer-impacting modifications from the provided data.