Socket
Socket
Sign inDemoInstall

@jimp/plugin-color

Package Overview
Dependencies
Maintainers
2
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jimp/plugin-color - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

2

dist/index.js

@@ -523,3 +523,3 @@ "use strict";

y = y || 0;
w = isDef(w) ? x : this.bitmap.width - x;
w = isDef(w) ? w : this.bitmap.width - x;
h = isDef(h) ? h : this.bitmap.height - y;

@@ -526,0 +526,0 @@ var source = this.cloneQuiet();

@@ -491,3 +491,3 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }

y = y || 0;
w = isDef(w) ? x : this.bitmap.width - x;
w = isDef(w) ? w : this.bitmap.width - x;
h = isDef(h) ? h : this.bitmap.height - y;

@@ -494,0 +494,0 @@ var source = this.cloneQuiet();

{
"name": "@jimp/plugin-color",
"version": "0.5.3",
"version": "0.5.4",
"description": "Bitmap manipulation to adjust the color in an image.",

@@ -27,5 +27,5 @@ "main": "dist/index.js",

"devDependencies": {
"@jimp/custom": "^0.5.3",
"@jimp/test-utils": "^0.5.3",
"@jimp/types": "^0.5.3"
"@jimp/custom": "^0.5.4",
"@jimp/test-utils": "^0.5.4",
"@jimp/types": "^0.5.4"
},

@@ -38,3 +38,3 @@ "peerDependencies": {

},
"gitHead": "762e7e5f8099996f7bfb580477e29a75694e564e"
"gitHead": "833308a04a490b760425b9caadd6409cb345a582"
}

@@ -542,3 +542,3 @@ import tinyColor from 'tinycolor2';

y = y || 0;
w = isDef(w) ? x : this.bitmap.width - x;
w = isDef(w) ? w : this.bitmap.width - x;
h = isDef(h) ? h : this.bitmap.height - y;

@@ -545,0 +545,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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