From 3aaabc3d110fe2f750052adbfc476794102b451c Mon Sep 17 00:00:00 2001 From: SivertEikrem Date: Sun, 15 Nov 2026 18:21:35 +0100 Subject: [PATCH] chore: run npm audit fix and document the remaining warnings (#22) --- README.md | 1 + backend/package-lock.json | 18 ++-- frontend/package-lock.json | 212 +++++++++++++++++++------------------ 3 files changed, 119 insertions(+), 112 deletions(-) diff --git a/README.md b/README.md index ba86c53..8497eeb 100644 --- a/README.md +++ b/README.md @@ -368,6 +368,7 @@ Claude and ChatGPT are the main models used. The usecases for the AI tools are a - Some documents in `docs/` still describe the old Vinmonopolet plan and the old test endpoint `/api/hello`. They will be updated. - Search matches the text as one phrase, so "noir pinot" finds nothing. Country is not part of the search text, because the country filter covers it. - The cursors in the API hold an offset, which is slower deep into large results. To be solved together with the larger dataset. +- `npm audit` reports warnings that all come from one dependency, `minimatch`: 7 moderate in the frontend through `typescript-eslint`, and 3 moderate in the backend through `node-pg-migrate`. Both are development tools. They never run in the browser or in the server that answers requests, and they are not part of what users download. The newest `typescript-eslint` (8.72.2) is still affected, so there is nothing to upgrade to, and `npm audit fix --force` would downgrade both packages to older versions instead. We ran the safe `npm audit fix`, which removed 2 of 12, and we watch for a real fix for the rest.