Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

card-creatr

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

card-creatr - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

12

lib/rasterize.js

@@ -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 @@ }

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc