Socket
Socket
Sign inDemoInstall

react-redux-toastr

Package Overview
Dependencies
18
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.6.2 to 7.6.3

4

lib/ToastrBox.js

@@ -61,3 +61,3 @@ "use strict";

_defineProperty(_assertThisInitialized(_this), "handlePressEnterOrSpaceKeyToastr", function (e) {
if (e.key === ' ' || e.key === 'enter') {
if (e.key === ' ' || e.key === 'Enter') {
_this.handleClickToastr(e);

@@ -68,3 +68,3 @@ }

_defineProperty(_assertThisInitialized(_this), "handlePressEnterOrSpaceKeyCloseButton", function (e) {
if (e.key === ' ' || e.key === 'enter') {
if (e.key === ' ' || e.key === 'Enter') {
_this.handleClickCloseButton(e);

@@ -71,0 +71,0 @@ }

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

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

@@ -103,3 +103,3 @@ import React, {isValidElement} from 'react'; // eslint-disable-line no-unused-vars

handlePressEnterOrSpaceKeyToastr = (e) => {
if (e.key === ' ' || e.key === 'enter') {
if (e.key === ' ' || e.key === 'Enter') {
this.handleClickToastr(e);

@@ -110,3 +110,3 @@ }

handlePressEnterOrSpaceKeyCloseButton = (e) => {
if (e.key === ' ' || e.key === 'enter') {
if (e.key === ' ' || e.key === 'Enter') {
this.handleClickCloseButton(e);

@@ -113,0 +113,0 @@ }

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