From eaa85083af48b7649309126ae5da116421a7dc36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20Z=C3=BCger?= Date: Wed, 2 Sep 2026 10:08:47 +0200 Subject: [PATCH] Remove unused csv-parse dependency The CSV import was removed in efebc46 along with src/util/parseCsv.ts and src/util/importCsv.ts, but the dependency stayed behind. Nothing imports it anymore, and npm ls shows no other package depends on it. Also drops the now-orphaned Jest moduleNameMapper entry that rewrote the browser ESM build to the Node one; no module requests that specifier any longer. The csv-stringify mapping stays, since src/util/writeCsv.ts still uses it for the CSV report export. --- jest.config.js | 1 - package-lock.json | 8 -------- package.json | 1 - 3 files changed, 10 deletions(-) diff --git a/jest.config.js b/jest.config.js index 51533312..86dd023e 100644 --- a/jest.config.js +++ b/jest.config.js @@ -12,7 +12,6 @@ module.exports = { ], moduleNameMapper: { '^csv-stringify/browser/esm$': 'csv-stringify', - '^csv-parse/browser/esm/sync$': 'csv-parse/sync', 'theme\\/[a-z]+': '/test/themeMock.js', '\\.(png|jpg|jpeg|gif|svg|css)$': '/test/fileMock.js' }, diff --git a/package-lock.json b/package-lock.json index 552b4ee6..f1d3403f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,6 @@ "babel-loader": "^10.1.1", "binary-search": "^1.3.6", "css-loader": "^7.1.4", - "csv-parse": "^6.2.1", "csv-stringify": "^6.7.0", "cypress": "^15.14.2", "del": "^8.0.1", @@ -9191,13 +9190,6 @@ "dev": true, "license": "MIT" }, - "node_modules/csv-parse": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-6.2.1.tgz", - "integrity": "sha512-LRLMV+UCyfMokp8Wb411duBf1gaBKJfOfBWU9eHMJ+b+cJYZsNu3AFmjJf3+yPGd59Exz1TsMjaSFyxnYB9+IQ==", - "dev": true, - "license": "MIT" - }, "node_modules/csv-stringify": { "version": "6.8.0", "resolved": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-6.8.0.tgz", diff --git a/package.json b/package.json index 083397e8..b8623da8 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "babel-loader": "^10.1.1", "binary-search": "^1.3.6", "css-loader": "^7.1.4", - "csv-parse": "^6.2.1", "csv-stringify": "^6.7.0", "cypress": "^15.14.2", "del": "^8.0.1",