Skip to content

Commit

Permalink
fix: .snyk & package.json to reduce vulnerabilities
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-450202
  • Loading branch information
snyk-test committed Jul 4, 2019
1 parent fa8af34 commit 4caac22
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.5
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-450202:
- lodash:
patched: '2019-07-04T05:32:34.833Z'
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
"scripts": {
"test": "mocha",
"test:cov": "nyc --reporter=text-lcov yarn test | coveralls",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"husky": {
"hooks": {
Expand All @@ -34,7 +36,8 @@
"dependencies": {
"create-html-element": "^3.0.0",
"loader-utils": "^1.2.3",
"lodash": "^4.17.11"
"lodash": "^4.17.11",
"snyk": "^1.189.0"
},
"devDependencies": {
"@commitlint/cli": "^8.0.0",
Expand All @@ -46,5 +49,6 @@
"mocha": "^6.1.4",
"nyc": "^14.1.1",
"semantic-release": "^15.13.12"
}
},
"snyk": true
}

0 comments on commit 4caac22

Please sign in to comment.