@astrojs/markdoc 0.13.4 → 0.14.0

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.
@@ -245,7 +245,8 @@ async function emitOptimizedImages(nodeChildren, ctx) {
245
245
  const src = await emitESMImage(
246
246
  resolved.id,
247
247
  ctx.pluginContext.meta.watchMode,
248
- !!ctx.astroConfig.experimental.svg,
248
+ // FUTURE: Remove in this in v6
249
+ resolved.id.endsWith(".svg"),
249
250
  ctx.pluginContext.emitFile
250
251
  );
251
252
  const fsPath = resolved.id;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astrojs/markdoc",
3
3
  "description": "Add support for Markdoc in your Astro site",
4
- "version": "0.13.4",
4
+ "version": "0.14.0",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "author": "withastro",
@@ -72,7 +72,7 @@
72
72
  "devalue": "^5.1.1",
73
73
  "linkedom": "^0.18.9",
74
74
  "vite": "^6.2.6",
75
- "astro": "5.6.2",
75
+ "astro": "5.7.0",
76
76
  "astro-scripts": "0.0.14"
77
77
  },
78
78
  "engines": {