mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix(deps): bump faker past the arbitrary code execution advisory
GHSA-qxc2-j82w-r537 covers @faker-js/faker <=10.4.0 and is rated high, so `bun audit --audit-level high` fails and takes the build job with it on every branch. The repo was on ^9.9.0; the fix landed in 10.6.0. faker is a runtime dependency here, not a dev one: src/lib/helpers/faker.ts ships in the console bundle and powers "generate fake data" in the databases UI. The advisory is specific to helpers.fake(), which this repo never calls, so the exposure was nil, but the audit gate does not read call sites. Nothing in src/ needed changing. Every one of the 20 faker APIs used keeps its v9 signature in the installed v10 typings, including location.latitude and location.longitude, which still return `number` and so still serialise correctly into the point and line column payloads. bun audit --audit-level high clean (18 remaining are moderate/low) bun run check 0 errors bun run test:unit 275/275 bun run build success
This commit is contained in:
1 parent
dc7f4edb76
commit
306715d62c
2 files changed
+3
-3
No files matched your search
@@ -18,7 +18,7 @@
|
||||
"@codemirror/search": "^6.7.0",
|
||||
"@codemirror/state": "^6.6.0",
|
||||
"@codemirror/view": "^6.43.0",
|
||||
"@faker-js/faker": "^9.9.0",
|
||||
"@faker-js/faker": "^10.6.0",
|
||||
"@lezer/highlight": "^1.2.3",
|
||||
"@plausible-analytics/tracker": "^0.4.5",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
@@ -229,7 +229,7 @@
|
||||
|
||||
"@eslint/plugin-kit": ["@eslint/plugin-kit@0.4.1", "", { "dependencies": { "@eslint/core": "^0.17.0", "levn": "^0.4.1" } }, "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA=="],
|
||||
|
||||
"@faker-js/faker": ["@faker-js/faker@9.9.0", "", {}, "sha512-OEl393iCOoo/z8bMezRlJu+GlRGlsKbUAN7jKB6LhnKoqKve5DXRpalbItIIcwnCjs1k/FOPjFzcA6Qn+H+YbA=="],
|
||||
"@faker-js/faker": ["@faker-js/faker@10.6.0", "", {}, "sha512-3RQHgEtvL1Frl/d1cSreo7qhJ3Gk1OdNUai/CtZ8G+wYeRQnJih3s9xJ9/kgYekPQRdwgh0HXRPqMlzWGwivIQ=="],
|
||||
|
||||
"@floating-ui/core": ["@floating-ui/core@1.7.5", "", { "dependencies": { "@floating-ui/utils": "^0.2.11" } }, "sha512-1Ih4WTWyw0+lKyFMcBHGbb5U5FtuHJuujoyyr5zTaWS5EYMeT6Jb2AuDeftsCsEuchO+mM2ij5+q9crhydzLhQ=="],
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@
|
||||
"@codemirror/search": "^6.7.0",
|
||||
"@codemirror/state": "^6.6.0",
|
||||
"@codemirror/view": "^6.43.0",
|
||||
"@faker-js/faker": "^9.9.0",
|
||||
"@faker-js/faker": "^10.6.0",
|
||||
"@lezer/highlight": "^1.2.3",
|
||||
"@plausible-analytics/tracker": "^0.4.5",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
|
||||
Reference in new issue
Block a user