Skip to content

lib,src: extract sourceMappingURL from module

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 (closed)

Merge request reports

Loading