@mdx-js/react
Advanced tools
Comparing version 1.0.0-alpha.17 to 1.0.0-ci.1
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6562
5
10
2
3