Skip to content

Commit

Permalink
fix: package.json, package-lock.json & .snyk to reduce vulnerabilities (
Browse files Browse the repository at this point in the history
#42)

The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
  • Loading branch information
snyk-bot authored Jul 26, 2022
1 parent 3e7747d commit 79206b4
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 96 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.25.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-567746:
- bslint > lodash:
patched: '2022-07-26T18:51:43.581Z'
115 changes: 21 additions & 94 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"dependencies": {
"bslint": "^5.15.3"
}
"bslint": "^5.15.3",
"@snyk/protect": "latest"
},
"scripts": {
"prepare": "npm run snyk-protect",
"snyk-protect": "snyk-protect"
},
"snyk": true
}

0 comments on commit 79206b4

Please sign in to comment.