sveltekit-auth-example 1.0.16 → 1.0.18

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
@@ -1,8 +1,16 @@
1
1
  # Backlog
2
+ * Add username and Avatar icon to menu bar
3
+ * [Possible Bug] Getting HTTP 401 on https://play.google.com/log?format=json&hasfast=true&authuser=0 from google-auth-library. As I didn't explicitly request logging, it could be that Safari is preventing Google from further invading our privacy. Will require some investigation. The site works regardless.
2
4
  * Consider not setting defaultUser in loginSession as it would simplify +layout.svelte.
3
5
  * Refactor $env/dynamic/private and public
4
6
  * Add password complexity checking on /register and /profile pages (only checks for length currently despite what the pages say)
5
7
 
8
+ # 1.0.18
9
+ * Bump dependencies
10
+
11
+ # 1.0.17
12
+ * Bump dependencies
13
+
6
14
  # 1.0.16
7
15
  * [Bug] Fixed LayoutServerLoad typing
8
16
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sveltekit-auth-example",
3
3
  "description": "SvelteKit Authentication Example",
4
- "version": "1.0.16",
4
+ "version": "1.0.18",
5
5
  "private": false,
6
6
  "author": "Nate Stuyvesant",
7
7
  "license": "https://github.com/nstuyvesant/sveltekit-auth-example/blob/master/LICENSE",
@@ -34,13 +34,13 @@
34
34
  },
35
35
  "engines": {
36
36
  "node": "~18.8.0",
37
- "npm": "^8.18.0"
37
+ "npm": "^8.19.1"
38
38
  },
39
39
  "type": "module",
40
40
  "dependencies": {
41
41
  "cookie": "^0.5.0",
42
- "dotenv": "^16.0.1",
43
- "google-auth-library": "^8.4.0",
42
+ "dotenv": "^16.0.2",
43
+ "google-auth-library": "^8.5.1",
44
44
  "jsonwebtoken": "^8.5.1",
45
45
  "pg": "^8.8.0"
46
46
  },
@@ -52,8 +52,8 @@
52
52
  "@types/google.accounts": "0.0.2",
53
53
  "@types/jsonwebtoken": "^8.5.9",
54
54
  "@types/pg": "^8.6.5",
55
- "@typescript-eslint/eslint-plugin": "^5.35.0",
56
- "@typescript-eslint/parser": "^5.35.0",
55
+ "@typescript-eslint/eslint-plugin": "^5.36.1",
56
+ "@typescript-eslint/parser": "^5.36.1",
57
57
  "bootstrap": "^5.2.0",
58
58
  "bootstrap-icons": "^1.9.1",
59
59
  "eslint": "^8.23.0",
@@ -61,12 +61,12 @@
61
61
  "eslint-plugin-svelte3": "^4.0.0",
62
62
  "prettier": "^2.7.1",
63
63
  "prettier-plugin-svelte": "^2.7.0",
64
- "sass": "^1.54.5",
65
- "svelte": "^3.49.0",
64
+ "sass": "^1.54.8",
65
+ "svelte": "^3.50.0",
66
66
  "svelte-check": "^2.9.0",
67
67
  "svelte-preprocess": "^4.10.7",
68
68
  "tslib": "^2.4.0",
69
69
  "typescript": "^4.7.4",
70
- "vite": "^3.0.9"
70
+ "vite": "^3.1.0"
71
71
  }
72
72
  }
@@ -1,10 +1,10 @@
1
- import { redirect } from '@sveltejs/kit';
1
+ import { redirect } from '@sveltejs/kit'
2
2
  import type { PageServerLoad } from './$types'
3
3
 
4
4
  export const load: PageServerLoad = ({ locals }) => {
5
5
  const { user } = locals
6
6
  if (user) { // Redirect to home if user is logged in already
7
- throw redirect(302, '/');
7
+ throw redirect(302, '/')
8
8
  }
9
9
  return {}
10
10
  }