New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to node v12 #2581
Upgrade to node v12 #2581
Conversation
Thanks for the patch, I'll check it our more closely on monday. |
Looks like AppVeyor doesn't use the latest LTS version of Node. |
For appveyor, looks like we can install specific versions that aren't preinstalled, see: https://www.appveyor.com/docs/lang/nodejs-iojs/ Would you please try that ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes! Here are my small suggestions, I think everything will pass with this :-) Tell me what you think!
Codecov Report
@@ Coverage Diff @@
## master #2581 +/- ##
==========================================
+ Coverage 86.55% 86.57% +0.01%
==========================================
Files 217 217
Lines 17168 17079 -89
Branches 4436 4405 -31
==========================================
- Hits 14860 14786 -74
+ Misses 2112 2099 -13
+ Partials 196 194 -2
Continue to review full report at Codecov.
|
Looks like everything is passing now @julienw :) |
I noticed a last change to be made => Line 4 in 9366269
I think this can be "12" and not a specific version. Can you add it and then I can merge! Thanks a lot :-) Edit: ah don't worry, I can add it myself :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Hi all,
This PR should hopefully close the issues mentioned in #2580.
The only thing I'm struggling with is rthe efactoring due to TextEncoder and TextDecoder now being global objects in Node.
I've made some changes to as an example to
src/test/components/MenuButtons.test.js
but the Jest test fails due toReferenceError: TextEncoder is not defined
.I'm not sure why the test wont pass, is it due to the Jest environment not supporting TextEncoder as a global object? If this was the case I guess several other tests would likely fail also.
I'm pretty to new to JS/Node so I've probably missed something pretty obvious!