From 6016d174324202c12367d3465d90d25440daf2ee Mon Sep 17 00:00:00 2001 From: Aung Kaung Myint Date: Sun, 1 Dec 2024 20:26:07 +0700 Subject: [PATCH 1/3] feat: update dependencies to fix vulnerabilities and improve compatibility Updated key dependencies, including @testing-library/*, eslint, prettier, jest, and puppeteer, to their latest versions. Resolved security vulnerabilities: Rollup (GHSA-gcx4-mw62-g8wm) Serialize-Javascript (GHSA-h9rv-jmmf-4pgx) Axios (GHSA-wf5p-g6vw-rhxx) Got (GHSA-pfrx-2q88-qq97) Lodash (GHSA-35jh-r3h4-6jhm) Ensured compatibility with monorepo structure and modern Node.js/NPM environments. Validated core scripts (build, start, and test) with updated dependencies. --- package.json | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index d4217526b63..b9335bba527 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,10 @@ "build": "cd packages/react-scripts && node bin/react-scripts.js build", "changelog": "lerna-changelog", "create-react-app": "node tasks/cra.js", - "e2e": "tasks/e2e-simple.sh", - "e2e:docker": "tasks/local-test.sh", + "e2e": "bash tasks/e2e-simple.sh", + "e2e:docker": "bash tasks/local-test.sh", "postinstall": "npm run build:prod -w react-error-overlay", - "publish": "tasks/publish.sh", + "publish": "bash tasks/publish.sh", "start": "cd packages/react-scripts && node bin/react-scripts.js start", "screencast": "node ./tasks/screencast.js", "screencast:error": "svg-term --cast jyu19xGl88FQ3poMY8Hbmfw8y --out screencast-error.svg --window --at 12000 --no-cursor", @@ -23,29 +23,29 @@ "format": "npm run prettier -- --write" }, "devDependencies": { - "@testing-library/jest-dom": "^5.15.1", - "@testing-library/react": "^12.1.2", - "@testing-library/user-event": "^13.5.0", - "alex": "^8.2.0", - "eslint": "^8.3.0", - "execa": "^5.1.1", - "fs-extra": "^10.0.0", - "get-port": "^5.1.1", - "globby": "^11.0.4", - "husky": "^4.3.8", - "jest": "^27.4.3", - "lerna": "^4.0.0", - "lerna-changelog": "^2.2.0", - "lint-staged": "^12.1.2", - "meow": "^9.0.0", - "multimatch": "^5.0.0", - "prettier": "^2.5.0", - "puppeteer": "^12.0.1", - "strip-ansi": "^6.0.1", - "svg-term-cli": "^2.1.1", - "tempy": "^1.0.1", - "wait-for-localhost": "^3.3.0", - "web-vitals": "^2.1.2" + "@testing-library/jest-dom": "^6.0.0", + "@testing-library/react": "^14.0.0", + "@testing-library/user-event": "^14.4.3", + "alex": "^10.0.0", + "eslint": "^8.57.0", + "execa": "^7.0.0", + "fs-extra": "^11.1.1", + "get-port": "^6.0.1", + "globby": "^13.2.0", + "husky": "^8.0.4", + "jest": "^29.6.1", + "lerna": "^7.2.1", + "lerna-changelog": "^2.3.1", + "lint-staged": "^14.0.0", + "meow": "^12.1.0", + "multimatch": "^6.0.0", + "prettier": "^3.0.3", + "puppeteer": "^21.0.2", + "strip-ansi": "^7.0.1", + "svg-term-cli": "^3.0.0", + "tempy": "^4.0.0", + "wait-for-localhost": "^6.0.0", + "web-vitals": "^4.0.1" }, "husky": { "hooks": { From e748dff746b21a8efc4fae03850b2abee9da1274 Mon Sep 17 00:00:00 2001 From: Aung Kaung Myint Date: Wed, 11 Dec 2024 11:23:33 +0700 Subject: [PATCH 2/3] Update @testing-library/react to v16.1.0 This PR updates the dependency @testing-library/react to version 16.1.0 in the devDependencies section of the project. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b9335bba527..0317c4bf194 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "@testing-library/jest-dom": "^6.0.0", - "@testing-library/react": "^14.0.0", + "@testing-library/react": "^16.1.0", "@testing-library/user-event": "^14.4.3", "alex": "^10.0.0", "eslint": "^8.57.0", From e4ccf463460dc9463c91f91ef7889149c9fdf334 Mon Sep 17 00:00:00 2001 From: Aung Kaung Myint Date: Sun, 29 Dec 2024 20:15:05 +0700 Subject: [PATCH 3/3] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 4672c9f993d..40eef3c89e1 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ Logo -Create React apps with no build configuration. - [Creating an App](#creating-an-app) – How to create a new app. - [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.