Skip to content

Commit f374647

Browse files
author
snyk-test
committed
fix: .snyk & package.json to reduce vulnerabilities
The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-450202
1 parent 814186c commit f374647

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.snyk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.13.5
3+
ignore: {}
4+
# patches apply the minimum changes required to fix a vulnerability
5+
patch:
6+
SNYK-JS-LODASH-450202:
7+
- lodash:
8+
patched: '2019-07-04T04:20:46.059Z'

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,20 @@
2626
"main": "index.js",
2727
"scripts": {
2828
"dev": "jest --watchAll",
29-
"test": "jest"
29+
"test": "jest",
30+
"snyk-protect": "snyk protect",
31+
"prepublish": "npm run snyk-protect"
3032
},
3133
"dependencies": {
3234
"flat": "^4.1.0",
33-
"lodash": "^4.17.11"
35+
"lodash": "^4.17.11",
36+
"snyk": "^1.189.0"
3437
},
3538
"devDependencies": {
3639
"jest": "^24.8.0",
3740
"jest-matcher-css": "^1.0.3",
3841
"postcss": "^7.0.16",
3942
"tailwindcss": "^1.0.1"
40-
}
43+
},
44+
"snyk": true
4145
}

0 commit comments

Comments
 (0)