diff options
author | 2025-03-27 12:43:34 +0000 | |
---|---|---|
committer | 2025-03-27 12:43:34 +0000 | |
commit | a5061d62e920a75b9764ed9aeb5f60e51046db32 (patch) | |
tree | 46cfced1be773baafcf1c4815c30585a7dabd99a /packages/integrations/mdx | |
parent | 718549174748c78bfd25d3b69dd2ba042f1d0158 (diff) | |
download | astro-a5061d62e920a75b9764ed9aeb5f60e51046db32.tar.gz astro-a5061d62e920a75b9764ed9aeb5f60e51046db32.tar.zst astro-a5061d62e920a75b9764ed9aeb5f60e51046db32.zip |
fix(deps): update astro dependencies (#13498)
* fix(deps): update astro dependencies
* fix types shenanigans
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Diffstat (limited to 'packages/integrations/mdx')
-rw-r--r-- | packages/integrations/mdx/package.json | 4 | ||||
-rw-r--r-- | packages/integrations/mdx/src/rehype-images-to-component.ts | 1 | ||||
-rw-r--r-- | packages/integrations/mdx/test/fixtures/css-head-mdx/package.json | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 3847b55ad..d72e39b75 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -52,7 +52,7 @@ "astro": "^5.0.0" }, "devDependencies": { - "@types/estree": "^1.0.6", + "@types/estree": "^1.0.7", "@types/hast": "^3.0.4", "@types/mdast": "^4.0.4", "astro": "workspace:*", @@ -68,7 +68,7 @@ "remark-rehype": "^11.1.1", "remark-shiki-twoslash": "^3.1.3", "remark-toc": "^9.0.0", - "shiki": "^3.0.0", + "shiki": "^3.2.1", "unified": "^11.0.5", "vite": "^6.2.3" }, diff --git a/packages/integrations/mdx/src/rehype-images-to-component.ts b/packages/integrations/mdx/src/rehype-images-to-component.ts index d6e5308c4..6676ee323 100644 --- a/packages/integrations/mdx/src/rehype-images-to-component.ts +++ b/packages/integrations/mdx/src/rehype-images-to-component.ts @@ -102,6 +102,7 @@ export function rehypeImageToComponent() { sourceType: 'module', body: [ { + attributes: [], type: 'ImportDeclaration', source: { type: 'Literal', diff --git a/packages/integrations/mdx/test/fixtures/css-head-mdx/package.json b/packages/integrations/mdx/test/fixtures/css-head-mdx/package.json index 1b62bf940..0abf82349 100644 --- a/packages/integrations/mdx/test/fixtures/css-head-mdx/package.json +++ b/packages/integrations/mdx/test/fixtures/css-head-mdx/package.json @@ -5,6 +5,6 @@ "dependencies": { "@astrojs/mdx": "workspace:*", "astro": "workspace:*", - "astro-remote": "0.3.3" + "astro-remote": "0.3.4" } } |