diff options
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" } } |