diff --git a/backend/internal/utils/file_util.go b/backend/internal/utils/file_util.go index 65ef5c51..0fa322dc 100644 --- a/backend/internal/utils/file_util.go +++ b/backend/internal/utils/file_util.go @@ -3,12 +3,13 @@ package utils import ( "errors" "fmt" - "github.com/google/uuid" - "github.com/pocket-id/pocket-id/backend/resources" "io" "mime/multipart" "os" "path/filepath" + + "github.com/google/uuid" + "github.com/pocket-id/pocket-id/backend/resources" ) func GetFileExtension(filename string) string { diff --git a/frontend/package.json b/frontend/package.json index 1c73a055..c62aa09f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,61 +1,61 @@ { - "name": "pocket-id-frontend", - "version": "1.3.1", - "private": true, - "type": "module", - "scripts": { - "dev": "vite dev --port 3000", - "build": "vite build", - "preview": "vite preview --port 3000", - "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "lint": "prettier --check . && eslint .", - "format": "prettier --write ." - }, - "dependencies": { - "@lucide/svelte": "^0.511.0", - "@simplewebauthn/browser": "^13.1.0", - "@tailwindcss/vite": "^4.1.7", - "axios": "^1.8.2", - "clsx": "^2.1.1", - "crypto": "^1.0.1", - "jose": "^5.9.6", - "qrcode": "^1.5.4", - "sveltekit-superforms": "^2.23.1", - "tailwind-merge": "^3.3.0", - "zod": "^3.25.55" - }, - "devDependencies": { - "@inlang/paraglide-js": "^2.0.13", - "@inlang/plugin-m-function-matcher": "^2.0.10", - "@inlang/plugin-message-format": "^4.0.0", - "@internationalized/date": "^3.7.0", - "@playwright/test": "^1.50.0", - "@sveltejs/adapter-static": "^3.0.8", - "@sveltejs/kit": "^2.20.7", - "@sveltejs/vite-plugin-svelte": "^5.0.3", - "@types/eslint": "^9.6.1", - "@types/node": "^22.10.10", - "@types/qrcode": "^1.5.5", - "bits-ui": "^1.5.3", - "eslint": "^9.19.0", - "eslint-config-prettier": "^10.0.1", - "eslint-plugin-svelte": "^2.46.1", - "formsnap": "^2.0.1", - "globals": "^15.14.0", - "mode-watcher": "^1.0.7", - "prettier": "^3.4.2", - "prettier-plugin-svelte": "^3.3.3", - "prettier-plugin-tailwindcss": "^0.6.11", - "svelte": "^5.31.1", - "svelte-check": "^4.1.4", - "svelte-sonner": "^1.0.1", - "tailwind-variants": "^1.0.0", - "tailwindcss": "^4.1.7", - "tslib": "^2.8.1", - "tw-animate-css": "^1.3.0", - "typescript": "^5.7.3", - "typescript-eslint": "^8.21.0", - "vite": "^6.3.4" - } + "name": "pocket-id-frontend", + "version": "1.3.1", + "private": true, + "type": "module", + "scripts": { + "dev": "vite dev --port 3000", + "build": "vite build", + "preview": "vite preview --port 3000", + "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", + "lint": "prettier --check . && eslint .", + "format": "prettier --write ." + }, + "dependencies": { + "@lucide/svelte": "^0.511.0", + "@simplewebauthn/browser": "^13.1.0", + "@tailwindcss/vite": "^4.1.7", + "axios": "^1.8.2", + "clsx": "^2.1.1", + "crypto": "^1.0.1", + "jose": "^5.9.6", + "qrcode": "^1.5.4", + "sveltekit-superforms": "^2.23.1", + "tailwind-merge": "^3.3.0", + "zod": "^3.25.55" + }, + "devDependencies": { + "@inlang/paraglide-js": "^2.0.13", + "@inlang/plugin-m-function-matcher": "^2.0.10", + "@inlang/plugin-message-format": "^4.0.0", + "@internationalized/date": "^3.7.0", + "@playwright/test": "^1.50.0", + "@sveltejs/adapter-static": "^3.0.8", + "@sveltejs/kit": "^2.20.7", + "@sveltejs/vite-plugin-svelte": "^5.0.3", + "@types/eslint": "^9.6.1", + "@types/node": "^22.10.10", + "@types/qrcode": "^1.5.5", + "bits-ui": "^1.5.3", + "eslint": "^9.19.0", + "eslint-config-prettier": "^10.0.1", + "eslint-plugin-svelte": "^2.46.1", + "formsnap": "^2.0.1", + "globals": "^15.14.0", + "mode-watcher": "^1.0.7", + "prettier": "^3.4.2", + "prettier-plugin-svelte": "^3.3.3", + "prettier-plugin-tailwindcss": "^0.6.11", + "svelte": "^5.31.1", + "svelte-check": "^4.1.4", + "svelte-sonner": "^1.0.1", + "tailwind-variants": "^1.0.0", + "tailwindcss": "^4.1.7", + "tslib": "^2.8.1", + "tw-animate-css": "^1.3.0", + "typescript": "^5.7.3", + "typescript-eslint": "^8.21.0", + "vite": "^6.3.4" + } } diff --git a/frontend/src/lib/components/form/date-picker.svelte b/frontend/src/lib/components/form/date-picker.svelte index 83347b33..e2723265 100644 --- a/frontend/src/lib/components/form/date-picker.svelte +++ b/frontend/src/lib/components/form/date-picker.svelte @@ -68,7 +68,7 @@