Skip to content
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

Uprev fast-csv to latest version which does not use unsafe eval #873

Merged
merged 5 commits into from
Oct 7, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into fix-unsafe-eval
  • Loading branch information
miketownsend authored Oct 7, 2019
commit ffd9b711834b0e1a7036f0566f70616bc7c8f8f2
4 changes: 2 additions & 2 deletions lib/csv/csv.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 74,7 @@ CSV.prototype = {
return datum;
};

const csvStream = csv.parse(options)
const csvStream = fastCsv.parse(options)
.on('data', data => {
worksheet.addRow(data.map(map));
})
Expand All @@ -93,7 93,7 @@ CSV.prototype = {

const worksheet = this.workbook.getWorksheet(options.sheetName || options.sheetId);

const csvStream = csv.format(options);
const csvStream = fastCsv.format(options);
stream.on('finish', () => {
resolve();
});
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.