@symbolic/svgcanvas
Advanced tools
Comparing version 2.5.2 to 2.5.3
@@ -415,3 +415,4 @@ /*!! | ||
} | ||
else if (value instanceof CanvasGradient) { | ||
else if (value instanceof CanvasGradient || value.constructor.name === 'CanvasGradient') { | ||
console.log(value); | ||
//gradient | ||
@@ -418,0 +419,0 @@ currentElement.setAttribute(style.apply, format("url(#{id})", {id:value.__root.getAttribute("id")})); |
@@ -506,3 +506,4 @@ function toString(obj) { | ||
} | ||
else if (value instanceof CanvasGradient) { | ||
else if (value instanceof CanvasGradient || value.constructor.name === 'CanvasGradient') { | ||
console.log(value); | ||
//gradient | ||
@@ -509,0 +510,0 @@ currentElement.setAttribute(style.apply, format("url(#{id})", {id:value.__root.getAttribute("id")})); |
@@ -510,3 +510,4 @@ 'use strict'; | ||
} | ||
else if (value instanceof CanvasGradient) { | ||
else if (value instanceof CanvasGradient || value.constructor.name === 'CanvasGradient') { | ||
console.log(value); | ||
//gradient | ||
@@ -513,0 +514,0 @@ currentElement.setAttribute(style.apply, format("url(#{id})", {id:value.__root.getAttribute("id")})); |
{ | ||
"name": "@symbolic/svgcanvas", | ||
"version": "2.5.2", | ||
"version": "2.5.3", | ||
"description": "@symbolic/svgcanvas", | ||
@@ -5,0 +5,0 @@ "main": "dist/svgcanvas.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3010860
36718
1