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

react-redux-toastr

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-redux-toastr - npm Package Compare versions

Comparing version 7.4.6 to 7.4.7

15

lib/utils.js

@@ -40,2 +40,15 @@ "use strict";

function createNewEvent(eventName) {
var event;
if (typeof Event === 'function') {
event = new Event(eventName);
} else {
event = document.createEvent('Event');
event.initEvent(eventName, true, true);
}
return event;
}
function isString(obj) {

@@ -138,3 +151,3 @@ if (typeof obj == 'string') {

var timeoutId = setTimeout(function () {
var e = new Event(animationEnd);
var e = createNewEvent(animationEnd);
toastrWarn('The toastr box was closed automatically, please check \'transitionOut\' prop value');

@@ -141,0 +154,0 @@ node.dispatchEvent(e);

2

package.json
{
"name": "react-redux-toastr",
"version": "7.4.6",
"version": "7.4.7",
"description": "react-redux-toastr is a React toastr message implemented with Redux",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -21,2 +21,13 @@ import config from './config';

function createNewEvent(eventName) {
var event;
if (typeof (Event) === 'function') {
event = new Event(eventName);
} else {
event = document.createEvent('Event');
event.initEvent(eventName, true, true);
}
return event;
}
function isString(obj) {

@@ -104,3 +115,3 @@ if (typeof obj == 'string') {

const timeoutId = setTimeout(function() {
const e = new Event(animationEnd);
const e = createNewEvent(animationEnd);
toastrWarn('The toastr box was closed automatically, please check \'transitionOut\' prop value');

@@ -107,0 +118,0 @@ node.dispatchEvent(e);

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