Socket
Socket
Sign inDemoInstall

@logojoy/color-rules

Package Overview
Dependencies
Maintainers
8
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logojoy/color-rules - npm Package Compare versions

Comparing version 0.21.30 to 0.22.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [0.22.0](https://github.com/LookaApp/design-studio/compare/@logojoy/color-rules@0.21.30...@logojoy/color-rules@0.22.0) (2024-03-25)
### Features
* add better handling of error scenarios when dealing with colors ([d27ff12](https://github.com/LookaApp/design-studio/commit/d27ff129e1264c48d0cf2beee04803ea74abaffa))
## [0.21.30](https://github.com/LookaApp/design-studio/compare/@logojoy/color-rules@0.21.29...@logojoy/color-rules@0.21.30) (2024-01-08)

@@ -8,0 +19,0 @@

4

dist/lib/logo-coloring-rules/index.js

@@ -38,4 +38,4 @@ "use strict";

// TODO: individual features it is a TinyColor, we should look to make this consistent, or this will be solved in typescript
if (colorScheme.primaryColor &&
colorScheme.primaryColor.hex === colorScheme.tertiaryColor.hex) {
if ((colorScheme === null || colorScheme === void 0 ? void 0 : colorScheme.primaryColor) &&
(colorScheme === null || colorScheme === void 0 ? void 0 : colorScheme.primaryColor.hex) === colorScheme.tertiaryColor.hex) {
options.colorSchema = ingredient_helpers_1.TWO_COLOR;

@@ -42,0 +42,0 @@ }

{
"name": "@logojoy/color-rules",
"version": "0.21.30",
"version": "0.22.0",
"author": "Logojoy",

@@ -18,3 +18,3 @@ "license": "UNLICENSED",

"devDependencies": {
"@logojoy/colors-pipeline": "0.25.2",
"@logojoy/colors-pipeline": "0.26.0",
"@logojoy/eslint-config": "0.1.1",

@@ -44,3 +44,3 @@ "@logojoy/eslint-config-mocha": "0.1.1",

},
"gitHead": "ad9199b9ce4b8c49729548bfb94fcaced8765567"
"gitHead": "1698e0fc7d1cf6e773e01752f3b3aaa264bf7c2a"
}
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