Skip to content

Commit 3aacd9c

Browse files
committed
Upgrade mobx-state-tree version
1 parent ecb69f8 commit 3aacd9c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gadgetinc/mobx-quick-tree",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "A mirror of mobx-state-tree's API to construct fast, read-only instances that share all the same views",
55
"source": "src/index.ts",
66
"main": "dist/src/index.js",
@@ -28,7 +28,7 @@
2828
"dependencies": {
2929
"lodash.memoize": "^4.1.2",
3030
"mobx": "^6.5.0",
31-
"mobx-state-tree": "^5.1.3",
31+
"mobx-state-tree": "^5.3.1",
3232
"reflect-metadata": "^0.1.13"
3333
},
3434
"devDependencies": {

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/enumeration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import memoize from "lodash.memoize";
55

66
class EnumerationType<EnumOptions extends string> extends BaseType<EnumOptions, EnumOptions, EnumOptions> {
77
constructor(readonly name: string, readonly options: readonly EnumOptions[]) {
8-
super(types.enumeration<EnumOptions>([...options]));
8+
super(types.enumeration<EnumOptions>(name, [...options]));
99
}
1010

1111
instantiate(snapshot: this["InputType"], _context: InstantiateContext, _parent: IStateTreeNode | null): this["InstanceType"] {

0 commit comments

Comments
 (0)