diff --git a/package-lock.json b/package-lock.json index 2d31ee2f23..7cda826451 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10164,9 +10164,10 @@ } }, "csv-parse": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.16.3.tgz", - "integrity": "sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==" + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-5.0.2.tgz", + "integrity": "sha512-nn7kY+si9BefTuunYrRg4QX5qU/LBqzGFBkgeAb7GDU/Yyo4P/JzpAg0/CkvW/8/Gg0WNlQ9WenH4n86keZCig==", + "dev": true }, "csv-string": { "version": "4.0.1", @@ -21803,6 +21804,13 @@ "csv-parse": "^4.6.5", "humanize": "^0.0.9", "optimist": "^0.6.1" + }, + "dependencies": { + "csv-parse": { + "version": "4.16.3", + "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.16.3.tgz", + "integrity": "sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==" + } } }, "signal-exit": { diff --git a/package.json b/package.json index c460ccbcea..e8eee4f997 100644 --- a/package.json +++ b/package.json @@ -204,7 +204,7 @@ "core-js": "^3.19.0", "coveralls": "^3.1.1", "css-loader": "^2.1.1", - "csv-parse": "^4.16.3", + "csv-parse": "^5.0.2", "env-cmd": "^10.1.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", diff --git a/tests/end-to-end/helpers/encrypt-mode.js b/tests/end-to-end/helpers/encrypt-mode.js index 174284d3f5..71418fc989 100644 --- a/tests/end-to-end/helpers/encrypt-mode.js +++ b/tests/end-to-end/helpers/encrypt-mode.js @@ -16,7 +16,7 @@ const { const fs = require('fs') const rimraf = require('rimraf') -const parse = require('csv-parse/lib/sync') +const parse = require('csv-parse/sync').parse const ngrok = require('ngrok') // Index of the column headers in the exported CSV. The first 4 rows are