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.2 to 5.1.3

6

dist/core/flow.d.ts
/**
* @hidden
*/
export declare type FlowReturn<R> = R extends PromiseLike<infer T> ? T : R;
export declare type FlowReturn<R> = R extends Promise<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<PromiseLike<any>, R, any>): (...args: Args) => PromiseLike<FlowReturn<R>>;
export declare function flow<R, Args extends any[]>(generator: (...args: Args) => Generator<PromiseLike<any>, R, any>): (...args: Args) => Promise<FlowReturn<R>>;
/**

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

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

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

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

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

],
"gitHead": "73510b3d7cb5e5febaf4b2978843e13a4c022d5e"
"gitHead": "baeb950d329e72bccf32bd32c0786d363a8e3531"
}
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