Merge pull request #112 from kitpdr/chore/update-minor-patch-deps
chore(deps): update minor and patch dependencies
3 files · +2012 -1663
M package.json +31 -31
| @@ -23,46 +23,46 @@ | |||
| 23 | 23 | "db:flush": "tsx utils/db-flush.ts" | |
| 24 | 24 | }, | |
| 25 | 25 | "devDependencies": { | |
| 26 | - | "@eslint/compat": "^2.0.2", | |
| 26 | + | "@eslint/compat": "^2.1.1", | |
| 27 | 27 | "@eslint/js": "^10.0.1", | |
| 28 | - | "@sveltejs/adapter-cloudflare": "^7.2.7", | |
| 29 | - | "@sveltejs/kit": "^2.52.0", | |
| 28 | + | "@sveltejs/adapter-cloudflare": "^7.2.9", | |
| 29 | + | "@sveltejs/kit": "^2.70.3", | |
| 30 | 30 | "@sveltejs/vite-plugin-svelte": "^6.2.4", | |
| 31 | - | "@tailwindcss/cli": "^4.1.18", | |
| 31 | + | "@tailwindcss/cli": "^4.3.3", | |
| 32 | 32 | "@tailwindcss/forms": "^0.5.11", | |
| 33 | - | "@tailwindcss/typography": "^0.5.19", | |
| 34 | - | "@tailwindcss/vite": "^4.1.18", | |
| 35 | - | "@types/node": "^25.2.3", | |
| 36 | - | "autoprefixer": "^10.4.24", | |
| 37 | - | "drizzle-kit": "^0.31.9", | |
| 38 | - | "eslint": "^10.0.0", | |
| 33 | + | "@tailwindcss/typography": "^0.5.20", | |
| 34 | + | "@tailwindcss/vite": "^4.3.3", | |
| 35 | + | "@types/node": "^25.9.8", | |
| 36 | + | "autoprefixer": "^10.6.1", | |
| 37 | + | "drizzle-kit": "^0.31.11", | |
| 38 | + | "eslint": "^10.11.0", | |
| 39 | 39 | "eslint-config-prettier": "^10.1.8", | |
| 40 | - | "eslint-plugin-svelte": "^3.15.0", | |
| 41 | - | "globals": "^17.3.0", | |
| 40 | + | "eslint-plugin-svelte": "^3.23.0", | |
| 41 | + | "globals": "^17.12.0", | |
| 42 | 42 | "jsdom": "^28.1.0", | |
| 43 | - | "prettier": "^3.8.1", | |
| 44 | - | "prettier-plugin-svelte": "^3.4.1", | |
| 45 | - | "prettier-plugin-tailwindcss": "^0.7.2", | |
| 46 | - | "svelte": "^5.51.2", | |
| 47 | - | "svelte-check": "^4.4.0", | |
| 48 | - | "tailwindcss": "^4.1.18", | |
| 49 | - | "terser": "^5.46.0", | |
| 50 | - | "tsx": "^4.21.0", | |
| 43 | + | "prettier": "^3.9.9", | |
| 44 | + | "prettier-plugin-svelte": "^3.5.2", | |
| 45 | + | "prettier-plugin-tailwindcss": "^0.7.4", | |
| 46 | + | "svelte": "^5.57.1", | |
| 47 | + | "svelte-check": "^4.7.6", | |
| 48 | + | "tailwindcss": "^4.3.3", | |
| 49 | + | "terser": "^5.51.2", | |
| 50 | + | "tsx": "^4.23.15", | |
| 51 | 51 | "tw-animate-css": "^1.4.0", | |
| 52 | 52 | "typescript": "^5.9.3", | |
| 53 | - | "typescript-eslint": "^8.55.0", | |
| 54 | - | "vite": "^7.3.1", | |
| 55 | - | "vitest": "^4.0.18", | |
| 56 | - | "wrangler": "^4.65.0" | |
| 53 | + | "typescript-eslint": "^8.70.1", | |
| 54 | + | "vite": "^7.3.6", | |
| 55 | + | "vitest": "^4.1.11", | |
| 56 | + | "wrangler": "^4.141.0" | |
| 57 | 57 | }, | |
| 58 | 58 | "dependencies": { | |
| 59 | - | "@libsql/client": "^0.17.0", | |
| 59 | + | "@libsql/client": "^0.17.4", | |
| 60 | 60 | "@lucide/svelte": "^0.564.0", | |
| 61 | - | "convex": "^1.31.7", | |
| 62 | - | "convex-helpers": "^0.1.112", | |
| 61 | + | "convex": "^1.46.0", | |
| 62 | + | "convex-helpers": "^0.1.124", | |
| 63 | 63 | "convex-svelte": "^0.0.12", | |
| 64 | - | "dotenv": "^17.3.1", | |
| 65 | - | "drizzle-orm": "^0.45.1", | |
| 64 | + | "dotenv": "^17.4.2", | |
| 65 | + | "drizzle-orm": "^0.45.3", | |
| 66 | 66 | "pino": "^10.3.1", | |
| 67 | 67 | "pino-pretty": "^13.1.3", | |
| 68 | 68 | "rehype": "^13.0.2", | |
| @@ -71,9 +71,9 @@ | |||
| 71 | 71 | "remark-parse": "^11.0.0", | |
| 72 | 72 | "remark-rehype": "^11.1.2", | |
| 73 | 73 | "unified": "^11.0.5", | |
| 74 | - | "uuid": "^13.0.0", | |
| 74 | + | "uuid": "^13.0.2", | |
| 75 | 75 | "xp.css": "^0.2.6", | |
| 76 | - | "zod": "^4.3.6" | |
| 76 | + | "zod": "^4.6.5" | |
| 77 | 77 | }, | |
| 78 | 78 | "packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501" | |
| 79 | 79 | } | |
| @@ -23,46 +23,46 @@ | |||||
| 23 | "db:flush": "tsx utils/db-flush.ts" | 23 | "db:flush": "tsx utils/db-flush.ts" | ||
| 24 | }, | 24 | }, | ||
| 25 | "devDependencies": { | 25 | "devDependencies": { | ||
| 26 | - | "@eslint/compat": "^2.0.2", | 26 | + | "@eslint/compat": "^2.1.1", |
| 27 | "@eslint/js": "^10.0.1", | 27 | "@eslint/js": "^10.0.1", | ||
| 28 | - | "@sveltejs/adapter-cloudflare": "^7.2.7", | 28 | + | "@sveltejs/adapter-cloudflare": "^7.2.9", |
| 29 | - | "@sveltejs/kit": "^2.52.0", | 29 | + | "@sveltejs/kit": "^2.70.3", |
| 30 | "@sveltejs/vite-plugin-svelte": "^6.2.4", | 30 | "@sveltejs/vite-plugin-svelte": "^6.2.4", | ||
| 31 | - | "@tailwindcss/cli": "^4.1.18", | 31 | + | "@tailwindcss/cli": "^4.3.3", |
| 32 | "@tailwindcss/forms": "^0.5.11", | 32 | "@tailwindcss/forms": "^0.5.11", | ||
| 33 | - | "@tailwindcss/typography": "^0.5.19", | 33 | + | "@tailwindcss/typography": "^0.5.20", |
| 34 | - | "@tailwindcss/vite": "^4.1.18", | 34 | + | "@tailwindcss/vite": "^4.3.3", |
| 35 | - | "@types/node": "^25.2.3", | 35 | + | "@types/node": "^25.9.8", |
| 36 | - | "autoprefixer": "^10.4.24", | 36 | + | "autoprefixer": "^10.6.1", |
| 37 | - | "drizzle-kit": "^0.31.9", | 37 | + | "drizzle-kit": "^0.31.11", |
| 38 | - | "eslint": "^10.0.0", | 38 | + | "eslint": "^10.11.0", |
| 39 | "eslint-config-prettier": "^10.1.8", | 39 | "eslint-config-prettier": "^10.1.8", | ||
| 40 | - | "eslint-plugin-svelte": "^3.15.0", | 40 | + | "eslint-plugin-svelte": "^3.23.0", |
| 41 | - | "globals": "^17.3.0", | 41 | + | "globals": "^17.12.0", |
| 42 | "jsdom": "^28.1.0", | 42 | "jsdom": "^28.1.0", | ||
| 43 | - | "prettier": "^3.8.1", | 43 | + | "prettier": "^3.9.9", |
| 44 | - | "prettier-plugin-svelte": "^3.4.1", | 44 | + | "prettier-plugin-svelte": "^3.5.2", |
| 45 | - | "prettier-plugin-tailwindcss": "^0.7.2", | 45 | + | "prettier-plugin-tailwindcss": "^0.7.4", |
| 46 | - | "svelte": "^5.51.2", | 46 | + | "svelte": "^5.57.1", |
| 47 | - | "svelte-check": "^4.4.0", | 47 | + | "svelte-check": "^4.7.6", |
| 48 | - | "tailwindcss": "^4.1.18", | 48 | + | "tailwindcss": "^4.3.3", |
| 49 | - | "terser": "^5.46.0", | 49 | + | "terser": "^5.51.2", |
| 50 | - | "tsx": "^4.21.0", | 50 | + | "tsx": "^4.23.15", |
| 51 | "tw-animate-css": "^1.4.0", | 51 | "tw-animate-css": "^1.4.0", | ||
| 52 | "typescript": "^5.9.3", | 52 | "typescript": "^5.9.3", | ||
| 53 | - | "typescript-eslint": "^8.55.0", | 53 | + | "typescript-eslint": "^8.70.1", |
| 54 | - | "vite": "^7.3.1", | 54 | + | "vite": "^7.3.6", |
| 55 | - | "vitest": "^4.0.18", | 55 | + | "vitest": "^4.1.11", |
| 56 | - | "wrangler": "^4.65.0" | 56 | + | "wrangler": "^4.141.0" |
| 57 | }, | 57 | }, | ||
| 58 | "dependencies": { | 58 | "dependencies": { | ||
| 59 | - | "@libsql/client": "^0.17.0", | 59 | + | "@libsql/client": "^0.17.4", |
| 60 | "@lucide/svelte": "^0.564.0", | 60 | "@lucide/svelte": "^0.564.0", | ||
| 61 | - | "convex": "^1.31.7", | 61 | + | "convex": "^1.46.0", |
| 62 | - | "convex-helpers": "^0.1.112", | 62 | + | "convex-helpers": "^0.1.124", |
| 63 | "convex-svelte": "^0.0.12", | 63 | "convex-svelte": "^0.0.12", | ||
| 64 | - | "dotenv": "^17.3.1", | 64 | + | "dotenv": "^17.4.2", |
| 65 | - | "drizzle-orm": "^0.45.1", | 65 | + | "drizzle-orm": "^0.45.3", |
| 66 | "pino": "^10.3.1", | 66 | "pino": "^10.3.1", | ||
| 67 | "pino-pretty": "^13.1.3", | 67 | "pino-pretty": "^13.1.3", | ||
| 68 | "rehype": "^13.0.2", | 68 | "rehype": "^13.0.2", | ||
| @@ -71,9 +71,9 @@ | |||||
| 71 | "remark-parse": "^11.0.0", | 71 | "remark-parse": "^11.0.0", | ||
| 72 | "remark-rehype": "^11.1.2", | 72 | "remark-rehype": "^11.1.2", | ||
| 73 | "unified": "^11.0.5", | 73 | "unified": "^11.0.5", | ||
| 74 | - | "uuid": "^13.0.0", | 74 | + | "uuid": "^13.0.2", |
| 75 | "xp.css": "^0.2.6", | 75 | "xp.css": "^0.2.6", | ||
| 76 | - | "zod": "^4.3.6" | 76 | + | "zod": "^4.6.5" |
| 77 | }, | 77 | }, | ||
| 78 | "packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501" | 78 | "packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501" | ||
| 79 | } | 79 | } | ||
M pnpm-lock.yaml +1980 -1630 generated file: collapsed
M src/lib/api/session.server.ts +1 -2
| @@ -64,8 +64,7 @@ export async function createSession(token: string, userId: string): Promise<Sess | |||
| 64 | 64 | * Returns an object with both session and user if valid, or nulls if not. | |
| 65 | 65 | */ | |
| 66 | 66 | export type SessionValidationResult = | |
| 67 | - | | { session: Session; user: SafeUser } | |
| 68 | - | | { session: null; user: null }; | |
| 67 | + | { session: Session; user: SafeUser } | { session: null; user: null }; | |
| 69 | 68 | ||
| 70 | 69 | // Validate a session token by converting it to its SHA-256 hash, checking expiration, and fetching the user. | |
| 71 | 70 | export async function validateSessionToken(token: string): Promise<SessionValidationResult> { | |
| @@ -64,8 +64,7 @@ export async function createSession(token: string, userId: string): Promise<Sess | |||||
| 64 | * Returns an object with both session and user if valid, or nulls if not. | 64 | * Returns an object with both session and user if valid, or nulls if not. | ||
| 65 | */ | 65 | */ | ||
| 66 | export type SessionValidationResult = | 66 | export type SessionValidationResult = | ||
| 67 | - | | { session: Session; user: SafeUser } | 67 | + | { session: Session; user: SafeUser } | { session: null; user: null }; |
| 68 | - | | { session: null; user: null }; | |||
| 69 | 68 | ||||
| 70 | // Validate a session token by converting it to its SHA-256 hash, checking expiration, and fetching the user. | 69 | // Validate a session token by converting it to its SHA-256 hash, checking expiration, and fetching the user. | ||
| 71 | export async function validateSessionToken(token: string): Promise<SessionValidationResult> { | 70 | export async function validateSessionToken(token: string): Promise<SessionValidationResult> { | ||