Fix npm security vulnerabilities - #100
Merged
Kristopher Johnson (kristopherjohnson) merged 1 commit intoJul 28, 2026
Conversation
There was a problem hiding this comment.
Pull request overview
Updates npm dependency resolutions to address reported security vulnerabilities, primarily by pinning vulnerable transitive packages and upgrading the Vite-based example app.
Changes:
- Pin
wsto8.21.0via npmoverrides(root + example). - Upgrade the Vite TypeScript example from Vite
^5.4.11to^6.4.3. - Pin
form-datato4.0.6via npmoverridesin the example and refresh lockfiles accordingly.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Adds an overrides pin for ws@8.21.0 to address the ws CVE via resolution. |
| package-lock.json | Updates resolved ws version to 8.21.0 and adjusts dependency graph accordingly. |
| examples/vite-typescript-example/package.json | Upgrades Vite to ^6.4.3 and adds overrides pins for ws/form-data plus a vite override. |
| examples/vite-typescript-example/package-lock.json | Regenerates the example lockfile for Vite 6 and updated resolved dependency versions. |
Files not reviewed (1)
- examples/vite-typescript-example/package-lock.json: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+64
to
+66
| "ws": "8.21.0", | ||
| "form-data": "4.0.6", | ||
| "vite": "$vite" |
Kristopher Johnson (kristopherjohnson)
force-pushed
the
security/35cd2abd-689f-488d-bd19-f223a8f23fb7-react-ditto-master-npm-c0-master
branch
from
July 28, 2026 14:32
c0f2ec4 to
5d20141
Compare
Kristopher Johnson (kristopherjohnson)
force-pushed
the
security/35cd2abd-689f-488d-bd19-f223a8f23fb7-react-ditto-master-npm-c0-master
branch
from
July 28, 2026 14:58
5d20141 to
40a8a0c
Compare
Kristopher Johnson (kristopherjohnson)
approved these changes
Jul 28, 2026
Kristopher Johnson (kristopherjohnson)
merged commit Jul 28, 2026
0a357db
into
master
1 check passed
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs: SPO-1105
Workflow run
Test plan
Generated by Tines + Claude Code