Socket
Socket
Sign inDemoInstall

react-redux-toastr

Package Overview
Dependencies
61
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

2

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

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

@@ -16,3 +16,3 @@ ##`react-redux-toastr` [demo](http://diegoddox.github.io/react-redux-toastr/)

```
<link href="http://diegoddox.github.io/react-redux-toastr/2.2.0/react-redux-toastr.min.css" rel="stylesheet" type="text/css">
<link href="http://diegoddox.github.io/react-redux-toastr/3.0.0/react-redux-toastr.min.css" rel="stylesheet" type="text/css">
```

@@ -19,0 +19,0 @@ ##### 3. The third thing you need to do is to add the `react-redux-toastr` `reducer` to Redux.

@@ -63,2 +63,3 @@ 'use strict';

<button type="button" onClick={() => toastr.message('## Message', {component: messageComp})}>message</button>
<button type="button" onClick={() => toastr.confirm('## confirm')}>confirm</button>
</div>

@@ -65,0 +66,0 @@ {this.renderDev()}

@@ -33,3 +33,3 @@ 'use strict';

this._removeConfirm();
if (options.onOk) {
if (options && options.onOk) {
options.onOk();

@@ -47,3 +47,3 @@ }

this._removeConfirm();
if (options.onCancel) {
if (options && options.onCancel) {
options.onCancel();

@@ -50,0 +50,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc