Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviergonz committed Aug 29, 2024
1 parent 0a6e332 commit 2367a51
Show file tree
Hide file tree
Showing 10 changed files with 258 additions and 316 deletions.
2 changes: 1 addition & 1 deletion apps/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"chalk": "^5.3.0",
"mobx-keystone": "workspace:packages/lib",
"mobx-state-tree": "^6.0.1",
"tslib": "^2.6.3"
"tslib": "^2.7.0"
},
"devDependencies": {
"@types/benchmark": "^2.1.5",
Expand Down
4 changes: 2 additions & 2 deletions apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@docusaurus/core": "^3.5.2",
"@docusaurus/preset-classic": "^3.5.2",
"@easyops-cn/docusaurus-search-local": "^0.44.5",
"@iframe-resizer/child": "^5.2.4",
"@iframe-resizer/react": "^5.2.4",
"@iframe-resizer/child": "^5.2.6",
"@iframe-resizer/react": "^5.2.6",
"bootstrap-icons": "^1.11.3",
"bufferutil": "^4.0.8",
"mobx-keystone": "workspace:packages/lib",
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.0",
"@eslint/js": "^9.9.1",
"codecov": "^3.8.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import-x": "^3.1.0",
"eslint-plugin-import-x": "^4.1.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"globals": "^15.9.0",
"netlify-cli": "^17.34.2",
"netlify-cli": "^17.34.3",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"turbo": "^2.0.14",
"turbo": "^2.1.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.2.0"
"typescript-eslint": "^8.3.0"
},
"packageManager": "yarn@4.4.0"
}
8 changes: 4 additions & 4 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,18 @@
"@babel/plugin-proposal-decorators": "^7.24.7",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@swc/core": "^1.7.14",
"@swc/core": "^1.7.21",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
"@types/node": "^22.5.0",
"@types/node": "^22.5.1",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"mobx-v4": "npm:mobx@^4.15.7",
"mobx-v5": "npm:mobx@^5.15.7",
"rollup-plugin-typescript2": "^0.36.0",
"shx": "^0.3.4",
"spec.ts": "^1.1.3",
"ts-jest": "^29.2.4",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typedoc": "^0.26.6",
"typescript": "^5.5.4",
Expand All @@ -93,7 +93,7 @@
"fast-deep-equal": "^3.1.3",
"nanoid": "^3.3.7",
"ts-toolbelt": "^9.6.0",
"tslib": "^2.6.3"
"tslib": "^2.7.0"
},
"directories": {
"test": "test"
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/src/action/modelFlow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export function flow<R, Args extends any[]>({
next(ret)
}

function onRejected(err: any): void {
function onRejected(err: unknown): void {
let ret
try {
ret = wrapInAction({
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/src/actionMiddlewares/undoMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ export class UndoManager {
next(ret)
}

function onRejected(err: any): void {
function onRejected(err: unknown): void {
group.resume()
let ret
try {
Expand Down
1 change: 1 addition & 0 deletions packages/lib/src/modelShared/sharedInternalModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export function sharedInternalModel<
baseProp = baseProp.withSetter()
break
case "assign":
// eslint-disable-next-line @typescript-eslint/no-deprecated
baseProp = baseProp.withSetter("assign")
break
default:
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/test/tweaker/tweak.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test("array disallows undefined element when allowUndefinedArrayElements is fals
runUnprotected(() => {
array.push(undefined)
})
}).toThrowError(/^undefined is not supported inside arrays/)
}).toThrow(/^undefined is not supported inside arrays/)
})

test("array allows undefined element when allowUndefinedArrayElements is true", () => {
Expand All @@ -21,5 +21,5 @@ test("array allows undefined element when allowUndefinedArrayElements is true",
runUnprotected(() => {
array.push(undefined)
})
}).not.toThrowError(/^undefined is not supported inside arrays/)
}).not.toThrow(/^undefined is not supported inside arrays/)
})
6 changes: 3 additions & 3 deletions packages/mobx-keystone-yjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,20 @@
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@types/jest": "^29.5.12",
"@types/node": "^22.5.0",
"@types/node": "^22.5.1",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"mobx-keystone": "workspace:packages/lib",
"rollup-plugin-typescript2": "^0.36.0",
"shx": "^0.3.4",
"spec.ts": "^1.1.3",
"ts-jest": "^29.2.4",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"vite": "^5.4.2"
},
"dependencies": {
"tslib": "^2.6.3"
"tslib": "^2.7.0"
},
"directories": {
"test": "test"
Expand Down
Loading

0 comments on commit 2367a51

Please sign in to comment.