diff --git a/packages/enhanced-img/package.json b/packages/enhanced-img/package.json index 862b6a0c4e3b..ed9ba2273a58 100644 --- a/packages/enhanced-img/package.json +++ b/packages/enhanced-img/package.json @@ -45,7 +45,7 @@ "@types/estree": "^1.0.5", "@types/node": "^18.19.48", "rollup": "^4.14.2", - "svelte": "^5.0.0", + "svelte": "^5.1.3", "typescript": "^5.6.3", "vite": "^5.3.2", "vitest": "^2.0.1" diff --git a/packages/kit/.gitignore b/packages/kit/.gitignore index 8f2b8468d607..c7b5684faca6 100644 --- a/packages/kit/.gitignore +++ b/packages/kit/.gitignore @@ -1,8 +1,5 @@ .DS_Store -/node_modules -/assets/* -/dist -/docs +/node_modules/ /test/**/build !/src/core/adapt/fixtures/*/.svelte-kit !/test/node_modules @@ -11,5 +8,6 @@ .custom-out-dir # these are already ignored by the top level .gitignore -# repeating them here as a faux prettier ignore -.svelte-kit +# repeating them here as a faux .prettierignore +/.svelte-kit/ +/dist/ diff --git a/playgrounds/basic/.gitignore b/playgrounds/basic/.gitignore new file mode 100644 index 000000000000..259afce74402 --- /dev/null +++ b/playgrounds/basic/.gitignore @@ -0,0 +1,4 @@ +# these are already ignored by the top level .gitignore +# repeating them here as a faux .prettierignore +/.svelte-kit/ +/dist/ diff --git a/playgrounds/basic/package.json b/playgrounds/basic/package.json index 700a42bb138a..05d510a132f4 100644 --- a/playgrounds/basic/package.json +++ b/playgrounds/basic/package.json @@ -8,8 +8,10 @@ "preview": "vite preview", "package": "svelte-kit sync && svelte-package && publint", "prepublishOnly": "npm run package", - "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch" + "check": "svelte-kit sync && svelte-check", + "check:watch": "svelte-kit sync && svelte-check --watch", + "format": "prettier --config ../../.prettierrc --write .", + "lint": "prettier --config ../../.prettierrc --check ." }, "devDependencies": { "@sveltejs/adapter-auto": "workspace:*", @@ -22,12 +24,14 @@ "@sveltejs/amp": "workspace:*", "@sveltejs/kit": "workspace:*", "@sveltejs/package": "workspace:*", - "@sveltejs/vite-plugin-svelte": "^3.0.1", + "@sveltejs/vite-plugin-svelte": "^4.0.0", + "prettier": "^3.3.2", + "prettier-plugin-svelte": "^3.2.6", "publint": "^0.2.0", - "svelte": "^4.2.10", + "svelte": "^5.1.13", "svelte-check": "^4.0.1", - "typescript": "^5.3.3", - "vite": "^5.3.2" + "typescript": "^5.5.0", + "vite": "^5.4.4" }, "type": "module", "exports": { @@ -41,9 +45,6 @@ "!dist/**/*.test.*", "!dist/**/*.spec.*" ], - "peerDependencies": { - "svelte": "^4.0.0" - }, "svelte": "./dist/index.js", "types": "./dist/index.d.ts" } diff --git a/playgrounds/basic/src/app.html b/playgrounds/basic/src/app.html index 6769ed5e89c5..77a5ff52c923 100644 --- a/playgrounds/basic/src/app.html +++ b/playgrounds/basic/src/app.html @@ -1,4 +1,4 @@ - + diff --git a/playgrounds/basic/src/routes/+page.svelte b/playgrounds/basic/src/routes/+page.svelte index cc88df0ea352..a1c65230591f 100644 --- a/playgrounds/basic/src/routes/+page.svelte +++ b/playgrounds/basic/src/routes/+page.svelte @@ -1,2 +1,9 @@ + +

Welcome to SvelteKit

-

Visit svelte.dev/docs/kit to read the documentation

+ +2 + 2 = {data.sum} diff --git a/playgrounds/basic/src/routes/+page.ts b/playgrounds/basic/src/routes/+page.ts new file mode 100644 index 000000000000..758f66e89fa6 --- /dev/null +++ b/playgrounds/basic/src/routes/+page.ts @@ -0,0 +1,6 @@ +import type { PageLoad } from './$types'; + +export const load: PageLoad = async ({ fetch }) => { + const response = await fetch('/', { method: 'POST', body: JSON.stringify({ a: 2, b: 2 }) }); + return { sum: await response.json() }; +}; diff --git a/playgrounds/basic/src/routes/+server.ts b/playgrounds/basic/src/routes/+server.ts new file mode 100644 index 000000000000..4d4494db055b --- /dev/null +++ b/playgrounds/basic/src/routes/+server.ts @@ -0,0 +1,7 @@ +import { json } from '@sveltejs/kit'; +import type { RequestHandler } from './$types'; + +export const POST: RequestHandler = async ({ request }) => { + const { a, b } = await request.json(); + return json(a + b); +}; diff --git a/playgrounds/basic/src/routes/about/+page.svelte b/playgrounds/basic/src/routes/about/+page.svelte new file mode 100644 index 000000000000..d73780a99efd --- /dev/null +++ b/playgrounds/basic/src/routes/about/+page.svelte @@ -0,0 +1 @@ +home diff --git a/playgrounds/basic/jsconfig.json b/playgrounds/basic/tsconfig.json similarity index 100% rename from playgrounds/basic/jsconfig.json rename to playgrounds/basic/tsconfig.json diff --git a/playgrounds/basic/vite.config.js b/playgrounds/basic/vite.config.js index 7617d19b8849..23ac5e8dcd7b 100644 --- a/playgrounds/basic/vite.config.js +++ b/playgrounds/basic/vite.config.js @@ -1,11 +1,10 @@ import { sveltekit } from '@sveltejs/kit/vite'; -import { defineConfig } from 'vite'; -export default defineConfig({ +export default { plugins: [sveltekit()], server: { fs: { allow: ['../../packages/kit'] } } -}); +}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aa95a3a3d02f..a33bda6a51ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ importers: version: 2.27.8 '@sveltejs/eslint-config': specifier: ^8.1.0 - version: 8.1.0(@stylistic/eslint-plugin-js@2.1.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.41.0(eslint@9.6.0)(svelte@5.1.9))(eslint@9.6.0)(typescript-eslint@8.4.0(eslint@9.6.0)(typescript@5.6.3))(typescript@5.6.3) + version: 8.1.0(@stylistic/eslint-plugin-js@2.1.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.41.0(eslint@9.6.0)(svelte@5.1.13))(eslint@9.6.0)(typescript-eslint@8.4.0(eslint@9.6.0)(typescript@5.6.3))(typescript@5.6.3) '@svitejs/changesets-changelog-github-compact': specifier: ^1.1.0 version: 1.1.0 @@ -28,7 +28,7 @@ importers: version: 3.1.1 prettier-plugin-svelte: specifier: ^3.1.2 - version: 3.1.2(prettier@3.1.1)(svelte@5.1.9) + version: 3.1.2(prettier@3.1.1)(svelte@5.1.13) typescript-eslint: specifier: ^8.0.0 version: 8.4.0(eslint@9.6.0)(typescript@5.6.3) @@ -44,7 +44,7 @@ importers: version: link:../kit '@sveltejs/vite-plugin-svelte': specifier: ^3.0.1 - version: 3.1.0(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)) + version: 3.1.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) '@types/node': specifier: ^18.19.48 version: 18.19.50 @@ -137,7 +137,7 @@ importers: version: link:../kit '@sveltejs/vite-plugin-svelte': specifier: ^3.0.1 - version: 3.1.0(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)) + version: 3.1.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) '@types/node': specifier: ^18.19.48 version: 18.19.50 @@ -177,7 +177,7 @@ importers: version: link:../kit '@sveltejs/vite-plugin-svelte': specifier: ^3.0.1 - version: 3.1.0(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)) + version: 3.1.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) '@types/node': specifier: ^18.19.48 version: 18.19.50 @@ -274,7 +274,7 @@ importers: version: link:../kit '@sveltejs/vite-plugin-svelte': specifier: ^3.0.1 - version: 3.1.0(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)) + version: 3.1.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) '@types/node': specifier: ^18.19.48 version: 18.19.50 @@ -289,7 +289,7 @@ importers: dependencies: '@sveltejs/kit': specifier: ^1.0.0 || ^2.0.0 - version: 2.7.3(@sveltejs/vite-plugin-svelte@3.1.0(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)) + version: 2.7.3(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) devDependencies: typescript: specifier: ^5.3.3 @@ -304,7 +304,7 @@ importers: version: 0.30.11 svelte-parse-markup: specifier: ^0.1.5 - version: 0.1.5(svelte@5.1.9) + version: 0.1.5(svelte@5.1.13) vite-imagetools: specifier: ^7.0.1 version: 7.0.1(rollup@4.24.0) @@ -322,8 +322,8 @@ importers: specifier: ^4.14.2 version: 4.24.0 svelte: - specifier: ^5.0.0 - version: 5.1.9 + specifier: ^5.1.3 + version: 5.1.13 typescript: specifier: ^5.6.3 version: 5.6.3 @@ -1045,7 +1045,7 @@ importers: devDependencies: '@sveltejs/vite-plugin-svelte': specifier: ^3.0.1 - version: 3.1.0(svelte@4.2.19)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)) + version: 3.1.0(svelte@4.2.19)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) '@types/node': specifier: ^18.19.48 version: 18.19.50 @@ -1101,23 +1101,29 @@ importers: specifier: workspace:* version: link:../../packages/package '@sveltejs/vite-plugin-svelte': - specifier: ^3.0.1 - version: 3.1.0(svelte@4.2.19)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)) + specifier: ^4.0.0 + version: 4.0.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) + prettier: + specifier: ^3.3.2 + version: 3.3.3 + prettier-plugin-svelte: + specifier: ^3.2.6 + version: 3.2.7(prettier@3.3.3)(svelte@5.1.13) publint: specifier: ^0.2.0 version: 0.2.7 svelte: - specifier: ^4.2.10 - version: 4.2.19 + specifier: ^5.1.13 + version: 5.1.13 svelte-check: specifier: ^4.0.1 - version: 4.0.1(picomatch@4.0.2)(svelte@4.2.19)(typescript@5.4.5) + version: 4.0.1(picomatch@4.0.2)(svelte@5.1.13)(typescript@5.6.3) typescript: - specifier: ^5.3.3 - version: 5.4.5 + specifier: ^5.5.0 + version: 5.6.3 vite: - specifier: ^5.3.2 - version: 5.3.6(@types/node@18.19.50)(lightningcss@1.24.1) + specifier: ^5.4.4 + version: 5.4.10(@types/node@18.19.50)(lightningcss@1.24.1) packages: @@ -1896,6 +1902,14 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.0 + '@sveltejs/vite-plugin-svelte-inspector@3.0.1': + resolution: {integrity: sha512-2CKypmj1sM4GE7HjllT7UKmo4Q6L5xFRd7VMGEWhYnZ+wc6AUVU01IBd7yUi6WnFndEwWoMNOd6e8UjoN0nbvQ==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22} + peerDependencies: + '@sveltejs/vite-plugin-svelte': ^4.0.0-next.0||^4.0.0 + svelte: ^5.0.0-next.96 || ^5.0.0 + vite: ^5.0.0 + '@sveltejs/vite-plugin-svelte@3.1.0': resolution: {integrity: sha512-sY6ncCvg+O3njnzbZexcVtUqOBE3iYmQPJ9y+yXSkOwG576QI/xJrBnQSRXFLGwJNBa0T78JEKg5cIR0WOAuUw==} engines: {node: ^18.0.0 || >=20} @@ -1903,6 +1917,13 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.0 + '@sveltejs/vite-plugin-svelte@4.0.0': + resolution: {integrity: sha512-kpVJwF+gNiMEsoHaw+FJL76IYiwBikkxYU83+BpqQLdVMff19KeRKLd2wisS8niNBMJ2omv5gG+iGDDwd8jzag==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22} + peerDependencies: + svelte: ^5.0.0-next.96 || ^5.0.0 + vite: ^5.0.0 + '@svitejs/changesets-changelog-github-compact@1.1.0': resolution: {integrity: sha512-qhUGGDHcpbY2zpjW3SwqchuW8J/5EzlPFud7xNntHKA7f3a/mx5+g+ruJKFHSAiVZYo30PALt+AyhmPUNKH/Og==} engines: {node: ^14.13.1 || ^16.0.0 || >=18} @@ -2264,6 +2285,15 @@ packages: supports-color: optional: true + debug@4.3.7: + resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dedent-js@1.0.1: resolution: {integrity: sha512-OUepMozQULMLUmhxS95Vudo0jb0UchLimi3+pQ2plj61Fcy8axbP9hbiD4Sz6DPqn6XG3kfmziVfQ1rSys5AJQ==} @@ -2869,6 +2899,9 @@ packages: magic-string@0.30.11: resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + magic-string@0.30.12: + resolution: {integrity: sha512-Ea8I3sQMVXr8JhN4z+H/d8zwo+tYDgHE9+5G4Wnrwhs0gaK9fXTKx0Tw5Xwsd/bCPTTZNRAdpyzvoeORe9LYpw==} + make-dir@3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} @@ -2944,6 +2977,9 @@ packages: ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + mustache@4.2.0: resolution: {integrity: sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==} hasBin: true @@ -3176,6 +3212,12 @@ packages: prettier: ^3.0.0 svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0 + prettier-plugin-svelte@3.2.7: + resolution: {integrity: sha512-/Dswx/ea0lV34If1eDcG3nulQ63YNr5KPDfMsjbdtpSWOxKKJ7nAc2qlVuYwEvCr4raIuredNoR7K4JCkmTGaQ==} + peerDependencies: + prettier: ^3.0.0 + svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0 + prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} @@ -3186,6 +3228,11 @@ packages: engines: {node: '>=14'} hasBin: true + prettier@3.3.3: + resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} + engines: {node: '>=14'} + hasBin: true + pretty-format@29.7.0: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -3500,8 +3547,8 @@ packages: resolution: {integrity: sha512-IY1rnGr6izd10B0A8LqsBfmlT5OILVuZ7XsI0vdGPEvuonFV7NYEUK4dAkm9Zg2q0Um92kYjTpS1CAP3Nh/KWw==} engines: {node: '>=16'} - svelte@5.1.9: - resolution: {integrity: sha512-nzq+PPKGS2PoEWDjAcXSrKSbXmmmOAxd6dAz1IhRusUpVkFS6DMELWPyBPGwu6TpO/gsgtFXwX0M4+pAR5gzKw==} + svelte@5.1.13: + resolution: {integrity: sha512-xVNk8yLsZNfkyqWzVg8+nfU9ewiSjVW0S4qyTxfKa6Y7P5ZBhA+LDsh2cHWIXJQMltikQAk6W3sqGdQZSH58PA==} engines: {node: '>=18'} tapable@2.2.1: @@ -3656,6 +3703,37 @@ packages: terser: optional: true + vite@5.4.10: + resolution: {integrity: sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + vitefu@0.2.5: resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} peerDependencies: @@ -3664,6 +3742,14 @@ packages: vite: optional: true + vitefu@1.0.3: + resolution: {integrity: sha512-iKKfOMBHob2WxEJbqbJjHAkmYgvFDPhuqrO82om83S8RLk+17FtyMBfcyeH8GqD0ihShtkMW/zzJgiA51hCNCQ==} + peerDependencies: + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0-beta.0 + peerDependenciesMeta: + vite: + optional: true + vitest@2.0.1: resolution: {integrity: sha512-PBPvNXRJiywtI9NmbnEqHIhcXlk8mB0aKf6REQIaYGY4JtWF1Pg8Am+N0vAuxdg/wUSlxPSVJr8QdjwcVxc2Hg==} engines: {node: ^18.0.0 || >=20.0.0} @@ -4417,20 +4503,20 @@ snapshots: eslint-visitor-keys: 4.1.0 espree: 10.2.0 - '@sveltejs/eslint-config@8.1.0(@stylistic/eslint-plugin-js@2.1.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.41.0(eslint@9.6.0)(svelte@5.1.9))(eslint@9.6.0)(typescript-eslint@8.4.0(eslint@9.6.0)(typescript@5.6.3))(typescript@5.6.3)': + '@sveltejs/eslint-config@8.1.0(@stylistic/eslint-plugin-js@2.1.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.41.0(eslint@9.6.0)(svelte@5.1.13))(eslint@9.6.0)(typescript-eslint@8.4.0(eslint@9.6.0)(typescript@5.6.3))(typescript@5.6.3)': dependencies: '@stylistic/eslint-plugin-js': 2.1.0(eslint@9.6.0) eslint: 9.6.0 eslint-config-prettier: 9.1.0(eslint@9.6.0) eslint-plugin-n: 17.9.0(eslint@9.6.0) - eslint-plugin-svelte: 2.41.0(eslint@9.6.0)(svelte@5.1.9) + eslint-plugin-svelte: 2.41.0(eslint@9.6.0)(svelte@5.1.13) globals: 15.10.0 typescript: 5.6.3 typescript-eslint: 8.4.0(eslint@9.6.0)(typescript@5.6.3) - '@sveltejs/kit@2.7.3(@sveltejs/vite-plugin-svelte@3.1.0(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1))': + '@sveltejs/kit@2.7.3(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.0(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)) + '@sveltejs/vite-plugin-svelte': 4.0.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 5.1.0 @@ -4442,9 +4528,9 @@ snapshots: sade: 1.8.1 set-cookie-parser: 2.6.0 sirv: 3.0.0 - svelte: 5.1.9 + svelte: 5.1.13 tiny-glob: 0.2.9 - vite: 5.3.6(@types/node@18.19.50)(lightningcss@1.24.1) + vite: 5.4.10(@types/node@18.19.50)(lightningcss@1.24.1) '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.19)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@4.2.19)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1))': dependencies: @@ -4455,12 +4541,30 @@ snapshots: transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.0(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1))': + '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.19)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@4.2.19)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.0(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)) + '@sveltejs/vite-plugin-svelte': 3.1.0(svelte@4.2.19)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) debug: 4.3.5 - svelte: 5.1.9 - vite: 5.3.6(@types/node@18.19.50)(lightningcss@1.24.1) + svelte: 4.2.19 + vite: 5.4.10(@types/node@18.19.50)(lightningcss@1.24.1) + transitivePeerDependencies: + - supports-color + + '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1))': + dependencies: + '@sveltejs/vite-plugin-svelte': 3.1.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) + debug: 4.3.5 + svelte: 5.1.13 + vite: 5.4.10(@types/node@18.19.50)(lightningcss@1.24.1) + transitivePeerDependencies: + - supports-color + + '@sveltejs/vite-plugin-svelte-inspector@3.0.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1))': + dependencies: + '@sveltejs/vite-plugin-svelte': 4.0.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) + debug: 4.3.7 + svelte: 5.1.13 + vite: 5.4.10(@types/node@18.19.50)(lightningcss@1.24.1) transitivePeerDependencies: - supports-color @@ -4478,17 +4582,44 @@ snapshots: transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.1.0(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1))': + '@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.19)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.0(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@5.1.9)(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)) + '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.0(svelte@4.2.19)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@4.2.19)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) debug: 4.3.5 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.11 - svelte: 5.1.9 - svelte-hmr: 0.16.0(svelte@5.1.9) - vite: 5.3.6(@types/node@18.19.50)(lightningcss@1.24.1) - vitefu: 0.2.5(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)) + svelte: 4.2.19 + svelte-hmr: 0.16.0(svelte@4.2.19) + vite: 5.4.10(@types/node@18.19.50)(lightningcss@1.24.1) + vitefu: 0.2.5(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) + transitivePeerDependencies: + - supports-color + + '@sveltejs/vite-plugin-svelte@3.1.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1))': + dependencies: + '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) + debug: 4.3.5 + deepmerge: 4.3.1 + kleur: 4.1.5 + magic-string: 0.30.11 + svelte: 5.1.13 + svelte-hmr: 0.16.0(svelte@5.1.13) + vite: 5.4.10(@types/node@18.19.50)(lightningcss@1.24.1) + vitefu: 0.2.5(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) + transitivePeerDependencies: + - supports-color + + '@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1))': + dependencies: + '@sveltejs/vite-plugin-svelte-inspector': 3.0.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)))(svelte@5.1.13)(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) + debug: 4.3.7 + deepmerge: 4.3.1 + kleur: 4.1.5 + magic-string: 0.30.12 + svelte: 5.1.13 + vite: 5.4.10(@types/node@18.19.50)(lightningcss@1.24.1) + vitefu: 1.0.3(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)) transitivePeerDependencies: - supports-color @@ -4884,6 +5015,10 @@ snapshots: dependencies: ms: 2.1.2 + debug@4.3.7: + dependencies: + ms: 2.1.3 + dedent-js@1.0.1: {} deep-eql@5.0.2: {} @@ -5027,7 +5162,7 @@ snapshots: minimatch: 9.0.5 semver: 7.6.3 - eslint-plugin-svelte@2.41.0(eslint@9.6.0)(svelte@5.1.9): + eslint-plugin-svelte@2.41.0(eslint@9.6.0)(svelte@5.1.13): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.6.0) '@jridgewell/sourcemap-codec': 1.5.0 @@ -5040,9 +5175,9 @@ snapshots: postcss-safe-parser: 6.0.0(postcss@8.4.47) postcss-selector-parser: 6.1.2 semver: 7.6.3 - svelte-eslint-parser: 0.39.2(svelte@5.1.9) + svelte-eslint-parser: 0.39.2(svelte@5.1.13) optionalDependencies: - svelte: 5.1.9 + svelte: 5.1.13 transitivePeerDependencies: - ts-node @@ -5522,6 +5657,10 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 + magic-string@0.30.12: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + make-dir@3.1.0: dependencies: semver: 6.3.1 @@ -5593,6 +5732,8 @@ snapshots: ms@2.1.2: {} + ms@2.1.3: {} + mustache@4.2.0: {} nanoid@3.3.7: {} @@ -5775,15 +5916,22 @@ snapshots: prelude-ls@1.2.1: {} - prettier-plugin-svelte@3.1.2(prettier@3.1.1)(svelte@5.1.9): + prettier-plugin-svelte@3.1.2(prettier@3.1.1)(svelte@5.1.13): dependencies: prettier: 3.1.1 - svelte: 5.1.9 + svelte: 5.1.13 + + prettier-plugin-svelte@3.2.7(prettier@3.3.3)(svelte@5.1.13): + dependencies: + prettier: 3.3.3 + svelte: 5.1.13 prettier@2.8.8: {} prettier@3.1.1: {} + prettier@3.3.3: {} + pretty-format@29.7.0: dependencies: '@jest/schemas': 29.6.3 @@ -6045,7 +6193,19 @@ snapshots: transitivePeerDependencies: - picomatch - svelte-eslint-parser@0.39.2(svelte@5.1.9): + svelte-check@4.0.1(picomatch@4.0.2)(svelte@5.1.13)(typescript@5.6.3): + dependencies: + '@jridgewell/trace-mapping': 0.3.25 + chokidar: 3.6.0 + fdir: 6.3.0(picomatch@4.0.2) + picocolors: 1.1.0 + sade: 1.8.1 + svelte: 5.1.13 + typescript: 5.6.3 + transitivePeerDependencies: + - picomatch + + svelte-eslint-parser@0.39.2(svelte@5.1.13): dependencies: eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 @@ -6053,19 +6213,19 @@ snapshots: postcss: 8.4.47 postcss-scss: 4.0.9(postcss@8.4.47) optionalDependencies: - svelte: 5.1.9 + svelte: 5.1.13 svelte-hmr@0.16.0(svelte@4.2.19): dependencies: svelte: 4.2.19 - svelte-hmr@0.16.0(svelte@5.1.9): + svelte-hmr@0.16.0(svelte@5.1.13): dependencies: - svelte: 5.1.9 + svelte: 5.1.13 - svelte-parse-markup@0.1.5(svelte@5.1.9): + svelte-parse-markup@0.1.5(svelte@5.1.13): dependencies: - svelte: 5.1.9 + svelte: 5.1.13 svelte-preprocess@6.0.0(postcss-load-config@3.1.4(postcss@8.4.47))(postcss@8.4.47)(svelte@4.2.19)(typescript@5.4.5): dependencies: @@ -6101,7 +6261,7 @@ snapshots: magic-string: 0.30.11 periscopic: 3.1.0 - svelte@5.1.9: + svelte@5.1.13: dependencies: '@ampproject/remapping': 2.3.0 '@jridgewell/sourcemap-codec': 1.5.0 @@ -6237,12 +6397,13 @@ snapshots: debug: 4.3.5 pathe: 1.1.2 picocolors: 1.1.0 - vite: 5.3.6(@types/node@18.19.50)(lightningcss@1.24.1) + vite: 5.4.10(@types/node@18.19.50)(lightningcss@1.24.1) transitivePeerDependencies: - '@types/node' - less - lightningcss - sass + - sass-embedded - stylus - sugarss - supports-color @@ -6258,10 +6419,28 @@ snapshots: fsevents: 2.3.3 lightningcss: 1.24.1 + vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1): + dependencies: + esbuild: 0.21.5 + postcss: 8.4.47 + rollup: 4.24.0 + optionalDependencies: + '@types/node': 18.19.50 + fsevents: 2.3.3 + lightningcss: 1.24.1 + vitefu@0.2.5(vite@5.3.6(@types/node@18.19.50)(lightningcss@1.24.1)): optionalDependencies: vite: 5.3.6(@types/node@18.19.50)(lightningcss@1.24.1) + vitefu@0.2.5(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)): + optionalDependencies: + vite: 5.4.10(@types/node@18.19.50)(lightningcss@1.24.1) + + vitefu@1.0.3(vite@5.4.10(@types/node@18.19.50)(lightningcss@1.24.1)): + optionalDependencies: + vite: 5.4.10(@types/node@18.19.50)(lightningcss@1.24.1) + vitest@2.0.1(@types/node@18.19.50)(lightningcss@1.24.1): dependencies: '@ampproject/remapping': 2.3.0 @@ -6288,6 +6467,7 @@ snapshots: - less - lightningcss - sass + - sass-embedded - stylus - sugarss - supports-color