Socket
Socket
Sign inDemoInstall

svg2png

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svg2png - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0

7

lib/converter.js
"use strict";
/*global phantom: false*/
/* global phantom: true */
var webpage = require("webpage");

@@ -42,3 +43,3 @@ var system = require("system");

setTimeout(function () {
page.render(dest);
page.render(dest, { format: "png" });
phantom.exit();

@@ -51,3 +52,3 @@ }, 0);

return page.evaluate(function () {
/*global document: false*/
/* global document: true */

@@ -54,0 +55,0 @@ var el = document.documentElement;

{
"name": "svg2png",
"description": "A SVG to PNG converter, using PhantomJS",
"version": "1.1.1",
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me)",
"license": "WTFPL",
"repository": "domenic/svg2png",
"main": "lib/svg2png.js",
"files": [
"lib/"
],
"scripts": {
"test": "mocha",
"lint": "jshint lib && jshint test"
},
"dependencies": {
"phantomjs": "^1.9.16"
},
"devDependencies": {
"chai": "^2.2.0",
"jshint": "^2.6.3",
"mocha": "^2.2.1"
}
"name": "svg2png",
"description": "A SVG to PNG converter, using PhantomJS",
"version": "2.0.0",
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me)",
"license": "WTFPL",
"repository": "domenic/svg2png",
"main": "lib/svg2png.js",
"files": [
"lib/"
],
"scripts": {
"test": "mocha",
"lint": "jshint lib && jshint test"
},
"dependencies": {
"phantomjs": "^1.9.18"
},
"devDependencies": {
"chai": "^3.4.1",
"jshint": "^2.8.0",
"mocha": "^2.3.3"
}
}
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