Skip to content

[stable33] fix(deps): resolve npm audit vulnerabilities - #9748

Merged
vitormattos merged 1 commit into
stable33from
automated/noid/stable33-fix-npm-audit
Nov 29, 2026
Merged

vitormattos merged 1 commit into
stable33from
automated/noid/stable33-fix-npm-audit

Conversation

@librecode-workflow-automation

Copy link
Copy Markdown
Contributor

Audit report

This audit fix resolves 2 of the total 40 vulnerabilities found in your project.

Updated dependencies

Fixed vulnerabilities

@vitest/coverage-v8 #

  • Caused by vulnerable dependency:
  • Affected versions: 2.1.0-beta.1 - 4.1.11
  • Package usage:
    • node_modules/@vitest/coverage-v8

vitest #

Signed-off-by: GitHub <noreply@github.com>
@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

[!WARNING]

Walkthrough skipped

File diffs could not be summarized.

Change: Other

Merge Risk: Minimal · up to 70391 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c80bf2ce-3223-4304-8c61-b6741634ba1d
Commits

Reviewing files that changed from the base of the PR and between 7765ff9 and 703913f.

Files ignored due to path filters: 1

  • package-lock.json is excluded by !**/package-lock.json
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

Recent review details

Context from checks skipped due to timeout: 8

  • GitHub Check: NPM lint
  • GitHub Check: php-lint (8.5)
  • GitHub Check: test
  • GitHub Check: NPM build
  • GitHub Check: CodeRabbit
  • GitHub Check: test
  • GitHub Check: openapi
  • GitHub Check: static-psalm-analysis
Additional context used

Code guidelines: 3

3 cross-repository guideline sources
Path-based instructions: 3

Source excerpt: Prefer named independent cases for inputs that share the **same** setup, action, contract and expectation.

CodeRabbit inference engine

Files:

  • package-lock.json
Source excerpt: Tests are also code to review.

CodeRabbit inference engine

Files:

  • package-lock.json
Source excerpt: For integration tests changing persistent state, snapshot only the relevant pre-test values and restore them in a reliable teardown/finally path; preserve absent-vs-empty and types.

CodeRabbit inference engine

Files:

  • package-lock.json
OSV Scanner (2.7.0)

package-lock.json

[MEDIUM] 1675-1675: minimatch 10.2.3: minimatch has potential denial of service via globparts amplification

(GHSA-g3hv-75wg-m249)

Multi-repo context LibreSign/pdf-elements

Linked repositories findings

Only LibreSign/pdf-elements references Vitest. The other four repositories had no matches in their package.json, lockfile, or Vitest/Vite config files. That search only covered those file names, so it does not rule out Vitest use elsewhere.

LibreSign/pdf-elements

Vitest version and tooling:

  • package.json declares "vitest": "^5.0.0" [::LibreSign/pdf-elements::package.json:89] and "@vitest/eslint-plugin": "^1.6.14" [::LibreSign/pdf-elements::package.json:75].
  • The lockfile resolves node_modules/vitest to 5.0.3 [::LibreSign/pdf-elements::package-lock.json:4280-4282]. The @vitest/mocker and @vitest/spy entries are also pinned to 5.0.3 [::LibreSign/pdf-elements::package-lock.json:1545-1553] [::LibreSign/pdf-elements::package-lock.json:1593-1595].
  • @vitest/coverage-v8 appears only as an optional peer of vitest in the lockfile [::LibreSign/pdf-elements::package-lock.json:4318]. package.json does not declare it directly.

Scripts and config:

  • Test scripts run vitest run and vitest [::LibreSign/pdf-elements::package.json:53-54].
  • vitest.config.mts imports defineConfig from 'vitest/config' [::LibreSign/pdf-elements::vitest.config.mts:4]. Any change to the Vitest major version or config API would need to keep this import valid.

Relevance to this PR:

  • The PR overview says the audit affects 2.1.0-beta.1 through 4.1.11. If that range is accurate, pdf-elements' locked 5.0.3 falls outside it. I have not verified the audit data itself.
  • Nothing in pdf-elements consumes the libresign test tooling directly. The main effect is that pdf-elements is a reference point for a Vitest 5.x setup.

@vitormattos
vitormattos merged commit 2ae3957 into stable33 Nov 29, 2026
62 checks passed
@vitormattos
vitormattos deleted the automated/noid/stable33-fix-npm-audit branch November 29, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant