Skip to content

Conversation

@lux01
Copy link

@lux01 lux01 commented Sep 29, 2021

Appmetrics currently uses jszip@2.x which has a prototype pollution vulnerability:

This PR upgrades the jszip dependency to ^3.7.0 and consequently tweaks the headless_zip.js functions to be more async friendly as zip.generate() has been replaced by zip.generateAsync().

This fixes #655.

Additionally I had to fix a unit test failure that occurs when running on macOS 11 (caused by os.name now returning macOS rather than Mac OS X) to ensure my changes still passed the unit tests.

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.

Prototype pollution vulnerability in jszip@2.5.x

1 participant