Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chromaticity-color-utilities

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromaticity-color-utilities - npm Package Compare versions

Comparing version 0.13.1-alpha to 0.13.2-alpha

9

dist/Blend.js

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

case 'colordodge':
newValue = b == 1 ? 0 : a / (1 - b);
newValue = b == 1 ? 1 : a / (1 - b);
break;

@@ -106,3 +106,8 @@ case 'colorburn':

case 'vividlight':
newValue = b > 0.5 ? (b == 1 ? 0 : a / (1 - b)) : a > 0 ? 1 - b / a : 0;
if (b > 0.5) {
newValue = b == 1 ? 1 : a / (1 - b);
}
else {
newValue = a > 0 ? 1 - ((1 - b) / a) : 0;
}
break;

@@ -109,0 +114,0 @@ case 'subtraction':

{
"name": "chromaticity-color-utilities",
"version": "0.13.1-alpha",
"version": "0.13.2-alpha",
"description": "Color utilities for Node.js",

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

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