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.15.1 to 0.15.2

14

index.js

@@ -106,4 +106,9 @@ const unified = require('unified')

const { contents } = compiler.processSync(mdx)
const fileOpts = { contents: mdx };
if (opts.filepath) {
fileOpts.path = opts.filepath;
}
const { contents } = compiler.processSync(fileOpts)
return contents

@@ -116,4 +121,9 @@ }

const { contents } = await compiler.process(mdx)
const fileOpts = { contents: mdx };
if (opts.filepath) {
fileOpts.path = opts.filepath;
}
const { contents } = await compiler.process(fileOpts)
return contents

@@ -120,0 +130,0 @@ }

2

package.json
{
"name": "@mdx-js/mdx",
"version": "0.15.1",
"version": "0.15.2",
"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