Socket
Socket
Sign inDemoInstall

react-redux-toastr

Package Overview
Dependencies
14
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.4.8 to 7.4.9

3

CHANGELOG.md

@@ -0,1 +1,4 @@

# v7.4.9
Fixies [#220]
# 7.0.0

@@ -2,0 +5,0 @@

3

lib/Button.js

@@ -18,3 +18,4 @@ "use strict";

},
className: 'rrt-button ' + props.className
className: 'rrt-button ' + props.className,
ref: props.innerRef
}, props.children);

@@ -21,0 +22,0 @@ };

@@ -242,4 +242,4 @@ "use strict";

tabIndex: "-1",
ref: function ref(_ref4) {
return _this4.confirmHolderElement = _ref4;
ref: function ref(_ref2) {
return _this4.confirmHolderElement = _ref2;
},

@@ -251,4 +251,4 @@ onKeyDown: this.handleOnKeyDown,

className: "rrt-confirm animated",
ref: function ref(_ref3) {
return _this4.confirmElement = _ref3;
ref: function ref(_ref) {
return _this4.confirmElement = _ref;
},

@@ -264,4 +264,4 @@ role: "alertdialog",

tabIndex: "0",
ref: function ref(_ref) {
return _this4.closeButton = _ref;
innerRef: function innerRef(ref) {
return _this4.closeButton = ref;
},

@@ -274,4 +274,4 @@ className: "rrt-ok-btn toastr-control",

tabIndex: "0",
ref: function ref(_ref2) {
return _this4.closeButton = _ref2;
innerRef: function innerRef(ref) {
return _this4.closeButton = ref;
},

@@ -278,0 +278,0 @@ className: "rrt-cancel-btn toastr-control",

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

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

import React from 'react';
const Button = props => (
<button type="button" onClick={() => props.onClick()} className={'rrt-button ' + props.className}>
<button type="button" onClick={() => props.onClick()} className={'rrt-button ' + props.className} ref={props.innerRef}>
{props.children}

@@ -6,0 +6,0 @@ </button>

@@ -191,3 +191,3 @@ import React from 'react';

{!this.containsOkButton(options.buttons) &&
<Button tabIndex="0" ref={ref => this.closeButton = ref} className="rrt-ok-btn toastr-control" onClick={() => this.handleConfirmClick()}>
<Button tabIndex="0" innerRef={ref => this.closeButton = ref} className="rrt-ok-btn toastr-control" onClick={() => this.handleConfirmClick()}>
{this.okText}

@@ -197,3 +197,3 @@ </Button>

{!this.disableCancel && !this.containsCancelButton(options.buttons) &&
<Button tabIndex="0" ref={ref => this.closeButton = ref} className="rrt-cancel-btn toastr-control" onClick={this.handleCancelClick.bind(this)}>
<Button tabIndex="0" innerRef={ref => this.closeButton = ref} className="rrt-cancel-btn toastr-control" onClick={this.handleCancelClick.bind(this)}>
{this.cancelText}

@@ -200,0 +200,0 @@ </Button>

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