sveltekit-auth-example 5.8.5 → 5.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  - Add password complexity checking on /register and /profile pages (only checks for length currently despite what the pages say)
4
4
 
5
+ # 5.8.6
6
+
7
+ - Bump dependencies
8
+ - Add color theme for One Tap (ignored by Chrome when using FedCM)
9
+
5
10
  # 5.8.5
6
11
 
7
12
  - Fix lint errors
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sveltekit-auth-example",
3
3
  "description": "SvelteKit Authentication Example",
4
- "version": "5.8.5",
4
+ "version": "5.8.6",
5
5
  "author": "Nate Stuyvesant",
6
6
  "license": "https://github.com/nstuyvesant/sveltekit-auth-example/blob/master/LICENSE",
7
7
  "repository": {
@@ -34,48 +34,48 @@
34
34
  "test:unit": "vitest"
35
35
  },
36
36
  "engines": {
37
- "node": "^24.14.0"
37
+ "node": "^24.14.1"
38
38
  },
39
39
  "type": "module",
40
40
  "dependencies": {
41
41
  "@sendgrid/mail": "^8.1.6",
42
- "google-auth-library": "^10.6.1",
42
+ "google-auth-library": "^10.6.2",
43
43
  "jsonwebtoken": "^9.0.3",
44
44
  "pg": "^8.20.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@eslint/compat": "^1.0.3",
47
+ "@eslint/compat": "^2.0.3",
48
48
  "@eslint/js": "^10.0.1",
49
49
  "@playwright/test": "^1.58.2",
50
50
  "@sveltejs/adapter-node": "^5.5.4",
51
- "@sveltejs/kit": "^2.54.0",
52
- "@sveltejs/mcp": "^0.1.21",
51
+ "@sveltejs/kit": "^2.55.0",
52
+ "@sveltejs/mcp": "^0.1.22",
53
53
  "@sveltejs/vite-plugin-svelte": "^7.0.0",
54
- "@tailwindcss/vite": "^4.2.1",
54
+ "@tailwindcss/vite": "^4.2.2",
55
55
  "@types/bootstrap": "5.2.10",
56
56
  "@types/google.accounts": "^0.0.18",
57
57
  "@types/jsonwebtoken": "^9.0.10",
58
- "@types/pg": "^8.18.0",
59
- "@vitest/coverage-v8": "4.1.0",
60
- "eslint": "^10.0.3",
58
+ "@types/pg": "^8.20.0",
59
+ "@vitest/coverage-v8": "4.1.2",
60
+ "eslint": "^10.1.0",
61
61
  "eslint-config-prettier": "^10.1.8",
62
- "eslint-plugin-svelte": "^3.15.2",
62
+ "eslint-plugin-svelte": "^3.16.0",
63
63
  "globals": "^17.4.0",
64
- "jsdom": "^28.1.0",
64
+ "jsdom": "^29.0.1",
65
65
  "playwright": "^1.58.2",
66
66
  "prettier": "^3.8.1",
67
- "prettier-plugin-sql": "^0.19.2",
67
+ "prettier-plugin-sql": "^0.20.0",
68
68
  "prettier-plugin-svelte": "^3.5.1",
69
69
  "prettier-plugin-tailwindcss": "^0.7.2",
70
- "svelte": "^5.53.11",
70
+ "svelte": "^5.55.0",
71
71
  "svelte-check": "^4.4.5",
72
72
  "tslib": "^2.8.1",
73
- "typescript": "^5.9.3",
74
- "typescript-eslint": "^8.57.0",
75
- "vite": "^8.0.0",
73
+ "typescript": "^6.0.2",
74
+ "typescript-eslint": "^8.57.2",
75
+ "vite": "^8.0.3",
76
76
  "vite-plugin-devtools-json": "^1.0.0",
77
- "vitest": "^4.1.0",
78
- "vitest-browser-svelte": "^2.0.2"
77
+ "vitest": "^4.1.2",
78
+ "vitest-browser-svelte": "^2.1.0"
79
79
  },
80
80
  "packageManager": "yarn@4.13.0"
81
81
  }
package/src/lib/google.ts CHANGED
@@ -59,7 +59,8 @@ export function initializeGoogleAccounts() {
59
59
  if (!appState.googleInitialized) {
60
60
  google.accounts.id.initialize({
61
61
  client_id: PUBLIC_GOOGLE_CLIENT_ID,
62
- callback: googleCallback
62
+ callback: googleCallback,
63
+ color_scheme: 'light'
63
64
  })
64
65
  appState.googleInitialized = true
65
66
  }