@readme/markdown 7.5.3 → 7.5.4

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/main.js CHANGED
@@ -65297,7 +65297,7 @@ const readmeToMdx = () => tree => {
65297
65297
  parent.children.splice(index, 1, {
65298
65298
  type: 'mdxJsxFlowElement',
65299
65299
  name: 'Image',
65300
- attributes: toAttributes(image, imageAttrs),
65300
+ attributes: toAttributes(Object.assign(Object.assign({}, image), { src: image.src || image.url }), imageAttrs),
65301
65301
  children: caption.children,
65302
65302
  });
65303
65303
  });
package/dist/main.node.js CHANGED
@@ -66284,7 +66284,7 @@ const readmeToMdx = () => tree => {
66284
66284
  parent.children.splice(index, 1, {
66285
66285
  type: 'mdxJsxFlowElement',
66286
66286
  name: 'Image',
66287
- attributes: toAttributes(image, imageAttrs),
66287
+ attributes: toAttributes(Object.assign(Object.assign({}, image), { src: image.src || image.url }), imageAttrs),
66288
66288
  children: caption.children,
66289
66289
  });
66290
66290
  });
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@readme/markdown",
3
3
  "description": "ReadMe's React-based Markdown parser",
4
4
  "author": "Rafe Goldberg <rafe@readme.io>",
5
- "version": "7.5.3",
5
+ "version": "7.5.4",
6
6
  "main": "dist/main.node.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "browser": "dist/main.js",