Socket
Socket
Sign inDemoInstall

toastifier

Package Overview
Dependencies
0
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.2.0

2

package.json
{
"name": "toastifier",
"version": "1.1.2",
"version": "1.2.0",
"description": "Light and Simple Multi-Framework Toaster",

@@ -5,0 +5,0 @@ "main": "script.js",

@@ -339,6 +339,11 @@ function toastifier(msg, options = {}) {

h.addEventListener("mouseleave", () => {
h.style.animation = `animated_exit ${animation_time}s`;
setTimeout(() => {
h.style.display = "none";
}, 800);
h.style.animation = `animated_exit ${animation_time}s`;
}, 500);
setTimeout(() => {
h.remove();
if (document.getElementsByClassName("toastifier__alert").length === 0) {
container.remove();
}
}, 1500);
});

@@ -345,0 +350,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc