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-ci.1

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,n=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e,t=n.createContext({}),r=function(e){var r=n.useContext(t),o=r;return e&&(o="function"==typeof e?e(r):Object.assign({},r,e)),o},o={inlineCode:"code",wrapper:n.Fragment},a=function(e){var t=e.components,a=e.mdxType,p=e.originalType,i=e.parentName,c=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===n.indexOf(r)&&(t[r]=e[r]);return t}(e,["components","mdxType","originalType","parentName"]),l=r(t);return n.createElement(l[i+"."+a]||l[a]||o[a]||p,c)};a.displayName="MDXCreateElement",exports.MDXContext=t,exports.MDXProvider=function(e){var o=r(e.components);return n.createElement(t.Provider,{value:o},e.children)},exports.useMDXComponents=r,exports.withMDXComponents=function(e){return function(t){var o=r(t.components);return n.createElement(e,Object.assign({},t,{components:o}))}},exports.mdx=function(e,t){var r=arguments;if("string"==typeof e||t.mdxType){var o=r.length,p=new Array(o);p[0]=a;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i.mdxType="string"==typeof e?e:t.mdxType,p[1]=i;for(var l=2;l<o;l++)p[l]=r[l];return n.createElement.apply(null,p)}return n.createElement.apply(null,r)};
{
"name": "@mdx-js/react",
"version": "1.0.0-alpha.17",
"version": "1.0.0-ci.1+cb67ce7",
"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": "cb67ce7f0c14721be0f9ed507e20b58097f57943"
}
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