get-source icon indicating copy to clipboard operation
get-source copied to clipboard

Fetch source-mapped sources. Peek by file, line, column. Node & browsers. Sync & async.

Results 3 get-source issues
Sort by recently updated
recently updated
newest added

Hi, I ran into a possible bug: when I try to resolve a position in a file that isn't covered by an inline source map mapping, the `.resolve()` method returns...

Hi, I noticed that I seem to be unable to resolve sourcemaps in Node. Here is [a full repro](https://gist.github.com/nolanlawson/2fbd87c04c686889d09143761039956d) with repro steps. Notice that, in my repro web app, Chrome...

node version: v19.8.1 node_modules/get-source/get-source.js:146 ``` resolve (nodeRequire ('fs').readFileSync (path, { encoding: 'utf8' })) ``` BECOMES ``` resolve (nodeRequire ('fs').readFileSync (new URL(path), { encoding: 'utf8' })) ```