File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3
3
module . exports = function ( grunt ) {
4
4
grunt . loadNpmTasks ( 'grunt-babel' ) ;
5
5
grunt . loadNpmTasks ( 'grunt-browserify' ) ;
6
- grunt . loadNpmTasks ( 'grunt-contrib-uglify' ) ;
6
+ grunt . loadNpmTasks ( 'grunt-contrib-uglify-es ' ) ;
7
7
grunt . loadNpmTasks ( 'grunt-contrib-jasmine' ) ;
8
8
grunt . loadNpmTasks ( 'grunt-contrib-copy' ) ;
9
9
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ CSV.prototype = {
74
74
return datum ;
75
75
} ;
76
76
77
- const csvStream = fastCsv ( options )
77
+ const csvStream = fastCsv . parse ( options )
78
78
. on ( 'data' , data => {
79
79
worksheet . addRow ( data . map ( map ) ) ;
80
80
} )
@@ -93,7 +93,7 @@ CSV.prototype = {
93
93
94
94
const worksheet = this . workbook . getWorksheet ( options . sheetName || options . sheetId ) ;
95
95
96
- const csvStream = fastCsv . createWriteStream ( options ) ;
96
+ const csvStream = fastCsv . format ( options ) ;
97
97
stream . on ( 'finish' , ( ) => {
98
98
resolve ( ) ;
99
99
} ) ;
Original file line number Diff line number Diff line change 89
89
],
90
90
"dependencies" : {
91
91
"archiver" : " ^3.0.0" ,
92
- "fast-csv" : " ^2.4.1" ,
93
- "jszip" : " ^3.1.5" ,
94
92
"dayjs" : " ^1.8.15" ,
93
+ "fast-csv" : " ^3.4.0" ,
94
+ "jszip" : " ^3.1.5" ,
95
95
"sax" : " ^1.2.4" ,
96
96
"tmp" : " ^0.1.0" ,
97
97
"unzipper" : " ^0.9.12"
120
120
"grunt-browserify" : " ^5.3.0" ,
121
121
"grunt-contrib-copy" : " ^1.0.0" ,
122
122
"grunt-contrib-jasmine" : " ^2.0.3" ,
123
- "grunt-contrib-uglify" : " ^4.0 .0" ,
123
+ "grunt-contrib-uglify-es " : " ^3.3 .0" ,
124
124
"grunt-contrib-watch" : " ^1.1.0" ,
125
125
"grunt-lib-phantomjs" : " ^1.1.0" ,
126
126
"husky" : " ^2.2.0" ,
You can’t perform that action at this time.
0 commit comments