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

fl-popup

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fl-popup - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

index.js

@@ -56,3 +56,3 @@ import './popup.css'

let node = document.createElement('div');
node.innerHTML = `<div class="fl-popup-box">${data.title?'<div class="popup-title">'+data.title+'</div>':''}<div class="popup-content">${data.content}</div><div class="popup-bottom"><div class="popup-btn" style="width:50%;border-right: 1px solid #DADADA;">${data.button[0]}</div><div class="popup-btn" style="width:50%">${data.button[1]}</div></div></div><div class="popup-mask"></div>`
node.innerHTML = `<div class="fl-popup-box">${data.title?'<div class="popup-title">'+data.title+'</div>':''}<div class="popup-content">${data.content}</div><div class="popup-bottom"><div class="popup-btn" style="width:50%;border-right: 1px solid #DADADA;color:#999">${data.button[0]}</div><div class="popup-btn" style="width:50%;color:#ec3629">${data.button[1]}</div></div></div><div class="popup-mask"></div>`
node.setAttribute("id", this.id);

@@ -59,0 +59,0 @@ node.setAttribute("class", 'fl-popup');

{
"name": "fl-popup",
"version": "1.0.3",
"version": "1.0.4",
"description": "原生js移动端提示弹框",

@@ -5,0 +5,0 @@ "main": "index.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