Fix text search.

This commit is contained in:
Bradley Shellnut 2024-02-22 19:13:04 -08:00
parent 39ecce591a
commit becf1d8349
6 changed files with 159 additions and 186 deletions

View file

@ -31,7 +31,7 @@
"@resvg/resvg-js": "^2.6.0", "@resvg/resvg-js": "^2.6.0",
"@sveltejs/adapter-auto": "^3.1.1", "@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/enhanced-img": "^0.1.8", "@sveltejs/enhanced-img": "^0.1.8",
"@sveltejs/kit": "^2.5.0", "@sveltejs/kit": "^2.5.1",
"@sveltejs/vite-plugin-svelte": "^3.0.2", "@sveltejs/vite-plugin-svelte": "^3.0.2",
"@types/cookie": "^0.6.0", "@types/cookie": "^0.6.0",
"@types/node": "^20.11.19", "@types/node": "^20.11.19",
@ -69,8 +69,8 @@
"tslib": "^2.6.1", "tslib": "^2.6.1",
"tsx": "^4.7.1", "tsx": "^4.7.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"vite": "^5.1.3", "vite": "^5.1.4",
"vitest": "^1.3.0", "vitest": "^1.3.1",
"zod": "^3.22.4" "zod": "^3.22.4"
}, },
"type": "module", "type": "module",
@ -98,7 +98,7 @@
"class-variance-authority": "^0.7.0", "class-variance-authority": "^0.7.0",
"clsx": "^2.1.0", "clsx": "^2.1.0",
"cookie": "^0.6.0", "cookie": "^0.6.0",
"drizzle-orm": "^0.29.3", "drizzle-orm": "^0.29.4",
"feather-icons": "^4.29.1", "feather-icons": "^4.29.1",
"formsnap": "^0.4.4", "formsnap": "^0.4.4",
"html-entities": "^2.4.0", "html-entities": "^2.4.0",
@ -109,7 +109,7 @@
"lucide-svelte": "^0.335.0", "lucide-svelte": "^0.335.0",
"mysql2": "^3.9.1", "mysql2": "^3.9.1",
"nanoid": "^5.0.6", "nanoid": "^5.0.6",
"open-props": "^1.6.18", "open-props": "^1.6.19",
"oslo": "^1.1.2", "oslo": "^1.1.2",
"pg": "^8.11.3", "pg": "^8.11.3",
"postgres": "^3.4.3", "postgres": "^3.4.3",

View file

@ -37,10 +37,10 @@ dependencies:
version: 5.9.1(prisma@5.9.1) version: 5.9.1(prisma@5.9.1)
'@sentry/sveltekit': '@sentry/sveltekit':
specifier: ^7.100.1 specifier: ^7.100.1
version: 7.100.1(@sveltejs/kit@2.5.0)(svelte@4.2.11) version: 7.100.1(@sveltejs/kit@2.5.1)(svelte@4.2.11)
'@sveltejs/adapter-vercel': '@sveltejs/adapter-vercel':
specifier: ^5.1.0 specifier: ^5.1.0
version: 5.1.0(@sveltejs/kit@2.5.0) version: 5.1.0(@sveltejs/kit@2.5.1)
'@types/feather-icons': '@types/feather-icons':
specifier: ^4.29.4 specifier: ^4.29.4
version: 4.29.4 version: 4.29.4
@ -63,8 +63,8 @@ dependencies:
specifier: ^0.6.0 specifier: ^0.6.0
version: 0.6.0 version: 0.6.0
drizzle-orm: drizzle-orm:
specifier: ^0.29.3 specifier: ^0.29.4
version: 0.29.3(@neondatabase/serverless@0.8.1)(@planetscale/database@1.16.0)(@types/pg@8.11.0)(mysql2@3.9.1)(pg@8.11.3)(postgres@3.4.3) version: 0.29.4(@neondatabase/serverless@0.8.1)(@planetscale/database@1.16.0)(@types/pg@8.11.0)(mysql2@3.9.1)(pg@8.11.3)(postgres@3.4.3)
feather-icons: feather-icons:
specifier: ^4.29.1 specifier: ^4.29.1
version: 4.29.1 version: 4.29.1
@ -96,8 +96,8 @@ dependencies:
specifier: ^5.0.6 specifier: ^5.0.6
version: 5.0.6 version: 5.0.6
open-props: open-props:
specifier: ^1.6.18 specifier: ^1.6.19
version: 1.6.18 version: 1.6.19
oslo: oslo:
specifier: ^1.1.2 specifier: ^1.1.2
version: 1.1.2 version: 1.1.2
@ -144,16 +144,16 @@ devDependencies:
version: 2.6.0 version: 2.6.0
'@sveltejs/adapter-auto': '@sveltejs/adapter-auto':
specifier: ^3.1.1 specifier: ^3.1.1
version: 3.1.1(@sveltejs/kit@2.5.0) version: 3.1.1(@sveltejs/kit@2.5.1)
'@sveltejs/enhanced-img': '@sveltejs/enhanced-img':
specifier: ^0.1.8 specifier: ^0.1.8
version: 0.1.8(svelte@4.2.11) version: 0.1.8(svelte@4.2.11)
'@sveltejs/kit': '@sveltejs/kit':
specifier: ^2.5.0 specifier: ^2.5.1
version: 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3) version: 2.5.1(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.4)
'@sveltejs/vite-plugin-svelte': '@sveltejs/vite-plugin-svelte':
specifier: ^3.0.2 specifier: ^3.0.2
version: 3.0.2(svelte@4.2.11)(vite@5.1.3) version: 3.0.2(svelte@4.2.11)(vite@5.1.4)
'@types/cookie': '@types/cookie':
specifier: ^0.6.0 specifier: ^0.6.0
version: 0.6.0 version: 0.6.0
@ -240,13 +240,13 @@ devDependencies:
version: 2.0.1 version: 2.0.1
sveltekit-flash-message: sveltekit-flash-message:
specifier: ^2.4.2 specifier: ^2.4.2
version: 2.4.2(@sveltejs/kit@2.5.0)(svelte@4.2.11) version: 2.4.2(@sveltejs/kit@2.5.1)(svelte@4.2.11)
sveltekit-rate-limiter: sveltekit-rate-limiter:
specifier: ^0.4.3 specifier: ^0.4.3
version: 0.4.3(@sveltejs/kit@2.5.0) version: 0.4.3(@sveltejs/kit@2.5.1)
sveltekit-superforms: sveltekit-superforms:
specifier: ^1.13.4 specifier: ^1.13.4
version: 1.13.4(@sveltejs/kit@2.5.0)(svelte@4.2.11)(zod@3.22.4) version: 1.13.4(@sveltejs/kit@2.5.1)(svelte@4.2.11)(zod@3.22.4)
tailwindcss: tailwindcss:
specifier: ^3.4.1 specifier: ^3.4.1
version: 3.4.1(ts-node@10.9.2) version: 3.4.1(ts-node@10.9.2)
@ -263,11 +263,11 @@ devDependencies:
specifier: ^5.3.3 specifier: ^5.3.3
version: 5.3.3 version: 5.3.3
vite: vite:
specifier: ^5.1.3 specifier: ^5.1.4
version: 5.1.3(@types/node@20.11.19)(sass@1.71.0) version: 5.1.4(@types/node@20.11.19)(sass@1.71.0)
vitest: vitest:
specifier: ^1.3.0 specifier: ^1.3.1
version: 1.3.0(@types/node@20.11.19)(sass@1.71.0) version: 1.3.1(@types/node@20.11.19)(sass@1.71.0)
zod: zod:
specifier: ^3.22.4 specifier: ^3.22.4
version: 3.22.4 version: 3.22.4
@ -2667,92 +2667,92 @@ packages:
picomatch: 2.3.1 picomatch: 2.3.1
dev: true dev: true
/@rollup/rollup-android-arm-eabi@4.9.6: /@rollup/rollup-android-arm-eabi@4.12.0:
resolution: {integrity: sha512-MVNXSSYN6QXOulbHpLMKYi60ppyO13W9my1qogeiAqtjb2yR4LSmfU2+POvDkLzhjYLXz9Rf9+9a3zFHW1Lecg==} resolution: {integrity: sha512-+ac02NL/2TCKRrJu2wffk1kZ+RyqxVUlbjSagNgPm94frxtr+XDL12E5Ll1enWskLrtrZ2r8L3wED1orIibV/w==}
cpu: [arm] cpu: [arm]
os: [android] os: [android]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-android-arm64@4.9.6: /@rollup/rollup-android-arm64@4.12.0:
resolution: {integrity: sha512-T14aNLpqJ5wzKNf5jEDpv5zgyIqcpn1MlwCrUXLrwoADr2RkWA0vOWP4XxbO9aiO3dvMCQICZdKeDrFl7UMClw==} resolution: {integrity: sha512-OBqcX2BMe6nvjQ0Nyp7cC90cnumt8PXmO7Dp3gfAju/6YwG0Tj74z1vKrfRz7qAv23nBcYM8BCbhrsWqO7PzQQ==}
cpu: [arm64] cpu: [arm64]
os: [android] os: [android]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-darwin-arm64@4.9.6: /@rollup/rollup-darwin-arm64@4.12.0:
resolution: {integrity: sha512-CqNNAyhRkTbo8VVZ5R85X73H3R5NX9ONnKbXuHisGWC0qRbTTxnF1U4V9NafzJbgGM0sHZpdO83pLPzq8uOZFw==} resolution: {integrity: sha512-X64tZd8dRE/QTrBIEs63kaOBG0b5GVEd3ccoLtyf6IdXtHdh8h+I56C2yC3PtC9Ucnv0CpNFJLqKFVgCYe0lOQ==}
cpu: [arm64] cpu: [arm64]
os: [darwin] os: [darwin]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-darwin-x64@4.9.6: /@rollup/rollup-darwin-x64@4.12.0:
resolution: {integrity: sha512-zRDtdJuRvA1dc9Mp6BWYqAsU5oeLixdfUvkTHuiYOHwqYuQ4YgSmi6+/lPvSsqc/I0Omw3DdICx4Tfacdzmhog==} resolution: {integrity: sha512-cc71KUZoVbUJmGP2cOuiZ9HSOP14AzBAThn3OU+9LcA1+IUqswJyR1cAJj3Mg55HbjZP6OLAIscbQsQLrpgTOg==}
cpu: [x64] cpu: [x64]
os: [darwin] os: [darwin]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-linux-arm-gnueabihf@4.9.6: /@rollup/rollup-linux-arm-gnueabihf@4.12.0:
resolution: {integrity: sha512-oNk8YXDDnNyG4qlNb6is1ojTOGL/tRhbbKeE/YuccItzerEZT68Z9gHrY3ROh7axDc974+zYAPxK5SH0j/G+QQ==} resolution: {integrity: sha512-a6w/Y3hyyO6GlpKL2xJ4IOh/7d+APaqLYdMf86xnczU3nurFTaVN9s9jOXQg97BE4nYm/7Ga51rjec5nfRdrvA==}
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-linux-arm64-gnu@4.9.6: /@rollup/rollup-linux-arm64-gnu@4.12.0:
resolution: {integrity: sha512-Z3O60yxPtuCYobrtzjo0wlmvDdx2qZfeAWTyfOjEDqd08kthDKexLpV97KfAeUXPosENKd8uyJMRDfFMxcYkDQ==} resolution: {integrity: sha512-0fZBq27b+D7Ar5CQMofVN8sggOVhEtzFUwOwPppQt0k+VR+7UHMZZY4y+64WJ06XOhBTKXtQB/Sv0NwQMXyNAA==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-linux-arm64-musl@4.9.6: /@rollup/rollup-linux-arm64-musl@4.12.0:
resolution: {integrity: sha512-gpiG0qQJNdYEVad+1iAsGAbgAnZ8j07FapmnIAQgODKcOTjLEWM9sRb+MbQyVsYCnA0Im6M6QIq6ax7liws6eQ==} resolution: {integrity: sha512-eTvzUS3hhhlgeAv6bfigekzWZjaEX9xP9HhxB0Dvrdbkk5w/b+1Sxct2ZuDxNJKzsRStSq1EaEkVSEe7A7ipgQ==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-linux-riscv64-gnu@4.9.6: /@rollup/rollup-linux-riscv64-gnu@4.12.0:
resolution: {integrity: sha512-+uCOcvVmFUYvVDr27aiyun9WgZk0tXe7ThuzoUTAukZJOwS5MrGbmSlNOhx1j80GdpqbOty05XqSl5w4dQvcOA==} resolution: {integrity: sha512-ix+qAB9qmrCRiaO71VFfY8rkiAZJL8zQRXveS27HS+pKdjwUfEhqo2+YF2oI+H/22Xsiski+qqwIBxVewLK7sw==}
cpu: [riscv64] cpu: [riscv64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-linux-x64-gnu@4.9.6: /@rollup/rollup-linux-x64-gnu@4.12.0:
resolution: {integrity: sha512-HUNqM32dGzfBKuaDUBqFB7tP6VMN74eLZ33Q9Y1TBqRDn+qDonkAUyKWwF9BR9unV7QUzffLnz9GrnKvMqC/fw==} resolution: {integrity: sha512-TenQhZVOtw/3qKOPa7d+QgkeM6xY0LtwzR8OplmyL5LrgTWIXpTQg2Q2ycBf8jm+SFW2Wt/DTn1gf7nFp3ssVA==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-linux-x64-musl@4.9.6: /@rollup/rollup-linux-x64-musl@4.12.0:
resolution: {integrity: sha512-ch7M+9Tr5R4FK40FHQk8VnML0Szi2KRujUgHXd/HjuH9ifH72GUmw6lStZBo3c3GB82vHa0ZoUfjfcM7JiiMrQ==} resolution: {integrity: sha512-LfFdRhNnW0zdMvdCb5FNuWlls2WbbSridJvxOvYWgSBOYZtgBfW9UGNJG//rwMqTX1xQE9BAodvMH9tAusKDUw==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-win32-arm64-msvc@4.9.6: /@rollup/rollup-win32-arm64-msvc@4.12.0:
resolution: {integrity: sha512-VD6qnR99dhmTQ1mJhIzXsRcTBvTjbfbGGwKAHcu+52cVl15AC/kplkhxzW/uT0Xl62Y/meBKDZvoJSJN+vTeGA==} resolution: {integrity: sha512-JPDxovheWNp6d7AHCgsUlkuCKvtu3RB55iNEkaQcf0ttsDU/JZF+iQnYcQJSk/7PtT4mjjVG8N1kpwnI9SLYaw==}
cpu: [arm64] cpu: [arm64]
os: [win32] os: [win32]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-win32-ia32-msvc@4.9.6: /@rollup/rollup-win32-ia32-msvc@4.12.0:
resolution: {integrity: sha512-J9AFDq/xiRI58eR2NIDfyVmTYGyIZmRcvcAoJ48oDld/NTR8wyiPUu2X/v1navJ+N/FGg68LEbX3Ejd6l8B7MQ==} resolution: {integrity: sha512-fjtuvMWRGJn1oZacG8IPnzIV6GF2/XG+h71FKn76OYFqySXInJtseAqdprVTDTyqPxQOG9Exak5/E9Z3+EJ8ZA==}
cpu: [ia32] cpu: [ia32]
os: [win32] os: [win32]
requiresBuild: true requiresBuild: true
optional: true optional: true
/@rollup/rollup-win32-x64-msvc@4.9.6: /@rollup/rollup-win32-x64-msvc@4.12.0:
resolution: {integrity: sha512-jqzNLhNDvIZOrt69Ce4UjGRpXJBzhUBzawMwnaDAwyHriki3XollsewxWzOzz+4yOFDkuJHtTsZFwMxhYJWmLQ==} resolution: {integrity: sha512-ZYmr5mS2wd4Dew/JjT0Fqi2NPB/ZhZ2VvPp7SmvPZb4Y1CG/LRcS6tcRo2cYU7zLK5A7cdbhWnnWmUjoI4qapg==}
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
requiresBuild: true requiresBuild: true
@ -2901,7 +2901,7 @@ packages:
svelte: 4.2.11 svelte: 4.2.11
dev: false dev: false
/@sentry/sveltekit@7.100.1(@sveltejs/kit@2.5.0)(svelte@4.2.11): /@sentry/sveltekit@7.100.1(@sveltejs/kit@2.5.1)(svelte@4.2.11):
resolution: {integrity: sha512-t6JaivTmw5oIqOpKQ8PNbGjNP99AQY6vMPkhxzVuwPa3A3o2WtmzQoIXNxdrkux5XkoBI9CsT6TsM5TbaMDwjQ==} resolution: {integrity: sha512-t6JaivTmw5oIqOpKQ8PNbGjNP99AQY6vMPkhxzVuwPa3A3o2WtmzQoIXNxdrkux5XkoBI9CsT6TsM5TbaMDwjQ==}
engines: {node: '>=16'} engines: {node: '>=16'}
peerDependencies: peerDependencies:
@ -2915,7 +2915,7 @@ packages:
'@sentry/types': 7.100.1 '@sentry/types': 7.100.1
'@sentry/utils': 7.100.1 '@sentry/utils': 7.100.1
'@sentry/vite-plugin': 0.6.1 '@sentry/vite-plugin': 0.6.1
'@sveltejs/kit': 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3) '@sveltejs/kit': 2.5.1(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.4)
magicast: 0.2.8 magicast: 0.2.8
sorcery: 0.11.0 sorcery: 0.11.0
transitivePeerDependencies: transitivePeerDependencies:
@ -2977,21 +2977,21 @@ packages:
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
dev: true dev: true
/@sveltejs/adapter-auto@3.1.1(@sveltejs/kit@2.5.0): /@sveltejs/adapter-auto@3.1.1(@sveltejs/kit@2.5.1):
resolution: {integrity: sha512-6LeZft2Fo/4HfmLBi5CucMYmgRxgcETweQl/yQoZo/895K3S9YWYN4Sfm/IhwlIpbJp3QNvhKmwCHbsqQNYQpw==} resolution: {integrity: sha512-6LeZft2Fo/4HfmLBi5CucMYmgRxgcETweQl/yQoZo/895K3S9YWYN4Sfm/IhwlIpbJp3QNvhKmwCHbsqQNYQpw==}
peerDependencies: peerDependencies:
'@sveltejs/kit': ^2.0.0 '@sveltejs/kit': ^2.0.0
dependencies: dependencies:
'@sveltejs/kit': 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3) '@sveltejs/kit': 2.5.1(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.4)
import-meta-resolve: 4.0.0 import-meta-resolve: 4.0.0
dev: true dev: true
/@sveltejs/adapter-vercel@5.1.0(@sveltejs/kit@2.5.0): /@sveltejs/adapter-vercel@5.1.0(@sveltejs/kit@2.5.1):
resolution: {integrity: sha512-Z9yRJ4H2/7LcBlvN2/TKu1H0hWoRGonr8kPhP1GJ23LRW76IbiiX5gs/MLc6+ZGogCZYVJ4USmx6m+RFtvQTRw==} resolution: {integrity: sha512-Z9yRJ4H2/7LcBlvN2/TKu1H0hWoRGonr8kPhP1GJ23LRW76IbiiX5gs/MLc6+ZGogCZYVJ4USmx6m+RFtvQTRw==}
peerDependencies: peerDependencies:
'@sveltejs/kit': ^2.4.0 '@sveltejs/kit': ^2.4.0
dependencies: dependencies:
'@sveltejs/kit': 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3) '@sveltejs/kit': 2.5.1(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.4)
'@vercel/nft': 0.26.2 '@vercel/nft': 0.26.2
esbuild: 0.19.11 esbuild: 0.19.11
transitivePeerDependencies: transitivePeerDependencies:
@ -3010,8 +3010,8 @@ packages:
- svelte - svelte
dev: true dev: true
/@sveltejs/kit@2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3): /@sveltejs/kit@2.5.1(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.4):
resolution: {integrity: sha512-1uyXvzC2Lu1FZa30T4y5jUAC21R309ZMRG0TPt+PPPbNUoDpy8zSmSNVWYaBWxYDqLGQ5oPNWvjvvF2IjJ1jmA==} resolution: {integrity: sha512-TKj08o3mJCoQNLTdRdGkHPePTCPUGTgkew65RDqjVU3MtPVxljsofXQYfXndHfq0P7KoPRO/0/reF6HesU0Djw==}
engines: {node: '>=18.13'} engines: {node: '>=18.13'}
hasBin: true hasBin: true
requiresBuild: true requiresBuild: true
@ -3020,23 +3020,23 @@ packages:
svelte: ^4.0.0 || ^5.0.0-next.0 svelte: ^4.0.0 || ^5.0.0-next.0
vite: ^5.0.3 vite: ^5.0.3
dependencies: dependencies:
'@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.11)(vite@5.1.3) '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.11)(vite@5.1.4)
'@types/cookie': 0.6.0 '@types/cookie': 0.6.0
cookie: 0.6.0 cookie: 0.6.0
devalue: 4.3.2 devalue: 4.3.2
esm-env: 1.0.0 esm-env: 1.0.0
import-meta-resolve: 4.0.0 import-meta-resolve: 4.0.0
kleur: 4.1.5 kleur: 4.1.5
magic-string: 0.30.5 magic-string: 0.30.7
mrmime: 2.0.0 mrmime: 2.0.0
sade: 1.8.1 sade: 1.8.1
set-cookie-parser: 2.6.0 set-cookie-parser: 2.6.0
sirv: 2.0.4 sirv: 2.0.4
svelte: 4.2.11 svelte: 4.2.11
tiny-glob: 0.2.9 tiny-glob: 0.2.9
vite: 5.1.3(@types/node@20.11.19)(sass@1.71.0) vite: 5.1.4(@types/node@20.11.19)(sass@1.71.0)
/@sveltejs/vite-plugin-svelte-inspector@2.0.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3): /@sveltejs/vite-plugin-svelte-inspector@2.0.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.4):
resolution: {integrity: sha512-gjr9ZFg1BSlIpfZ4PRewigrvYmHWbDrq2uvvPB1AmTWKuM+dI1JXQSUu2pIrYLb/QncyiIGkFDFKTwJ0XqQZZg==} resolution: {integrity: sha512-gjr9ZFg1BSlIpfZ4PRewigrvYmHWbDrq2uvvPB1AmTWKuM+dI1JXQSUu2pIrYLb/QncyiIGkFDFKTwJ0XqQZZg==}
engines: {node: ^18.0.0 || >=20} engines: {node: ^18.0.0 || >=20}
peerDependencies: peerDependencies:
@ -3044,29 +3044,29 @@ packages:
svelte: ^4.0.0 || ^5.0.0-next.0 svelte: ^4.0.0 || ^5.0.0-next.0
vite: ^5.0.0 vite: ^5.0.0
dependencies: dependencies:
'@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.11)(vite@5.1.3) '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.11)(vite@5.1.4)
debug: 4.3.4 debug: 4.3.4
svelte: 4.2.11 svelte: 4.2.11
vite: 5.1.3(@types/node@20.11.19)(sass@1.71.0) vite: 5.1.4(@types/node@20.11.19)(sass@1.71.0)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
/@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.11)(vite@5.1.3): /@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.11)(vite@5.1.4):
resolution: {integrity: sha512-MpmF/cju2HqUls50WyTHQBZUV3ovV/Uk8k66AN2gwHogNAG8wnW8xtZDhzNBsFJJuvmq1qnzA5kE7YfMJNFv2Q==} resolution: {integrity: sha512-MpmF/cju2HqUls50WyTHQBZUV3ovV/Uk8k66AN2gwHogNAG8wnW8xtZDhzNBsFJJuvmq1qnzA5kE7YfMJNFv2Q==}
engines: {node: ^18.0.0 || >=20} engines: {node: ^18.0.0 || >=20}
peerDependencies: peerDependencies:
svelte: ^4.0.0 || ^5.0.0-next.0 svelte: ^4.0.0 || ^5.0.0-next.0
vite: ^5.0.0 vite: ^5.0.0
dependencies: dependencies:
'@sveltejs/vite-plugin-svelte-inspector': 2.0.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3) '@sveltejs/vite-plugin-svelte-inspector': 2.0.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.4)
debug: 4.3.4 debug: 4.3.4
deepmerge: 4.3.1 deepmerge: 4.3.1
kleur: 4.1.5 kleur: 4.1.5
magic-string: 0.30.5 magic-string: 0.30.5
svelte: 4.2.11 svelte: 4.2.11
svelte-hmr: 0.15.3(svelte@4.2.11) svelte-hmr: 0.15.3(svelte@4.2.11)
vite: 5.1.3(@types/node@20.11.19)(sass@1.71.0) vite: 5.1.4(@types/node@20.11.19)(sass@1.71.0)
vitefu: 0.2.5(vite@5.1.3) vitefu: 0.2.5(vite@5.1.4)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -3304,38 +3304,38 @@ packages:
yoga-wasm-web: 0.3.3 yoga-wasm-web: 0.3.3
dev: false dev: false
/@vitest/expect@1.3.0: /@vitest/expect@1.3.1:
resolution: {integrity: sha512-7bWt0vBTZj08B+Ikv70AnLRicohYwFgzNjFqo9SxxqHHxSlUJGSXmCRORhOnRMisiUryKMdvsi1n27Bc6jL9DQ==} resolution: {integrity: sha512-xofQFwIzfdmLLlHa6ag0dPV8YsnKOCP1KdAeVVh34vSjN2dcUiXYCD9htu/9eM7t8Xln4v03U9HLxLpPlsXdZw==}
dependencies: dependencies:
'@vitest/spy': 1.3.0 '@vitest/spy': 1.3.1
'@vitest/utils': 1.3.0 '@vitest/utils': 1.3.1
chai: 4.3.10 chai: 4.4.1
dev: true dev: true
/@vitest/runner@1.3.0: /@vitest/runner@1.3.1:
resolution: {integrity: sha512-1Jb15Vo/Oy7mwZ5bXi7zbgszsdIBNjc4IqP8Jpr/8RdBC4nF1CTzIAn2dxYvpF1nGSseeL39lfLQ2uvs5u1Y9A==} resolution: {integrity: sha512-5FzF9c3jG/z5bgCnjr8j9LNq/9OxV2uEBAITOXfoe3rdZJTdO7jzThth7FXv/6b+kdY65tpRQB7WaKhNZwX+Kg==}
dependencies: dependencies:
'@vitest/utils': 1.3.0 '@vitest/utils': 1.3.1
p-limit: 5.0.0 p-limit: 5.0.0
pathe: 1.1.1 pathe: 1.1.2
dev: true dev: true
/@vitest/snapshot@1.3.0: /@vitest/snapshot@1.3.1:
resolution: {integrity: sha512-swmktcviVVPYx9U4SEQXLV6AEY51Y6bZ14jA2yo6TgMxQ3h+ZYiO0YhAHGJNp0ohCFbPAis1R9kK0cvN6lDPQA==} resolution: {integrity: sha512-EF++BZbt6RZmOlE3SuTPu/NfwBF6q4ABS37HHXzs2LUVPBLx2QoY/K0fKpRChSo8eLiuxcbCVfqKgx/dplCDuQ==}
dependencies: dependencies:
magic-string: 0.30.5 magic-string: 0.30.7
pathe: 1.1.1 pathe: 1.1.2
pretty-format: 29.7.0 pretty-format: 29.7.0
dev: true dev: true
/@vitest/spy@1.3.0: /@vitest/spy@1.3.1:
resolution: {integrity: sha512-AkCU0ThZunMvblDpPKgjIi025UxR8V7MZ/g/EwmAGpjIujLVV2X6rGYGmxE2D4FJbAy0/ijdROHMWa2M/6JVMw==} resolution: {integrity: sha512-xAcW+S099ylC9VLU7eZfdT9myV67Nor9w9zhf0mGCYJSO+zM2839tOeROTdikOi/8Qeusffvxb/MyBSOja1Uig==}
dependencies: dependencies:
tinyspy: 2.2.1 tinyspy: 2.2.1
dev: true dev: true
/@vitest/utils@1.3.0: /@vitest/utils@1.3.1:
resolution: {integrity: sha512-/LibEY/fkaXQufi4GDlQZhikQsPO2entBKtfuyIpr1jV4DpaeasqkeHjhdOhU24vSHshcSuEyVlWdzvv2XmYCw==} resolution: {integrity: sha512-d3Waie/299qqRyHTm2DjADeTaNdNSVsnwHPWrs20JMpjh6eiVq7ggggweO8rc4arhf6rRkWuHKwvxGvejUXZZQ==}
dependencies: dependencies:
diff-sequences: 29.6.3 diff-sequences: 29.6.3
estree-walker: 3.0.3 estree-walker: 3.0.3
@ -3381,7 +3381,6 @@ packages:
resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==}
engines: {node: '>=0.4.0'} engines: {node: '>=0.4.0'}
hasBin: true hasBin: true
dev: false
/agent-base@6.0.2: /agent-base@6.0.2:
resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==}
@ -3655,8 +3654,8 @@ packages:
resolution: {integrity: sha512-+hVY9jE44uKLkH0SrUTqxjxqNTOWHsbnQDIKjwkZ3lNTzUUVdBLBGXtj/q5Mp5u98r3droaZAewQuEDzjQdZlQ==} resolution: {integrity: sha512-+hVY9jE44uKLkH0SrUTqxjxqNTOWHsbnQDIKjwkZ3lNTzUUVdBLBGXtj/q5Mp5u98r3droaZAewQuEDzjQdZlQ==}
dev: true dev: true
/chai@4.3.10: /chai@4.4.1:
resolution: {integrity: sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==} resolution: {integrity: sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==}
engines: {node: '>=4'} engines: {node: '>=4'}
dependencies: dependencies:
assertion-error: 1.1.0 assertion-error: 1.1.0
@ -4043,8 +4042,8 @@ packages:
- supports-color - supports-color
dev: true dev: true
/drizzle-orm@0.29.3(@neondatabase/serverless@0.8.1)(@planetscale/database@1.16.0)(@types/pg@8.11.0)(mysql2@3.9.1)(pg@8.11.3)(postgres@3.4.3): /drizzle-orm@0.29.4(@neondatabase/serverless@0.8.1)(@planetscale/database@1.16.0)(@types/pg@8.11.0)(mysql2@3.9.1)(pg@8.11.3)(postgres@3.4.3):
resolution: {integrity: sha512-uSE027csliGSGYD0pqtM+SAQATMREb3eSM/U8s6r+Y0RFwTKwftnwwSkqx3oS65UBgqDOM0gMTl5UGNpt6lW0A==} resolution: {integrity: sha512-ZnSM8TAxFhzH7p1s3+w3pRE/eKaOeNkH9SKitm717pubDVVcV2I0BCDBPGKV+pe02+wMfw37ntlTcCyo2rA3IA==}
peerDependencies: peerDependencies:
'@aws-sdk/client-rds-data': '>=3' '@aws-sdk/client-rds-data': '>=3'
'@cloudflare/workers-types': '>=3' '@cloudflare/workers-types': '>=3'
@ -4578,7 +4577,7 @@ packages:
zod: ^3.22.2 zod: ^3.22.2
dependencies: dependencies:
svelte: 4.2.11 svelte: 4.2.11
sveltekit-superforms: 1.13.4(@sveltejs/kit@2.5.0)(svelte@4.2.11)(zod@3.22.4) sveltekit-superforms: 1.13.4(@sveltejs/kit@2.5.1)(svelte@4.2.11)(zod@3.22.4)
zod: 3.22.4 zod: 3.22.4
dev: false dev: false
@ -5058,8 +5057,8 @@ packages:
resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
dev: true dev: true
/jsonc-parser@3.2.0: /jsonc-parser@3.2.1:
resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} resolution: {integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==}
dev: true dev: true
/just-clone@6.2.0: /just-clone@6.2.0:
@ -5131,7 +5130,7 @@ packages:
resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==}
engines: {node: '>=14'} engines: {node: '>=14'}
dependencies: dependencies:
mlly: 1.4.2 mlly: 1.6.0
pkg-types: 1.0.3 pkg-types: 1.0.3
dev: true dev: true
@ -5235,7 +5234,6 @@ packages:
engines: {node: '>=12'} engines: {node: '>=12'}
dependencies: dependencies:
'@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/sourcemap-codec': 1.4.15
dev: false
/magicast@0.2.8: /magicast@0.2.8:
resolution: {integrity: sha512-zEnqeb3E6TfMKYXGyHv3utbuHNixr04o3/gVGviSzVQkbFiU46VZUd+Ea/1npKfvEsEWxBYuIksKzoztTDPg0A==} resolution: {integrity: sha512-zEnqeb3E6TfMKYXGyHv3utbuHNixr04o3/gVGviSzVQkbFiU46VZUd+Ea/1npKfvEsEWxBYuIksKzoztTDPg0A==}
@ -5388,13 +5386,13 @@ packages:
hasBin: true hasBin: true
dev: false dev: false
/mlly@1.4.2: /mlly@1.6.0:
resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==} resolution: {integrity: sha512-YOvg9hfYQmnaB56Yb+KrJE2u0Yzz5zR+sLejEvF4fzwzV1Al6hkf2vyHTwqCRyv0hCi9rVCqVoXpyYevQIRwLQ==}
dependencies: dependencies:
acorn: 8.11.2 acorn: 8.11.3
pathe: 1.1.1 pathe: 1.1.2
pkg-types: 1.0.3 pkg-types: 1.0.3
ufo: 1.3.1 ufo: 1.4.0
dev: true dev: true
/mri@1.2.0: /mri@1.2.0:
@ -5560,8 +5558,8 @@ packages:
mimic-fn: 4.0.0 mimic-fn: 4.0.0
dev: true dev: true
/open-props@1.6.18: /open-props@1.6.19:
resolution: {integrity: sha512-xhkbGo6vFdYHWR9mt81p4mlPoRLQHunA6XJAuQ2cUyvoOGKGxDj8dGgXDIbR1EMJVyHPxU1AbtfbloAIRLHWKw==} resolution: {integrity: sha512-jf+TFfHH9oH1/8mv9w5IrCCtwwK7SvQlGZbatk2TTWpZQBngfa15XlAmvmXKEfn13as8uL+8WtN/CRecljPCuA==}
dev: false dev: false
/optionator@0.9.3: /optionator@0.9.3:
@ -5664,8 +5662,8 @@ packages:
engines: {node: '>=8'} engines: {node: '>=8'}
dev: true dev: true
/pathe@1.1.1: /pathe@1.1.2:
resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==}
dev: true dev: true
/pathval@1.1.1: /pathval@1.1.1:
@ -5775,9 +5773,9 @@ packages:
/pkg-types@1.0.3: /pkg-types@1.0.3:
resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==} resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==}
dependencies: dependencies:
jsonc-parser: 3.2.0 jsonc-parser: 3.2.1
mlly: 1.4.2 mlly: 1.6.0
pathe: 1.1.1 pathe: 1.1.2
dev: true dev: true
/playwright-core@1.41.2: /playwright-core@1.41.2:
@ -6463,26 +6461,26 @@ packages:
dependencies: dependencies:
glob: 7.2.3 glob: 7.2.3
/rollup@4.9.6: /rollup@4.12.0:
resolution: {integrity: sha512-05lzkCS2uASX0CiLFybYfVkwNbKZG5NFQ6Go0VWyogFTXXbR039UVsegViTntkk4OglHBdF54ccApXRRuXRbsg==} resolution: {integrity: sha512-wz66wn4t1OHIJw3+XU7mJJQV/2NAfw5OAk6G6Hoo3zcvz/XOfQ52Vgi+AN4Uxoxi0KBBwk2g8zPrTDA4btSB/Q==}
engines: {node: '>=18.0.0', npm: '>=8.0.0'} engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true hasBin: true
dependencies: dependencies:
'@types/estree': 1.0.5 '@types/estree': 1.0.5
optionalDependencies: optionalDependencies:
'@rollup/rollup-android-arm-eabi': 4.9.6 '@rollup/rollup-android-arm-eabi': 4.12.0
'@rollup/rollup-android-arm64': 4.9.6 '@rollup/rollup-android-arm64': 4.12.0
'@rollup/rollup-darwin-arm64': 4.9.6 '@rollup/rollup-darwin-arm64': 4.12.0
'@rollup/rollup-darwin-x64': 4.9.6 '@rollup/rollup-darwin-x64': 4.12.0
'@rollup/rollup-linux-arm-gnueabihf': 4.9.6 '@rollup/rollup-linux-arm-gnueabihf': 4.12.0
'@rollup/rollup-linux-arm64-gnu': 4.9.6 '@rollup/rollup-linux-arm64-gnu': 4.12.0
'@rollup/rollup-linux-arm64-musl': 4.9.6 '@rollup/rollup-linux-arm64-musl': 4.12.0
'@rollup/rollup-linux-riscv64-gnu': 4.9.6 '@rollup/rollup-linux-riscv64-gnu': 4.12.0
'@rollup/rollup-linux-x64-gnu': 4.9.6 '@rollup/rollup-linux-x64-gnu': 4.12.0
'@rollup/rollup-linux-x64-musl': 4.9.6 '@rollup/rollup-linux-x64-musl': 4.12.0
'@rollup/rollup-win32-arm64-msvc': 4.9.6 '@rollup/rollup-win32-arm64-msvc': 4.12.0
'@rollup/rollup-win32-ia32-msvc': 4.9.6 '@rollup/rollup-win32-ia32-msvc': 4.12.0
'@rollup/rollup-win32-x64-msvc': 4.9.6 '@rollup/rollup-win32-x64-msvc': 4.12.0
fsevents: 2.3.3 fsevents: 2.3.3
/run-parallel@1.2.0: /run-parallel@1.2.0:
@ -6983,33 +6981,33 @@ packages:
magic-string: 0.30.5 magic-string: 0.30.5
periscopic: 3.1.0 periscopic: 3.1.0
/sveltekit-flash-message@2.4.2(@sveltejs/kit@2.5.0)(svelte@4.2.11): /sveltekit-flash-message@2.4.2(@sveltejs/kit@2.5.1)(svelte@4.2.11):
resolution: {integrity: sha512-iXZSOp8La7kHQuOsXOcjIp7x24J/Ycs2uPoHwtjsbObVCbjgxZrtvjd0XUfA0mYZBp97BtAQ5SW5owRDJCWq6A==} resolution: {integrity: sha512-iXZSOp8La7kHQuOsXOcjIp7x24J/Ycs2uPoHwtjsbObVCbjgxZrtvjd0XUfA0mYZBp97BtAQ5SW5owRDJCWq6A==}
peerDependencies: peerDependencies:
'@sveltejs/kit': 1.x || 2.x '@sveltejs/kit': 1.x || 2.x
svelte: 3.x || 4.x || >=5.0.0-next.51 svelte: 3.x || 4.x || >=5.0.0-next.51
dependencies: dependencies:
'@sveltejs/kit': 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3) '@sveltejs/kit': 2.5.1(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.4)
svelte: 4.2.11 svelte: 4.2.11
dev: true dev: true
/sveltekit-rate-limiter@0.4.3(@sveltejs/kit@2.5.0): /sveltekit-rate-limiter@0.4.3(@sveltejs/kit@2.5.1):
resolution: {integrity: sha512-BKkD2tvgyz5j4Fn1vt0y7FLF0zZ01f9thjWPGDb6fyX3tBXyMrtZ8ISK8M7zjz9Cik/2KrkvFtmldhXF6/hjqw==} resolution: {integrity: sha512-BKkD2tvgyz5j4Fn1vt0y7FLF0zZ01f9thjWPGDb6fyX3tBXyMrtZ8ISK8M7zjz9Cik/2KrkvFtmldhXF6/hjqw==}
peerDependencies: peerDependencies:
'@sveltejs/kit': 1.x || 2.x '@sveltejs/kit': 1.x || 2.x
dependencies: dependencies:
'@isaacs/ttlcache': 1.4.1 '@isaacs/ttlcache': 1.4.1
'@sveltejs/kit': 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3) '@sveltejs/kit': 2.5.1(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.4)
dev: true dev: true
/sveltekit-superforms@1.13.4(@sveltejs/kit@2.5.0)(svelte@4.2.11)(zod@3.22.4): /sveltekit-superforms@1.13.4(@sveltejs/kit@2.5.1)(svelte@4.2.11)(zod@3.22.4):
resolution: {integrity: sha512-rM2+Ictaw7OAIorCLmvg82orci/mtO9ZouI4emtx8SyYngx9aED+eNZlHPLufgB6D7geL2a+hMSFtM3zmMQixQ==} resolution: {integrity: sha512-rM2+Ictaw7OAIorCLmvg82orci/mtO9ZouI4emtx8SyYngx9aED+eNZlHPLufgB6D7geL2a+hMSFtM3zmMQixQ==}
peerDependencies: peerDependencies:
'@sveltejs/kit': 1.x || 2.x '@sveltejs/kit': 1.x || 2.x
svelte: 3.x || 4.x svelte: 3.x || 4.x
zod: 3.x zod: 3.x
dependencies: dependencies:
'@sveltejs/kit': 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3) '@sveltejs/kit': 2.5.1(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.4)
devalue: 4.3.2 devalue: 4.3.2
klona: 2.0.6 klona: 2.0.6
svelte: 4.2.11 svelte: 4.2.11
@ -7119,8 +7117,8 @@ packages:
/tiny-inflate@1.0.3: /tiny-inflate@1.0.3:
resolution: {integrity: sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==} resolution: {integrity: sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==}
/tinybench@2.5.1: /tinybench@2.6.0:
resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} resolution: {integrity: sha512-N8hW3PG/3aOoZAN5V/NSAEDz0ZixDSSt5b/a05iqtpgfLWMSVuCo7w0k2vVvEjdrIoeGqZzweX2WlyioNIHchA==}
dev: true dev: true
/tinypool@0.8.2: /tinypool@0.8.2:
@ -7252,8 +7250,8 @@ packages:
engines: {node: '>=14.17'} engines: {node: '>=14.17'}
hasBin: true hasBin: true
/ufo@1.3.1: /ufo@1.4.0:
resolution: {integrity: sha512-uY/99gMLIOlJPwATcMVYfqDSxUR9//AUcgZMzwfSTJPDKzA1S8mX4VLqa+fiAtveraQUBCz4FFcwVZBGbwBXIw==} resolution: {integrity: sha512-Hhy+BhRBleFjpJ2vchUNN40qgkh0366FWJGqVLYBHev0vpHTrXSA0ryT+74UiW6KWsldNurQMKGqCm1M2zBciQ==}
dev: true dev: true
/ultrahtml@1.5.2: /ultrahtml@1.5.2:
@ -7348,16 +7346,16 @@ packages:
- rollup - rollup
dev: true dev: true
/vite-node@1.3.0(@types/node@20.11.19)(sass@1.71.0): /vite-node@1.3.1(@types/node@20.11.19)(sass@1.71.0):
resolution: {integrity: sha512-D/oiDVBw75XMnjAXne/4feCkCEwcbr2SU1bjAhCcfI5Bq3VoOHji8/wCPAfUkDIeohJ5nSZ39fNxM3dNZ6OBOA==} resolution: {integrity: sha512-azbRrqRxlWTJEVbzInZCTchx0X69M/XPTCz4H+TLvlTcR/xH/3hkRqhOakT41fMJCMzXTu4UvegkZiEoJAWvng==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true hasBin: true
dependencies: dependencies:
cac: 6.7.14 cac: 6.7.14
debug: 4.3.4 debug: 4.3.4
pathe: 1.1.1 pathe: 1.1.2
picocolors: 1.0.0 picocolors: 1.0.0
vite: 5.1.3(@types/node@20.11.19)(sass@1.71.0) vite: 5.1.4(@types/node@20.11.19)(sass@1.71.0)
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
- less - less
@ -7369,8 +7367,8 @@ packages:
- terser - terser
dev: true dev: true
/vite@5.1.3(@types/node@20.11.19)(sass@1.71.0): /vite@5.1.4(@types/node@20.11.19)(sass@1.71.0):
resolution: {integrity: sha512-UfmUD36DKkqhi/F75RrxvPpry+9+tTkrXfMNZD+SboZqBCMsxKtO52XeGzzuh7ioz+Eo/SYDBbdb0Z7vgcDJew==} resolution: {integrity: sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@ -7400,12 +7398,12 @@ packages:
'@types/node': 20.11.19 '@types/node': 20.11.19
esbuild: 0.19.12 esbuild: 0.19.12
postcss: 8.4.35 postcss: 8.4.35
rollup: 4.9.6 rollup: 4.12.0
sass: 1.71.0 sass: 1.71.0
optionalDependencies: optionalDependencies:
fsevents: 2.3.3 fsevents: 2.3.3
/vitefu@0.2.5(vite@5.1.3): /vitefu@0.2.5(vite@5.1.4):
resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==}
peerDependencies: peerDependencies:
vite: ^3.0.0 || ^4.0.0 || ^5.0.0 vite: ^3.0.0 || ^4.0.0 || ^5.0.0
@ -7413,17 +7411,17 @@ packages:
vite: vite:
optional: true optional: true
dependencies: dependencies:
vite: 5.1.3(@types/node@20.11.19)(sass@1.71.0) vite: 5.1.4(@types/node@20.11.19)(sass@1.71.0)
/vitest@1.3.0(@types/node@20.11.19)(sass@1.71.0): /vitest@1.3.1(@types/node@20.11.19)(sass@1.71.0):
resolution: {integrity: sha512-V9qb276J1jjSx9xb75T2VoYXdO1UKi+qfflY7V7w93jzX7oA/+RtYE6TcifxksxsZvygSSMwu2Uw6di7yqDMwg==} resolution: {integrity: sha512-/1QJqXs8YbCrfv/GPQ05wAZf2eakUPLPa18vkJAKE7RXOKfVHqMZZ1WlTjiwl6Gcn65M5vpNUB6EFLnEdRdEXQ==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
'@edge-runtime/vm': '*' '@edge-runtime/vm': '*'
'@types/node': ^18.0.0 || >=20.0.0 '@types/node': ^18.0.0 || >=20.0.0
'@vitest/browser': 1.3.0 '@vitest/browser': 1.3.1
'@vitest/ui': 1.3.0 '@vitest/ui': 1.3.1
happy-dom: '*' happy-dom: '*'
jsdom: '*' jsdom: '*'
peerDependenciesMeta: peerDependenciesMeta:
@ -7441,25 +7439,25 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@types/node': 20.11.19 '@types/node': 20.11.19
'@vitest/expect': 1.3.0 '@vitest/expect': 1.3.1
'@vitest/runner': 1.3.0 '@vitest/runner': 1.3.1
'@vitest/snapshot': 1.3.0 '@vitest/snapshot': 1.3.1
'@vitest/spy': 1.3.0 '@vitest/spy': 1.3.1
'@vitest/utils': 1.3.0 '@vitest/utils': 1.3.1
acorn-walk: 8.3.2 acorn-walk: 8.3.2
chai: 4.3.10 chai: 4.4.1
debug: 4.3.4 debug: 4.3.4
execa: 8.0.1 execa: 8.0.1
local-pkg: 0.5.0 local-pkg: 0.5.0
magic-string: 0.30.5 magic-string: 0.30.7
pathe: 1.1.1 pathe: 1.1.2
picocolors: 1.0.0 picocolors: 1.0.0
std-env: 3.7.0 std-env: 3.7.0
strip-literal: 2.0.0 strip-literal: 2.0.0
tinybench: 2.5.1 tinybench: 2.6.0
tinypool: 0.8.2 tinypool: 0.8.2
vite: 5.1.3(@types/node@20.11.19)(sass@1.71.0) vite: 5.1.4(@types/node@20.11.19)(sass@1.71.0)
vite-node: 1.3.0(@types/node@20.11.19)(sass@1.71.0) vite-node: 1.3.1(@types/node@20.11.19)(sass@1.71.0)
why-is-node-running: 2.2.2 why-is-node-running: 2.2.2
transitivePeerDependencies: transitivePeerDependencies:
- less - less

View file

@ -1,6 +1,7 @@
import type { GameType, SavedGameType } from '$lib/types'; import type { GameType, SavedGameType } from '$lib/types';
import type { Game } from '@prisma/client'; import type { Game } from '@prisma/client';
import kebabCase from 'just-kebab-case'; import kebabCase from 'just-kebab-case';
import type { Games } from '../../schema';
export function convertToSavedGame(game: GameType | SavedGameType): SavedGameType { export function convertToSavedGame(game: GameType | SavedGameType): SavedGameType {
return { return {
@ -43,10 +44,9 @@ export function mapSavedGameToGame(game: SavedGameType): GameType {
}; };
} }
export function mapAPIGameToBoredGame(game: GameType): Game { export function mapAPIGameToBoredGame(game: GameType): Games {
// TODO: Fix types // TODO: Fix types
return { return {
external_id: game.external_id,
name: game.name, name: game.name,
slug: kebabCase(game.name), slug: kebabCase(game.name),
thumb_url: game.thumbnail, thumb_url: game.thumbnail,
@ -57,7 +57,6 @@ export function mapAPIGameToBoredGame(game: GameType): Game {
min_playtime: game.min_playtime, min_playtime: game.min_playtime,
max_playtime: game.max_playtime, max_playtime: game.max_playtime,
min_age: game.min_age, min_age: game.min_age,
description: game.description, description: game.description
playtime: game.playing_time
}; };
} }

View file

@ -1,5 +1,4 @@
<script lang="ts"> <script lang="ts">
import GameSearchForm from "$components/search/GameSearchForm.svelte";
import Input from "$components/ui/input/input.svelte"; import Input from "$components/ui/input/input.svelte";
import Label from "$components/ui/label/label.svelte"; import Label from "$components/ui/label/label.svelte";

View file

@ -6,17 +6,7 @@ import { mapAPIGameToBoredGame } from '$lib/utils/gameMapper.js';
import { search_schema } from '$lib/zodValidation'; import { search_schema } from '$lib/zodValidation';
import type { PageServerLoad } from '../$types.js'; import type { PageServerLoad } from '../$types.js';
import type { BggThingDto } from 'boardgamegeekclient/dist/esm/dto/index.js'; import type { BggThingDto } from 'boardgamegeekclient/dist/esm/dto/index.js';
import type { BggLinkDto } from 'boardgamegeekclient/dist/esm/dto/concrete/subdto/BggLinkDto.js'; import { createOrUpdateGameMinimal } from '$lib/utils/db/gameUtils';
import {
createArtist,
createCategory,
createDesigner,
createMechanic,
createOrUpdateGame,
createOrUpdateGameMinimal,
createPublisher
} from '$lib/utils/db/dbUtils.js';
// import { listGameSchema } from '$lib/config/zod-schemas.js';
async function searchForGames( async function searchForGames(
locals: App.Locals, locals: App.Locals,
@ -83,7 +73,7 @@ async function searchForGames(
const externalGame = await externalGameResponse.json(); const externalGame = await externalGameResponse.json();
console.log('externalGame', externalGame); console.log('externalGame', externalGame);
const boredGame = mapAPIGameToBoredGame(externalGame); const boredGame = mapAPIGameToBoredGame(externalGame);
games.push(createOrUpdateGameMinimal(locals, boredGame)); games.push(createOrUpdateGameMinimal(locals, boredGame, externalGame.id));
} }
} }
} }

View file

@ -45,21 +45,8 @@ export const GET = async ({ url, locals }) => {
thumb_url: games.thumb_url thumb_url: games.thumb_url
}) })
.from(games) .from(games)
.where(sql`match(${games.name}, ${games.slug}) against(${q} in natural language mode)`) .where(sql`to_tsvector('simple', ${games.name}) || to_tsvector('simple', ${games.slug}) @@ to_tsquery('simple', ${q})`)
.offset(skip).limit(limit).orderBy(sql`${orderBy} ${order}`) || []; .orderBy(sql`${orderBy} ${order}`).offset(skip).limit(limit) || [];
// const games =
// (await prisma.game.findMany({
// orderBy: {
// _relevance: {
// fields: ['name'],
// search: q,
// sort: order
// }
// },
// select: exactGameSelect,
// take: limit,
// skip
// })) || [];
if (foundGames.length === 0) { if (foundGames.length === 0) {
error(404, { message: 'No games found' }); error(404, { message: 'No games found' });
} }