Chore: update pappparse for security fix (#27412)

This commit is contained in:
Ryan McKinley
2020-09-06 21:22:54 -07:00
committed by GitHub
parent 72c3257d19
commit f7be1ba030
5 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
"@types/jquery": "3.3.38",
"@types/lodash": "4.14.123",
"@types/node": "10.14.1",
"@types/papaparse": "4.5.9",
"@types/papaparse": "5.2.0",
"@types/react": "16.8.16",
"@types/rollup-plugin-visualizer": "2.6.0",
"@types/sinon": "^7.5.2",
+2 -2
View File
@@ -72,7 +72,7 @@ export class CSVReader {
}
// PapaParse callback on each line
private step = (results: ParseResult, parser: Parser): void => {
private chunk = (results: ParseResult<any>, parser: Parser): void => {
for (let i = 0; i < results.data.length; i++) {
const line: string[] = results.data[i];
if (line.length < 1) {
@@ -181,7 +181,7 @@ export class CSVReader {
dynamicTyping: false,
skipEmptyLines: true,
comments: false, // Keep comment lines
step: this.step,
chunk: this.chunk,
} as ParseConfig;
Papa.parse(text, papacfg);
+2 -2
View File
@@ -48,7 +48,7 @@
"lodash": "4.17.19",
"moment": "2.24.0",
"monaco-editor": "0.20.0",
"papaparse": "4.6.3",
"papaparse": "5.3.0",
"rc-cascader": "1.0.1",
"rc-drawer": "3.1.3",
"rc-slider": "9.3.1",
@@ -87,7 +87,7 @@
"@types/jquery": "3.3.38",
"@types/lodash": "4.14.123",
"@types/node": "10.14.1",
"@types/papaparse": "4.5.9",
"@types/papaparse": "5.2.0",
"@types/rc-slider": "8.6.5",
"@types/react": "16.8.16",
"@types/react-custom-scrollbars": "4.0.5",