bugsnag / webpack-bugsnag-plugins

Webpack plugins for common BugSnag actions.
MIT License
32 stars 29 forks source link

Migrate form parsing in test to formidable #75

Closed JamesLindsay0 closed 4 months ago

JamesLindsay0 commented 4 months ago

Goal

Remove the unmaintained parse-formdata to avoid the security warnings. This was necessary to resolve https://github.com/bugsnag/webpack-bugsnag-plugins/security/dependabot/26.

Changes

Node versions

The old node versions (10, 12) don't support the new form parsing library. I have removed them from the tests.

JamesLindsay0 commented 4 months ago

@tomlongridge I've modified this MR so it only updates the form parsing library (and not the test runner library). It appears that this new form parsing library is the one that doesn't support node 10 and 12. Changing the form parsing library was necessary to address https://github.com/bugsnag/webpack-bugsnag-plugins/security/dependabot/26.