cifkao / html-midi-player

🎹 Play and display MIDI files on the web
https://cifkao.github.io/html-midi-player/
BSD 2-Clause "Simplified" License
630 stars 56 forks source link

Switch from `yarn` to `npm` and block vulnerable `ndarray-resample` #83

Open cifkao opened 1 month ago

cifkao commented 1 month ago

Fixes #82.

It doesn't seem possible to resolve the vulnerability caused by ndarray-resample just by updating packages, as I explained in #82. For this reason, I just block ndarray-resample and its dependencies from being installed by overriding it with the dry-uninstall dummy package.

The package builds and works correctly but I'm not sure that this doesn't break anything for downstream packages. What I do know is that we're not using any functionality of @magenta/music that uses ndarray-resample, so... it should be fine?

cifkao commented 1 month ago

@Cheezer1656