Socket
Socket
Sign inDemoInstall

@mdx-js/mdx

Package Overview
Dependencies
Maintainers
4
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 1.6.9 to 1.6.10-ci.0

4

mdx-hast-to-jsx.js

@@ -256,4 +256,4 @@ const {transformSync} = require('@babel/core')

function compile(options = {}) {
this.Compiler = function (tree, file = {}) {
return toJSX(tree, {}, {file, ...options})
this.Compiler = function (tree, file) {
return toJSX(tree, {}, {file: file || {}, ...options})
}

@@ -260,0 +260,0 @@ }

{
"name": "@mdx-js/mdx",
"version": "1.6.9",
"version": "1.6.10-ci.0+86e35a6",
"description": "Parse MDX and transpile to JSX",

@@ -57,3 +57,3 @@ "repository": "mdx-js/mdx",

},
"gitHead": "5dab75ad754854143faa90181c86a1e7dab5a39b"
"gitHead": "86e35a61f54cd623d1e73ae2898539463167914d"
}
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