@jimp/plugin-color
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -109,5 +109,5 @@ "use strict"; | ||
function colorModifier(i, amount) { | ||
return this.constructor.limit255(clr[i] + amount); | ||
} | ||
var colorModifier = function colorModifier(i, amount) { | ||
return _this.constructor.limit255(clr[i] + amount); | ||
}; | ||
@@ -114,0 +114,0 @@ actions.forEach(function (action) { |
@@ -77,5 +77,5 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } | ||
function colorModifier(i, amount) { | ||
return this.constructor.limit255(clr[i] + amount); | ||
} | ||
var colorModifier = function colorModifier(i, amount) { | ||
return _this.constructor.limit255(clr[i] + amount); | ||
}; | ||
@@ -82,0 +82,0 @@ actions.forEach(function (action) { |
{ | ||
"name": "@jimp/plugin-color", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "Bitmap manipulation to adjust the color in an image.", | ||
@@ -37,3 +37,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "833308a04a490b760425b9caadd6409cb345a582" | ||
"gitHead": "72634d1c6c614a925bf1bc5e861e3640f5c0bf98" | ||
} |
@@ -75,5 +75,4 @@ import tinyColor from 'tinycolor2'; | ||
function colorModifier(i, amount) { | ||
return this.constructor.limit255(clr[i] + amount); | ||
} | ||
const colorModifier = (i, amount) => | ||
this.constructor.limit255(clr[i] + amount); | ||
@@ -80,0 +79,0 @@ actions.forEach(action => { |
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
410219
1717