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 2.2.0-beta.1 to 2.2.0-beta.2

src/__tests__/action-types.js

2

lib/index.cjs.js

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

logic.actionKeys[type] = key;
logic.actionTypes[key] = type;
});

@@ -1123,2 +1124,3 @@ }

actionKeys: {},
actionTypes: {},
actions: {},

@@ -1125,0 +1127,0 @@ defaults: {},

@@ -337,2 +337,3 @@ import { createSelector } from 'reselect';

logic.actionKeys[type] = key;
logic.actionTypes[key] = type;
});

@@ -1119,2 +1120,3 @@ }

actionKeys: {},
actionTypes: {},
actions: {},

@@ -1121,0 +1123,0 @@ defaults: {},

4

lib/types.d.ts

@@ -19,2 +19,3 @@ import { Reducer, Store, Action as ReduxAction } from 'redux';

actionKeys: Record<string, string>;
actionTypes: Record<string, string>;
actions: any;

@@ -66,3 +67,3 @@ defaults: Record<string, any>;

declare type ListenerDefinitions<LogicType extends Logic> = {
[K in keyof LogicType['actions']]?: ((payload: ReturnType<LogicType['actions'][K]>['payload'], breakpoint: (() => void) | ((ms: number) => Promise<void>), action: ReturnType<LogicType['actions'][K]>, previousState: any) => void | Promise<void>) | (() => void | Promise<void>);
[K in keyof LogicType['actions']]?: ((payload: ReturnType<LogicType['actions'][K]>['payload'], breakpoint: (() => void) & ((ms: number) => Promise<void>), action: ReturnType<LogicType['actions'][K]>, previousState: any) => void | Promise<void>) | (() => void | Promise<void>);
};

@@ -95,2 +96,3 @@ export declare type LogicInput<LogicType extends Logic = Logic> = {

windowValues?: any;
[key: string]: unknown;
};

@@ -97,0 +99,0 @@ interface CreateStoreOptions {

{
"name": "kea",
"version": "2.2.0-beta.1",
"version": "2.2.0-beta.2",
"description": "Smart front-end architecture",

@@ -5,0 +5,0 @@ "author": "Marius Andra",

@@ -23,2 +23,3 @@ import { createConnect } from './steps/connect'

actionKeys: {},
actionTypes: {},
actions: {},

@@ -25,0 +26,0 @@ defaults: {},

@@ -34,3 +34,4 @@ import { getContext } from '../../context'

logic.actionKeys[type] = key
logic.actionTypes[key] = type
})
}

@@ -21,2 +21,3 @@ import { Reducer, Store, Action as ReduxAction } from 'redux'

actionKeys: Record<string, string>
actionTypes: Record<string, string>
actions: any

@@ -111,3 +112,3 @@ defaults: Record<string, any>

payload: ReturnType<LogicType['actions'][K]>['payload'],
breakpoint: (() => void) | ((ms: number) => Promise<void>),
breakpoint: (() => void) & ((ms: number) => Promise<void>),
action: ReturnType<LogicType['actions'][K]>,

@@ -152,2 +153,4 @@ previousState: any,

windowValues?: any
[key: string]: unknown
}

@@ -154,0 +157,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