Comparing version 0.2.0 to 0.2.1
@@ -586,4 +586,7 @@ (() => { | ||
throw new Error("[drauu] target element not found"); | ||
if (this.el.tagName !== "svg") | ||
if (this.el.tagName.toLocaleLowerCase() !== "svg") | ||
throw new Error("[drauu] can only mount to a SVG element"); | ||
if (!this.el.createSVGPoint) { | ||
throw new Error("[drauu] SVG element must be create by document.createElementNS('http://www.w3.org/2000/sv', 'svg')"); | ||
} | ||
this.svgPoint = this.el.createSVGPoint(); | ||
@@ -590,0 +593,0 @@ const target = this.resolveSelector(eventEl) || this.el; |
{ | ||
"name": "drauu", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"main": "dist/index.js", | ||
@@ -25,3 +25,3 @@ "module": "dist/index.mjs", | ||
"dependencies": { | ||
"@drauu/core": "0.2.0" | ||
"@drauu/core": "0.2.1" | ||
}, | ||
@@ -28,0 +28,0 @@ "scripts": { |
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
26196
743
+ Added@drauu/core@0.2.1(transitive)
- Removed@drauu/core@0.2.0(transitive)
Updated@drauu/core@0.2.1