ben-eb / gulp-svgmin

Minify SVG files with gulp.
MIT License
340 stars 35 forks source link

Upgrade to babel version 7 and ava version 3 #111

Closed JohnAlbin closed 3 years ago

JohnAlbin commented 3 years ago

When attempting to upgrade svgo to version 2, I encountered a babel error when dealing with some async code. The fix is to upgrade babel from v6 to v7.

When I upgraded babel to v7, that caused ava to fail, so I updated it from 0.17.0 to the latest 3.15.0.

This PR is just the babel and ava upgrade parts without the svgo upgrade. That will follow in a separate PR.

This also fixes all the npm vulnerabilities it was reporting on install.

BEFORE:

found 507 vulnerabilities (505 low, 2 high) run npm audit fix to fix them, or npm audit for details

AFTER THIS PR:

found 0 vulnerabilities

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 04a48329a6f69280c614feb0daba3da9945693e8 on JohnAlbin:upgrade-babel into 2067c1a581e58747244192ad7a9c015f969c6ad5 on ben-eb:master.