fix: package.json, package-lock.json & .snyk to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-JQUERY-567880


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
This commit is contained in:
snyk-bot 2020-05-01 05:26:48 +02:00 committed by Christopher Blanchard
parent 7714d9d27b
commit 6aaa6b9a16

View file

@ -15,7 +15,9 @@
"watch": "npm run compile && node_modules/brunch/bin/brunch watch --server",
"compile": "node node_modules/brunch/bin/brunch build",
"compile_production": "node node_modules/brunch/bin/brunch build --production",
"dev": "nodemon index.js"
"dev": "nodemon index.js",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"repository": {
"type": "git",
@ -47,7 +49,7 @@
"howler": "~1.1.28",
"javascript-brunch": ">= 1.0 < 1.8",
"javascript-state-machine": "~2.3.5",
"jquery": "~2.2.0",
"jquery": "~3.5.0",
"lodash": "~4.17.5",
"moment": "~2.11.2",
"mongoose": "~4.4.6",
@ -66,7 +68,8 @@
"steamidconvert": "~0.2.4",
"toastr": "~2.1.2",
"uglify-js-brunch": ">= 2.0.1",
"winston": "~1.0.1"
"winston": "~1.0.1",
"snyk": "^1.316.1"
},
"devDependencies": {
"chai": "~3.1.0",
@ -76,5 +79,6 @@
},
"engines": {
"node": "^10.13.0"
}
},
"snyk": true
}