On 30/05/2022 19:40, Pirate Praveen wrote:
On Mon, 31 Jan 2022 11:14:50 +0100 Jonas Smedegaard <d...@jones.dk> wrote:
 > Newer release of source-map is needed by emscripten.
 >
 > Please package at least version 0.7.3.

terser switched to @jridgewell/source-map which seems simpler and pure typescript (so should be easier to maintain for us - just uses rollup to build and mocha to test). https://github.com/terser/terser/commit/a47f29a57b12999c939845781daa7d6f8bdaeff2

So we may be able to replace source-map with @jridgewell/source-map in emscripten and others. We can try to convince upstreams to switch too sighting terser as an example and showing how source-map is difficult to package and seems to be not actively maintained.

I think @jridgewell/source-map should be included into node-ampproject-remapping:

$ pkgjs-depends -c @jridgewell/source-map
# @jridgewell/source-map
DEPENDENCIES: node-ampproject-remapping (@jridgewell/gen-mapping, @jridgewell/trace-mapping)

Reply via email to