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

@mdx-js/react

Package Overview
Dependencies
Maintainers
4
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mdx-js/react - npm Package Compare versions

Comparing version 1.0.0-alpha.17 to 1.0.0-rc.0

dist/index.es.js

44

dist/index.js

@@ -1,43 +0,1 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _context = require('./context');
Object.defineProperty(exports, 'MDXContext', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_context).default;
}
});
Object.defineProperty(exports, 'MDXProvider', {
enumerable: true,
get: function get() {
return _context.MDXProvider;
}
});
Object.defineProperty(exports, 'useMDXComponents', {
enumerable: true,
get: function get() {
return _context.useMDXComponents;
}
});
Object.defineProperty(exports, 'withMDXComponents', {
enumerable: true,
get: function get() {
return _context.withMDXComponents;
}
});
var _createElement = require('./create-element');
Object.defineProperty(exports, 'mdx', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_createElement).default;
}
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var e,t=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e,n=t.createContext({}),r=function(e){var r=t.useContext(n),o=r;return e&&(o="function"==typeof e?e(r):Object.assign({},r,e)),o},o={inlineCode:"code",wrapper:t.Fragment},a=function(e){var n=e.components,a=e.mdxType,p=e.parentName,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["components","mdxType","parentName"]),i=r(n);return t.createElement(i[p+"."+a]||i[a]||o[a]||a,c)};a.displayName="MDXCreateElement",exports.MDXContext=n,exports.MDXProvider=function(e){var o=r(e.components);return t.createElement(n.Provider,{value:o},e.children)},exports.useMDXComponents=r,exports.withMDXComponents=function(e){return function(n){var o=r(n.components);return t.createElement(e,Object.assign({},n,{components:o}))}},exports.mdx=function(e,n){var r=arguments;if("string"==typeof e){var o=r.length,p=new Array(o);p[0]=a;var c={};for(var i in n)hasOwnProperty.call(n,i)&&(c[i]=n[i]);c.mdxType=e,p[1]=c;for(var u=2;u<o;u++)p[u]=r[u];return t.createElement.apply(null,p)}return t.createElement.apply(null,r)};
{
"name": "@mdx-js/react",
"version": "1.0.0-alpha.17",
"version": "1.0.0-rc.0",
"description": "React implementation for MDX",

@@ -25,2 +25,3 @@ "license": "MIT",

"main": "dist/index.js",
"module": "dist/index.es.js",
"files": [

@@ -30,7 +31,7 @@ "dist"

"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"jest": "^23.1.0",
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"@babel/preset-react": "^7.0.0",
"jest": "^24.0.0",
"microbundle": "^0.11.0",
"react": "^16.8.0",

@@ -44,3 +45,3 @@ "react-dom": "^16.8.0",

"scripts": {
"build": "babel src -d dist",
"build": "microbundle --format es,cjs --external react --jsx React.createElement --no-sourcemap",
"clean": "rimraf dist",

@@ -50,3 +51,3 @@ "prepublish": "npm run clean && npm run build",

},
"gitHead": "690cd8dcfc2007e45193180cc8d1f016269be2ae"
"gitHead": "7e3aca092e6f3ab21ea1d0ad772d2f48963536c2"
}
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