Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Upgrade mocha dependency #203

Closed
cgewecke opened this issue Apr 7, 2020 · 7 comments
Closed

Upgrade mocha dependency #203

cgewecke opened this issue Apr 7, 2020 · 7 comments

Comments

@cgewecke
Copy link
Owner

cgewecke commented Apr 7, 2020

Mocha 5 is afflicted by the minimist vuln warning :/
Mocha 6 has breaking changes...

@alcuadrado
Copy link
Collaborator

This is very interesting, Chris. I didn't know where the warning was coming from.

I think we'll also have to upgrade it in Buidler. @tmilar has already reviewed the breaking changes introduced in v6 and v7, and IIRC they aren't significant. Is this right, Tomi?

@tmilar
Copy link

tmilar commented Apr 7, 2020

Hi guys, yes I've reviewed the changelist of mocha v6 and v7 a few weeks ago, and arrived to the conclusion that there shouldn't be any issue with upgrading to latest v7 in buidler.
I can check it out again if you want, and if everything is smooth, send a PR.

@alcuadrado
Copy link
Collaborator

alcuadrado commented Apr 7, 2020 via email

@cgewecke
Copy link
Owner Author

cgewecke commented Apr 7, 2020

@alcuadrado @tmilar Yes, happy to coordinate.

Last summer there was something about v6 that crashed the reporter. Will need to see if that's still happening on either 6 or 7 and address it.

I'll open an exploratory PR this evening.

@cgewecke
Copy link
Owner Author

cgewecke commented Apr 8, 2020

Upgraded to Mocha 7.

@cgewecke
Copy link
Owner Author

@alcuadrado @tmilar Do either of you have reservations about upgrading to Mocha 7?

Am not seeing any problems in the E2E tests here and the breaking changes from release notes across 6 and 7 seem like they might not affect many people...idk.

Am comfortable releasing the change here as a patch fwiw.

@cgewecke
Copy link
Owner Author

0.2.17

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

No branches or pull requests

3 participants