@jimp/plugin-color
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package