Skip to content

Commit

Permalink
Revert "Upgrade dependencies"
Browse files Browse the repository at this point in the history
This reverts commit 850d002.
There is a regression in mobx-state-tree where `'setIsStatic' in selectedEntity` does not work anymore. See mobxjs/mobx-state-tree#1639
  • Loading branch information
getkey committed Jan 14, 2021
1 parent 850d002 commit 5d1dbd4
Show file tree
Hide file tree
Showing 3 changed files with 1,190 additions and 1,037 deletions.
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,28 @@
"url": "https://github.com/getkey/ble.git"
},
"dependencies": {
"@emotion/react": "^11.1.4",
"@emotion/react": "^11.1.2",
"@emotion/styled": "^11.0.0",
"@fortawesome/fontawesome-svg-core": "^1.2.34",
"@fortawesome/free-regular-svg-icons": "^5.15.2",
"@fortawesome/free-solid-svg-icons": "^5.15.2",
"@fortawesome/react-fontawesome": "^0.1.14",
"@sentry/react": "^5.30.0",
"@sentry/tracing": "^5.30.0",
"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-regular-svg-icons": "^5.15.1",
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"@fortawesome/react-fontawesome": "^0.1.12",
"@sentry/react": "^5.29.1",
"@sentry/tracing": "^5.29.1",
"@types/file-saver": "^2.0.1",
"@types/matter-js": "^0.14.9",
"@types/matter-js": "^0.14.8",
"bombhopperio-level-tools": "^0.6.3",
"chroma-js": "^2.1.0",
"core-js": "^3.8.2",
"core-js": "^3.8.1",
"epix": "^0.0.3",
"file-saver": "^2.0.5",
"iso-639-1": "^2.1.5",
"matter-js": "^0.15.0",
"iso-639-1": "^2.1.4",
"matter-js": "^0.14.2",
"mobx": "^6.0.4",
"mobx-react-lite": "^3.1.6",
"mobx-state-tree": "^5.0.0",
"mobx-state-tree": "^4.0.2",
"nanoid": "^3.1.20",
"pixi.js": "^5.3.7",
"pixi.js": "^5.3.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-pixi-fiber": "^0.14.2",
Expand All @@ -41,31 +41,31 @@
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@types/chroma-js": "^2.1.3",
"@types/jest": "^26.0.20",
"@types/chroma-js": "^2.1.2",
"@types/jest": "^26.0.19",
"@types/nanoid": "^2.1.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"babel-loader": "^8.2.2",
"clean-webpack-plugin": "^3.0.0",
"eslint": "^7.17.0",
"eslint": "^7.15.0",
"eslint-config-getkey": "^0.1.2",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react": "^7.21.5",
"extract-loader": "^5.1.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^4.5.1",
"husky": "^4.3.7",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.6",
"jest": "^26.6.3",
"ref-loader": "^1.0.3",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.14",
"ts-loader": "^8.0.12",
"typescript": "^4.1.3",
"webpack": "^4.44.2",
"webpack-bundle-analyzer": "^4.3.0",
"webpack-cli": "^4.3.1",
"webpack-dev-server": "^3.11.2"
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^3.11.0"
},
"scripts": {
"build": "webpack",
Expand Down
2 changes: 2 additions & 0 deletions src/models/Editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ const Editor = types.model({
gridCellSize: 60,
selectedEntity: types.union(
types.safeReference(Entity, {
// TODO: remove @ts-ignore when https://github.com/mobxjs/mobx-state-tree/pull/1610 is merged
// @ts-ignore
onInvalidated({ parent }: OnReferenceInvalidatedEvent<IEntity>) {
parent.setMode(EditorMode.select);
},
Expand Down
Loading

0 comments on commit 5d1dbd4

Please sign in to comment.