From b309c75142999d2558aa58147785e7ecfaddc13e Mon Sep 17 00:00:00 2001 From: Vio Date: Sun, 6 Aug 2023 22:35:44 +0200 Subject: [PATCH] chore: Bump react & @types/react --- package-lock.json | 61 ++++------------------------ package.json | 2 +- packages/html-templates/package.json | 2 +- packages/ui/package.json | 4 +- 4 files changed, 11 insertions(+), 58 deletions(-) diff --git a/package-lock.json b/package-lock.json index 981e626834..e2dfa9af90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@babel/core": "7.22.9", "@babel/eslint-parser": "7.22.9", "@tsconfig/node14": "14.1.0", - "@types/react": "17.0.62", + "@types/react": "18.2.18", "@typescript-eslint/eslint-plugin": "6.2.1", "@typescript-eslint/parser": "6.2.1", "babel-eslint": "10.1.0", @@ -9985,9 +9985,9 @@ "license": "MIT" }, "node_modules/@types/react": { - "version": "17.0.62", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.62.tgz", - "integrity": "sha512-eANCyz9DG8p/Vdhr0ZKST8JV12PhH2ACCDYlFw6DIO+D+ca+uP4jtEDEpVqXZrh/uZdXQGwk7whJa3ah5DtyLw==", + "version": "18.2.18", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.18.tgz", + "integrity": "sha512-da4NTSeBv/P34xoZPhtcLkmZuJ+oYaCxHmyHzwaDQo9RQPBeXV+06gEk2FpqEcsX9XrnNLvRpVh6bdavDSjtiQ==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -20088,26 +20088,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-config/node_modules/babel-jest": { - "version": "29.6.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/transform": "^29.6.2", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.5.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.8.0" - } - }, "node_modules/jest-config/node_modules/chalk": { "version": "4.1.2", "dev": true, @@ -27194,7 +27174,6 @@ "version": "18.2.0", "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", - "peer": true, "dependencies": { "loose-envify": "^1.1.0" }, @@ -32216,7 +32195,7 @@ "postcss-loader": "7.3.3", "preact": "10.10.6", "prop-types": "15.8.1", - "react": "17.0.2", + "react": "18.2.0", "react-dom": "18.2.0", "react-router-dom": "5.3.4", "rimraf": "5.0.1", @@ -32227,19 +32206,6 @@ "webpack-merge": "5.9.0" } }, - "packages/html-templates/node_modules/react": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", - "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", - "dev": true, - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "packages/next-plugin": { "name": "next-plugin-bundle-stats", "version": "4.5.2", @@ -32313,7 +32279,7 @@ "@storybook/preset-scss": "^1.0.3", "@storybook/react": "7.2.1", "@storybook/react-webpack5": "7.2.1", - "@types/react": "17.0.62", + "@types/react": "18.2.18", "babel-plugin-require-context-hook": "1.0.0", "classnames": "2.3.2", "colormap": "2.3.2", @@ -32325,7 +32291,7 @@ "jest-environment-jsdom": "29.6.2", "lodash": "4.17.21", "prop-types": "15.8.1", - "react": "17.0.2", + "react": "18.2.0", "react-dom": "18.2.0", "react-router-dom": "5.3.4", "rimraf": "5.0.1", @@ -32342,19 +32308,6 @@ "react-router-dom": "^5.0.0" } }, - "packages/ui/node_modules/react": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", - "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", - "dev": true, - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "packages/utils": { "name": "@bundle-stats/utils", "version": "4.5.2", diff --git a/package.json b/package.json index 7edfcedb27..ae52fb921c 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@babel/core": "7.22.9", "@babel/eslint-parser": "7.22.9", "@tsconfig/node14": "14.1.0", - "@types/react": "17.0.62", + "@types/react": "18.2.18", "@typescript-eslint/eslint-plugin": "6.2.1", "@typescript-eslint/parser": "6.2.1", "babel-eslint": "10.1.0", diff --git a/packages/html-templates/package.json b/packages/html-templates/package.json index 423e9cffb9..986ce73446 100644 --- a/packages/html-templates/package.json +++ b/packages/html-templates/package.json @@ -58,7 +58,7 @@ "postcss-loader": "7.3.3", "preact": "10.10.6", "prop-types": "15.8.1", - "react": "17.0.2", + "react": "18.2.0", "react-dom": "18.2.0", "react-router-dom": "5.3.4", "rimraf": "5.0.1", diff --git a/packages/ui/package.json b/packages/ui/package.json index 0808bfce08..f6e5133242 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -43,7 +43,7 @@ "@storybook/preset-scss": "^1.0.3", "@storybook/react": "7.2.1", "@storybook/react-webpack5": "7.2.1", - "@types/react": "17.0.62", + "@types/react": "18.2.18", "babel-plugin-require-context-hook": "1.0.0", "classnames": "2.3.2", "colormap": "2.3.2", @@ -55,7 +55,7 @@ "jest-environment-jsdom": "29.6.2", "lodash": "4.17.21", "prop-types": "15.8.1", - "react": "17.0.2", + "react": "18.2.0", "react-dom": "18.2.0", "react-router-dom": "5.3.4", "rimraf": "5.0.1",