Socket
Socket
Sign inDemoInstall

@mdx-js/mdx

Package Overview
Dependencies
Maintainers
2
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mdx-js/mdx - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

7

mdx-hast-to-jsx.js

@@ -46,6 +46,11 @@ function toJSX(node, parentNode = {}) {

let props = ''
if (Array.isArray(node.properties.className)) {
node.properties.className = node.properties.className.join(' ');
}
if (Object.keys(node.properties).length > 0) {
props = JSON.stringify(node.properties)
}
return `<MDXTag name="${node.tagName}" components={components}${

@@ -52,0 +57,0 @@ parentNode.tagName ? ` parentName="${parentNode.tagName}"` : ''

2

package.json
{
"name": "@mdx-js/mdx",
"version": "0.10.0",
"version": "0.10.1",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": "mdx-js/mdx",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc