Merge pull request #459 from docker/dependabot/npm_and_yarn/csv-parse-4.16.3

Bump csv-parse from 4.16.2 to 4.16.3
This commit is contained in:
CrazyMax 2021-09-03 13:21:09 +02:00 committed by GitHub
commit 375f72aff6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

2
dist/index.js generated vendored
View file

@ -6435,7 +6435,7 @@ class Parser extends Transform {
const date = Date.parse(value) const date = Date.parse(value)
return !isNaN(date) ? new Date(date) : value return !isNaN(date) ? new Date(date) : value
} }
}else if(typeof options.cast_date !== 'function'){ }else{
throw new CsvError('CSV_INVALID_OPTION_CAST_DATE', [ throw new CsvError('CSV_INVALID_OPTION_CAST_DATE', [
'Invalid option cast_date:', 'cast_date must be true or a function,', 'Invalid option cast_date:', 'cast_date must be true or a function,',
`got ${JSON.stringify(options.cast_date)}` `got ${JSON.stringify(options.cast_date)}`

View file

@ -31,7 +31,7 @@
"@actions/core": "^1.5.0", "@actions/core": "^1.5.0",
"@actions/exec": "^1.1.0", "@actions/exec": "^1.1.0",
"@actions/github": "^5.0.0", "@actions/github": "^5.0.0",
"csv-parse": "^4.16.2", "csv-parse": "^4.16.3",
"semver": "^7.3.5", "semver": "^7.3.5",
"tmp": "^0.2.1" "tmp": "^0.2.1"
}, },

View file

@ -1270,10 +1270,10 @@ cssstyle@^2.3.0:
dependencies: dependencies:
cssom "~0.3.6" cssom "~0.3.6"
csv-parse@*, csv-parse@^4.16.2: csv-parse@*, csv-parse@^4.16.3:
version "4.16.2" version "4.16.3"
resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-4.16.2.tgz#cd7d25e9b9e1430ac6aa5ed9b5c1685e72d4a8d8" resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-4.16.3.tgz#7ca624d517212ebc520a36873c3478fa66efbaf7"
integrity sha512-eq2BhB6JiIJaNv61pH5EC+o/iyCBxT+g6ukLu2UoNyS5daCN8YlzhOsLHGt/t9sGraMYt/aizaXPLQoNvxlIMw== integrity sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==
data-urls@^2.0.0: data-urls@^2.0.0:
version "2.0.0" version "2.0.0"