diff options
Diffstat (limited to 'packages/integrations/mdx')
-rw-r--r-- | packages/integrations/mdx/CHANGELOG.md | 6 | ||||
-rw-r--r-- | packages/integrations/mdx/package.json | 4 | ||||
-rw-r--r-- | packages/integrations/mdx/template/content-module-types.d.ts | 1 |
3 files changed, 9 insertions, 2 deletions
diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index b15b97308..1b3baaeec 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -23,6 +23,12 @@ - astro@5.0.0-alpha.0 - @astrojs/markdown-remark@6.0.0-alpha.0 +## 3.1.9 + +### Patch Changes + +- [#12245](https://github.com/withastro/astro/pull/12245) [`1d4f6a4`](https://github.com/withastro/astro/commit/1d4f6a4989bc1cfd7109b1bff41503f115660e02) Thanks [@bmenant](https://github.com/bmenant)! - Add `components` property to MDXInstance type definition (RenderResult and module import) + ## 3.1.8 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index c2333d7ac..1783f3e89 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -36,7 +36,7 @@ "dependencies": { "@astrojs/markdown-remark": "workspace:*", "@mdx-js/mdx": "^3.1.0", - "acorn": "^8.13.0", + "acorn": "^8.14.0", "es-module-lexer": "^1.5.4", "estree-util-visit": "^2.0.0", "hast-util-to-html": "^9.0.3", @@ -68,7 +68,7 @@ "remark-rehype": "^11.1.1", "remark-shiki-twoslash": "^3.1.3", "remark-toc": "^9.0.0", - "shiki": "^1.22.0", + "shiki": "^1.22.2", "unified": "^11.0.5", "vite": "6.0.0-beta.2" }, diff --git a/packages/integrations/mdx/template/content-module-types.d.ts b/packages/integrations/mdx/template/content-module-types.d.ts index 957f99895..848289f01 100644 --- a/packages/integrations/mdx/template/content-module-types.d.ts +++ b/packages/integrations/mdx/template/content-module-types.d.ts @@ -4,6 +4,7 @@ declare module 'astro:content' { Content: import('astro').MarkdownInstance<{}>['Content']; headings: import('astro').MarkdownHeading[]; remarkPluginFrontmatter: Record<string, any>; + components: import('astro').MDXInstance<{}>['components']; }>; } } |