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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 23444 additions and 15602 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,19 +3,21 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"axios": "^0.21.4",
"bootstrap": "^4.3.1",
"axios": "^0.24.0",
"bootstrap": "^5.1.3",
"sass": "^1.43.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^4.0.3"
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"optionalDependencies": {
"fsevents": "^2.1.2"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"react-scripts": "^4.0.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",

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"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -3,17 +3,16 @@
"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",
"@types/jest": "^24.9.1",
"@types/node": "^12.12.30",
"@types/react": "^16.9.25",
"@types/react-dom": "^16.9.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
"typescript": "^3.7.5"
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.0.3",
"@types/node": "^16.11.9",
"@types/react": "^17.0.35",
"@types/react-dom": "^17.0.11",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"typescript": "^4.5.2"
},
"scripts": {
"start": "react-scripts start",
@ -37,6 +36,7 @@
]
},
"devDependencies": {
"http-proxy-middleware": "^1.0.3"
"http-proxy-middleware": "^2.0.1",
"react-scripts": "^4.0.3"
}
}