Skip to content

fix: resolve serialize-javascript to 7.0.5 in lockfile (Dependabot #90)#116

Merged
chrismaz11 merged 1 commit intomasterfrom
fix/serialize-javascript-lockfile
Apr 11, 2026
Merged

fix: resolve serialize-javascript to 7.0.5 in lockfile (Dependabot #90)#116
chrismaz11 merged 1 commit intomasterfrom
fix/serialize-javascript-lockfile

Conversation

@chrismaz11
Copy link
Copy Markdown
Collaborator

Summary

Follow-up to the initial override bump: the nested mocha.serialize-javascript override did not update the resolved version in the lockfile. This PR:

Test plan

🤖 Generated with Claude Code

…#90

Changes nested mocha override to a top-level override so the lockfile
resolves serialize-javascript to 7.0.5 instead of remaining at 7.0.3.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 11, 2026 04:28
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
trustsignal Building Building Preview, Comment Apr 11, 2026 4:28am

@chrismaz11 chrismaz11 merged commit c7be350 into master Apr 11, 2026
14 of 17 checks passed
@chrismaz11 chrismaz11 deleted the fix/serialize-javascript-lockfile branch April 11, 2026 04:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates dependency resolution to clear Dependabot alert #90 by ensuring serialize-javascript is resolved to a secure version in the lockfile.

Changes:

  • Switches npm override from a nested mocha.serialize-javascript override to a top-level serialize-javascript override.
  • Updates package-lock.json so serialize-javascript resolves to 7.0.5 (and aligns the recorded Node engine constraint).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Replaces the prior nested override with a top-level serialize-javascript override.
package-lock.json Updates the resolved serialize-javascript tarball/integrity to 7.0.5 (and updates the recorded Node engine field).

"mocha": {
"serialize-javascript": "7.0.5"
}
"serialize-javascript": ">=7.0.5"
Copy link

Copilot AI Apr 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The override uses an unbounded range (">=7.0.5"), which can allow npm to resolve a future breaking major (e.g., 8.x) during a lockfile refresh. To keep installs predictable while still addressing the advisory, prefer pinning to "7.0.5" or using a bounded range like "^7.0.5" (or ">=7.0.5 <8").

Suggested change
"serialize-javascript": ">=7.0.5"
"serialize-javascript": "7.0.5"

Copilot uses AI. Check for mistakes.
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.

2 participants