Socket
Socket
Sign inDemoInstall

rightimage

Package Overview
Dependencies
256
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.0 to 0.7.1

5

lib/processOption.js
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)];

2

package.json
{
"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",

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