---
title: "source-map-js 1.2.4: release notes, upgrades and advisories"
description: "source-map-js 1.2.4: release notes, breaking changes by major version and 1 known advisory with their fix."
url: https://inlinr.com/packages/source-map-js
lang: en
---

[Packages](https://inlinr.com/packages)

# source-map-js

1.2.4 · 19 Nov 2026 BSD-3-Clause 312.6M / week [Repository](https://github.com/7rulnik/source-map-js) [npm](https://www.npmjs.com/package/source-map-js) [Atom feed](https://inlinr.com/packages/feed/source-map-js)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/source-map-js/upgrade)

LineNewestSecurity

- 1.x 1.2.4 Safe from 1.2.2 Latest line
- 0.x 0.6.2 No known advisory [To 1.2.4](https://inlinr.com/packages/source-map-js/upgrade/0.6.2-1.2.4)

## Latest releases

1. 1.x · latest line
2. ### [1.2.4](https://inlinr.com/packages/source-map-js/releases/1.2.4 "Open this release") [](https://github.com/7rulnik/source-map-js/releases/tag/v1.2.4 "Read this release where it was published")  
19 Nov 2026

  - Fix `originalPositionFor` returning nulls at the first column of a section  
  Reported
  - Fix a section's column offset being applied to its second line instead of its first  
  This affected sections with both a line and a column offset, in `eachMapping`, `generatedPositionFor`, `SourceMapGenerator.fromSourceMap` and `SourceNode.fromStringWithSourceMap`.
  - Support `allGeneratedPositionsFor`  
  It threw `TypeError: this._findSourceIndex is not a function`. It now returns the same results as for the equivalent map without sections, with positions from every section that has the source. `generatedPositionFor` on nested index maps threw the same error and works now too.
3. ### [1.2.3](https://inlinr.com/packages/source-map-js/releases/1.2.3 "Open this release") [](https://github.com/7rulnik/source-map-js/releases/tag/v1.2.3 "Read this release where it was published")  
18 Nov 2026

  - Fix CSP violation reported in browsers that don't permit unsafe-eval  
  Reported by [@Viktor-Ivliev](https://github.com/Viktor-Ivliev "https://github.com/Viktor-Ivliev") in [#81](https://github.com/7rulnik/source-map-js/issues/81 "https://github.com/7rulnik/source-map-js/issues/81"). The library no longer uses `new Function` at all. As a side effect, sorting mappings is \~40% faster on Node 22, 24 and 26: consuming source maps is up to 40% faster, and `SourceMapConsumer.fromSourceMap` 20–40% faster.
4. ### [1.2.2](https://inlinr.com/packages/source-map-js/releases/1.2.2 "Open this release") [](https://github.com/7rulnik/source-map-js/releases/tag/v1.2.2 "Read this release where it was published")  
30 Sep 2026

  - Security  
  Fix denial of service from malicious indexed source maps (CVE-2026-93749)  
  Reported
  - Fix crash when executing in browser with CSP script-src that don't permit unsafe-eval

Dependency tracking

## Know when your own dependencies move

source-map-js had 1 security advisory in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[Details](https://inlinr.com/packages/source-map-js/security)

- [source-map-js allows event-loop denial of service through indexed source-map section offsets](https://inlinr.com/advisories/GHSA-68fv-2mgg-jv7q) High · fixed in 1.2.2

## Health

[Details](https://inlinr.com/packages/source-map-js/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

Reading releases, release notes and advisories…

Registry facts last checked 20 Nov 2026\. Releases and advisories last read 20 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
