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.4 to 0.5.5

6

dist/index.js

@@ -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

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