fix: .snyk & package.json to reduce vulnerabilities

The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:lodash:20180130
This commit is contained in:
snyk-bot committed 2018-07-03 06:07:59 +00:00
1 parent 6962324a45
commit f8bf979327
2 files changed
+15 -3

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.12.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:lodash:20180130':
- html5-validator > caporal > cli-table2 > lodash:
patched: '2018-07-03T06:07:55.532Z'
+7 -3
View File
@@ -10,7 +10,9 @@
"cover": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- \"./{{,node_modules/_app/**/},!(node_modules)/**/}*.spec.js\" -R spec || echo . && codecov -t f7b38085-36eb-4d72-84e6-64721910171e",
"docs": "documentation build index.js --config documentation.yml -f html -o docs",
"livedocs": "documentation serve --watch *.js lib/** --config documentation.yml",
"install": "node lib/npmPostinstall.js"
"install": "node lib/npmPostinstall.js",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"keywords": [
"factorio"
@@ -63,7 +65,8 @@
"socket.io": "^2.0.4",
"socket.io-client": "^2.0.4",
"sync-request": "^4.0.1",
"underscore": "^1.8.3"
"underscore": "^1.8.3",
"snyk": "^1.88.0"
},
"devDependencies": {
"documentation": "^5.4.0",
@@ -74,5 +77,6 @@
"nock": "^9.1.6",
"sinon": "^2.4.1",
"supertest": "^3.0.0"
}
},
"snyk": true
}