diff --git a/package.json b/package.json index 1d7580f14..13af93704 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "release-plan": "^0.9.0", "replace": "^1.2.2", "shepherd.js": "workspace:*", - "svelte": "^4.2.19", + "svelte": "^5.2.3", "typescript": "^5.6.3" }, "packageManager": "pnpm@9.9.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 785f0500b..69549b398 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,7 +37,7 @@ importers: version: 28.8.3(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(jest@29.7.0(@types/node@20.14.12))(typescript@5.6.3) eslint-plugin-svelte: specifier: ^2.39.0 - version: 2.43.0(eslint@8.57.0)(svelte@4.2.19) + version: 2.43.0(eslint@8.57.0)(svelte@5.2.3) postcss: specifier: ^8.4.38 version: 8.4.40 @@ -49,7 +49,7 @@ importers: version: 0.14.1 prettier-plugin-svelte: specifier: ^3.2.8 - version: 3.2.8(prettier@3.3.3)(svelte@4.2.19) + version: 3.2.8(prettier@3.3.3)(svelte@5.2.3) release-plan: specifier: ^0.9.0 version: 0.9.2(encoding@0.1.13) @@ -60,8 +60,8 @@ importers: specifier: workspace:* version: link:shepherd.js svelte: - specifier: ^4.2.19 - version: 4.2.19 + specifier: ^5.2.3 + version: 5.2.3 typescript: specifier: ^5.6.3 version: 5.6.3 @@ -242,7 +242,7 @@ importers: version: 9.5.1 eslint-plugin-svelte: specifier: ^2.39.0 - version: 2.43.0(eslint@8.57.0)(svelte@4.2.19) + version: 2.43.0(eslint@8.57.0)(svelte@5.2.3) execa: specifier: ^9.3.1 version: 9.3.1 @@ -254,7 +254,7 @@ importers: version: 3.3.3 prettier-plugin-svelte: specifier: ^3.2.8 - version: 3.2.8(prettier@3.3.3)(svelte@4.2.19) + version: 3.2.8(prettier@3.3.3)(svelte@5.2.3) renamer: specifier: ^5.0.0 version: 5.0.2 @@ -287,19 +287,19 @@ importers: version: 2.0.3 rollup-plugin-svelte: specifier: ^7.2.0 - version: 7.2.2(rollup@4.24.0)(svelte@4.2.19) + version: 7.2.2(rollup@4.24.0)(svelte@5.2.3) rollup-plugin-visualizer: specifier: ^5.11.0 version: 5.12.0(rollup@4.24.0) svelte: - specifier: ^4.2.19 - version: 4.2.19 + specifier: ^5.2.3 + version: 5.2.3 svelte-preprocess: specifier: ^6.0.3 - version: 6.0.3(@babel/core@7.24.9)(postcss-load-config@4.0.2(postcss@8.4.40))(postcss@8.4.40)(svelte@4.2.19)(typescript@5.6.3) + version: 6.0.3(@babel/core@7.24.9)(postcss-load-config@4.0.2(postcss@8.4.40))(postcss@8.4.40)(svelte@5.2.3)(typescript@5.6.3) svelte2tsx: specifier: ^0.7.8 - version: 0.7.13(svelte@4.2.19)(typescript@5.6.3) + version: 0.7.13(svelte@5.2.3)(typescript@5.6.3) typescript: specifier: ^5.6.3 version: 5.6.3 @@ -369,7 +369,7 @@ importers: version: 5.17.0 '@testing-library/svelte': specifier: 4.1.x - version: 4.1.0(svelte@4.2.19) + version: 4.1.0(svelte@5.2.3) autoprefixer: specifier: ^10.4.19 version: 10.4.19(postcss@8.4.40) @@ -425,11 +425,11 @@ importers: specifier: ^2.0.8 version: 2.0.8 svelte: - specifier: ^4.2.19 - version: 4.2.19 + specifier: ^5.2.3 + version: 5.2.3 svelte-jester: specifier: ^3.0.0 - version: 3.0.0(jest@29.7.0(@types/node@20.14.12))(svelte@4.2.19) + version: 3.0.0(jest@29.7.0(@types/node@20.14.12))(svelte@5.2.3) typescript: specifier: ^5.6.3 version: 5.6.3 @@ -2767,6 +2767,11 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + acorn-typescript@1.4.13: + resolution: {integrity: sha512-xsc9Xv0xlVfwp2o7sQ+GCQ1PgbkdcpWdTzrwXxO3xDMTAywVS3oXVOcOHuRjAPkS4P9b+yc/qNF15460v+jp4Q==} + peerDependencies: + acorn: '>=8.9.0' + acorn-walk@8.3.3: resolution: {integrity: sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==} engines: {node: '>=0.4.0'} @@ -3309,9 +3314,6 @@ packages: resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} - code-red@1.0.4: - resolution: {integrity: sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==} - collapse-white-space@2.1.0: resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==} @@ -3945,6 +3947,9 @@ packages: deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true + esm-env@1.1.4: + resolution: {integrity: sha512-oO82nKPHKkzIj/hbtuDYy/JHqBHFlMIW36SDiPCVsj87ntDLcWN+sJ1erdVryd4NxODacFTsdrIE3b7IamqbOg==} + espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3958,6 +3963,9 @@ packages: resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} engines: {node: '>=0.10'} + esrap@1.2.2: + resolution: {integrity: sha512-F2pSJklxx1BlQIQgooczXCPHmcWpn6EsP5oo73LQfonG9fIlIENQ8vMmfGXeojP9MrkzUNAfyU5vdFlR9shHAw==} + esrecurse@4.3.0: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} @@ -4783,8 +4791,8 @@ packages: is-potential-custom-element-name@1.0.1: resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} - is-reference@3.0.2: - resolution: {integrity: sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==} + is-reference@3.0.3: + resolution: {integrity: sha512-ixkJoqQvAP88E6wLydLGGqCJsrFUnqoH6HnaczB8XmDH1oaWU+xxdptvikTgaEhtZ53Ky6YXiBuUI2WXLMCwjw==} is-regex@1.1.4: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} @@ -7501,9 +7509,9 @@ packages: svelte: ^3.55 || ^4.0.0-next.0 || ^4.0 || ^5.0.0-next.0 typescript: ^4.9.4 || ^5.0.0 - svelte@4.2.19: - resolution: {integrity: sha512-IY1rnGr6izd10B0A8LqsBfmlT5OILVuZ7XsI0vdGPEvuonFV7NYEUK4dAkm9Zg2q0Um92kYjTpS1CAP3Nh/KWw==} - engines: {node: '>=16'} + svelte@5.2.3: + resolution: {integrity: sha512-DRrWXdzo6+gfX9H/hQofQYyAtsGqC99+CFBvttImGt6gAy4Xzh0hHBrCHw5OtBgaPOdVGNW+S+mDcYcEsvTPOw==} + engines: {node: '>=18'} svgo@2.8.0: resolution: {integrity: sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==} @@ -8326,6 +8334,9 @@ packages: engines: {node: '>=8.0.0'} hasBin: true + zimmerframe@1.1.2: + resolution: {integrity: sha512-rAbqEGa8ovJy4pyBxZM70hg4pE6gDgaQ0Sl9M3enG3I0d6H4XSAM3GeNGLKnsBpuijUow064sf7ww1nutC5/3w==} + zod-to-json-schema@3.23.3: resolution: {integrity: sha512-TYWChTxKQbRJp5ST22o/Irt9KC5nj7CdBKYB/AosCRdj/wxEMvv4NNaj9XVUHDOIp53ZxArGhnw5HMZziPFjog==} peerDependencies: @@ -8473,7 +8484,7 @@ snapshots: dependencies: '@astrojs/markdown-remark': 5.2.0 '@mdx-js/mdx': 3.0.1 - acorn: 8.12.1 + acorn: 8.14.0 astro: 4.16.1(@types/node@20.14.12)(rollup@4.24.0)(terser@5.31.3)(typescript@5.6.3) es-module-lexer: 1.5.4 estree-util-visit: 2.0.0 @@ -10321,7 +10332,7 @@ snapshots: '@mdx-js/mdx@3.0.1': dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.4 '@types/mdx': 2.0.13 @@ -10669,7 +10680,7 @@ snapshots: '@rollup/pluginutils@5.1.0(rollup@4.24.0)': dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: @@ -10956,10 +10967,10 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 - '@testing-library/svelte@4.1.0(svelte@4.2.19)': + '@testing-library/svelte@4.1.0(svelte@5.2.3)': dependencies: '@testing-library/dom': 9.3.4 - svelte: 4.2.19 + svelte: 5.2.3 '@tootallnate/once@1.1.2': {} @@ -11394,6 +11405,10 @@ snapshots: dependencies: acorn: 8.14.0 + acorn-typescript@1.4.13(acorn@8.14.0): + dependencies: + acorn: 8.14.0 + acorn-walk@8.3.3: dependencies: acorn: 8.14.0 @@ -12122,14 +12137,6 @@ snapshots: co@4.6.0: {} - code-red@1.0.4: - dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 - '@types/estree': 1.0.6 - acorn: 8.14.0 - estree-walker: 3.0.3 - periscopic: 3.1.0 - collapse-white-space@2.1.0: {} collect-v8-coverage@1.0.2: {} @@ -12825,7 +12832,7 @@ snapshots: - supports-color - typescript - eslint-plugin-svelte@2.43.0(eslint@8.57.0)(svelte@4.2.19): + eslint-plugin-svelte@2.43.0(eslint@8.57.0)(svelte@5.2.3): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@jridgewell/sourcemap-codec': 1.5.0 @@ -12838,9 +12845,9 @@ snapshots: postcss-safe-parser: 6.0.0(postcss@8.4.40) postcss-selector-parser: 6.1.1 semver: 7.6.3 - svelte-eslint-parser: 0.41.0(svelte@4.2.19) + svelte-eslint-parser: 0.41.0(svelte@5.2.3) optionalDependencies: - svelte: 4.2.19 + svelte: 5.2.3 transitivePeerDependencies: - ts-node @@ -12894,6 +12901,8 @@ snapshots: transitivePeerDependencies: - supports-color + esm-env@1.1.4: {} + espree@9.6.1: dependencies: acorn: 8.14.0 @@ -12906,6 +12915,11 @@ snapshots: dependencies: estraverse: 5.3.0 + esrap@1.2.2: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + '@types/estree': 1.0.6 + esrecurse@4.3.0: dependencies: estraverse: 5.3.0 @@ -12947,7 +12961,7 @@ snapshots: estree-walker@3.0.3: dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 esutils@2.0.3: {} @@ -13919,7 +13933,7 @@ snapshots: is-potential-custom-element-name@1.0.1: {} - is-reference@3.0.2: + is-reference@3.0.3: dependencies: '@types/estree': 1.0.6 @@ -15810,7 +15824,7 @@ snapshots: dependencies: '@types/estree': 1.0.6 estree-walker: 3.0.3 - is-reference: 3.0.2 + is-reference: 3.0.3 picocolors@1.0.1: {} @@ -16305,10 +16319,10 @@ snapshots: prettier: 3.3.3 sass-formatter: 0.7.9 - prettier-plugin-svelte@3.2.8(prettier@3.3.3)(svelte@4.2.19): + prettier-plugin-svelte@3.2.8(prettier@3.3.3)(svelte@5.2.3): dependencies: prettier: 3.3.3 - svelte: 4.2.19 + svelte: 5.2.3 prettier@2.8.7: optional: true @@ -16861,12 +16875,12 @@ snapshots: mime: 3.0.0 opener: 1.5.2 - rollup-plugin-svelte@7.2.2(rollup@4.24.0)(svelte@4.2.19): + rollup-plugin-svelte@7.2.2(rollup@4.24.0)(svelte@5.2.3): dependencies: '@rollup/pluginutils': 4.2.1 resolve.exports: 2.0.2 rollup: 4.24.0 - svelte: 4.2.19 + svelte: 5.2.3 rollup-plugin-visualizer@5.12.0(rollup@4.24.0): dependencies: @@ -17413,7 +17427,7 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte-eslint-parser@0.41.0(svelte@4.2.19): + svelte-eslint-parser@0.41.0(svelte@5.2.3): dependencies: eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 @@ -17421,45 +17435,44 @@ snapshots: postcss: 8.4.47 postcss-scss: 4.0.9(postcss@8.4.47) optionalDependencies: - svelte: 4.2.19 + svelte: 5.2.3 - svelte-jester@3.0.0(jest@29.7.0(@types/node@20.14.12))(svelte@4.2.19): + svelte-jester@3.0.0(jest@29.7.0(@types/node@20.14.12))(svelte@5.2.3): dependencies: jest: 29.7.0(@types/node@20.14.12) - svelte: 4.2.19 + svelte: 5.2.3 - svelte-preprocess@6.0.3(@babel/core@7.24.9)(postcss-load-config@4.0.2(postcss@8.4.40))(postcss@8.4.40)(svelte@4.2.19)(typescript@5.6.3): + svelte-preprocess@6.0.3(@babel/core@7.24.9)(postcss-load-config@4.0.2(postcss@8.4.40))(postcss@8.4.40)(svelte@5.2.3)(typescript@5.6.3): dependencies: - svelte: 4.2.19 + svelte: 5.2.3 optionalDependencies: '@babel/core': 7.24.9 postcss: 8.4.40 postcss-load-config: 4.0.2(postcss@8.4.40) typescript: 5.6.3 - svelte2tsx@0.7.13(svelte@4.2.19)(typescript@5.6.3): + svelte2tsx@0.7.13(svelte@5.2.3)(typescript@5.6.3): dependencies: dedent-js: 1.0.1 pascal-case: 3.1.2 - svelte: 4.2.19 + svelte: 5.2.3 typescript: 5.6.3 - svelte@4.2.19: + svelte@5.2.3: 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 + '@types/estree': 1.0.6 + acorn: 8.14.0 + acorn-typescript: 1.4.13(acorn@8.14.0) + 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 - is-reference: 3.0.2 + esm-env: 1.1.4 + esrap: 1.2.2 + is-reference: 3.0.3 locate-character: 3.0.0 magic-string: 0.30.11 - periscopic: 3.1.0 + zimmerframe: 1.1.2 svgo@2.8.0: dependencies: @@ -18346,6 +18359,8 @@ snapshots: optionalDependencies: commander: 9.5.0 + zimmerframe@1.1.2: {} + zod-to-json-schema@3.23.3(zod@3.23.8): dependencies: zod: 3.23.8 diff --git a/shepherd.js/package.json b/shepherd.js/package.json index 953fc23f7..c73751340 100644 --- a/shepherd.js/package.json +++ b/shepherd.js/package.json @@ -85,7 +85,7 @@ "rollup-plugin-serve": "^2.0.2", "rollup-plugin-svelte": "^7.2.0", "rollup-plugin-visualizer": "^5.11.0", - "svelte": "^4.2.19", + "svelte": "^5.2.3", "svelte-preprocess": "^6.0.3", "svelte2tsx": "^0.7.8", "typescript": "^5.6.3" diff --git a/test/unit/package.json b/test/unit/package.json index ab345c812..eeefc25fc 100644 --- a/test/unit/package.json +++ b/test/unit/package.json @@ -39,7 +39,7 @@ "resize-observer-polyfill": "^1.5.1", "shepherd.js": "workspace:*", "start-server-and-test": "^2.0.8", - "svelte": "^4.2.19", + "svelte": "^5.2.3", "svelte-jester": "^3.0.0", "typescript": "^5.6.3" },