fix: package.json & .snyk to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:ms:20170412


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:ms:20170412

Latest report for meanjs/mean:
https://snyk.io/test/github/meanjs/mean
This commit is contained in:
snyk-bot
2017-06-14 10:21:56 +00:00
parent 44a569ee1f
commit 8f50eecc7c
2 changed files with 20 additions and 4 deletions

12
.snyk Normal file
View File

@@ -0,0 +1,12 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.7.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:ms:20170412':
- compression > debug > ms:
patched: '2017-06-14T10:21:56.484Z'
- mocha > debug > ms:
patched: '2017-06-14T10:21:56.484Z'
- socket.io > socket.io-adapter > debug > ms:
patched: '2017-06-14T10:21:56.484Z'

View File

@@ -31,7 +31,9 @@
"test:e2e": "gulp test:e2e",
"test:coverage": "gulp test:coverage",
"postinstall": "npm run bower",
"generate-ssl-certs": "scripts/generate-ssl-certs.sh"
"generate-ssl-certs": "scripts/generate-ssl-certs.sh",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"dependencies": {
"acl": "~0.4.10",
@@ -49,7 +51,7 @@
"express-session": "~1.15.2",
"generate-password": "~1.3.0",
"glob": "~7.1.1",
"helmet": "~2.3.0",
"helmet": "~3.6.1",
"jasmine-core": "~2.5.2",
"lodash": "~4.17.4",
"lusca": "~1.4.1",
@@ -72,7 +74,8 @@
"socket.io": "^2.0.2",
"validator": "~7.0.0",
"winston": "^2.3.1",
"wiredep": "~4.0.0"
"wiredep": "~4.0.0",
"snyk": "^1.34.3"
},
"devDependencies": {
"coveralls": "~2.13.0",
@@ -115,5 +118,6 @@
"semver": "~5.3.0",
"should": "~11.2.1",
"supertest": "~2.0.0"
}
},
"snyk": true
}