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

reshow-flux-base

Package Overview
Dependencies
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reshow-flux-base - npm Package Compare versions

Comparing version 0.17.42 to 0.17.43

15

build/cjs/src/createReducer.js

@@ -49,3 +49,5 @@ "use strict";

* @template ActionType
* @typedef {string|boolean|null|ActionObject|Payload|function(StateType):ActionType} DispatchAction
* @callback DispatchCallback
* @param {StateType} State
* @returns {ActionType}
*/

@@ -55,3 +57,3 @@ /**

* @template ActionType
* @typedef {function(StateType?, ActionType?, StateType?):any} FluxHandler
* @typedef {ActionType|DispatchCallback<StateType, ActionType>} DispatchAction
*/

@@ -61,2 +63,11 @@ /**

* @template ActionType
* @callback FluxHandler
* @param {StateType} NextState
* @param {ActionType} Action
* @param {StateType} PrevState
* @returns{any}
*/
/**
* @template StateType
* @template ActionType
* @callback EmitterResetCall

@@ -63,0 +74,0 @@ * @returns {FluxHandler<StateType, ActionType>[]}

2

package.json
{
"version": "0.17.42",
"version": "0.17.43",
"name": "reshow-flux-base",

@@ -4,0 +4,0 @@ "repository": {

@@ -34,4 +34,5 @@ /**

export type InitStateType<StateType> = StateType | (() => StateType);
export type DispatchAction<StateType, ActionType> = string | boolean | null | ActionObject | Payload | ((arg0: StateType) => ActionType);
export type FluxHandler<StateType, ActionType> = (arg0: StateType | null, arg1: ActionType | null, arg2: StateType | null) => any;
export type DispatchCallback<StateType, ActionType> = (State: StateType) => ActionType;
export type DispatchAction<StateType, ActionType> = ActionType | DispatchCallback<StateType, ActionType>;
export type FluxHandler<StateType, ActionType> = (NextState: StateType, Action: ActionType, PrevState: StateType) => any;
export type EmitterResetCall<StateType, ActionType> = () => FluxHandler<StateType, ActionType>[];

@@ -50,3 +51,5 @@ export type EmitterAddCall<StateType, ActionType> = (handler: FluxHandler<StateType, ActionType>) => number;

* @template ActionType
* @typedef {string|boolean|null|ActionObject|Payload|function(StateType):ActionType} DispatchAction
* @callback DispatchCallback
* @param {StateType} State
* @returns {ActionType}
*/

@@ -56,3 +59,3 @@ /**

* @template ActionType
* @typedef {function(StateType?, ActionType?, StateType?):any} FluxHandler
* @typedef {ActionType|DispatchCallback<StateType, ActionType>} DispatchAction
*/

@@ -62,2 +65,11 @@ /**

* @template ActionType
* @callback FluxHandler
* @param {StateType} NextState
* @param {ActionType} Action
* @param {StateType} PrevState
* @returns{any}
*/
/**
* @template StateType
* @template ActionType
* @callback EmitterResetCall

@@ -64,0 +76,0 @@ * @returns {FluxHandler<StateType, ActionType>[]}

Sorry, the diff of this file is not supported yet

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