zooniverse / Panoptes-Front-End

Front end for zooniverse/Panoptes
https://www.zooniverse.org
Apache License 2.0
64 stars 75 forks source link

build(deps): remove babel-plugin-transform-es2015-modules-commonjs #7114

Open eatyourgreens opened 1 month ago

eatyourgreens commented 1 month ago

Remove babel-plugin-transform-es2015-modules-commonjs, which is 6 years out-of-date and no longer supported. It generates security warnings in the console, because of outdated dependencies on babel-traverse (also 6 years out-of-date and not supported in Babel 7.)

You can test this locally a couple of ways:

npm audit and npm ci should show 0 problems, with the changes here.

Screenshot of the install log, from a build, showing 0 vulnerabilities.

Required Manual Testing

Review Checklist

Optional

coveralls commented 1 month ago

Coverage Status

coverage: 57.247% (+0.3%) from 56.991% when pulling 354fd0f186625b0470f38e88d3c71cf3e954ce24 on eatyourgreens:remove-babel-cjs-plugin into 78699da2a1e70781887dfb44c892ee1bb7ecc8fa on zooniverse:master.