Skip to content

Commit

Permalink
fix: packages/conventional-commits-parser/.snyk & packages/convention…
Browse files Browse the repository at this point in the history
…al-commits-parser/package.json to reduce vulnerabilities

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 dc8aeda commit 90079fe
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 8 additions & 0 deletions packages/conventional-commits-parser/.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-04T02:11:05.230Z'
10 changes: 7 additions & 3 deletions packages/conventional-commits-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,16 @@
"meow": "^4.0.0",
"split2": "^2.0.0",
"through2": "^3.0.0",
"trim-off-newlines": "^1.0.0"
"trim-off-newlines": "^1.0.0",
"snyk": "^1.189.0"
},
"scripts": {
"test-windows": "echo 'make work on windows'"
"test-windows": "echo 'make work on windows'",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"bin": {
"conventional-commits-parser": "cli.js"
}
},
"snyk": true
}

0 comments on commit 90079fe

Please sign in to comment.