Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

inaction

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inaction - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

8

dist/index.cjs.js

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

// Bind action creators to dispatch.
var boundCreators = function boundCreators(dispatch) {
var bindCreators = function bindCreators(dispatch) {
return mapValues(creators || {}, function (c) {

@@ -86,7 +86,7 @@ return redux.bindActionCreators(c, dispatch);

if (!selectors || typeof selectors === "function") {
return reactRedux.connect(selectors, boundCreators);
return reactRedux.connect(selectors, bindCreators);
}
// Bind selectors to state if it's an object.
var boundSelectors = function boundSelectors(state) {
var bindSelectors = function bindSelectors(state) {
return mapValues(selectors, function (s) {

@@ -97,3 +97,3 @@ return bindStateSelectors(s, state);

return reactRedux.connect(boundSelectors, boundCreators);
return reactRedux.connect(bindSelectors, bindCreators);
};

@@ -100,0 +100,0 @@

@@ -73,3 +73,3 @@ import { bindActionCreators } from 'redux';

// Bind action creators to dispatch.
var boundCreators = function boundCreators(dispatch) {
var bindCreators = function bindCreators(dispatch) {
return mapValues(creators || {}, function (c) {

@@ -82,7 +82,7 @@ return bindActionCreators(c, dispatch);

if (!selectors || typeof selectors === "function") {
return connect(selectors, boundCreators);
return connect(selectors, bindCreators);
}
// Bind selectors to state if it's an object.
var boundSelectors = function boundSelectors(state) {
var bindSelectors = function bindSelectors(state) {
return mapValues(selectors, function (s) {

@@ -93,5 +93,5 @@ return bindStateSelectors(s, state);

return connect(boundSelectors, boundCreators);
return connect(bindSelectors, bindCreators);
};
export { action, bindStateSelectors, connect$1 as connect };
{
"name": "inaction",
"version": "4.0.0",
"version": "4.1.0",
"author": "olav",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -9,3 +9,3 @@ import { bindActionCreators } from "redux";

// Bind action creators to dispatch.
const boundCreators = dispatch => {
const bindCreators = dispatch => {
return mapValues(creators || {}, c => bindActionCreators(c, dispatch));

@@ -16,11 +16,11 @@ };

if (!selectors || typeof selectors === "function") {
return reduxConnect(selectors, boundCreators);
return reduxConnect(selectors, bindCreators);
}
// Bind selectors to state if it's an object.
const boundSelectors = state => {
const bindSelectors = state => {
return mapValues(selectors, s => bindStateSelectors(s, state));
};
return reduxConnect(boundSelectors, boundCreators);
return reduxConnect(bindSelectors, bindCreators);
};
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