react-redux-toastr
Advanced tools
Comparing version 7.4.8 to 7.4.9
@@ -0,1 +1,4 @@ | ||
# v7.4.9 | ||
Fixies [#220] | ||
# 7.0.0 | ||
@@ -2,0 +5,0 @@ |
@@ -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> |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
151090
2494
2