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 7.4.3 to 7.4.4

2

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

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

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

this.props.addToMemory(item.id);
//
this.closeButton.focus();
if (this.closeButton !== undefined) {
this.closeButton.focus();
}
}

@@ -89,3 +90,5 @@

setTimeout(function() {
document.getElementsByClassName('toastr-control')[0].focus();
if (document.getElementsByClassName('toastr-control').length > 0) {
document.getElementsByClassName('toastr-control')[0].focus();
}
}, 50);

@@ -92,0 +95,0 @@ }

@@ -56,3 +56,5 @@ import React from 'react';

// when toast loads the toast close button automatically focuses on the toast control
this.closeButton.focus();
if (this.closeButton !== undefined) {
this.closeButton.focus();
}
}

@@ -64,3 +66,5 @@

setTimeout(function() {
document.getElementsByClassName('toastr-control')[0].focus();
if (document.getElementsByClassName('toastr-control').length > 0) {
document.getElementsByClassName('toastr-control')[0].focus();
}
}, 50);

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

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