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

mobx-state-tree

Package Overview
Dependencies
Maintainers
7
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobx-state-tree - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

LICENSE

6

dist/core/flow.d.ts
/**
* @hidden
*/
export declare type FlowReturn<R> = R extends Promise<infer T> ? T : R;
export declare type FlowReturn<R> = R extends PromiseLike<infer T> ? T : R;
/**

@@ -10,3 +10,3 @@ * See [asynchronous actions](concepts/async-actions.md).

*/
export declare function flow<R, Args extends any[]>(generator: (...args: Args) => Generator<Promise<any>, R, any>): (...args: Args) => Promise<FlowReturn<R>>;
export declare function flow<R, Args extends any[]>(generator: (...args: Args) => Generator<PromiseLike<any>, R, any>): (...args: Args) => PromiseLike<FlowReturn<R>>;
/**

@@ -42,3 +42,3 @@ * @deprecated Not needed since TS3.6.

*/
export declare function toGeneratorFunction<R, Args extends any[]>(p: (...args: Args) => Promise<R>): (...args: Args) => Generator<Promise<R>, R, R>;
export declare function toGeneratorFunction<R, Args extends any[]>(p: (...args: Args) => PromiseLike<R>): (...args: Args) => Generator<PromiseLike<R>, R, R>;
/**

@@ -45,0 +45,0 @@ * @experimental

{
"name": "mobx-state-tree",
"version": "5.1.0",
"version": "5.1.1",
"description": "Opinionated, transactional, MobX powered state container",

@@ -88,3 +88,4 @@ "main": "dist/mobx-state-tree.js",

"state management"
]
],
"gitHead": "108537f10bb12d8800a92297121db386bb232ec9"
}
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