NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #286 most downloaded on npm
Generate source maps
Last release 4 months ago
18 May 2026
Ships fairly regularly
a new release about every 6 months
Nearly every release is documented
notes for 14 of 15 stable releases
2 versions withdrawn
withdrawn after publishing
4 years old
23 releases · first in 2022
One column per quarter.
Nothing published for this version
Use default subpath export: https://github.com/jridgewell/sourcemaps/commit/aab8d72
default subpath export: https://github.com/jridgewell/sourcemaps/commit/aab8d72export default into module.exports = in UMD plugin: https://github.com/jridgewell/sourcemaps/commit/cf85c75Full Changelog: https://github.com/jridgewell/sourcemaps/compare/gen-mapping/0.3.12...gen-mapping/0.3.13
Use Object.assign to avoid polyfill in old Node versions: https://github.com/jridgewell/sourcemaps/commit/dd0615a
Object.assign to avoid polyfill in old Node versions: https://github.com/jridgewell/sourcemaps/commit/dd0615aFull Changelog: https://github.com/jridgewell/sourcemaps/compare/gen-mapping/0.3.11...gen-mapping/0.3.12
Update UMD Wrapper to fix webpack build issue: #33
getOwnPropertyDescriptors polyfill to support Node v6: #34Full Changelog: https://github.com/jridgewell/sourcemaps/compare/gen-mapping/0.3.10...gen-mapping/0.3.11
Remove require(esm) support to fix bug with Node v22: https://github.com/jridgewell/sourcemaps/commit/e95784217661cdd44c3c1bd5b3c42bbb8a24b69c
require(esm) support to fix bug with Node v22: https://github.com/jridgewell/sourcemaps/commit/e95784217661cdd44c3c1bd5b3c42bbb8a24b69cFull Changelog: https://github.com/jridgewell/sourcemaps/compare/gen-mapping/0.3.9...gen-mapping/0.3.10
Fix package types for CJS and ESM imports: https://github.com/jridgewell/sourcemaps/commit/a924ed32ebfa27e49bc0ff4196118e791eaff22d
module-sync exports type for require(esm): https://github.com/jridgewell/sourcemaps/commit/3836f6c8aee41d47119a642c7f88042b1a8ed239Full Changelog: https://github.com/jridgewell/sourcemaps/compare/gen-mapping/0.3.5...gen-mapping/0.3.9
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add ignoreList support: https://github.com/jridgewell/gen-mapping/commit/9add0c20b3058a0f98c5d1a730405b3726479269
ignoreList support: https://github.com/jridgewell/gen-mapping/commit/9add0c20b3058a0f98c5d1a730405b3726479269Full Changelog: https://github.com/jridgewell/gen-mapping/compare/v0.3.4...v0.3.5
Full Changelog: https://github.com/jridgewell/gen-mapping/compare/v0.3.3...v0.3.4
Full Changelog: https://github.com/jridgewell/gen-mapping/compare/v0.3.3...v0.3.4
Full Changelog: https://github.com/jridgewell/gen-mapping/compare/v0.3.2...v0.3.3
Full Changelog: https://github.com/jridgewell/gen-mapping/compare/v0.3.2...v0.3.3
[meta] fix "exports" for node 13.0-13.6 by @ljharb in https://github.com/jridgewell/gen-mapping/pull/4
Full Changelog: https://github.com/jridgewell/gen-mapping/compare/v0.3.1...v0.3.2
Add ability to set content while adding marking
Full Changelog: https://github.com/jridgewell/gen-mapping/compare/v0.3.0...v0.3.1
Segments are no longer sorted by sourcesIndex/sourceLine/sourceColumn/namesIndex when inserting
Segments are no longer sorted by sourcesIndex/sourceLine/sourceColumn/namesIndex when inserting
Segments are still ordered by genColumn, since this affects the binary search algorithm when tracing. For the other fields, it's not clear that we should sort them. Instead, they're sorted in the order they were added to the map. This allows the maybeAdd* APIs to work.
maybeAdd* APIs by @jridgewell in https://github.com/jridgewell/gen-mapping/pull/1Full Changelog: https://github.com/jridgewell/gen-mapping/compare/v0.2.0...v0.3.0
Rename `decodedMap`/`encodedMap` to `toDecodedMap`/`toEncodedMap`
Full Changelog: https://github.com/jridgewell/gen-mapping/compare/v0.1.1...v0.2.0
## Bug Fixes - Use any v1 set-array version Full Changelog: https://github.com/jridgewell/gen-mapping/compare/v0.1.0...v0.1.1
Full Changelog: https://github.com/jridgewell/gen-mapping/compare/v0.1.0...v0.1.1
```typescript import { GenMapping, addMapping, setSourceContent, encodedMap } from '@jridgewell/gen-mapping';
import { GenMapping, addMapping, setSourceContent, encodedMap } from '@jridgewell/gen-mapping';
const map = new GenMapping({
file: 'output.js',
sourceRoot: 'https://example.com/',
});
setSourceContent(map, 'input.js', `function foo() {}`);
addMapping(map, {
// Lines start at line 1, columns at column 0.
generated: { line: 1, column: 0 },
source: 'input.js',
original: { line: 1, column: 0 },
});
addMapping(map, {
generated: { line: 1, column: 9 },
source: 'input.js',
original: { line: 1, column: 9 },
name: 'foo',
});
assert.deepEqual(encodedMap(map), {
version: 3,
file: 'output.js',
names: ['foo'],
sourceRoot: 'https://example.com/',
sources: ['input.js'],
sourcesContent: ['function foo() {}'],
mappings: 'AAAA,SAASA',
});
Full Changelog: https://github.com/jridgewell/gen-mapping/commits/v0.1.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →