Socket
Socket
Sign inDemoInstall

immp

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immp - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

package.json
{
"name": "immp",
"description": "Image Manipulation Middleware Proxy",
"version": "1.4.0",
"version": "1.4.1",
"repository": "garrows/IMMP",

@@ -6,0 +6,0 @@ "keywords": [

@@ -71,2 +71,8 @@ IMMP: Image Manipulation Middleware Proxy

Crop the source image to the custom shape (source width, height, x, and y). See
[GraphicsMagic crop](http://www.graphicsmagick.org/GraphicsMagick.html#details-crop)
for more information. Non-negative integers only.
`http://localhost:3000/im/?image=test.jpg&sx=100&sy=100&sw=100&sy=100`
If you enable proxy mode, you can proxy images from other services like Amazon S3

@@ -73,0 +79,0 @@

@@ -224,6 +224,7 @@ var async = require('async'),

[
[0,0,0,0],
['a',0,0,0],
[-1,0,0,0],
['',0,0,0],
[0,0,0,0], // No image
[99999,99999,100,100], // Outside bounds
['a',0,0,0], // Non-numeric
[-1,0,0,0], // Not positive
['',0,0,0], // Not defined
].forEach(function(params){

@@ -230,0 +231,0 @@ it('should not do a custom crop with ' + params, function (_done) {

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