New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cicada/render

Package Overview
Dependencies
Maintainers
6
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cicada/render - npm Package Compare versions

Comparing version 1.1.8-alpha11 to 1.1.8-alpha12

6

lib/createAppearance.js

@@ -121,3 +121,3 @@ 'use strict';

function createStylesheet(clsName, content) {
clsName = '' + STYLE_SHEET_PREFIX + clsName;
// clsName = `${STYLE_SHEET_PREFIX}${clsName}`
if (typeof document === 'undefined' || document.getElementById(clsName)) return clsName;

@@ -127,3 +127,3 @@ var styleDom = document.createElement('style');

var attrName = 'data-cicada-' + clsName;
styleDom.innerText = '.' + clsName + ', [' + attrName + '] ' + content;
styleDom.innerText = '.' + clsName + ', [' + attrName + '] { ' + content + ' }';
document.head.appendChild(styleDom);

@@ -165,3 +165,3 @@ return clsName;

// const displayNoneStyle = createStylesheet(DISPLAY_NONE, 'display: none !important;')
var displayNoneStyle = createStylesheet(DISPLAY_NONE, 'display: none !important;');

@@ -168,0 +168,0 @@ function updateAppearanceRef(id) {

{
"name": "@cicada/render",
"version": "1.1.8-alpha11",
"version": "1.1.8-alpha12",
"main": "./lib/index.js",

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

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