diff --git a/package.json b/package.json index f56900b..36d634e 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "eslint-plugin-yml": "1.8.0", "prettier": "2.8.8", "prettier-plugin-svelte": "2.10.1", - "svelte": "3.59.2", + "svelte": "4.2.0", "svelte-check": "3.5.1", "svelte-preprocess": "5.0.4", "typescript": "5.2.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1d713db..45aad01 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,7 +15,7 @@ specifiers: eslint-plugin-yml: 1.8.0 prettier: 2.8.8 prettier-plugin-svelte: 2.10.1 - svelte: 3.59.2 + svelte: 4.2.0 svelte-check: 3.5.1 svelte-preprocess: 5.0.4 typescript: 5.2.2 @@ -24,7 +24,7 @@ specifiers: vite-tsconfig-paths: 4.2.0 devDependencies: - '@sveltejs/vite-plugin-svelte': 2.4.5_svelte@3.59.2+vite@4.4.9 + '@sveltejs/vite-plugin-svelte': 2.4.5_svelte@4.2.0+vite@4.4.9 '@types/node': 18.17.14 '@typescript-eslint/eslint-plugin': 5.62.0_pv3pg3japumrjsd4wswxrcr33u '@typescript-eslint/parser': 5.62.0_w2g2uv42be7wag4oipwkfv43p4 @@ -34,13 +34,13 @@ devDependencies: eslint-plugin-import: 2.28.1_op7bh4tdgs2eg2llb7ukqwpcza eslint-plugin-jsonc: 2.9.0_eslint@8.48.0 eslint-plugin-prettier: 4.2.1_b7j5i5eung22avfvwixh6yzuzu - eslint-plugin-svelte: 2.33.0_oariqoj7243a7tzpyxwo3tw7de + eslint-plugin-svelte: 2.33.0_eslint@8.48.0+svelte@4.2.0 eslint-plugin-yml: 1.8.0_eslint@8.48.0 prettier: 2.8.8 - prettier-plugin-svelte: 2.10.1_jlgs5vq3kify7hyf3gm4oz2klm - svelte: 3.59.2 - svelte-check: 3.5.1_svelte@3.59.2 - svelte-preprocess: 5.0.4_kwkmqn34t4fxeksfhanwpp3rm4 + prettier-plugin-svelte: 2.10.1_6txzok57cptboxg2qp7a6vrhly + svelte: 4.2.0 + svelte-check: 3.5.1_svelte@4.2.0 + svelte-preprocess: 5.0.4_ixk2eghtwnuw7oxnomfunkjn2i typescript: 5.2.2 unocss: 0.55.6_vite@4.4.9 vite: 4.4.9_@types+node@18.17.14 @@ -58,7 +58,7 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.17 + '@jridgewell/trace-mapping': 0.3.19 dev: true /@antfu/install-pkg/0.1.1: @@ -355,7 +355,7 @@ packages: dependencies: '@jridgewell/set-array': 1.1.2 '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.17 + '@jridgewell/trace-mapping': 0.3.19 dev: true /@jridgewell/resolve-uri/3.1.0: @@ -383,6 +383,13 @@ packages: '@jridgewell/sourcemap-codec': 1.4.14 dev: true + /@jridgewell/trace-mapping/0.3.19: + resolution: {integrity: sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==} + dependencies: + '@jridgewell/resolve-uri': 3.1.0 + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + /@nodelib/fs.scandir/2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -422,7 +429,7 @@ packages: picomatch: 2.3.1 dev: true - /@sveltejs/vite-plugin-svelte-inspector/1.0.3_xltixkobndmu7zyobqgli4vjlu: + /@sveltejs/vite-plugin-svelte-inspector/1.0.3_rh5hfgladoiwncqyml2z37trge: resolution: {integrity: sha512-Khdl5jmmPN6SUsVuqSXatKpQTMIifoQPDanaxC84m9JxIibWvSABJyHpyys0Z+1yYrxY5TTEQm+6elh0XCMaOA==} engines: {node: ^14.18.0 || >= 16} peerDependencies: @@ -430,28 +437,28 @@ packages: svelte: ^3.54.0 || ^4.0.0 vite: ^4.0.0 dependencies: - '@sveltejs/vite-plugin-svelte': 2.4.5_svelte@3.59.2+vite@4.4.9 + '@sveltejs/vite-plugin-svelte': 2.4.5_svelte@4.2.0+vite@4.4.9 debug: 4.3.4 - svelte: 3.59.2 + svelte: 4.2.0 vite: 4.4.9_@types+node@18.17.14 transitivePeerDependencies: - supports-color dev: true - /@sveltejs/vite-plugin-svelte/2.4.5_svelte@3.59.2+vite@4.4.9: + /@sveltejs/vite-plugin-svelte/2.4.5_svelte@4.2.0+vite@4.4.9: resolution: {integrity: sha512-UJKsFNwhzCVuiZd06jM/psscyNJNDwjQC+qIeb7GBJK9iWeQCcIyfcPWDvbCudfcJggY9jtxJeeaZH7uny93FQ==} engines: {node: ^14.18.0 || >= 16} peerDependencies: svelte: ^3.54.0 || ^4.0.0 vite: ^4.0.0 dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 1.0.3_xltixkobndmu7zyobqgli4vjlu + '@sveltejs/vite-plugin-svelte-inspector': 1.0.3_rh5hfgladoiwncqyml2z37trge debug: 4.3.4 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.2 - svelte: 3.59.2 - svelte-hmr: 0.15.3_svelte@3.59.2 + svelte: 4.2.0 + svelte-hmr: 0.15.3_svelte@4.2.0 vite: 4.4.9_@types+node@18.17.14 vitefu: 0.2.4_vite@4.4.9 transitivePeerDependencies: @@ -462,6 +469,10 @@ packages: resolution: {integrity: sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==} dev: true + /@types/estree/1.0.1: + resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==} + dev: true + /@types/json-schema/7.0.11: resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} dev: true @@ -812,6 +823,12 @@ packages: acorn: 8.9.0 dev: true + /acorn/8.10.0: + resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + /acorn/8.9.0: resolution: {integrity: sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==} engines: {node: '>=0.4.0'} @@ -851,6 +868,12 @@ 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 + dev: true + /array-buffer-byte-length/1.0.0: resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} dependencies: @@ -910,6 +933,12 @@ packages: engines: {node: '>= 0.4'} dev: true + /axobject-query/3.2.1: + resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==} + dependencies: + dequal: 2.0.3 + dev: true + /balanced-match/1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} dev: true @@ -977,6 +1006,16 @@ packages: fsevents: 2.3.2 dev: true + /code-red/1.0.4: + resolution: {integrity: sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==} + 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 + /color-convert/2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} engines: {node: '>=7.0.0'} @@ -1068,6 +1107,11 @@ packages: resolution: {integrity: sha512-+uO4+qr7msjNNWKYPHqN/3+Dx3NFkmIzayk2L1MyZQlvgZb/J1A0fo410dpKrN2SnqFjt8n4JL8fDJE0wIgjFQ==} dev: true + /dequal/2.0.3: + resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} + engines: {node: '>=6'} + dev: true + /destr/2.0.1: resolution: {integrity: sha512-M1Ob1zPSIvlARiJUkKqvAZ3VAqQY6Jcuth/pBKQ2b1dX/Qx0OnJ8Vux6J2H5PTMQeRzWrrbTu70VxBfv/OPDJA==} dev: true @@ -1378,7 +1422,7 @@ packages: prettier-linter-helpers: 1.0.0 dev: true - /eslint-plugin-svelte/2.33.0_oariqoj7243a7tzpyxwo3tw7de: + /eslint-plugin-svelte/2.33.0_eslint@8.48.0+svelte@4.2.0: resolution: {integrity: sha512-kk7Z4BfxVjFYJseFcOpS8kiKNio7KnAnhFagmM89h1wNSKlM7tIn+uguNQppKM9leYW+S+Us0Rjg2Qg3zsEcvg==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: @@ -1399,8 +1443,8 @@ packages: postcss-safe-parser: 6.0.0_postcss@8.4.28 postcss-selector-parser: 6.0.13 semver: 7.5.3 - svelte: 3.59.2 - svelte-eslint-parser: 0.33.0_svelte@3.59.2 + svelte: 4.2.0 + svelte-eslint-parser: 0.33.0_svelte@4.2.0 transitivePeerDependencies: - supports-color - ts-node @@ -1539,6 +1583,12 @@ 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.0 + dev: true + /esutils/2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -1933,6 +1983,12 @@ packages: engines: {node: '>=8'} dev: true + /is-reference/3.0.1: + resolution: {integrity: sha512-baJJdQLiYaJdvFbJqXrcGv3WU3QCzBlUcI5QhbesIm6/xPsvmO+2CDoi/GMOFBQEQm+PXkwOPrp9KK5ozZsp2w==} + dependencies: + '@types/estree': 1.0.0 + dev: true + /is-regex/1.1.4: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} @@ -2059,6 +2115,10 @@ packages: engines: {node: '>=14'} dev: true + /locate-character/3.0.0: + resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==} + dev: true + /locate-path/6.0.0: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} engines: {node: '>=10'} @@ -2339,6 +2399,14 @@ packages: resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==} dev: true + /periscopic/3.1.0: + resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} + dependencies: + '@types/estree': 1.0.0 + 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 @@ -2429,14 +2497,14 @@ packages: fast-diff: 1.2.0 dev: true - /prettier-plugin-svelte/2.10.1_jlgs5vq3kify7hyf3gm4oz2klm: + /prettier-plugin-svelte/2.10.1_6txzok57cptboxg2qp7a6vrhly: resolution: {integrity: sha512-Wlq7Z5v2ueCubWo0TZzKc9XHcm7TDxqcuzRuGd0gcENfzfT4JZ9yDlCbEgxWgiPmLHkBjfOtpAWkcT28MCDpUQ==} peerDependencies: prettier: ^1.16.4 || ^2.0.0 svelte: ^3.2.0 || ^4.0.0-next.0 dependencies: prettier: 2.8.8 - svelte: 3.59.2 + svelte: 4.2.0 dev: true /prettier/2.8.8: @@ -2673,7 +2741,7 @@ packages: engines: {node: '>= 0.4'} dev: true - /svelte-check/3.5.1_svelte@3.59.2: + /svelte-check/3.5.1_svelte@4.2.0: resolution: {integrity: sha512-+Zb4iHxAhdUtcUg/WJPRjlS1RJalIsWAe9Mz6G1zyznSs7dDkT7VUBdXc3q7Iwg49O/VrZgyJRvOJkjuBfKjFA==} hasBin: true peerDependencies: @@ -2685,8 +2753,8 @@ packages: import-fresh: 3.3.0 picocolors: 1.0.0 sade: 1.8.1 - svelte: 3.59.2 - svelte-preprocess: 5.0.4_kwkmqn34t4fxeksfhanwpp3rm4 + svelte: 4.2.0 + svelte-preprocess: 5.0.4_ixk2eghtwnuw7oxnomfunkjn2i typescript: 5.2.2 transitivePeerDependencies: - '@babel/core' @@ -2700,7 +2768,7 @@ packages: - sugarss dev: true - /svelte-eslint-parser/0.33.0_svelte@3.59.2: + /svelte-eslint-parser/0.33.0_svelte@4.2.0: resolution: {integrity: sha512-5awZ6Bs+Tb/zQwa41PSdcLynAVQTwW0HGyCBjtbAQ59taLZqDgQSMzRlDmapjZdDtzERm0oXDZNE0E+PKJ6ryg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2714,19 +2782,19 @@ packages: espree: 9.6.1 postcss: 8.4.28 postcss-scss: 4.0.7_postcss@8.4.28 - svelte: 3.59.2 + svelte: 4.2.0 dev: true - /svelte-hmr/0.15.3_svelte@3.59.2: + /svelte-hmr/0.15.3_svelte@4.2.0: resolution: {integrity: sha512-41snaPswvSf8TJUhlkoJBekRrABDXDMdpNpT2tfHIv4JuhgvHqLMhEPGtaQn0BmbNSTkuz2Ed20DF2eHw0SmBQ==} engines: {node: ^12.20 || ^14.13.1 || >= 16} peerDependencies: svelte: ^3.19.0 || ^4.0.0 dependencies: - svelte: 3.59.2 + svelte: 4.2.0 dev: true - /svelte-preprocess/5.0.4_kwkmqn34t4fxeksfhanwpp3rm4: + /svelte-preprocess/5.0.4_ixk2eghtwnuw7oxnomfunkjn2i: resolution: {integrity: sha512-ABia2QegosxOGsVlsSBJvoWeXy1wUKSfF7SWJdTjLAbx/Y3SrVevvvbFNQqrSJw89+lNSsM58SipmZJ5SRi5iw==} engines: {node: '>= 14.10.0'} requiresBuild: true @@ -2769,13 +2837,27 @@ packages: magic-string: 0.27.0 sorcery: 0.11.0 strip-indent: 3.0.0 - svelte: 3.59.2 + svelte: 4.2.0 typescript: 5.2.2 dev: true - /svelte/3.59.2: - resolution: {integrity: sha512-vzSyuGr3eEoAtT/A6bmajosJZIUWySzY2CzB3w2pgPvnkUjGqlDnsNnA0PMO+mMAhuyMul6C2uuZzY6ELSkzyA==} - engines: {node: '>= 8'} + /svelte/4.2.0: + resolution: {integrity: sha512-kVsdPjDbLrv74SmLSUzAsBGquMs4MPgWGkGLpH+PjOYnFOziAvENVzgJmyOCV2gntxE32aNm8/sqNKD6LbIpeQ==} + engines: {node: '>=16'} + dependencies: + '@ampproject/remapping': 2.2.1 + '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/trace-mapping': 0.3.19 + acorn: 8.9.0 + aria-query: 5.3.0 + axobject-query: 3.2.1 + code-red: 1.0.4 + css-tree: 2.3.1 + estree-walker: 3.0.3 + is-reference: 3.0.1 + locate-character: 3.0.0 + magic-string: 0.30.3 + periscopic: 3.1.0 dev: true /tapable/2.2.1: