security(apps): bump twenty-sdk to 2.10.1 across twenty-apps (tmp, undici) (#21344)

## Summary

Propagates the just-published **`twenty-sdk@2.10.1`** security patch
into the `twenty-apps/*` mini-apps, clearing the bulk of the
nested-lockfile Dependabot alerts (the `tmp` + `undici` clusters).

Each app carries its own `yarn.lock`, so the fix only reaches them once
they bump the SDK. `2.10.1` drops the two vulnerable transitive deps
every app inherited:

| Vuln dep | Source | Fixed by |
|---|---|---|
| `tmp@0.0.33` (GHSA-ph9p / GHSA-52f5) | `inquirer ^10 →
external-editor` | `inquirer ^14` → `@inquirer/editor@5` (no
external-editor) |
| `undici@<6.24` (5 GHSAs) | `@genql/cli` | vendored genql codegen
(`@genql/cli` removed) |

## Changes
Bumps `twenty-sdk` **and** `twenty-client-sdk` (whichever each app pins
— several pin both) to `2.10.1` and regenerates each lockfile.

**10 apps updated** (all on the v2 line — minor bump, low risk):
`twenty-slack`, `twenty-discord`, `twenty-linear`, `twenty-partners`,
`twenty-fireflies`, `people-data-labs`, `twenty-for-twenty`, `exa`,
`github-connector`, `postcard`.

Verified per-app after regen: **`tmp@0.0.33` = 0** and **`undici@5` =
0** in every updated lockfile.

## Deliberately excluded
Three apps pin a **pre-2.0** SDK, where `→ 2.10.1` is a major jump that
risks breaking the app and needs per-app validation:
- `examples/hello-world` (`0.9.0`)
- `internal/call-recording` (`0.6.3-alpha`)
- `internal/self-hosting` (`1.22.0-canary.6`)

These still carry one `tmp`/`undici` alert each and should be handled in
a follow-up.

## Related
- `twenty-sdk@2.10.1` release (tag `sdk/v2.10.1`) — backport of #21339
(undici) + #21340 (tmp) from `main`.
This commit is contained in:
Charles Bochet
2026-06-08 21:31:14 +02:00
committed by GitHub
parent 7823216568
commit a48c158a66
20 changed files with 4973 additions and 15730 deletions
@@ -19,8 +19,8 @@
"test:watch": "vitest"
},
"dependencies": {
"twenty-client-sdk": "2.0.0",
"twenty-sdk": "2.0.0"
"twenty-client-sdk": "2.10.1",
"twenty-sdk": "2.10.1"
},
"devDependencies": {
"@types/node": "^24.7.2",
File diff suppressed because it is too large Load Diff
@@ -19,8 +19,8 @@
"test:watch": "vitest"
},
"dependencies": {
"twenty-client-sdk": "2.2.0",
"twenty-sdk": "2.2.0"
"twenty-client-sdk": "2.10.1",
"twenty-sdk": "2.10.1"
},
"devDependencies": {
"@types/node": "^24.7.2",
File diff suppressed because it is too large Load Diff
@@ -21,8 +21,8 @@
},
"dependencies": {
"exa-js": "^2.12.1",
"twenty-client-sdk": "2.0.0",
"twenty-sdk": "2.1.0"
"twenty-client-sdk": "2.10.1",
"twenty-sdk": "2.10.1"
},
"devDependencies": {
"@types/node": "^24.7.2",
File diff suppressed because it is too large Load Diff
@@ -20,8 +20,8 @@
"test:watch": "vitest"
},
"dependencies": {
"twenty-client-sdk": "2.4.0",
"twenty-sdk": "2.4.0"
"twenty-client-sdk": "2.10.1",
"twenty-sdk": "2.10.1"
},
"devDependencies": {
"@types/node": "^24.7.2",
File diff suppressed because it is too large Load Diff
@@ -20,7 +20,7 @@
"test:watch": "vitest"
},
"dependencies": {
"twenty-sdk": "2.4.0"
"twenty-sdk": "2.10.1"
},
"devDependencies": {
"@types/node": "^24.7.2",
File diff suppressed because it is too large Load Diff
@@ -20,8 +20,8 @@
"test:watch": "vitest"
},
"dependencies": {
"twenty-client-sdk": "2.4.0",
"twenty-sdk": "2.4.0"
"twenty-client-sdk": "2.10.1",
"twenty-sdk": "2.10.1"
},
"devDependencies": {
"@types/node": "^24.7.2",
File diff suppressed because it is too large Load Diff
@@ -20,8 +20,8 @@
},
"dependencies": {
"resend": "^6.12.0",
"twenty-client-sdk": "npm:twenty-client-sdk@1.23.0-canary.1",
"twenty-sdk": "npm:twenty-sdk@2.0.0"
"twenty-client-sdk": "npm:twenty-client-sdk@2.10.1",
"twenty-sdk": "npm:twenty-sdk@2.10.1"
},
"devDependencies": {
"@types/node": "^24.7.2",
File diff suppressed because it is too large Load Diff
@@ -20,7 +20,7 @@
"test:watch": "vitest --config vitest.unit.config.ts"
},
"dependencies": {
"twenty-sdk": "2.3.1"
"twenty-sdk": "2.10.1"
},
"devDependencies": {
"@types/node": "^24.7.2",
File diff suppressed because it is too large Load Diff
@@ -28,8 +28,8 @@
"migrate:partner-scope:prod": "ENV_FILE=.env.prod tsx src/scripts/migrate-partner-scope.ts"
},
"dependencies": {
"twenty-client-sdk": "2.4.0",
"twenty-sdk": "2.4.0",
"twenty-client-sdk": "2.10.1",
"twenty-sdk": "2.10.1",
"zod": "^4.1.11"
},
"devDependencies": {
File diff suppressed because it is too large Load Diff
@@ -21,7 +21,7 @@
},
"dependencies": {
"@slack/web-api": "^7.8.0",
"twenty-sdk": "2.4.0"
"twenty-sdk": "2.10.1"
},
"devDependencies": {
"@types/node": "^24.7.2",
File diff suppressed because it is too large Load Diff