Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cifkao
Copy link
Owner

@cifkao cifkao commented May 23, 2024

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
Copy link
Owner Author

cifkao commented May 23, 2024

@Cheezer1656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update NPM packages to fix Prototype Pollution vulnerability
1 participant