This software encodes and decodes the `mappings` property of a source map, making it easier to work with the variable-length quantity format used for mapping segments. It is useful for developers who need to transform sourcemap mapping data to or from a structured form.
Project status
- The repository is marked as archived upstream, with the last upstream push on 2022-12-03, so it appears no longer actively maintained as of 2026-08-12.
- The observable
updatescadence is very sparse, with the newest referenced version updates at v1.4.8 on 2020-01-16 and earlier in 2020 and 2019.
AI summary generated
Recent updates
v1.4.8
Release v1.4.8 updates sourcemap-codec primarily to improve performance during sourcemap mapping decoding. The only code change is a refactor of `decode()` in `src/sourcemap-codec.ts`, plus a version bump and a changelog entry noting a performance boost.
v1.4.7
Release v1.4.7 (package.json version bump) includes packaging changes to publish dist source maps (.js.map). The actual code changes are focused on sourcemap mapping integer encoding/decoding, including fixes for extreme 32-bit values, and a change in how decode() materializes segments.
Featuresv1.4.5
Release v1.4.5 was published on 2019-07-03, but no release notes were provided by the publisher. As a result, this release cannot be assessed from the provided information for API changes, bug fixes, or security updates.
v1.4.4
Release v1.4.4 appears to adjust how sourcemap mappings are decoded, specifically the typed array used when turning encoded segments into numeric values. The release notes section is empty, so the actual behavioral change must be inferred from the code diff and tests.
v1.4.3
This release updates sourcemap-codec to improve correctness in mapping decoding by changing how segments are materialized during decode. The only functional code change in the diff is the typed array used by decode, along with corresponding test updates and a version bump.
Breakingv1.4.2
Version 1.4.2 contains a small code change aimed at performance, plus several build and tooling updates. The provided release notes are empty, so the changelog entry is the only stated intent (“GO EVEN FASTER”).
Breakingv1.4.1
Release v1.4.1 is presented with no release notes content. The changelog only mentions a performance-oriented change (“GO FASTER”), and the code diff shows a substantial rewrite of sourcemap mappings encoding/decoding logic.
v1.4.0
This release updates sourcemap-codec to use TypeScript in the source and build pipeline, adding generated type declarations to the npm package. It also upgrades several build/dev dependencies and bumps the runtime dependency on `vlq` to a newer major version.
Featuresv1.3.1
No release notes were provided for v1.3.1. The only documented change in the repository is in CHANGELOG.md, stating that the build process was updated and the package now exposes pkg.module.
v1.3.0
Release v1.3.0 was published, but the publisher provided no release notes. As a result, there is no stated information about new features, fixes, breaking changes, or required migrations.