card-creatr
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -119,2 +119,8 @@ /* | ||
}; | ||
img.onerror = (/* event */) => { | ||
progress({ page: 0, name: "error" }); | ||
setTimeout(() => { | ||
next(new Error("Could not render SVG (syntax error?)")); | ||
}, 100); | ||
}; | ||
img.src = "data:image/svg+xml;utf8," + svgBuffer; | ||
@@ -145,2 +151,8 @@ } | ||
}; | ||
img.onerror = (/* event */) => { | ||
progress({ page: pageNumber, name: "error" }); | ||
setTimeout(() => { | ||
next(new Error("Could not render SVG (syntax error?)")); | ||
}, 100); | ||
}; | ||
img.src = "data:image/svg+xml;utf8," + svgBuffer; | ||
@@ -147,0 +159,0 @@ } |
{ | ||
"name": "card-creatr", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Tools for creating and rendering SVG files, with a focus on decks of cards for custom card games", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
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
1605076
6836
0