diff --git a/playground/multi-export/package.json b/playground/multi-export/package.json index f929506f..882a49c2 100644 --- a/playground/multi-export/package.json +++ b/playground/multi-export/package.json @@ -75,7 +75,7 @@ "@sveltejs/adapter-auto": "^3.3.1", "@sveltejs/kit": "^2.12.1", "@sveltejs/package": "^2.3.7", - "@sveltejs/vite-plugin-svelte": "^3.1.2", + "@sveltejs/vite-plugin-svelte": "^5.0.3", "dummy-side-effects": "workspace:*", "svelte": "^5.14.4", "vite": "^5.4.11" diff --git a/playground/runtime-svelte/package.json b/playground/runtime-svelte/package.json index 7bc98880..cf9d2176 100644 --- a/playground/runtime-svelte/package.json +++ b/playground/runtime-svelte/package.json @@ -17,7 +17,7 @@ "@neoconfetti/svelte": "^1.0.0", "@sveltejs/adapter-auto": "^3.3.1", "@sveltejs/kit": "^2.12.1", - "@sveltejs/vite-plugin-svelte": "^3.1.2", + "@sveltejs/vite-plugin-svelte": "^5.0.3", "@types/eslint": "^8.56.12", "@typescript-eslint/eslint-plugin": "^8.14.0", "@typescript-eslint/parser": "^8.14.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6e84e5e7..c6701371 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -301,19 +301,19 @@ importers: devDependencies: '@sanity/visual-editing': specifier: ^2.10.10 - version: 2.10.10(@sanity/client@6.22.4)(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(next@15.1.1(@babel/core@7.26.0)(babel-plugin-react-compiler@19.0.0-beta-201e55d-20241215)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(svelte@5.14.4) + version: 2.10.10(@sanity/client@6.22.4)(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(next@15.1.1(@babel/core@7.26.0)(babel-plugin-react-compiler@19.0.0-beta-201e55d-20241215)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(svelte@5.14.4) '@sveltejs/adapter-auto': specifier: ^3.3.1 - version: 3.3.1(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1))) + version: 3.3.1(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1))) '@sveltejs/kit': specifier: ^2.12.1 - version: 2.12.1(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) + version: 2.12.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) '@sveltejs/package': specifier: ^2.3.7 version: 2.3.7(svelte@5.14.4)(typescript@5.7.2) '@sveltejs/vite-plugin-svelte': - specifier: ^3.1.2 - version: 3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) + specifier: ^5.0.3 + version: 5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) dummy-side-effects: specifier: workspace:* version: link:../dummy-side-effects @@ -422,13 +422,13 @@ importers: version: 1.0.0 '@sveltejs/adapter-auto': specifier: ^3.3.1 - version: 3.3.1(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1))) + version: 3.3.1(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1))) '@sveltejs/kit': specifier: ^2.12.1 - version: 2.12.1(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) + version: 2.12.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) '@sveltejs/vite-plugin-svelte': - specifier: ^3.1.2 - version: 3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) + specifier: ^5.0.3 + version: 5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) '@types/eslint': specifier: ^8.56.12 version: 8.56.12 @@ -1674,20 +1674,20 @@ packages: peerDependencies: svelte: ^3.44.0 || ^4.0.0 || ^5.0.0-next.1 - '@sveltejs/vite-plugin-svelte-inspector@2.1.0': - resolution: {integrity: sha512-9QX28IymvBlSCqsCll5t0kQVxipsfhFFL+L2t3nTWfXnddYwxBuAEtTtlaVQpRz9c37BhJjltSeY4AJSC03SSg==} - engines: {node: ^18.0.0 || >=20} + '@sveltejs/vite-plugin-svelte-inspector@4.0.1': + resolution: {integrity: sha512-J/Nmb2Q2y7mck2hyCX4ckVHcR5tu2J+MtBEQqpDrrgELZ2uvraQcK/ioCV61AqkdXFgriksOKIceDcQmqnGhVw==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22} peerDependencies: - '@sveltejs/vite-plugin-svelte': ^3.0.0 - svelte: ^4.0.0 || ^5.0.0-next.0 - vite: ^5.0.0 + '@sveltejs/vite-plugin-svelte': ^5.0.0 + svelte: ^5.0.0 + vite: ^6.0.0 - '@sveltejs/vite-plugin-svelte@3.1.2': - resolution: {integrity: sha512-Txsm1tJvtiYeLUVRNqxZGKR/mI+CzuIQuc2gn+YCs9rMTowpNZ2Nqt53JdL8KF9bLhAf2ruR/dr9eZCwdTriRA==} - engines: {node: ^18.0.0 || >=20} + '@sveltejs/vite-plugin-svelte@5.0.3': + resolution: {integrity: sha512-MCFS6CrQDu1yGwspm4qtli0e63vaPCehf6V7pIMP15AsWgMKrqDGCPFF/0kn4SP0ii4aySu4Pa62+fIRGFMjgw==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22} peerDependencies: - svelte: ^4.0.0 || ^5.0.0-next.0 - vite: ^5.0.0 + svelte: ^5.0.0 + vite: ^6.0.0 '@swc/core-darwin-arm64@1.7.35': resolution: {integrity: sha512-BQSSozVxjxS+SVQz6e3GC/+OBWGIK3jfe52pWdANmycdjF3ch7lrCKTHTU7eHwyoJ96mofszPf5AsiVJF34Fwg==} @@ -5752,12 +5752,6 @@ packages: svelte: optional: true - svelte-hmr@0.16.0: - resolution: {integrity: sha512-Gyc7cOS3VJzLlfj7wKS0ZnzDVdv3Pn2IuVeJPk9m2skfhcu5bq3wtIZyQGggr7/Iim5rH5cncyQft/kRLupcnA==} - engines: {node: ^12.20 || ^14.13.1 || >= 16} - peerDependencies: - svelte: ^3.19.0 || ^4.0.0 - svelte2tsx@0.7.22: resolution: {integrity: sha512-hf55ujq17ufVpDQlJzaQfRr9EjlLIwGmFlpKq4uYrQAQFw/99q1OcVYyBT6568iJySgBUY9PdccURrORmfetmQ==} peerDependencies: @@ -6176,14 +6170,6 @@ packages: yaml: optional: true - vitefu@0.2.5: - resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} - peerDependencies: - vite: ^3.0.0 || ^4.0.0 || ^5.0.0 - peerDependenciesMeta: - vite: - optional: true - vitefu@1.0.4: resolution: {integrity: sha512-y6zEE3PQf6uu/Mt6DTJ9ih+kyJLr4XcSgHR2zUkM8SWDhuixEJxfJ6CZGMHh1Ec3vPLoEA0IHU5oWzVqw8ulow==} peerDependencies: @@ -7457,7 +7443,7 @@ snapshots: '@types/uuid': 8.3.4 uuid: 8.3.2 - '@sanity/visual-editing@2.10.10(@sanity/client@6.22.4)(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(next@15.1.1(@babel/core@7.26.0)(babel-plugin-react-compiler@19.0.0-beta-201e55d-20241215)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(svelte@5.14.4)': + '@sanity/visual-editing@2.10.10(@sanity/client@6.22.4)(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(next@15.1.1(@babel/core@7.26.0)(babel-plugin-react-compiler@19.0.0-beta-201e55d-20241215)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(svelte@5.14.4)': dependencies: '@sanity/comlink': 2.0.2 '@sanity/mutate': 0.11.0-canary.4(xstate@5.19.0) @@ -7474,7 +7460,7 @@ snapshots: xstate: 5.19.0 optionalDependencies: '@sanity/client': 6.22.4 - '@sveltejs/kit': 2.12.1(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) + '@sveltejs/kit': 2.12.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) next: 15.1.1(@babel/core@7.26.0)(babel-plugin-react-compiler@19.0.0-beta-201e55d-20241215)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) svelte: 5.14.4 transitivePeerDependencies: @@ -7507,14 +7493,14 @@ snapshots: '@shikijs/vscode-textmate@9.3.1': {} - '@sveltejs/adapter-auto@3.3.1(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))': + '@sveltejs/adapter-auto@3.3.1(@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))': dependencies: - '@sveltejs/kit': 2.12.1(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) + '@sveltejs/kit': 2.12.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) import-meta-resolve: 4.1.0 - '@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1))': + '@sveltejs/kit@2.12.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) + '@sveltejs/vite-plugin-svelte': 5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 5.1.1 @@ -7541,26 +7527,25 @@ snapshots: transitivePeerDependencies: - typescript - '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1))': + '@sveltejs/vite-plugin-svelte-inspector@4.0.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) + '@sveltejs/vite-plugin-svelte': 5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) debug: 4.4.0 svelte: 5.14.4 vite: 5.4.11(@types/node@20.16.11)(terser@5.34.1) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1))': + '@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) + '@sveltejs/vite-plugin-svelte-inspector': 4.0.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)))(svelte@5.14.4)(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) debug: 4.4.0 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.17 svelte: 5.14.4 - svelte-hmr: 0.16.0(svelte@5.14.4) vite: 5.4.11(@types/node@20.16.11)(terser@5.34.1) - vitefu: 0.2.5(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) + vitefu: 1.0.4(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)) transitivePeerDependencies: - supports-color @@ -12406,10 +12391,6 @@ snapshots: optionalDependencies: svelte: 5.14.4 - svelte-hmr@0.16.0(svelte@5.14.4): - dependencies: - svelte: 5.14.4 - svelte2tsx@0.7.22(svelte@5.14.4)(typescript@5.7.2): dependencies: dedent-js: 1.0.1 @@ -12818,7 +12799,7 @@ snapshots: terser: 5.34.1 yaml: 2.5.1 - vitefu@0.2.5(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)): + vitefu@1.0.4(vite@5.4.11(@types/node@20.16.11)(terser@5.34.1)): optionalDependencies: vite: 5.4.11(@types/node@20.16.11)(terser@5.34.1)