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

patronum

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

patronum - npm Package Compare versions

Comparing version 0.11.3 to 0.12.0

18

condition/index.d.ts

@@ -1,16 +0,8 @@

import { Store, Event, Effect } from 'effector';
import { Unit, Store } from 'effector';
type Source<T> = Store<T> | Event<T> | Effect<T, any, any>;
export function condition<State, Result extends State>(options: {
source: Source<State>;
if: (payload: State) => payload is Result;
then?: Source<Result>;
else?: Source<State>;
});
export function condition<State>(options: {
source: Source<State>;
source: Unit<State>;
if: Store<boolean> | ((payload: State) => boolean) | State;
then?: Source<State>;
else?: Source<State>;
});
then?: Unit<State>;
else?: Unit<State>;
}): void;
{
"name": "patronum",
"version": "0.11.3",
"version": "0.12.0",
"description": "☄️ Effector utility library delivering modularity and convenience",

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

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