Skip to content

chore(deps): update dependency source-map-js@>=1.0.0 <1.2.2 to v1.3.0 (main) - #8574

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/main-source-map-js-=1.0.0-1.2.2-1.x
Dec 3, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/main-source-map-js-=1.0.0-1.2.2-1.x

Conversation

@renovate

@renovate renovate Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
source-map-js@>=1.0.0 <1.2.2 1.2.4 → 1.3.0 age confidence

Release Notes

7rulnik/source-map-js (source-map-js@>=1.0.0 <1.2.2)

v1.3.0

Compare Source

Minor Changes
  • Add SourceMapConsumer#ignoreList, the indices of the sources that are third-party code, and keep it in SourceMapGenerator.fromSourceMap() (#​125)

    The consumer reads the map's ignoreList, or the deprecated x_google_ignoreList when there's no ignoreList. For an indexed map, it covers the sources of every section. A generator created with SourceMapGenerator.fromSourceMap() writes the consumer's ignored sources to ignoreList.

Patch Changes
  • Fix SourceMapGenerator.fromSourceMap() throwing on the consumer of an index source map (#​132)

    It threw Cannot read properties of undefined (reading 'replace') for an index map with sources, and "<source>" is not in the SourceMap. for one with a source without content.

  • Fix SourceMapConsumer#file on index source maps: it was always undefined, even when the map has a file (#​130)

    SourceMapGenerator#applySourceMap() can now take the source file from an index map's file, as it does from a regular source map's. As ECMA-426 asks, a file that isn't a string is read as null. An index map without file still gives undefined.

  • Fix eachMapping() on index source maps dropping the name of every mapping that uses the first entry of a section's names (#​128)

    SourceNode.fromStringWithSourceMap() lost those names too, since it reads the mappings with eachMapping(). originalPositionFor() wasn't affected. A name index outside a section's names now gives no name instead of throwing, as ECMA-426 allows.

  • Fix SourceMapGenerator#applySourceMap() and SourceNode.fromStringWithSourceMap() throwing "<source>" is not in the SourceMap. for an index source map with a source that has no content (#​131)

  • Fix index source maps throwing Support for url field in sections not implemented on a section that has both map and url (#​123)

    The section's map is now used and url is ignored, as ECMA-426 asks for properties it doesn't define. A section with a url and no map still throws.

  • Fix sourceContentFor() on index source maps throwing for a source that's in the map but has no content; it now returns null, as on regular source maps (#​142)

    A source that isn't in the map still throws "<source>" is not in the SourceMap.

  • Fix eachMapping() on index source maps giving a mapping without an original position the source "." instead of null (#​129)

    Also fix SourceNode.fromStringWithSourceMap() throwing Cannot read properties of null (reading 'match') when it's given a relative path and the source map has code without an original position.

  • Drop mappings with a negative generated column, as ECMA-426 asks, instead of keeping them at that column (#​135)

    Only invalid source maps have them. SourceMapGenerator.fromSourceMap() threw Invalid mapping on such a mapping. The other fields of a dropped segment still count for the next segment, as before, so the next segments decode as they did.

  • Keep a mapping with a negative original line or column without its original position, as ECMA-426 asks, instead of returning line 0 or a negative column (#​137)

    Only invalid source maps have them. originalPositionFor() returned line: 0 or a negative column for such a mapping, and SourceMapGenerator.fromSourceMap() threw Invalid mapping on it. As in the spec, the mapping keeps its name, and its original line and column still count for the next segment.

  • Read a sourcesContent entry that isn't a string as null, as ECMA-426 asks, instead of returning the value from sourceContentFor() (#​143)

    hasContentsOfAllSources() counted such an entry as content, and SourceMapGenerator.fromSourceMap() copied it into its output.

  • Fix SourceMapGenerator.fromSourceMap() giving a source the wrong content, or none, when the map has a sourceRoot that its sources start with (#​133)

    With sourceRoot: 'src', a source src/a.js lost its content, and with sources src/vendor.js and vendor.js, both got the content of vendor.js, even when src/vendor.js had none.

  • Fix decoding of positive and negative mapping deltas with magnitudes from 2^30 through 2^31 - 1 (#​124)

    mappings stores each line, column and index as a delta from the previous one. ECMA-426 allows deltas up to 2^31 - 1 either way. The generator already encoded them correctly, but the consumer read those from 2^30 (1,073,741,824) on with the wrong sign: 2^30 as -2^30, and 2^31 - 1 as -1.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge December 3, 2026 09:19
@qodo-code-review

qodo-code-review Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

chore(deps): bump source-map-js override from 1.2.4 to 1.3.0

⚙️ Configuration changes 🕐 Less than 10 minutes

Grey Divider

AI Description

• Bumps the pnpm override pinning source-map-js@>=1.0.0 <1.2.2 from 1.2.4 to 1.3.0.
• Adds a source-map-js@1.3.0 lockfile entry and repoints the @babel/parser-dependent snapshot to
 it.
• Lockfile keeps the existing 1.2.4 entry, so other consumers are unaffected. Upstream 1.3.0 adds
 ignoreList support and index-map fixes.
Merge Risk 🟢 Low

Blast radius 🟢 Low 💥 0 capabilities

  • No production behavior changes identified.
Behavioral complexity 🟢 Low 🧩 Assessed behavior

  • No production behavior changes identified.
Potential damage 🟢 Low 🩹 Assessed behavior

  • No production behavior changes identified.
Assessed commit f37f9cf
High-Level Assessment

Bumping the existing pnpm override is the standard way to move a transitive dependency in this workspace, and matches the repo's pattern for other overrides (katex, shell-quote, smol-toml). Alternatives such as pinning the dependency directly or removing the override were not appropriate, since the override scopes the version to the vulnerable-range consumers.

Files changed (2) +9 / -3

Other (2) +9 / -3
pnpm-workspace.yamlBump source-map-js override to 1.3.0 +1/-1

Bump source-map-js override to 1.3.0

• Updates the pnpm override for 'source-map-js@>=1.0.0 <1.2.2' from 1.2.4 to 1.3.0, so all transitive consumers in that range resolve to the new version.

pnpm-workspace.yaml

pnpm-lock.yamlLock source-map-js 1.3.0 and repoint dependents +8/-2

Lock source-map-js 1.3.0 and repoint dependents

• Mirrors the override bump: adds the 'source-map-js@1.3.0' package entry with its integrity hash and engines constraint, adds its snapshot, and switches one dependent snapshot from 1.2.4 to 1.3.0. The 1.2.4 entry is retained.

pnpm-lock.yaml

@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can move or hide resolved findings to focus on what still needs action

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@renovate
renovate Bot added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit 96f3001 Dec 3, 2026
58 checks passed
@renovate
renovate Bot deleted the renovate/main-source-map-js-=1.0.0-1.2.2-1.x branch December 3, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants