https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44320 Bug ID: 44320 Summary: Update yarn.lock to fix critical and high npm advisories Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org Target Milestone: --- The Jenkins job Koha_Main_node_audit fails: yarn audit reports many advisories, including critical ones in transitive (mostly development) dependencies: proxy-addr 2.0.7, shell-quote 1.8.3, websocket-driver 0.7.4, protobufjs and handlebars 4.7.8, plus high ones in lodash, body-parser, fast-xml-parser, form-data, mysql2, node-forge, path-to-regexp, ws and others. Most can be fixed by re-resolving yarn.lock within the existing semver ranges, plus a resolutions entry for handlebars (which @redocly/cli pins exactly). With this, advisories go from 662 to 139, critical from 17 to 0, high from 326 to 17. The remaining high ones need major version bumps and are tracked separately. Test plan: 1. yarn install --frozen-lockfile 2. yarn audit: no critical advisories 3. yarn build, then check the staff interface and OPAC load with CSS and JS intact 4. Run a few Cypress specs and check the REST API spec still bundles (yarn api:bundle) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.