diff --git a/package.json b/package.json index 12fb5de..214e964 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@unocss/reset": "^0.63.0", "@vospel/eslint-config": "1.5.0", "eslint": "^8.23.1", - "svelte": "^4.0.0", + "svelte": "^5.0.0", "svelte-check": "^4.0.0", "svelte-i18n": "^4.0.0", "svelte-preprocess": "^6.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2f2dfca..01a8394 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -22,7 +22,7 @@ devDependencies: version: 3.0.0(@sveltejs/kit@2.0.0) '@sveltejs/kit': specifier: ^2.0.0 - version: 2.0.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@4.2.19)(vite@5.2.14) + version: 2.0.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@5.0.0)(vite@5.2.14) '@unocss/reset': specifier: ^0.63.0 version: 0.63.0 @@ -33,17 +33,17 @@ devDependencies: specifier: ^8.23.1 version: 8.48.0 svelte: - specifier: ^4.0.0 - version: 4.2.19 + specifier: ^5.0.0 + version: 5.0.0 svelte-check: specifier: ^4.0.0 - version: 4.0.0(svelte@4.2.19)(typescript@5.2.2) + version: 4.0.0(svelte@5.0.0)(typescript@5.2.2) svelte-i18n: specifier: ^4.0.0 - version: 4.0.0(svelte@4.2.19) + version: 4.0.0(svelte@5.0.0) svelte-preprocess: specifier: ^6.0.0 - version: 6.0.0(postcss@8.4.47)(svelte@4.2.19)(typescript@5.2.2) + version: 6.0.0(postcss@8.4.47)(svelte@5.0.0)(typescript@5.2.2) tslib: specifier: ^2.3.1 version: 2.6.2 @@ -884,10 +884,6 @@ packages: engines: {node: '>=6.0.0'} dev: true - /@jridgewell/sourcemap-codec@1.4.15: - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - dev: true - /@jridgewell/sourcemap-codec@1.5.0: resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} dev: true @@ -1085,7 +1081,7 @@ packages: peerDependencies: '@sveltejs/kit': ^2.0.0 dependencies: - '@sveltejs/kit': 2.0.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@4.2.19)(vite@5.2.14) + '@sveltejs/kit': 2.0.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@5.0.0)(vite@5.2.14) import-meta-resolve: 4.0.0 dev: true @@ -1094,10 +1090,10 @@ packages: peerDependencies: '@sveltejs/kit': ^2.0.0 dependencies: - '@sveltejs/kit': 2.0.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@4.2.19)(vite@5.2.14) + '@sveltejs/kit': 2.0.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@5.0.0)(vite@5.2.14) dev: true - /@sveltejs/kit@2.0.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@4.2.19)(vite@5.2.14): + /@sveltejs/kit@2.0.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@5.0.0)(vite@5.2.14): resolution: {integrity: sha512-/GFxvit+q7PztRbgGTFXhVB6jvb0fZSeWuz5f4siQ2r/5BVhxYh7++Bw3/ZUjiOuyoZFiNBmOPcRNQbkzEce0g==} engines: {node: '>=18.13'} hasBin: true @@ -1107,7 +1103,7 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.3 dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.19)(vite@5.2.14) + '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@5.0.0)(vite@5.2.14) '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 4.3.2 @@ -1118,12 +1114,12 @@ packages: sade: 1.8.1 set-cookie-parser: 2.6.0 sirv: 2.0.3 - svelte: 4.2.19 + svelte: 5.0.0 tiny-glob: 0.2.9 vite: 5.2.14 dev: true - /@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@4.2.19)(vite@5.2.14): + /@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@5.0.0)(vite@5.2.14): resolution: {integrity: sha512-9QX28IymvBlSCqsCll5t0kQVxipsfhFFL+L2t3nTWfXnddYwxBuAEtTtlaVQpRz9c37BhJjltSeY4AJSC03SSg==} engines: {node: ^18.0.0 || >=20} peerDependencies: @@ -1131,28 +1127,28 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.0 dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@4.2.19)(vite@5.2.14) + '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@5.0.0)(vite@5.2.14) debug: 4.3.7 - svelte: 4.2.19 + svelte: 5.0.0 vite: 5.2.14 transitivePeerDependencies: - supports-color dev: true - /@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.2.14): + /@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.0.0)(vite@5.2.14): resolution: {integrity: sha512-Txsm1tJvtiYeLUVRNqxZGKR/mI+CzuIQuc2gn+YCs9rMTowpNZ2Nqt53JdL8KF9bLhAf2ruR/dr9eZCwdTriRA==} engines: {node: ^18.0.0 || >=20} peerDependencies: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.0 dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@4.2.19)(vite@5.2.14) + '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.2)(svelte@5.0.0)(vite@5.2.14) debug: 4.3.7 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.11 - svelte: 4.2.19 - svelte-hmr: 0.16.0(svelte@4.2.19) + svelte: 5.0.0 + svelte-hmr: 0.16.0(svelte@5.0.0) vite: 5.2.14 vitefu: 0.2.5(vite@5.2.14) transitivePeerDependencies: @@ -1585,6 +1581,14 @@ packages: acorn: 8.12.1 dev: true + /acorn-typescript@1.4.13(acorn@8.12.1): + resolution: {integrity: sha512-xsc9Xv0xlVfwp2o7sQ+GCQ1PgbkdcpWdTzrwXxO3xDMTAywVS3oXVOcOHuRjAPkS4P9b+yc/qNF15460v+jp4Q==} + peerDependencies: + acorn: '>=8.9.0' + dependencies: + acorn: 8.12.1 + dev: true + /acorn@8.12.1: resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} engines: {node: '>=0.4.0'} @@ -1624,10 +1628,9 @@ packages: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} dev: true - /aria-query@5.3.0: - resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} - dependencies: - dequal: 2.0.3 + /aria-query@5.3.2: + resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==} + engines: {node: '>= 0.4'} dev: true /array-union@2.1.0: @@ -1725,16 +1728,6 @@ packages: timers-ext: 0.1.7 dev: true - /code-red@1.0.4: - resolution: {integrity: sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==} - dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 - '@types/estree': 1.0.5 - acorn: 8.12.1 - estree-walker: 3.0.3 - periscopic: 3.1.0 - dev: true - /color-convert@2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} engines: {node: '>=7.0.0'} @@ -1777,14 +1770,6 @@ 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.2.0 - dev: true - /css-tree@3.0.0: resolution: {integrity: sha512-o88DVQ6GzsABn1+6+zo2ct801dBO5OASVyxbbvA2W20ue2puSh/VOuqUj90eUeMSX/xqGqBmOKiRQN7tJOuBXw==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} @@ -1843,11 +1828,6 @@ packages: resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} dev: true - /dequal@2.0.3: - resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} - engines: {node: '>=6'} - dev: true - /destr@2.0.3: resolution: {integrity: sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ==} dev: true @@ -2157,6 +2137,13 @@ packages: estraverse: 5.3.0 dev: true + /esrap@1.2.2: + resolution: {integrity: sha512-F2pSJklxx1BlQIQgooczXCPHmcWpn6EsP5oo73LQfonG9fIlIENQ8vMmfGXeojP9MrkzUNAfyU5vdFlR9shHAw==} + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + '@types/estree': 1.0.5 + dev: true + /esrecurse@4.3.0: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} @@ -2178,12 +2165,6 @@ packages: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} dev: true - /estree-walker@3.0.3: - resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} - dependencies: - '@types/estree': 1.0.5 - dev: true - /esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -2615,11 +2596,7 @@ packages: resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} engines: {node: '>=12'} dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - - /mdn-data@2.0.30: - resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + '@jridgewell/sourcemap-codec': 1.5.0 dev: true /mdn-data@2.10.0: @@ -2839,14 +2816,6 @@ packages: resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==} dev: true - /periscopic@3.1.0: - resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} - dependencies: - '@types/estree': 1.0.5 - estree-walker: 3.0.3 - is-reference: 3.0.2 - dev: true - /picocolors@1.0.1: resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} dev: true @@ -3061,11 +3030,6 @@ packages: engines: {node: '>=8'} dev: true - /source-map-js@1.2.0: - resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} - engines: {node: '>=0.10.0'} - dev: true - /source-map-js@1.2.1: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} @@ -3112,7 +3076,7 @@ packages: has-flag: 4.0.0 dev: true - /svelte-check@4.0.0(svelte@4.2.19)(typescript@5.2.2): + /svelte-check@4.0.0(svelte@5.0.0)(typescript@5.2.2): resolution: {integrity: sha512-QgKO6OQbee9B2dyWZgrGruS3WHKrUZ718Ug53nK45vamsx93Al3on6tOrxyCMVX+OMOLLlrenn7b2VAomePwxQ==} engines: {node: '>= 18.0.0'} hasBin: true @@ -3125,7 +3089,7 @@ packages: fdir: 6.2.0 picocolors: 1.0.1 sade: 1.8.1 - svelte: 4.2.19 + svelte: 5.0.0 typescript: 5.2.2 transitivePeerDependencies: - picomatch @@ -3143,16 +3107,16 @@ packages: svelte: 3.59.2 dev: true - /svelte-hmr@0.16.0(svelte@4.2.19): + /svelte-hmr@0.16.0(svelte@5.0.0): resolution: {integrity: sha512-Gyc7cOS3VJzLlfj7wKS0ZnzDVdv3Pn2IuVeJPk9m2skfhcu5bq3wtIZyQGggr7/Iim5rH5cncyQft/kRLupcnA==} engines: {node: ^12.20 || ^14.13.1 || >= 16} peerDependencies: svelte: ^3.19.0 || ^4.0.0 dependencies: - svelte: 4.2.19 + svelte: 5.0.0 dev: true - /svelte-i18n@4.0.0(svelte@4.2.19): + /svelte-i18n@4.0.0(svelte@5.0.0): resolution: {integrity: sha512-4vivjKZADUMRIhTs38JuBNy3unbnh9AFRxWFLxq62P4NHic+/BaIZZlAsvqsCdnp7IdJf5EoSiH6TNdItcjA6g==} engines: {node: '>= 16'} hasBin: true @@ -3165,11 +3129,11 @@ packages: estree-walker: 2.0.2 intl-messageformat: 10.5.4 sade: 1.8.1 - svelte: 4.2.19 + svelte: 5.0.0 tiny-glob: 0.2.9 dev: true - /svelte-preprocess@6.0.0(postcss@8.4.47)(svelte@4.2.19)(typescript@5.2.2): + /svelte-preprocess@6.0.0(postcss@8.4.47)(svelte@5.0.0)(typescript@5.2.2): resolution: {integrity: sha512-sbyHnWBwIphuaJWC7hnJd6ZoW/VN0va3jVb/8dDfeT2+0hVmo1DCx+zBK0/JfUKQmzg/FOEtcsGKRnbt8pRRkw==} engines: {node: '>= 18.0.0'} requiresBuild: true @@ -3210,7 +3174,7 @@ packages: detect-indent: 6.1.0 postcss: 8.4.47 strip-indent: 3.0.0 - svelte: 4.2.19 + svelte: 5.0.0 typescript: 5.2.2 dev: true @@ -3219,24 +3183,23 @@ packages: engines: {node: '>= 8'} dev: true - /svelte@4.2.19: - resolution: {integrity: sha512-IY1rnGr6izd10B0A8LqsBfmlT5OILVuZ7XsI0vdGPEvuonFV7NYEUK4dAkm9Zg2q0Um92kYjTpS1CAP3Nh/KWw==} - engines: {node: '>=16'} + /svelte@5.0.0: + resolution: {integrity: sha512-jv2IvTtakG58DqZMo6fY3T6HFmGV4iDQH2lSUyfmCEYaoa+aCNcF+9rERbdDvT4XDF0nQBg6TEoJn0dirED8VQ==} + engines: {node: '>=18'} dependencies: '@ampproject/remapping': 2.3.0 '@jridgewell/sourcemap-codec': 1.5.0 - '@jridgewell/trace-mapping': 0.3.25 '@types/estree': 1.0.5 acorn: 8.12.1 - aria-query: 5.3.0 + acorn-typescript: 1.4.13(acorn@8.12.1) + aria-query: 5.3.2 axobject-query: 4.1.0 - code-red: 1.0.4 - css-tree: 2.3.1 - estree-walker: 3.0.3 + esm-env: 1.0.0 + esrap: 1.2.2 is-reference: 3.0.2 locate-character: 3.0.0 magic-string: 0.30.11 - periscopic: 3.1.0 + zimmerframe: 1.1.2 dev: true /text-table@0.2.0: @@ -3555,3 +3518,7 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} dev: true + + /zimmerframe@1.1.2: + resolution: {integrity: sha512-rAbqEGa8ovJy4pyBxZM70hg4pE6gDgaQ0Sl9M3enG3I0d6H4XSAM3GeNGLKnsBpuijUow064sf7ww1nutC5/3w==} + dev: true