Closed AlbanWS closed 4 months ago
Updating music-metadata version 7 to 8 is not straightforward, as version 7 is CJS and 8 is ESM.
Ideally music-metadata version 8 should take over the browser functionality. I made a start here: https://github.com/Borewit/music-metadata/tree/es-module-with-browser-support
Long time a ago, totally forgot what needs to be done. Your help is very much welcome, but be aware this is not easy task.
Thank you for the information, I will take a look then !
music-metadata v9.0.0 took over browser functionality, this music-metadata-browser is obsolete.
Hi,
Currently using music-metadata-browser (what an incredibly good project), I am facing a warning in Vite:
After seeking the reason of this warning, I saw that
music-metadata-browser
currently depends on"music-metadata": "^7.13.3"
, which depends on"file-type": "^16.5.4"
, which uses aneval
in its code base.Since
"music-metadata": "8.1.4"
depends on"file-type": "^18.2.1"
(not uningeval
anymore), I would suggest to update the dependencies to"music-metadata": "8.1.4"
;I could help creating pull request if want me to.
Thanks.