Socket
Socket
Sign inDemoInstall

popupz

Package Overview
Dependencies
217
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.3.2

6

dist/index.js

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

dark: {
colors: "text-white bg-black/80",
colors: "text-white bg-gray-800/90",
progessbarBgColor: "#4A5568",

@@ -64,6 +64,6 @@ success: "#32cd32",

};
theme = theme in themes ? theme : 'light';
type = type in themes[theme] ? type : 'default';
message = message || "Welcome to Popupz!";
progressBar = progressBar === 'true' || progressBar === 'false' ? progressBar : 'true';
theme = themes[theme] ? theme : 'light';
type = type in themes[theme] ? type : 'default';
React.useEffect(() => {

@@ -70,0 +70,0 @@ setColor(themes[theme][type]);

{
"name": "popupz",
"version": "1.3.1",
"version": "1.3.2",
"type": "module",

@@ -5,0 +5,0 @@ "description": "A simple and customizable popup notification library for React and Next.js applications.",

@@ -27,3 +27,3 @@ import React, { useState, useEffect } from 'react';

dark: {
colors: "text-white bg-black/80",
colors: "text-white bg-gray-800/90",
progessbarBgColor: "#4A5568",

@@ -46,6 +46,6 @@ success: "#32cd32",

theme= theme in themes? theme : 'light';
type= (type in themes[theme]) ? type : 'default';
message= message || "Welcome to Popupz!" ;
progressBar= progressBar==='true'|| progressBar==='false' ? progressBar : 'true';
theme= (themes[theme]) ? theme : 'light';
type= (type in themes[theme]) ? type : 'default';

@@ -52,0 +52,0 @@ useEffect(() => {

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