The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Drop the @types/qs resolution (#29107)
Charles Bochet21e9aa12dd17
diff --git a/package.json b/package.jsonindex 5fe6b978ee3..6c9b541324f 100644--- a/package.json+++ b/package.json@@ -31,7 +31,6 @@"zapier-platform-core/form-data": "4.0.6","@remote-dom/react/@types/react": "^19.2.0","graphql-redis-subscriptions/ioredis": "5.10.1",- "@types/qs": "6.9.16","chokidar": "^3.6.0","tmp": "^0.2.7","yeoman-environment": "6.0.1",@@ -44,7 +43,7 @@"nx/undici": "7.30.1","miniflare/undici": "7.30.1"},- "//resolutions": "Each entry forces a version outside some parent's declared range because no parent release carries the fix, or keeps a single copy of a package for type identity where noted; remove each once its drop condition is met. zapier-platform-core/form-data 4.0.6 -> CVE-2026-12143 / GHSA-hmw2-7cc7-3qxx (CRLF injection via unescaped multipart field names and filenames, vulnerable >=4.0.0 <4.0.6); zapier-platform-core exact-pins form-data 4.0.5, still in its latest 19.x. Drop once zapier-platform-core depends on form-data >=4.0.6. @remote-dom/react/@types/react ^19.2.0 -> type identity: @remote-dom/react (via twenty-front-component-renderer) lists @types/react ^18 and nests its own copy; React 18 and 19 declare ReactNode differently, so the two copies are mutually non-assignable and break twenty-front's typecheck. Drop once @remote-dom/react widens @types/react to ^19 (Shopify/remote-dom#153). graphql-redis-subscriptions/ioredis 5.10.1 -> type identity: twenty-server passes its ioredis client into RedisPubSub, so this must equal the ioredis version twenty-server and bullmq pin; bump in lockstep with them. @types/qs 6.9.16 -> held below the 6.9.17 ParsedQs typing break (node-saml wants ^6.9.18); drop once twenty-server typechecks against the current @types/qs. chokidar ^3.6.0 -> NestJS CLI watch mode needs fsevents on macOS, which chokidar 4 and 5 removed (#20316); @nestjs/cli 12 declares chokidar 5 but watch mode and hot reload were verified on chokidar 3. Drop once the NestJS CLI watch works on chokidar 4+ without EMFILE. tmp ^0.2.7 -> GHSA-7c78-jf6q-g5cm / CVE-2026-49982 (HIGH, path traversal via a type-confusion bypass of _assertPath, vulnerable >=0.2.6 <0.2.7) and GHSA-ph9p-34f9-6g65 / CVE-2026-44705 (HIGH, path traversal via unsanitized prefix/postfix, vulnerable <0.2.6). zapier-platform-cli 19 (latest 19.1.0) pins tmp 0.2.5 and inquirer 7/8's external-editor wants ^0.0.33. Drop once both resolve tmp >=0.2.7 on their own. yeoman-environment 6.0.1 -> GHSA-vv9j-gjw2-j8wp / CVE-2026-42089 (HIGH, arbitrary package installation, vulnerable >=2.9.0 <6.0.1); zapier-platform-cli 19 (latest 19.1.0) pins 4.4.3. Drop once zapier-platform-cli depends on yeoman-environment >=6.0.1. @cyntler/react-doc-viewer/ajv 8.20.0 -> GHSA-2g4f-4pwh-qvx6 / CVE-2025-69873 (MEDIUM, ReDoS when using the $data option, vulnerable >=7.0.0-alpha.0 <8.18.0); @cyntler/react-doc-viewer (latest 1.17.1) declares ajv ^7 but never imports it, so forcing 8.x is safe. Drop once it moves to ajv >=8.18.0 or drops ajv. @lingui/cli/esbuild 0.28.1 -> GHSA-gv7w-rqvm-qjhr (Deno-module binary-integrity RCE, >=0.17.0 <0.28.1) and GHSA-g7r4-m6w7-qqqr (Windows dev-server path traversal, >=0.27.3 <0.28.1), both fixed in 0.28.1; @lingui/cli 5.x declares esbuild ^0.25.1 (6.x drops esbuild but is a major migration). Drop once @lingui/cli resolves esbuild >=0.28.1 on its own. zapier-platform-cli/esbuild 0.28.1 -> GHSA-gv7w-rqvm-qjhr and GHSA-g7r4-m6w7-qqqr (see @lingui/cli/esbuild); zapier-platform-cli exact-pins esbuild 0.25.8, still in its latest 19.1.0. Drop once zapier-platform-cli pins esbuild >=0.28.1. zapier-platform-cli/adm-zip 0.6.1 -> GHSA-8238-w5pm-2374, GHSA-rcw4-f5rp-g42v and GHSA-j5f4-cc29-5x44 (HIGH) plus GHSA-c6fg-446q-cg94 and GHSA-p634-w6r4-rjp2, all vulnerable <=0.6.0 and fixed in 0.6.1; zapier-platform-cli exact-pins adm-zip 0.5.16, still in its latest 19.1.0. Drop once zapier-platform-cli ships adm-zip >=0.6.1. yeoman-generator/simple-git 4.0.2 -> GHSA-x6jw-m9v5-85vh (CRITICAL, the unsafe-operation guard does not block trailer command configuration, vulnerable >=3.15.0 <4.0.1), GHSA-g4wm-2vf7-vfgr and GHSA-858h-whjf-mvg5 (HIGH, command execution through unblocked git configuration includes and through abbreviated long options, vulnerable <=3.36.0), and GHSA-v5rq-49vh-5v5c (CRITICAL, VISUAL missing from unsafe editor detection) in the @simple-git/argv-parser <2.0.1 that 3.x depends on; no 3.x release carries the fixes. zapier-platform-cli exact-pins yeoman-generator 7.5.1, which declares simple-git ^3.20.0, still in its latest 19.2.0. yeoman-generator 7.5.1 only uses the named simpleGit export, env() and getConfig(), all unchanged in 4.x, and zapier's generators never call git. Drop once zapier-platform-cli depends on a yeoman-generator that resolves simple-git >=4.0.2. @node-minify/core/glob 10.5.0 -> GHSA-5j98-mcp5-4vw2 / CVE-2025-64756 (HIGH, command injection via the glob CLI's -c/--cmd option, vulnerable >=10.2.0 <10.5.0); every @opennextjs/aws release that supports Next.js 16.4 (via @opennextjs/cloudflare in twenty-website) depends on @node-minify/core ^9.0.2, and @node-minify/core exact-pins glob 10.3.3 through its latest 9.x (9.0.2). Drop once @opennextjs/aws moves to a @node-minify/core that resolves glob >=10.5.0. nx/undici 7.30.1 -> GHSA-xjj6-f33q-929c / CVE-2026-109869 (HIGH, DoS via unhandled error on excessive content-encodings, vulnerable >=7.18.0 <7.30.1), GHSA-4qv8-2p9j-2685 / CVE-2026-109924 (DoS via unbounded memory in the EventSource parser, vulnerable >=7.0.0 <7.30.1) and GHSA-f72v-6w45-q472 / CVE-2026-109841 (Subresource Integrity bypass via non-lowercase algorithm tokens, vulnerable >=7.15.0 <7.30.1); nx exact-pins undici 7.29.0 in 23.3.1 and through its latest 24.x (24.0.2). Drop once nx pins undici >=7.30.1. miniflare/undici 7.30.1 -> the same undici 7.x advisories (see nx/undici); miniflare (via wrangler in twenty-website, local preview only) exact-pins undici 7.29.1, still in the miniflare that the latest wrangler (4.152.0) pins. Drop once wrangler depends on a miniflare that pins undici >=7.30.1.",+ "//resolutions": "Each entry forces a version outside some parent's declared range because no parent release carries the fix, or keeps a single copy of a package for type identity where noted; remove each once its drop condition is met. zapier-platform-core/form-data 4.0.6 -> CVE-2026-12143 / GHSA-hmw2-7cc7-3qxx (CRLF injection via unescaped multipart field names and filenames, vulnerable >=4.0.0 <4.0.6); zapier-platform-core exact-pins form-data 4.0.5, still in its latest 19.x. Drop once zapier-platform-core depends on form-data >=4.0.6. @remote-dom/react/@types/react ^19.2.0 -> type identity: @remote-dom/react (via twenty-front-component-renderer) lists @types/react ^18 and nests its own copy; React 18 and 19 declare ReactNode differently, so the two copies are mutually non-assignable and break twenty-front's typecheck. Drop once @remote-dom/react widens @types/react to ^19 (Shopify/remote-dom#153). graphql-redis-subscriptions/ioredis 5.10.1 -> type identity: twenty-server passes its ioredis client into RedisPubSub, so this must equal the ioredis version twenty-server and bullmq pin; bump in lockstep with them. chokidar ^3.6.0 -> NestJS CLI watch mode needs fsevents on macOS, which chokidar 4 and 5 removed (#20316); @nestjs/cli 12 declares chokidar 5 but watch mode and hot reload were verified on chokidar 3. Drop once the NestJS CLI watch works on chokidar 4+ without EMFILE. tmp ^0.2.7 -> GHSA-7c78-jf6q-g5cm / CVE-2026-49982 (HIGH, path traversal via a type-confusion bypass of _assertPath, vulnerable >=0.2.6 <0.2.7) and GHSA-ph9p-34f9-6g65 / CVE-2026-44705 (HIGH, path traversal via unsanitized prefix/postfix, vulnerable <0.2.6). zapier-platform-cli 19 (latest 19.1.0) pins tmp 0.2.5 and inquirer 7/8's external-editor wants ^0.0.33. Drop once both resolve tmp >=0.2.7 on their own. yeoman-environment 6.0.1 -> GHSA-vv9j-gjw2-j8wp / CVE-2026-42089 (HIGH, arbitrary package installation, vulnerable >=2.9.0 <6.0.1); zapier-platform-cli 19 (latest 19.1.0) pins 4.4.3. Drop once zapier-platform-cli depends on yeoman-environment >=6.0.1. @cyntler/react-doc-viewer/ajv 8.20.0 -> GHSA-2g4f-4pwh-qvx6 / CVE-2025-69873 (MEDIUM, ReDoS when using the $data option, vulnerable >=7.0.0-alpha.0 <8.18.0); @cyntler/react-doc-viewer (latest 1.17.1) declares ajv ^7 but never imports it, so forcing 8.x is safe. Drop once it moves to ajv >=8.18.0 or drops ajv. @lingui/cli/esbuild 0.28.1 -> GHSA-gv7w-rqvm-qjhr (Deno-module binary-integrity RCE, >=0.17.0 <0.28.1) and GHSA-g7r4-m6w7-qqqr (Windows dev-server path traversal, >=0.27.3 <0.28.1), both fixed in 0.28.1; @lingui/cli 5.x declares esbuild ^0.25.1 (6.x drops esbuild but is a major migration). Drop once @lingui/cli resolves esbuild >=0.28.1 on its own. zapier-platform-cli/esbuild 0.28.1 -> GHSA-gv7w-rqvm-qjhr and GHSA-g7r4-m6w7-qqqr (see @lingui/cli/esbuild); zapier-platform-cli exact-pins esbuild 0.25.8, still in its latest 19.1.0. Drop once zapier-platform-cli pins esbuild >=0.28.1. zapier-platform-cli/adm-zip 0.6.1 -> GHSA-8238-w5pm-2374, GHSA-rcw4-f5rp-g42v and GHSA-j5f4-cc29-5x44 (HIGH) plus GHSA-c6fg-446q-cg94 and GHSA-p634-w6r4-rjp2, all vulnerable <=0.6.0 and fixed in 0.6.1; zapier-platform-cli exact-pins adm-zip 0.5.16, still in its latest 19.1.0. Drop once zapier-platform-cli ships adm-zip >=0.6.1. yeoman-generator/simple-git 4.0.2 -> GHSA-x6jw-m9v5-85vh (CRITICAL, the unsafe-operation guard does not block trailer command configuration, vulnerable >=3.15.0 <4.0.1), GHSA-g4wm-2vf7-vfgr and GHSA-858h-whjf-mvg5 (HIGH, command execution through unblocked git configuration includes and through abbreviated long options, vulnerable <=3.36.0), and GHSA-v5rq-49vh-5v5c (CRITICAL, VISUAL missing from unsafe editor detection) in the @simple-git/argv-parser <2.0.1 that 3.x depends on; no 3.x release carries the fixes. zapier-platform-cli exact-pins yeoman-generator 7.5.1, which declares simple-git ^3.20.0, still in its latest 19.2.0. yeoman-generator 7.5.1 only uses the named simpleGit export, env() and getConfig(), all unchanged in 4.x, and zapier's generators never call git. Drop once zapier-platform-cli depends on a yeoman-generator that resolves simple-git >=4.0.2. @node-minify/core/glob 10.5.0 -> GHSA-5j98-mcp5-4vw2 / CVE-2025-64756 (HIGH, command injection via the glob CLI's -c/--cmd option, vulnerable >=10.2.0 <10.5.0); every @opennextjs/aws release that supports Next.js 16.4 (via @opennextjs/cloudflare in twenty-website) depends on @node-minify/core ^9.0.2, and @node-minify/core exact-pins glob 10.3.3 through its latest 9.x (9.0.2). Drop once @opennextjs/aws moves to a @node-minify/core that resolves glob >=10.5.0. nx/undici 7.30.1 -> GHSA-xjj6-f33q-929c / CVE-2026-109869 (HIGH, DoS via unhandled error on excessive content-encodings, vulnerable >=7.18.0 <7.30.1), GHSA-4qv8-2p9j-2685 / CVE-2026-109924 (DoS via unbounded memory in the EventSource parser, vulnerable >=7.0.0 <7.30.1) and GHSA-f72v-6w45-q472 / CVE-2026-109841 (Subresource Integrity bypass via non-lowercase algorithm tokens, vulnerable >=7.15.0 <7.30.1); nx exact-pins undici 7.29.0 in 23.3.1 and through its latest 24.x (24.0.2). Drop once nx pins undici >=7.30.1. miniflare/undici 7.30.1 -> the same undici 7.x advisories (see nx/undici); miniflare (via wrangler in twenty-website, local preview only) exact-pins undici 7.29.1, still in the miniflare that the latest wrangler (4.152.0) pins. Drop once wrangler depends on a miniflare that pins undici >=7.30.1.","version": "0.2.1","nx": {},"scripts": {diff --git a/packages/twenty-server/src/engine/api/rest/input-request-parsers/order-by-parser-utils/utils/parse-order-by-rest-request-common.util.ts b/packages/twenty-server/src/engine/api/rest/input-request-parsers/order-by-parser-utils/utils/parse-order-by-rest-request-common.util.tsindex 6fd089b49ac..1b8ce934566 100644--- a/packages/twenty-server/src/engine/api/rest/input-request-parsers/order-by-parser-utils/utils/parse-order-by-rest-request-common.util.ts+++ b/packages/twenty-server/src/engine/api/rest/input-request-parsers/order-by-parser-utils/utils/parse-order-by-rest-request-common.util.ts@@ -13,7 +13,7 @@ import {const DEFAULT_ORDER_DIRECTION = OrderByDirection.AscNullsFirst;export const parseOrderBy = (- orderByQuery: string | string[] | ParsedQs | ParsedQs[] | undefined,+ orderByQuery: ParsedQs[string],): ObjectRecordOrderBy => {if (typeof orderByQuery !== 'string') {return addDefaultOrderById([{}]);diff --git a/packages/twenty-shared/package.json b/packages/twenty-shared/package.jsonindex d656658c2e3..fb70e03cd90 100644--- a/packages/twenty-shared/package.json+++ b/packages/twenty-shared/package.json@@ -26,7 +26,7 @@"@types/jest": "^30.0.0","@types/lodash.camelcase": "^4.3.7","@types/lodash.escaperegexp": "^4.1.9",- "@types/qs": "6.9.16",+ "@types/qs": "^6.15.1","@types/uuid": "^9.0.2","@typescript/native-preview": "^7.0.0-dev.20260116.1","babel-plugin-module-resolver": "^5.0.2",diff --git a/yarn.lock b/yarn.lockindex 7f46716db1e..0507f714dc9 100644--- a/yarn.lock+++ b/yarn.lock@@ -20010,10 +20010,10 @@ __metadata:languageName: nodelinkType: hard-"@types/qs@npm:6.9.16":- version: 6.9.16- resolution: "@types/qs@npm:6.9.16"- checksum: 10c0/a4e871b80fff623755e356fd1f225aea45ff7a29da30f99fddee1a05f4f5f33485b314ab5758145144ed45708f97e44595aa9a8368e9bbc083932f931b12dbb6+"@types/qs@npm:*, @types/qs@npm:^6.15.1, @types/qs@npm:^6.9.0, @types/qs@npm:^6.9.18":+ version: 6.15.1+ resolution: "@types/qs@npm:6.15.1"+ checksum: 10c0/1dfdbcb4cf2a8f66d57f0b9a9fe6b1c7091cb816687b6698c1351eaf31f62e412cea9b7453a9637b570cd5fad8dced527e5a9e69b4fcc6e318daacd8b749f094languageName: nodelinkType: hard@@ -46368,7 +46368,7 @@ __metadata:"@types/jest": "npm:^30.0.0""@types/lodash.camelcase": "npm:^4.3.7""@types/lodash.escaperegexp": "npm:^4.1.9"- "@types/qs": "npm:6.9.16"+ "@types/qs": "npm:^6.15.1""@types/uuid": "npm:^9.0.2""@typescript/native-preview": "npm:^7.0.0-dev.20260116.1"addressparser: "npm:1.0.1"