From 93d8f77a0f6e9981592f51e76f817fcef6b6f2ee Mon Sep 17 00:00:00 2001 From: Mohamed Akram Date: Sun, 30 May 2021 19:10:23 +0400 Subject: [PATCH] Unpin babel dependencies (#10797) --- packages/babel-preset-react-app/package.json | 30 ++++++++++---------- packages/react-dev-utils/package.json | 2 +- packages/react-error-overlay/package.json | 6 ++-- packages/react-scripts/package.json | 4 +-- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/packages/babel-preset-react-app/package.json b/packages/babel-preset-react-app/package.json index 986836e2a9a..cd2dd314ba3 100644 --- a/packages/babel-preset-react-app/package.json +++ b/packages/babel-preset-react-app/package.json @@ -21,20 +21,20 @@ "test.js" ], "dependencies": { - "@babel/core": "7.12.3", - "@babel/plugin-proposal-class-properties": "7.12.1", - "@babel/plugin-proposal-decorators": "7.12.1", - "@babel/plugin-proposal-nullish-coalescing-operator": "7.12.1", - "@babel/plugin-proposal-numeric-separator": "7.12.1", - "@babel/plugin-proposal-optional-chaining": "7.12.1", - "@babel/plugin-transform-flow-strip-types": "7.12.1", - "@babel/plugin-transform-react-display-name": "7.12.1", - "@babel/plugin-transform-runtime": "7.12.1", - "@babel/preset-env": "7.12.1", - "@babel/preset-react": "7.12.1", - "@babel/preset-typescript": "7.12.1", - "@babel/runtime": "7.12.1", - "babel-plugin-macros": "2.8.0", - "babel-plugin-transform-react-remove-prop-types": "0.4.24" + "@babel/core": "^7.12.3", + "@babel/plugin-proposal-class-properties": "^7.12.1", + "@babel/plugin-proposal-decorators": "^7.12.1", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", + "@babel/plugin-proposal-numeric-separator": "^7.12.1", + "@babel/plugin-proposal-optional-chaining": "^7.12.1", + "@babel/plugin-transform-flow-strip-types": "^7.12.1", + "@babel/plugin-transform-react-display-name": "^7.12.1", + "@babel/plugin-transform-runtime": "^7.12.1", + "@babel/preset-env": "^7.12.1", + "@babel/preset-react": "^7.12.1", + "@babel/preset-typescript": "^7.12.1", + "@babel/runtime": "^7.12.1", + "babel-plugin-macros": "^2.8.0", + "babel-plugin-transform-react-remove-prop-types": "^0.4.24" } } diff --git a/packages/react-dev-utils/package.json b/packages/react-dev-utils/package.json index d2c4d330f61..4eb557d20d5 100644 --- a/packages/react-dev-utils/package.json +++ b/packages/react-dev-utils/package.json @@ -52,7 +52,7 @@ "webpackHotDevClient.js" ], "dependencies": { - "@babel/code-frame": "7.10.4", + "@babel/code-frame": "^7.10.4", "address": "1.1.2", "browserslist": "4.14.2", "chalk": "2.4.2", diff --git a/packages/react-error-overlay/package.json b/packages/react-error-overlay/package.json index 137ceb7f266..50f547915f1 100644 --- a/packages/react-error-overlay/package.json +++ b/packages/react-error-overlay/package.json @@ -34,12 +34,12 @@ "lib/index.js" ], "devDependencies": { - "@babel/code-frame": "7.10.4", - "@babel/core": "7.12.3", + "@babel/code-frame": "^7.10.4", + "@babel/core": "^7.12.3", "anser": "1.4.10", "babel-eslint": "^10.1.0", "babel-jest": "^26.6.0", - "babel-loader": "8.1.0", + "babel-loader": "^8.1.0", "babel-preset-react-app": "^10.0.0", "chalk": "2.4.2", "chokidar": "^3.4.3", diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 61c9966ab72..357d27ae53e 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -28,14 +28,14 @@ }, "types": "./lib/react-app.d.ts", "dependencies": { - "@babel/core": "7.12.3", + "@babel/core": "^7.12.3", "@pmmmwh/react-refresh-webpack-plugin": "0.4.3", "@svgr/webpack": "5.5.0", "@typescript-eslint/eslint-plugin": "^4.5.0", "@typescript-eslint/parser": "^4.5.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.6.0", - "babel-loader": "8.1.0", + "babel-loader": "^8.1.0", "babel-plugin-named-asset-import": "^0.3.7", "babel-preset-react-app": "^10.0.0", "bfj": "^7.0.2",