From 67b3c484c8c1576311e0c04bb6521d2e537fa5f3 Mon Sep 17 00:00:00 2001 From: Jacob Cable Date: Fri, 8 May 2026 12:19:03 +0100 Subject: [PATCH 1/2] chore(deps): bump uuid to v10 across affected packages Supersedes the five dependabot PRs targeting uuid v14 (#2807, #2806, #2805, #2789, #2788). uuid v14 (and v11+) is ESM-only and would have required an ESM migration of every consumer; v10 is the highest version that still ships dual CJS+ESM exports, satisfying the security driver without forcing a module-system change. - firestore-counter/functions: ^3.3.2 -> ^10.0.0 - firestore-counter/clients/node: ^8.3.2 -> ^10.0.0 - firestore-counter/clients/web: ^3.3.2 -> ^10.0.0 (also @types/uuid) - storage-resize-images/functions: ^11.0.5 -> ^10.0.0, drop the duplicate `uuidv4` legacy package and migrate resize-image.ts to import { v4 as uuidv4 } from "uuid" to match util.ts and file-operations.ts. --- .../clients/node/package-lock.json | 25 +++++-- firestore-counter/clients/node/package.json | 2 +- .../clients/web/package-lock.json | 26 ++++--- firestore-counter/clients/web/package.json | 4 +- firestore-counter/functions/package-lock.json | 43 ++++------- firestore-counter/functions/package.json | 2 +- .../functions/package-lock.json | 71 +++++-------------- storage-resize-images/functions/package.json | 3 +- .../functions/src/resize-image.ts | 6 +- 9 files changed, 78 insertions(+), 104 deletions(-) diff --git a/firestore-counter/clients/node/package-lock.json b/firestore-counter/clients/node/package-lock.json index 2c2de2fa3..41ddec432 100644 --- a/firestore-counter/clients/node/package-lock.json +++ b/firestore-counter/clients/node/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "Apache-2.0", "dependencies": { - "uuid": "^8.3.2" + "uuid": "^10.0.0" }, "devDependencies": { "firebase-admin": "^13.0.0" @@ -264,6 +264,18 @@ "node": ">=14" } }, + "node_modules/@google-cloud/storage/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/@grpc/grpc-js": { "version": "1.14.3", "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.14.3.tgz", @@ -2181,9 +2193,14 @@ "optional": true }, "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], "license": "MIT", "bin": { "uuid": "dist/bin/uuid" diff --git a/firestore-counter/clients/node/package.json b/firestore-counter/clients/node/package.json index 64b97e321..885dfe796 100644 --- a/firestore-counter/clients/node/package.json +++ b/firestore-counter/clients/node/package.json @@ -9,6 +9,6 @@ "firebase-admin": "^13.0.0" }, "dependencies": { - "uuid": "^8.3.2" + "uuid": "^10.0.0" } } diff --git a/firestore-counter/clients/web/package-lock.json b/firestore-counter/clients/web/package-lock.json index 6f75d6c56..d558250d0 100644 --- a/firestore-counter/clients/web/package-lock.json +++ b/firestore-counter/clients/web/package-lock.json @@ -9,8 +9,8 @@ "version": "1.0.0", "license": "Apache-2.0", "dependencies": { - "@types/uuid": "^3.4.4", - "uuid": "^3.3.2" + "@types/uuid": "^10.0.0", + "uuid": "^10.0.0" }, "devDependencies": { "firebase": "^12.0.0", @@ -889,9 +889,10 @@ } }, "node_modules/@types/uuid": { - "version": "3.4.10", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-3.4.10.tgz", - "integrity": "sha512-BgeaZuElf7DEYZhWYDTc/XcLZXdVgFkVSTa13BqKvbnmUrxr3TJFKofUxCtDO9UQOdhnV+HPOESdHiHKZOJV1A==" + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==", + "license": "MIT" }, "node_modules/@webassemblyjs/ast": { "version": "1.14.1", @@ -2481,12 +2482,17 @@ } }, "node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", "bin": { - "uuid": "bin/uuid" + "uuid": "dist/bin/uuid" } }, "node_modules/watchpack": { diff --git a/firestore-counter/clients/web/package.json b/firestore-counter/clients/web/package.json index 525720b7a..9d5081d43 100644 --- a/firestore-counter/clients/web/package.json +++ b/firestore-counter/clients/web/package.json @@ -6,8 +6,8 @@ "license": "Apache-2.0", "description": "Web SDK to access sharded counters.", "dependencies": { - "@types/uuid": "^3.4.4", - "uuid": "^3.3.2" + "@types/uuid": "^10.0.0", + "uuid": "^10.0.0" }, "devDependencies": { "firebase": "^12.0.0", diff --git a/firestore-counter/functions/package-lock.json b/firestore-counter/functions/package-lock.json index 2a9c6af25..8a81ebd72 100644 --- a/firestore-counter/functions/package-lock.json +++ b/firestore-counter/functions/package-lock.json @@ -13,7 +13,7 @@ "firebase-functions": "^4.9.0", "rimraf": "^2.6.3", "typescript": "^4.9.4", - "uuid": "^3.3.2" + "uuid": "^10.0.0" }, "devDependencies": { "@types/deep-equal": "^1.0.1", @@ -3185,19 +3185,6 @@ "@google-cloud/storage": "^7.7.0" } }, - "node_modules/firebase-admin/node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/firebase-functions": { "version": "4.9.0", "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-4.9.0.tgz", @@ -6453,12 +6440,17 @@ } }, "node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", "bin": { - "uuid": "bin/uuid" + "uuid": "dist/bin/uuid" } }, "node_modules/v8-compile-cache-lib": { @@ -9051,13 +9043,6 @@ "jwks-rsa": "^3.1.0", "node-forge": "^1.3.1", "uuid": "^10.0.0" - }, - "dependencies": { - "uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==" - } } }, "firebase-functions": { @@ -11350,9 +11335,9 @@ "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==" }, "uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==" }, "v8-compile-cache-lib": { "version": "3.0.1", diff --git a/firestore-counter/functions/package.json b/firestore-counter/functions/package.json index 256377ff9..664d39c91 100644 --- a/firestore-counter/functions/package.json +++ b/firestore-counter/functions/package.json @@ -8,7 +8,7 @@ "deep-equal": "^1.0.1", "firebase-admin": "^12.1.0", "firebase-functions": "^4.9.0", - "uuid": "^3.3.2", + "uuid": "^10.0.0", "rimraf": "^2.6.3", "typescript": "^4.9.4", "@types/express-serve-static-core": "4.19.8" diff --git a/storage-resize-images/functions/package-lock.json b/storage-resize-images/functions/package-lock.json index 4599cfa98..98f3069d5 100644 --- a/storage-resize-images/functions/package-lock.json +++ b/storage-resize-images/functions/package-lock.json @@ -18,8 +18,7 @@ "sharp": "^0.34.5", "shx": "^0.4.0", "typescript": "^5.7.3", - "uuid": "^11.0.5", - "uuidv4": "^6.1.0" + "uuid": "^10.0.0" }, "devDependencies": { "@types/jest": "^29.5.14", @@ -1312,19 +1311,6 @@ "url": "https://opencollective.com/node-fetch" } }, - "node_modules/@genkit-ai/ai/node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@genkit-ai/core": { "version": "1.33.0", "resolved": "https://registry.npmjs.org/@genkit-ai/core/-/core-1.33.0.tgz", @@ -4963,11 +4949,6 @@ "license": "MIT", "optional": true }, - "node_modules/@types/uuid": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", - "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==" - }, "node_modules/@types/yargs": { "version": "17.0.32", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", @@ -6653,6 +6634,19 @@ "url": "https://opencollective.com/node-fetch" } }, + "node_modules/firebase-admin/node_modules/uuid": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz", + "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/esm/bin/uuid" + } + }, "node_modules/firebase-functions": { "version": "6.6.0", "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-6.6.0.tgz", @@ -6883,18 +6877,6 @@ "uuid": "^10.0.0" } }, - "node_modules/genkit/node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", @@ -10766,30 +10748,15 @@ } }, "node_modules/uuid": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.0.tgz", - "integrity": "sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], - "bin": { - "uuid": "dist/esm/bin/uuid" - } - }, - "node_modules/uuidv4": { - "version": "6.2.13", - "resolved": "https://registry.npmjs.org/uuidv4/-/uuidv4-6.2.13.tgz", - "integrity": "sha512-AXyzMjazYB3ovL3q051VLH06Ixj//Knx7QnUSi1T//Ie3io6CpsPu9nVMOx5MoLWh6xV0B9J0hIaxungxXUbPQ==", - "dependencies": { - "@types/uuid": "8.3.4", - "uuid": "8.3.2" - } - }, - "node_modules/uuidv4/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } diff --git a/storage-resize-images/functions/package.json b/storage-resize-images/functions/package.json index de561468b..cc2f79bc9 100644 --- a/storage-resize-images/functions/package.json +++ b/storage-resize-images/functions/package.json @@ -26,8 +26,7 @@ "sharp": "^0.34.5", "shx": "^0.4.0", "typescript": "^5.7.3", - "uuid": "^11.0.5", - "uuidv4": "^6.1.0" + "uuid": "^10.0.0" }, "devDependencies": { "@types/jest": "^29.5.14", diff --git a/storage-resize-images/functions/src/resize-image.ts b/storage-resize-images/functions/src/resize-image.ts index 4be3b0834..3e50325c7 100644 --- a/storage-resize-images/functions/src/resize-image.ts +++ b/storage-resize-images/functions/src/resize-image.ts @@ -4,7 +4,7 @@ import * as path from "path"; import * as fs from "fs"; import { Bucket } from "@google-cloud/storage"; -import { uuid } from "uuidv4"; +import { v4 as uuidv4 } from "uuid"; import { config } from "./config"; import * as logs from "./logs"; @@ -103,7 +103,7 @@ export const modifyImage = async ({ let modifiedFile: string; try { - modifiedFile = path.join(os.tmpdir(), uuid()); + modifiedFile = path.join(os.tmpdir(), uuidv4()); // filename\*=utf-8'' selects any string match the filename notation. // [^;\s]+ searches any following string until either a space or semi-colon. @@ -203,7 +203,7 @@ export const constructMetadata = ( config.regenerateToken && metadata.metadata.firebaseStorageDownloadTokens ) { - metadata.metadata.firebaseStorageDownloadTokens = uuid(); + metadata.metadata.firebaseStorageDownloadTokens = uuidv4(); } return metadata; }; From b7e389070036debc362c0765a7f0e3e69b296b7b Mon Sep 17 00:00:00 2001 From: Jacob Cable Date: Fri, 8 May 2026 13:11:37 +0100 Subject: [PATCH 2/2] chore(deps): retarget uuid bump to v11.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per review on #2815: uuid v10 was deprecated upstream ("uuid@10 and below is no longer supported"). v11.1.0 is the correct CJS-compatible target — it ships dual CJS+ESM exports via the package's `exports` field. v12+ drops CJS again, so v11 is the only currently-supported CJS-capable line. - firestore-counter/{functions,clients/node,clients/web}: ^10.0.0 -> ^11.1.0 - storage-resize-images/functions: ^10.0.0 -> ^11.1.0 - firestore-counter/clients/web: drop now-redundant @types/uuid (uuid ships its own types from v9+) --- .../clients/node/package-lock.json | 25 ++------- firestore-counter/clients/node/package.json | 2 +- .../clients/web/package-lock.json | 18 ++----- firestore-counter/clients/web/package.json | 3 +- firestore-counter/functions/package-lock.json | 38 ++++++++++---- firestore-counter/functions/package.json | 2 +- .../functions/package-lock.json | 52 ++++++++++++------- storage-resize-images/functions/package.json | 2 +- 8 files changed, 76 insertions(+), 66 deletions(-) diff --git a/firestore-counter/clients/node/package-lock.json b/firestore-counter/clients/node/package-lock.json index 41ddec432..10efbe1b1 100644 --- a/firestore-counter/clients/node/package-lock.json +++ b/firestore-counter/clients/node/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "Apache-2.0", "dependencies": { - "uuid": "^10.0.0" + "uuid": "^11.1.0" }, "devDependencies": { "firebase-admin": "^13.0.0" @@ -1016,20 +1016,6 @@ "@google-cloud/storage": "^7.19.0" } }, - "node_modules/firebase-admin/node_modules/uuid": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.0.tgz", - "integrity": "sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==", - "dev": true, - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/esm/bin/uuid" - } - }, "node_modules/form-data": { "version": "2.5.5", "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.5.tgz", @@ -2193,17 +2179,16 @@ "optional": true }, "node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", - "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz", + "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], "license": "MIT", "bin": { - "uuid": "dist/bin/uuid" + "uuid": "dist/esm/bin/uuid" } }, "node_modules/web-streams-polyfill": { diff --git a/firestore-counter/clients/node/package.json b/firestore-counter/clients/node/package.json index 885dfe796..b0f194b4b 100644 --- a/firestore-counter/clients/node/package.json +++ b/firestore-counter/clients/node/package.json @@ -9,6 +9,6 @@ "firebase-admin": "^13.0.0" }, "dependencies": { - "uuid": "^10.0.0" + "uuid": "^11.1.0" } } diff --git a/firestore-counter/clients/web/package-lock.json b/firestore-counter/clients/web/package-lock.json index d558250d0..567b2fff8 100644 --- a/firestore-counter/clients/web/package-lock.json +++ b/firestore-counter/clients/web/package-lock.json @@ -9,8 +9,7 @@ "version": "1.0.0", "license": "Apache-2.0", "dependencies": { - "@types/uuid": "^10.0.0", - "uuid": "^10.0.0" + "uuid": "^11.1.0" }, "devDependencies": { "firebase": "^12.0.0", @@ -888,12 +887,6 @@ "undici-types": "~7.19.0" } }, - "node_modules/@types/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==", - "license": "MIT" - }, "node_modules/@webassemblyjs/ast": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", @@ -2482,17 +2475,16 @@ } }, "node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", - "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz", + "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], "license": "MIT", "bin": { - "uuid": "dist/bin/uuid" + "uuid": "dist/esm/bin/uuid" } }, "node_modules/watchpack": { diff --git a/firestore-counter/clients/web/package.json b/firestore-counter/clients/web/package.json index 9d5081d43..71ebeba4a 100644 --- a/firestore-counter/clients/web/package.json +++ b/firestore-counter/clients/web/package.json @@ -6,8 +6,7 @@ "license": "Apache-2.0", "description": "Web SDK to access sharded counters.", "dependencies": { - "@types/uuid": "^10.0.0", - "uuid": "^10.0.0" + "uuid": "^11.1.0" }, "devDependencies": { "firebase": "^12.0.0", diff --git a/firestore-counter/functions/package-lock.json b/firestore-counter/functions/package-lock.json index 8a81ebd72..f0f4d5722 100644 --- a/firestore-counter/functions/package-lock.json +++ b/firestore-counter/functions/package-lock.json @@ -13,7 +13,7 @@ "firebase-functions": "^4.9.0", "rimraf": "^2.6.3", "typescript": "^4.9.4", - "uuid": "^10.0.0" + "uuid": "^11.1.0" }, "devDependencies": { "@types/deep-equal": "^1.0.1", @@ -3185,6 +3185,20 @@ "@google-cloud/storage": "^7.7.0" } }, + "node_modules/firebase-admin/node_modules/uuid": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/firebase-functions": { "version": "4.9.0", "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-4.9.0.tgz", @@ -6440,17 +6454,16 @@ } }, "node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", - "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz", + "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], "license": "MIT", "bin": { - "uuid": "dist/bin/uuid" + "uuid": "dist/esm/bin/uuid" } }, "node_modules/v8-compile-cache-lib": { @@ -9043,6 +9056,13 @@ "jwks-rsa": "^3.1.0", "node-forge": "^1.3.1", "uuid": "^10.0.0" + }, + "dependencies": { + "uuid": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==" + } } }, "firebase-functions": { @@ -11335,9 +11355,9 @@ "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==" }, "uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==" + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz", + "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==" }, "v8-compile-cache-lib": { "version": "3.0.1", diff --git a/firestore-counter/functions/package.json b/firestore-counter/functions/package.json index 664d39c91..fdcd42201 100644 --- a/firestore-counter/functions/package.json +++ b/firestore-counter/functions/package.json @@ -8,7 +8,7 @@ "deep-equal": "^1.0.1", "firebase-admin": "^12.1.0", "firebase-functions": "^4.9.0", - "uuid": "^10.0.0", + "uuid": "^11.1.0", "rimraf": "^2.6.3", "typescript": "^4.9.4", "@types/express-serve-static-core": "4.19.8" diff --git a/storage-resize-images/functions/package-lock.json b/storage-resize-images/functions/package-lock.json index 98f3069d5..a84fb5c43 100644 --- a/storage-resize-images/functions/package-lock.json +++ b/storage-resize-images/functions/package-lock.json @@ -18,7 +18,7 @@ "sharp": "^0.34.5", "shx": "^0.4.0", "typescript": "^5.7.3", - "uuid": "^10.0.0" + "uuid": "^11.1.0" }, "devDependencies": { "@types/jest": "^29.5.14", @@ -1311,6 +1311,20 @@ "url": "https://opencollective.com/node-fetch" } }, + "node_modules/@genkit-ai/ai/node_modules/uuid": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/@genkit-ai/core": { "version": "1.33.0", "resolved": "https://registry.npmjs.org/@genkit-ai/core/-/core-1.33.0.tgz", @@ -6634,19 +6648,6 @@ "url": "https://opencollective.com/node-fetch" } }, - "node_modules/firebase-admin/node_modules/uuid": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz", - "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/esm/bin/uuid" - } - }, "node_modules/firebase-functions": { "version": "6.6.0", "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-6.6.0.tgz", @@ -6877,6 +6878,20 @@ "uuid": "^10.0.0" } }, + "node_modules/genkit/node_modules/uuid": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", @@ -10748,17 +10763,16 @@ } }, "node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", - "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz", + "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], "license": "MIT", "bin": { - "uuid": "dist/bin/uuid" + "uuid": "dist/esm/bin/uuid" } }, "node_modules/v8-to-istanbul": { diff --git a/storage-resize-images/functions/package.json b/storage-resize-images/functions/package.json index cc2f79bc9..776b62dab 100644 --- a/storage-resize-images/functions/package.json +++ b/storage-resize-images/functions/package.json @@ -26,7 +26,7 @@ "sharp": "^0.34.5", "shx": "^0.4.0", "typescript": "^5.7.3", - "uuid": "^10.0.0" + "uuid": "^11.1.0" }, "devDependencies": { "@types/jest": "^29.5.14",