Open nfischer opened 6 years ago
To clarify, this should be limited to only our tests (because those use ES6). Once we drop support for node 4/5, we can expand this to cover the whole source tree.
Preferring template literals for all of the tests might be a bit harsh, but preferring them over string concatenation sound reasonable.
I would be happy to have a crack at this gruntwork. It seems pretty simple, if a little tedious(hence the 'chore' label, I guess).
So I cloned the repo and ran npm install
Is that right - 51 package vulnerabilities? I figure I gotta be doing something wrong. (Ubuntu 18.04, node 12.7.0, npm 6.11.3)
Fortunately, it seems that only one of them is considered to be a SEMVER WARNING
. The remaining 50 (lots of dupes) can be resolved via npm audit fix
upgrading 6 packages, but then my build env will not not be the same as the repo.
Do you think I should raise this as a separate issue?
@blubrick yes, please file a separate issue. I'm happy to take a look at the report (and would also appreciate PRs to update flagged packages if doing so does not break the project).
Do you think I should raise this as a separate issue?
Filed as #969
I noticed that we're escaping quote characters in some of our test descriptions (example). We should be able to avoid this by preferring template literals for such scenarios. The motivation is to improve readability.
We should also consider: