Skip to content

Commit 0ec1d83

Browse files
committed
chore: align maintenance dependencies
1 parent fa4ae97 commit 0ec1d83

5 files changed

Lines changed: 13 additions & 23 deletions

File tree

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ function normalizeConfig(config) {
3636
if (next.rules) {
3737
next.rules = Object.fromEntries(
3838
Object.entries(next.rules).filter(([ruleName]) => {
39+
if (ruleName.startsWith('@babel/')) {
40+
return false;
41+
}
3942
if (!ruleName.startsWith('@typescript-eslint/')) {
4043
return true;
4144
}

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,25 +65,25 @@
6565
"@types/react": "^19.2.17",
6666
"@types/react-dom": "^19.2.3",
6767
"@types/responselike": "^1.0.3",
68-
"@typescript-eslint/eslint-plugin": "^8.62.0",
69-
"@typescript-eslint/parser": "^8.62.0",
68+
"@typescript-eslint/eslint-plugin": "^8.62.1",
69+
"@typescript-eslint/parser": "^8.62.1",
7070
"@umijs/fabric": "^4.0.1",
7171
"@umijs/test": "^4.6.68",
72-
"dumi": "^2.4.35",
72+
"dumi": "^2.4.38",
7373
"eslint": "^9.39.4",
7474
"eslint-config-prettier": "^10.1.8",
75-
"eslint-plugin-jest": "^29.15.3",
75+
"eslint-plugin-jest": "^29.15.4",
7676
"eslint-plugin-react": "^7.37.5",
7777
"eslint-plugin-react-hooks": "^7.1.1",
7878
"eslint-plugin-unicorn": "^65.0.1",
79-
"father": "^4.6.23",
79+
"father": "^4.6.24",
8080
"gh-pages": "^6.3.0",
8181
"glob": "^13.0.6",
8282
"husky": "^9.1.7",
83-
"jest-environment-jsdom": "^29.7.0",
83+
"jest-environment-jsdom": "^30.4.1",
8484
"less": "^4.6.7",
8585
"lint-staged": "^17.0.8",
86-
"prettier": "^3.9.0",
86+
"prettier": "^3.9.4",
8787
"rc-test": "^7.1.3",
8888
"react": "^19.2.7",
8989
"react-dom": "^19.2.7",
@@ -92,8 +92,8 @@
9292
"typescript": "^6.0.3"
9393
},
9494
"peerDependencies": {
95-
"react": ">=16.9.0",
96-
"react-dom": ">=16.9.0"
95+
"react": "^19.2.7",
96+
"react-dom": "^19.2.7"
9797
},
9898
"publishConfig": {
9999
"access": "public"

react-compat.d.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/StepHandler.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function StepHandler({
3636
const isUpAction = action === 'up';
3737

3838
// ======================== Step ========================
39-
const stepTimeoutRef = React.useRef<any>();
39+
const stepTimeoutRef = React.useRef<any>(undefined);
4040
const frameIds = React.useRef<number[]>([]);
4141

4242
const onStopStep = () => {

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"module": "ESNext"
2222
},
2323
"include": [
24-
"react-compat.d.ts",
2524
"global.d.ts",
2625
".fatherrc.ts",
2726
".dumirc.ts",

0 commit comments

Comments
 (0)