Socket
Socket
Sign inDemoInstall

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 4.4.5 to 4.4.6

4

CHANGELOG.md

@@ -0,1 +1,5 @@

#4.4.6
Fix animation side effect.
(issue)[https://github.com/diegoddox/react-redux-toastr/issues/102]
#4.2.1

@@ -2,0 +6,0 @@ Add method `removeByType`.

5

lib/ToastrBox.js

@@ -56,2 +56,3 @@ 'use strict';

_this.intervalId = null;
_this.ignoreIsHiding = false;

@@ -96,2 +97,3 @@ _this.transitionIn = transitionIn || _this.props.transitionIn;

this.ignoreIsHiding = true;

@@ -282,4 +284,5 @@ if (onCloseButtonClick) {

if (this.isHiding) {
if (this.isHiding || this.ignoreIsHiding) {
this._setIsHiding(false);
this.ignoreIsHiding = false;
remove(id);

@@ -286,0 +289,0 @@ if (options.onHideComplete) {

{
"name": "react-redux-toastr",
"version": "4.4.5",
"version": "4.4.6",
"description": "react-redux-toastr is a React toastr message implemented with Redux",

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

@@ -27,2 +27,3 @@ import CSSCore from 'fbjs/lib/CSSCore';

this.intervalId = null;
this.ignoreIsHiding = false;

@@ -80,2 +81,3 @@ this.transitionIn = transitionIn || this.props.transitionIn;

let {onCloseButtonClick} = this.props.item.options;
this.ignoreIsHiding = true;

@@ -237,4 +239,5 @@ if (onCloseButtonClick) {

if (this.isHiding) {
if (this.isHiding || this.ignoreIsHiding) {
this._setIsHiding(false);
this.ignoreIsHiding = false;
remove(id);

@@ -241,0 +244,0 @@ if (options.onHideComplete) {

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