New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aptoma/aoi-smart-crop

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aptoma/aoi-smart-crop - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

10

lib/index.js

@@ -52,9 +52,7 @@ 'use strict';

if (actions.crop) {
if (actions.crop.height) {
actions.crop.height = Math.ceil(actions.crop.height);
}
if (actions.crop.width) {
actions.crop.width = Math.ceil(actions.crop.width);
}
actions.crop.x = Math.round(actions.crop.x);
actions.crop.y = Math.round(actions.crop.y);
actions.crop.height = Math.ceil(actions.crop.height);
actions.crop.width = Math.ceil(actions.crop.width);
}
}

2

package.json

@@ -7,3 +7,3 @@ {

},
"version": "0.2.0",
"version": "0.2.1",
"description": "Helper library for doing smart crops of images based on area of interest data",

@@ -10,0 +10,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