remark-react
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -55,3 +55,3 @@ 'use strict'; | ||
*/ | ||
if (children && TABLE_ELEMENTS.indexOf(name) !== -1) { | ||
if (children && TABLE_ELEMENTS.indexOf(component) !== -1) { | ||
children = children.filter(function (child) { | ||
@@ -62,3 +62,3 @@ return child !== '\n'; | ||
return createElement(name, props, children); | ||
return createElement(component, props, children); | ||
} | ||
@@ -65,0 +65,0 @@ |
{ | ||
"name": "remark-react", | ||
"description": "Compile Markdown to React with remark", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Titus Wormer", |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9767
0