Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

popupz

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

popupz - npm Package Compare versions

Comparing version 1.2.12 to 1.3.0

4

dist/index.js

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

progressBar = progressBar === 'true' || progressBar === 'false' ? progressBar : 'true';
theme = theme === 'dark' ? 'dark' : 'light';
theme = 'dark';
type = type in themes[theme] ? type : 'default';

@@ -106,3 +106,3 @@ React.useEffect(() => {

setPopzType(type.toLowerCase());
setPopzMessage(message.toLowerCase());
setPopzMessage(message);
setPopzProgressBar(progressBar.toLowerCase());

@@ -109,0 +109,0 @@ setTimeout(() => {

{
"name": "popupz",
"version": "1.2.12",
"version": "1.3.0",
"type": "module",

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

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

progressBar= progressBar==='true'|| progressBar==='false' ? progressBar : 'true';
theme= (theme === 'dark')? 'dark' : 'light';
theme= 'dark';
type= (type in themes[theme]) ? type : 'default';

@@ -50,0 +50,0 @@

@@ -15,3 +15,3 @@ import React, { useState, createContext, useContext } from 'react';

setPopzType(type.toLowerCase());
setPopzMessage(message.toLowerCase());
setPopzMessage(message);
setPopzProgressBar(progressBar.toLowerCase());

@@ -18,0 +18,0 @@

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