diff --git a/package.json b/package.json index 1d7580f14..2d515658d 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.6.2", "typescript": "^5.6.3" }, "packageManager": "pnpm@9.9.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b3d207c21..26e03f5fb 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.6.2) 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.6.2) 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.6.2 + version: 5.6.2 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.6.2) 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.6.2) 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.6.2) 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.6.2 + version: 5.6.2 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.6.2)(typescript@5.6.3) svelte2tsx: - specifier: ^0.7.8 - version: 0.7.13(svelte@4.2.19)(typescript@5.6.3) + specifier: ^0.7.30 + version: 0.7.30(svelte@5.6.2)(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.6.2) 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.6.2 + version: 5.6.2 svelte-jester: specifier: ^5.0.0 - version: 5.0.0(jest@29.7.0(@types/node@20.14.12))(svelte@4.2.19) + version: 5.0.0(jest@29.7.0(@types/node@20.14.12))(svelte@5.6.2) 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.2.1: + resolution: {integrity: sha512-U9JedYYjCnadUlXk7e1Kr+aENQhtUaoaV9+gZm1T8LC/YBAPJx3NSPIAurFOC0U5vrdSevnUJS2/wUVxGwPhng==} + 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.3: + resolution: {integrity: sha512-ZlQmCCK+n7SGoqo7DnfKaP1sJZa49P01/dXzmjCASSo04p72w8EksT2NMK8CEX8DhKsfJXANioIw8VyHNsBfvQ==} + esrecurse@4.3.0: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} @@ -4786,6 +4794,9 @@ packages: 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==} engines: {node: '>= 0.4'} @@ -7495,15 +7506,15 @@ packages: typescript: optional: true - svelte2tsx@0.7.13: - resolution: {integrity: sha512-aObZ93/kGAiLXA/I/kP+x9FriZM+GboB/ReOIGmLNbVGEd2xC+aTCppm3mk1cc9I/z60VQf7b2QDxC3jOXu3yw==} + svelte2tsx@0.7.30: + resolution: {integrity: sha512-sHXK/vw/sVJmFuPSq6zeKrtuZKvo0jJyEi8ybN0dfrqSYVvHu8zFbO0zQKAL8y/fYackYojH41EJGe6v8rd5fw==} peerDependencies: 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.6.2: + resolution: {integrity: sha512-fyq4gCUW9OoR9X8I1BzmMVIOxzTlyCLI5gArRRTUuJj+jIUSHtud7c+MguQNGLv7Z/rGWxJyG9ZRFd/cFp/klA==} + engines: {node: '>=18'} svgo@2.8.0: resolution: {integrity: sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==} @@ -8326,6 +8337,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 +8487,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 +10335,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 +10683,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 +10970,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.6.2)': dependencies: '@testing-library/dom': 9.3.4 - svelte: 4.2.19 + svelte: 5.6.2 '@tootallnate/once@1.1.2': {} @@ -11394,6 +11408,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 +12140,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 +12835,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.6.2): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@jridgewell/sourcemap-codec': 1.5.0 @@ -12838,9 +12848,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.6.2) optionalDependencies: - svelte: 4.2.19 + svelte: 5.6.2 transitivePeerDependencies: - ts-node @@ -12894,6 +12904,8 @@ snapshots: transitivePeerDependencies: - supports-color + esm-env@1.2.1: {} + espree@9.6.1: dependencies: acorn: 8.14.0 @@ -12906,6 +12918,11 @@ snapshots: dependencies: estraverse: 5.3.0 + esrap@1.2.3: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + '@types/estree': 1.0.6 + esrecurse@4.3.0: dependencies: estraverse: 5.3.0 @@ -12947,7 +12964,7 @@ snapshots: estree-walker@3.0.3: dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 esutils@2.0.3: {} @@ -13923,6 +13940,10 @@ snapshots: dependencies: '@types/estree': 1.0.6 + is-reference@3.0.3: + dependencies: + '@types/estree': 1.0.6 + is-regex@1.1.4: dependencies: call-bind: 1.0.7 @@ -16305,10 +16326,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.6.2): dependencies: prettier: 3.3.3 - svelte: 4.2.19 + svelte: 5.6.2 prettier@2.8.7: optional: true @@ -16861,12 +16882,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.6.2): dependencies: '@rollup/pluginutils': 4.2.1 resolve.exports: 2.0.2 rollup: 4.24.0 - svelte: 4.2.19 + svelte: 5.6.2 rollup-plugin-visualizer@5.12.0(rollup@4.24.0): dependencies: @@ -17413,7 +17434,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.6.2): dependencies: eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 @@ -17421,45 +17442,44 @@ snapshots: postcss: 8.4.47 postcss-scss: 4.0.9(postcss@8.4.47) optionalDependencies: - svelte: 4.2.19 + svelte: 5.6.2 - svelte-jester@5.0.0(jest@29.7.0(@types/node@20.14.12))(svelte@4.2.19): + svelte-jester@5.0.0(jest@29.7.0(@types/node@20.14.12))(svelte@5.6.2): dependencies: jest: 29.7.0(@types/node@20.14.12) - svelte: 4.2.19 + svelte: 5.6.2 - 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.6.2)(typescript@5.6.3): dependencies: - svelte: 4.2.19 + svelte: 5.6.2 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.30(svelte@5.6.2)(typescript@5.6.3): dependencies: dedent-js: 1.0.1 pascal-case: 3.1.2 - svelte: 4.2.19 + svelte: 5.6.2 typescript: 5.6.3 - svelte@4.2.19: + svelte@5.6.2: 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.2.1 + esrap: 1.2.3 + 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 +18366,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 df05e617f..c305da295 100644 --- a/shepherd.js/package.json +++ b/shepherd.js/package.json @@ -85,9 +85,9 @@ "rollup-plugin-serve": "^2.0.2", "rollup-plugin-svelte": "^7.2.0", "rollup-plugin-visualizer": "^5.11.0", - "svelte": "^4.2.19", + "svelte": "^5.6.2", "svelte-preprocess": "^6.0.3", - "svelte2tsx": "^0.7.8", + "svelte2tsx": "^0.7.30", "typescript": "^5.6.3" }, "packageManager": "pnpm@9.2.0", diff --git a/test/unit/package.json b/test/unit/package.json index a8bd62cbc..d61fa9f3c 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.6.2", "svelte-jester": "^5.0.0", "typescript": "^5.6.3" },