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

react-redux-toastr

Package Overview
Dependencies
Maintainers
2
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 3.6.3 to 3.6.4

3

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

@@ -9,2 +9,3 @@ "main": "lib/index.js",

"start": "better-npm-run dev-server",
"dev_win": "NODE_ENV=development NODE_PORT=3000 ./node_modules/.bin/webpack-dev-server --hot --inline --config build/webpack.config.js",
"build": "better-npm-run build && npm run less && npm run less:m",

@@ -11,0 +12,0 @@ "less": "lessc src/less/index.less --autoprefix=\"last 2 versions\" lib/css/react-redux-toastr.css",

@@ -20,8 +20,5 @@ import React, {Component} from 'react';

*/
const end = () => {
CSSCore.removeClass(this.toastrButton, 'active');
if (this.props.onClick) {
this.props.onClick && this.props.onClick();
}
};
// Untill I found out why stoppropagation is not working I will remove the onClick from the animationend.
this.props.onClick();
const end = () => CSSCore.removeClass(this.toastrButton, 'active');
onCSSTransitionEnd(this.toastrButton, end);

@@ -28,0 +25,0 @@ };

@@ -89,2 +89,4 @@ import ReactTransitionEvents from 'react/lib/ReactTransitionEvents';

const runOnce = (e) => {
// stopPropagation is not working in IE11 and Edge, the transitionend from the Button.js is waiting
// on the confirm animation to end first and not the Button.js
e.stopPropagation();

@@ -91,0 +93,0 @@ callback && callback(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