Comparing version 1.0.3 to 1.0.4
@@ -68,3 +68,3 @@ var url = document.currentScript.getAttribute('url') || 'https://qq.webrtc.win/audio/Pear-Demo-audio.mp3'; | ||
add('https://demo.webrtc.win/button/js/jquery.ui.position.js') | ||
add('https://cdn.jsdelivr.net/npm/fogdownloader@1.2.7') | ||
add('https://cdn.jsdelivr.net/npm/peardownloader@latest') | ||
@@ -254,5 +254,2 @@ addScript(["https://demo.webrtc.win/button/js/jquery-1.8.2.min.js", "https://demo.webrtc.win/button/js/jquery.contextMenu.js"], createMenu) | ||
var parentID = btn.parentNode.getAttribute('id'); | ||
@@ -270,6 +267,8 @@ var data = localStorageData(parentID); | ||
button.style.color = data.textColor; | ||
if(data.fillet == 1) { | ||
if(data.fillet == 0) { | ||
button.style.borderRadius = 0; | ||
} else if(data.fillet == 1) { | ||
button.style.borderRadius = '10px'; | ||
} else if(data.fillet == 2) { | ||
button.style.borderRadius = '40px'; | ||
} else { | ||
button.style.borderRadius = 0; | ||
} | ||
@@ -276,0 +275,0 @@ button.onmouseover = function() { |
{ | ||
"name": "pearbutton", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "button.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
1043371
26594
14
5