New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kea

Package Overview
Dependencies
Maintainers
1
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kea - npm Package Compare versions

Comparing version 0.26.0 to 0.26.1

8

es/kea/connect/mapping.js

@@ -9,7 +9,5 @@ 'use strict';

function connectLogicIfUnconnected(logic) {
if (logic._isKeaSingleton) {
if (!logic._keaReducerConnected) {
(0, _reducer.addReducer)(logic.path, logic.reducer, true);
logic._keaReducerConnected = true;
}
if (logic._isKeaSingleton && !logic._keaReducerConnected && logic.reducer) {
(0, _reducer.addReducer)(logic.path, logic.reducer, true);
logic._keaReducerConnected = true;
}

@@ -16,0 +14,0 @@ } // input: [ logic1, [ 'a', 'b as c' ], logic2, [ 'c', 'd' ] ]

@@ -9,7 +9,5 @@ 'use strict';

function connectLogicIfUnconnected(logic) {
if (logic._isKeaSingleton) {
if (!logic._keaReducerConnected) {
(0, _reducer.addReducer)(logic.path, logic.reducer, true);
logic._keaReducerConnected = true;
}
if (logic._isKeaSingleton && !logic._keaReducerConnected && logic.reducer) {
(0, _reducer.addReducer)(logic.path, logic.reducer, true);
logic._keaReducerConnected = true;
}

@@ -16,0 +14,0 @@ } // input: [ logic1, [ 'a', 'b as c' ], logic2, [ 'c', 'd' ] ]

{
"name": "kea",
"version": "0.26.0",
"version": "0.26.1",
"description": "Smart front-end architecture",

@@ -30,2 +30,3 @@ "author": "Marius Andra",

"start": "BABEL_ENV=es babel -w src --out-dir es",
"start:cjs": "babel -w src --out-dir lib",
"size": "size-limit",

@@ -32,0 +33,0 @@ "test": "jest",

@@ -7,7 +7,5 @@ // input: [ logic1, [ 'a', 'b as c' ], logic2, [ 'c', 'd' ] ]

function connectLogicIfUnconnected (logic) {
if (logic._isKeaSingleton) {
if (!logic._keaReducerConnected) {
addReducer(logic.path, logic.reducer, true)
logic._keaReducerConnected = true
}
if (logic._isKeaSingleton && !logic._keaReducerConnected && logic.reducer) {
addReducer(logic.path, logic.reducer, true)
logic._keaReducerConnected = true
}

@@ -14,0 +12,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