Skip to content

chore: resolve open dependabot security alerts - #1222

Merged
jonathannorris merged 7 commits into
mainfrom
chore/dependabot-alerts
Jul 21, 2026
Merged

chore: resolve open dependabot security alerts#1222
jonathannorris merged 7 commits into
mainfrom
chore/dependabot-alerts

Conversation

@jonathannorris

Copy link
Copy Markdown
Member

Summary

Resolved 37 open Dependabot security alerts by bumping vulnerable dependencies via yarn resolutions/overrides.

Dependabot Alerts Resolved

Alert Package Severity Fix
#1125 joi medium Bumped to 17.13.4 via resolution
#1132 protobufjs-cli high Bumped to 1.3.3 via devDependencies + resolution
#1133 markdown-it medium Bumped to 14.3.0 via resolution
#1134, #1137, #1138 launch-editor medium Bumped to 2.14.1 via resolution
#1135, #1136 protobufjs high/medium Bumped to 7.6.4 via dependencies + resolution
#1139, #1140, #1163 @babel/core low Bumped to 7.29.7 via devDependencies
#1141, #1142, #1145 ws high Bumped 6.x -> 6.2.4, 7.x -> 7.5.11, 8.x -> 8.21.0 via resolutions
#1143, #1144 form-data high Bumped to 4.0.6 via resolution
#1149, #1150, #1151, #1152 tar medium Bumped to 7.5.16 via existing resolutions (was 7.5.11)
#1154, #1155, #1156, #1157, #1158, #1159, #1160, #1161 undici high/medium/low Bumped to 6.27.0 via resolution (was ^6.24.0)
#1164, #1165, #1166 http-proxy-middleware medium Bumped to 2.0.10 via resolution
#1167, #1168, #1169 webpack-dev-server medium Bumped to 5.2.5 via resolution (was ^5.2.4)
#1171, #1172, #1173, #1174 js-yaml (v4) medium Bumped to 4.3.0 via resolution
#1175, #1176 js-yaml (v3) medium Bumped to 3.15.0 via resolution

- js-yaml 3.14.1 -> 3.15.0 (medium, alerts #1175, #1176)
- js-yaml 4.1.0 -> 4.3.0 (medium, alerts #1171, #1172, #1173, #1174)
- webpack-dev-server -> 5.2.5 (medium, alerts #1167, #1168, #1169)
- http-proxy-middleware 2.0.9 -> 2.0.10 (medium, alerts #1164, #1165, #1166)
- @babel/core -> 7.29.7 (low, alerts #1139, #1140, #1163)
- undici -> 6.27.0 (low/medium/high, alerts #1154-#1161)
- tar -> 7.5.16 (medium, alerts #1149-#1152)
- ws 6.x -> 6.2.4, ws 7.x -> 7.5.11, ws 8.x -> 8.21.0 (high, alerts #1141, #1142, #1145)
- form-data 4.0.5 -> 4.0.6 (high, alerts #1143, #1144)
- protobufjs -> 7.6.4 (high/medium, alerts #1135, #1136)
- protobufjs-cli 1.2.2 -> 1.3.3 (high, alert #1132)
- launch-editor -> 2.14.1 (medium, alerts #1134, #1137, #1138)
- markdown-it 12.3.2 -> 14.3.0 (medium, alert #1133)
- joi 17.6.0 -> 17.13.4 (medium, alert #1125)
Copilot AI review requested due to automatic review settings July 2, 2026 13:44
@jonathannorris
jonathannorris requested a review from a team as a code owner July 2, 2026 13:44
@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
js-sdks-web-elements Ready Ready Preview, Comment Jul 20, 2026 4:36pm
js-sdks-with-provider Ready Ready Preview, Comment Jul 20, 2026 4:36pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
js-sdks-next-js-page-router Ignored Ignored Jul 20, 2026 4:36pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Resolves multiple Dependabot security alerts by upgrading vulnerable transitive dependencies using Yarn lockfile updates plus resolutions/dependency bumps across the monorepo and e2e fixtures.

Changes:

  • Updated root dependency versions and added/expanded resolutions overrides for vulnerable packages (e.g., ws, form-data, undici, tar, js-yaml, markdown-it, joi).
  • Bumped select direct deps/devDeps (@babel/core, protobufjs, protobufjs-cli) to pull in patched versions.
  • Updated e2e package-level resolutions and devDependencies to keep test apps aligned with the patched dependency graph.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
yarn.lock Locks upgraded (patched) versions for multiple vulnerable transitive dependencies.
package.json Updates direct deps/devDeps and adds resolutions to force patched versions repo-wide.
e2e/react/package.json Updates devDependency/resolutions to keep React e2e app aligned with patched versions.
e2e/js/js-esm/package.json Updates resolutions to keep JS ESM e2e app aligned with patched versions.
e2e/js/js-cloud-server/package.json Updates resolutions to keep cloud-server e2e app aligned with patched versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread e2e/react/package.json Outdated
Comment thread e2e/react/package.json Outdated
Comment thread e2e/js/js-esm/package.json Outdated
Comment thread e2e/js/js-cloud-server/package.json Outdated
Comment thread e2e/js/js-cloud-server/package.json Outdated
- js-yaml@^4.1.0 and js-yaml@4.1.0 resolutions: ^4.2.0 -> ^4.3.0
- markdown-it@^12.3.2 resolution: ^14.2.0 -> ^14.3.0
- protobufjs: ^7.6.3 -> ^7.6.4 (dep + resolution)
- protobufjs-cli: ^1.3.2 -> ^1.3.3 (devDep + resolution)
- @babel/core devDep: ^7.29.6 -> ^7.29.7
- @babel/core resolutions in e2e packages: ^7.29.6 -> ^7.29.7
- js-yaml v4 resolutions in e2e packages: ^4.2.0 -> ^4.3.0

Aligns declared ranges with actual locked versions to prevent
re-introducing vulnerable versions on lockfile regeneration.
- websocket-driver <0.7.5 -> ^0.7.5 via resolutions (critical, alerts #1180, #1181, #1182)
Use rm -f to remove sed backup files so the command succeeds
even if no backup files were created (e.g., Alpine/BusyBox sed
treats -i.bu as in-place edit without creating a backup file).
canvas@3.1.0 fails to compile from source on Alpine 3.24 ARM64 due to
missing librsvg-dev in the test-harness Docker image. Since canvas is only
used for Detox visual testing (not the nodejs SDK build), mark it as
built:false in dependenciesMeta to prevent the failed compile from
causing yarn to exit non-zero.
@jonathannorris
jonathannorris merged commit 26a66ba into main Jul 21, 2026
13 checks passed
@jonathannorris
jonathannorris deleted the chore/dependabot-alerts branch July 21, 2026 16:01
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.

3 participants