diff --git a/package.json b/package.json index d0150af..54ae707 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "dependencies": { "@astrojs/check": "^0.5.4", "@astrojs/mdx": "^2.1.1", - "@astrojs/starlight": "^0.18.1", + "@astrojs/starlight": "^0.21.4", "astro": "^4.3.7", "typescript": "^5.3.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 367e1a2..eb54f25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ dependencies: specifier: ^2.1.1 version: 2.1.1(astro@4.3.7) '@astrojs/starlight': - specifier: ^0.18.1 - version: 0.18.1(astro@4.3.7) + specifier: ^0.21.4 + version: 0.21.4(astro@4.3.7) astro: specifier: ^4.3.7 version: 4.3.7(typescript@5.3.3) @@ -90,7 +90,7 @@ devDependencies: version: 0.33.2 starlight-links-validator: specifier: ^0.5.3 - version: 0.5.3(@astrojs/starlight@0.18.1)(astro@4.3.7) + version: 0.5.3(@astrojs/starlight@0.21.4)(astro@4.3.7) packages: @@ -284,8 +284,8 @@ packages: sitemap: 7.1.1 zod: 3.22.4 - /@astrojs/starlight@0.18.1(astro@4.3.7): - resolution: {integrity: sha512-6sM9m52fVsCfu4cR9M9ZIZLwPpbcS0/E6PZPGKaHinXbailzLZTtFQndPzDOEIFBOOPj6KQvGfrgQDby9rNovQ==} + /@astrojs/starlight@0.21.4(astro@4.3.7): + resolution: {integrity: sha512-n9K9WMYN9HtRsZ6u06yLXKMaLMo+a6ifDoBkP24S6EFOsgFUa4P9/t+xliDnNFTf3KGtm9YTdSUA3oI/2wq1eQ==} peerDependencies: astro: ^4.2.7 dependencies: @@ -295,9 +295,11 @@ packages: '@types/hast': 3.0.4 '@types/mdast': 4.0.3 astro: 4.3.7(typescript@5.3.3) - astro-expressive-code: 0.32.4(astro@4.3.7) + astro-expressive-code: 0.33.5(astro@4.3.7) bcp-47: 2.1.0 + hast-util-from-html: 2.0.1 hast-util-select: 6.0.2 + hast-util-to-string: 3.0.0 hastscript: 8.0.0 mdast-util-directive: 3.0.0 mdast-util-to-markdown: 2.1.0 @@ -305,7 +307,6 @@ packages: rehype: 13.0.1 remark-directive: 3.0.0 unified: 11.0.4 - unist-util-remove: 4.0.0 unist-util-visit: 5.0.0 vfile: 6.0.1 transitivePeerDependencies: @@ -865,8 +866,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@expressive-code/core@0.32.4: - resolution: {integrity: sha512-S0OwgZCy29OCcwFUBTLDrShUovIUWZcQn3EvSoKsGfzf/wTisK7XqZ1uH0Y7Mlof3Hf9uJMjOhJZvxTLtQUdSQ==} + /@expressive-code/core@0.33.5: + resolution: {integrity: sha512-KL0EkKAvd7SSIQL3ZIP19xqe4xNjBaQYNvcJC6RmoBUnQpvxaJNFwRxCBEF/X0ftJEMaSG7WTrabZ9c/zFeqmA==} dependencies: '@ctrl/tinycolor': 3.6.1 hast-util-to-html: 8.0.4 @@ -874,22 +875,22 @@ packages: postcss: 8.4.35 postcss-nested: 6.0.1(postcss@8.4.35) - /@expressive-code/plugin-frames@0.32.4: - resolution: {integrity: sha512-XOQrLqlVEy5JbqsBhDcSJQinceQ5j/Z8cE0/27Lnlcj4oXRdiQNjMVtstC/xZUeWEbm+FI9ZZP4Z9yihol61Aw==} + /@expressive-code/plugin-frames@0.33.5: + resolution: {integrity: sha512-lFt/gbnZscBSxHovg4XiWohp5nrxk4McS6RGABdj6+0gJcX8/YrFTM23GKBIkaDePxdDidVY0jQYGYDL/RrQHw==} dependencies: - '@expressive-code/core': 0.32.4 + '@expressive-code/core': 0.33.5 hastscript: 7.2.0 - /@expressive-code/plugin-shiki@0.32.4: - resolution: {integrity: sha512-zZzTXFFTpG+fmBG6C+4KzIyh1nFPdn4gLJ8E9LhBVufmRkn3gZplkE99lulfillsKyUZTRw3+dC3xYZWEZKzPw==} + /@expressive-code/plugin-shiki@0.33.5: + resolution: {integrity: sha512-LWgttQTUrIPE1X+Lya1qFWiX47tH2AS2hkbj/cZoWkdiSjn6zUvtTypK/2Xn6Rgn6z6ClzpgHvkXRqFn7nAB4A==} dependencies: - '@expressive-code/core': 0.32.4 - shikiji: 0.8.7 + '@expressive-code/core': 0.33.5 + shiki: 1.2.4 - /@expressive-code/plugin-text-markers@0.32.4: - resolution: {integrity: sha512-lFlo3uwTp7vUmfXtLPn2aXs0CPFqdFvKiR3y8gtNzmBeYWPqVahF4RFUCN9ZpztCmXp5V8p2ADvNHzoNwCBwzA==} + /@expressive-code/plugin-text-markers@0.33.5: + resolution: {integrity: sha512-JxSHL1MGrJAPNaUMjFXex3K+9NJDbfew9H6PmX8LQ+fm9VNQdtBYTAz/x7nqOk7bkTrtAZK5RfDqUfb8U5M+2A==} dependencies: - '@expressive-code/core': 0.32.4 + '@expressive-code/core': 0.33.5 hastscript: 7.2.0 unist-util-visit-parents: 5.1.3 @@ -1419,6 +1420,9 @@ packages: requiresBuild: true optional: true + /@shikijs/core@1.2.4: + resolution: {integrity: sha512-ClaUWpt8oTzjcF0MM1P81AeWyzc1sNSJlAjMG80CbwqbFqXSNz+NpQVUC0icobt3sZn43Sn27M4pHD/Jmp3zHw==} + /@trysound/sax@0.2.0: resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} @@ -1518,7 +1522,6 @@ packages: resolution: {integrity: sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==} dependencies: undici-types: 5.26.5 - dev: true /@types/parse5@6.0.3: resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} @@ -1526,7 +1529,7 @@ packages: /@types/sax@1.2.7: resolution: {integrity: sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==} dependencies: - '@types/node': 17.0.45 + '@types/node': 20.11.17 /@types/semver@7.5.7: resolution: {integrity: sha512-/wdoPq1QqkSj9/QOeKkFquEuPzQbHTWAMPH/PaUMB+JuR31lXhlWXRZ52IpfDYVlDOUBvX09uBrPwxGT1hjNBg==} @@ -1913,14 +1916,14 @@ packages: - supports-color dev: true - /astro-expressive-code@0.32.4(astro@4.3.7): - resolution: {integrity: sha512-/Kq8wLMz0X2gbLWGmPryqEdFV/om/GROsoLtPFqLrLCRD5CpwxXAW185BIGZKf4iYsyJim1vvcpQm5Y9hV5B1g==} + /astro-expressive-code@0.33.5(astro@4.3.7): + resolution: {integrity: sha512-9JAyllueMUN8JTl/h/yTdbKinNmfalEWcV11s3lSf/UJQbAZfWJuy+IlGcArZDI/CmD21GXhFHLqYthpdY33ug==} peerDependencies: - astro: ^3.3.0 || ^4.0.0-beta + astro: ^4.0.0-beta || ^3.3.0 dependencies: astro: 4.3.7(typescript@5.3.3) hast-util-to-html: 8.0.4 - remark-expressive-code: 0.32.4 + remark-expressive-code: 0.33.5 /astro-og-canvas@0.4.2(astro@4.3.7): resolution: {integrity: sha512-OQsH6Gr2HX9ZRHdVy2OcXVBIPI65WvEtLG/60krnphh8d3ldhuAFunymYaNGcrdSZcYgXkHWejbPt//3qaRidA==} @@ -2936,13 +2939,13 @@ packages: requiresBuild: true optional: true - /expressive-code@0.32.4: - resolution: {integrity: sha512-r+yUP2JV181tVR2EyYked7lT2W8bvL9o7xpdKU6q60FMU7Wh/DbGtH0jg+WmDxKK1C57iXF9chbBv+BsDPlUEQ==} + /expressive-code@0.33.5: + resolution: {integrity: sha512-UPg2jSvZEfXPiCa4MKtMoMQ5Hwiv7In5/LSCa/ukhjzZqPO48iVsCcEBgXWEUmEAQ02P0z00/xFfBmVnUKH+Zw==} dependencies: - '@expressive-code/core': 0.32.4 - '@expressive-code/plugin-frames': 0.32.4 - '@expressive-code/plugin-shiki': 0.32.4 - '@expressive-code/plugin-text-markers': 0.32.4 + '@expressive-code/core': 0.33.5 + '@expressive-code/plugin-frames': 0.33.5 + '@expressive-code/plugin-shiki': 0.33.5 + '@expressive-code/plugin-text-markers': 0.33.5 /extend-shallow@2.0.1: resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} @@ -5245,10 +5248,10 @@ packages: transitivePeerDependencies: - supports-color - /remark-expressive-code@0.32.4: - resolution: {integrity: sha512-khV7fVBpVDOyz9EXU+6MFwLj7BtY3DLVlNMMJYQcfp9ksLMxG/i83rIJbMUZCRof9bDBmFFlrF0VDvqJ0/MNeQ==} + /remark-expressive-code@0.33.5: + resolution: {integrity: sha512-E4CZq3AuUXLu6or0AaDKkgsHYqmnm4ZL8/+1/8YgwtKcogHwTMRJfQtxkZpth90QQoNUpsapvm5x5n3Np2OC9w==} dependencies: - expressive-code: 0.32.4 + expressive-code: 0.33.5 hast-util-to-html: 8.0.4 unist-util-visit: 4.1.2 @@ -5537,14 +5540,14 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} + /shiki@1.2.4: + resolution: {integrity: sha512-Q9n9jKiOjJCRPztA9POn3/uZXNySHDNKAsPNpmtHDcFyi6ZQhx5vQKZW3Nhrwn8TWW3RudSRk66zqY603EZDeg==} + dependencies: + '@shikijs/core': 1.2.4 + /shikiji-core@0.9.19: resolution: {integrity: sha512-AFJu/vcNT21t0e6YrfadZ+9q86gvPum6iywRyt1OtIPjPFe25RQnYJyxHQPMLKCCWA992TPxmEmbNcOZCAJclw==} - /shikiji@0.8.7: - resolution: {integrity: sha512-j5usxwI0yHkDTHOuhuSJl9+wT5CNYeYO82dJMSJBlJ/NYT5SIebGcPoL6y9QOyH15wGrJC4LOP2nz5k8mUDGRQ==} - dependencies: - hast-util-to-html: 9.0.0 - /shikiji@0.9.19: resolution: {integrity: sha512-Kw2NHWktdcdypCj1GkKpXH4o6Vxz8B8TykPlPuLHOGSV8VkhoCLcFOH4k19K4LXAQYRQmxg+0X/eM+m2sLhAkg==} dependencies: @@ -5628,14 +5631,14 @@ packages: get-source: 2.0.12 dev: true - /starlight-links-validator@0.5.3(@astrojs/starlight@0.18.1)(astro@4.3.7): + /starlight-links-validator@0.5.3(@astrojs/starlight@0.21.4)(astro@4.3.7): resolution: {integrity: sha512-v79rwmzjQlEMVL8sZ4dalD/jhFOUvGZ2/f4CvxCySZ9KbEN9nDmgV8zJgfpmTzhbcYQ35wzyUinF4QNxgKVA4g==} engines: {node: '>=18.14.1'} peerDependencies: '@astrojs/starlight': '>=0.15.0' astro: '>=4.0.0' dependencies: - '@astrojs/starlight': 0.18.1(astro@4.3.7) + '@astrojs/starlight': 0.21.4(astro@4.3.7) astro: 4.3.7(typescript@5.3.3) github-slugger: 2.0.0 hast-util-from-html: 2.0.1 @@ -6023,7 +6026,6 @@ packages: /undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - dev: true /undici@5.28.2: resolution: {integrity: sha512-wh1pHJHnUeQV5Xa8/kyQhO7WFa8M34l026L5P/+2TYiakvGy5Rdc8jWZVyG7ieht/0WgJLEd3kcU5gKx+6GC8w==} @@ -6094,13 +6096,6 @@ packages: '@types/unist': 3.0.2 unist-util-visit: 5.0.0 - /unist-util-remove@4.0.0: - resolution: {integrity: sha512-b4gokeGId57UVRX/eVKej5gXqGlc9+trkORhFJpu9raqZkZhU0zm8Doi05+HaiBsMEIJowL+2WtQ5ItjsngPXg==} - dependencies: - '@types/unist': 3.0.2 - unist-util-is: 6.0.0 - unist-util-visit-parents: 6.0.1 - /unist-util-stringify-position@3.0.3: resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==} dependencies: