danvk / source-map-explorer

Analyze and debug space usage through source maps
Apache License 2.0
3.81k stars 119 forks source link

Update source-map dependency #232

Closed duhdugg closed 1 year ago

duhdugg commented 1 year ago

Fixes #231

This comment from the svelte project summarizes the issue: https://github.com/sveltejs/svelte/issues/7728#issuecomment-1196414088

Looks like a bug in source-map 0.7.3 where the load-wasm.js file is incorrectly published (fixed in mozilla/source-map#456). See 0.7.3 vs 0.7.4. Because you're using node 18 where a global fetch exists, it thinks that you're running in the browser.

danvk commented 1 year ago

Thanks!

danvk commented 1 year ago

This should be in the 2.5.3 release. Please let me know if it works for you!

duhdugg commented 1 year ago

Yes, it works. Thank you!