@astrojs/mdx 5.0.0-beta.7 → 5.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server.js +1 -1
- package/package.json +5 -5
package/dist/server.js
CHANGED
|
@@ -33,7 +33,7 @@ async function renderToStaticMarkup(Component, props = {}, { default: children =
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
function throwEnhancedErrorIfMdxComponent(error, Component) {
|
|
36
|
-
if (Component[Symbol.for("mdx-component")]) {
|
|
36
|
+
if (Component[/* @__PURE__ */ Symbol.for("mdx-component")]) {
|
|
37
37
|
if (AstroError.is(error)) return;
|
|
38
38
|
error.title = error.name;
|
|
39
39
|
error.hint = `This issue often occurs when your MDX component encounters runtime errors.`;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrojs/mdx",
|
|
3
3
|
"description": "Add support for MDX pages in your Astro site",
|
|
4
|
-
"version": "5.0.0-beta.
|
|
4
|
+
"version": "5.0.0-beta.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"author": "withastro",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@mdx-js/mdx": "^3.1.1",
|
|
32
|
-
"acorn": "^8.
|
|
32
|
+
"acorn": "^8.16.0",
|
|
33
33
|
"es-module-lexer": "^2.0.0",
|
|
34
34
|
"estree-util-visit": "^2.0.0",
|
|
35
35
|
"hast-util-to-html": "^9.0.5",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"source-map": "^0.7.6",
|
|
41
41
|
"unist-util-visit": "^5.1.0",
|
|
42
42
|
"vfile": "^6.0.3",
|
|
43
|
-
"@astrojs/markdown-remark": "7.0.0-beta.
|
|
43
|
+
"@astrojs/markdown-remark": "7.0.0-beta.8"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"astro": "^6.0.0-alpha.0"
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"shiki": "^3.22.0",
|
|
63
63
|
"unified": "^11.0.5",
|
|
64
64
|
"vite": "^7.3.1",
|
|
65
|
-
"astro": "
|
|
66
|
-
"astro
|
|
65
|
+
"astro-scripts": "0.0.14",
|
|
66
|
+
"astro": "6.0.0-beta.17"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
69
|
"node": "^20.19.1 || >=22.12.0"
|