Skip to content

fix(codeceptjs): override glob, minimatch and uuid to patched versions - #108

Merged
pashidlos merged 1 commit into
masterfrom
fix/codeceptjs-audit
Nov 3, 2026
Merged

pashidlos merged 1 commit into
masterfrom
fix/codeceptjs-audit

Conversation

@pashidlos

Copy link
Copy Markdown
Member

Clears the two open Dependabot alerts (minimatch GHSA-g3hv-75wg-m249 and uuid GHSA-w5hq-g745-h8pq), plus glob GHSA-3g3m-2fjr-6pw4, which npm audit reports. npm audit in agent-codeceptjs/ goes from 9 moderate to 0. The other four examples were already at 0.

Change

agent-codeceptjs/package.json gets overrides:

Package From To Why an override
uuid 11.1.0 ^11.1.1 CodeceptJS 4.2.2 (latest) pins 11.1.0 exactly
glob 13.0.6 / 10.5.0 ^14.0.2 CodeceptJS declares >=9 <14, js-beautify pulls 10; only 14.0.2+ is patched
minimatch 10.2.6 / 9.0.9 ^11.0.1 via glob, mocha and editorconfig; only 11.0.1+ is patched

glob and minimatch cross a major, because no patched release exists inside CodeceptJS's ranges. sdk-js and the agents already override the same two packages to the same ranges. Drop the overrides once CodeceptJS ships its own bump.

Verified

  • With the overrides, npx codeceptjs run --steps passes against a local visualregressiontracker/api:6.0.0-rc1 stack started from .github/vrt/docker-compose.yml. It ran 1 scenario and 2 vrtTrack calls on Node 26.
  • js-beautify's html() and editorconfig's parse(), the two other consumers of the overridden packages, load and run.

Release effect

None (examples are not published). Can merge now.

🤖 Generated with Claude Code

CodeceptJS 4.2.2 is the latest release and pins uuid 11.1.0 and glob
<14; its mocha and js-beautify pull minimatch 9/10. The patched lines
are uuid 11.1.1, glob 14.0.2 and minimatch 11.0.1. The example passes
against a 6.0.0-rc1 server with the overrides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pashidlos
pashidlos merged commit debe62c into master Nov 3, 2026
5 checks passed
@pashidlos
pashidlos deleted the fix/codeceptjs-audit branch November 3, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant