diff --git a/package.json b/package.json index e1261740..bcb1586a 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "jest": "27.5.1", "prettier": "3.0.1", "prettier-plugin-svelte": "3.0.3", - "svelte": "3.59.2", + "svelte": "4.1.2", "svelte-check": "3.4.6", "svelte-jester": "2.3.2", "svelte-preprocess": "5.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index da667a44..ae032876 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,7 +18,7 @@ specifiers: jest: 27.5.1 prettier: 3.0.1 prettier-plugin-svelte: 3.0.3 - svelte: 3.59.2 + svelte: 4.1.2 svelte-check: 3.4.6 svelte-jester: 2.3.2 svelte-preprocess: 5.0.4 @@ -39,9 +39,9 @@ devDependencies: '@babel/core': 7.22.9 '@babel/preset-env': 7.22.9_@babel+core@7.22.9 '@sveltejs/adapter-auto': 1.0.0-next.91_@sveltejs+kit@1.0.0-next.589 - '@sveltejs/kit': 1.0.0-next.589_svelte@3.59.2+vite@4.4.8 + '@sveltejs/kit': 1.0.0-next.589_svelte@4.1.2+vite@4.4.8 '@testing-library/jest-dom': 5.17.0 - '@testing-library/svelte': 3.2.2_svelte@3.59.2 + '@testing-library/svelte': 3.2.2_svelte@4.1.2 '@types/jest': 27.5.2 '@types/testing-library__jest-dom': 5.14.9 '@typescript-eslint/eslint-plugin': 6.2.1_4faf7de7416dcf1be527c91cc4d9fe00 @@ -49,15 +49,15 @@ devDependencies: babel-jest: 27.5.1_@babel+core@7.22.9 eslint: 8.46.0 eslint-config-prettier: 9.0.0_eslint@8.46.0 - eslint-plugin-svelte3: 4.0.0_eslint@8.46.0+svelte@3.59.2 + eslint-plugin-svelte3: 4.0.0_eslint@8.46.0+svelte@4.1.2 jest: 27.5.1_ts-node@10.9.1 prettier: 3.0.1 - prettier-plugin-svelte: 3.0.3_prettier@3.0.1+svelte@3.59.2 - svelte: 3.59.2 - svelte-check: 3.4.6_@babel+core@7.22.9+svelte@3.59.2 - svelte-jester: 2.3.2_jest@27.5.1+svelte@3.59.2 - svelte-preprocess: 5.0.4_658d7b8e3d5700b725829318eb1974f5 - svelte2tsx: 0.6.19_svelte@3.59.2+typescript@5.1.6 + prettier-plugin-svelte: 3.0.3_prettier@3.0.1+svelte@4.1.2 + svelte: 4.1.2 + svelte-check: 3.4.6_@babel+core@7.22.9+svelte@4.1.2 + svelte-jester: 2.3.2_jest@27.5.1+svelte@4.1.2 + svelte-preprocess: 5.0.4_3b51ed44bc373e42b7ee3665be9c20ff + svelte2tsx: 0.6.19_svelte@4.1.2+typescript@5.1.6 ts-jest: 27.1.5_a013ad6537665ac8829b74c8605279ba ts-node: 10.9.1_typescript@5.1.6 tslib: 2.6.1 @@ -85,6 +85,14 @@ packages: '@jridgewell/trace-mapping': 0.3.17 dev: true + /@ampproject/remapping/2.2.1: + resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/gen-mapping': 0.3.2 + '@jridgewell/trace-mapping': 0.3.18 + dev: true + /@antfu/utils/0.7.2: resolution: {integrity: sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g==} dev: true @@ -1795,7 +1803,7 @@ packages: dependencies: '@jridgewell/set-array': 1.1.0 '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.17 + '@jridgewell/trace-mapping': 0.3.18 dev: true /@jridgewell/resolve-uri/3.1.0: @@ -1823,6 +1831,13 @@ packages: '@jridgewell/sourcemap-codec': 1.4.14 dev: true + /@jridgewell/trace-mapping/0.3.18: + resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} + dependencies: + '@jridgewell/resolve-uri': 3.1.0 + '@jridgewell/sourcemap-codec': 1.4.14 + dev: true + /@jridgewell/trace-mapping/0.3.9: resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} dependencies: @@ -1881,11 +1896,11 @@ packages: peerDependencies: '@sveltejs/kit': ^1.0.0-next.587 dependencies: - '@sveltejs/kit': 1.0.0-next.589_svelte@3.59.2+vite@4.4.8 + '@sveltejs/kit': 1.0.0-next.589_svelte@4.1.2+vite@4.4.8 import-meta-resolve: 2.2.0 dev: true - /@sveltejs/kit/1.0.0-next.589_svelte@3.59.2+vite@4.4.8: + /@sveltejs/kit/1.0.0-next.589_svelte@4.1.2+vite@4.4.8: resolution: {integrity: sha512-5ABRw46z9B+cCe/YWhcx+I/azNZg1NCDEkVJifZn8ToFoJ3a1eP0OexNIrvMEWpllMbNMPcJm2TC9tnz9oPfWQ==} engines: {node: '>=16.14'} hasBin: true @@ -1894,7 +1909,7 @@ packages: svelte: ^3.54.0 vite: ^4.0.0 dependencies: - '@sveltejs/vite-plugin-svelte': 2.0.2_svelte@3.59.2+vite@4.4.8 + '@sveltejs/vite-plugin-svelte': 2.0.2_svelte@4.1.2+vite@4.4.8 '@types/cookie': 0.5.1 cookie: 0.5.0 devalue: 4.2.0 @@ -1905,7 +1920,7 @@ packages: sade: 1.8.1 set-cookie-parser: 2.5.1 sirv: 2.0.2 - svelte: 3.59.2 + svelte: 4.1.2 tiny-glob: 0.2.9 undici: 5.14.0 vite: 4.4.8 @@ -1913,7 +1928,7 @@ packages: - supports-color dev: true - /@sveltejs/vite-plugin-svelte/2.0.2_svelte@3.59.2+vite@4.4.8: + /@sveltejs/vite-plugin-svelte/2.0.2_svelte@4.1.2+vite@4.4.8: resolution: {integrity: sha512-xCEan0/NNpQuL0l5aS42FjwQ6wwskdxC3pW1OeFtEKNZwRg7Evro9lac9HesGP6TdFsTv2xMes5ASQVKbCacxg==} engines: {node: ^14.18.0 || >= 16} peerDependencies: @@ -1924,8 +1939,8 @@ packages: deepmerge: 4.2.2 kleur: 4.1.5 magic-string: 0.27.0 - svelte: 3.59.2 - svelte-hmr: 0.15.1_svelte@3.59.2 + svelte: 4.1.2 + svelte-hmr: 0.15.1_svelte@4.1.2 vite: 4.4.8 vitefu: 0.2.3_vite@4.4.8 transitivePeerDependencies: @@ -1939,7 +1954,7 @@ packages: '@babel/code-frame': 7.22.5 '@babel/runtime': 7.16.7 '@types/aria-query': 4.2.2 - aria-query: 5.0.0 + aria-query: 5.3.0 chalk: 4.1.2 dom-accessibility-api: 0.5.10 lz-string: 1.4.4 @@ -1961,14 +1976,14 @@ packages: redent: 3.0.0 dev: true - /@testing-library/svelte/3.2.2_svelte@3.59.2: + /@testing-library/svelte/3.2.2_svelte@4.1.2: resolution: {integrity: sha512-IKwZgqbekC3LpoRhSwhd0JswRGxKdAGkf39UiDXTywK61YyLXbCYoR831e/UUC6EeNW4hiHPY+2WuovxOgI5sw==} engines: {node: '>= 10'} peerDependencies: svelte: 3.x dependencies: '@testing-library/dom': 8.13.0 - svelte: 3.59.2 + svelte: 4.1.2 dev: true /@tootallnate/once/1.1.2: @@ -2029,6 +2044,10 @@ packages: resolution: {integrity: sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==} dev: true + /@types/estree/1.0.1: + resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==} + dev: true + /@types/graceful-fs/4.1.5: resolution: {integrity: sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==} dependencies: @@ -2377,6 +2396,12 @@ packages: engines: {node: '>=6.0'} dev: true + /aria-query/5.3.0: + resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} + dependencies: + dequal: 2.0.3 + dev: true + /array-union/2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} @@ -2386,6 +2411,12 @@ packages: resolution: {integrity: sha1-x57Zf380y48robyXkLzDZkdLS3k=} dev: true + /axobject-query/3.2.1: + resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==} + dependencies: + dequal: 2.0.3 + dev: true + /babel-jest/27.5.1_@babel+core@7.22.9: resolution: {integrity: sha512-cdQ5dXjGRd0IBRATiQ4mZGlGlRE8kJpjPOixdNRdT+m3UcNqmYWN6rK6nvtXYfY3D76cb8s/O1Ss8ea24PIwcg==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} @@ -2646,6 +2677,16 @@ packages: engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} dev: true + /code-red/1.0.3: + resolution: {integrity: sha512-kVwJELqiILQyG5aeuyKFbdsI1fmQy1Cmf7dQ8eGmVuJoaRVdwey7WaMknr2ZFeVSYSKT0rExsa8EGw0aoI/1QQ==} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 + '@types/estree': 1.0.1 + acorn: 8.10.0 + estree-walker: 3.0.3 + periscopic: 3.1.0 + dev: true + /collect-v8-coverage/1.0.1: resolution: {integrity: sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==} dev: true @@ -2712,6 +2753,14 @@ packages: which: 2.0.2 dev: true + /css-tree/2.3.1: + resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} + dependencies: + mdn-data: 2.0.30 + source-map-js: 1.0.2 + dev: true + /css.escape/1.5.1: resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==} dev: true @@ -2778,6 +2827,11 @@ packages: engines: {node: '>=0.4.0'} dev: true + /dequal/2.0.3: + resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} + engines: {node: '>=6'} + dev: true + /detect-indent/6.1.0: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} @@ -2922,14 +2976,14 @@ packages: eslint: 8.46.0 dev: true - /eslint-plugin-svelte3/4.0.0_eslint@8.46.0+svelte@3.59.2: + /eslint-plugin-svelte3/4.0.0_eslint@8.46.0+svelte@4.1.2: resolution: {integrity: sha512-OIx9lgaNzD02+MDFNLw0GEUbuovNcglg+wnd/UY0fbZmlQSz7GlQiQ1f+yX0XvC07XPcDOnFcichqI3xCwp71g==} peerDependencies: eslint: '>=8.0.0' svelte: ^3.2.0 dependencies: eslint: 8.46.0 - svelte: 3.59.2 + svelte: 4.1.2 dev: true /eslint-scope/7.2.2: @@ -3029,6 +3083,12 @@ packages: engines: {node: '>=4.0'} dev: true + /estree-walker/3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + dependencies: + '@types/estree': 1.0.1 + dev: true + /esutils/2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -3412,6 +3472,12 @@ packages: resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} dev: true + /is-reference/3.0.1: + resolution: {integrity: sha512-baJJdQLiYaJdvFbJqXrcGv3WU3QCzBlUcI5QhbesIm6/xPsvmO+2CDoi/GMOFBQEQm+PXkwOPrp9KK5ozZsp2w==} + dependencies: + '@types/estree': 1.0.1 + dev: true + /is-stream/2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} @@ -4078,6 +4144,10 @@ packages: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} dev: true + /locate-character/3.0.0: + resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==} + dev: true + /locate-path/5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} @@ -4163,6 +4233,10 @@ packages: tmpl: 1.0.5 dev: true + /mdn-data/2.0.30: + resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + dev: true + /merge-stream/2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} dev: true @@ -4406,6 +4480,14 @@ packages: engines: {node: '>=8'} dev: true + /periscopic/3.1.0: + resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} + dependencies: + '@types/estree': 1.0.1 + estree-walker: 3.0.3 + is-reference: 3.0.1 + dev: true + /picocolors/1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} dev: true @@ -4446,14 +4528,14 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prettier-plugin-svelte/3.0.3_prettier@3.0.1+svelte@3.59.2: + /prettier-plugin-svelte/3.0.3_prettier@3.0.1+svelte@4.1.2: resolution: {integrity: sha512-dLhieh4obJEK1hnZ6koxF+tMUrZbV5YGvRpf2+OADyanjya5j0z1Llo8iGwiHmFWZVG/hLEw/AJD5chXd9r3XA==} peerDependencies: prettier: ^3.0.0 svelte: ^3.2.0 || ^4.0.0-next.0 dependencies: prettier: 3.0.1 - svelte: 3.59.2 + svelte: 4.1.2 dev: true /prettier/3.0.1: @@ -4838,7 +4920,7 @@ packages: engines: {node: '>= 0.4'} dev: true - /svelte-check/3.4.6_@babel+core@7.22.9+svelte@3.59.2: + /svelte-check/3.4.6_@babel+core@7.22.9+svelte@4.1.2: resolution: {integrity: sha512-OBlY8866Zh1zHQTkBMPS6psPi7o2umTUyj6JWm4SacnIHXpWFm658pG32m3dKvKFL49V4ntAkfFHKo4ztH07og==} hasBin: true peerDependencies: @@ -4850,8 +4932,8 @@ packages: import-fresh: 3.3.0 picocolors: 1.0.0 sade: 1.8.1 - svelte: 3.59.2 - svelte-preprocess: 5.0.4_658d7b8e3d5700b725829318eb1974f5 + svelte: 4.1.2 + svelte-preprocess: 5.0.4_3b51ed44bc373e42b7ee3665be9c20ff typescript: 5.1.6 transitivePeerDependencies: - '@babel/core' @@ -4865,16 +4947,16 @@ packages: - sugarss dev: true - /svelte-hmr/0.15.1_svelte@3.59.2: + /svelte-hmr/0.15.1_svelte@4.1.2: resolution: {integrity: sha512-BiKB4RZ8YSwRKCNVdNxK/GfY+r4Kjgp9jCLEy0DuqAKfmQtpL38cQK3afdpjw4sqSs4PLi3jIPJIFp259NkZtA==} engines: {node: ^12.20 || ^14.13.1 || >= 16} peerDependencies: svelte: '>=3.19.0' dependencies: - svelte: 3.59.2 + svelte: 4.1.2 dev: true - /svelte-jester/2.3.2_jest@27.5.1+svelte@3.59.2: + /svelte-jester/2.3.2_jest@27.5.1+svelte@4.1.2: resolution: {integrity: sha512-JtxSz4FWAaCRBXbPsh4LcDs4Ua7zdXgLC0TZvT1R56hRV0dymmNP+abw67DTPF7sQPyNxWsOKd0Sl7Q8SnP8kg==} engines: {node: '>=14'} peerDependencies: @@ -4882,10 +4964,10 @@ packages: svelte: '>= 3' dependencies: jest: 27.5.1_ts-node@10.9.1 - svelte: 3.59.2 + svelte: 4.1.2 dev: true - /svelte-preprocess/5.0.4_658d7b8e3d5700b725829318eb1974f5: + /svelte-preprocess/5.0.4_3b51ed44bc373e42b7ee3665be9c20ff: resolution: {integrity: sha512-ABia2QegosxOGsVlsSBJvoWeXy1wUKSfF7SWJdTjLAbx/Y3SrVevvvbFNQqrSJw89+lNSsM58SipmZJ5SRi5iw==} engines: {node: '>= 14.10.0'} requiresBuild: true @@ -4929,16 +5011,30 @@ packages: magic-string: 0.27.0 sorcery: 0.11.0 strip-indent: 3.0.0 - svelte: 3.59.2 + svelte: 4.1.2 typescript: 5.1.6 dev: true - /svelte/3.59.2: - resolution: {integrity: sha512-vzSyuGr3eEoAtT/A6bmajosJZIUWySzY2CzB3w2pgPvnkUjGqlDnsNnA0PMO+mMAhuyMul6C2uuZzY6ELSkzyA==} - engines: {node: '>= 8'} + /svelte/4.1.2: + resolution: {integrity: sha512-/evA8U6CgOHe5ZD1C1W3va9iJG7mWflcCdghBORJaAhD2JzrVERJty/2gl0pIPrJYBGZwZycH6onYf+64XXF9g==} + engines: {node: '>=16'} + dependencies: + '@ampproject/remapping': 2.2.1 + '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/trace-mapping': 0.3.18 + acorn: 8.10.0 + aria-query: 5.3.0 + axobject-query: 3.2.1 + code-red: 1.0.3 + css-tree: 2.3.1 + estree-walker: 3.0.3 + is-reference: 3.0.1 + locate-character: 3.0.0 + magic-string: 0.30.1 + periscopic: 3.1.0 dev: true - /svelte2tsx/0.6.19_svelte@3.59.2+typescript@5.1.6: + /svelte2tsx/0.6.19_svelte@4.1.2+typescript@5.1.6: resolution: {integrity: sha512-h3b5OtcO8zyVL/RiB2zsDwCopeo/UH+887uyhgb2mjnewOFwiTxu+4IGuVwrrlyuh2onM2ktfUemNrNmQwXONQ==} peerDependencies: svelte: ^3.55 || ^4.0.0-next.0 || ^4.0 @@ -4946,7 +5042,7 @@ packages: dependencies: dedent-js: 1.0.1 pascal-case: 3.1.2 - svelte: 3.59.2 + svelte: 4.1.2 typescript: 5.1.6 dev: true