Comparing version 1.1.0 to 1.1.1
@@ -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 @@ |
@@ -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" | ||
} | ||
} |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
95
5800
1
Updatedphantomjs@^1.9.16