mobx-utils
Advanced tools
Comparing version 6.0.3 to 6.0.4
@@ -0,1 +1,15 @@ | ||
# 6.0.4 | ||
* [ObservableGroupMap.ts: remove console.log #289](https://github.com/mobxjs/mobx-utils/pull/289) | ||
* [Make observable promise's values safer type wise #295](https://github.com/mobxjs/mobx-utils/pull/295) Closes [Typing IRejectedPromise and IPendingPromise to hold an unknown value](https://github.com/mobxjs/mobx-utils/issues/291) Users of fromPromise may get new compile errors for invalid code. See PR for details. | ||
# 6.0.3 | ||
* Fixed [#214](https://github.com/mobxjs/mobx-utils/issues/214) createViewModel doesn't work correctly with setters for computed values. ([#286](https://github.com/mobxjs/mobx-utils/pull/286)) | ||
* Use computedFn name if explicitly set in options [#277](https://github.com/mobxjs/mobx-utils/pull/277). | ||
# 6.0.2 | ||
* skipped | ||
# 6.0.1 | ||
@@ -2,0 +16,0 @@ |
@@ -6,3 +6,3 @@ export declare type PromiseState = "pending" | "fulfilled" | "rejected"; | ||
declare type CaseHandlers<U, T> = { | ||
pending?: (t?: T) => U; | ||
pending?: (t?: unknown) => U; | ||
fulfilled?: (t: T) => U; | ||
@@ -17,3 +17,3 @@ rejected?: (e: any) => U; | ||
readonly state: "pending"; | ||
readonly value: any; | ||
readonly value: unknown; | ||
}; | ||
@@ -26,3 +26,3 @@ export declare type IFulfilledPromise<T> = { | ||
readonly state: "rejected"; | ||
readonly value: any; | ||
readonly value: unknown; | ||
}; | ||
@@ -29,0 +29,0 @@ export declare type IPromiseBasedObservable<T> = IBasePromiseBasedObservable<T> & (IPendingPromise | IFulfilledPromise<T> | IRejectedPromise); |
@@ -215,3 +215,2 @@ var __extends = (this && this.__extends) || (function () { | ||
reaction: reaction(function () { return _this._groupBy(item); }, function (newGroupByValue, _r) { | ||
console.log("new group by value ", newGroupByValue); | ||
var grouperItemInfo = item[_this._ogmInfoKey]; | ||
@@ -218,0 +217,0 @@ _this._removeFromGroupArr(grouperItemInfo.groupByValue, grouperItemInfo.groupArrIndex); |
{ | ||
"name": "mobx-utils", | ||
"version": "6.0.3", | ||
"version": "6.0.4", | ||
"description": "Utility functions and common patterns for MobX", | ||
@@ -5,0 +5,0 @@ "main": "mobx-utils.umd.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
309420
54
6403