| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Review requested:
|
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM if tests pass, left a few nits
Sorry, something went wrong.
There was a problem hiding this comment.
Shouldn't we extract the sourceURL using the V8 API as well?
Sorry, something went wrong.
This is what I want to do. In fact I initiated this PR after identifying several issues with the source map support in Node.js, notably:
This PR specifically addresses the handling of sourceMappingURL without delving into sourceURL-related changes. This limitation is intentional to keep the scope manageable for my first contribution to Node.js. Moving forward, I'm going to resolve the identified issues, including the extraction of sourceURL. |
Sorry, something went wrong.
|
I think it's okay to leave the source URL for a follow-up. Can you leave a TODO/FIXME comment for them? |
Sorry, something went wrong.
|
@joyeecheung |
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you for working on this!
Note for who lands this PR: please amend the commit message with the PR title as the message of the first commit was not aligned with it.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Node.js used regex to extract sourceMappingURL from the source code
of ESM files. This method led to inaccuracies, notably the erroneous
extraction of url from strings. This change attempts to retrieving the
correct url from V8 for ESM files.
Refs: #51522