Closed OmgImAlexis closed 6 years ago
Hmm, I'd rather go in the other direction on this one. The main reason being that this was primarily built for the browsers and there are still some browsers that don't support const/let and other ES6 language features.
It's not a big deal for the tests, but if it's an easy fix like this one (add "use strict"), I'd rather add that than drop support.
This is an issue with a dep so unless you want to send a PR to the dep you'll have to drop it to allow the tests to pass.
I recommend setting the version of mocha to 3.5.3
since that supports older versions of node. Then just add the newer versions of node to .travis.yml
.
Since LTS has finished for node versions older than 4 there's not really any point in still supporting them and one of the mocha deps doesn't work with older versions of node as it uses const in strict mode.
For example the last build.