Skip to content

chore(deps): bump the serialize-javascript override to 7.1.3 - #328

Closed
riglar wants to merge 1 commit into
devfrom
chore/bump-serialize-javascript
Closed

riglar wants to merge 1 commit into
devfrom
chore/bump-serialize-javascript

Conversation

@riglar

@riglar riglar commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Mocha 12.0.3 pulls in serialize-javascript 7.1.2, which is affected by GHSA-m5mm-p8h7-m29v (low severity: XSS via an unescaped </script at the end of a serialized function body). It is a dev-only, transitive dependency, so it never ships in the CLI.

This raises the existing pnpm.overrides entry from >=7.0.5 to >=7.1.3. Mocha accepts ^7.1.1, so the lockfile now resolves 7.1.4. That is the only lockfile change.

Test plan

  • pnpm audit --audit-level moderate: no known vulnerabilities
  • pnpm test:unit: 593 passing

🤖 Generated with Claude Code

Mocha pulls in serialize-javascript 7.1.2, which is affected by GHSA-m5mm-p8h7-m29v. Raise the existing override so the lockfile resolves a patched version (7.1.4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@claude

claude Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Code review

Skipped the full review because this is a trivial dependency change. It raises the serialize-javascript override in pnpm.overrides from >=7.0.5 to >=7.1.3, and the lockfile now resolves 7.1.4. The override, the lockfile's overrides block and the mocha snapshot all match. No source code changed. The package is a dev-only transitive dependency, so the chore(deps) title, which triggers no release, fits.

No issues found.

🤖 Generated with Claude Code

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