Socket
Socket
Sign inDemoInstall

save-svg-as-png-3

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.3 to 3.2.0

1

lib/saveSvgAsPng.js

@@ -534,2 +534,3 @@ "use strict";

src = src.replace(/(<img[^>]+)>/, "$1 ></img>");
var svgXml = "data:image/svg+xml;base64," + _global.btoa(reEncode(doctype + src));

@@ -536,0 +537,0 @@ if (typeof done === "function") {

2

package.json
{
"name": "save-svg-as-png-3",
"version": "3.1.3",
"version": "3.2.0",
"description": "Convert a browser SVG to PNG and download it, no browser DataURL size limits",

@@ -5,0 +5,0 @@ "main": "lib/saveSvgAsPng.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc