🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@hydroperx/colorobserver

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hydroperx/colorobserver - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+1
-1
package.json
{
"name": "@hydroperx/colorobserver",
"version": "1.0.1",
"version": "1.0.2",
"type": "module",

@@ -5,0 +5,0 @@ "scripts": {},

@@ -20,2 +20,3 @@ import Color from "color";

this._trigger_callback = () => {
if (!element) return;
let color = window.getComputedStyle(element).getPropertyValue("color");

@@ -22,0 +23,0 @@ color = color ? color : "#fff";

@@ -18,2 +18,3 @@ {

/* Linting */
"strict": true,
"noFallthroughCasesInSwitch": true,

@@ -20,0 +21,0 @@ "noUncheckedSideEffectImports": true