Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mdx-js/runtime

Package Overview
Dependencies
Maintainers
4
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mdx-js/runtime - npm Package Compare versions

Comparing version 1.6.13 to 1.6.14

8

package.json
{
"name": "@mdx-js/runtime",
"version": "1.6.13",
"version": "1.6.14",
"description": "Parse and render MDX in a runtime environment",

@@ -41,7 +41,7 @@ "repository": "mdx-js/mdx",

"dependencies": {
"@mdx-js/mdx": "1.6.13",
"@mdx-js/react": "1.6.13",
"@mdx-js/mdx": "1.6.14",
"@mdx-js/react": "1.6.14",
"buble-jsx-only": "^0.19.8"
},
"gitHead": "098e7d433b603ff0ea9fc947f1adc686fc7846c3"
"gitHead": "8c9e6b1cf88cd348b607917a8ff058ea665e7373"
}

@@ -24,2 +24,13 @@ # `@mdx-js/runtime`

### Props
The MDX Runtime component accepts two props:
| Name | Description |
| ------------ | ---------------------------------------------------------------- |
| `components` | Globally available components for the runtime |
| `scope` | Variables that are accessible in the JSX portion of the document |
### Example code
```jsx

@@ -44,2 +55,4 @@ import React from 'react'

<Demo />
<div>Here is the scope variable: {some}</div>
`

@@ -46,0 +59,0 @@

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