source-map implements its own URL parsing, but it seems to me that it would be better to just use the built-in `URL`.