rightimage
Advanced tools
Comparing version 0.7.0 to 0.7.1
const optionConverters = { | ||
resize: value => { | ||
if (!/\d+x\d+/.test(value)) { | ||
const match = value.match(/\d+(x|,)\d+/) | ||
if (match === null) { | ||
throw new Error(`invalid argument for resize ${value}`); | ||
} | ||
const [width, height] = value.split("x"); | ||
const [width, height] = value.split(match[1]); | ||
@@ -9,0 +10,0 @@ return [parseInt(width, 10), parseInt(height, 10)]; |
{ | ||
"name": "rightimage", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Stream images with dynamic re-orientation", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
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
19400
365