Revert "Upgrade node-csv module to version 0.2.4"
This reverts commit 270e6280ed
.
The performance issue must be fixed before we can upgrade:
https://github.com/wdavidw/node-csv-parser/issues/64
This commit is contained in:
parent
270e6280ed
commit
c00cf6d390
@ -424,8 +424,8 @@ function toCSV(data, res, callback){
|
||||
|
||||
// stream the csv out over http
|
||||
csv()
|
||||
.from.array(data.rows)
|
||||
.to.stream(res, {columns: columns, header: true, lineBreaks: 'windows'});
|
||||
.from(data.rows)
|
||||
.toStream(res, {end: true, columns: columns, header: true});
|
||||
return true;
|
||||
} catch (err) {
|
||||
callback(err,null);
|
||||
|
4
npm-shrinkwrap.json
generated
4
npm-shrinkwrap.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cartodb_api",
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.0",
|
||||
"dependencies": {
|
||||
"cluster2": {
|
||||
"version": "0.3.5-cdb02",
|
||||
@ -216,7 +216,7 @@
|
||||
"version": "1.3.3"
|
||||
},
|
||||
"csv": {
|
||||
"version": "0.2.4"
|
||||
"version": "0.0.13"
|
||||
},
|
||||
"zipfile": {
|
||||
"version": "0.3.2"
|
||||
|
@ -20,7 +20,7 @@
|
||||
"step": "0.0.x",
|
||||
"oauth-client": "0.2.0",
|
||||
"node-uuid":"1.3.3",
|
||||
"csv":"*"
|
||||
"csv":"0.0.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"mocha": "1.2.1",
|
||||
|
Loading…
Reference in New Issue
Block a user