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.6.0 to 7.6.1

12

CHANGELOG.md

@@ -0,1 +1,13 @@

# v7.6.1
Fix `getState` is not a function
# v7.6.0
Now you can define the toastr state path via a function
```
<ReduxToastr
{...anotherProps}
getState={(state) => state.toastr} // This is the default
/>
```
# v7.5.2

@@ -2,0 +14,0 @@ [#245] Fix W3C validation errors

2

lib/ReduxToastr.js

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

return {
toastr: ownProps.getState(state)
toastr: ownProps.getState ? ownProps.getState(state) : state.toastr
};

@@ -237,0 +237,0 @@ }, actions)(ReduxToastr);

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

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

@@ -160,5 +160,5 @@ import React from 'react';

(state, ownProps) => ({
toastr: ownProps.getState(state),
toastr: ownProps.getState ? ownProps.getState(state) : state.toastr,
}),
actions
)(ReduxToastr);
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