sveltekit-auth-example 2.0.4 → 2.0.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/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/package.json +19 -19
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
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
|
+
# 2.0.6
|
|
6
|
+
- Bump google-auth-library, @sendgrid/mail, pg, @sveltejs/kit, @sveltejs/vite-plugin-svelte, @types/pg, @typescript-eslint, eslint, eslint-config-prettier, prettier-plugin-svelte, sass, svelte, svelte-check, typescript, vite, vitest
|
|
7
|
+
|
|
8
|
+
# 2.0.5
|
|
9
|
+
- Bump @sveltejs/kit, @types/pg, @typescript-eslint, google-auth-library, sass, svelte-check, typescript, vite, vitest
|
|
10
|
+
|
|
5
11
|
# 2.0.4
|
|
6
12
|
- Tested with latest Sveltekit and google-auth-library
|
|
7
13
|
- Bump @sendgrid/mail, sveltekit, adapter-node, @types, @typescript-eslint, google-auth-library, prettier, prettier-plugin-svelte, sass, svelte, svelte-check, typescript, vite, vitest, yarn
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SvelteKit Authentication and Authorization Example
|
|
2
2
|
|
|
3
|
-
**Updated for SvelteKit 2.
|
|
3
|
+
**Updated for SvelteKit 2.5.4**
|
|
4
4
|
|
|
5
5
|
This is an example of how to register, authenticate, and update users and limit their access to
|
|
6
6
|
areas of the website by role (admin, teacher, student). It includes profile management and password resets via SendGrid.
|
|
@@ -34,7 +34,7 @@ The forgot password / password reset functionality uses a JWT and [**SendGrid**]
|
|
|
34
34
|
## Prerequisites
|
|
35
35
|
|
|
36
36
|
- PostgreSQL 14.10 or higher
|
|
37
|
-
- Node.js 18.19.
|
|
37
|
+
- Node.js 18.19.1 or higher
|
|
38
38
|
- Google API client
|
|
39
39
|
- Twilio SendGrid account (only used for emailing password reset link - the sample can run without it but forgot password will not work)
|
|
40
40
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sveltekit-auth-example",
|
|
3
3
|
"description": "SvelteKit Authentication Example",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.6",
|
|
5
5
|
"author": "Nate Stuyvesant",
|
|
6
6
|
"license": "https://github.com/nstuyvesant/sveltekit-auth-example/blob/master/LICENSE",
|
|
7
7
|
"repository": {
|
|
@@ -31,38 +31,38 @@
|
|
|
31
31
|
"format": "prettier --write . --ignore-path ./.eslintignore"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": "^18.19.
|
|
34
|
+
"node": "^18.19.1"
|
|
35
35
|
},
|
|
36
36
|
"type": "module",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@sendgrid/mail": "^8.1.
|
|
39
|
-
"pg": "^8.11.
|
|
38
|
+
"@sendgrid/mail": "^8.1.3",
|
|
39
|
+
"pg": "^8.11.5"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@sveltejs/adapter-node": "^5.0.1",
|
|
43
|
-
"@sveltejs/kit": "^2.5.
|
|
44
|
-
"@sveltejs/vite-plugin-svelte": "^3.0
|
|
43
|
+
"@sveltejs/kit": "^2.5.7",
|
|
44
|
+
"@sveltejs/vite-plugin-svelte": "^3.1.0",
|
|
45
45
|
"@types/bootstrap": "5.2.10",
|
|
46
46
|
"@types/google.accounts": "^0.0.14",
|
|
47
47
|
"@types/jsonwebtoken": "^9.0.6",
|
|
48
|
-
"@types/pg": "^8.11.
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
50
|
-
"@typescript-eslint/parser": "^7.
|
|
48
|
+
"@types/pg": "^8.11.5",
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
|
50
|
+
"@typescript-eslint/parser": "^7.7.1",
|
|
51
51
|
"bootstrap": "^5.3.3",
|
|
52
|
-
"eslint": "^
|
|
52
|
+
"eslint": "^9.1.1",
|
|
53
53
|
"eslint-config-prettier": "^9.1.0",
|
|
54
|
-
"eslint-plugin-svelte": "^2.
|
|
55
|
-
"google-auth-library": "^9.
|
|
54
|
+
"eslint-plugin-svelte": "^2.38.0",
|
|
55
|
+
"google-auth-library": "^9.9.0",
|
|
56
56
|
"jsonwebtoken": "^9.0.2",
|
|
57
57
|
"prettier": "^3.2.5",
|
|
58
|
-
"prettier-plugin-svelte": "^3.2.
|
|
59
|
-
"sass": "^1.
|
|
60
|
-
"svelte": "^4.2.
|
|
61
|
-
"svelte-check": "^3.
|
|
58
|
+
"prettier-plugin-svelte": "^3.2.3",
|
|
59
|
+
"sass": "^1.75.0",
|
|
60
|
+
"svelte": "^4.2.15",
|
|
61
|
+
"svelte-check": "^3.7.0",
|
|
62
62
|
"tslib": "^2.6.2",
|
|
63
|
-
"typescript": "^5.4.
|
|
64
|
-
"vite": "^5.
|
|
65
|
-
"vitest": "^1.
|
|
63
|
+
"typescript": "^5.4.5",
|
|
64
|
+
"vite": "^5.2.10",
|
|
65
|
+
"vitest": "^1.5.2"
|
|
66
66
|
},
|
|
67
67
|
"packageManager": "yarn@4.1.1",
|
|
68
68
|
"prettier": "./prettier.config.mjs"
|