diff --git a/.gitignore b/.gitignore index fe807dc0..de142666 100644 --- a/.gitignore +++ b/.gitignore @@ -23,11 +23,11 @@ node_modules dist *.css build -lib/* +lib coverage yarn.lock package-lock.json -es/* +es # dumi .dumi/tmp .dumi/tmp-test diff --git a/examples/utils/big-data-generator.tsx b/examples/utils/big-data-generator.tsx index ee293da1..f0ac150d 100644 --- a/examples/utils/big-data-generator.tsx +++ b/examples/utils/big-data-generator.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { generateData, calcTotal } from './dataUtil'; interface GenProps { - onGen: Function; + onGen: (data: any[]) => void; x: number; y: number; z: number; diff --git a/package.json b/package.json index cfbb9511..84723153 100644 --- a/package.json +++ b/package.json @@ -41,11 +41,11 @@ "test": "rc-test" }, "dependencies": { - "@babel/runtime": "^7.10.1", + "@babel/runtime": "^7.25.7", "classnames": "2.x", "rc-select": "~14.15.0", "rc-tree": "~5.9.0", - "rc-util": "^5.16.1" + "rc-util": "^5.43.0" }, "devDependencies": { "@rc-component/father-plugin": "^1.0.0", @@ -57,25 +57,25 @@ "@types/react-dom": "^18.2.19", "@types/warning": "^3.0.0", "@umijs/fabric": "^4.0.1", - "cross-env": "^7.0.2", - "dumi": "^2.0.0", - "enzyme": "^3.10.0", - "enzyme-adapter-react-16": "^1.1.1", - "enzyme-to-json": "^3.4.0", + "cross-env": "^7.0.3", + "dumi": "^2.4.12", + "enzyme": "^3.11.0", + "enzyme-adapter-react-16": "^1.15.8", + "enzyme-to-json": "^3.6.2", "eslint": "^8.56.0", "eslint-plugin-jest": "^27.6.0", - "eslint-plugin-unicorn": "^52.0.0", - "father": "^4.0.0", - "glob": "^7.1.6", - "np": "^10.0.5", - "prettier": "^3.1.1", - "rc-dialog": "^7.5.7", - "rc-field-form": "^2.0.0", - "rc-test": "^7.0.4", - "rc-virtual-list": "^3.0.0", - "react": "^16.8.0", - "react-dom": "^16.8.0", - "typescript": "^5.0.0", + "eslint-plugin-unicorn": "^56.0.0", + "father": "^4.5.0", + "glob": "^11.0.0", + "np": "^10.0.7", + "prettier": "^3.3.3", + "rc-dialog": "^9.6.0", + "rc-field-form": "^2.4.0", + "rc-test": "^7.1.0", + "rc-virtual-list": "^3.14.8", + "react": "16.x", + "react-dom": "16.x", + "typescript": "^5.6.3", "cheerio": "1.0.0-rc.12" }, "peerDependencies": {