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.0 to 1.1.1

5

lib/converter.js

@@ -5,8 +5,9 @@ "use strict";

var webpage = require("webpage");
var system = require("system");
if (phantom.args.length !== 3) {
if (system.args.length !== 4) {
console.error("Usage: converter.js source dest scale");
phantom.exit();
} else {
convert(phantom.args[0], phantom.args[1], Number(phantom.args[2]));
convert(system.args[1], system.args[2], Number(system.args[3]));
}

@@ -13,0 +14,0 @@

2

LICENSE.txt

@@ -1,2 +0,2 @@

Copyright © 2012–2014 Domenic Denicola <domenic@domenicdenicola.com>
Copyright © 2012–2015 Domenic Denicola <d@domenic.me>
This work is free. You can redistribute it and/or modify it under the

@@ -3,0 +3,0 @@ terms of the Do What The Fuck You Want To Public License, Version 2,

{
"name": "svg2png",
"description": "A SVG to PNG converter, using PhantomJS.",
"version": "1.1.0",
"author": "Domenic Denicola <domenic@domenicdenicola.com> (http://domenic.me)",
"description": "A SVG to PNG converter, using PhantomJS",
"version": "1.1.1",
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me)",
"license": "WTFPL",
"repository": {
"type": "git",
"url": "git://github.com/domenic/svg2png.git"
},
"bugs": "http://github.com/domenic/svg2png/issues",
"repository": "domenic/svg2png",
"main": "lib/svg2png.js",
"files": [
"lib/"
],
"scripts": {

@@ -18,9 +17,9 @@ "test": "mocha",

"dependencies": {
"phantomjs": "^1.9.7-1"
"phantomjs": "^1.9.16"
},
"devDependencies": {
"chai": "~1.9.1",
"jshint": "~2.4.3",
"mocha": "~1.18.2"
"chai": "^2.2.0",
"jshint": "^2.6.3",
"mocha": "^2.2.1"
}
}
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