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

fun-model

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fun-model - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

1

index.d.ts

@@ -10,4 +10,5 @@ import * as s from './src/store';

withStateFreezing?: boolean | (() => boolean);
withExceptionHandling?: boolean | (() => boolean);
subStateSeparator?: string;
}
export declare const bootstrap: (defaultState: s.IState, onStateChanged: () => void, params: IBootstrapParams) => void;

2

package.json
{
"name": "fun-model",
"version": "4.2.0",
"version": "4.2.1",
"description": "fun-model is pure functional implementation of FLUX architecture.",

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

import * as s from './store';
export declare let bootstrap: (renderCallback: (() => void) | null) => void;
export declare const bootstrap: (onStateChanged: (() => void) | null, withExceptionHandling?: boolean | (() => boolean)) => void;
export interface IAction<T> {

@@ -7,3 +7,3 @@ (param?: T): void;

export declare type IActionHandler<TState extends s.IState, TParams> = (state: TState, t?: TParams) => TState;
export declare const createAction: <TState extends s.IState, TParams>(cursor: s.ICursor<TState> | s.ICursorFactory<TState, TParams>, handler: (state: TState, t?: TParams | undefined) => TState) => IAction<TParams>;
export declare const createAction: <TState extends s.IState, TParams>(cursor: s.ICursor<TState> | s.ICursorFactory<TState, TParams>, handler?: (state: TState, t?: TParams | undefined) => TState) => IAction<TParams>;
export interface IPair<TState extends s.IState, TParam> {

@@ -10,0 +10,0 @@ cursor: s.ICursor<TState>;

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