sveltekit-auth-example 2.0.5 → 2.0.7

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/.yarnrc.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  nodeLinker: node-modules
2
2
 
3
- yarnPath: .yarn/releases/yarn-4.1.1.cjs
3
+ yarnPath: .yarn/releases/yarn-4.4.0.cjs
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
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.7
6
+ - Bump pg, google-auth-library, svelte, svelte-check, yarn, typescript-eslint, @types/pg, eslint, prettier, prettier-plugin-svelte, sass, tslib, typescript, vite, vitest
7
+ - Install typescript-eslint, @eslint/js, globals, eslint-plugin-prettier
8
+ - Change eslint config to flat
9
+
10
+ # 2.0.6
11
+ - 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
12
+
5
13
  # 2.0.5
6
14
  - Bump @sveltejs/kit, @types/pg, @typescript-eslint, google-auth-library, sass, svelte-check, typescript, vite, vitest
7
15
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SvelteKit Authentication and Authorization Example
2
2
 
3
- **Updated for SvelteKit 2.5.4**
3
+ **Updated for SvelteKit 2.5.7**
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.
package/eslint.config.js CHANGED
@@ -1,31 +1,16 @@
1
- export default {
2
- root: true,
3
- parser: '@typescript-eslint/parser',
4
- extends: [
5
- 'eslint:recommended',
6
- 'plugin:@typescript-eslint/recommended',
7
- 'plugin:svelte/recommended',
8
- 'prettier'
9
- ],
10
- plugins: ['@typescript-eslint'],
11
- ignorePatterns: ['*.cjs'],
12
- parserOptions: {
13
- sourceType: 'module',
14
- ecmaVersion: 2020,
15
- extraFileExtensions: ['.svelte']
1
+ import eslint from '@eslint/js'
2
+ import globals from 'globals'
3
+ import prettierPluginRecommended from 'eslint-plugin-prettier/recommended'
4
+ import sveltePlugin from 'eslint-plugin-svelte'
5
+ import tseslint from 'typescript-eslint'
6
+
7
+ export default tseslint.config(
8
+ // Global - window and document objects
9
+ {
10
+ languageOptions: { globals: globals.browser }
16
11
  },
17
- env: {
18
- browser: true,
19
- es2017: true,
20
- node: true
21
- },
22
- overrides: [
23
- {
24
- files: ['*.svelte'],
25
- parser: 'svelte-eslint-parser',
26
- parserOptions: {
27
- parser: '@typescript-eslint/parser'
28
- }
29
- }
30
- ]
31
- }
12
+ eslint.configs.recommended,
13
+ ...tseslint.configs.recommended,
14
+ ...sveltePlugin.configs['flat/prettier'],
15
+ prettierPluginRecommended
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": "2.0.5",
4
+ "version": "2.0.7",
5
5
  "author": "Nate Stuyvesant",
6
6
  "license": "https://github.com/nstuyvesant/sveltekit-auth-example/blob/master/LICENSE",
7
7
  "repository": {
@@ -35,35 +35,37 @@
35
35
  },
36
36
  "type": "module",
37
37
  "dependencies": {
38
- "@sendgrid/mail": "^8.1.1",
39
- "pg": "^8.11.3"
38
+ "@sendgrid/mail": "^8.1.3",
39
+ "pg": "^8.12.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@sveltejs/adapter-node": "^5.0.1",
43
- "@sveltejs/kit": "^2.5.4",
44
- "@sveltejs/vite-plugin-svelte": "^3.0.2",
42
+ "@eslint/js": "^9.9.0",
43
+ "@sveltejs/adapter-node": "^5.2.2",
44
+ "@sveltejs/kit": "^2.5.22",
45
+ "@sveltejs/vite-plugin-svelte": "^3.1.1",
45
46
  "@types/bootstrap": "5.2.10",
46
47
  "@types/google.accounts": "^0.0.14",
47
48
  "@types/jsonwebtoken": "^9.0.6",
48
- "@types/pg": "^8.11.4",
49
- "@typescript-eslint/eslint-plugin": "^7.3.1",
50
- "@typescript-eslint/parser": "^7.3.1",
49
+ "@types/pg": "^8.11.6",
51
50
  "bootstrap": "^5.3.3",
52
- "eslint": "^8.57.0",
51
+ "eslint": "^9.9.0",
53
52
  "eslint-config-prettier": "^9.1.0",
54
- "eslint-plugin-svelte": "^2.35.1",
55
- "google-auth-library": "^9.7.0",
53
+ "eslint-plugin-prettier": "^5.2.1",
54
+ "eslint-plugin-svelte": "^2.43.0",
55
+ "globals": "^15.9.0",
56
+ "google-auth-library": "^9.13.0",
56
57
  "jsonwebtoken": "^9.0.2",
57
- "prettier": "^3.2.5",
58
- "prettier-plugin-svelte": "^3.2.2",
59
- "sass": "^1.72.0",
60
- "svelte": "^4.2.12",
61
- "svelte-check": "^3.6.8",
62
- "tslib": "^2.6.2",
63
- "typescript": "^5.4.3",
64
- "vite": "^5.2.6",
65
- "vitest": "^1.4.0"
58
+ "prettier": "^3.3.3",
59
+ "prettier-plugin-svelte": "^3.2.6",
60
+ "sass": "^1.77.8",
61
+ "svelte": "^4.2.18",
62
+ "svelte-check": "^3.8.5",
63
+ "tslib": "^2.6.3",
64
+ "typescript": "^5.5.4",
65
+ "typescript-eslint": "^8.1.0",
66
+ "vite": "^5.4.1",
67
+ "vitest": "^2.0.5"
66
68
  },
67
- "packageManager": "yarn@4.1.1",
69
+ "packageManager": "yarn@4.4.0",
68
70
  "prettier": "./prettier.config.mjs"
69
71
  }