Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviergonz committed Apr 25, 2024
1 parent 445a359 commit 32f171c
Show file tree
Hide file tree
Showing 5 changed files with 524 additions and 496 deletions.
4 changes: 2 additions & 2 deletions apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"mobx-keystone-yjs": "workspace:packages/mobx-keystone-yjs",
"mobx-react": "^9.1.1",
"nanoid": "^3.3.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"remotedev": "^0.2.9",
"utf-8-validate": "^5.0.10",
"y-webrtc": "^10.3.0"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-hooks": "^4.6.1",
"globals": "^15.0.0",
"netlify-cli": "^17.22.1",
"netlify-cli": "^17.23.0",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"turbo": "^1.13.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.7.0"
"typescript-eslint": "^7.7.1"
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@babel/plugin-proposal-decorators": "^7.24.1",
"@babel/preset-env": "^7.24.4",
"@babel/preset-typescript": "^7.24.1",
"@swc/core": "^1.4.16",
"@swc/core": "^1.5.0",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
Expand Down
7 changes: 6 additions & 1 deletion packages/lib/src/modelShared/modelDecorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ export const model =
<MC extends ModelClass<AnyModel | AnyDataModel>>(clazz: MC, ...args: any[]): MC => {
const ctx = typeof args[1] === "object" ? (args[1] as ClassDecoratorContext) : undefined

return internalModel(name, clazz, ctx?.addInitializer) as any
return internalModel(
name,
clazz,
// eslint-disable-next-line @typescript-eslint/unbound-method
ctx?.addInitializer
) as any
}

const afterClassInitializationData = new WeakMap<
Expand Down
Loading

0 comments on commit 32f171c

Please sign in to comment.