- Notifications
You must be signed in to change notification settings - Fork1.9k
Uprev fast-csv to latest version which does not use unsafe eval#873
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@guyonroche - any ideas about this?
The fast-csv module and dependencies are still using "const" which is causing the uglification to fail. I'm not sure why that one module would not be handled by babel in the same way as the other files. Am I missing something obvious here? |
paoesco commentedOct 1, 2019
Answer is here :https://davidburgos.blog/how-to-fix-grunt-contrib-uglify-for-es6/ grunt uglify master does not support (yet?) es6 so we need to use the branch harmony. |
paoesco commentedOct 2, 2019
I guess it's because fast csv has been updated and so certainly we need to change some calls |
ff7ebff
toaae4724
CompareLooks good |
fast-csv@2.4.1 uses a dependencyhttps://www.npmjs.com/package/extended which uses an unsafe eval.
If we update fast-csv@3.0.1 to the latest version, which has lodash as it's only dependency it should solve this issue:#713