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

@symbo.ls/scratch

Package Overview
Dependencies
Maintainers
6
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/scratch - npm Package Compare versions

Comparing version 2.11.337 to 2.11.338

8

dist/cjs/system/color.js

@@ -1638,7 +1638,11 @@ "use strict";

elem.style.color = flag;
if (elem.style.color !== flag)
if (elem.style.color !== flag) {
import_globals.document.body.removeChild(elem);
return;
}
elem.style.color = color;
if (elem.style.color === flag || elem.style.color === "")
if (elem.style.color === flag || elem.style.color === "") {
import_globals.document.body.removeChild(elem);
return [0, 0, 0, 0];
}
color = import_globals.window.getComputedStyle(elem).color;

@@ -1645,0 +1649,0 @@ import_globals.document.body.removeChild(elem);

@@ -1432,7 +1432,11 @@ "use strict";

elem.style.color = flag;
if (elem.style.color !== flag)
if (elem.style.color !== flag) {
import_globals.document.body.removeChild(elem);
return;
}
elem.style.color = color;
if (elem.style.color === flag || elem.style.color === "")
if (elem.style.color === flag || elem.style.color === "") {
import_globals.document.body.removeChild(elem);
return [0, 0, 0, 0];
}
color = import_globals.window.getComputedStyle(elem).color;

@@ -1439,0 +1443,0 @@ import_globals.document.body.removeChild(elem);

@@ -5,3 +5,3 @@ {

"author": "symbo.ls",
"version": "2.11.337",
"version": "2.11.338",
"files": [

@@ -33,3 +33,3 @@ "src",

},
"gitHead": "5a5391d39de3ebc122998f2f096bbbf3dcbe72b8"
"gitHead": "f8b3e371bac70f5de8e4bfe27887819bfbb0bfc9"
}

@@ -30,5 +30,11 @@ 'use strict'

// color set failed - some monstrous css rule is probably taking over the color of our object
if (elem.style.color !== flag) return
if (elem.style.color !== flag) {
document.body.removeChild(elem)
return
}
elem.style.color = color
if (elem.style.color === flag || elem.style.color === '') return [0, 0, 0, 0] // color parse failed
if (elem.style.color === flag || elem.style.color === '') {
document.body.removeChild(elem)
return [0, 0, 0, 0] // color parse failed
}
color = window.getComputedStyle(elem).color

@@ -35,0 +41,0 @@ document.body.removeChild(elem)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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