Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

chore: update serialize-javascript version and add overrides#102

Closed
Morgy93 wants to merge 1 commit intomainfrom
fix-vuln
Closed

chore: update serialize-javascript version and add overrides#102
Morgy93 wants to merge 1 commit intomainfrom
fix-vuln

Conversation

@Morgy93
Copy link
Contributor

@Morgy93 Morgy93 commented Mar 3, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 3, 2026 18:59
Copy link
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 ensure serialize-javascript is pulled at a non-vulnerable version via package manager overrides.

Changes:

  • Adds an overrides entry for serialize-javascript to enforce a minimum version.

"prepare": "husky"
},
"overrides": {
"serialize-javascript": ">=7.0.4"
Copy link

Copilot AI Mar 3, 2026

Choose a reason for hiding this comment

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

">=7.0.4" can allow unexpected future major versions (e.g., 8.x) which may introduce breaking changes. Prefer a constrained override (e.g., pin to a specific patched version, or use a major-safe range like ^7.0.4). If the intent is only to fix vulnerable older transitive versions, consider scoping the override key to the vulnerable range (e.g., serialize-javascript@<7.0.4) and set it to an exact patched version to keep installs deterministic.

Suggested change
"serialize-javascript": ">=7.0.4"
"serialize-javascript@<7.0.4": "7.0.4"

Copilot uses AI. Check for mistakes.
@Morgy93 Morgy93 closed this Mar 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants