Borewit
Borewit
Thanks for sharing your solution @subframe7536
> I think you need to polyfill: > > * [buffer](https://www.npmjs.com/package/buffer) > * [stream](https://www.npmjs.com/package/readable-stream) > > [music-metadata-browser](https://github.com/Borewit/music-metadata-browser) is CommonJS module. Eventually I would like to provide an ES-Module [music-metadata](https://github.com/Borewit/music-metadata) also...
Is this one still valid @Haschikeks ?
As mentioned in the release notes, since version [v0.13.0](https://github.com/Borewit/musicbrainz-api/releases/tag/v0.13.0) the package has been changed to a [pure ECMAScript Module](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
Should work now, feel free to re-open the issue if the problem still persist.
Do you want me to wait with a new release until you implemented this one?
> I've pushed to the connected branch. Maybe good to turn that into a draft PR, that makes it easier to discuss. > I noticed that some interfaces like IArtist...
Sorry, I did a wrong test, I thought all was working, but I forgot to recompile. ky-universal is a pure ESM module since version [v0.9.0](https://github.com/sindresorhus/ky-universal/releases/tag/v0.9.0). That is breaking the tests.
When [downgrading to v0.8.2](https://github.com/Borewit/musicbrainz-api/tree/use-ky-v0.8.2) downgrading I run into errors in the ky module.
Yet it not really a sustainable solution as these commonjs modules are no longer supported.