From 31e7ce2b65b147f76f13255218eade6ef4d38f78 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 16 Nov 2026 10:42:52 -0500 Subject: [PATCH] chore(api): bump uuid to 11 and drop @types/uuid uuid 8.3.2 is flagged by GHSA-w5hq-g745-h8pq, fixed in 11.1.1. uuid 11 ships its own TypeScript types, so @types/uuid is no longer needed. The api only uses `v4`, whose import and behavior are unchanged. --- .changeset/api-uuid-11.md | 5 +++++ packages/api/package.json | 3 +-- yarn.lock | 19 ++++++++++--------- 3 files changed, 16 insertions(+), 11 deletions(-) create mode 100644 .changeset/api-uuid-11.md diff --git a/.changeset/api-uuid-11.md b/.changeset/api-uuid-11.md new file mode 100644 index 000000000..e03e55d76 --- /dev/null +++ b/.changeset/api-uuid-11.md @@ -0,0 +1,5 @@ +--- +'@hyperdx/api': patch +--- + +chore: bump `uuid` to 11.1.1 (fixes GHSA-w5hq-g745-h8pq) and drop `@types/uuid` diff --git a/packages/api/package.json b/packages/api/package.json index eb61ce129..86ccf3a56 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -65,7 +65,7 @@ "serialize-error": "^8.1.0", "sqlstring": "^2.3.3", "undici": "^7.29.0", - "uuid": "^8.3.2", + "uuid": "^11.1.1", "zod": "3.25", "zod-express-middleware": "^1.4.0" }, @@ -84,7 +84,6 @@ "@types/sqlstring": "^2.3.0", "@types/supertest": "^2.0.12", "@types/swagger-jsdoc": "^6", - "@types/uuid": "^8.3.4", "ajv": "^8.20.0", "jest": "^30.2.0", "migrate-mongo": "^11.0.0", diff --git a/yarn.lock b/yarn.lock index 6e557fcd8..0e2de7ff0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4797,7 +4797,6 @@ __metadata: "@types/sqlstring": "npm:^2.3.0" "@types/supertest": "npm:^2.0.12" "@types/swagger-jsdoc": "npm:^6" - "@types/uuid": "npm:^8.3.4" ai: "npm:^7.0.116" ajv: "npm:^8.20.0" aws4: "npm:^1.13.2" @@ -4843,7 +4842,7 @@ __metadata: tsconfig-paths: "npm:^4.2.0" typescript: "npm:^6.0.3" undici: "npm:^7.29.0" - uuid: "npm:^8.3.2" + uuid: "npm:^11.1.1" zod: "npm:3.25" zod-express-middleware: "npm:^1.4.0" languageName: unknown @@ -11863,13 +11862,6 @@ __metadata: languageName: node linkType: hard -"@types/uuid@npm:^8.3.4": - version: 8.3.4 - resolution: "@types/uuid@npm:8.3.4" - checksum: 10c0/b9ac98f82fcf35962317ef7dc44d9ac9e0f6fdb68121d384c88fe12ea318487d5585d3480fa003cf28be86a3bbe213ca688ba786601dce4a97724765eb5b1cf2 - languageName: node - linkType: hard - "@types/webidl-conversions@npm:*": version: 7.0.0 resolution: "@types/webidl-conversions@npm:7.0.0" @@ -30725,6 +30717,15 @@ __metadata: languageName: node linkType: hard +"uuid@npm:^11.1.1": + version: 11.1.1 + resolution: "uuid@npm:11.1.1" + bin: + uuid: dist/esm/bin/uuid + checksum: 10c0/9e3af58eba872ece5a5e76f4773a94fc78a0ef2c2444c38dbe6b42f41dadf76c01850fd783604f27986f6195e6286aef064d45987d401b2a33127b98ddf7c0c5 + languageName: node + linkType: hard + "uuid@npm:^8.3.2": version: 8.3.2 resolution: "uuid@npm:8.3.2"