diff --git a/package.json b/package.json index 4f4949ddd7d..8f10cdcae49 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@testing-library/react": "^10.2.1", "@testing-library/user-event": "^12.0.2", "alex": "^8.0.0", - "eslint": "^6.1.0", + "eslint": "^7.3.0", "execa": "1.0.0", "fs-extra": "^9.0.0", "get-port": "^5.1.1", diff --git a/packages/eslint-config-react-app/package.json b/packages/eslint-config-react-app/package.json index bc92bac2c75..b152abd36d9 100644 --- a/packages/eslint-config-react-app/package.json +++ b/packages/eslint-config-react-app/package.json @@ -15,17 +15,20 @@ "index.js" ], "peerDependencies": { - "@typescript-eslint/eslint-plugin": "2.x", - "@typescript-eslint/parser": "2.x", - "babel-eslint": "10.x", - "eslint": "6.x", - "eslint-plugin-flowtype": "3.x || 4.x", - "eslint-plugin-import": "2.x", - "eslint-plugin-jsx-a11y": "6.x", - "eslint-plugin-react": "7.x", - "eslint-plugin-react-hooks": "1.x || 2.x || 3.x || 4.x" + "@typescript-eslint/eslint-plugin": "^3.0.0", + "@typescript-eslint/parser": "^3.0.0", + "babel-eslint": "^10.0.0", + "eslint": "^7.0.0", + "eslint-plugin-flowtype": "^5.0.0", + "eslint-plugin-import": "^2.21.1", + "eslint-plugin-jsx-a11y": "^6.3.0", + "eslint-plugin-react": "^7.20.0", + "eslint-plugin-react-hooks": "^4.0.1" }, "dependencies": { "confusing-browser-globals": "^1.0.9" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" } } diff --git a/packages/react-error-overlay/package.json b/packages/react-error-overlay/package.json index 0c2f6cd5359..9f18b801e47 100644 --- a/packages/react-error-overlay/package.json +++ b/packages/react-error-overlay/package.json @@ -37,19 +37,20 @@ "@babel/code-frame": "7.10.3", "@babel/core": "7.10.3", "anser": "1.4.9", - "babel-eslint": "10.1.0", + "babel-eslint": "^10.1.0", "babel-jest": "^26.0.1", "babel-loader": "8.1.0", "babel-preset-react-app": "^9.1.2", "chalk": "2.4.2", "chokidar": "^3.3.0", "cross-env": "7.0.2", - "eslint": "^6.1.0", + "eslint": "^7.3.0", "eslint-config-react-app": "^5.2.1", - "eslint-plugin-flowtype": "4.7.0", - "eslint-plugin-import": "2.20.2", - "eslint-plugin-jsx-a11y": "6.2.3", - "eslint-plugin-react": "7.20.0", + "eslint-plugin-flowtype": "^5.1.3", + "eslint-plugin-import": "^2.21.2", + "eslint-plugin-jsx-a11y": "^6.3.1", + "eslint-plugin-react": "^7.20.0", + "eslint-plugin-react-hooks": "^4.0.4", "flow-bin": "^0.116.0", "html-entities": "1.3.1", "jest": "26.0.1", diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 5c05e646e48..dc507b90ca9 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -9,7 +9,7 @@ }, "license": "MIT", "engines": { - "node": ">=10" + "node": "^10.12.0 || >=12.0.0" }, "bugs": { "url": "https://github.com/abhiisheek/create-react-app/issues" @@ -31,9 +31,9 @@ "@babel/core": "7.10.3", "@pmmmwh/react-refresh-webpack-plugin": "0.3.3", "@svgr/webpack": "5.4.0", - "@typescript-eslint/eslint-plugin": "^2.10.0", - "@typescript-eslint/parser": "^2.10.0", - "babel-eslint": "10.1.0", + "@typescript-eslint/eslint-plugin": "^3.3.0", + "@typescript-eslint/parser": "^3.3.0", + "babel-eslint": "^10.1.0", "babel-jest": "^26.0.1", "babel-loader": "8.1.0", "babel-plugin-named-asset-import": "^0.3.6", @@ -44,14 +44,14 @@ "css-loader": "3.6.0", "dotenv": "8.2.0", "dotenv-expand": "5.1.0", - "eslint": "^6.6.0", + "eslint": "^7.3.0", "eslint-config-react-app": "^5.2.1", - "eslint-loader": "4.0.2", - "eslint-plugin-flowtype": "4.7.0", - "eslint-plugin-import": "2.20.2", - "eslint-plugin-jsx-a11y": "6.2.3", - "eslint-plugin-react": "7.20.0", - "eslint-plugin-react-hooks": "^4.0.0", + "eslint-loader": "^4.0.2", + "eslint-plugin-flowtype": "^5.1.3", + "eslint-plugin-import": "^2.21.2", + "eslint-plugin-jsx-a11y": "^6.3.1", + "eslint-plugin-react": "^7.20.0", + "eslint-plugin-react-hooks": "^4.0.4", "file-loader": "6.0.0", "fs-extra": "^9.0.0", "html-webpack-plugin": "4.3.0",