@mdx-js/react
Advanced tools
Comparing version 2.0.0-ci.42 to 2.0.0-ci.43
{ | ||
"name": "@mdx-js/react", | ||
"version": "2.0.0-ci.42+6a27dbd6", | ||
"version": "2.0.0-ci.43+e3d94388", | ||
"description": "React implementation for MDX", | ||
@@ -49,3 +49,3 @@ "repository": "mdx-js/mdx", | ||
}, | ||
"gitHead": "6a27dbd6a98962a702c0b6b2894f7b58eefb0de3" | ||
"gitHead": "e3d94388cf428fdaefeca3fe26abe313de1a87c0" | ||
} |
@@ -43,4 +43,4 @@ const React = require('react') | ||
function mdx(type, props) { | ||
const args = arguments | ||
function mdx(type, props, ...rest) { | ||
const args = [type, props, ...rest] | ||
const mdxType = props && props.mdxType | ||
@@ -55,3 +55,3 @@ | ||
const newProps = {} | ||
for (let key in props) { | ||
for (const key in props) { | ||
/* istanbul ignore else - folks putting stuff in `prototype`. */ | ||
@@ -58,0 +58,0 @@ if (hasOwnProperty.call(props, key)) { |
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
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
9718