Skip to content

Commit

Permalink
fix(mutative): upgrade mutative to v1.1.0 and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Nov 23, 2024
1 parent 87c7712 commit b42a49f
Show file tree
Hide file tree
Showing 5 changed files with 958 additions and 614 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,21 @@
"eslint-plugin-react-hooks": "^4.6.0",
"fs-extra": "^8.1.0",
"glob-parent": "^5.1.0",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdoc-tests": "^1.1.0",
"lerna": "^6.6.2",
"mobx": "^5.15.4",
"prettier": "^2.8.4",
"rimraf": "^3.0.2",
"rollup": "^1.28.0",
"rollup-plugin-terser": "^7.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tslib": "^2.5.0",
"typedoc": "^0.23.25",
"typedoc-plugin-markdown": "^3.14.0",
"typescript": "^5.4.5",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typedoc": "^0.26.11",
"typedoc-plugin-markdown": "^4.2.10",
"typescript": "^5.7.2",
"yargs": "^15.1.0"
},
"resolutions": {
Expand Down
4 changes: 2 additions & 2 deletions packages/reactant-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
],
"license": "MIT",
"peerDependencies": {
"mutative": "^1.0.11",
"mutative": "^1.1.0",
"reactant-module": "*"
},
"devDependencies": {
"mutative": "^1.0.11",
"mutative": "^1.1.0",
"reactant-module": "^0.122.0"
}
}
2 changes: 1 addition & 1 deletion packages/reactant-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"license": "MIT",
"dependencies": {
"mutative": "^1.0.11",
"mutative": "^1.1.0",
"reactant-di": "^0.122.0",
"redux": "^4.1.0"
},
Expand Down
9 changes: 5 additions & 4 deletions packages/reactant-share/test/checkPatches.test.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable prefer-const */
/* eslint-disable @typescript-eslint/no-explicit-any */
import React from 'react';
import { unmountComponentAtNode, render } from 'reactant-web';
Expand Down Expand Up @@ -55,11 +56,11 @@ describe('base', () => {
}
}

let onClientFn: jest.Mock<any, any>;
let subscribeOnClientFn: jest.Mock<any, any>;
let onClientFn: jest.Mock<any, any> | null = null;
let subscribeOnClientFn: jest.Mock<any, any> | null = null;

let onServerFn: jest.Mock<any, any>;
let subscribeOnServerFn: jest.Mock<any, any>;
let onServerFn: jest.Mock<any, any> | null = null;
let subscribeOnServerFn: jest.Mock<any, any> | null = null;

@injectable({
name: 'counter',
Expand Down
Loading

0 comments on commit b42a49f

Please sign in to comment.