fix(deps): resolve qs to 6.15.2 (dedupe caret group + scope body-parser) (#22050)

## Summary

Closes [Dependabot alert
#1305](https://github.com/twentyhq/twenty/security/dependabot/1305) — qs
**CVE-2026-8723 / GHSA-q8mj-m7cp-5q26** (vulnerable `>=6.11.1 <=6.15.1`,
fixed `6.15.2`) — via two changes:

1. **`yarn dedupe qs`** collapses the caret-range consumers (gitbeaker,
formidable, superagent, googleapis-common, union, body-parser@2.2.2)
from `6.15.0` onto the `6.15.2` already in the tree. Clean, no
resolution.
2. A scoped **`body-parser/qs: 6.15.2`** resolution for the lone
tilde-pinned holdout.

## Why the one resolution

- After the dedupe, the only vulnerable qs left was `6.14.2`, from
**`body-parser@1.20.4`** which declares `qs ~6.14.0` (capped at 6.14.x).
- body-parser **2.x** uses `qs ^6.15.2`, but that needs **express 5** —
and the `body-parser@1.20.4` here comes from **express 4.22.x**, pulled
by `@mintlify/previewing` + verdaccio (build/dev tooling, not bumpable
to express 5).
- So a scoped `body-parser/qs: 6.15.2` is the right fix — qs `6.14 →
6.15` is a compatible minor. It's grouped with the existing `express/qs`
+ `@cypress/request/qs` entries (same CVE, same express-4.x root cause)
in both the `resolutions` block and the `"//resolutions"` doc.

## Verification

- `yarn install --immutable` passes.
- No qs in `[6.11.1, 6.15.1]` remains — all qs is now `6.15.2`.
- `qs` is build/dev tooling here (mintlify, verdaccio, gitbeaker, etc.),
not the production server runtime.
This commit is contained in:
Abdullah.
2026-06-24 11:51:19 +05:00
committed by GitHub
parent 9a62cb5a67
commit b7cd6db458
2 changed files with 3 additions and 20 deletions
+2 -1
View File
File diff suppressed because one or more lines are too long
+1 -19
View File
@@ -46167,7 +46167,7 @@ __metadata:
languageName: node
linkType: hard
"qs@npm:6.15.2, qs@npm:^6.15.2, qs@npm:~6.15.1":
"qs@npm:6.15.2, qs@npm:^6.11.0, qs@npm:^6.11.1, qs@npm:^6.15.2, qs@npm:^6.4.0, qs@npm:^6.7.0":
version: 6.15.2
resolution: "qs@npm:6.15.2"
dependencies:
@@ -46176,24 +46176,6 @@ __metadata:
languageName: node
linkType: hard
"qs@npm:^6.11.0, qs@npm:^6.11.1, qs@npm:^6.14.1, qs@npm:^6.4.0, qs@npm:^6.7.0":
version: 6.15.0
resolution: "qs@npm:6.15.0"
dependencies:
side-channel: "npm:^1.1.0"
checksum: 10c0/ff341078a78a991d8a48b4524d52949211447b4b1ad907f489cac0770cbc346a28e47304455c0320e5fb000f8762d64b03331e3b71865f663bf351bcba8cdb4b
languageName: node
linkType: hard
"qs@npm:~6.14.0":
version: 6.14.2
resolution: "qs@npm:6.14.2"
dependencies:
side-channel: "npm:^1.1.0"
checksum: 10c0/646110124476fc9acf3c80994c8c3a0600cbad06a4ede1c9e93341006e8426d64e85e048baf8f0c4995f0f1bf0f37d1f3acc5ec1455850b81978792969a60ef6
languageName: node
linkType: hard
"quansync@npm:^0.2.11":
version: 0.2.11
resolution: "quansync@npm:0.2.11"