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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 15 deletions

View File

@ -98,7 +98,7 @@
"@types/moment-timezone": "0.5.13",
"@types/mousetrap": "1.6.3",
"@types/node": "13.7.0",
"@types/papaparse": "4.5.9",
"@types/papaparse": "5.2.0",
"@types/prismjs": "1.16.0",
"@types/react": "16.8.16",
"@types/react-beautiful-dnd": "12.1.2",
@ -254,7 +254,7 @@
"mousetrap": "1.6.5",
"mousetrap-global-bind": "1.1.0",
"nodemon": "2.0.2",
"papaparse": "4.6.3",
"papaparse": "5.3.0",
"prismjs": "1.21.0",
"prop-types": "15.7.2",
"rc-cascader": "1.0.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",

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);

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",

View File

@ -6335,10 +6335,10 @@
resolved "https://registry.yarnpkg.com/@types/npmlog/-/npmlog-4.1.2.tgz#d070fe6a6b78755d1092a3dc492d34c3d8f871c4"
integrity sha512-4QQmOF5KlwfxJ5IGXFIudkeLCdMABz03RcUXu+LCb24zmln8QW6aDjuGl4d4XPVLf2j+FnjelHTP7dvceAFbhA==
"@types/papaparse@4.5.9":
version "4.5.9"
resolved "https://registry.yarnpkg.com/@types/papaparse/-/papaparse-4.5.9.tgz#ff887bd362f57cd0c87320d2de38ac232bb55e81"
integrity sha512-8Pmxp2IEd/y58tOIsiZkCbAkcKI7InYVpwZFVKJyweCVnqnVahKXVjfSo6gvxUVykQsJvtWB+s6Kc60znVfQVw==
"@types/papaparse@5.2.0":
version "5.2.0"
resolved "https://registry.yarnpkg.com/@types/papaparse/-/papaparse-5.2.0.tgz#6eb999e8b750746471c19274dbdce541de7885ab"
integrity sha512-c5JO2AnHafLfQvGPggBIIHrmYTkIYlathYHQP72jhUtbzko3DrXCnudRN7y6+/WbHdjOQvuxUslGhshIO0V1WA==
dependencies:
"@types/node" "*"
@ -19633,10 +19633,10 @@ pako@~1.0.5:
resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.10.tgz#4328badb5086a426aa90f541977d4955da5c9732"
integrity sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==
papaparse@4.6.3:
version "4.6.3"
resolved "https://registry.yarnpkg.com/papaparse/-/papaparse-4.6.3.tgz#742e5eaaa97fa6c7e1358d2934d8f18f44aee781"
integrity sha512-LRq7BrHC2kHPBYSD50aKuw/B/dGcg29omyJbKWY3KsYUZU69RKwaBHu13jGmCYBtOc4odsLCrFyk6imfyNubJQ==
papaparse@5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/papaparse/-/papaparse-5.3.0.tgz#ab1702feb96e79ab4309652f36db9536563ad05a"
integrity sha512-Lb7jN/4bTpiuGPrYy4tkKoUS8sTki8zacB5ke1p5zolhcSE4TlWgrlsxjrDTbG/dFVh07ck7X36hUf/b5V68pg==
parallel-transform@^1.1.0:
version "1.2.0"