In its wasm-rewrite, the source-map module acquired a destructor that must be manually invoked by its clients [1]. This makes the API much worse. Is this typical of JS APIs that use wasm?
1: https://github.com/mozilla/source-map#sourcemapconsumerproto...