react-router-sitemap-generator
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -44,6 +44,11 @@ "use strict"; | ||
path = props.path; | ||
children === null || children === void 0 ? void 0 : children.forEach(function (child) { | ||
components.push(child); | ||
}); | ||
if (Array.isArray(children)) { | ||
children === null || children === void 0 ? void 0 : children.forEach(function (child) { | ||
components.push(child); | ||
}); | ||
} else if (children != null) { | ||
components.push(children); | ||
} | ||
if (path != null) { | ||
@@ -50,0 +55,0 @@ this._paths.push(path); |
{ | ||
"name": "react-router-sitemap-generator", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
4125
83