Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rightimage

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rightimage - npm Package Compare versions

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc