Comparing version 1.0.1 to 1.0.2
@@ -31,3 +31,3 @@ /** | ||
export const findRootSvg = node => { | ||
const el = node.toString().includes('SVGElement') ? node : node.node(); | ||
const el = /SVG.*Element/.test(node.toString()) ? node : node.node(); | ||
return el.tagName.toLowerCase() === 'svg' | ||
@@ -34,0 +34,0 @@ ? el |
{ | ||
"name": "d3-party", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "lol.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
4605