Skip to content

fix(deps): patch sharp and Joi; align Vitest on 4.1.11 - #55

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/npm_and_yarn-fcec0467e2
Open

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/npm_and_yarn-fcec0467e2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 12, 2026

Copy link
Copy Markdown
Contributor

This security update keeps sharp and Joi patched and replaces the partial Vitest 5 upgrade with a compatible, patched Vitest 4 stack.

The original dependency graph paired Vitest/mocker 5.0.0 with UI and coverage 4.1.8, creating incompatible peer requirements. Vitest 4.1.11 includes the redirect-mock file-read security fix; the existing nested mock in AssetPanel also needs migration before Vitest 5.

Scope Base Updated
Root sharp 0.35.0 0.35.4
Root and config Joi, via wait-on 18.0.2 18.2.9
UI Vitest, UI and V8 coverage 4.1.8 4.1.11
Associated Vitest modules, including mocker 4.1.8 4.1.11

The sharp and Joi changes from Dependabot are preserved. Application code, tests and configuration are unchanged.

Validation on Linux x64, Node 24.19.0 and npm 11.9.0:

  • npm audit reports zero vulnerable package entries in all three candidate lockfiles. The base reports 2 in root, 1 in config and 4 in the UI. These are package entries, not distinct vulnerability counts.
  • All 11 content-sensitivity tests pass. A native smoke test loads sharp 0.35.4 / libvips 8.18.6 / libheif 1.23.2 and passes AVIF decoding, resizing and PNG encoding.
  • Joi 18.2.9 and wait-on smoke tests pass in root and config.
  • All 6 AssetPanel tests pass, including a run with the aligned V8 coverage provider. This is targeted coverage, not repository-wide coverage.
  • No invalid Vitest peer remains in the candidate dependency graph.

Remaining merge evidence and blockers:

  • Standard UI npm resolution fails on the pre-existing ESLint 10.9.1 / eslint-plugin-react-hooks 7.0.1 peer conflict, reproduced on the base. UI diagnostic installs used --force; no persistent bypass or CI relaxation is introduced.
  • The broader UI run stops after 108 passing tests at removeRelationship is not defined. The same failure is reproduced with the base's Vitest 4.1.8, so the full suite has not passed.
  • Build validation stops at TypeScript. Base and candidate have the same 2,147 diagnostics after matching dependency-install context and normalizing checkout paths; Vite build was not reached.
  • Lifecycle scripts, Electron packaging, Windows and homelab execution remain untested.
  • The original Sonar success does not establish a passing test/build pipeline. No relevant GitHub Actions success is claimed. Private Dependabot alert #461 details and closure state have not been verified.

Detailed validation, security advisories and tested dependency-file fingerprints.

Correction commit: 739b4c5. The PR remains open for a merge decision; the checks above do not establish full merge readiness.

…updates

Bumps the npm_and_yarn group with 2 updates in the / directory: [sharp](https://github.com/lovell/sharp) and [joi](https://github.com/hapijs/joi).
Bumps the npm_and_yarn group with 1 update in the /config directory: [joi](https://github.com/hapijs/joi).


Updates `sharp` from 0.35.0 to 0.35.4
- [Release notes](https://github.com/lovell/sharp/releases)
- [Commits](lovell/sharp@v0.35.0...v0.35.4)

Updates `joi` from 18.0.2 to 18.2.9
- [Commits](hapijs/joi@v18.0.2...v18.2.9)

Updates `joi` from 18.0.2 to 18.2.9
- [Commits](hapijs/joi@v18.0.2...v18.2.9)

Updates `@vitest/mocker` from 4.1.8 to 5.0.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.0/packages/mocker)

---
updated-dependencies:
- dependency-name: sharp
  dependency-version: 0.35.4
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: joi
  dependency-version: 18.2.9
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: joi
  dependency-version: 18.2.9
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: "@vitest/mocker"
  dependency-version: 5.0.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 12, 2026
@zedarvates zedarvates changed the title chore(deps): bump the npm_and_yarn group across 2 directories with 3 updates fix(deps): patch sharp and Joi; align Vitest on 4.1.11 Sep 12, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant