Files
console/package.json
T
harsh mahajan 306715d62c 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
2026-09-09 18:38:01 +05:30

120 lines
4.3 KiB
JSON

{
"name": "@appwrite/console",
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "bun run build.js",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
"clean": "rm -rf node_modules && rm -rf .svelte-kit && bun install",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"format": "prettier --write --cache .",
"lint": "prettier --check . && eslint .",
"tests": "bun run test:unit && bun run test:e2e",
"test:unit": "TZ=EST vitest run",
"test:unit-ui": "TZ=EST vitest --ui",
"test:unit-watch": "TZ=EST vitest watch",
"test:e2e": "playwright test",
"test:e2e-ui": "playwright test --ui"
},
"dependencies": {
"@ai-sdk/svelte": "^1.1.24",
"@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@56957ff",
"@appwrite.io/pink-icons": "0.25.0",
"@appwrite.io/pink-icons-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-icons-svelte@bfe7ce3",
"@appwrite.io/pink-legacy": "^1.0.3",
"@appwrite.io/pink-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-svelte@8dcaa17",
"@codemirror/autocomplete": "^6.20.2",
"@codemirror/commands": "^6.10.3",
"@codemirror/language": "^6.12.3",
"@codemirror/lint": "^6.9.6",
"@codemirror/search": "^6.7.0",
"@codemirror/state": "^6.6.0",
"@codemirror/view": "^6.43.0",
"@faker-js/faker": "^10.6.0",
"@lezer/highlight": "^1.2.3",
"@plausible-analytics/tracker": "^0.4.5",
"@popperjs/core": "^2.11.8",
"@sentry/sveltekit": "^8.55.2",
"@stripe/stripe-js": "^3.5.0",
"@threlte/core": "^8.5.16",
"@threlte/extras": "^9.20.1",
"ai": "^6.0.194",
"analytics": "^0.8.19",
"codemirror-json5": "^1.0.3",
"cron-parser": "^4.9.0",
"dayjs": "^1.11.21",
"deep-equal": "^2.2.3",
"dompurify": "^3.4.12",
"echarts": "^5.6.0",
"flatted": "^3.4.2",
"ignore": "^6.0.2",
"json5": "^2.2.3",
"nanoid": "^3.3.18",
"nanotar": "^0.3.0",
"pretty-bytes": "^6.1.1",
"remarkable": "^2.0.1",
"three": "^0.181.2",
"tippy.js": "^6.3.7"
},
"devDependencies": {
"@eslint/compat": "^1.4.1",
"@eslint/js": "^9.39.4",
"@lezer/common": "^1.5.2",
"@melt-ui/pp": "^0.3.2",
"@melt-ui/svelte": "^0.86.6",
"@playwright/test": "^1.60.0",
"@sveltejs/adapter-static": "^3.0.10",
"@sveltejs/kit": "^2.61.1",
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/svelte": "^5.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/deep-equal": "^1.0.4",
"@types/dompurify": "^3.2.0",
"@types/remarkable": "^2.0.8",
"@types/three": "^0.182.0",
"@typescript-eslint/eslint-plugin": "^8.60.1",
"@typescript-eslint/parser": "^8.60.1",
"@vitest/ui": "^4.1.8",
"color": "^5.0.3",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-svelte": "^3.19.0",
"globals": "^16.5.0",
"jsdom": "^26.1.0",
"kleur": "^4.1.5",
"prettier": "^3.8.3",
"prettier-plugin-svelte": "^3.5.2",
"sass": "^1.100.0",
"svelte": "^5.56.1",
"svelte-check": "^4.5.0",
"svelte-preprocess": "^6.0.5",
"svelte-sequential-preprocessor": "^2.0.3",
"tldts": "^7.4.2",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.60.1",
"vite": "^7.3.1",
"vitest": "^4.1.8"
},
"overrides": {
"vite": "npm:rolldown-vite@latest",
"minimatch": "10.2.3",
"brace-expansion": ">=5.0.9",
"js-yaml": "^4.3.2",
"immutable": "^5.1.8",
"flatted": "^3.4.2",
"devalue": "^5.8.1",
"yaml": "^1.10.3",
"picomatch": "^4.0.4",
"cookie": "^0.7.0",
"ws": "^8.21.0",
"postcss": "^8.5.18",
"nanoid": "^3.3.18",
"browserslist": ">=4.28.7"
}
}