Fix security issues (#179)

* fix security issues in react-java-mysql sample
* fix security issues in react-express-mysql sample
* fix security issues in react-express-mongol sample

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
This commit is contained in:
Guillaume Lours
2021-11-22 09:51:11 +01:00
committed by GitHub
parent e90f6f22af
commit 93f8f18f64
6 changed files with 23444 additions and 15602 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -3,12 +3,8 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1"
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"scripts": {
"start": "react-scripts start",
@@ -32,6 +28,10 @@
]
},
"devDependencies": {
"http-proxy-middleware": "^1.0.3"
"http-proxy-middleware": "^2.0.1",
"react-scripts": "4.0.3",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0"
}
}