Skip to content

lib: fix source map url parse in dynamic imports#61990

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
legendecas:invalid-source-map-url
Mar 3, 2026
Merged

lib: fix source map url parse in dynamic imports#61990
nodejs-github-bot merged 1 commit intonodejs:mainfrom
legendecas:invalid-source-map-url

Conversation

@legendecas
Copy link
Member

Fixes #61988

@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Feb 25, 2026
@legendecas legendecas added lib / src Issues and PRs related to general changes in the lib or src directory. source maps Issues and PRs related to source map support. labels Feb 25, 2026
Copy link
Member

@juanarbol juanarbol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Renegade334
Copy link
Member

Salient failure?

@legendecas
Copy link
Member Author

I think the coverage npx c8 report didn't use the node built in the workflow. Also the error is from c8. Maybe I can tweek the test to make c8 happy...

@legendecas legendecas force-pushed the invalid-source-map-url branch from 5a5e0d6 to 91b84d6 Compare February 26, 2026 14:48
@legendecas legendecas force-pushed the invalid-source-map-url branch from 91b84d6 to 0fec8af Compare February 27, 2026 16:42
@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.65%. Comparing base (488a854) to head (0fec8af).
⚠️ Report is 54 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #61990      +/-   ##
==========================================
- Coverage   89.77%   89.65%   -0.12%     
==========================================
  Files         674      676       +2     
  Lines      205705   206032     +327     
  Branches    39449    39464      +15     
==========================================
+ Hits       184670   184722      +52     
- Misses      13280    13450     +170     
- Partials     7755     7860     +105     

see 62 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@legendecas
Copy link
Member Author

CI is green now. Would you mind taking another look? Thank you! @juanarbol @cjihrig @targos

@legendecas legendecas added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 3, 2026
@legendecas legendecas added the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 3, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 3, 2026
@nodejs-github-bot nodejs-github-bot merged commit afc30b7 into nodejs:main Mar 3, 2026
66 of 67 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in afc30b7

@legendecas legendecas deleted the invalid-source-map-url branch March 3, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. source maps Issues and PRs related to source map support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sourcemap Support Breaks Data URL Dynamic Imports

6 participants