source-map-unpack
source-map-unpack copied to clipboard
Error running on node 18
When running this tool under Node 18, the following error is thrown:
Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
I've found the explanation here: https://stackoverflow.com/a/77308483/2280444
Workaround: run under node 16 - tested, it works
Solution: upgrade source-map
package to 0.7.4 - not tested