update packages, patch vulnerabilities

This commit is contained in:
wieerwill 2023-08-12 09:33:25 +02:00
parent a615efff77
commit b5f8e16650
2 changed files with 41 additions and 12 deletions

View File

@ -4,20 +4,19 @@
"description": "NodeJS boilerplate for express apps", "description": "NodeJS boilerplate for express apps",
"main": "app.js", "main": "app.js",
"dependencies": { "dependencies": {
"body-parser": "^1.20.1", "body-parser": "^1.20.2",
"connect-flash": "^0.1.1", "connect-flash": "^0.1.1",
"cookie-parser": "^1.4.5", "cookie-parser": "^1.4.6",
"env-cmd": "^10.1.0", "env-cmd": "^10.1.0",
"express": "^4.18.2", "express": "^4.18.2",
"express-session": "^1.17.0", "express-session": "^1.17.3",
"method-override": "^3.0.0", "method-override": "^3.0.0",
"morgan": "^1.10.0", "morgan": "^1.10.0",
"mysql": "^2.18.1", "mysql": "^2.18.1",
"nodemailer": "^6.4.6", "nodemailer": "^6.9.4",
"nodemon": "^2.0.2", "nodemon": "^2.0.22",
"pug": "^3.0.2" "pug": "^3.0.2"
}, },
"devDependencies": {},
"scripts": { "scripts": {
"startDevServer": "env-cmd -e development -r ./config/.env-cmdrc.json nodemon app.js", "startDevServer": "env-cmd -e development -r ./config/.env-cmdrc.json nodemon app.js",
"startDevDB": "sudo /etc/init.d/mysql start", "startDevDB": "sudo /etc/init.d/mysql start",

View File

@ -6,13 +6,13 @@ settings:
dependencies: dependencies:
body-parser: body-parser:
specifier: ^1.20.1 specifier: ^1.20.2
version: 1.20.1 version: 1.20.2
connect-flash: connect-flash:
specifier: ^0.1.1 specifier: ^0.1.1
version: 0.1.1 version: 0.1.1
cookie-parser: cookie-parser:
specifier: ^1.4.5 specifier: ^1.4.6
version: 1.4.6 version: 1.4.6
env-cmd: env-cmd:
specifier: ^10.1.0 specifier: ^10.1.0
@ -21,7 +21,7 @@ dependencies:
specifier: ^4.18.2 specifier: ^4.18.2
version: 4.18.2 version: 4.18.2
express-session: express-session:
specifier: ^1.17.0 specifier: ^1.17.3
version: 1.17.3 version: 1.17.3
method-override: method-override:
specifier: ^3.0.0 specifier: ^3.0.0
@ -33,10 +33,10 @@ dependencies:
specifier: ^2.18.1 specifier: ^2.18.1
version: 2.18.1 version: 2.18.1
nodemailer: nodemailer:
specifier: ^6.4.6 specifier: ^6.9.4
version: 6.9.4 version: 6.9.4
nodemon: nodemon:
specifier: ^2.0.2 specifier: ^2.0.22
version: 2.0.22 version: 2.0.22
pug: pug:
specifier: ^3.0.2 specifier: ^3.0.2
@ -156,6 +156,26 @@ packages:
- supports-color - supports-color
dev: false dev: false
/body-parser@1.20.2:
resolution: {integrity: sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==}
engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16}
dependencies:
bytes: 3.1.2
content-type: 1.0.5
debug: 2.6.9
depd: 2.0.0
destroy: 1.2.0
http-errors: 2.0.0
iconv-lite: 0.4.24
on-finished: 2.4.1
qs: 6.11.0
raw-body: 2.5.2
type-is: 1.6.18
unpipe: 1.0.0
transitivePeerDependencies:
- supports-color
dev: false
/brace-expansion@1.1.11: /brace-expansion@1.1.11:
resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
dependencies: dependencies:
@ -907,6 +927,16 @@ packages:
unpipe: 1.0.0 unpipe: 1.0.0
dev: false dev: false
/raw-body@2.5.2:
resolution: {integrity: sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==}
engines: {node: '>= 0.8'}
dependencies:
bytes: 3.1.2
http-errors: 2.0.0
iconv-lite: 0.4.24
unpipe: 1.0.0
dev: false
/readable-stream@2.3.7: /readable-stream@2.3.7:
resolution: {integrity: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==} resolution: {integrity: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==}
dependencies: dependencies: