Skip to content

build(deps): bump source-map-js from 1.0.2 to 1.3.0 - #756

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/source-map-js-1.3.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/source-map-js-1.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps source-map-js from 1.0.2 to 1.3.0.

Release notes

Sourced from source-map-js's releases.

v1.3.0

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)

... (truncated)

Changelog

Sourced from source-map-js's changelog.

1.3.0

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)

... (truncated)

Commits
  • 5fef0c2 1.3.0
  • a141b7d Read a sourcesContent entry that isn't a string as null (#143)
  • d8a3be4 Return null for a source without content on index maps (#142)
  • 6a50e6a Link the major-release todos to their tracking issue (#141)
  • 6385fa3 Use strict assertions in every test file (#140)
  • 4aae7cc Drop the original position of a mapping with a negative original line or colu...
  • 523d228 Mark the conformance todos that need a major release (#136)
  • e35ba1a Drop mappings with a negative generated column (#135)
  • 3931a48 Keep each source's content in fromSourceMap() with a sourceRoot (#133)
  • 33e2186 Fix SourceMapGenerator.fromSourceMap() on index source maps (#132)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.0.2 to 1.3.0.
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](7rulnik/source-map-js@v1.0.2...v1.3.0)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.3.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
legacy-it-reactjs-org Ignored Ignored Preview Nov 30, 2026 3:40am UTC

Request Review

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 30, 2026
@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

This branch was successfully deployed

1 active deployment
Preview – it-react-dev — d0b6af5a Deployed Nov 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants