diff --git a/packages/sveltekit-sample/package.json b/packages/sveltekit-sample/package.json index 772705b1..b3639896 100644 --- a/packages/sveltekit-sample/package.json +++ b/packages/sveltekit-sample/package.json @@ -17,7 +17,7 @@ "@silverhand/eslint-config": "^6.0.1", "@sveltejs/adapter-auto": "^3.0.0", "@sveltejs/kit": "^2.0.0", - "@sveltejs/vite-plugin-svelte": "^3.0.0", + "@sveltejs/vite-plugin-svelte": "^4.0.0", "@types/cookie": "^0.6.0", "eslint": "^8.57.0", "lint-staged": "^15.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 19393764..cee9ddae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -973,7 +973,7 @@ importers: version: 6.0.0(typescript@5.3.3) '@sveltejs/kit': specifier: ^2.0.0 - version: 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)) + version: 2.5.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)) '@swc/core': specifier: ^1.6.5 version: 1.6.5(@swc/helpers@0.5.5) @@ -1012,13 +1012,13 @@ importers: version: 6.0.1(eslint@8.57.0)(prettier@3.0.0)(typescript@5.3.3) '@sveltejs/adapter-auto': specifier: ^3.0.0 - version: 3.1.1(@sveltejs/kit@2.5.0(@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2))) + version: 3.1.1(@sveltejs/kit@2.5.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2))) '@sveltejs/kit': specifier: ^2.0.0 - version: 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) + version: 2.5.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) '@sveltejs/vite-plugin-svelte': - specifier: ^3.0.0 - version: 3.0.2(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) + specifier: ^4.0.0 + version: 4.0.0(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) '@types/cookie': specifier: ^0.6.0 version: 0.6.0 @@ -3228,19 +3228,19 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.3 - '@sveltejs/vite-plugin-svelte-inspector@2.0.0': - resolution: {integrity: sha512-gjr9ZFg1BSlIpfZ4PRewigrvYmHWbDrq2uvvPB1AmTWKuM+dI1JXQSUu2pIrYLb/QncyiIGkFDFKTwJ0XqQZZg==} - engines: {node: ^18.0.0 || >=20} + '@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': ^3.0.0 - svelte: ^4.0.0 || ^5.0.0-next.0 + '@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.0.2': - resolution: {integrity: sha512-MpmF/cju2HqUls50WyTHQBZUV3ovV/Uk8k66AN2gwHogNAG8wnW8xtZDhzNBsFJJuvmq1qnzA5kE7YfMJNFv2Q==} - engines: {node: ^18.0.0 || >=20} + '@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: ^4.0.0 || ^5.0.0-next.0 + svelte: ^5.0.0-next.96 || ^5.0.0 vite: ^5.0.0 '@swc/core-darwin-arm64@1.6.5': @@ -6673,6 +6673,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==} + magic-string@0.30.5: resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} engines: {node: '>=12'} @@ -8603,12 +8606,6 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 typescript: '>=5.0.0' - svelte-hmr@0.15.3: - resolution: {integrity: sha512-41snaPswvSf8TJUhlkoJBekRrABDXDMdpNpT2tfHIv4JuhgvHqLMhEPGtaQn0BmbNSTkuz2Ed20DF2eHw0SmBQ==} - engines: {node: ^12.20 || ^14.13.1 || >= 16} - peerDependencies: - svelte: ^3.19.0 || ^4.0.0 - svelte@4.2.19: resolution: {integrity: sha512-IY1rnGr6izd10B0A8LqsBfmlT5OILVuZ7XsI0vdGPEvuonFV7NYEUK4dAkm9Zg2q0Um92kYjTpS1CAP3Nh/KWw==} engines: {node: '>=16'} @@ -9210,10 +9207,10 @@ packages: terser: optional: true - vitefu@0.2.5: - resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} + vitefu@1.0.3: + resolution: {integrity: sha512-iKKfOMBHob2WxEJbqbJjHAkmYgvFDPhuqrO82om83S8RLk+17FtyMBfcyeH8GqD0ihShtkMW/zzJgiA51hCNCQ==} peerDependencies: - vite: ^3.0.0 || ^4.0.0 || ^5.0.0 + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0-beta.0 peerDependenciesMeta: vite: optional: true @@ -12061,14 +12058,14 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} - '@sveltejs/adapter-auto@3.1.1(@sveltejs/kit@2.5.0(@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))': + '@sveltejs/adapter-auto@3.1.1(@sveltejs/kit@2.5.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))': dependencies: - '@sveltejs/kit': 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) + '@sveltejs/kit': 2.5.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) import-meta-resolve: 4.0.0 - '@sveltejs/kit@2.5.0(@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2))': + '@sveltejs/kit@2.5.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) + '@sveltejs/vite-plugin-svelte': 4.0.0(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 4.3.2 @@ -12084,9 +12081,9 @@ snapshots: tiny-glob: 0.2.9 vite: 5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2) - '@sveltejs/kit@2.5.0(@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2))': + '@sveltejs/kit@2.5.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)) + '@sveltejs/vite-plugin-svelte': 4.0.0(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)) '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 4.3.2 @@ -12102,49 +12099,47 @@ snapshots: tiny-glob: 0.2.9 vite: 5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2) - '@sveltejs/vite-plugin-svelte-inspector@2.0.0(@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2))': + '@sveltejs/vite-plugin-svelte-inspector@3.0.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) + '@sveltejs/vite-plugin-svelte': 4.0.0(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) debug: 4.3.7 svelte: 4.2.19 vite: 5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte-inspector@2.0.0(@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2))': + '@sveltejs/vite-plugin-svelte-inspector@3.0.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2))': dependencies: - '@sveltejs/vite-plugin-svelte': 3.0.2(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)) + '@sveltejs/vite-plugin-svelte': 4.0.0(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)) debug: 4.3.7 svelte: 4.2.19 vite: 5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2))': + '@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.0.0(@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) - debug: 4.3.4 + '@sveltejs/vite-plugin-svelte-inspector': 3.0.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) + debug: 4.3.7 deepmerge: 4.3.1 kleur: 4.1.5 - magic-string: 0.30.5 + magic-string: 0.30.12 svelte: 4.2.19 - svelte-hmr: 0.15.3(svelte@4.2.19) vite: 5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2) - vitefu: 0.2.5(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) + vitefu: 1.0.3(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)) transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2))': + '@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2))': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.0.0(@sveltejs/vite-plugin-svelte@3.0.2(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)) - debug: 4.3.4 + '@sveltejs/vite-plugin-svelte-inspector': 3.0.1(@sveltejs/vite-plugin-svelte@4.0.0(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)))(svelte@4.2.19)(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)) + debug: 4.3.7 deepmerge: 4.3.1 kleur: 4.1.5 - magic-string: 0.30.5 + magic-string: 0.30.12 svelte: 4.2.19 - svelte-hmr: 0.15.3(svelte@4.2.19) vite: 5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2) - vitefu: 0.2.5(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)) + vitefu: 1.0.3(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)) transitivePeerDependencies: - supports-color @@ -14611,7 +14606,7 @@ snapshots: debug: 4.3.4 enhanced-resolve: 5.15.0 eslint: 8.57.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.3.3))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.5.0 @@ -14634,7 +14629,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.3.3))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0): + eslint-module-utils@2.8.0(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: @@ -14700,7 +14695,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.3.3))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.1.1(eslint@8.57.0)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -16398,6 +16393,10 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 + magic-string@0.30.12: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + magic-string@0.30.5: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 @@ -18602,10 +18601,6 @@ snapshots: transitivePeerDependencies: - picomatch - svelte-hmr@0.15.3(svelte@4.2.19): - dependencies: - svelte: 4.2.19 - svelte@4.2.19: dependencies: '@ampproject/remapping': 2.3.0 @@ -19346,11 +19341,11 @@ snapshots: fsevents: 2.3.3 terser: 5.27.2 - vitefu@0.2.5(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)): + vitefu@1.0.3(vite@5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2)): optionalDependencies: vite: 5.2.14(@types/node@20.12.2)(sass@1.58.0)(terser@5.27.2) - vitefu@0.2.5(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)): + vitefu@1.0.3(vite@5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)): optionalDependencies: vite: 5.4.8(@types/node@20.11.19)(sass@1.58.0)(terser@5.27.2)