diff --git a/package.json b/package.json index 16d5583b17..d92e180e2d 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "nitro": "npm:nitro-nightly@3.0.0-beta-28796231.359af68d", "nuxi": "3.15.0", "nuxt": "workspace:*", - "nuxt-content-twoslash": "0.1.1", + "nuxt-content-twoslash": "0.1.2", "ofetch": "1.4.1", "pathe": "1.1.2", "playwright-core": "1.49.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e2ada2b56c..a9edb20ba5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,8 +134,8 @@ importers: specifier: workspace:* version: link:packages/nuxt nuxt-content-twoslash: - specifier: 0.1.1 - version: 0.1.1(@nuxtjs/mdc@0.8.3) + specifier: 0.1.2 + version: 0.1.2(@nuxtjs/mdc@0.8.3) ofetch: specifier: 1.4.1 version: 1.4.1 @@ -1078,7 +1078,7 @@ importers: devDependencies: '@vue/devtools-api': specifier: latest - version: 7.6.4 + version: 7.6.5 defu: specifier: latest version: 6.1.4 @@ -2554,9 +2554,6 @@ packages: resolution: {integrity: sha512-VynGOEsVw2s8TAlLf/uESfrgfrq2+rcXB1muPJYBWbsm1Oa6r5qVQhjA5ggM6z/coYPrsVMgovl3Ff7Q7OCp1w==} engines: {node: '>=16.0.0'} - '@shikijs/core@1.17.0': - resolution: {integrity: sha512-Mkk4Mp4bNnW1kytU8I7S5PK5teNSe0iKlfqxPss4sdwnlcU8a2N62Z3te2gVmZfU9t1HF6L3wyWuM43IvEeEsg==} - '@shikijs/core@1.22.0': resolution: {integrity: sha512-S8sMe4q71TJAW+qG93s5VaiihujRK6rqDFqBnxqvga/3LvqHEnxqBIOPkt//IdXVtHkQWKu4nOQNk0uBGicU7Q==} @@ -2566,9 +2563,6 @@ packages: '@shikijs/core@1.23.1': resolution: {integrity: sha512-NuOVgwcHgVC6jBVH5V7iblziw6iQbWWHrj5IlZI3Fqu2yx9awH7OIQkXIcsHsUmY19ckwSgUMgrqExEyP5A0TA==} - '@shikijs/engine-javascript@1.17.0': - resolution: {integrity: sha512-EiBVlxmzJZdC2ypzn8k+vxLngbBNgHLS4RilwrFOABGRc72kUZubbD/6Chrq2RcVtD3yq1GtiiIdFMGd9BTX3Q==} - '@shikijs/engine-javascript@1.22.0': resolution: {integrity: sha512-AeEtF4Gcck2dwBqCFUKYfsCq0s+eEbCEbkUuFou53NZ0sTGnJnJ/05KHQFZxpii5HMXbocV9URYVowOP2wH5kw==} @@ -2578,9 +2572,6 @@ packages: '@shikijs/engine-javascript@1.23.1': resolution: {integrity: sha512-i/LdEwT5k3FVu07SiApRFwRcSJs5QM9+tod5vYCPig1Ywi8GR30zcujbxGQFJHwYD7A5BUqagi8o5KS+LEVgBg==} - '@shikijs/engine-oniguruma@1.17.0': - resolution: {integrity: sha512-nsXzJGLQ0fhKmA4Gwt1cF7vC8VuZ1HSDrTRuj48h/qDeX/TzmOlTDXQ3uPtyuhyg/2rbZRzNhN8UFU4fSnQfXg==} - '@shikijs/engine-oniguruma@1.22.0': resolution: {integrity: sha512-5iBVjhu/DYs1HB0BKsRRFipRrD7rqjxlWTj4F2Pf+nQSPqc3kcyqFFeZXnBMzDf0HdqaFVvhDRAGiYNvyLP+Mw==} @@ -2596,9 +2587,6 @@ packages: '@shikijs/twoslash@1.23.1': resolution: {integrity: sha512-Qj/+CGAF6TdcRjPDQn1bxyKD8ejnV7VJLqCHzob1uCbwQlJTI5z0gUVAgpqS55z4vdV1Mrx2IpCTl9glhC0l3A==} - '@shikijs/types@1.17.0': - resolution: {integrity: sha512-Tvu2pA69lbpXB+MmgIaROP1tio8y0uYvKb5Foh3q0TJBTAJuaoa5eDEtS/0LquyveacsiVrYF4uEZILju+7Ybg==} - '@shikijs/types@1.22.0': resolution: {integrity: sha512-Fw/Nr7FGFhlQqHfxzZY8Cwtwk5E9nKDUgeLjZgt3UuhcM3yJR9xj3ZGNravZZok8XmEZMiYkSMTPlPkULB8nww==} @@ -2608,8 +2596,8 @@ packages: '@shikijs/types@1.23.1': resolution: {integrity: sha512-98A5hGyEhzzAgQh2dAeHKrWW4HfCMeoFER2z16p5eJ+vmPeF6lZ/elEne6/UCU551F/WqkopqRsr1l2Yu6+A0g==} - '@shikijs/vitepress-twoslash@1.17.0': - resolution: {integrity: sha512-FcdZUtF1jL51fZfkITd1qEnmnVe/w8lnOGhEWptMqMNvMYzB8vxDv5y+E1zvE+rw0NbBuWtOmZea3WOah1nr6g==} + '@shikijs/vitepress-twoslash@1.23.1': + resolution: {integrity: sha512-L67HkzDkbECjYdWxQA9BuKAIB0c7eaa+7sD6dZUQ6/cdJGiWvaPLYMRwMWZQ4ToRsz1X6MQmOKQp6Xb6FEc3Bg==} '@shikijs/vscode-textmate@9.3.0': resolution: {integrity: sha512-jn7/7ky30idSkd/O5yDBfAnVt+JJpepofP/POZ1iMOxK59cOfqIgg/Dj0eFsjOTMw+4ycJN0uhZH/Eb0bs/EUA==} @@ -3171,8 +3159,8 @@ packages: '@vue/devtools-api@6.6.4': resolution: {integrity: sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==} - '@vue/devtools-api@7.6.4': - resolution: {integrity: sha512-5AaJ5ELBIuevmFMZYYLuOO9HUuY/6OlkOELHE7oeDhy4XD/hSODIzktlsvBOsn+bto3aD0psj36LGzwVu5Ip8w==} + '@vue/devtools-api@7.6.5': + resolution: {integrity: sha512-HHvbX7X85k7cqWV6pkcphzlEBbV+kRDzGKumhk9WnDIQuKKw5u2FPvk9icM8v4Wk5VRU1jiMoSFcFBuMqNL6eA==} '@vue/devtools-core@7.6.4': resolution: {integrity: sha512-blSwGVYpb7b5TALMjjoBiAl5imuBF7WEOAtaJaBMNikR8SQkm6mkUt4YlIKh9874/qoimwmpDOm+GHBZ4Y5m+g==} @@ -3182,9 +3170,15 @@ packages: '@vue/devtools-kit@7.6.4': resolution: {integrity: sha512-Zs86qIXXM9icU0PiGY09PQCle4TI750IPLmAJzW5Kf9n9t5HzSYf6Rz6fyzSwmfMPiR51SUKJh9sXVZu78h2QA==} + '@vue/devtools-kit@7.6.5': + resolution: {integrity: sha512-fLQhUwmUbtEDHW1SEiHUF5k2Ptw816As5ZUVb/SzrqkrJzXI8xjEIo8suNBe/N+ewdz/9m5ayeFH8fmcVIbr4Q==} + '@vue/devtools-shared@7.6.4': resolution: {integrity: sha512-nD6CUvBEel+y7zpyorjiUocy0nh77DThZJ0k1GRnJeOmY3ATq2fWijEp7wk37gb023Cb0R396uYh5qMSBQ5WFg==} + '@vue/devtools-shared@7.6.5': + resolution: {integrity: sha512-szsXQ0jlpjuFfmxb6F40qkSF4gtLC1W+dKRh/UiTulC+RekZsjqcN/qnVFkzqOO1YnzzShinZwfmv+MbfPJnpw==} + '@vue/language-core@2.1.10': resolution: {integrity: sha512-DAI289d0K3AB5TUG3xDp9OuQ71CnrujQwJrQnfuZDwo6eGNf0UoRlPuaVNO+Zrn65PC3j0oB2i7mNmVPggeGeQ==} peerDependencies: @@ -5836,8 +5830,8 @@ packages: engines: {node: ^16.10.0 || >=18.0.0} hasBin: true - nuxt-content-twoslash@0.1.1: - resolution: {integrity: sha512-n8r8nPHloovJSTdOV2sOzPjFoBXW+nUZpkSUsU1+WZp8VodTPdrmE/lQZ1prZ9cdyexFuVyy0PPknTEX1TT0aw==} + nuxt-content-twoslash@0.1.2: + resolution: {integrity: sha512-7vCO04V0uyCXtjh40HgVIVKRReUlXc4efMNMdgDtx3Y7p9mnChRt9eRRD3c8VlDD27pLlkrTTnE2n15bu/SqbQ==} hasBin: true peerDependencies: '@nuxtjs/mdc': '>=0.5.0' @@ -5892,9 +5886,6 @@ packages: oniguruma-to-es@0.4.1: resolution: {integrity: sha512-rNcEohFz095QKGRovP/yqPIKc+nP+Sjs4YTHMv33nMePGKrq/r2eu9Yh4646M5XluGJsUnmwoXuiXE69KDs+fQ==} - oniguruma-to-js@0.3.3: - resolution: {integrity: sha512-m90/WEhgs8g4BxG37+Nu3YrMfJDs2YXtYtIllhsEPR+wP3+K4EZk6dDUvy2v2K4MNFDDOYKL4/yqYPXDqyozTQ==} - oniguruma-to-js@0.4.3: resolution: {integrity: sha512-X0jWUcAlxORhOqqBREgPMgnshB7ZGYszBNspP+tS9hPD3l13CdaXcHbgImoHUHlrvGx/7AvFEkTRhAGYh+jzjQ==} @@ -6513,9 +6504,6 @@ packages: regex-utilities@2.3.0: resolution: {integrity: sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==} - regex@4.3.2: - resolution: {integrity: sha512-kK/AA3A9K6q2js89+VMymcboLOlF5lZRCYJv3gzszXFHBr6kO6qLGzbm+UIugBEV8SMMKCTR59txoY6ctRHYVw==} - regex@4.4.0: resolution: {integrity: sha512-uCUSuobNVeqUupowbdZub6ggI5/JZkYyJdDogddJr60L764oxC2pMZov1fQ3wM9bdyzUILDG+Sqx6NAKAz9rKQ==} @@ -6761,15 +6749,15 @@ packages: resolution: {integrity: sha512-mfu6JOchmVWNhMeObMEjd6pu1Mww4yn9VqX8+OMH7KvcUZRCcrGTETplTGDS64ANALD0Ls99ugr7z6xTXP5qUQ==} hasBin: true - shiki@1.17.0: - resolution: {integrity: sha512-VZf8cPShRwfzPcaswv81+YP7qJEoFwRT+Ehy6bizim7M0zG9bk8Egug550C+xS9g7rKIOPhzAlp2uEyuCxbk/A==} - shiki@1.22.0: resolution: {integrity: sha512-/t5LlhNs+UOKQCYBtl5ZsH/Vclz73GIqT2yQsCBygr8L/ppTdmpL4w3kPLoZJbMKVWtoG77Ue1feOjZfDxvMkw==} shiki@1.22.2: resolution: {integrity: sha512-3IZau0NdGKXhH2bBlUk4w1IHNxPh6A5B2sUpyY+8utLu2j/h1QpFkAaUA1bAMxOWWGtTWcAh531vnS4NJKS/lA==} + shiki@1.23.1: + resolution: {integrity: sha512-8kxV9TH4pXgdKGxNOkrSMydn1Xf6It8lsle0fiqxf7a1149K1WGtdOu3Zb91T5r1JpvRPxqxU3C2XdZZXQnrig==} + side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} engines: {node: '>= 0.4'} @@ -7118,19 +7106,11 @@ packages: engines: {node: '>=18.0.0'} hasBin: true - twoslash-protocol@0.2.11: - resolution: {integrity: sha512-rp+nkOWbKfJnBTDZtnIaBGjnU+4CaMhqu6db2UU7byU96rH8X4hao4BOxYw6jdZc85Lhv5pOfcjgfHeQyLzndQ==} - twoslash-protocol@0.2.12: resolution: {integrity: sha512-5qZLXVYfZ9ABdjqbvPc4RWMr7PrpPaaDSeaYY55vl/w1j6H6kzsWK/urAEIXlzYlyrFmyz1UbwIt+AA0ck+wbg==} - twoslash-vue@0.2.11: - resolution: {integrity: sha512-wBwIwG0PRuv5V+1DD4Zno1j6MnaCbaY/ELops7oKSoMBTIQL720iRXppyldVVoYvti2caUA97T36XhZXHpjQyA==} - peerDependencies: - typescript: 5.6.3 - - twoslash@0.2.11: - resolution: {integrity: sha512-392Qkcu5sD2hROLZ+XPywChreDGJ8Yu5nnK/Moxfti/R39q0Q39MaV7iHjz92B5qucyjsQFnKMdYIzafX5T8dg==} + twoslash-vue@0.2.12: + resolution: {integrity: sha512-kxH60DLn2QBcN2wjqxgMDkyRgmPXsytv7fJIlsyFMDPSkm1/lMrI/UMrNAshNaRHcI+hv8x3h/WBgcvlb2RNAQ==} peerDependencies: typescript: 5.6.3 @@ -9240,15 +9220,6 @@ snapshots: '@rspack/lite-tapable@1.0.1': {} - '@shikijs/core@1.17.0': - dependencies: - '@shikijs/engine-javascript': 1.17.0 - '@shikijs/engine-oniguruma': 1.17.0 - '@shikijs/types': 1.17.0 - '@shikijs/vscode-textmate': 9.3.0 - '@types/hast': 3.0.4 - hast-util-to-html: 9.0.3 - '@shikijs/core@1.22.0': dependencies: '@shikijs/engine-javascript': 1.22.0 @@ -9276,12 +9247,6 @@ snapshots: '@types/hast': 3.0.4 hast-util-to-html: 9.0.3 - '@shikijs/engine-javascript@1.17.0': - dependencies: - '@shikijs/types': 1.17.0 - oniguruma-to-js: 0.3.3 - regex: 4.3.2 - '@shikijs/engine-javascript@1.22.0': dependencies: '@shikijs/types': 1.22.0 @@ -9300,11 +9265,6 @@ snapshots: '@shikijs/vscode-textmate': 9.3.0 oniguruma-to-es: 0.4.1 - '@shikijs/engine-oniguruma@1.17.0': - dependencies: - '@shikijs/types': 1.17.0 - '@shikijs/vscode-textmate': 9.3.0 - '@shikijs/engine-oniguruma@1.22.0': dependencies: '@shikijs/types': 1.22.0 @@ -9333,11 +9293,6 @@ snapshots: - supports-color - typescript - '@shikijs/types@1.17.0': - dependencies: - '@shikijs/vscode-textmate': 9.3.0 - '@types/hast': 3.0.4 - '@shikijs/types@1.22.0': dependencies: '@shikijs/vscode-textmate': 9.3.0 @@ -9353,16 +9308,16 @@ snapshots: '@shikijs/vscode-textmate': 9.3.0 '@types/hast': 3.0.4 - '@shikijs/vitepress-twoslash@1.17.0(@nuxt/kit@packages+kit)(typescript@5.6.3)': + '@shikijs/vitepress-twoslash@1.23.1(@nuxt/kit@packages+kit)(typescript@5.6.3)': dependencies: '@shikijs/twoslash': 1.23.1(typescript@5.6.3) floating-vue: 5.2.2(@nuxt/kit@packages+kit)(vue@3.5.13(typescript@5.6.3)) mdast-util-from-markdown: 2.0.2 mdast-util-gfm: 3.0.0 mdast-util-to-hast: 13.2.0 - shiki: 1.17.0 + shiki: 1.23.1 twoslash: 0.2.12(typescript@5.6.3) - twoslash-vue: 0.2.11(typescript@5.6.3) + twoslash-vue: 0.2.12(typescript@5.6.3) vue: 3.5.13(typescript@5.6.3) transitivePeerDependencies: - '@nuxt/kit' @@ -10257,9 +10212,9 @@ snapshots: '@vue/devtools-api@6.6.4': {} - '@vue/devtools-api@7.6.4': + '@vue/devtools-api@7.6.5': dependencies: - '@vue/devtools-kit': 7.6.4 + '@vue/devtools-kit': 7.6.5 '@vue/devtools-core@7.6.4(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(sass@1.78.0)(terser@5.32.0)(tsx@4.19.1)(yaml@2.5.1))(vue@3.5.13(typescript@5.6.3))': dependencies: @@ -10283,10 +10238,24 @@ snapshots: speakingurl: 14.0.1 superjson: 2.2.1 + '@vue/devtools-kit@7.6.5': + dependencies: + '@vue/devtools-shared': 7.6.5 + birpc: 0.2.19 + hookable: 5.5.3 + mitt: 3.0.1 + perfect-debounce: 1.0.0 + speakingurl: 14.0.1 + superjson: 2.2.1 + '@vue/devtools-shared@7.6.4': dependencies: rfdc: 1.4.1 + '@vue/devtools-shared@7.6.5': + dependencies: + rfdc: 1.4.1 + '@vue/language-core@2.1.10(typescript@5.6.3)': dependencies: '@volar/language-core': 2.4.8 @@ -13482,19 +13451,19 @@ snapshots: nuxi@3.15.0: {} - nuxt-content-twoslash@0.1.1(@nuxtjs/mdc@0.8.3): + nuxt-content-twoslash@0.1.2(@nuxtjs/mdc@0.8.3): dependencies: '@nuxt/kit': link:packages/kit '@nuxt/schema': link:packages/schema '@nuxtjs/mdc': 0.8.3 - '@shikijs/vitepress-twoslash': 1.17.0(@nuxt/kit@packages+kit)(typescript@5.6.3) + '@shikijs/vitepress-twoslash': 1.23.1(@nuxt/kit@packages+kit)(typescript@5.6.3) cac: 6.7.14 - chokidar: 3.6.0 + chokidar: 4.0.1 fast-glob: 3.3.2 pathe: 1.1.2 picocolors: 1.1.1 remark-parse: 11.0.0 - shiki: 1.22.2 + shiki: 1.23.1 twoslash: 0.2.12(typescript@5.6.3) typescript: 5.6.3 unified: 11.0.5 @@ -13564,8 +13533,6 @@ snapshots: regex: 5.0.2 regex-recursion: 4.2.1 - oniguruma-to-js@0.3.3: {} - oniguruma-to-js@0.4.3: dependencies: regex: 4.4.0 @@ -14200,8 +14167,6 @@ snapshots: regex-utilities@2.3.0: {} - regex@4.3.2: {} - regex@4.4.0: {} regex@5.0.2: @@ -14537,13 +14502,6 @@ snapshots: sherif-windows-arm64: 1.0.2 sherif-windows-x64: 1.0.2 - shiki@1.17.0: - dependencies: - '@shikijs/core': 1.17.0 - '@shikijs/types': 1.17.0 - '@shikijs/vscode-textmate': 9.3.0 - '@types/hast': 3.0.4 - shiki@1.22.0: dependencies: '@shikijs/core': 1.22.0 @@ -14562,6 +14520,15 @@ snapshots: '@shikijs/vscode-textmate': 9.3.0 '@types/hast': 3.0.4 + shiki@1.23.1: + dependencies: + '@shikijs/core': 1.23.1 + '@shikijs/engine-javascript': 1.23.1 + '@shikijs/engine-oniguruma': 1.23.1 + '@shikijs/types': 1.23.1 + '@shikijs/vscode-textmate': 9.3.0 + '@types/hast': 3.0.4 + side-channel@1.0.6: dependencies: call-bind: 1.0.7 @@ -14891,23 +14858,13 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - twoslash-protocol@0.2.11: {} - twoslash-protocol@0.2.12: {} - twoslash-vue@0.2.11(typescript@5.6.3): + twoslash-vue@0.2.12(typescript@5.6.3): dependencies: '@vue/language-core': 2.1.10(typescript@5.6.3) - twoslash: 0.2.11(typescript@5.6.3) - twoslash-protocol: 0.2.11 - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - - twoslash@0.2.11(typescript@5.6.3): - dependencies: - '@typescript/vfs': 1.6.0(typescript@5.6.3) - twoslash-protocol: 0.2.11 + twoslash: 0.2.12(typescript@5.6.3) + twoslash-protocol: 0.2.12 typescript: 5.6.3 transitivePeerDependencies: - supports-color