Files
console/package.json
T
harsh mahajan 6fa8402cd0 Pin nanoid past the indefinite-loop advisory
bun audit fails on GHSA-2v37-7h3g-55p8: the lockfile pinned nanoid 3.3.17
under postcss and @ai-sdk/provider-utils, and neither `bun update nanoid`
nor updating those parents re-resolved it. Bun ignores npm's nested
override syntax, so the override has to be flat.

That takes the direct dependency to the 3.x line as well. The only use is
nanoid/non-secure, which 3.x provides, and the declared range now matches
what installs rather than claiming a 5.x that the override replaces.
2026-08-14 11:24:14 +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@6be9e62",
"@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": "^9.9.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",
"svelte-confetti": "^1.4.0",
"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.1",
"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"
}
}