MCPcopy Create free account
hub / github.com/denandz/sourcemapper / getSourceMapFromJS

Function getSourceMapFromJS

main.go:154–256  ·  view source on GitHub ↗

getSourceMapFromJS queries a JavaScript URL, parses its headers and content and looks for sourcemaps follows the rules outlined in https://tc39.es/source-map-spec/#linking-generated-code

(jsurl string, headers []string, insecureTLS bool, proxyURL url.URL)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 2

getSourceMapFunction · 0.85
StringMethod · 0.80

Tested by

no test coverage detected