mirror of
https://github.com/withastro/astro.git
synced 2025-04-07 23:41:43 -05:00
chore(deps): update shiki to v3 (#13324)
* chore(deps): update shiki to v3 * chore(deps): update shiki to v3 * update missing dep * changeset Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com>
This commit is contained in:
parent
1eab0b25e6
commit
ea7433666e
5 changed files with 86 additions and 76 deletions
7
.changeset/all-suns-report.md
Normal file
7
.changeset/all-suns-report.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
'@astrojs/mdx': patch
|
||||
'@astrojs/markdown-remark': patch
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Upgrade to shiki v3
|
|
@ -160,7 +160,7 @@
|
|||
"prompts": "^2.4.2",
|
||||
"rehype": "^13.0.2",
|
||||
"semver": "^7.7.1",
|
||||
"shiki": "^1.29.2",
|
||||
"shiki": "^3.0.0",
|
||||
"tinyexec": "^0.3.2",
|
||||
"tinyglobby": "^0.2.12",
|
||||
"tsconfck": "^3.1.5",
|
||||
|
|
|
@ -63,12 +63,12 @@
|
|||
"mdast-util-mdx-jsx": "^3.2.0",
|
||||
"mdast-util-to-string": "^4.0.0",
|
||||
"rehype-mathjax": "^6.0.0",
|
||||
"rehype-pretty-code": "^0.14.0",
|
||||
"rehype-pretty-code": "^0.14.1",
|
||||
"remark-math": "^6.0.0",
|
||||
"remark-rehype": "^11.1.1",
|
||||
"remark-shiki-twoslash": "^3.1.3",
|
||||
"remark-toc": "^9.0.0",
|
||||
"shiki": "^1.29.2",
|
||||
"shiki": "^3.0.0",
|
||||
"unified": "^11.0.5",
|
||||
"vite": "^6.2.1"
|
||||
},
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"remark-parse": "^11.0.0",
|
||||
"remark-rehype": "^11.1.1",
|
||||
"remark-smartypants": "^3.0.2",
|
||||
"shiki": "^1.29.2",
|
||||
"shiki": "^3.0.0",
|
||||
"smol-toml": "^1.3.1",
|
||||
"unified": "^11.0.5",
|
||||
"unist-util-remove-position": "^5.0.0",
|
||||
|
|
147
pnpm-lock.yaml
generated
147
pnpm-lock.yaml
generated
|
@ -587,8 +587,8 @@ importers:
|
|||
specifier: ^7.7.1
|
||||
version: 7.7.1
|
||||
shiki:
|
||||
specifier: ^1.29.2
|
||||
version: 1.29.2
|
||||
specifier: ^3.0.0
|
||||
version: 3.2.1
|
||||
tinyexec:
|
||||
specifier: ^0.3.2
|
||||
version: 0.3.2
|
||||
|
@ -634,10 +634,6 @@ importers:
|
|||
zod-to-ts:
|
||||
specifier: ^1.2.0
|
||||
version: 1.2.0(typescript@5.8.2)(zod@3.24.2)
|
||||
optionalDependencies:
|
||||
sharp:
|
||||
specifier: ^0.33.3
|
||||
version: 0.33.5
|
||||
devDependencies:
|
||||
'@astrojs/check':
|
||||
specifier: ^0.9.4
|
||||
|
@ -744,6 +740,10 @@ importers:
|
|||
vitest:
|
||||
specifier: ^3.0.8
|
||||
version: 3.0.8(@types/debug@4.1.12)(@types/node@22.13.1)(jiti@2.4.2)(jsdom@23.2.0)(lightningcss@1.29.1)(sass@1.85.1)(yaml@2.5.1)
|
||||
optionalDependencies:
|
||||
sharp:
|
||||
specifier: ^0.33.3
|
||||
version: 0.33.5
|
||||
|
||||
packages/astro-prism:
|
||||
dependencies:
|
||||
|
@ -4996,8 +4996,8 @@ importers:
|
|||
specifier: ^6.0.0
|
||||
version: 6.0.0
|
||||
rehype-pretty-code:
|
||||
specifier: ^0.14.0
|
||||
version: 0.14.0(shiki@1.29.2)
|
||||
specifier: ^0.14.1
|
||||
version: 0.14.1(shiki@3.2.1)
|
||||
remark-math:
|
||||
specifier: ^6.0.0
|
||||
version: 6.0.0
|
||||
|
@ -5011,8 +5011,8 @@ importers:
|
|||
specifier: ^9.0.0
|
||||
version: 9.0.0
|
||||
shiki:
|
||||
specifier: ^1.29.2
|
||||
version: 1.29.2
|
||||
specifier: ^3.0.0
|
||||
version: 3.2.1
|
||||
unified:
|
||||
specifier: ^11.0.5
|
||||
version: 11.0.5
|
||||
|
@ -6113,8 +6113,8 @@ importers:
|
|||
specifier: ^3.0.2
|
||||
version: 3.0.2
|
||||
shiki:
|
||||
specifier: ^1.29.2
|
||||
version: 1.29.2
|
||||
specifier: ^3.0.0
|
||||
version: 3.2.1
|
||||
smol-toml:
|
||||
specifier: ^1.3.1
|
||||
version: 1.3.1
|
||||
|
@ -8024,26 +8024,26 @@ packages:
|
|||
'@sec-ant/readable-stream@0.4.1':
|
||||
resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==}
|
||||
|
||||
'@shikijs/core@1.29.2':
|
||||
resolution: {integrity: sha512-vju0lY9r27jJfOY4Z7+Rt/nIOjzJpZ3y+nYpqtUZInVoXQ/TJZcfGnNOGnKjFdVZb8qexiCuSlZRKcGfhhTTZQ==}
|
||||
'@shikijs/core@3.2.1':
|
||||
resolution: {integrity: sha512-FhsdxMWYu/C11sFisEp7FMGBtX/OSSbnXZDMBhGuUDBNTdsoZlMSgQv5f90rwvzWAdWIW6VobD+G3IrazxA6dQ==}
|
||||
|
||||
'@shikijs/engine-javascript@1.29.2':
|
||||
resolution: {integrity: sha512-iNEZv4IrLYPv64Q6k7EPpOCE/nuvGiKl7zxdq0WFuRPF5PAE9PRo2JGq/d8crLusM59BRemJ4eOqrFrC4wiQ+A==}
|
||||
'@shikijs/engine-javascript@3.2.1':
|
||||
resolution: {integrity: sha512-eMdcUzN3FMQYxOmRf2rmU8frikzoSHbQDFH2hIuXsrMO+IBOCI9BeeRkCiBkcLDHeRKbOCtYMJK3D6U32ooU9Q==}
|
||||
|
||||
'@shikijs/engine-oniguruma@1.29.2':
|
||||
resolution: {integrity: sha512-7iiOx3SG8+g1MnlzZVDYiaeHe7Ez2Kf2HrJzdmGwkRisT7r4rak0e655AcM/tF9JG/kg5fMNYlLLKglbN7gBqA==}
|
||||
'@shikijs/engine-oniguruma@3.2.1':
|
||||
resolution: {integrity: sha512-wZZAkayEn6qu2+YjenEoFqj0OyQI64EWsNR6/71d1EkG4sxEOFooowKivsWPpaWNBu3sxAG+zPz5kzBL/SsreQ==}
|
||||
|
||||
'@shikijs/langs@1.29.2':
|
||||
resolution: {integrity: sha512-FIBA7N3LZ+223U7cJDUYd5shmciFQlYkFXlkKVaHsCPgfVLiO+e12FmQE6Tf9vuyEsFe3dIl8qGWKXgEHL9wmQ==}
|
||||
'@shikijs/langs@3.2.1':
|
||||
resolution: {integrity: sha512-If0iDHYRSGbihiA8+7uRsgb1er1Yj11pwpX1c6HLYnizDsKAw5iaT3JXj5ZpaimXSWky/IhxTm7C6nkiYVym+A==}
|
||||
|
||||
'@shikijs/themes@1.29.2':
|
||||
resolution: {integrity: sha512-i9TNZlsq4uoyqSbluIcZkmPL9Bfi3djVxRnofUHwvx/h6SRW3cwgBC5SML7vsDcWyukY0eCzVN980rqP6qNl9g==}
|
||||
'@shikijs/themes@3.2.1':
|
||||
resolution: {integrity: sha512-k5DKJUT8IldBvAm8WcrDT5+7GA7se6lLksR+2E3SvyqGTyFMzU2F9Gb7rmD+t+Pga1MKrYFxDIeyWjMZWM6uBQ==}
|
||||
|
||||
'@shikijs/types@1.29.2':
|
||||
resolution: {integrity: sha512-VJjK0eIijTZf0QSTODEXCqinjBn0joAHQ+aPSBzrv4O2d/QSbsMw+ZeSRx03kV34Hy7NzUvV/7NqfYGRLrASmw==}
|
||||
'@shikijs/types@3.2.1':
|
||||
resolution: {integrity: sha512-/NTWAk4KE2M8uac0RhOsIhYQf4pdU0OywQuYDGIGAJ6Mjunxl2cGiuLkvu4HLCMn+OTTLRWkjZITp+aYJv60yA==}
|
||||
|
||||
'@shikijs/vscode-textmate@10.0.1':
|
||||
resolution: {integrity: sha512-fTIQwLF+Qhuws31iw7Ncl1R3HUDtGwIipiJ9iU+UsDUwMhegFcQKQHd51nZjb7CArq0MvON8rbgCGQYWHUKAdg==}
|
||||
'@shikijs/vscode-textmate@10.0.2':
|
||||
resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==}
|
||||
|
||||
'@sindresorhus/merge-streams@4.0.0':
|
||||
resolution: {integrity: sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==}
|
||||
|
@ -10841,8 +10841,11 @@ packages:
|
|||
resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==}
|
||||
engines: {node: '>=12'}
|
||||
|
||||
oniguruma-to-es@2.3.0:
|
||||
resolution: {integrity: sha512-bwALDxriqfKGfUufKGGepCzu9x7nJQuoRoAFp4AnwehhC2crqrDIAP/uN2qdlsAvSMpeRC3+Yzhqc7hLmle5+g==}
|
||||
oniguruma-parser@0.5.4:
|
||||
resolution: {integrity: sha512-yNxcQ8sKvURiTwP0mV6bLQCYE7NKfKRRWunhbZnXgxSmB1OXa1lHrN3o4DZd+0Si0kU5blidK7BcROO8qv5TZA==}
|
||||
|
||||
oniguruma-to-es@4.1.0:
|
||||
resolution: {integrity: sha512-SNwG909cSLo4vPyyPbU/VJkEc9WOXqu2ycBlfd1UCXLqk1IijcQktSBb2yRQ2UFPsDhpkaf+C1dtT3PkLK/yWA==}
|
||||
|
||||
only-allow@1.2.1:
|
||||
resolution: {integrity: sha512-M7CJbmv7UCopc0neRKdzfoGWaVZC+xC1925GitKH9EAqYFzX9//25Q7oX4+jw0tiCCj+t5l6VZh8UPH23NZkMA==}
|
||||
|
@ -11423,14 +11426,14 @@ packages:
|
|||
regenerator-runtime@0.14.1:
|
||||
resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==}
|
||||
|
||||
regex-recursion@5.1.1:
|
||||
resolution: {integrity: sha512-ae7SBCbzVNrIjgSbh7wMznPcQel1DNlDtzensnFxpiNpXt1U2ju/bHugH422r+4LAVS1FpW1YCwilmnNsjum9w==}
|
||||
regex-recursion@6.0.2:
|
||||
resolution: {integrity: sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==}
|
||||
|
||||
regex-utilities@2.3.0:
|
||||
resolution: {integrity: sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==}
|
||||
|
||||
regex@5.1.1:
|
||||
resolution: {integrity: sha512-dN5I359AVGPnwzJm2jN1k0W9LPZ+ePvoOeVMMfqIMFz53sSwXkxaJoxr50ptnsC771lK95BnTrVSZxq0b9yCGw==}
|
||||
regex@6.0.1:
|
||||
resolution: {integrity: sha512-uorlqlzAKjKQZ5P+kTJr3eeJGSVroLKoHmquUj4zHWuR+hEyNqlXsSKlYYF5F4NI6nl7tWCs0apKJ0lmfsXAPA==}
|
||||
|
||||
regexp-ast-analysis@0.7.1:
|
||||
resolution: {integrity: sha512-sZuz1dYW/ZsfG17WSAG7eS85r5a0dDsvg+7BiiYR5o6lKCAtUrEwdmRmaGF6rwVj3LcmAeYkOWKEPlbPzN3Y3A==}
|
||||
|
@ -11445,11 +11448,11 @@ packages:
|
|||
rehype-parse@9.0.0:
|
||||
resolution: {integrity: sha512-WG7nfvmWWkCR++KEkZevZb/uw41E8TsH4DsY9UxsTbIXCVGbAs4S+r8FrQ+OtH5EEQAs+5UxKC42VinkmpA1Yw==}
|
||||
|
||||
rehype-pretty-code@0.14.0:
|
||||
resolution: {integrity: sha512-hBeKF/Wkkf3zyUS8lal9RCUuhypDWLQc+h9UrP9Pav25FUm/AQAVh4m5gdvJxh4Oz+U+xKvdsV01p1LdvsZTiQ==}
|
||||
rehype-pretty-code@0.14.1:
|
||||
resolution: {integrity: sha512-IpG4OL0iYlbx78muVldsK86hdfNoht0z63AP7sekQNW2QOTmjxB7RbTO+rhIYNGRljgHxgVZoPwUl6bIC9SbjA==}
|
||||
engines: {node: '>=18'}
|
||||
peerDependencies:
|
||||
shiki: ^1.3.0
|
||||
shiki: ^1.0.0 || ^2.0.0 || ^3.0.0
|
||||
|
||||
rehype-raw@7.0.0:
|
||||
resolution: {integrity: sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww==}
|
||||
|
@ -11691,8 +11694,8 @@ packages:
|
|||
shiki@0.10.1:
|
||||
resolution: {integrity: sha512-VsY7QJVzU51j5o1+DguUd+6vmCmZ5v/6gYu4vyYAhzjuNQU6P/vmSy4uQaOhvje031qQMiW0d2BwgMH52vqMng==}
|
||||
|
||||
shiki@1.29.2:
|
||||
resolution: {integrity: sha512-njXuliz/cP+67jU2hukkxCNuH1yUi4QfdZZY+sMr5PPrIyXSu5iTb/qYC4BiWWB0vZ+7TbdvYUCeL23zpwCfbg==}
|
||||
shiki@3.2.1:
|
||||
resolution: {integrity: sha512-VML/2o1/KGYkEf/stJJ+s9Ypn7jUKQPomGLGYso4JJFMFxVDyPNsjsI3MB3KLjlMOeH44gyaPdXC6rik2WXvUQ==}
|
||||
|
||||
side-channel-list@1.0.0:
|
||||
resolution: {integrity: sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==}
|
||||
|
@ -14442,40 +14445,38 @@ snapshots:
|
|||
|
||||
'@sec-ant/readable-stream@0.4.1': {}
|
||||
|
||||
'@shikijs/core@1.29.2':
|
||||
'@shikijs/core@3.2.1':
|
||||
dependencies:
|
||||
'@shikijs/engine-javascript': 1.29.2
|
||||
'@shikijs/engine-oniguruma': 1.29.2
|
||||
'@shikijs/types': 1.29.2
|
||||
'@shikijs/vscode-textmate': 10.0.1
|
||||
'@shikijs/types': 3.2.1
|
||||
'@shikijs/vscode-textmate': 10.0.2
|
||||
'@types/hast': 3.0.4
|
||||
hast-util-to-html: 9.0.5
|
||||
|
||||
'@shikijs/engine-javascript@1.29.2':
|
||||
'@shikijs/engine-javascript@3.2.1':
|
||||
dependencies:
|
||||
'@shikijs/types': 1.29.2
|
||||
'@shikijs/vscode-textmate': 10.0.1
|
||||
oniguruma-to-es: 2.3.0
|
||||
'@shikijs/types': 3.2.1
|
||||
'@shikijs/vscode-textmate': 10.0.2
|
||||
oniguruma-to-es: 4.1.0
|
||||
|
||||
'@shikijs/engine-oniguruma@1.29.2':
|
||||
'@shikijs/engine-oniguruma@3.2.1':
|
||||
dependencies:
|
||||
'@shikijs/types': 1.29.2
|
||||
'@shikijs/vscode-textmate': 10.0.1
|
||||
'@shikijs/types': 3.2.1
|
||||
'@shikijs/vscode-textmate': 10.0.2
|
||||
|
||||
'@shikijs/langs@1.29.2':
|
||||
'@shikijs/langs@3.2.1':
|
||||
dependencies:
|
||||
'@shikijs/types': 1.29.2
|
||||
'@shikijs/types': 3.2.1
|
||||
|
||||
'@shikijs/themes@1.29.2':
|
||||
'@shikijs/themes@3.2.1':
|
||||
dependencies:
|
||||
'@shikijs/types': 1.29.2
|
||||
'@shikijs/types': 3.2.1
|
||||
|
||||
'@shikijs/types@1.29.2':
|
||||
'@shikijs/types@3.2.1':
|
||||
dependencies:
|
||||
'@shikijs/vscode-textmate': 10.0.1
|
||||
'@shikijs/vscode-textmate': 10.0.2
|
||||
'@types/hast': 3.0.4
|
||||
|
||||
'@shikijs/vscode-textmate@10.0.1': {}
|
||||
'@shikijs/vscode-textmate@10.0.2': {}
|
||||
|
||||
'@sindresorhus/merge-streams@4.0.0': {}
|
||||
|
||||
|
@ -17739,11 +17740,14 @@ snapshots:
|
|||
dependencies:
|
||||
mimic-fn: 4.0.0
|
||||
|
||||
oniguruma-to-es@2.3.0:
|
||||
oniguruma-parser@0.5.4: {}
|
||||
|
||||
oniguruma-to-es@4.1.0:
|
||||
dependencies:
|
||||
emoji-regex-xs: 1.0.0
|
||||
regex: 5.1.1
|
||||
regex-recursion: 5.1.1
|
||||
oniguruma-parser: 0.5.4
|
||||
regex: 6.0.1
|
||||
regex-recursion: 6.0.2
|
||||
|
||||
only-allow@1.2.1:
|
||||
dependencies:
|
||||
|
@ -18350,14 +18354,13 @@ snapshots:
|
|||
|
||||
regenerator-runtime@0.14.1: {}
|
||||
|
||||
regex-recursion@5.1.1:
|
||||
regex-recursion@6.0.2:
|
||||
dependencies:
|
||||
regex: 5.1.1
|
||||
regex-utilities: 2.3.0
|
||||
|
||||
regex-utilities@2.3.0: {}
|
||||
|
||||
regex@5.1.1:
|
||||
regex@6.0.1:
|
||||
dependencies:
|
||||
regex-utilities: 2.3.0
|
||||
|
||||
|
@ -18397,13 +18400,13 @@ snapshots:
|
|||
hast-util-from-html: 2.0.3
|
||||
unified: 11.0.5
|
||||
|
||||
rehype-pretty-code@0.14.0(shiki@1.29.2):
|
||||
rehype-pretty-code@0.14.1(shiki@3.2.1):
|
||||
dependencies:
|
||||
'@types/hast': 3.0.4
|
||||
hast-util-to-string: 3.0.0
|
||||
parse-numeric-range: 1.3.0
|
||||
rehype-parse: 9.0.0
|
||||
shiki: 1.29.2
|
||||
shiki: 3.2.1
|
||||
unified: 11.0.5
|
||||
unist-util-visit: 5.0.0
|
||||
|
||||
|
@ -18786,15 +18789,15 @@ snapshots:
|
|||
vscode-oniguruma: 1.7.0
|
||||
vscode-textmate: 5.2.0
|
||||
|
||||
shiki@1.29.2:
|
||||
shiki@3.2.1:
|
||||
dependencies:
|
||||
'@shikijs/core': 1.29.2
|
||||
'@shikijs/engine-javascript': 1.29.2
|
||||
'@shikijs/engine-oniguruma': 1.29.2
|
||||
'@shikijs/langs': 1.29.2
|
||||
'@shikijs/themes': 1.29.2
|
||||
'@shikijs/types': 1.29.2
|
||||
'@shikijs/vscode-textmate': 10.0.1
|
||||
'@shikijs/core': 3.2.1
|
||||
'@shikijs/engine-javascript': 3.2.1
|
||||
'@shikijs/engine-oniguruma': 3.2.1
|
||||
'@shikijs/langs': 3.2.1
|
||||
'@shikijs/themes': 3.2.1
|
||||
'@shikijs/types': 3.2.1
|
||||
'@shikijs/vscode-textmate': 10.0.2
|
||||
'@types/hast': 3.0.4
|
||||
|
||||
side-channel-list@1.0.0:
|
||||
|
|
Loading…
Add table
Reference in a new issue